@plitzi/sdk-style 0.32.20 → 0.32.22

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 (39) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/components/StyleInspector/Inspector.mjs +137 -131
  3. package/dist/components/StyleInspector/categories/Background/Background.mjs +151 -69
  4. package/dist/components/StyleInspector/categories/Effects/Effects.mjs +257 -84
  5. package/dist/components/StyleInspector/categories/Effects/Filters/Filter.d.ts +3 -1
  6. package/dist/components/StyleInspector/categories/Effects/Filters/Filter.mjs +17 -17
  7. package/dist/components/StyleInspector/categories/Others/Others.d.ts +7 -0
  8. package/dist/components/StyleInspector/categories/Others/Others.mjs +103 -0
  9. package/dist/components/StyleInspector/categories/Others/OthersForm.d.ts +9 -0
  10. package/dist/components/StyleInspector/categories/Others/OthersForm.mjs +48 -0
  11. package/dist/components/StyleInspector/categories/Others/OthersInteraction.d.ts +13 -0
  12. package/dist/components/StyleInspector/categories/Others/OthersInteraction.mjs +162 -0
  13. package/dist/components/StyleInspector/categories/Others/OthersOutline.d.ts +10 -0
  14. package/dist/components/StyleInspector/categories/Others/OthersOutline.mjs +75 -0
  15. package/dist/components/StyleInspector/categories/Others/OthersSvg.d.ts +9 -0
  16. package/dist/components/StyleInspector/categories/Others/OthersSvg.mjs +31 -0
  17. package/dist/components/StyleInspector/categories/Others/OthersTable.d.ts +9 -0
  18. package/dist/components/StyleInspector/categories/Others/OthersTable.mjs +44 -0
  19. package/dist/components/StyleInspector/categories/Others/index.d.ts +3 -0
  20. package/dist/components/StyleInspector/categories/Others/index.mjs +5 -0
  21. package/dist/components/StyleInspector/categories/Position/Position.mjs +70 -69
  22. package/dist/components/StyleInspector/categories/Size/Size.mjs +82 -52
  23. package/dist/components/StyleInspector/categories/Typography/Typography.mjs +139 -158
  24. package/dist/components/StyleInspector/categories/Typography/TypographyBreaking.d.ts +12 -0
  25. package/dist/components/StyleInspector/categories/Typography/TypographyBreaking.mjs +181 -0
  26. package/dist/components/StyleInspector/categories/Typography/TypographyClamp.d.ts +7 -0
  27. package/dist/components/StyleInspector/categories/Typography/TypographyClamp.mjs +35 -0
  28. package/dist/components/StyleInspector/categories/Typography/TypographyStyle.d.ts +3 -1
  29. package/dist/components/StyleInspector/categories/Typography/TypographyStyle.mjs +47 -32
  30. package/dist/components/StyleInspector/categories/Typography/TypographyTransform.mjs +10 -11
  31. package/dist/components/StyleInspector/components/CategoryAdvanced/CategoryAdvanced.d.ts +6 -0
  32. package/dist/components/StyleInspector/components/CategoryAdvanced/CategoryAdvanced.mjs +6 -0
  33. package/dist/components/StyleInspector/components/CategoryAdvanced/CategoryAdvancedContext.d.ts +2 -0
  34. package/dist/components/StyleInspector/components/CategoryAdvanced/CategoryAdvancedContext.mjs +5 -0
  35. package/dist/components/StyleInspector/components/CategoryAdvanced/index.d.ts +4 -0
  36. package/dist/components/StyleInspector/components/CategoryAdvanced/index.mjs +6 -0
  37. package/dist/components/StyleInspector/components/CategoryContainer/CategoryContainer.d.ts +2 -1
  38. package/dist/components/StyleInspector/components/CategoryContainer/CategoryContainer.mjs +52 -25
  39. package/package.json +60 -4
@@ -2,100 +2,130 @@ import e from "../../StyleInspectorContext.mjs";
2
2
  import t from "../../hooks/useInspectorValues.mjs";
3
3
  import n from "../../components/CategoryOption/index.mjs";
4
4
  import r from "../../components/CategorySection/index.mjs";
