material-plus-ui 0.0.1 → 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 (265) hide show
  1. package/README.md +39 -28
  2. package/dist/components/accordion/MPAccordion.d.ts +115 -0
  3. package/dist/components/accordion/MPAccordion.js +1 -0
  4. package/dist/components/accordion/index.d.ts +2 -0
  5. package/dist/components/accordion/index.js +1 -0
  6. package/dist/components/alert/MPAlert.d.ts +91 -0
  7. package/dist/components/alert/MPAlert.js +1 -0
  8. package/dist/components/alert/index.d.ts +2 -0
  9. package/dist/components/alert/index.js +1 -0
  10. package/dist/components/aspect-ratio/MPAspectRatio.d.ts +69 -0
  11. package/dist/components/aspect-ratio/MPAspectRatio.js +1 -0
  12. package/dist/components/aspect-ratio/index.d.ts +2 -0
  13. package/dist/components/aspect-ratio/index.js +1 -0
  14. package/dist/components/avatar/MPAvatar.d.ts +97 -0
  15. package/dist/components/avatar/MPAvatar.js +1 -0
  16. package/dist/components/avatar/index.d.ts +2 -0
  17. package/dist/components/avatar/index.js +1 -0
  18. package/dist/components/badge/MPBadge.d.ts +104 -0
  19. package/dist/components/badge/MPBadge.js +1 -0
  20. package/dist/components/badge/index.d.ts +2 -0
  21. package/dist/components/badge/index.js +1 -0
  22. package/dist/components/blockquote/MPBlockquote.d.ts +73 -0
  23. package/dist/components/blockquote/MPBlockquote.js +1 -0
  24. package/dist/components/blockquote/index.d.ts +2 -0
  25. package/dist/components/blockquote/index.js +1 -0
  26. package/dist/components/box/MPBox.d.ts +78 -0
  27. package/dist/components/box/MPBox.js +1 -0
  28. package/dist/components/box/index.d.ts +2 -0
  29. package/dist/components/box/index.js +1 -0
  30. package/dist/components/breadcrumb/MPBreadcrumb.d.ts +105 -0
  31. package/dist/components/breadcrumb/MPBreadcrumb.js +1 -0
  32. package/dist/components/breadcrumb/index.d.ts +2 -0
  33. package/dist/components/breadcrumb/index.js +1 -0
  34. package/dist/components/button/MPButton.d.ts +70 -0
  35. package/dist/components/button/MPButton.js +1 -0
  36. package/dist/components/button/index.d.ts +2 -0
  37. package/dist/components/button/index.js +1 -0
  38. package/dist/components/button-group/MPButtonGroup.d.ts +31 -0
  39. package/dist/components/button-group/MPButtonGroup.js +1 -0
  40. package/dist/components/button-group/index.d.ts +2 -0
  41. package/dist/components/button-group/index.js +1 -0
  42. package/dist/components/card/MPCard.d.ts +73 -0
  43. package/dist/components/card/MPCard.js +1 -0
  44. package/dist/components/card/index.d.ts +2 -0
  45. package/dist/components/card/index.js +1 -0
  46. package/dist/components/carousel/MPCarousel.d.ts +116 -0
  47. package/dist/components/carousel/MPCarousel.js +1 -0
  48. package/dist/components/carousel/index.d.ts +2 -0
  49. package/dist/components/carousel/index.js +1 -0
  50. package/dist/components/chat-bubble/MPChatBubble.d.ts +132 -0
  51. package/dist/components/chat-bubble/MPChatBubble.js +1 -0
  52. package/dist/components/chat-bubble/index.d.ts +2 -0
  53. package/dist/components/chat-bubble/index.js +1 -0
  54. package/dist/components/checkbox/MPCheckbox.d.ts +76 -0
  55. package/dist/components/checkbox/MPCheckbox.js +1 -0
  56. package/dist/components/checkbox/index.d.ts +2 -0
  57. package/dist/components/checkbox/index.js +1 -0
  58. package/dist/components/chip/MPChip.d.ts +64 -0
  59. package/dist/components/chip/MPChip.js +1 -0
  60. package/dist/components/chip/index.d.ts +2 -0
  61. package/dist/components/chip/index.js +1 -0
  62. package/dist/components/collapsible/MPCollapsible.d.ts +97 -0
  63. package/dist/components/collapsible/MPCollapsible.js +1 -0
  64. package/dist/components/collapsible/index.d.ts +2 -0
  65. package/dist/components/collapsible/index.js +1 -0
  66. package/dist/components/color-picker/MPColorPicker.d.ts +113 -0
  67. package/dist/components/color-picker/MPColorPicker.js +1 -0
  68. package/dist/components/color-picker/index.d.ts +2 -0
  69. package/dist/components/color-picker/index.js +1 -0
  70. package/dist/components/combobox/MPCombobox.d.ts +147 -0
  71. package/dist/components/combobox/MPCombobox.js +1 -0
  72. package/dist/components/combobox/index.d.ts +2 -0
  73. package/dist/components/combobox/index.js +1 -0
  74. package/dist/components/date-picker/MPDatePicker.d.ts +95 -0
  75. package/dist/components/date-picker/MPDatePicker.js +1 -0
  76. package/dist/components/date-picker/index.d.ts +2 -0
  77. package/dist/components/date-picker/index.js +1 -0
  78. package/dist/components/date-range-picker/MPDateRangePicker.d.ts +98 -0
  79. package/dist/components/date-range-picker/MPDateRangePicker.js +1 -0
  80. package/dist/components/date-range-picker/index.d.ts +2 -0
  81. package/dist/components/date-range-picker/index.js +1 -0
  82. package/dist/components/date-time-picker/MPDateTimePicker.d.ts +78 -0
  83. package/dist/components/date-time-picker/MPDateTimePicker.js +1 -0
  84. package/dist/components/date-time-picker/index.d.ts +2 -0
  85. package/dist/components/date-time-picker/index.js +1 -0
  86. package/dist/components/dialog/MPDialog.d.ts +145 -0
  87. package/dist/components/dialog/MPDialog.js +1 -0
  88. package/dist/components/dialog/index.d.ts +2 -0
  89. package/dist/components/dialog/index.js +1 -0
  90. package/dist/components/divider/MPDivider.d.ts +80 -0
  91. package/dist/components/divider/MPDivider.js +1 -0
  92. package/dist/components/divider/index.d.ts +2 -0
  93. package/dist/components/divider/index.js +1 -0
  94. package/dist/components/drawer/MPDrawer.d.ts +163 -0
  95. package/dist/components/drawer/MPDrawer.js +1 -0
  96. package/dist/components/drawer/index.d.ts +2 -0
  97. package/dist/components/drawer/index.js +1 -0
  98. package/dist/components/empty/MPEmpty.d.ts +64 -0
  99. package/dist/components/empty/MPEmpty.js +1 -0
  100. package/dist/components/empty/index.d.ts +2 -0
  101. package/dist/components/empty/index.js +1 -0
  102. package/dist/components/file-picker/MPFilePicker.d.ts +103 -0
  103. package/dist/components/file-picker/MPFilePicker.js +1 -0
  104. package/dist/components/file-picker/index.d.ts +2 -0
  105. package/dist/components/file-picker/index.js +1 -0
  106. package/dist/components/highlight/MPHighlight.d.ts +95 -0
  107. package/dist/components/highlight/MPHighlight.js +1 -0
  108. package/dist/components/highlight/index.d.ts +2 -0
  109. package/dist/components/highlight/index.js +1 -0
  110. package/dist/components/icon-button/MPIconButton.d.ts +59 -0
  111. package/dist/components/icon-button/MPIconButton.js +1 -0
  112. package/dist/components/icon-button/index.d.ts +2 -0
  113. package/dist/components/icon-button/index.js +1 -0
  114. package/dist/components/list/MPList.d.ts +96 -0
  115. package/dist/components/list/MPList.js +1 -0
  116. package/dist/components/list/index.d.ts +2 -0
  117. package/dist/components/list/index.js +1 -0
  118. package/dist/components/locale/MPLocaleProvider.d.ts +63 -0
  119. package/dist/components/locale/MPLocaleProvider.js +1 -0
  120. package/dist/components/locale/index.d.ts +2 -0
  121. package/dist/components/locale/index.js +1 -0
  122. package/dist/components/menu/MPMenu.d.ts +223 -0
  123. package/dist/components/menu/MPMenu.js +1 -0
  124. package/dist/components/menu/index.d.ts +2 -0
  125. package/dist/components/menu/index.js +1 -0
  126. package/dist/components/number-field/MPNumberField.d.ts +99 -0
  127. package/dist/components/number-field/MPNumberField.js +1 -0
  128. package/dist/components/number-field/index.d.ts +2 -0
  129. package/dist/components/number-field/index.js +1 -0
  130. package/dist/components/otp-field/MPOtpField.d.ts +89 -0
  131. package/dist/components/otp-field/MPOtpField.js +1 -0
  132. package/dist/components/otp-field/index.d.ts +2 -0
  133. package/dist/components/otp-field/index.js +1 -0
  134. package/dist/components/overlay/MPOverlay.d.ts +96 -0
  135. package/dist/components/overlay/MPOverlay.js +1 -0
  136. package/dist/components/overlay/index.d.ts +2 -0
  137. package/dist/components/overlay/index.js +1 -0
  138. package/dist/components/panes/MPPanes.d.ts +100 -0
  139. package/dist/components/panes/MPPanes.js +1 -0
  140. package/dist/components/panes/index.d.ts +2 -0
  141. package/dist/components/panes/index.js +1 -0
  142. package/dist/components/pill/MPPill.d.ts +117 -0
  143. package/dist/components/pill/MPPill.js +1 -0
  144. package/dist/components/pill/index.d.ts +2 -0
  145. package/dist/components/pill/index.js +1 -0
  146. package/dist/components/popover/MPPopover.d.ts +138 -0
  147. package/dist/components/popover/MPPopover.js +1 -0
  148. package/dist/components/popover/index.d.ts +2 -0
  149. package/dist/components/popover/index.js +1 -0
  150. package/dist/components/progress-box/MPProgressBox.d.ts +40 -0
  151. package/dist/components/progress-box/MPProgressBox.js +1 -0
  152. package/dist/components/progress-box/index.d.ts +2 -0
  153. package/dist/components/progress-box/index.js +1 -0
  154. package/dist/components/progress-circular/MPProgressCircular.d.ts +32 -0
  155. package/dist/components/progress-circular/MPProgressCircular.js +1 -0
  156. package/dist/components/progress-circular/index.d.ts +2 -0
  157. package/dist/components/progress-circular/index.js +1 -0
  158. package/dist/components/progress-linear/MPProgressLinear.d.ts +32 -0
  159. package/dist/components/progress-linear/MPProgressLinear.js +1 -0
  160. package/dist/components/progress-linear/index.d.ts +2 -0
  161. package/dist/components/progress-linear/index.js +1 -0
  162. package/dist/components/radio-group/MPRadioGroup.d.ts +81 -0
  163. package/dist/components/radio-group/MPRadioGroup.js +1 -0
  164. package/dist/components/radio-group/index.d.ts +2 -0
  165. package/dist/components/radio-group/index.js +1 -0
  166. package/dist/components/segmented-button/MPSegmentedButton.d.ts +75 -0
  167. package/dist/components/segmented-button/MPSegmentedButton.js +1 -0
  168. package/dist/components/segmented-button/index.d.ts +2 -0
  169. package/dist/components/segmented-button/index.js +1 -0
  170. package/dist/components/select/MPSelect.d.ts +86 -0
  171. package/dist/components/select/MPSelect.js +1 -0
  172. package/dist/components/select/index.d.ts +2 -0
  173. package/dist/components/select/index.js +1 -0
  174. package/dist/components/shortcut/MPShortcut.d.ts +67 -0
  175. package/dist/components/shortcut/MPShortcut.js +1 -0
  176. package/dist/components/shortcut/index.d.ts +2 -0
  177. package/dist/components/shortcut/index.js +1 -0
  178. package/dist/components/skeleton/MPSkeleton.d.ts +76 -0
  179. package/dist/components/skeleton/MPSkeleton.js +1 -0
  180. package/dist/components/skeleton/index.d.ts +2 -0
  181. package/dist/components/skeleton/index.js +1 -0
  182. package/dist/components/slider/MPSlider.d.ts +77 -0
  183. package/dist/components/slider/MPSlider.js +1 -0
  184. package/dist/components/slider/index.d.ts +2 -0
  185. package/dist/components/slider/index.js +1 -0
  186. package/dist/components/snackbar/MPSnackbar.d.ts +170 -0
  187. package/dist/components/snackbar/MPSnackbar.js +1 -0
  188. package/dist/components/snackbar/index.d.ts +2 -0
  189. package/dist/components/snackbar/index.js +1 -0
  190. package/dist/components/spoiler/MPSpoiler.d.ts +106 -0
  191. package/dist/components/spoiler/MPSpoiler.js +1 -0
  192. package/dist/components/spoiler/index.d.ts +2 -0
  193. package/dist/components/spoiler/index.js +1 -0
  194. package/dist/components/switch/MPSwitch.d.ts +75 -0
  195. package/dist/components/switch/MPSwitch.js +1 -0
  196. package/dist/components/switch/index.d.ts +2 -0
  197. package/dist/components/switch/index.js +1 -0
  198. package/dist/components/table/MPTable.d.ts +107 -0
  199. package/dist/components/table/MPTable.js +1 -0
  200. package/dist/components/table/index.d.ts +2 -0
  201. package/dist/components/table/index.js +1 -0
  202. package/dist/components/text-field/MPTextField.d.ts +17 -18
  203. package/dist/components/text-field/MPTextField.js +1 -1
  204. package/dist/components/text-link/MPTextLink.d.ts +88 -0
  205. package/dist/components/text-link/MPTextLink.js +1 -0
  206. package/dist/components/text-link/index.d.ts +2 -0
  207. package/dist/components/text-link/index.js +1 -0
  208. package/dist/components/time-picker/MPTimePicker.d.ts +108 -0
  209. package/dist/components/time-picker/MPTimePicker.js +1 -0
  210. package/dist/components/time-picker/index.d.ts +2 -0
  211. package/dist/components/time-picker/index.js +1 -0
  212. package/dist/components/timeline/MPTimeline.d.ts +96 -0
  213. package/dist/components/timeline/MPTimeline.js +1 -0
  214. package/dist/components/timeline/index.d.ts +2 -0
  215. package/dist/components/timeline/index.js +1 -0
  216. package/dist/components/tooltip/MPTooltip.d.ts +117 -0
  217. package/dist/components/tooltip/MPTooltip.js +1 -0
  218. package/dist/components/tooltip/index.d.ts +2 -0
  219. package/dist/components/tooltip/index.js +1 -0
  220. package/dist/components/typography/MPTypography.d.ts +94 -0
  221. package/dist/components/typography/MPTypography.js +1 -0
  222. package/dist/components/typography/index.d.ts +2 -0
  223. package/dist/components/typography/index.js +1 -0
  224. package/dist/constants/icons.d.ts +36 -0
  225. package/dist/constants/icons.js +1 -1
  226. package/dist/index.d.ts +55 -0
  227. package/dist/index.js +1 -1
  228. package/dist/internal/Calendar.d.ts +118 -0
  229. package/dist/internal/Calendar.js +1 -0
  230. package/dist/internal/FieldOutline.d.ts +38 -0
  231. package/dist/internal/FieldOutline.js +1 -0
  232. package/dist/internal/Picker.d.ts +110 -0
  233. package/dist/internal/Picker.js +1 -0
  234. package/dist/internal/StateLayer.d.ts +45 -0
  235. package/dist/internal/StateLayer.js +1 -0
  236. package/dist/internal/SupportingText.d.ts +23 -0
  237. package/dist/internal/SupportingText.js +1 -0
  238. package/dist/internal/WidthSizer.d.ts +31 -0
  239. package/dist/internal/WidthSizer.js +1 -0
  240. package/dist/internal/accent.d.ts +39 -0
  241. package/dist/internal/accent.js +1 -0
  242. package/dist/internal/button-group.d.ts +21 -0
  243. package/dist/internal/button-group.js +1 -0
  244. package/dist/internal/color.d.ts +125 -0
  245. package/dist/internal/color.js +1 -0
  246. package/dist/internal/date.d.ts +179 -0
  247. package/dist/internal/date.js +1 -0
  248. package/dist/internal/i18n.d.ts +131 -0
  249. package/dist/internal/i18n.js +1 -0
  250. package/dist/internal/locale.d.ts +43 -0
  251. package/dist/internal/locale.js +1 -0
  252. package/dist/internal/menu.d.ts +23 -0
  253. package/dist/internal/menu.js +1 -0
  254. package/dist/internal/progress.d.ts +126 -0
  255. package/dist/internal/progress.js +1 -0
  256. package/dist/internal/scale.d.ts +127 -0
  257. package/dist/internal/scale.js +1 -0
  258. package/dist/internal/surface.d.ts +76 -0
  259. package/dist/internal/surface.js +1 -0
  260. package/dist/internal/visually-hidden.d.ts +23 -0
  261. package/dist/internal/visually-hidden.js +1 -0
  262. package/dist/styles.css +1 -1
  263. package/dist/tailwind.css +1285 -20
  264. package/dist/types.d.ts +107 -16
  265. package/package.json +16 -21
