@bug-on/m3-expressive 1.0.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.
Files changed (98) hide show
  1. package/CHANGELOG.md +110 -0
  2. package/README.md +110 -0
  3. package/dist/assets/fonts/GoogleSansFlex-VariableFont.woff2 +0 -0
  4. package/dist/assets/fonts/MaterialSymbolsOutlined-VariableFont_FILL,GRAD,opsz,wght.ttf +0 -0
  5. package/dist/assets/fonts/MaterialSymbolsRounded-VariableFont_FILL,GRAD,opsz,wght.ttf +0 -0
  6. package/dist/assets/fonts/MaterialSymbolsSharp-VariableFont_FILL,GRAD,opsz,wght.ttf +0 -0
  7. package/dist/assets/loading-indicator.svg +19 -0
  8. package/dist/assets/material-symbols-cdn.css +65 -0
  9. package/dist/assets/material-symbols-self-hosted.css +94 -0
  10. package/dist/buttons.d.mts +180 -0
  11. package/dist/buttons.d.ts +180 -0
  12. package/dist/buttons.js +4282 -0
  13. package/dist/buttons.js.map +1 -0
  14. package/dist/buttons.mjs +4227 -0
  15. package/dist/buttons.mjs.map +1 -0
  16. package/dist/core.d.mts +422 -0
  17. package/dist/core.d.ts +422 -0
  18. package/dist/core.js +2581 -0
  19. package/dist/core.js.map +1 -0
  20. package/dist/core.mjs +2547 -0
  21. package/dist/core.mjs.map +1 -0
  22. package/dist/feedback.d.mts +600 -0
  23. package/dist/feedback.d.ts +600 -0
  24. package/dist/feedback.js +2357 -0
  25. package/dist/feedback.js.map +1 -0
  26. package/dist/feedback.mjs +2321 -0
  27. package/dist/feedback.mjs.map +1 -0
  28. package/dist/forms.d.mts +40 -0
  29. package/dist/forms.d.ts +40 -0
  30. package/dist/forms.js +4263 -0
  31. package/dist/forms.js.map +1 -0
  32. package/dist/forms.mjs +4228 -0
  33. package/dist/forms.mjs.map +1 -0
  34. package/dist/icon-button-D-gs0gfj.d.mts +136 -0
  35. package/dist/icon-button-D-gs0gfj.d.ts +136 -0
  36. package/dist/index.css +309 -0
  37. package/dist/index.css.d.ts +2 -0
  38. package/dist/index.d.mts +24 -0
  39. package/dist/index.d.ts +24 -0
  40. package/dist/index.js +23972 -0
  41. package/dist/index.js.map +1 -0
  42. package/dist/index.mjs +23668 -0
  43. package/dist/index.mjs.map +1 -0
  44. package/dist/layout.d.mts +610 -0
  45. package/dist/layout.d.ts +610 -0
  46. package/dist/layout.js +5091 -0
  47. package/dist/layout.js.map +1 -0
  48. package/dist/layout.mjs +5042 -0
  49. package/dist/layout.mjs.map +1 -0
  50. package/dist/material-symbols-cdn.css +65 -0
  51. package/dist/material-symbols-cdn.css.d.ts +2 -0
  52. package/dist/material-symbols-self-hosted.css +94 -0
  53. package/dist/material-symbols-self-hosted.css.d.ts +2 -0
  54. package/dist/md3-DFhj-NZj.d.mts +17 -0
  55. package/dist/md3-DFhj-NZj.d.ts +17 -0
  56. package/dist/navigation.d.mts +2766 -0
  57. package/dist/navigation.d.ts +2766 -0
  58. package/dist/navigation.js +6684 -0
  59. package/dist/navigation.js.map +1 -0
  60. package/dist/navigation.mjs +6573 -0
  61. package/dist/navigation.mjs.map +1 -0
  62. package/dist/overlays.d.mts +161 -0
  63. package/dist/overlays.d.ts +161 -0
  64. package/dist/overlays.js +3298 -0
  65. package/dist/overlays.js.map +1 -0
  66. package/dist/overlays.mjs +3244 -0
  67. package/dist/overlays.mjs.map +1 -0
  68. package/dist/pickers.d.mts +1074 -0
  69. package/dist/pickers.d.ts +1074 -0
  70. package/dist/pickers.js +4240 -0
  71. package/dist/pickers.js.map +1 -0
  72. package/dist/pickers.mjs +4200 -0
  73. package/dist/pickers.mjs.map +1 -0
  74. package/dist/plugin.d.mts +1 -0
  75. package/dist/plugin.d.ts +1 -0
  76. package/dist/plugin.js +13 -0
  77. package/dist/plugin.js.map +1 -0
  78. package/dist/plugin.mjs +3 -0
  79. package/dist/plugin.mjs.map +1 -0
  80. package/dist/scroll-area-CVS6HyLl.d.mts +33 -0
  81. package/dist/scroll-area-CVS6HyLl.d.ts +33 -0
  82. package/dist/shapes.d.mts +1119 -0
  83. package/dist/shapes.d.ts +1119 -0
  84. package/dist/shapes.js +2941 -0
  85. package/dist/shapes.js.map +1 -0
  86. package/dist/shapes.mjs +2889 -0
  87. package/dist/shapes.mjs.map +1 -0
  88. package/dist/side-sheet-modal-BY6VCC8p.d.mts +553 -0
  89. package/dist/side-sheet-modal-CglP6KYA.d.ts +553 -0
  90. package/dist/split-button-trailing-uncheckable-C5CLCIKP.d.ts +731 -0
  91. package/dist/split-button-trailing-uncheckable-MXj_kyNt.d.mts +731 -0
  92. package/dist/text-field-eAIpz9z1.d.mts +1038 -0
  93. package/dist/text-field-eAIpz9z1.d.ts +1038 -0
  94. package/dist/typography-339RV6v7.d.mts +486 -0
  95. package/dist/typography-339RV6v7.d.ts +486 -0
  96. package/dist/typography.css +22 -0
  97. package/dist/typography.css.d.ts +2 -0
  98. package/package.json +207 -0