5
- import i from "../../components/CategoryContainer/index.mjs";
6
- import a from "./SizeFit.mjs";
7
- import o from "./SizeOverflow.mjs";
8
- import s from "./SizePosition.mjs";
9
- import { memo as c, use as l, useCallback as u } from "react";
10
- import { jsx as d, jsxs as f } from "react/jsx-runtime";
5
+ import i from "../../components/CategoryAdvanced/index.mjs";
6
+ import a from "../../components/CategoryContainer/index.mjs";
7
+ import o from "./SizeFit.mjs";
8
+ import s from "./SizeOverflow.mjs";
9
+ import c from "./SizePosition.mjs";
10
+ import { memo as l, use as u, useCallback as d } from "react";
11
+ import { jsx as f, jsxs as p } from "react/jsx-runtime";
11
12
  //#region src/components/StyleInspector/categories/Size/Size.tsx
12
- var p = [
13
+ var m = [
13
14
  "width",
14
15
  "height",
15
16
  "min-width",
16
17
  "min-height",
17
18
  "max-width",
18
19
  "max-height",
20
+ "aspect-ratio",
21
+ "box-sizing",
19
22
  "overflow",
20
23
  "object-fit",
21
24
  "object-position"
22
- ], m = ["width", "height"], h = ["min-width", "min-height"], g = ["max-width", "max-height"], _ = c(({ replaceTokens: c = !1, isCollapsed: _ = !0, onCollapse: v }) => {
23
- let { setValue: y } = l(e), { width: b, height: x, "min-width": S, "min-height": C, "max-width": w, "max-height": T, overflow: E, "object-position": D, "object-fit": O } = t({
24
- keys: p,
25
+ ], h = [
26
+ "aspect-ratio",
27
+ "box-sizing",
28
+ "object-position",
29
+ "object-fit"
30
+ ], g = ["width", "height"], _ = ["min-width", "min-height"], v = ["max-width", "max-height"], y = l(({ replaceTokens: l = !1, isCollapsed: y = !0, onCollapse: b }) => {
31
+ let { setValue: x } = u(e), { width: S, height: C, "min-width": w, "min-height": T, "max-width": E, "max-height": D, "aspect-ratio": O, "box-sizing": k, overflow: A, "object-position": j, "object-fit": M } = t({
32
+ keys: m,
25
33
  asValue: !0,
26
- replaceTokens: c
27
- }), k = u((e) => v?.("size", e), [v]), A = u((e) => (t) => y(e, t), [y]);
28
- return /* @__PURE__ */ f(i, {
34
+ replaceTokens: l
35
+ }), N = d((e) => b?.("size", e), [b]), P = d((e) => (t) => x(e, t), [x]);
36
+ return /* @__PURE__ */ p(a, {
29
37
  title: "Size",
30
- dotKeys: p,
31
- isCollapsed: _,
32
- onCollapse: k,
38
+ dotKeys: m,
39
+ advancedKeys: h,
40
+ isCollapsed: y,
41
+ onCollapse: N,
33
42
  children: [
34
- /* @__PURE__ */ f(r, {
43
+ /* @__PURE__ */ p(r, {
35
44
  label: "Size",
36
- keys: m,
37
- children: [/* @__PURE__ */ d(n, {
45
+ keys: g,
46
+ children: [/* @__PURE__ */ f(n, {
38
47
  keys: ["width"],
39
48
  preffix: "W",
40
- value: b,
41
- onChange: A("width"),
49
+ value: S,
50
+ onChange: P("width"),
42
51
  type: "metric"
43
- }), /* @__PURE__ */ d(n, {
52
+ }), /* @__PURE__ */ f(n, {
44
53
  keys: ["height"],
45
54
  preffix: "H",
46
- value: x,
47
- onChange: A("height"),
55
+ value: C,
56
+ onChange: P("height"),
48
57
  type: "metric"
49
58
  })]
50
59
  }),
51
- /* @__PURE__ */ f(r, {
60
+ /* @__PURE__ */ p(r, {
52
61
  label: "Min Size",
53
- keys: h,
54
- children: [/* @__PURE__ */ d(n, {
62
+ keys: _,
63
+ children: [/* @__PURE__ */ f(n, {
55
64
  keys: ["min-width"],
56
65
  preffix: "W",
57
- value: S,
58
- onChange: A("min-width"),
66
+ value: w,
67
+ onChange: P("min-width"),
59
68
  type: "metric"
60
- }), /* @__PURE__ */ d(n, {
69
+ }), /* @__PURE__ */ f(n, {
61
70
  keys: ["min-height"],
62
71
  preffix: "H",
63
- value: C,
64
- onChange: A("min-height"),
72
+ value: T,
73
+ onChange: P("min-height"),
65
74
  type: "metric"
66
75
  })]
67
76
  }),
68
- /* @__PURE__ */ f(r, {
77
+ /* @__PURE__ */ p(r, {
69
78
  label: "Max Size",
70
- keys: g,
71
- children: [/* @__PURE__ */ d(n, {
79
+ keys: v,
80
+ children: [/* @__PURE__ */ f(n, {
72
81
  keys: ["max-width"],
73
82
  preffix: "W",
74
- value: w,
75
- onChange: A("max-width"),
83
+ value: E,
84
+ onChange: P("max-width"),
76
85
  type: "metric"
77
- }), /* @__PURE__ */ d(n, {
86
+ }), /* @__PURE__ */ f(n, {
78
87
  keys: ["max-height"],
79
88
  preffix: "H",
80
- value: T,
81
- onChange: A("max-height"),
89
+ value: D,
90
+ onChange: P("max-height"),
82
91
  type: "metric"
83
92
  })]
84
93
  }),
85
- /* @__PURE__ */ d(o, {
86
- value: E,
87
- onChange: A
88
- }),
89
- /* @__PURE__ */ d(s, {
90
- value: D,
91
- onChange: A
94
+ /* @__PURE__ */ f(i, { children: /* @__PURE__ */ p(r, {
95
+ label: "",
96
+ children: [/* @__PURE__ */ f(n, {
97
+ keys: ["aspect-ratio"],
98
+ label: "Ratio",
99
+ value: O,
100
+ onChange: P("aspect-ratio")
101
+ }), /* @__PURE__ */ p(n, {
102
+ keys: ["box-sizing"],
103
+ label: "Box Sizing",
104
+ value: k,
105
+ onChange: P("box-sizing"),
106
+ type: "select",
107
+ children: [/* @__PURE__ */ f("option", {
108
+ value: "border-box",
109
+ children: "Border Box"
110
+ }), /* @__PURE__ */ f("option", {
111
+ value: "content-box",
112
+ children: "Content Box"
113
+ })]
114
+ })]
115
+ }) }),
116
+ /* @__PURE__ */ f(s, {
117
+ value: A,
118
+ onChange: P
92
119
  }),
93
- /* @__PURE__ */ d(a, {
94
- value: O,
95
- onChange: A
96
- })
120
+ /* @__PURE__ */ p(i, { children: [/* @__PURE__ */ f(c, {
121
+ value: j,
122
+ onChange: P
123
+ }), /* @__PURE__ */ f(o, {
124
+ value: M,
125
+ onChange: P
126
+ })] })
97
127
  ]
98
128
  });
99
129
  });
100
130
  //#endregion
101
- export { _ as default };
131
+ export { y as default };
@@ -2,17 +2,20 @@ import e from "../../StyleInspectorContext.mjs";
2
2
  import t from "../../hooks/useInspectorValues.mjs";
3
3
  import n from "../../components/CategoryOption/index.mjs";
4
4
  import r from "../../components/CategorySection/index.mjs";
5
- import i from "../../components/CategoryContainer/index.mjs";
6
- import a from "./TypographyAlign.mjs";
7
- import { defaultFonts as o, weights as s } from "./TypographyConstants.mjs";
8
- import c from "./TypographyFont.mjs";
9
- import l from "./TypographyStyle.mjs";
10
- import u from "./TypographyTextShadow.mjs";
11
- import d from "./TypographyTransform.mjs";
12
- import { memo as f, use as p, useCallback as m } from "react";
13
- import { jsx as h, jsxs as g } from "react/jsx-runtime";
5
+ import i from "../../components/CategoryAdvanced/index.mjs";
6
+ import a from "../../components/CategoryContainer/index.mjs";
7
+ import o from "./TypographyAlign.mjs";
8
+ import s from "./TypographyBreaking.mjs";
9
+ import c from "./TypographyClamp.mjs";
10
+ import { defaultFonts as l, weights as u } from "./TypographyConstants.mjs";
11
+ import d from "./TypographyFont.mjs";
12
+ import f from "./TypographyStyle.mjs";
13
+ import p from "./TypographyTextShadow.mjs";
14
+ import m from "./TypographyTransform.mjs";
15
+ import { memo as h, use as g, useCallback as _ } from "react";
16
+ import { jsx as v, jsxs as y } from "react/jsx-runtime";
14
17
  //#region src/components/StyleInspector/categories/Typography/Typography.tsx
15
- var _ = [
18
+ var b = [
16
19
  "font-family",
17
20
  "font-weight",
18
21
  "font-size",
@@ -21,204 +24,182 @@ var _ = [
21
24
  "text-align",
22
25
  "font-style",
23
26
  "text-decoration",
27
+ "text-decoration-thickness",
28
+ "text-underline-offset",
24
29
  "letter-spacing",
30
+ "word-spacing",
25
31
  "text-indent",
26
32
  "text-transform",
27
33
  "direction",
28
34
  "text-shadow",
29
35
  "white-space",
30
36
  "text-wrap",
31
- "text-overflow"
32
- ], v = ["letter-spacing", "text-indent"], y = f(({ replaceTokens: f = !1, isCollapsed: y = !0, fonts: b, onCollapse: x }) => {
33
- let { setValue: S } = p(e), { "font-family": C, "font-weight": w, "font-size": T, "font-style": E, "text-align": D, "text-decoration": O, "text-indent": k, "text-transform": A, "text-shadow": j, "white-space": M, "text-wrap": N, "text-overflow": P, "line-height": F, color: I, "letter-spacing": L, direction: R } = t({
34
- keys: _,
37
+ "word-break",
38
+ "overflow-wrap",
39
+ "hyphens",
40
+ "vertical-align",
41
+ "text-overflow",
42
+ "line-clamp"
43
+ ], x = [
44
+ "text-decoration-thickness",
45
+ "text-underline-offset",
46
+ "word-break",
47
+ "overflow-wrap",
48
+ "hyphens",
49
+ "vertical-align",
50
+ "text-shadow"
51
+ ], S = [
52
+ "letter-spacing",
53
+ "word-spacing",
54
+ "text-indent"
55
+ ], C = h(({ replaceTokens: h = !1, isCollapsed: C = !0, fonts: w, onCollapse: T }) => {
56
+ let { setValue: E } = g(e), { "font-family": D, "font-weight": O, "font-size": k, "font-style": A, "text-align": j, "text-decoration": M, "text-decoration-thickness": N, "text-underline-offset": ee, "text-indent": P, "text-transform": F, "text-shadow": I, "white-space": L, "text-wrap": R, "word-break": z, "overflow-wrap": B, hyphens: V, "vertical-align": H, "text-overflow": U, "line-clamp": W, "line-height": G, color: K, "letter-spacing": q, "word-spacing": J, direction: Y } = t({
57
+ keys: b,
35
58
  asValue: !0,
36
- replaceTokens: f
37
- }), z = m((e) => x?.("typography", e), [x]), B = [...b ?? [], ...o].find((e) => e.name === C), V = m((e) => (t) => S(e, t), [S]);
38
- return /* @__PURE__ */ g(i, {
59
+ replaceTokens: h
60
+ }), X = _((e) => T?.("typography", e), [T]), Z = [...w ?? [], ...l].find((e) => e.name === D), Q = _((e) => (t) => E(e, t), [E]), $ = _((e) => E(void 0, e), [E]);
61
+ return /* @__PURE__ */ y(a, {
39
62
  title: "Typography",
40
- dotKeys: _,
41
- isCollapsed: y,
42
- onCollapse: z,
63
+ dotKeys: b,
64
+ advancedKeys: x,
65
+ isCollapsed: C,
66
+ onCollapse: X,
43
67
  children: [
44
- /* @__PURE__ */ h(a, {
45
- partialValue: D,
46
- onChange: V("text-align")
68
+ /* @__PURE__ */ v(o, {
69
+ partialValue: j,
70
+ onChange: Q("text-align")
47
71
  }),
48
- /* @__PURE__ */ h(c, {
49
- partialValue: C,
50
- fonts: b,
51
- onChange: V("font-family")
72
+ /* @__PURE__ */ v(d, {
73
+ partialValue: D,
74
+ fonts: w,
75
+ onChange: Q("font-family")
52
76
  }),
53
- /* @__PURE__ */ h(r, {
54
- label: "Weight",
55
- keys: ["font-weight"],
56
- children: /* @__PURE__ */ h(n, {
57
- value: w,
58
- onChange: V("font-weight"),
77
+ /* @__PURE__ */ y(r, {
78
+ label: "",
79
+ children: [/* @__PURE__ */ v(n, {
80
+ keys: ["font-weight"],
81
+ label: "Weight",
82
+ value: O,
83
+ onChange: Q("font-weight"),
59
84
  type: "select",
60
- children: Object.keys(s).map((e) => /* @__PURE__ */ h("option", {
85
+ children: Object.keys(u).map((e) => /* @__PURE__ */ v("option", {
61
86
  value: e,
62
- disabled: !B || !B.weights.includes(e),
63
- children: s[Number(e)]
87
+ disabled: !Z || !Z.weights.includes(e),
88
+ children: u[Number(e)]
64
89
  }, e))
65
- })
90
+ }), /* @__PURE__ */ v(n, {
91
+ keys: ["color"],
92
+ label: "Color",
93
+ type: "color",
94
+ value: K,
95
+ onChange: Q("color")
96
+ })]
66
97
  }),
67
- /* @__PURE__ */ g(r, {
98
+ /* @__PURE__ */ y(r, {
68
99
  label: "",
69
- children: [/* @__PURE__ */ h(n, {
100
+ children: [/* @__PURE__ */ v(n, {
70
101
  keys: ["font-size"],
71
102
  label: "Size",
72
- value: T,
73
- onChange: V("font-size"),
103
+ value: k,
104
+ onChange: Q("font-size"),
74
105
  type: "metric"
75
- }), /* @__PURE__ */ h(n, {
106
+ }), /* @__PURE__ */ v(n, {
76
107
  keys: ["line-height"],
77
108
  label: "Line Height",
78
- value: F,
79
- onChange: V("line-height"),
109
+ value: G,
110
+ onChange: Q("line-height"),
80
111
  type: "metric"
81
112
  })]
82
113
  }),
83
- /* @__PURE__ */ h(r, {
84
- label: "Color",
85
- keys: ["color"],
86
- children: /* @__PURE__ */ h(n, {
87
- type: "color",
88
- value: I,
89
- onChange: V("color")
90
- })
91
- }),
92
- /* @__PURE__ */ h(l, {
93
- fontStyle: E,
94
- textDecoration: O,
95
- onChange: V
114
+ /* @__PURE__ */ v(f, {
115
+ fontStyle: A,
116
+ textDecoration: M,
117
+ textDecorationThickness: N,
118
+ textUnderlineOffset: ee,
119
+ onChange: Q
96
120
  }),
97
- /* @__PURE__ */ g(r, {
121
+ /* @__PURE__ */ y(r, {
98
122
  label: "Letter",
99
- keys: v,
100
- children: [/* @__PURE__ */ h(n, {
101
- keys: ["letter-spacing"],
102
- label: "Spacing",
103
- value: L,
104
- onChange: V("letter-spacing"),
105
- type: "metric"
106
- }), /* @__PURE__ */ h(n, {
107
- keys: ["text-indent"],
108
- label: "Indent",
109
- value: k,
110
- onChange: V("text-indent"),
111
- type: "metric"
112
- })]
123
+ keys: S,
124
+ children: [
125
+ /* @__PURE__ */ v(n, {
126
+ keys: ["letter-spacing"],
127
+ label: "Spacing",
128
+ value: q,
129
+ onChange: Q("letter-spacing"),
130
+ type: "metric"
131
+ }),
132
+ /* @__PURE__ */ v(n, {
133
+ keys: ["word-spacing"],
134
+ label: "Word",
135
+ value: J,
136
+ onChange: Q("word-spacing"),
137
+ type: "metric"
138
+ }),
139
+ /* @__PURE__ */ v(n, {
140
+ keys: ["text-indent"],
141
+ label: "Indent",
142
+ value: P,
143
+ onChange: Q("text-indent"),
144
+ type: "metric"
145
+ })
146
+ ]
113
147
  }),
114
- /* @__PURE__ */ h(d, {
115
- textTransform: A,
116
- direction: R,
117
- onChange: V
148
+ /* @__PURE__ */ v(m, {
149
+ textTransform: F,
150
+ direction: Y,
151
+ onChange: Q
118
152
  }),
119
- /* @__PURE__ */ h(r, {
120
- label: "Breaking",
121
- keys: ["white-space"],
122
- children: /* @__PURE__ */ g(n, {
123
- value: M,
124
- onChange: V("white-space"),
125
- type: "select",
126
- children: [
127
- /* @__PURE__ */ h("option", {
128
- value: "normal",
129
- children: "Normal"
130
- }),
131
- /* @__PURE__ */ h("option", {
132
- value: "nowrap",
133
- children: "No Wrap"
134
- }),
135
- /* @__PURE__ */ h("option", {
136
- value: "pre",
137
- children: "Pre"
138
- }),
139
- /* @__PURE__ */ h("option", {
140
- value: "pre-wrap",
141
- children: "Pre Wrap"
142
- }),
143
- /* @__PURE__ */ h("option", {
144
- value: "pre-line",
145
- children: "Pre Line"
146
- }),
147
- /* @__PURE__ */ h("option", {
148
- value: "break-spaces",
149
- children: "Break Spaces"
150
- })
151
- ]
152
- })
153
- }),
154
- /* @__PURE__ */ h(r, {
155
- label: "Wrap",
156
- keys: ["text-wrap"],
157
- children: /* @__PURE__ */ g(n, {
158
- value: N,
159
- onChange: V("text-wrap"),
160
- type: "select",
161
- children: [
162
- /* @__PURE__ */ h("option", {
163
- value: "wrap",
164
- children: "Wrap"
165
- }),
166
- /* @__PURE__ */ h("option", {
167
- value: "nowrap",
168
- children: "No Wrap"
169
- }),
170
- /* @__PURE__ */ h("option", {
171
- value: "balance",
172
- children: "Balance"
173
- }),
174
- /* @__PURE__ */ h("option", {
175
- value: "pretty",
176
- children: "Pretty"
177
- }),
178
- /* @__PURE__ */ h("option", {
179
- value: "stable",
180
- children: "Stable"
181
- })
182
- ]
183
- })
153
+ /* @__PURE__ */ v(s, {
154
+ whiteSpace: L,
155
+ textWrap: R,
156
+ wordBreak: z,
157
+ overflowWrap: B,
158
+ hyphens: V,
159
+ verticalAlign: H,
160
+ onChange: Q
184
161
  }),
185
- /* @__PURE__ */ h(r, {
186
- label: "Overflow",
187
- keys: ["text-overflow"],
188
- children: /* @__PURE__ */ g(n, {
189
- value: P,
190
- onChange: V("text-overflow"),
162
+ /* @__PURE__ */ y(r, {
163
+ label: "",
164
+ children: [/* @__PURE__ */ y(n, {
165
+ keys: ["text-overflow"],
166
+ label: "Overflow",
167
+ value: U,
168
+ onChange: Q("text-overflow"),
191
169
  type: "select",
192
170
  children: [
193
- /* @__PURE__ */ h("option", {
171
+ /* @__PURE__ */ v("option", {
194
172
  value: "clip",
195
173
  children: "Clip"
196
174
  }),
197
- /* @__PURE__ */ h("option", {
175
+ /* @__PURE__ */ v("option", {
198
176
  value: "ellipsis",
199
177
  children: "Ellipsis"
200
178
  }),
201
- /* @__PURE__ */ h("option", {
179
+ /* @__PURE__ */ v("option", {
202
180
  value: "string",
203
181
  children: "String"
204
182
  }),
205
- /* @__PURE__ */ h("option", {
183
+ /* @__PURE__ */ v("option", {
206
184
  value: "initial",
207
185
  children: "Initial"
208
186
  }),
209
- /* @__PURE__ */ h("option", {
187
+ /* @__PURE__ */ v("option", {
210
188
  value: "inherit",
211
189
  children: "Inherit"
212
190
  })
213
191
  ]
214
- })
192
+ }), /* @__PURE__ */ v(c, {
193
+ value: W,
194
+ onChange: $
195
+ })]
215
196
  }),
216
- /* @__PURE__ */ h(u, {
217
- value: j,
218
- onChange: V("text-shadow")
219
- })
197
+ /* @__PURE__ */ v(i, { children: /* @__PURE__ */ v(p, {
198
+ value: I,
199
+ onChange: Q("text-shadow")
200
+ }) })
220
201
  ]
221
202
  });
222
203
  });
223
204
  //#endregion
224
- export { y as default };
205
+ export { C as default };
@@ -0,0 +1,12 @@
1
+ import { StyleCategory, StyleValue } from '@plitzi/sdk-shared';
2
+ export type TypographyBreakingProps = {
3
+ whiteSpace?: StyleValue;
4
+ textWrap?: StyleValue;
5
+ wordBreak?: StyleValue;
6
+ overflowWrap?: StyleValue;
7
+ hyphens?: StyleValue;
8
+ verticalAlign?: StyleValue;
9
+ onChange?: (category: StyleCategory) => (value: StyleValue | Record<StyleCategory, StyleValue> | boolean) => void;
10
+ };
11
+ declare const TypographyBreaking: ({ whiteSpace, textWrap, wordBreak, overflowWrap, hyphens, verticalAlign, onChange }: TypographyBreakingProps) => import("react").JSX.Element;
12
+ export default TypographyBreaking;