package/dist/types.d.ts CHANGED
@@ -1,27 +1,118 @@
1
1
  /**
2
2
  * The prop vocabulary shared across Material Plus components.
3
3
  *
4
- * This library sits on top of Material UI rather than beside it, so the rule
5
- * here is the opposite of the usual one for a component library: **where MUI
6
- * already has a word, use MUI's word.** A `size` of `'small'`, a `color` of
7
- * `'primary'` and an `error` boolean mean on an `MP*` component exactly what
8
- * they mean on the `@mui/material` component next to it in the same form. A
9
- * second vocabulary would make a consumer translate between two libraries on
10
- * every line, which is the thing this package exists to avoid.
4
+ * This library implements the Material Design specification rather than wrapping
5
+ * somebody's implementation of it, so the rule is: **where the spec already has a
6
+ * word, use the spec's word.** A colour role is `primary` or `on-surface-variant`
7
+ * because that is what MD3 calls it, a corner is `extra-small`, a type role is
8
+ * `body-large`.
11
9
  *
12
- * What lives here is only what MUI has no word for.
10
+ * In particular they are *not* Material UI's words. MUI's palette is
11
+ * `main`/`light`/`dark`/`contrastText`, which is a different and earlier colour
12
+ * model; borrowing those names would describe a system this library does not
13
+ * implement. See `src/styles.css` for the token side of the same decision.
14
+ *
15
+ * What lives here is only what a component actually needs in its props.
13
16
  */
