@clearstory/drywall-react 0.11.0 → 0.12.1

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 (213) hide show
  1. package/dist/{Accordion-Cih5mCWA.js → Accordion-fXAGdKxh.js} +9 -9
  2. package/dist/{AccordionActions-CZKFRLeD.js → AccordionActions-CoGiWNuQ.js} +4 -4
  3. package/dist/{AccordionDetails-CJX0wSGS.js → AccordionDetails-HGayr0F2.js} +5 -5
  4. package/dist/{AccordionSummary-CyBq5RDz.js → AccordionSummary-DX4WTYSW.js} +6 -6
  5. package/dist/AdapterDayjs-CnU1cne-.js +834 -0
  6. package/dist/{Alert-BeTk_0H1.js → Alert-C6Z7dTU_.js} +9 -9
  7. package/dist/{AlertTitle-CQOcedyw.js → AlertTitle-DFj7-w0p.js} +6 -6
  8. package/dist/{ArrowDropDown-O4JpwP7g.js → ArrowDropDown-DS4APPb2.js} +4 -4
  9. package/dist/{Autocomplete-Cy7Ibl9l.js → Autocomplete-C5Xb0wsA.js} +16 -15
  10. package/dist/{Avatar-CJG_wB8n.js → Avatar-Bng8Cnxy.js} +6 -6
  11. package/dist/{AvatarGroup-DuwcaWXO.js → AvatarGroup-Cxsp-59W.js} +6 -6
  12. package/dist/{Backdrop-Bgq-4GgZ.js → Backdrop-BpUXsGPz.js} +7 -7
  13. package/dist/{Badge-DCa5JieT.js → Badge-ogcHDQ_8.js} +5 -5
  14. package/dist/{Box-DfxM9AWa.js → Box-DYXm850y.js} +5 -5
  15. package/dist/{Breadcrumbs-Bf85QeMJ.js → Breadcrumbs-DwCUDSWZ.js} +8 -8
  16. package/dist/{Button-CgoTX2TU.js → Button-CBIipE5r.js} +8 -8
  17. package/dist/{ButtonBase-DCiJbdwe.js → ButtonBase-Cj6mp0m9.js} +10 -9
  18. package/dist/{ButtonGroup-UBMaUXnY.js → ButtonGroup-ecI1mkS5.js} +5 -5
  19. package/dist/{Card-Dq-P1pz6.js → Card-DlCgazif.js} +5 -5
  20. package/dist/{CardActionArea-DmdBq04-.js → CardActionArea-BD-6x7WU.js} +6 -6
  21. package/dist/{CardActions-C69Q7QKd.js → CardActions-D-df7k0Q.js} +4 -4
  22. package/dist/{CardContent-C5nTWSzs.js → CardContent-BDLgTd0I.js} +4 -4
  23. package/dist/{CardHeader-BwCBjPel.js → CardHeader-BD_bNuYS.js} +5 -5
  24. package/dist/{CardMedia-C6dO35VD.js → CardMedia-BPRZcX7g.js} +4 -4
  25. package/dist/{Checkbox-D5SnLWie.js → Checkbox-Big81eZp.js} +7 -7
  26. package/dist/{Chip-BMPA6GZV.js → Chip-R1NRj_BW.js} +7 -7
  27. package/dist/{CircularProgress-B8xCR_YK.js → CircularProgress-Cz8e1ft9.js} +6 -6
  28. package/dist/{Clear-CqNb0Dn5.js → Clear-DrL2Vlka.js} +1 -1
  29. package/dist/{Close-ComaZWzF.js → Close-C5bA6z6D.js} +1 -1
  30. package/dist/{CssBaseline-BKowmfAC.js → CssBaseline-CNSZg5_k.js} +3 -3
  31. package/dist/Datepicker-hYnbz9fI.js +10570 -0
  32. package/dist/{DefaultPropsProvider-Beomajhe.js → DefaultPropsProvider-B8He4J5K.js} +1 -1
  33. package/dist/{DefaultPropsProvider-Bz3RqgcW.js → DefaultPropsProvider-DF9yx5s6.js} +2 -2
  34. package/dist/{Dialog-CdqDM9xt.js → Dialog-DYlLtC3W.js} +9 -9
  35. package/dist/{DialogActions-DWv9dV9d.js → DialogActions-RqQv7LX4.js} +4 -4
  36. package/dist/{DialogContent-DTUuT4-m.js → DialogContent-l_yrJdQW.js} +6 -6
  37. package/dist/{DialogContentText-Dco20Lvw.js → DialogContentText-BUYE4_Uj.js} +5 -5
  38. package/dist/{DialogTitle-AeunzDgb.js → DialogTitle-abTE1OTY.js} +5 -5
  39. package/dist/{Divider-DWpOVS52.js → Divider-CO_Ym5we.js} +5 -5
  40. package/dist/{Drawer-CiSmLkR8.js → Drawer-0iQxhgRJ.js} +12 -12
  41. package/dist/{FormControl-B7JL8EuG.js → FormControl-BM5OdpTU.js} +4 -4
  42. package/dist/{FormControlLabel-DesDT37a.js → FormControlLabel-BloqvI-k.js} +7 -7
  43. package/dist/{FormGroup-JwhVUQCA.js → FormGroup-CMAUiuMq.js} +4 -4
  44. package/dist/{FormHelperText-BhkQ5_hB.js → FormHelperText-0PXol-Jc.js} +5 -5
  45. package/dist/{FormLabel-PC7aAn3t.js → FormLabel-DgEEDp0y.js} +5 -5
  46. package/dist/{GlobalStyles-BSzzpdnX.js → GlobalStyles-9z-FTixV.js} +4 -4
  47. package/dist/{Grow-BtxpW1dC.js → Grow-QMqf-HA0.js} +4 -4
  48. package/dist/{IconButton-Cu1bCs6U.js → IconButton-CI-kr5x1.js} +7 -7
  49. package/dist/{Info-BYC5DFVn.js → Info-0laCo4Av.js} +1 -1
  50. package/dist/{InputAdornment-CzwVRVQa.js → InputAdornment-C6H4JnJd.js} +6 -6
  51. package/dist/{Input-DQrOd2UB.js → InputBase-y6U3DCqy.js} +193 -222
  52. package/dist/{LinearProgress-BEzKf95q.js → LinearProgress-LhseZT9O.js} +7 -7
  53. package/dist/{Link-Cu8Vv81I.js → Link-vr84jAa5.js} +8 -8
  54. package/dist/{List-DEcL1ZIH.js → List-lnWXxrrd.js} +4 -4
  55. package/dist/{ListItem-lqQfZlib.js → ListItem-CRNYIfYC.js} +7 -7
  56. package/dist/{ListItemAvatar-5x2VAuVt.js → ListItemAvatar-adFO_G9D.js} +4 -4
  57. package/dist/{ListItemButton-BIfAZMKH.js → ListItemButton-ME-IaSg2.js} +6 -6
  58. package/dist/{ListItemIcon-DyzHrrZ1.js → ListItemIcon-xIc3HSTa.js} +5 -5
  59. package/dist/{ListItemText-N6tIRVu7.js → ListItemText-BRA7QfON.js} +5 -5
  60. package/dist/{ListSubheader-8yBF27fw.js → ListSubheader-BJJtjInL.js} +5 -5
  61. package/dist/{Menu-DRHRxgXM.js → Menu-DUni07yQ.js} +12 -12
  62. package/dist/{MenuItem-CZZ8Q03L.js → MenuItem-DZQ0ktl-.js} +9 -9
  63. package/dist/{MenuList-BuMX30Nu.js → MenuList-DxFeHUh_.js} +2 -2
  64. package/dist/{Modal-CvPRZ9ia.js → Modal-BBdU8JBN.js} +9 -8
  65. package/dist/{Paper-C__CjfAR.js → Paper-CHvWQDgP.js} +6 -6
  66. package/dist/{Popper-DarIdO5_.js → Popper-CdrAj4m9.js} +7 -7
  67. package/dist/{Portal-BXbCjN4B.js → Portal-BibBHMIY.js} +1 -1
  68. package/dist/{Radio-a-_byMf2.js → Radio-CL64EEI9.js} +8 -8
  69. package/dist/{RadioGroup-D3j4stGh.js → RadioGroup-BAIi4C3x.js} +3 -3
  70. package/dist/{Select-D4_Tfb3v.js → Select-J3Qqg8xD.js} +196 -201
  71. package/dist/SelectControl-BRTxQ0py.js +323 -0
  72. package/dist/{Skeleton-CPIYLtjM.js → Skeleton-Bu-CMYIV.js} +6 -6
  73. package/dist/{Snackbar-DrJUYY3q.js → Snackbar-Cx61EfFI.js} +9 -9
  74. package/dist/{SvgIcon-DnWxuDIh.js → SvgIcon-Cq9MIwY2.js} +5 -5
  75. package/dist/{Switch-Y_O2PXuD.js → Switch-CbK8ENSH.js} +7 -7
  76. package/dist/{SwitchBase-DLZfokgs.js → SwitchBase-yk15hniu.js} +5 -5
  77. package/dist/{Tab-CkO6g07h.js → Tab-DSRhfYfs.js} +6 -6
  78. package/dist/{Tabs-BEojaum9.js → Tabs-DwEH6lMn.js} +10 -10
  79. package/dist/{ThemeProviderWithVars-BAdUW-CW.js → ThemeProviderWithVars-Ci35_8LL.js} +6 -6
  80. package/dist/{Toolbar-BVNIzEmz.js → Toolbar-DfvijuBL.js} +5 -5
  81. package/dist/{Tooltip-8sUPKn9t.js → Tooltip-CwonMYRh.js} +10 -10
  82. package/dist/{Typography-DPGyy9yl.js → Typography-BINECQ8C.js} +6 -6
  83. package/dist/{WarningAmberOutlined-75H0G63B.js → WarningAmberOutlined-Dyg4nXwL.js} +1 -1
  84. package/dist/{ZoomOut-Cd5BQiWB.js → ZoomOut-BVmCowo0.js} +1 -1
  85. package/dist/components/Accordion/index.js +1 -1
  86. package/dist/components/AccordionActions/index.js +1 -1
  87. package/dist/components/AccordionDetails/index.js +1 -1
  88. package/dist/components/AccordionSummary/index.js +1 -1
  89. package/dist/components/Alert/index.js +1 -1
  90. package/dist/components/AlertTitle/index.js +1 -1
  91. package/dist/components/Autocomplete/Autocomplete.js +3 -3
  92. package/dist/components/Autocomplete/index.js +1 -1
  93. package/dist/components/AutocompleteControl/AutocompleteControl.js +12 -11
  94. package/dist/components/AutocompleteControl/index.js +1 -1
  95. package/dist/components/Avatar/index.js +1 -1
  96. package/dist/components/AvatarGroup/index.js +1 -1
  97. package/dist/components/Backdrop/index.js +1 -1
  98. package/dist/components/Badge/index.js +1 -1
  99. package/dist/components/Box/index.js +1 -1
  100. package/dist/components/Breadcrumbs/index.js +1 -1
  101. package/dist/components/Button/index.js +1 -1
  102. package/dist/components/ButtonGroup/index.js +1 -1
  103. package/dist/components/Card/index.js +1 -1
  104. package/dist/components/CardActionArea/index.js +1 -1
  105. package/dist/components/CardActions/index.js +1 -1
  106. package/dist/components/CardContent/index.js +1 -1
  107. package/dist/components/CardHeader/index.js +1 -1
  108. package/dist/components/CardMedia/index.js +1 -1
  109. package/dist/components/Checkbox/index.js +1 -1
  110. package/dist/components/Chip/index.js +1 -1
  111. package/dist/components/CircularProgress/index.js +1 -1
  112. package/dist/components/Container/index.js +1 -1
  113. package/dist/components/CssBaseline/index.js +1 -1
  114. package/dist/components/Datepicker/Datepicker.d.ts +8 -0
  115. package/dist/components/Datepicker/Datepicker.js +10 -0
  116. package/dist/components/Datepicker/index.d.ts +5 -0
  117. package/dist/components/Datepicker/index.js +12 -0
  118. package/dist/components/DatepickerControl/DatepickerControl.d.ts +38 -0
  119. package/dist/components/DatepickerControl/DatepickerControl.js +25 -0
  120. package/dist/components/DatepickerControl/index.d.ts +2 -0
  121. package/dist/components/DatepickerControl/index.js +4 -0
  122. package/dist/components/Dialog/index.js +1 -1
  123. package/dist/components/DialogActions/index.js +1 -1
  124. package/dist/components/DialogContent/index.js +1 -1
  125. package/dist/components/DialogContentText/index.js +1 -1
  126. package/dist/components/DialogTitle/index.js +2 -2
  127. package/dist/components/Divider/index.js +2 -2
  128. package/dist/components/Drawer/index.js +1 -1
  129. package/dist/components/FormControl/index.js +1 -1
  130. package/dist/components/FormControlLabel/index.js +1 -1
  131. package/dist/components/FormGroup/index.js +1 -1
  132. package/dist/components/FormHelperText/index.js +1 -1
  133. package/dist/components/FormLabel/index.js +1 -1
  134. package/dist/components/FormSublabel/FormSublabel.js +8 -7
  135. package/dist/components/FormSublabel/index.js +1 -1
  136. package/dist/components/IconButton/index.js +1 -1
  137. package/dist/components/Input/Input.js +32 -5
  138. package/dist/components/Input/index.js +1 -1
  139. package/dist/components/InputAdornment/index.js +1 -1
  140. package/dist/components/InputControl/InputControl.js +12 -11
  141. package/dist/components/InputControl/index.js +1 -1
  142. package/dist/components/LinearProgress/index.js +1 -1
  143. package/dist/components/Link/index.js +1 -1
  144. package/dist/components/List/index.js +1 -1
  145. package/dist/components/ListItem/index.js +1 -1
  146. package/dist/components/ListItemAvatar/index.js +1 -1
  147. package/dist/components/ListItemButton/index.js +2 -2
  148. package/dist/components/ListItemIcon/index.js +2 -2
  149. package/dist/components/ListItemText/index.js +2 -2
  150. package/dist/components/ListSubheader/index.js +1 -1
  151. package/dist/components/Menu/index.js +1 -1
  152. package/dist/components/MenuItem/index.js +1 -1
  153. package/dist/components/MenuList/index.js +1 -1
  154. package/dist/components/Paper/index.js +1 -1
  155. package/dist/components/Radio/index.js +1 -1
  156. package/dist/components/RadioGroup/index.js +1 -1
  157. package/dist/components/Select/Select.js +12 -5
  158. package/dist/components/Select/index.js +5 -4
  159. package/dist/components/SelectControl/SelectControl.js +12 -11
  160. package/dist/components/SelectControl/index.js +1 -1
  161. package/dist/components/Skeleton/index.js +1 -1
  162. package/dist/components/Snackbar/index.js +1 -1
  163. package/dist/components/Stack/index.js +1 -1
  164. package/dist/components/SvgIcon/index.js +1 -1
  165. package/dist/components/Switch/index.js +1 -1
  166. package/dist/components/Tab/index.js +1 -1
  167. package/dist/components/Tabs/index.js +1 -1
  168. package/dist/components/ThemeProvider/ThemeProvider.js +2 -2
  169. package/dist/components/ToastContainer/ToastContainer.js +1 -1
  170. package/dist/components/ToastContainer/useToast.js +4 -4
  171. package/dist/components/Toolbar/index.js +1 -1
  172. package/dist/components/Tooltip/index.js +1 -1
  173. package/dist/components/Typography/index.js +1 -1
  174. package/dist/{containerClasses-9MgW-eDQ.js → containerClasses-CT9sR6lc.js} +10 -9
  175. package/dist/{createSvgIcon-B6lLJ6SQ.js → createSvgIcon-Ca4QKiPt.js} +1 -1
  176. package/dist/{createTheme-ClKgUYqI.js → createTheme-BX9lNtXz.js} +3 -2
  177. package/dist/defaultTheme-B0P968dJ.js +5 -0
  178. package/dist/{dialogTitleClasses-C0b2NPYf.js → dialogTitleClasses-CPNrppw9.js} +2 -2
  179. package/dist/{dividerClasses-S6hIlqSw.js → dividerClasses-6DAvh6rg.js} +2 -2
  180. package/dist/{elementAcceptingRef-FI2fQ839.js → elementAcceptingRef-CkL3Ly_7.js} +1 -1
  181. package/dist/{elementTypeAcceptingRef-xtWcjb-H.js → elementTypeAcceptingRef-BTEc9s5I.js} +1 -1
  182. package/dist/{emotion-react.browser.esm-BjB7nKpZ.js → emotion-react.browser.esm-D2YsKX2f.js} +6 -6
  183. package/dist/{extendSxProp-Dm0QGK7k.js → extendSxProp-DXn0AsAr.js} +1 -1
  184. package/dist/{generateUtilityClasses-rljrgfNm.js → generateUtilityClasses-B6l3Ncbw.js} +1 -1
  185. package/dist/{getThemeProps-CCAJ-g7Y.js → getThemeProps-eyNYXfWA.js} +1 -1
  186. package/dist/icons/ClearstoryIcon.js +1 -1
  187. package/dist/icons/MoneyBucketIcon.js +1 -1
  188. package/dist/icons/MoreCircleOutlineIcon.js +1 -1
  189. package/dist/icons/index.js +4 -4
  190. package/dist/{index-DsW7ANTQ.js → index-C-Spcjiu.js} +1 -1
  191. package/dist/{index-BN81QKuS.js → index-C1s1at1H.js} +5 -5
  192. package/dist/index-DC9AZTxr.js +79 -0
  193. package/dist/{index-BlCNRXSk.js → index-DNMo5Nra.js} +3 -3
  194. package/dist/{listItemButtonClasses-CXaJB1sX.js → listItemButtonClasses-Dl8z2bFF.js} +2 -2
  195. package/dist/{listItemIconClasses-DWsqk-RI.js → listItemIconClasses-CIriVfIB.js} +2 -2
  196. package/dist/{listItemTextClasses-D6MIiKuu.js → listItemTextClasses-BPKVctLb.js} +2 -2
  197. package/dist/main.d.ts +2 -0
  198. package/dist/main.js +346 -334
  199. package/dist/{memoTheme-CAyAl_br.js → memoTheme-8-5VfoOA.js} +1 -1
  200. package/dist/{refType-BThyJhbZ.js → refType-D0Xe0JaC.js} +1 -1
  201. package/dist/{stackClasses-ar_uEgY1.js → stackClasses-CTQIXOMm.js} +11 -10
  202. package/dist/styled--QvesojM.js +5 -0
  203. package/dist/{styled-Dc7N_6Ot.js → styled-CQZHSS-5.js} +25 -24
  204. package/dist/theme/index.js +59 -132
  205. package/dist/theme/internal.js +1 -1
  206. package/dist/{useTheme-CtzJwniR.js → useTheme-CdIZVlS8.js} +3 -3
  207. package/dist/{useTheme-B3mEBCfZ.js → useTheme-v44oTsqt.js} +2 -2
  208. package/dist/useThemeProps-BXxu8030.js +18 -0
  209. package/dist/{utils-CSpgf_MW.js → utils-CYwnlZ9i.js} +9 -9
  210. package/package.json +9 -5
  211. package/dist/SelectControl-C27kiG31.js +0 -225
  212. package/dist/defaultTheme-BCpI3G0-.js +0 -5
  213. package/dist/useThemeProps-BgF3CPen.js +0 -21
