@clearstory/drywall-react 8.0.0 → 8.0.2
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/{AdapterDayjs-Cd89npE5.js → AdapterDayjs-eOIHEncu.js} +1 -1
- package/dist/{Datepicker-CTJBmZj2.js → Datepicker-C44hLm8m.js} +328 -316
- package/dist/components/Datepicker/Datepicker.js +1 -1
- package/dist/components/Datepicker/index.js +2 -2
- package/dist/components/DatepickerControl/DatepickerControl.js +1 -1
- package/dist/components/DescriptionDetails/DescriptionDetails.js +16 -12
- package/dist/eslint-config/no-system-props.js +5 -7
- package/dist/main.js +2 -2
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { D, D as f } from "../../Datepicker-
|
|
3
|
+
import { D, D as f } from "../../Datepicker-C44hLm8m.js";
|
|
4
4
|
import "../../generateUtilityClass-BhfUaMgk.js";
|
|
5
5
|
import "../../styled-DGv3Bxg0.js";
|
|
6
6
|
import "../../useForkRef-9kN4DArm.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, D as r, L as i, M as t, P as l, d, b as C, D as o, g as n, f as p, e as c, p as D, c as k } from "../../Datepicker-
|
|
2
|
-
import { A as P } from "../../AdapterDayjs-
|
|
1
|
+
import { a as e, D as r, L as i, M as t, P as l, d, b as C, D as o, g as n, f as p, e as c, p as D, c as k } from "../../Datepicker-C44hLm8m.js";
|
|
2
|
+
import { A as P } from "../../AdapterDayjs-eOIHEncu.js";
|
|
3
3
|
export {
|
|
4
4
|
P as AdapterDayjs,
|
|
5
5
|
e as DateCalendar,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as f, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as y } from "react";
|
|
3
|
-
import { D } from "../../Datepicker-
|
|
3
|
+
import { D } from "../../Datepicker-C44hLm8m.js";
|
|
4
4
|
import { FormSublabel as u } from "../FormSublabel/FormSublabel.js";
|
|
5
5
|
import { useId as w } from "../../hooks/useId.js";
|
|
6
6
|
import "../../icons/ClearstoryIcon.js";
|
|
@@ -1,25 +1,29 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { useDescriptionListContext as
|
|
4
|
-
import { T as
|
|
5
|
-
const c =
|
|
6
|
-
const
|
|
7
|
-
return /* @__PURE__ */
|
|
8
|
-
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as p } from "react";
|
|
3
|
+
import { useDescriptionListContext as s } from "../DescriptionList/DescriptionListContext.js";
|
|
4
|
+
import { T as a } from "../../Typography-BgU_ldl-.js";
|
|
5
|
+
const c = p(({ variant: t = "body2", sx: r, ...i }, n) => {
|
|
6
|
+
const o = s()?.spacing;
|
|
7
|
+
return /* @__PURE__ */ e(
|
|
8
|
+
a,
|
|
9
9
|
{
|
|
10
10
|
component: "dd",
|
|
11
11
|
variant: t,
|
|
12
12
|
ref: n,
|
|
13
13
|
...i,
|
|
14
14
|
sx: [
|
|
15
|
-
{
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
{
|
|
16
|
+
border: "1px solid transparent",
|
|
17
|
+
lineHeight: "1.25rem",
|
|
18
|
+
padding: "5px 10px"
|
|
19
|
+
},
|
|
20
|
+
o && {
|
|
21
|
+
marginBlockEnd: o,
|
|
18
22
|
"&:last-child": {
|
|
19
23
|
marginBlockEnd: 0
|
|
20
24
|
}
|
|
21
25
|
},
|
|
22
|
-
...Array.isArray(
|
|
26
|
+
...Array.isArray(r) ? r : [r]
|
|
23
27
|
]
|
|
24
28
|
}
|
|
25
29
|
);
|
|
@@ -118,9 +118,7 @@ const g = [
|
|
|
118
118
|
"textTransform",
|
|
119
119
|
"lineHeight",
|
|
120
120
|
"textAlign",
|
|
121
|
-
"typography"
|
|
122
|
-
// other common system props
|
|
123
|
-
"spacing"
|
|
121
|
+
"typography"
|
|
124
122
|
], c = {
|
|
125
123
|
Container: ["maxWidth"],
|
|
126
124
|
Dialog: ["maxWidth"],
|
|
@@ -160,7 +158,7 @@ const g = [
|
|
|
160
158
|
return;
|
|
161
159
|
} else
|
|
162
160
|
return;
|
|
163
|
-
const
|
|
161
|
+
const d = [];
|
|
164
162
|
o.attributes.forEach((t) => {
|
|
165
163
|
const n = t;
|
|
166
164
|
if (n.type !== "JSXAttribute" || !n.name)
|
|
@@ -168,11 +166,11 @@ const g = [
|
|
|
168
166
|
const a = n.name.name;
|
|
169
167
|
if (a === "sx" || !g.includes(a))
|
|
170
168
|
return;
|
|
171
|
-
const s = r.get(e) ?? e,
|
|
172
|
-
|
|
169
|
+
const s = r.get(e) ?? e, p = c[s];
|
|
170
|
+
p && p.includes(a) || d.push(
|
|
173
171
|
n
|
|
174
172
|
);
|
|
175
|
-
}),
|
|
173
|
+
}), d.forEach((t) => {
|
|
176
174
|
l.report({
|
|
177
175
|
node: t,
|
|
178
176
|
messageId: "systemProp",
|
package/dist/main.js
CHANGED
|
@@ -12,7 +12,7 @@ import { I as Pa } from "./Info-Dmczo2E6.js";
|
|
|
12
12
|
import { StyledEngineProvider as Fa } from "./theme/index.js";
|
|
13
13
|
import { A as Oa, a as Ma, c as Ra, g as Ga } from "./Autocomplete-D34P06vA.js";
|
|
14
14
|
import { AutocompleteControl as Ea } from "./components/AutocompleteControl/AutocompleteControl.js";
|
|
15
|
-
import { a as Va, D as Ka, L as za, M as Wa, P as Za, d as ja, b as Qa, g as qa, f as Ja, e as Xa, p as Ya, c as _a } from "./Datepicker-
|
|
15
|
+
import { a as Va, D as Ka, L as za, M as Wa, P as Za, d as ja, b as Qa, g as qa, f as Ja, e as Xa, p as Ya, c as _a } from "./Datepicker-C44hLm8m.js";
|
|
16
16
|
import { DescriptionDetails as st } from "./components/DescriptionDetails/DescriptionDetails.js";
|
|
17
17
|
import { DescriptionList as tt } from "./components/DescriptionList/DescriptionList.js";
|
|
18
18
|
import { useDescriptionListContext as et } from "./components/DescriptionList/DescriptionListContext.js";
|
|
@@ -140,7 +140,7 @@ import { Z as EC } from "./Zoom-C2osCIgz.js";
|
|
|
140
140
|
import { a as VC, d as KC, e as zC, g as WC, b as ZC, l as jC } from "./createTheme-PiEw_V9m.js";
|
|
141
141
|
import { u as qC } from "./ThemeProviderWithVars-BNUcBdVQ.js";
|
|
142
142
|
import { C as XC } from "./ClickAwayListener-DwFm5IeK.js";
|
|
143
|
-
import { A as _C } from "./AdapterDayjs-
|
|
143
|
+
import { A as _C } from "./AdapterDayjs-eOIHEncu.js";
|
|
144
144
|
export {
|
|
145
145
|
f as AccessTimeIcon,
|
|
146
146
|
qt as Accordion,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clearstory/drywall-react",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.2",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"description": "a Clearstory software design system",
|
|
6
6
|
"type": "module",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@mui/material": "7.3.8",
|
|
38
38
|
"@mui/system": "7.3.8",
|
|
39
39
|
"@mui/utils": "7.3.8",
|
|
40
|
-
"@mui/x-date-pickers": "8.27.
|
|
40
|
+
"@mui/x-date-pickers": "8.27.2",
|
|
41
41
|
"react-hot-toast": "2.6.0",
|
|
42
42
|
"react-number-format": "^5.4.4"
|
|
43
43
|
},
|