14
17
  import type * as React from 'react';
15
18
  /**
16
- * The size ladder for controls, spelled the way MUI spells it.
19
+ * The size ladder every control is drawn at.
20
+ *
21
+ * **This is the one place the library goes beyond the specification, knowingly.**
22
+ * Material defines a single size per component — a text field is 56dp, full
23
+ * stop — because it is describing a design system for whole products, where one
24
+ * height per control is the point. A component library gets used in places a
25
+ * design system does not plan for: a filter bar, a table's inline editor, a
26
+ * dense settings page, a marketing hero. Those need a ladder, and a consumer
27
+ * who cannot get one from the library builds it out of `!important`.
28
+ *
29
+ * So `md` **is** the spec's size, and the other four are ours. That is the whole
30
+ * rule, and it is why the ladder is centred rather than starting at the spec's
31
+ * value: `md` is what you get by saying nothing, and nobody has to know the
32
+ * scale exists to be given the Material size.
33
+ *
34
+ * `xs` and `xl` are deliberately at the edges of usable rather than merely
35
+ * smaller and larger — below `xs` a control stops meeting a 24px touch target,
36
+ * and there is no sixth step because a ladder long enough to need one is a sign
37
+ * the caller wants a custom control instead.
38
+ */
39
+ export type MPSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
40
+ /**
41
+ * An accent colour role.
42
+ *
43
+ * MD3's four, not Material UI's six: there is no `info`, `success` or `warning`
44
+ * in the specification's colour system, and offering them would promise roles the
45
+ * token sheet has no way to derive.
46
+ */
47
+ export type MPColor = 'primary' | 'secondary' | 'tertiary' | 'error';
48
+ /**
49
+ * How much of a surface a component paints.
50
+ *
51
+ * These are Material's own five button styles, in the order they get louder, and
52
+ * the vocabulary is deliberately shared with the components that are not buttons
53
+ * — a `filled` segmented button and a `filled` button are the same statement
54
+ * about emphasis, made by two different controls.
55
+ *
56
+ * `elevated` is the odd one: it is a *tonal* surface that also casts a shadow,
57
+ * and MD3 keeps it separate from `filled` precisely because a raised surface and
58
+ * a saturated one solve the same problem two different ways. A component that has
59
+ * no meaningful raised state simply does not offer it.
60
+ */
61
+ export type MPVariant = 'filled' | 'tonal' | 'elevated' | 'outlined' | 'text';
62
+ /** Which way a set of controls runs. */
63
+ export type MPOrientation = 'horizontal' | 'vertical';
64
+ /**
65
+ * Where something sits along an axis.
17
66
  *
18
- * Re-declared rather than imported from `@mui/material` on purpose: it is two
19
- * string literals, and importing it would put a type-only dependency on a
20
- * peer's internal module path in every component's declaration file.
67
+ * `start` and `end` rather than `left` and `right`, for the same reason the icon
68
+ * slots are `startIcon` and `endIcon`: the two words that name a physical side
69
+ * swap meaning under RTL, and a divider whose label was pinned `left` would move
70
+ * to the other end of the rule in Arabic without anybody asking it to.
21
71
  */
