Skip to content

Commit

Permalink
Merge pull request ubie-oss#78 from 8845musign/chore/upgrade-ubie-ui-…
Browse files Browse the repository at this point in the history
…0.0.25

Upgrade Ubie UI v0.0.26
  • Loading branch information
takanorip authored Jun 10, 2024
2 parents 384016b + 4addeb3 commit cd4f970
Show file tree
Hide file tree
Showing 7 changed files with 6,420 additions and 14,205 deletions.
20,598 changes: 6,398 additions & 14,200 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"@types/react-dom": "^18.2.25",
"@types/react-syntax-highlighter": "^15.5.11",
"@ubie/design-tokens": "^0.1.4",
"@ubie/ubie-icons": "^0.6.2",
"@ubie/ubie-ui": "^0.0.24",
"@ubie/ubie-icons": "0.6.1",
"@ubie/ubie-ui": "^0.0.26",
"@unocss/reset": "^0.59.4",
"astro": "^4.9.1",
"astro-icon": "^1.1.0",
Expand Down
2 changes: 1 addition & 1 deletion scripts/extractIconNames.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const outputIconNames = (iconNames, outputPath) => {

console.log('Extracting icon names...');

const iconDir = path.join(__dirname, '../node_modules/@ubie/ubie-icons/dist');
const iconDir = path.join(__dirname, '../node_modules/@ubie/ubie-icons/dist/esm');
const iconNames = getIconNames(iconDir);
const outputPath = path.join(__dirname, '../src/metadata/iconNames.json');
outputIconNames(iconNames, outputPath);
Expand Down
2 changes: 1 addition & 1 deletion src/components/react/CopyButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface Props {
className?: string;
label?: string;
invert?: boolean;
block: boolean;
block?: boolean;
}

const ButtonCopy: FC<Props> = ({ text, className = '', label, invert, block }) => {
Expand Down
10 changes: 10 additions & 0 deletions src/components/react/examples/accordion/OpenInInitialExample.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { Accordion } from '@ubie/ubie-ui';
import type { FC } from 'react';

export const OpenInInitialExample: FC = () => {
return (
<Accordion header="夏目漱石「私の個人主義」" initialOpen>
何は時分どうもどんな観念顔というののところを云ったいまし。とうてい今日に説明院は現にこういう反対たますくらいから思わて来るないにも撲殺なるたたて、始終にも願うただですん。
</Accordion>
);
};
1 change: 0 additions & 1 deletion src/metadata/iconNames.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"CapsuleTabletIcon",
"CarIcon",
"CheckAIcon",
"CheckBFillIcon",
"CheckBIcon",
"CheckboxOffOutlineIcon",
"CheckboxOnOutlineIcon",
Expand Down
8 changes: 8 additions & 0 deletions src/pages/components/examples/accordion/open-in-initial.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
import { OpenInInitialExample } from '@components/react/examples/accordion/OpenInInitialExample';
import ExampleLayout from '@layouts/ExampleLayout.astro';
---

<ExampleLayout title="OpenInInitial Example | Accordion">
<OpenInInitialExample client:only="react" />
</ExampleLayout>

0 comments on commit cd4f970

Please sign in to comment.