@@ -1,4 +1,4 @@
1
- import { p as s } from "./styled-Dc7N_6Ot.js";
1
+ import { p as s } from "./styled-CQZHSS-5.js";
2
2
  const l = {
3
3
  theme: void 0
4
4
  };
@@ -1,4 +1,4 @@
1
- import { P as e } from "./createTheme-ClKgUYqI.js";
1
+ import { P as e } from "./createTheme-BX9lNtXz.js";
2
2
  const p = e.oneOfType([e.func, e.object]);
3
3
  export {
4
4
  p as r
@@ -1,19 +1,20 @@
1
- import { P as e, n as O, o as m, p as S, q as V, s as D, c as N, m as E, t as b } from "./createTheme-ClKgUYqI.js";
2
- import { s as F } from "./styled-Dc7N_6Ot.js";
1
+ import { P as e, n as O, o as m, p as S, q as V, s as D, c as N, m as E, t as b } from "./createTheme-BX9lNtXz.js";
2
+ import { s as F } from "./styled-CQZHSS-5.js";
3
3
  import * as f from "react";
4
4
  import { c as M } from "./clsx-OuTLNxxd.js";
5
5
  import { jsx as R } from "react/jsx-runtime";
6
- import { s as B, u as w } from "./useThemeProps-BgF3CPen.js";
7
- import { e as G } from "./extendSxProp-Dm0QGK7k.js";
6
+ import { s as B } from "./styled--QvesojM.js";
7
+ import { e as w } from "./extendSxProp-DXn0AsAr.js";
8
+ import { u as G } from "./useThemeProps-BXxu8030.js";
8
9
  import { c as U } from "./composeClasses-2Ou-RZJr.js";
9
- import { u as $ } from "./DefaultPropsProvider-Bz3RqgcW.js";
10
- import { g as A } from "./generateUtilityClasses-rljrgfNm.js";
10
+ import { u as $ } from "./DefaultPropsProvider-DF9yx5s6.js";
11
+ import { g as A } from "./generateUtilityClasses-B6l3Ncbw.js";
11
12
  const _ = E(), q = B("div", {
12
13
  name: "MuiStack",
13
14
  slot: "Root"
14
15
  });
15
16
  function I(o) {
16
- return w({
17
+ return G({
17
18
  props: o,
18
19
  name: "MuiStack",
19
20
  defaultTheme: _
@@ -85,7 +86,7 @@ function J(o = {}) {
85
86
  } = o, i = () => U({
86
87
  root: ["root"]
87
88
  }, (r) => N(a, r), {}), s = t(H), l = /* @__PURE__ */ f.forwardRef(function(r, n) {
88
- const p = c(r), y = G(p), {
89
+ const p = c(r), y = w(p), {
89
90
  component: u = "div",
90
91
  direction: T = "column",
91
92
  spacing: k = 0,
@@ -170,8 +171,8 @@ process.env.NODE_ENV !== "production" && (K.propTypes = {
170
171
  */
171
172
  useFlexGap: e.bool
172
173
  });
173
- const ne = A("MuiStack", ["root"]);
174
+ const te = A("MuiStack", ["root"]);
174
175
  export {
175
176
  K as S,
176
- ne as s
177
+ te as s
177
178
  };
@@ -0,0 +1,5 @@
1
+ import { c as t } from "./styled-CQZHSS-5.js";
2
+ const s = t();
3
+ export {
4
+ s
5
+ };
@@ -1,6 +1,6 @@
1
- import { d as N } from "./defaultTheme-BCpI3G0-.js";
2
- import { i as S, f as q, s as G, T as J } from "./index-BlCNRXSk.js";
3
- import { r as L, m as Q, u as b, i as U, j as X } from "./createTheme-ClKgUYqI.js";
1
+ import { d as N } from "./defaultTheme-B0P968dJ.js";
2
+ import { i as S, f as q, s as G, T as J } from "./index-DNMo5Nra.js";
3
+ import { r as E, m as Q, u as L, i as U, j as X } from "./createTheme-BX9lNtXz.js";
4
4
  function k(e, n = "") {
5
5
  return e.displayName || e.name || n;
6
6
  }
@@ -16,9 +16,9 @@ function Y(e) {
16
16
  return k(e, "Component");
17
17
  if (typeof e == "object")
18
18
  switch (e.$$typeof) {
19
- case L.ForwardRef:
19
+ case E.ForwardRef:
20
20
  return V(e, e.render, "ForwardRef");
21
- case L.Memo:
21
+ case E.Memo:
22
22
  return V(e, e.type, "memo");
23
23
  default:
24
24
  return;
@@ -104,26 +104,26 @@ function ne(e = {}) {
104
104
  te(i, n, t);
105
105
  }
106
106
  return (i, I = {}) => {
107
- q(i, (u) => u.filter((f) => f !== b));
107
+ q(i, (u) => u.filter((f) => f !== L));
108
108
  const {
109
109
  name: y,
110
- slot: a,
110
+ slot: l,
111
111
  skipVariantsResolver: A,
112
112
  skipSx: M,
113
113
  // TODO v6: remove `lowercaseFirstLetter()` in the next major release
114
114
  // For more details: https://github.com/mui/material-ui/pull/37908
115
- overridesResolver: O = ee(D(a)),
115
+ overridesResolver: O = ee(D(l)),
116
116
  ...H
117
- } = I, T = y && y.startsWith("Mui") || a ? "components" : "custom", W = A !== void 0 ? A : (
117
+ } = I, T = y && y.startsWith("Mui") || l ? "components" : "custom", W = A !== void 0 ? A : (
118
118
  // TODO v6: remove `Root` in the next major release
119
119
  // For more details: https://github.com/mui/material-ui/pull/37908
120
- a && a !== "Root" && a !== "root" || !1
120
+ l && l !== "Root" && l !== "root" || !1
121
121
  ), C = M || !1;
122
122
  let v = $;
123
- a === "Root" || a === "root" ? v = r : a ? v = s : ie(i) && (v = void 0);
123
+ l === "Root" || l === "root" ? v = r : l ? v = s : ie(i) && (v = void 0);
124
124
  const x = G(i, {
125
125
  shouldForwardProp: v,
126
- label: se(y, a),
126
+ label: se(y, l),
127
127
  ...H
128
128
  }), B = (u) => {
129
129
  if (u.__emotion_real === u)
@@ -141,24 +141,24 @@ function ne(e = {}) {
141
141
  return u;
142
142
  }, g = (...u) => {
143
143
  const f = [], h = u.map(B), d = [];
144
- if (f.push(w), y && O && d.push(function(l) {
145
- const c = l.theme.components?.[y]?.styleOverrides;
144
+ if (f.push(w), y && O && d.push(function(a) {
145
+ const c = a.theme.components?.[y]?.styleOverrides;
146
146
  if (!c)
147
147
  return null;
148
148
  const _ = {};
149
- for (const E in c)
150
- _[E] = P(l, c[E], l.theme.modularCssLayers ? "theme" : void 0);
151
- return O(l, _);
152
- }), y && !W && d.push(function(l) {
153
- const c = l.theme?.components?.[y]?.variants;
154
- return c ? j(l, c, [], l.theme.modularCssLayers ? "theme" : void 0) : null;
155
- }), C || d.push(b), Array.isArray(h[0])) {
156
- const p = h.shift(), l = new Array(f.length).fill(""), F = new Array(d.length).fill("");
149
+ for (const b in c)
150
+ _[b] = P(a, c[b], a.theme.modularCssLayers ? "theme" : void 0);
151
+ return O(a, _);
152
+ }), y && !W && d.push(function(a) {
153
+ const c = a.theme?.components?.[y]?.variants;
154
+ return c ? j(a, c, [], a.theme.modularCssLayers ? "theme" : void 0) : null;
155
+ }), C || d.push(L), Array.isArray(h[0])) {
156
+ const p = h.shift(), a = new Array(f.length).fill(""), F = new Array(d.length).fill("");
157
157
  let c;
158
- c = [...l, ...p, ...F], c.raw = [...l, ...p.raw, ...F], f.unshift(c);
158
+ c = [...a, ...p, ...F], c.raw = [...a, ...p.raw, ...F], f.unshift(c);
159
159
  }
160
160
  const K = [...f, ...h, ...d], R = x(...K);
161
- return i.muiName && (R.muiName = i.muiName), process.env.NODE_ENV !== "production" && (R.displayName = re(y, a, i)), R;
161
+ return i.muiName && (R.muiName = i.muiName), process.env.NODE_ENV !== "production" && (R.displayName = re(y, l, i)), R;
162
162
  };
163
163
  return x.withConfig && (g.withConfig = x.withConfig), g;
164
164
  };
@@ -194,6 +194,7 @@ const fe = (e) => ue(e) && e !== "classes", de = ne({
194
194
  });
195
195
  export {
196
196
  ue as a,
197
+ $ as b,
197
198
  ne as c,
198
199
  Z as p,
199
200
  fe as r,
@@ -1,17 +1,15 @@
1
- import { P as l, C as E } from "../createTheme-ClKgUYqI.js";
2
- import { a as F, d as G, e as H, g as K, b as W, l as B } from "../createTheme-ClKgUYqI.js";
3
- import { s as X } from "../styled-Dc7N_6Ot.js";
4
- import * as m from "react";
5
- import { C as S, e as b, S as M, T as C } from "../index-BlCNRXSk.js";
6
- import { jsx as w } from "react/jsx-runtime";
7
- import { u as q } from "../useTheme-CtzJwniR.js";
8
- import { a as x } from "../useTheme-B3mEBCfZ.js";
9
- import { g as P } from "../getThemeProps-CCAJ-g7Y.js";
10
- import { u as Q } from "../useEnhancedEffect-CJGo-L3B.js";
11
- import { u as te } from "../ThemeProviderWithVars-BAdUW-CW.js";
12
- const h = /* @__PURE__ */ new Map(), T = (n, r) => {
13
- const e = b(n);
14
- return e.sheet = new r({
1
+ import { P as c, C as u } from "../createTheme-BX9lNtXz.js";
2
+ import { a as v, d as M, e as E, g as j, b as $, l as w } from "../createTheme-BX9lNtXz.js";
3
+ import { s as T } from "../styled-CQZHSS-5.js";
4
+ import * as h from "react";
5
+ import { C as m, c as d, S as l } from "../index-DNMo5Nra.js";
6
+ import { jsx as y } from "react/jsx-runtime";
7
+ import { u as A } from "../useTheme-CdIZVlS8.js";
8
+ import { u as L } from "../index-DC9AZTxr.js";
9
+ import { u as z } from "../ThemeProviderWithVars-Ci35_8LL.js";
10
+ const p = /* @__PURE__ */ new Map(), f = (t, o) => {
11
+ const e = d(t);
12
+ return e.sheet = new o({
15
13
  key: e.key,
16
14
  nonce: e.sheet.nonce,
17
15
  container: e.sheet.container,
@@ -20,148 +18,77 @@ const h = /* @__PURE__ */ new Map(), T = (n, r) => {
20
18
  insertionPoint: e.sheet.insertionPoint
21
19
  }), e;
22
20
  };
23
- let c;
24
- if (typeof document == "object" && (c = document.querySelector('[name="emotion-insertion-point"]'), !c)) {
25
- c = document.createElement("meta"), c.setAttribute("name", "emotion-insertion-point"), c.setAttribute("content", "");
26
- const n = document.querySelector("head");
27
- n && n.prepend(c);
21
+ let r;
22
+ if (typeof document == "object" && (r = document.querySelector('[name="emotion-insertion-point"]'), !r)) {
23
+ r = document.createElement("meta"), r.setAttribute("name", "emotion-insertion-point"), r.setAttribute("content", "");
24
+ const t = document.querySelector("head");
25
+ t && t.prepend(r);
28
26
  }
29
- function k(n, r) {
30
- if (n || r) {
31
- class e extends M {
32
- insert(t, i) {
33
- return this.key && this.key.endsWith("global") && (this.before = c), super.insert(t, i);
27
+ function C(t, o) {
28
+ if (t || o) {
29
+ class e extends l {
30
+ insert(n, a) {
31
+ return this.key && this.key.endsWith("global") && (this.before = r), super.insert(n, a);
34
32
  }
35
33
  }
36
- const o = T({
34
+ const s = f({
37
35
  key: "css",
38
- insertionPoint: n ? c : void 0
36
+ insertionPoint: t ? r : void 0
39
37
  }, e);
40
- if (r) {
41
- const s = o.insert;
42
- o.insert = (...t) => (t[1].styles.match(/^@layer\s+[^{]*$/) || (t[1].styles = `@layer mui {${t[1].styles}}`), s(...t));
38
+ if (o) {
39
+ const i = s.insert;
40
+ s.insert = (...n) => (n[1].styles.match(/^@layer\s+[^{]*$/) || (n[1].styles = `@layer mui {${n[1].styles}}`), i(...n));
43
41
  }
44
- return o;
42
+ return s;
45
43
  }
46
44
  }
47
- function L(n) {
45
+ function b(t) {
48
46
  const {
49
- injectFirst: r,
47
+ injectFirst: o,
50
48
  enableCssLayer: e,
51
- children: o
52
- } = n, s = m.useMemo(() => {
53
- const t = `${r}-${e}`;
54
- if (typeof document == "object" && h.has(t))
55
- return h.get(t);
56
- const i = k(r, e);
57
- return h.set(t, i), i;
58
- }, [r, e]);
59
- return s ? /* @__PURE__ */ w(S, {
60
- value: s,
61
- children: o
62
- }) : o;
49
+ children: s
50
+ } = t, i = h.useMemo(() => {
51
+ const n = `${o}-${e}`;
52
+ if (typeof document == "object" && p.has(n))
53
+ return p.get(n);
54
+ const a = C(o, e);
55
+ return p.set(n, a), a;
56
+ }, [o, e]);
57
+ return i ? /* @__PURE__ */ y(m, {
58
+ value: i,
59
+ children: s
60
+ }) : s;
63
61
  }
64
- process.env.NODE_ENV !== "production" && (L.propTypes = {
62
+ process.env.NODE_ENV !== "production" && (b.propTypes = {
65
63
  /**
66
64
  * Your component tree.
67
65
  */
68
- children: l.node,
66
+ children: c.node,
69
67
  /**
70
68
  * If `true`, the styles are wrapped in `@layer mui`.
71
69
  * Learn more about [Cascade layers](https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Styling_basics/Cascade_layers).
72
70
  */
73
- enableCssLayer: l.bool,
71
+ enableCssLayer: c.bool,
74
72
  /**
75
73
  * By default, the styles are injected last in the <head> element of the page.
76
74
  * As a result, they gain more specificity than any other style sheet.
77
75
  * If you want to override MUI's styles, set this prop.
78
76
  */
79
- injectFirst: l.bool
77
+ injectFirst: c.bool
80
78
  });
81
- function N(n, r, e, o, s) {
82
- const [t, i] = m.useState(() => s && e ? e(n).matches : o ? o(n).matches : r);
83
- return Q(() => {
84
- if (!e)
85
- return;
86
- const u = e(n), d = () => {
87
- i(u.matches);
88
- };
89
- return d(), u.addEventListener("change", d), () => {
90
- u.removeEventListener("change", d);
91
- };
92
- }, [n, e]), t;
93
- }
94
- const D = {
95
- ...m
96
- }, v = D.useSyncExternalStore;
97
- function j(n, r, e, o, s) {
98
- const t = m.useCallback(() => r, [r]), i = m.useMemo(() => {
99
- if (s && e)
100
- return () => e(n).matches;
101
- if (o !== null) {
102
- const {
103
- matches: p
104
- } = o(n);
105
- return () => p;
106
- }
107
- return t;
108
- }, [t, n, o, s, e]), [u, d] = m.useMemo(() => {
109
- if (e === null)
110
- return [t, () => () => {
111
- }];
112
- const p = e(n);
113
- return [() => p.matches, (a) => (p.addEventListener("change", a), () => {
114
- p.removeEventListener("change", a);
115
- })];
116
- }, [t, e, n]);
117
- return v(d, u, i);
118
- }
119
- function g(n = {}) {
120
- const {
121
- themeId: r
122
- } = n;
123
- return function(o, s = {}) {
124
- let t = x();
125
- t && r && (t = t[r] || t);
126
- const i = typeof window < "u" && typeof window.matchMedia < "u", {
127
- defaultMatches: u = !1,
128
- matchMedia: d = i ? window.matchMedia : null,
129
- ssrMatchMedia: f = null,
130
- noSsr: p = !1
131
- } = P({
132
- name: "MuiUseMediaQuery",
133
- props: s,
134
- theme: t
135
- });
136
- process.env.NODE_ENV !== "production" && typeof o == "function" && t === null && console.error(["MUI: The `query` argument provided is invalid.", "You are providing a function without a theme in the context.", "One of the parent elements needs to use a ThemeProvider."].join(`
137
- `));
138
- let a = typeof o == "function" ? o(t) : o;
139
- a = a.replace(/^@media( ?)/m, ""), a.includes("print") && console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.", "Using the print media query to modify print styles can lead to unexpected results.", "Consider using the `displayPrint` field in the `sx` prop instead.", "More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(`
140
- `));
141
- const y = (v !== void 0 ? j : N)(a, u, d, f, p);
142
- return process.env.NODE_ENV !== "production" && m.useDebugValue({
143
- query: a,
144
- match: y
145
- }), y;
146
- };
147
- }
148
- g();
149
- const A = g({
150
- themeId: C
151
- });
152
- E.configure(
153
- (n) => n.replace("Mui", "Drywall")
79
+ u.configure(
80
+ (t) => t.replace("Mui", "Drywall")
154
81
  );
155
82
  export {
156
- L as StyledEngineProvider,
157
- F as alpha,
158
- G as darken,
159
- H as emphasize,
160
- K as getContrastRatio,
161
- W as getLuminance,
162
- B as lighten,
163
- X as styled,
164
- te as useColorScheme,
165
- A as useMediaQuery,
166
- q as useTheme
83
+ b as StyledEngineProvider,
84
+ v as alpha,
85
+ M as darken,
86
+ E as emphasize,
87
+ j as getContrastRatio,
88
+ $ as getLuminance,
89
+ w as lighten,
90
+ T as styled,
91
+ z as useColorScheme,
92
+ L as useMediaQuery,
93
+ A as useTheme
167
94
  };
@@ -1,7 +1,7 @@
1
1
  import { colorSchemes as o } from "./colorSchemes.js";
2
2
  import { components as r } from "./components.js";
3
3
  import { typography as e } from "./typography.js";
4
- import { f as m } from "../createTheme-ClKgUYqI.js";
4
+ import { f as m } from "../createTheme-BX9lNtXz.js";
5
5
  const l = m({
6
6
  colorSchemes: o,
7
7
  components: r,
@@ -1,7 +1,7 @@
1
1
  import * as o from "react";
2
- import { d as r } from "./defaultTheme-BCpI3G0-.js";
3
- import { T as m } from "./index-BlCNRXSk.js";
4
- import { u as t } from "./useTheme-B3mEBCfZ.js";
2
+ import { d as r } from "./defaultTheme-B0P968dJ.js";
3
+ import { T as m } from "./index-DNMo5Nra.js";
4
+ import { u as t } from "./useTheme-v44oTsqt.js";
5
5
  function f() {
6
6
  const e = t(r);
7
7
  return process.env.NODE_ENV !== "production" && o.useDebugValue(e), e[m] || e;
@@ -1,6 +1,6 @@
1
- import { m as n } from "./createTheme-ClKgUYqI.js";
1
+ import { m as n } from "./createTheme-BX9lNtXz.js";
2
2
  import * as m from "react";
3
- import { a as o } from "./index-BlCNRXSk.js";
3
+ import { a as o } from "./index-DNMo5Nra.js";
4
4
  function r(e) {
5
5
  return Object.keys(e).length === 0;
6
6
  }
@@ -0,0 +1,18 @@
1
+ import { g as t } from "./getThemeProps-eyNYXfWA.js";
2
+ import { u } from "./useTheme-v44oTsqt.js";
3
+ function i({
4
+ props: o,
5
+ name: m,
6
+ defaultTheme: s,
7
+ themeId: r
8
+ }) {
9
+ let e = u(s);
10
+ return r && (e = e[r] || e), t({
11
+ theme: e,
12
+ name: m,
13
+ props: o
14
+ });
15
+ }
16
+ export {
17
+ i as u
18
+ };
@@ -1,5 +1,5 @@
1
1
  import { _ as D, a as C, T as S } from "./TransitionGroupContext-DbLioz_6.js";
2
- import { P as n } from "./createTheme-ClKgUYqI.js";
2
+ import { P as n } from "./createTheme-BX9lNtXz.js";
3
3
  import v from "react";
4
4
  import b from "react-dom";
5
5
  const N = {
@@ -9,8 +9,7 @@ var R = process.env.NODE_ENV !== "production" ? n.oneOfType([n.number, n.shape({
9
9
  enter: n.number,
10
10
  exit: n.number,
11
11
  appear: n.number
12
- }).isRequired]) : null;
13
- process.env.NODE_ENV !== "production" && n.oneOfType([n.string, n.shape({
12
+ }).isRequired]) : null, I = process.env.NODE_ENV !== "production" ? n.oneOfType([n.string, n.shape({
14
13
  enter: n.string,
15
14
  exit: n.string,
16
15
  active: n.string
@@ -21,8 +20,7 @@ process.env.NODE_ENV !== "production" && n.oneOfType([n.string, n.shape({
21
20
  exit: n.string,
22
21
  exitDone: n.string,
23
22
  exitActive: n.string
24
- })]);
25
- var y = function(a) {
23
+ })]) : null, y = function(a) {
26
24
  return a.scrollTop;
27
25
  }, x = "unmounted", f = "exited", c = "entering", h = "entered", g = "exiting", l = /* @__PURE__ */ function(u) {
28
26
  D(a, u);
@@ -343,8 +341,8 @@ l.EXITED = f;
343
341
  l.ENTERING = c;
344
342
  l.ENTERED = h;
345
343
  l.EXITING = g;
346
- const I = (u) => u.scrollTop;
347
- function P(u, a) {
344
+ const P = (u) => u.scrollTop;
345
+ function U(u, a) {
348
346
  const {
349
347
  timeout: o,
350
348
  easing: r,
@@ -358,6 +356,8 @@ function P(u, a) {
358
356
  }
359
357
  export {
360
358
  l as T,
361
- P as g,
362
- I as r
359
+ I as c,
360
+ y as f,
361
+ U as g,
362
+ P as r
363
363
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clearstory/drywall-react",
3
- "version": "0.11.0",
3
+ "version": "0.12.1",
4
4
  "license": "UNLICENSED",
5
5
  "description": "a Clearstory software design system",
6
6
  "type": "module",
@@ -16,6 +16,7 @@
16
16
  "node": ">=22"
17
17
  },
18
18
  "peerDependencies": {
19
+ "dayjs": "^1.0.0",
19
20
  "@emotion/react": "^11.0.0",
20
21
  "@emotion/styled": "^11.0.0",
21
22
  "@fontsource-variable/roboto": "^5.0.0",
@@ -24,10 +25,12 @@
24
25
  "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
25
26
  },
26
27
  "dependencies": {
27
- "@mui/icons-material": "^7.3.1",
28
- "@mui/material": "^7.3.1",
29
- "@mui/system": "^7.3.1",
30
- "react-hot-toast": "^2.6.0"
28
+ "@mui/icons-material": "7.3.1",
29
+ "@mui/material": "7.3.1",
30
+ "@mui/system": "7.3.1",
31
+ "@mui/utils": "7.3.1",
32
+ "@mui/x-date-pickers": "8.10.2",
33
+ "react-hot-toast": "2.6.0"
31
34
  },
32
35
  "devDependencies": {
33
36
  "@chromatic-com/storybook": "^4.0.1",
@@ -43,6 +46,7 @@
43
46
  "@vitejs/plugin-react": "^4.5.2",
44
47
  "@vitest/browser": "^3.2.4",
45
48
  "@vitest/coverage-v8": "^3.2.4",
49
+ "dayjs": "^1.11.13",
46
50
  "eslint": "^9.29.0",
47
51
  "eslint-config-prettier": "^10.1.5",
48
52
  "eslint-plugin-react-hooks": "^5.2.0",