@konstructio/ui 0.0.12-alpha.1 → 0.0.12-alpha.11
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/{Combination-BQYb0Gw7.js → Combination-b348x__d.js} +24 -24
- package/dist/Modal-B-E9uaA6.js +922 -0
- package/dist/components/Alert/Alert.js +58 -0
- package/dist/components/Alert/Alert.variants.js +77 -0
- package/dist/components/AlertDialog/AlertDialog.js +1 -1
- package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
- package/dist/components/AlertDialog/components/index.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.variants.js +0 -1
- package/dist/components/Autocomplete/components/List/List.js +3 -3
- package/dist/components/Breadcrumb/Breadcrumb.js +3 -3
- package/dist/components/Breadcrumb/Breadcrumb.variants.js +18 -15
- package/dist/components/Breadcrumb/components/Item/Item.js +4 -4
- package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +1 -1
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Card/Card.js +3 -3
- package/dist/components/Checkbox/Checkbox.js +5 -5
- package/dist/components/Command/Command.js +32 -0
- package/dist/components/Command/Command.variants.js +97 -0
- package/dist/components/Command/components/Command.js +8 -0
- package/dist/components/Command/components/CommandEmpty.js +15 -0
- package/dist/components/Command/components/CommandGroup.js +19 -0
- package/dist/components/Command/components/CommandInput.js +84 -0
- package/dist/components/Command/components/CommandItem.js +29 -0
- package/dist/components/Command/components/CommandList.js +16 -0
- package/dist/components/Command/components/CommandSeparator.js +16 -0
- package/dist/components/Command/components/CommandShortcut.js +19 -0
- package/dist/components/Command/components/DialogContent.js +31 -0
- package/dist/components/Command/components/DialogOverlay.js +19 -0
- package/dist/components/Command/components/index.js +20 -0
- package/dist/components/Command/contexts/Command.context.js +13 -0
- package/dist/components/Command/contexts/Command.provider.js +24 -0
- package/dist/components/Command/contexts/index.js +6 -0
- package/dist/components/Divider/Divider.js +10 -0
- package/dist/components/Divider/Divider.variants.js +14 -0
- package/dist/components/Dropdown/Dropdown.js +5 -5
- package/dist/components/Dropdown/Dropdown.variants.js +22 -3
- package/dist/components/Dropdown/components/List/List.variants.js +4 -4
- package/dist/components/Dropdown/components/ListItem/ListItem.js +19 -18
- package/dist/components/Dropdown/components/ListItem/ListItem.variants.js +6 -4
- package/dist/components/Dropdown/components/Wrapper.js +88 -57
- package/dist/components/Dropdown/contexts/dropdown.context.js +1 -1
- package/dist/components/Dropdown/contexts/dropdown.provider.js +11 -11
- package/dist/components/Input/Input.js +112 -67
- package/dist/components/Input/Input.variants.js +5 -6
- package/dist/components/Loading/Loading.js +109 -0
- package/dist/components/Loading/Loading.variants.js +19 -0
- package/dist/components/Modal/Modal.js +3 -3
- package/dist/components/Modal/components/Body/Body.js +1 -1
- package/dist/components/Modal/components/Footer/Footer.js +1 -1
- package/dist/components/Modal/components/Header/Header.js +1 -1
- package/dist/components/Modal/components/Wrapper/Wrapper.js +4 -5
- package/dist/components/Modal/components/index.js +1 -1
- package/dist/components/NumberInput/NumberInput.js +1 -1
- package/dist/components/ProgressBar/ProgressBar.js +3 -3
- package/dist/components/Radio/Radio.js +4 -4
- package/dist/components/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/Range/Range.js +4 -4
- package/dist/components/Sidebar/Sidebar.variants.js +2 -1
- package/dist/components/Sidebar/components/Logo/Logo.variants.js +9 -17
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.js +2 -2
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +6 -5
- package/dist/components/Sidebar/components/Wrapper/Wrapper.js +3 -3
- package/dist/components/Slider/Slider.js +14 -14
- package/dist/components/Switch/Switch.js +17 -17
- package/dist/components/Tag/Tag.js +17 -5
- package/dist/components/Tag/Tag.variants.js +11 -1
- package/dist/components/TagSelect/TagSelect.js +6 -71
- package/dist/components/TagSelect/TagSelect.variants.js +29 -50
- package/dist/components/TagSelect/components/Item/Item.js +23 -0
- package/dist/components/TagSelect/components/Item/Item.variants.js +31 -0
- package/dist/components/TagSelect/components/List/List.js +13 -0
- package/dist/components/TagSelect/components/List/List.variants.js +37 -0
- package/dist/components/TagSelect/components/Wrapper/Wrapper.js +88 -0
- package/dist/components/TagSelect/components/index.js +8 -0
- package/dist/components/TagSelect/contexts/TagSelect.context.js +19 -0
- package/dist/components/TagSelect/contexts/TagSelect.hook.js +11 -0
- package/dist/components/TagSelect/contexts/TagSelect.provider.js +69 -0
- package/dist/components/TagSelect/contexts/index.js +6 -0
- package/dist/components/TagSelect/hooks/useTagSelect.js +22 -27
- package/dist/components/TextArea/TextArea.js +28 -22
- package/dist/components/TextArea/TextArea.variants.js +0 -1
- package/dist/components/Toast/Toast.js +143 -130
- package/dist/components/Toast/Toast.variants.js +2 -3
- package/dist/components/Tooltip/Tooltip.js +4 -4
- package/dist/components/Typography/Typography.js +31 -0
- package/dist/components/Typography/Typography.variants.js +63 -0
- package/dist/components/index.js +61 -53
- package/dist/{index-BxeV34ij.js → index-4ecjw_Aj.js} +1 -1
- package/dist/index-B_6_jmOO.js +68 -0
- package/dist/{index-BBjak_0p.js → index-BbsJ0VIJ.js} +2 -2
- package/dist/{index-CJsYodgi.js → index-BzaHYXkt.js} +9 -9
- package/dist/{index-KEdwcThH.js → index-CbTU3cnP.js} +1 -1
- package/dist/{index-8vgf-x5i.js → index-Cva-e5M4.js} +2 -2
- package/dist/index-CzSBQN5S.js +432 -0
- package/dist/index-D7QNmo_D.js +422 -0
- package/dist/index-DUA6Y_AE.js +126 -0
- package/dist/{index-CoqDsznq.js → index-D_76wh4w.js} +3 -3
- package/dist/{index-D4Q2rMby.js → index-Dj1pom3_.js} +2 -2
- package/dist/index-DyKo5ZJT.js +446 -0
- package/dist/index.d.ts +63 -12
- package/dist/index.js +76 -68
- package/dist/package.json +36 -35
- package/dist/plugins/konstruct.js +34 -31
- package/dist/plugins/utils/animation.styles.js +162 -0
- package/dist/plugins/utils/index.js +7 -0
- package/dist/styles.css +1 -1
- package/dist/{useBreadcrumb-CojbXFVD.js → useBreadcrumb-BsIeMoR1.js} +47 -47
- package/dist/utils/index.js +320 -322
- package/package.json +36 -35
- package/dist/Modal-W2GbkC_F.js +0 -906
- package/dist/index-1GLoikpT.js +0 -19134
- package/dist/index-BVppSRDQ.js +0 -551
- package/dist/index-DoOsnuB6.js +0 -72
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@konstructio/ui",
|
|
3
3
|
"description": "A set of reusable and customizable React components built for konstruct.io",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "0.0.12-alpha.
|
|
5
|
+
"version": "0.0.12-alpha.11",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"main": "dist/index.js",
|
|
@@ -43,9 +43,8 @@
|
|
|
43
43
|
"build:storybook": "storybook build -o storybook-static && cp -r public/* storybook-static",
|
|
44
44
|
"check:prettier": "prettier lib --check --config ./.prettierrc",
|
|
45
45
|
"check:types": "tsc -p tsconfig.json",
|
|
46
|
-
"ci": "npm run
|
|
46
|
+
"ci": "npm run check:prettier && vitest run && npm run build",
|
|
47
47
|
"deps:update": "npx npm-check-updates --interactive --format group",
|
|
48
|
-
"dev": "vite",
|
|
49
48
|
"format:prettier": "prettier lib --write './**/*.{js,jsx,ts,tsx}' --config ./.prettierrc",
|
|
50
49
|
"lint": "eslint lib --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
51
50
|
"prepare": "husky",
|
|
@@ -56,20 +55,23 @@
|
|
|
56
55
|
"test:watch": "vitest dev"
|
|
57
56
|
},
|
|
58
57
|
"dependencies": {
|
|
59
|
-
"@radix-ui/react-alert-dialog": "^1.1.
|
|
60
|
-
"@radix-ui/react-checkbox": "^1.1.
|
|
61
|
-
"@radix-ui/react-
|
|
62
|
-
"@radix-ui/react-
|
|
63
|
-
"@radix-ui/react-
|
|
64
|
-
"@radix-ui/react-
|
|
65
|
-
"@radix-ui/react-
|
|
58
|
+
"@radix-ui/react-alert-dialog": "^1.1.6",
|
|
59
|
+
"@radix-ui/react-checkbox": "^1.1.4",
|
|
60
|
+
"@radix-ui/react-dialog": "^1.1.6",
|
|
61
|
+
"@radix-ui/react-slider": "^1.2.3",
|
|
62
|
+
"@radix-ui/react-slot": "^1.1.2",
|
|
63
|
+
"@radix-ui/react-switch": "^1.1.3",
|
|
64
|
+
"@radix-ui/react-toast": "^1.2.6",
|
|
65
|
+
"@radix-ui/react-visually-hidden": "^1.1.2",
|
|
66
66
|
"class-variance-authority": "^0.7.1",
|
|
67
67
|
"clsx": "^2.1.1",
|
|
68
|
+
"cmdk": "^1.0.4",
|
|
68
69
|
"js-cookie": "^3.0.5",
|
|
70
|
+
"lucide-react": "^0.477.0",
|
|
69
71
|
"react-feather": "^2.0.10",
|
|
70
|
-
"react-focus-lock": "^2.13.
|
|
72
|
+
"react-focus-lock": "^2.13.6",
|
|
71
73
|
"react-remove-scroll": "^2.6.3",
|
|
72
|
-
"tailwind-merge": "^3.0.
|
|
74
|
+
"tailwind-merge": "^3.0.2"
|
|
73
75
|
},
|
|
74
76
|
"peerDependencies": {
|
|
75
77
|
"@types/react": "*",
|
|
@@ -101,27 +103,27 @@
|
|
|
101
103
|
},
|
|
102
104
|
"devDependencies": {
|
|
103
105
|
"@rollup/plugin-alias": "^5.1.1",
|
|
104
|
-
"@storybook/addon-docs": "^8.
|
|
105
|
-
"@storybook/addon-essentials": "^8.
|
|
106
|
-
"@storybook/addon-interactions": "^8.
|
|
107
|
-
"@storybook/addon-links": "^8.
|
|
106
|
+
"@storybook/addon-docs": "^8.6.3",
|
|
107
|
+
"@storybook/addon-essentials": "^8.6.3",
|
|
108
|
+
"@storybook/addon-interactions": "^8.6.3",
|
|
109
|
+
"@storybook/addon-links": "^8.6.3",
|
|
108
110
|
"@storybook/addon-styling-webpack": "^1.0.1",
|
|
109
|
-
"@storybook/blocks": "^8.
|
|
110
|
-
"@storybook/react": "^8.
|
|
111
|
-
"@storybook/react-vite": "^8.
|
|
112
|
-
"@storybook/test": "^8.
|
|
111
|
+
"@storybook/blocks": "^8.6.3",
|
|
112
|
+
"@storybook/react": "^8.6.3",
|
|
113
|
+
"@storybook/react-vite": "^8.6.3",
|
|
114
|
+
"@storybook/test": "^8.6.3",
|
|
113
115
|
"@testing-library/jest-dom": "^6.6.3",
|
|
114
116
|
"@testing-library/react": "^16.2.0",
|
|
115
117
|
"@testing-library/user-event": "^14.6.1",
|
|
116
118
|
"@types/jest-axe": "^3.5.9",
|
|
117
119
|
"@types/js-cookie": "^3.0.6",
|
|
118
|
-
"@types/lodash": "^4.17.
|
|
119
|
-
"@types/react": "^19.0.
|
|
120
|
-
"@types/react-dom": "^19.0.
|
|
121
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
122
|
-
"@typescript-eslint/parser": "^8.
|
|
120
|
+
"@types/lodash": "^4.17.16",
|
|
121
|
+
"@types/react": "^19.0.10",
|
|
122
|
+
"@types/react-dom": "^19.0.4",
|
|
123
|
+
"@typescript-eslint/eslint-plugin": "^8.26.0",
|
|
124
|
+
"@typescript-eslint/parser": "^8.26.0",
|
|
123
125
|
"@vitejs/plugin-react": "^4.3.4",
|
|
124
|
-
"@vitest/coverage-v8": "^3.0.
|
|
126
|
+
"@vitest/coverage-v8": "^3.0.7",
|
|
125
127
|
"autoprefixer": "^10.4.20",
|
|
126
128
|
"eslint": "^8.57.0",
|
|
127
129
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
@@ -129,22 +131,21 @@
|
|
|
129
131
|
"eslint-plugin-storybook": "^0.9.0",
|
|
130
132
|
"glob": "^11.0.1",
|
|
131
133
|
"husky": "^9.1.7",
|
|
132
|
-
"jest": "^
|
|
133
|
-
"jest-axe": "^9.0.0",
|
|
134
|
+
"jest-axe": "^10.0.0",
|
|
134
135
|
"jsdom": "^26.0.0",
|
|
135
136
|
"lodash": "^4.17.21",
|
|
136
|
-
"postcss": "^8.5.
|
|
137
|
-
"prettier": "^3.
|
|
137
|
+
"postcss": "^8.5.3",
|
|
138
|
+
"prettier": "^3.5.3",
|
|
138
139
|
"rimraf": "^6.0.1",
|
|
139
|
-
"storybook": "^8.
|
|
140
|
+
"storybook": "^8.6.3",
|
|
140
141
|
"tailwindcss": "^3.4.17",
|
|
141
142
|
"ts-node": "^10.9.2",
|
|
142
|
-
"typescript": "^5.
|
|
143
|
-
"vite": "^6.0
|
|
144
|
-
"vite-plugin-dts": "^4.5.
|
|
143
|
+
"typescript": "^5.8.2",
|
|
144
|
+
"vite": "^6.2.0",
|
|
145
|
+
"vite-plugin-dts": "^4.5.3",
|
|
145
146
|
"vite-plugin-lib-inject-css": "^2.2.1",
|
|
146
147
|
"vite-plugin-svgr": "^4.3.0",
|
|
147
148
|
"vite-tsconfig-paths": "^5.1.4",
|
|
148
|
-
"vitest": "^3.0.
|
|
149
|
+
"vitest": "^3.0.7"
|
|
149
150
|
}
|
|
150
151
|
}
|