22
- export type MPSize = 'small' | 'medium';
23
- /** A palette role. The same six names `@mui/material` uses. */
24
- export type MPColor = 'primary' | 'secondary' | 'success' | 'error' | 'info' | 'warning';
72
+ export type MPAlign = 'start' | 'center' | 'end';
73
+ /**
74
+ * Which side of an anchor something is drawn on.
75
+ *
76
+ * These *are* physical sides, and deliberately so — this is the axis a popup
77
+ * travels along, and Base UI's positioner takes the same four words. A tooltip
78
+ * above its trigger is above it in every writing direction.
79
+ */
80
+ export type MPSide = 'top' | 'right' | 'bottom' | 'left';
81
+ /**
82
+ * Which corner of a box something is pinned to. Logical again: a badge sits at
83
+ * the reading-end corner, which is the left one under RTL.
84
+ */
85
+ export type MPCorner = 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end';
86
+ /**
87
+ * Which day a week is drawn as starting on. `0` is Sunday, the way `Date`
88
+ * counts.
89
+ *
90
+ * `Date`'s numbering rather than a nicer set of words, and rather than CLDR's —
91
+ * which counts Monday as 1 through Sunday as 7. Every calendar in this library
92
+ * is built out of `getDay()`, so a second numbering would be a conversion at
93
+ * every comparison, and an off-by-one there is a week drawn one column out.
94
+ *
95
+ * Left unset, a picker asks `Intl` what the locale does: Sunday in the US and
96
+ * Korea, Monday across most of Europe, Saturday in much of the Middle East.
97
+ */
98
+ export type MPWeekday = 0 | 1 | 2 | 3 | 4 | 5 | 6;
99
+ /**
100
+ * The axes most components share.
101
+ *
102
+ * A component extends this and adds only what is genuinely its own, which is what
103
+ * keeps `size="md"` meaning the same thing on every one of them. The rule for
104
+ * adding to this interface is the same as the rule for adding a token: an axis
105
+ * arrives when a second component needs it, not in anticipation of one.
106
+ */
107
+ export interface MPStyleProps {
108
+ /**
109
+ * The control's height and type scale.
110
+ * @default 'md'
111
+ */
112
+ size?: MPSize;
113
+ /** Stretches the control to the width of its container. */
114
+ fullWidth?: boolean;
115
+ }
25
116
  /**
26
117
  * The props a glyph component is handed when Material Plus renders one.
27
118
  *
@@ -47,7 +138,7 @@ export interface MPIconGlyphProps {
47
138
  * lets `MPIcon` pass a size and a colour *into* the glyph rather than trying
48
139
  * to style an element from the outside.
49
140
  * - **An element** — `<MPIcon icon={<svg>…</svg>} />`. A drawing of your own, a
50
- * `@mui/icons-material` glyph already constructed, an `<img>`. It is sized by
141
+ * glyph another set has already constructed, an `<img>`. It is sized by
51
142
  * the box it is laid into.
52
143
  *
53
144
  * Note that this is *not* `React.ReactNode`. A component and an element are
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "material-plus-ui",
3
- "version": "0.0.1",
4
- "description": "A React component library that extends Material UI — the components MUI does not ship, and wider versions of the ones it does. Built on @mui/material, Base UI and Tailwind CSS v4. ESM only, types included.",
3
+ "version": "1.0.0",
4
+ "description": "A React component library implementing Material Design 3 — the components other Material libraries do not ship, and wider versions of the ones they do. Built on Base UI and Tailwind CSS v4, themed with CSS custom properties so it can coexist with an existing Material setup. ESM only, types included.",
5
5
  "type": "module",
6
6
  "types": "dist/index.d.ts",
7
7
  "author": "CDGet <jooy2.contact@gmail.com>",
@@ -63,9 +63,9 @@
63
63
  "keywords": [
64
64
  "material-plus-ui",
65
65
  "material-plus",
66
- "material-ui",
67
- "mui",
68
- "mui-extensions",
66
+ "material-design",
67
+ "material-design-3",
68
+ "md3",
69
69
  "react",
70
70
  "reactjs",
71
71
  "react-components",
@@ -100,48 +100,43 @@
100
100
  ],
101
101
  "devDependencies": {
102
102
  "@base-ui/react": "^1.7.0",
103
- "@emotion/react": "^11.14.0",
104
- "@emotion/styled": "^11.14.1",
105
103
  "@eslint/js": "^9.39.1",
106
- "@mui/material": "^9.3.0",
107
104
  "@tailwindcss/postcss": "^4.3.3",
108
- "@types/node": "^26.1.2",
105
+ "@types/node": "^26.2.0",
109
106
  "@types/react": "^19.2.18",
110
107
  "@types/react-dom": "^19.2.4",
111
- "@typescript-eslint/parser": "^8.66.0",
108
+ "@typescript-eslint/parser": "^8.67.0",
112
109
  "@vitejs/plugin-react": "^6.0.5",
113
110
  "@vitest/browser": "^4.1.10",
114
111
  "@vitest/browser-playwright": "^4.1.10",
115
112
  "eslint": "^9.39.1",
116
113
  "eslint-config-prettier": "^10.1.8",
117
- "eslint-plugin-n": "^18.2.2",
118
- "globals": "^17.9.0",
114
+ "eslint-plugin-n": "^18.3.0",
115
+ "globals": "^17.10.0",
119
116
  "jiti": "^2.7.0",
120
117
  "playwright": "^1.62.1",
121
- "postcss": "^8.5.25",
118
+ "postcss": "^8.5.26",
122
119
  "prettier": "^3.9.6",
123
120
  "prettier-plugin-tailwindcss": "^0.8.1",
124
121
  "react": "^19.2.8",
125
122
  "react-dom": "^19.2.8",
126
123
  "tailwindcss": "^4.3.3",
127
124
  "terser-glob": "^1.2.1",
128
- "tsx": "^4.23.6",
125
+ "tsx": "^4.23.12",
129
126
  "typescript": "^6.0.3",
130
- "typescript-eslint": "^8.66.0",
131
- "vite": "^8.2.0",
127
+ "typescript-eslint": "^8.67.0",
128
+ "vite": "^8.2.1",
132
129
  "vitepress": "^1.6.4",
133
130
  "vitepress-i18n": "^1.3.5",
134
- "vitepress-sidebar": "^1.36.1",
131
+ "vitepress-sidebar": "^1.38.0",
135
132
  "vitest": "^4.1.10",
136
133
  "vitest-browser-react": "^2.2.0"
137
134
  },
138
135
  "dependencies": {
139
- "lucide-react": "^1.28.0"
136
+ "lucide-react": "^1.31.0"
140
137
  },
141
138
  "peerDependencies": {
142
- "@emotion/react": "^11.0.0",
143
- "@emotion/styled": "^11.0.0",
144
- "@mui/material": "^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0",
139
+ "@base-ui/react": "^1.7.0",
145
140
  "@types/react": "^18.0.0 || ^19.0.0",
146
141
  "react": "^18.0.0 || ^19.0.0",
147
142
  "react-dom": "^18.0.0 || ^19.0.0"