@nusameta/design-system 1.0.0-beta.4 → 1.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/checkbox/Checkbox.d.ts +9 -5
- package/dist/components/checkbox/Checkbox.stories.d.ts +2 -0
- package/dist/components/dialog/Dialog.d.ts +7 -7
- package/dist/components/list-box/List-box.d.ts +4 -4
- package/dist/components/menu/Menu.d.ts +9 -9
- package/dist/components/popover/Popover.d.ts +3 -2
- package/dist/components/searchfield/Searchfield.d.ts +5 -5
- package/dist/components/select/Select.d.ts +8 -8
- package/dist/components/table/Table.d.ts +8 -8
- package/dist/components/textfield/Field.d.ts +4 -4
- package/dist/components/textfield/Textfield.d.ts +4 -4
- package/dist/index.cjs +12 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.css +2 -1
- package/dist/index.es.js +14701 -17754
- package/dist/index.es.js.map +1 -1
- package/dist/reset.css +2 -1
- package/package.json +35 -33
- package/dist/index.cjs.js +0 -89
- package/dist/index.cjs.js.map +0 -1
package/dist/reset.css
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
/*! tailwindcss v4.
|
|
1
|
+
/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
|
|
2
|
+
@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nusameta/design-system",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.5",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"main": "./dist/index.cjs
|
|
5
|
+
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.es.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
|
-
"packageManager": "yarn@4.
|
|
8
|
+
"packageManager": "yarn@4.16.0",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
11
|
"types": "./dist/index.d.ts",
|
|
12
12
|
"import": "./dist/index.es.js",
|
|
13
|
-
"require": "./dist/index.cjs
|
|
13
|
+
"require": "./dist/index.cjs"
|
|
14
14
|
},
|
|
15
15
|
"./reset.css": "./dist/reset.css",
|
|
16
16
|
"./dist/reset.css": "./dist/reset.css",
|
|
@@ -27,6 +27,8 @@
|
|
|
27
27
|
"build": "yarn run vite build",
|
|
28
28
|
"preview": "yarn run vite preview",
|
|
29
29
|
"build-storybook": "storybook build",
|
|
30
|
+
"test": "vitest run",
|
|
31
|
+
"test:watch": "vitest",
|
|
30
32
|
"lint": "eslint .",
|
|
31
33
|
"release": "yarn run build && changeset publish"
|
|
32
34
|
},
|
|
@@ -44,40 +46,40 @@
|
|
|
44
46
|
"react-dom": ">=18.0.0"
|
|
45
47
|
},
|
|
46
48
|
"devDependencies": {
|
|
47
|
-
"@changesets/cli": "^2.
|
|
48
|
-
"@chromatic-com/storybook": "^5.
|
|
49
|
-
"@storybook/addon-a11y": "^10.
|
|
50
|
-
"@storybook/addon-docs": "^10.
|
|
51
|
-
"@storybook/
|
|
52
|
-
"@
|
|
53
|
-
"@
|
|
54
|
-
"@
|
|
49
|
+
"@changesets/cli": "^2.31.0",
|
|
50
|
+
"@chromatic-com/storybook": "^5.2.1",
|
|
51
|
+
"@storybook/addon-a11y": "^10.4.3",
|
|
52
|
+
"@storybook/addon-docs": "^10.4.3",
|
|
53
|
+
"@storybook/addon-vitest": "^10.4.3",
|
|
54
|
+
"@storybook/react-vite": "^10.4.3",
|
|
55
|
+
"@tailwindcss/postcss": "^4.3.0",
|
|
56
|
+
"@tailwindcss/vite": "^4.3.0",
|
|
57
|
+
"@types/node": "^25.9.2",
|
|
58
|
+
"@types/react": "^19.2.17",
|
|
55
59
|
"@types/react-dom": "^19.2.3",
|
|
56
|
-
"@vitejs/plugin-react": "^
|
|
57
|
-
"@vitest/browser-playwright": "^4.
|
|
58
|
-
"@vitest/coverage-v8": "^4.
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"vite
|
|
70
|
-
"
|
|
60
|
+
"@vitejs/plugin-react": "^6.0.2",
|
|
61
|
+
"@vitest/browser-playwright": "^4.1.8",
|
|
62
|
+
"@vitest/coverage-v8": "^4.1.8",
|
|
63
|
+
"eslint": "^10.4.1",
|
|
64
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
65
|
+
"playwright": "^1.60.0",
|
|
66
|
+
"postcss": "^8.5.15",
|
|
67
|
+
"react": "^19.2.7",
|
|
68
|
+
"react-dom": "^19.2.7",
|
|
69
|
+
"storybook": "^10.4.3",
|
|
70
|
+
"tailwindcss": "^4.3.0",
|
|
71
|
+
"typescript": "^6.0.3",
|
|
72
|
+
"typescript-eslint": "^8.61.0",
|
|
73
|
+
"vite": "^8.0.16",
|
|
74
|
+
"vite-plugin-dts": "^5.0.2",
|
|
75
|
+
"vitest": "^4.1.8",
|
|
71
76
|
"yalc": "^1.0.0-pre.53"
|
|
72
77
|
},
|
|
73
78
|
"dependencies": {
|
|
74
|
-
"@storybook/addon-vitest": "^10.2.7",
|
|
75
|
-
"@tailwindcss/vite": "^4.1.18",
|
|
76
79
|
"class-variance-authority": "^0.7.1",
|
|
77
80
|
"clsx": "^2.1.1",
|
|
78
|
-
"lucide-react": "^
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"tailwind-merge": "^3.4.0"
|
|
81
|
+
"lucide-react": "^1.17.0",
|
|
82
|
+
"react-aria-components": "^1.18.0",
|
|
83
|
+
"tailwind-merge": "^3.6.0"
|
|
82
84
|
}
|
|
83
85
|
}
|