package/package.json ADDED
@@ -0,0 +1,207 @@
1
+ {
2
+ "name": "@bug-on/m3-expressive",
3
+ "version": "1.0.0",
4
+ "description": "Material Design 3 Expressive React components",
5
+ "author": "Bug Ổn",
6
+ "license": "MIT",
7
+ "publishConfig": {
8
+ "access": "public"
9
+ },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/nguyentruongton/bug-on-md3-expressive.git",
13
+ "directory": "packages/react"
14
+ },
15
+ "keywords": [
16
+ "react",
17
+ "tailwind",
18
+ "material-design-3",
19
+ "md3",
20
+ "ui-library",
21
+ "components",
22
+ "bug-on"
23
+ ],
24
+ "main": "./dist/index.js",
25
+ "module": "./dist/index.mjs",
26
+ "types": "./dist/index.d.ts",
27
+ "files": [
28
+ "dist",
29
+ "README.md",
30
+ "CHANGELOG.md"
31
+ ],
32
+ "sideEffects": [
33
+ "*.css"
34
+ ],
35
+ "exports": {
36
+ ".": {
37
+ "import": {
38
+ "types": "./dist/index.d.mts",
39
+ "default": "./dist/index.mjs"
40
+ },
41
+ "require": {
42
+ "types": "./dist/index.d.ts",
43
+ "default": "./dist/index.js"
44
+ }
45
+ },
46
+ "./typography.css": {
47
+ "types": "./dist/typography.css.d.ts",
48
+ "default": "./dist/typography.css"
49
+ },
50
+ "./index.css": {
51
+ "types": "./dist/index.css.d.ts",
52
+ "default": "./dist/index.css"
53
+ },
54
+ "./material-symbols-cdn.css": {
55
+ "types": "./dist/material-symbols-cdn.css.d.ts",
56
+ "default": "./dist/material-symbols-cdn.css"
57
+ },
58
+ "./material-symbols-self-hosted.css": {
59
+ "types": "./dist/material-symbols-self-hosted.css.d.ts",
60
+ "default": "./dist/material-symbols-self-hosted.css"
61
+ },
62
+ "./plugin": {
63
+ "types": "./dist/plugin.d.ts",
64
+ "import": "./dist/plugin.mjs",
65
+ "require": "./dist/plugin.js"
66
+ },
67
+ "./core": {
68
+ "import": {
69
+ "types": "./dist/core.d.mts",
70
+ "default": "./dist/core.mjs"
71
+ },
72
+ "require": {
73
+ "types": "./dist/core.d.ts",
74
+ "default": "./dist/core.js"
75
+ }
76
+ },
77
+ "./buttons": {
78
+ "import": {
79
+ "types": "./dist/buttons.d.mts",
80
+ "default": "./dist/buttons.mjs"
81
+ },
82
+ "require": {
83
+ "types": "./dist/buttons.d.ts",
84
+ "default": "./dist/buttons.js"
85
+ }
86
+ },
87
+ "./forms": {
88
+ "import": {
89
+ "types": "./dist/forms.d.mts",
90
+ "default": "./dist/forms.mjs"
91
+ },
92
+ "require": {
93
+ "types": "./dist/forms.d.ts",
94
+ "default": "./dist/forms.js"
95
+ }
96
+ },
97
+ "./feedback": {
98
+ "import": {
99
+ "types": "./dist/feedback.d.mts",
100
+ "default": "./dist/feedback.mjs"
101
+ },
102
+ "require": {
103
+ "types": "./dist/feedback.d.ts",
104
+ "default": "./dist/feedback.js"
105
+ }
106
+ },
107
+ "./navigation": {
108
+ "import": {
109
+ "types": "./dist/navigation.d.mts",
110
+ "default": "./dist/navigation.mjs"
111
+ },
112
+ "require": {
113
+ "types": "./dist/navigation.d.ts",
114
+ "default": "./dist/navigation.js"
115
+ }
116
+ },
117
+ "./overlays": {
118
+ "import": {
119
+ "types": "./dist/overlays.d.mts",
120
+ "default": "./dist/overlays.mjs"
121
+ },
122
+ "require": {
123
+ "types": "./dist/overlays.d.ts",
124
+ "default": "./dist/overlays.js"
125
+ }
126
+ },
127
+ "./layout": {
128
+ "import": {
129
+ "types": "./dist/layout.d.mts",
130
+ "default": "./dist/layout.mjs"
131
+ },
132
+ "require": {
133
+ "types": "./dist/layout.d.ts",
134
+ "default": "./dist/layout.js"
135
+ }
136
+ },
137
+ "./pickers": {
138
+ "import": {
139
+ "types": "./dist/pickers.d.mts",
140
+ "default": "./dist/pickers.mjs"
141
+ },
142
+ "require": {
143
+ "types": "./dist/pickers.d.ts",
144
+ "default": "./dist/pickers.js"
145
+ }
146
+ },
147
+ "./shapes": {
148
+ "import": {
149
+ "types": "./dist/shapes.d.mts",
150
+ "default": "./dist/shapes.mjs"
151
+ },
152
+ "require": {
153
+ "types": "./dist/shapes.d.ts",
154
+ "default": "./dist/shapes.js"
155
+ }
156
+ }
157
+ },
158
+ "peerDependencies": {
159
+ "motion": ">=12.0.0",
160
+ "react": "^19.0.0",
161
+ "react-dom": "^19.0.0"
162
+ },
163
+ "peerDependenciesMeta": {
164
+ "motion": {
165
+ "optional": true
166
+ }
167
+ },
168
+ "dependencies": {
169
+ "@dnd-kit/core": "^6.3.1",
170
+ "@dnd-kit/sortable": "^10.0.0",
171
+ "@dnd-kit/utilities": "^3.2.2",
172
+ "@material/material-color-utilities": "^0.3.0",
173
+ "@radix-ui/react-context-menu": "^2.2.16",
174
+ "@radix-ui/react-dialog": "^1.1.15",
175
+ "@radix-ui/react-dropdown-menu": "^2.1.16",
176
+ "@radix-ui/react-scroll-area": "^1.2.10",
177
+ "@radix-ui/react-slot": "^1.2.4",
178
+ "@use-gesture/react": "^10.3.1",
179
+ "class-variance-authority": "^0.7.1",
180
+ "clsx": "^2.1.1",
181
+ "tailwind-merge": "^3.3.1",
182
+ "@bug-on/m3-tailwind": "1.0.0",
183
+ "@bug-on/m3-tokens": "1.0.0"
184
+ },
185
+ "devDependencies": {
186
+ "@testing-library/jest-dom": "^6.9.1",
187
+ "@testing-library/react": "^16.3.2",
188
+ "@testing-library/user-event": "^14.6.1",
189
+ "@types/jest-axe": "^3.5.9",
190
+ "@types/react": "^19.0.0",
191
+ "@types/react-dom": "^19.0.0",
192
+ "@vitejs/plugin-react": "^6.0.2",
193
+ "@vitest/coverage-v8": "4.1.4",
194
+ "jest-axe": "^10.0.0",
195
+ "jsdom": "^29.0.0",
196
+ "tsup": "^8.4.0",
197
+ "typescript": "5.8.3",
198
+ "vite": ">=8.0.5",
199
+ "vitest": "^4.1.6"
200
+ },
201
+ "scripts": {
202
+ "build": "tsup",
203
+ "dev": "tsup --watch",
204
+ "test": "vitest run",
205
+ "clean": "rm -rf dist"
206
+ }
207
+ }