@mikebrucker/brucks 0.0.0-stage → 0.1.0
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/LICENSE +22 -0
- package/README.md +274 -2
- package/dist/blucks/components/homeCard.d.ts +27 -0
- package/dist/blucks/components/homeCard.js +53 -0
- package/dist/blucks/components/homeCard.js.map +1 -0
- package/dist/blucks/components/scrollToTopFab.d.ts +16 -0
- package/dist/blucks/components/scrollToTopFab.js +187 -0
- package/dist/blucks/components/scrollToTopFab.js.map +1 -0
- package/dist/blucks/components/settingsPickerModal.d.ts +11 -0
- package/dist/blucks/components/settingsPickerModal.js +49 -0
- package/dist/blucks/components/settingsPickerModal.js.map +1 -0
- package/dist/blucks/components/settingsRow.d.ts +12 -0
- package/dist/blucks/components/settingsRow.js +34 -0
- package/dist/blucks/components/settingsRow.js.map +1 -0
- package/dist/blucks/components/settingsSection.d.ts +8 -0
- package/dist/blucks/components/settingsSection.js +19 -0
- package/dist/blucks/components/settingsSection.js.map +1 -0
- package/dist/blucks/components/settingsSwatchButton.d.ts +10 -0
- package/dist/blucks/components/settingsSwatchButton.js +38 -0
- package/dist/blucks/components/settingsSwatchButton.js.map +1 -0
- package/dist/blucks/hooks/useDisclosure.d.ts +5 -0
- package/dist/blucks/hooks/useDisclosure.js +34 -0
- package/dist/blucks/hooks/useDisclosure.js.map +1 -0
- package/dist/blucks/hooks/useScrollAncestor.d.ts +3 -0
- package/dist/blucks/hooks/useScrollAncestor.js +40 -0
- package/dist/blucks/hooks/useScrollAncestor.js.map +1 -0
- package/dist/blucks/index.d.ts +12 -0
- package/dist/blucks/index.js +13 -0
- package/dist/blucks/layout/appLayout.d.ts +16 -0
- package/dist/blucks/layout/appLayout.js +93 -0
- package/dist/blucks/layout/appLayout.js.map +1 -0
- package/dist/blucks/layout/footer.d.ts +7 -0
- package/dist/blucks/layout/footer.js +18 -0
- package/dist/blucks/layout/footer.js.map +1 -0
- package/dist/blucks/layout/header.d.ts +22 -0
- package/dist/blucks/layout/header.js +121 -0
- package/dist/blucks/layout/header.js.map +1 -0
- package/dist/blucks/lib/utils.d.ts +6 -0
- package/dist/blucks/lib/utils.js +12 -0
- package/dist/blucks/lib/utils.js.map +1 -0
- package/dist/style/index.d.ts +4 -0
- package/dist/style/index.js +5 -0
- package/dist/style/settings.d.ts +105 -0
- package/dist/style/settings.js +156 -0
- package/dist/style/settings.js.map +1 -0
- package/dist/style/styles.d.ts +6 -0
- package/dist/style/styles.js +10 -0
- package/dist/style/styles.js.map +1 -0
- package/dist/style/theme.css +1449 -0
- package/dist/style/types.d.ts +6 -0
- package/dist/style/types.js +9 -0
- package/dist/style/types.js.map +1 -0
- package/dist/style/utils.d.ts +2 -0
- package/dist/style/utils.js +28 -0
- package/dist/style/utils.js.map +1 -0
- package/dist/ui/components/accordion.d.ts +81 -0
- package/dist/ui/components/accordion.js +449 -0
- package/dist/ui/components/accordion.js.map +1 -0
- package/dist/ui/components/alertDialog.d.ts +17 -0
- package/dist/ui/components/alertDialog.js +134 -0
- package/dist/ui/components/alertDialog.js.map +1 -0
- package/dist/ui/components/button.d.ts +10 -0
- package/dist/ui/components/button.js +51 -0
- package/dist/ui/components/button.js.map +1 -0
- package/dist/ui/components/checkbox.d.ts +3 -0
- package/dist/ui/components/checkbox.js +56 -0
- package/dist/ui/components/checkbox.js.map +1 -0
- package/dist/ui/components/chip.d.ts +13 -0
- package/dist/ui/components/chip.js +26 -0
- package/dist/ui/components/chip.js.map +1 -0
- package/dist/ui/components/collapsible.d.ts +22 -0
- package/dist/ui/components/collapsible.js +197 -0
- package/dist/ui/components/collapsible.js.map +1 -0
- package/dist/ui/components/drawer.d.ts +13 -0
- package/dist/ui/components/drawer.js +81 -0
- package/dist/ui/components/drawer.js.map +1 -0
- package/dist/ui/components/fab.d.ts +12 -0
- package/dist/ui/components/fab.js +51 -0
- package/dist/ui/components/fab.js.map +1 -0
- package/dist/ui/components/form.d.ts +7 -0
- package/dist/ui/components/form.js +107 -0
- package/dist/ui/components/form.js.map +1 -0
- package/dist/ui/components/icon.d.ts +9 -0
- package/dist/ui/components/icon.js +28 -0
- package/dist/ui/components/icon.js.map +1 -0
- package/dist/ui/components/input.d.ts +12 -0
- package/dist/ui/components/input.js +44 -0
- package/dist/ui/components/input.js.map +1 -0
- package/dist/ui/components/loader.d.ts +15 -0
- package/dist/ui/components/loader.js +27 -0
- package/dist/ui/components/loader.js.map +1 -0
- package/dist/ui/components/modal.d.ts +19 -0
- package/dist/ui/components/modal.js +144 -0
- package/dist/ui/components/modal.js.map +1 -0
- package/dist/ui/components/note.d.ts +6 -0
- package/dist/ui/components/note.js +12 -0
- package/dist/ui/components/note.js.map +1 -0
- package/dist/ui/components/popover.d.ts +15 -0
- package/dist/ui/components/popover.js +110 -0
- package/dist/ui/components/popover.js.map +1 -0
- package/dist/ui/components/progress.d.ts +11 -0
- package/dist/ui/components/progress.js +87 -0
- package/dist/ui/components/progress.js.map +1 -0
- package/dist/ui/components/radioGroup.d.ts +4 -0
- package/dist/ui/components/radioGroup.js +82 -0
- package/dist/ui/components/radioGroup.js.map +1 -0
- package/dist/ui/components/scrollArea.d.ts +29 -0
- package/dist/ui/components/scrollArea.js +185 -0
- package/dist/ui/components/scrollArea.js.map +1 -0
- package/dist/ui/components/select.d.ts +23 -0
- package/dist/ui/components/select.js +198 -0
- package/dist/ui/components/select.js.map +1 -0
- package/dist/ui/components/separator.d.ts +4 -0
- package/dist/ui/components/separator.js +48 -0
- package/dist/ui/components/separator.js.map +1 -0
- package/dist/ui/components/slider.d.ts +26 -0
- package/dist/ui/components/slider.js +228 -0
- package/dist/ui/components/slider.js.map +1 -0
- package/dist/ui/components/sortableList.d.ts +13 -0
- package/dist/ui/components/sortableList.js +116 -0
- package/dist/ui/components/sortableList.js.map +1 -0
- package/dist/ui/components/sortableListRow.d.ts +8 -0
- package/dist/ui/components/sortableListRow.js +79 -0
- package/dist/ui/components/sortableListRow.js.map +1 -0
- package/dist/ui/components/switch.d.ts +3 -0
- package/dist/ui/components/switch.js +47 -0
- package/dist/ui/components/switch.js.map +1 -0
- package/dist/ui/components/tabs.d.ts +7 -0
- package/dist/ui/components/tabs.js +106 -0
- package/dist/ui/components/tabs.js.map +1 -0
- package/dist/ui/components/textarea.d.ts +8 -0
- package/dist/ui/components/textarea.js +40 -0
- package/dist/ui/components/textarea.js.map +1 -0
- package/dist/ui/components/toast.d.ts +13 -0
- package/dist/ui/components/toast.js +136 -0
- package/dist/ui/components/toast.js.map +1 -0
- package/dist/ui/components/toggle-group.d.ts +11 -0
- package/dist/ui/components/toggle-group.js +158 -0
- package/dist/ui/components/toggle-group.js.map +1 -0
- package/dist/ui/components/toggle.d.ts +12 -0
- package/dist/ui/components/toggle.js +48 -0
- package/dist/ui/components/toggle.js.map +1 -0
- package/dist/ui/components/tooltip.d.ts +8 -0
- package/dist/ui/components/tooltip.js +59 -0
- package/dist/ui/components/tooltip.js.map +1 -0
- package/dist/ui/hooks/useCloseOnBack.d.ts +7 -0
- package/dist/ui/hooks/useCloseOnBack.js +46 -0
- package/dist/ui/hooks/useCloseOnBack.js.map +1 -0
- package/dist/ui/hooks/useReturnFocus.d.ts +9 -0
- package/dist/ui/hooks/useReturnFocus.js +30 -0
- package/dist/ui/hooks/useReturnFocus.js.map +1 -0
- package/dist/ui/index.d.ts +33 -0
- package/dist/ui/index.js +34 -0
- package/dist/ui/lib/defaultLabels.d.ts +31 -0
- package/dist/ui/lib/defaultLabels.js +16 -0
- package/dist/ui/lib/defaultLabels.js.map +1 -0
- package/dist/ui/lib/labels.d.ts +10 -0
- package/dist/ui/lib/labels.js +37 -0
- package/dist/ui/lib/labels.js.map +1 -0
- package/package.json +79 -4
package/package.json
CHANGED
|
@@ -1,6 +1,81 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikebrucker/brucks",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Shared React UI components for bruck and grammatik",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"sideEffects": [
|
|
8
|
+
"**/*.css"
|
|
9
|
+
],
|
|
10
|
+
"files": [
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
13
|
+
"exports": {
|
|
14
|
+
"./ui": {
|
|
15
|
+
"types": "./dist/ui/index.d.ts",
|
|
16
|
+
"default": "./dist/ui/index.js"
|
|
17
|
+
},
|
|
18
|
+
"./ui/*": {
|
|
19
|
+
"types": "./dist/ui/components/*.d.ts",
|
|
20
|
+
"default": "./dist/ui/components/*.js"
|
|
21
|
+
},
|
|
22
|
+
"./style": {
|
|
23
|
+
"types": "./dist/style/index.d.ts",
|
|
24
|
+
"default": "./dist/style/index.js"
|
|
25
|
+
},
|
|
26
|
+
"./style/theme.css": "./dist/style/theme.css",
|
|
27
|
+
"./blucks": {
|
|
28
|
+
"types": "./dist/blucks/index.d.ts",
|
|
29
|
+
"default": "./dist/blucks/index.js"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"scripts": {
|
|
33
|
+
"start": "vite playground",
|
|
34
|
+
"build": "vite build && tsc -p tsconfig.build.json && node scripts/fixDeclarationAliases.mjs",
|
|
35
|
+
"prepare": "npm run build",
|
|
36
|
+
"typecheck": "tsc --noEmit && tsc --noEmit -p playground",
|
|
37
|
+
"test": "playwright test -c playground",
|
|
38
|
+
"lint": "biome check",
|
|
39
|
+
"format": "biome format --write"
|
|
40
|
+
},
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"react": "^19.2.0",
|
|
43
|
+
"react-dom": "^19.2.0",
|
|
44
|
+
"tailwindcss": "^4.2.1",
|
|
45
|
+
"tw-animate-css": "^1.4.0"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"@dnd-kit/dom": "^0.5.1",
|
|
49
|
+
"@dnd-kit/helpers": "^0.5.0",
|
|
50
|
+
"@dnd-kit/react": "^0.5.0",
|
|
51
|
+
"@hugeicons/core-free-icons": "^4.3.5",
|
|
52
|
+
"@hugeicons/react": "^1.1.10",
|
|
53
|
+
"class-variance-authority": "^0.7.1",
|
|
54
|
+
"clsx": "^2.1.1",
|
|
55
|
+
"radix-ui": "^1.4.3",
|
|
56
|
+
"tailwind-merge": "^3.5.0"
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"@babel/core": "^7.29.0",
|
|
60
|
+
"@biomejs/biome": "2.5.12",
|
|
61
|
+
"@capacitor/cli": "^8.6.2",
|
|
62
|
+
"@playwright/test": "^1.64.1",
|
|
63
|
+
"@rolldown/plugin-babel": "^0.2.4",
|
|
64
|
+
"@tailwindcss/postcss": "^4.2.1",
|
|
65
|
+
"@types/node": "^26.5.1",
|
|
66
|
+
"@types/react": "^19.2.14",
|
|
67
|
+
"@types/react-dom": "^19.2.3",
|
|
68
|
+
"@vitejs/plugin-react": "^6.1.2",
|
|
69
|
+
"babel-plugin-react-compiler": "1.0.0",
|
|
70
|
+
"i18next": "^25.10.10",
|
|
71
|
+
"react": "19.2.3",
|
|
72
|
+
"react-dom": "19.2.3",
|
|
73
|
+
"react-i18next": "^16.6.6",
|
|
74
|
+
"react-router": "^7.18.5",
|
|
75
|
+
"tailwindcss": "^4.2.1",
|
|
76
|
+
"tw-animate-css": "^1.4.0",
|
|
77
|
+
"typescript": "^5.9.3",
|
|
78
|
+
"vite": "^8.3.5",
|
|
79
|
+
"zustand": "^5.0.16"
|
|
80
|
+
}
|
|
81
|
+
}
|