@plitzi/sdk-style 0.32.20 → 0.32.21

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 +10 -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
@@ -0,0 +1,181 @@
1
+ import e from "../../components/CategoryOption/index.mjs";
2
+ import t from "../../components/CategorySection/index.mjs";
3
+ import n from "../../components/CategoryAdvanced/index.mjs";
4
+ import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
5
+ //#region src/components/StyleInspector/categories/Typography/TypographyBreaking.tsx
6
+ var o = ({ whiteSpace: o, textWrap: s, wordBreak: c, overflowWrap: l, hyphens: u, verticalAlign: d, onChange: f }) => /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ a(t, {
7
+ label: "",
8
+ children: [/* @__PURE__ */ a(e, {
9
+ keys: ["white-space"],
10
+ label: "Breaking",
11
+ value: o,
12
+ onChange: f?.("white-space"),
13
+ type: "select",
14
+ children: [
15
+ /* @__PURE__ */ i("option", {
16
+ value: "normal",
17
+ children: "Normal"
18
+ }),
19
+ /* @__PURE__ */ i("option", {
20
+ value: "nowrap",
21
+ children: "No Wrap"
22
+ }),
23
+ /* @__PURE__ */ i("option", {
24
+ value: "pre",
25
+ children: "Pre"
26
+ }),
27
+ /* @__PURE__ */ i("option", {
28
+ value: "pre-wrap",
29
+ children: "Pre Wrap"
30
+ }),
31
+ /* @__PURE__ */ i("option", {
32
+ value: "pre-line",
33
+ children: "Pre Line"
34
+ }),
35
+ /* @__PURE__ */ i("option", {
36
+ value: "break-spaces",
37
+ children: "Break Spaces"
38
+ })
39
+ ]
40
+ }), /* @__PURE__ */ a(e, {
41
+ keys: ["text-wrap"],
42
+ label: "Wrap",
43
+ value: s,
44
+ onChange: f?.("text-wrap"),
45
+ type: "select",
46
+ children: [
47
+ /* @__PURE__ */ i("option", {
48
+ value: "wrap",
49
+ children: "Wrap"
50
+ }),
51
+ /* @__PURE__ */ i("option", {
52
+ value: "nowrap",
53
+ children: "No Wrap"
54
+ }),
55
+ /* @__PURE__ */ i("option", {
56
+ value: "balance",
57
+ children: "Balance"
58
+ }),
59
+ /* @__PURE__ */ i("option", {
60
+ value: "pretty",
61
+ children: "Pretty"
62
+ }),
63
+ /* @__PURE__ */ i("option", {
64
+ value: "stable",
65
+ children: "Stable"
66
+ })
67
+ ]
68
+ })]
69
+ }), /* @__PURE__ */ a(n, { children: [/* @__PURE__ */ a(t, {
70
+ label: "",
71
+ children: [/* @__PURE__ */ a(e, {
72
+ keys: ["word-break"],
73
+ label: "Word Break",
74
+ value: c,
75
+ onChange: f?.("word-break"),
76
+ type: "select",
77
+ children: [
78
+ /* @__PURE__ */ i("option", {
79
+ value: "normal",
80
+ children: "Normal"
81
+ }),
82
+ /* @__PURE__ */ i("option", {
83
+ value: "break-all",
84
+ children: "Break All"
85
+ }),
86
+ /* @__PURE__ */ i("option", {
87
+ value: "keep-all",
88
+ children: "Keep All"
89
+ }),
90
+ /* @__PURE__ */ i("option", {
91
+ value: "break-word",
92
+ children: "Break Word"
93
+ })
94
+ ]
95
+ }), /* @__PURE__ */ a(e, {
96
+ keys: ["overflow-wrap"],
97
+ label: "Overflow Wrap",
98
+ value: l,
99
+ onChange: f?.("overflow-wrap"),
100
+ type: "select",
101
+ children: [
102
+ /* @__PURE__ */ i("option", {
103
+ value: "normal",
104
+ children: "Normal"
105
+ }),
106
+ /* @__PURE__ */ i("option", {
107
+ value: "break-word",
108
+ children: "Break Word"
109
+ }),
110
+ /* @__PURE__ */ i("option", {
111
+ value: "anywhere",
112
+ children: "Anywhere"
113
+ })
114
+ ]
115
+ })]
116
+ }), /* @__PURE__ */ a(t, {
117
+ label: "",
118
+ children: [/* @__PURE__ */ a(e, {
119
+ keys: ["hyphens"],
120
+ label: "Hyphens",
121
+ value: u,
122
+ onChange: f?.("hyphens"),
123
+ type: "select",
124
+ children: [
125
+ /* @__PURE__ */ i("option", {
126
+ value: "none",
127
+ children: "None"
128
+ }),
129
+ /* @__PURE__ */ i("option", {
130
+ value: "manual",
131
+ children: "Manual"
132
+ }),
133
+ /* @__PURE__ */ i("option", {
134
+ value: "auto",
135
+ children: "Auto"
136
+ })
137
+ ]
138
+ }), /* @__PURE__ */ a(e, {
139
+ keys: ["vertical-align"],
140
+ label: "Vertical Align",
141
+ value: d,
142
+ onChange: f?.("vertical-align"),
143
+ type: "select",
144
+ children: [
145
+ /* @__PURE__ */ i("option", {
146
+ value: "baseline",
147
+ children: "Baseline"
148
+ }),
149
+ /* @__PURE__ */ i("option", {
150
+ value: "top",
151
+ children: "Top"
152
+ }),
153
+ /* @__PURE__ */ i("option", {
154
+ value: "middle",
155
+ children: "Middle"
156
+ }),
157
+ /* @__PURE__ */ i("option", {
158
+ value: "bottom",
159
+ children: "Bottom"
160
+ }),
161
+ /* @__PURE__ */ i("option", {
162
+ value: "text-top",
163
+ children: "Text Top"
164
+ }),
165
+ /* @__PURE__ */ i("option", {
166
+ value: "text-bottom",
167
+ children: "Text Bottom"
168
+ }),
169
+ /* @__PURE__ */ i("option", {
170
+ value: "sub",
171
+ children: "Sub"
172
+ }),
173
+ /* @__PURE__ */ i("option", {
174
+ value: "super",
175
+ children: "Super"
176
+ })
177
+ ]
178
+ })]
179
+ })] })] });
180
+ //#endregion
181
+ export { o as default };
@@ -0,0 +1,7 @@
1
+ import { StyleObject, StyleValue } from '@plitzi/sdk-shared';
2
+ export type TypographyClampProps = {
3
+ value?: StyleValue;
4
+ onChange?: (values: StyleObject) => void;
5
+ };
6
+ declare const TypographyClamp: ({ value, onChange }: TypographyClampProps) => import("react").JSX.Element;
7
+ export default TypographyClamp;
@@ -0,0 +1,35 @@
1
+ import e from "../../components/CategoryOption/index.mjs";
2
+ import { useCallback as t } from "react";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ //#region src/components/StyleInspector/categories/Typography/TypographyClamp.tsx
5
+ var r = [
6
+ "line-clamp",
7
+ "-webkit-line-clamp",
8
+ "-webkit-box-orient"
9
+ ], i = ({ value: i, onChange: a }) => {
10
+ let o = t((e) => {
11
+ let t = typeof e == "string" || typeof e == "number" ? String(e).trim() : "";
12
+ if (!t) {
13
+ a?.({
14
+ "line-clamp": void 0,
15
+ "-webkit-line-clamp": void 0,
16
+ "-webkit-box-orient": void 0
17
+ });
18
+ return;
19
+ }
20
+ a?.({
21
+ display: "-webkit-box",
22
+ "line-clamp": t,
23
+ "-webkit-line-clamp": t,
24
+ "-webkit-box-orient": "vertical"
25
+ });
26
+ }, [a]);
27
+ return /* @__PURE__ */ n(e, {
28
+ keys: r,
29
+ label: "Line Clamp",
30
+ value: i,
31
+ onChange: o
32
+ });
33
+ };
34
+ //#endregion
35
+ export { i as default };
@@ -2,7 +2,9 @@ import { StyleCategory, StyleValue } from '@plitzi/sdk-shared';
2
2
  export type TypographyStyleProps = {
3
3
  fontStyle?: StyleValue;
4
4
  textDecoration?: StyleValue;
5
+ textDecorationThickness?: StyleValue;
6
+ textUnderlineOffset?: StyleValue;
5
7
  onChange?: (category: StyleCategory) => (value: StyleValue | Record<StyleCategory, StyleValue> | boolean) => void;
6
8
  };
7
- declare const TypographyStyle: ({ fontStyle, textDecoration, onChange }: TypographyStyleProps) => import("react").JSX.Element;
9
+ declare const TypographyStyle: ({ fontStyle, textDecoration, textDecorationThickness, textUnderlineOffset, onChange }: TypographyStyleProps) => import("react").JSX.Element;
8
10
  export default TypographyStyle;
@@ -1,64 +1,79 @@
1
1
  import e from "../../components/CategoryOption/index.mjs";
2
2
  import t from "../../components/CategorySection/index.mjs";
3
- import { useMemo as n } from "react";
4
- import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
5
- import o from "@plitzi/plitzi-ui/icons/XMark";
6
- import s from "@plitzi/plitzi-ui/icons/TextDecorationOverline";
3
+ import n from "../../components/CategoryAdvanced/index.mjs";
4
+ import { useMemo as r } from "react";
5
+ import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
6
+ import s from "@plitzi/plitzi-ui/icons/XMark";
7
+ import c from "@plitzi/plitzi-ui/icons/TextDecorationOverline";
7
8
  //#region src/components/StyleInspector/categories/Typography/TypographyStyle.tsx
8
- var c = ({ fontStyle: c, textDecoration: l, onChange: u }) => {
9
- let d = n(() => [{
9
+ var l = ({ fontStyle: l, textDecoration: u, textDecorationThickness: d, textUnderlineOffset: f, onChange: p }) => {
10
+ let m = r(() => [{
10
11
  value: "normal",
11
12
  icon: "fa-solid fa-font",
12
13
  description: "Normal",
13
- active: c === "normal"
14
+ active: l === "normal"
14
15
  }, {
15
16
  value: "italic",
16
17
  icon: "fa-solid fa-italic",
17
18
  description: "Italic",
18
- active: c === "italic"
19
- }], [c]), f = n(() => [
19
+ active: l === "italic"
20
+ }], [l]), h = r(() => [
20
21
  {
21
22
  value: "none",
22
- icon: /* @__PURE__ */ i(o, {}),
23
+ icon: /* @__PURE__ */ a(s, {}),
23
24
  description: "None",
24
- active: l === "none"
25
+ active: u === "none"
25
26
  },
26
27
  {
27
28
  value: "line-through",
28
29
  icon: "fa-solid fa-strikethrough",
29
30
  description: "Strikethrough",
30
- active: l === "line-through"
31
+ active: u === "line-through"
31
32
  },
32
33
  {
33
34
  value: "underline",
34
35
  icon: "fa-solid fa-underline",
35
36
  description: "Underline",
36
- active: l === "underline"
37
+ active: u === "underline"
37
38
  },
38
39
  {
39
40
  value: "overline",
40
- icon: /* @__PURE__ */ i(s, {}),
41
+ icon: /* @__PURE__ */ a(c, {}),
41
42
  description: "Overline",
42
- active: l === "overline"
43
+ active: u === "overline"
43
44
  }
44
- ], [l]);
45
- return /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i(t, {
46
- label: "Italicize",
47
- keys: ["font-style"],
48
- children: /* @__PURE__ */ i(e, {
49
- onChange: u?.("font-style"),
45
+ ], [u]);
46
+ return /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ o(t, {
47
+ label: "",
48
+ children: [/* @__PURE__ */ a(e, {
49
+ keys: ["font-style"],
50
+ label: "Italicize",
51
+ onChange: p?.("font-style"),
50
52
  type: "iconGroup",
51
- items: d
52
- })
53
- }), /* @__PURE__ */ i(t, {
54
- label: "Decoration",
55
- keys: ["text-decoration"],
56
- children: /* @__PURE__ */ i(e, {
57
- onChange: u?.("text-decoration"),
53
+ items: m
54
+ }), /* @__PURE__ */ a(e, {
55
+ keys: ["text-decoration"],
56
+ label: "Decoration",
57
+ onChange: p?.("text-decoration"),
58
58
  type: "iconGroup",
59
- items: f
60
- })
61
- })] });
59
+ items: h
60
+ })]
61
+ }), /* @__PURE__ */ a(n, { children: /* @__PURE__ */ o(t, {
62
+ label: "",
63
+ children: [/* @__PURE__ */ a(e, {
64
+ keys: ["text-decoration-thickness"],
65
+ label: "Thickness",
66
+ value: d,
67
+ onChange: p?.("text-decoration-thickness"),
68
+ type: "metric"
69
+ }), /* @__PURE__ */ a(e, {
70
+ keys: ["text-underline-offset"],
71
+ label: "Offset",
72
+ value: f,
73
+ onChange: p?.("text-underline-offset"),
74
+ type: "metric"
75
+ })]
76
+ }) })] });
62
77
  };
63
78
  //#endregion
64
- export { c as default };
79
+ export { l as default };
@@ -46,23 +46,22 @@ var l = ({ textTransform: l, direction: u, onChange: d }) => {
46
46
  description: "Right To Left",
47
47
  active: u === "rtl"
48
48
  }], [u]);
49
- return /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i(t, {
50
- label: "Capitalize",
51
- keys: ["text-transform"],
52
- children: /* @__PURE__ */ i(e, {
49
+ return /* @__PURE__ */ i(r, { children: /* @__PURE__ */ a(t, {
50
+ label: "",
51
+ children: [/* @__PURE__ */ i(e, {
52
+ keys: ["text-transform"],
53
+ label: "Capitalize",
53
54
  onChange: d?.("text-transform"),
54
55
  type: "iconGroup",
55
56
  items: f
56
- })
57
- }), /* @__PURE__ */ i(t, {
58
- label: "Direction",
59
- keys: ["direction"],
60
- children: /* @__PURE__ */ i(e, {
57
+ }), /* @__PURE__ */ i(e, {
58
+ keys: ["direction"],
59
+ label: "Direction",
61
60
  onChange: d?.("direction"),
62
61
  type: "iconGroup",
63
62
  items: p
64
- })
65
- })] });
63
+ })]
64
+ }) });
66
65
  };
67
66
  //#endregion
68
67
  export { l as default };
@@ -0,0 +1,6 @@
1
+ import { ReactNode } from 'react';
2
+ export type CategoryAdvancedProps = {
3
+ children?: ReactNode;
4
+ };
5
+ declare const CategoryAdvanced: ({ children }: CategoryAdvancedProps) => ReactNode;
6
+ export default CategoryAdvanced;
@@ -0,0 +1,6 @@
1
+ import e from "./CategoryAdvancedContext.mjs";
2
+ import { use as t } from "react";
3
+ //#region src/components/StyleInspector/components/CategoryAdvanced/CategoryAdvanced.tsx
4
+ var n = ({ children: n }) => t(e) ? n : null;
5
+ //#endregion
6
+ export { n as default };
@@ -0,0 +1,2 @@
1
+ declare const CategoryAdvancedContext: import('react').Context<boolean>;
2
+ export default CategoryAdvancedContext;
@@ -0,0 +1,5 @@
1
+ import { createContext as e } from "react";
2
+ //#region src/components/StyleInspector/components/CategoryAdvanced/CategoryAdvancedContext.ts
3
+ var t = e(!1);
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,4 @@
1
+ import { default as CategoryAdvanced } from './CategoryAdvanced';
2
+ export * from './CategoryAdvanced';
3
+ export { default as CategoryAdvancedContext } from './CategoryAdvancedContext';
4
+ export default CategoryAdvanced;
@@ -0,0 +1,6 @@
1
+ import e from "./CategoryAdvancedContext.mjs";
2
+ import t from "./CategoryAdvanced.mjs";
3
+ //#region src/components/StyleInspector/components/CategoryAdvanced/index.ts
4
+ var n = t;
5
+ //#endregion
6
+ export { e as CategoryAdvancedContext, n as default };
@@ -6,8 +6,9 @@ export type CategoryContainerProps = {
6
6
  children?: ReactNode;
7
7
  title?: string;
8
8
  dotKeys?: StyleCategory[];
9
+ advancedKeys?: StyleCategory[];
9
10
  isCollapsed?: boolean;
10
11
  onCollapse: (collapsed: boolean) => void;
11
12
  };
12
- declare const CategoryContainer: ({ className, classNameContent, children, title, dotKeys, isCollapsed, onCollapse }: CategoryContainerProps) => import("react").JSX.Element;
13
+ declare const CategoryContainer: ({ className, classNameContent, children, title, dotKeys, advancedKeys, isCollapsed, onCollapse }: CategoryContainerProps) => import("react").JSX.Element;
13
14
  export default CategoryContainer;
@@ -1,27 +1,54 @@
1
- import e from "../InspectorDots/index.mjs";
2
- import t from "clsx";
3
- import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
- import i from "@plitzi/plitzi-ui/Icon";
5
- import a from "@plitzi/plitzi-ui/ContainerCollapsable";
1
+ import e from "../../hooks/useInspectorValues.mjs";
2
+ import t from "../CategoryAdvanced/CategoryAdvancedContext.mjs";
3
+ import n from "../InspectorDots/index.mjs";
4
+ import r from "clsx";
5
+ import { useCallback as i } from "react";
6
+ import { jsx as a, jsxs as o } from "react/jsx-runtime";
7
+ import s from "@plitzi/plitzi-ui/Icon";
8
+ import c from "@plitzi/plitzi-ui/hooks/useStorage";
9
+ import l from "@plitzi/plitzi-ui/ContainerCollapsable";
6
10
  //#region src/components/StyleInspector/components/CategoryContainer/CategoryContainer.tsx
7
- var o = ({ className: o, classNameContent: s, children: c, title: l = "Title", dotKeys: u, isCollapsed: d = !0, onCollapse: f }) => /* @__PURE__ */ r(a, {
8
- className: o,
9
- collapsed: d,
10
- onChange: f,
11
- children: [/* @__PURE__ */ n(a.Header, {
12
- className: t("h-8", {
13
- "border-b border-gray-200 hover:bg-slate-100 dark:border-zinc-700 dark:hover:bg-zinc-700/50": d,
14
- "bg-slate-100 dark:bg-zinc-700/50": !d
15
- }),
16
- title: l,
17
- placement: "right",
18
- iconCollapsed: /* @__PURE__ */ n(i, { icon: "fa-solid fa-angle-down" }),
19
- iconExpanded: /* @__PURE__ */ n(i, { icon: "fa-solid fa-angle-up" }),
20
- children: /* @__PURE__ */ n(e, { styleKeys: u })
21
- }), /* @__PURE__ */ n(a.Content, {
22
- className: t("flex flex-col gap-3 p-2", { "border-b border-gray-200 dark:border-zinc-700": !d }, s),
23
- children: c
24
- })]
25
- });
11
+ var u = ({ className: u, classNameContent: d, children: f, title: p = "Title", dotKeys: m, advancedKeys: h, isCollapsed: g = !0, onCollapse: _ }) => {
12
+ let [v, y] = c(`builder-state.styleInspector.advanced.${p}`, !1), { hasValues: b } = e({
13
+ keys: h,
14
+ asValue: !1
15
+ }), x = i((e) => {
16
+ e.stopPropagation(), y((e) => !e);
17
+ }, [y]);
18
+ return /* @__PURE__ */ o(l, {
19
+ className: u,
20
+ collapsed: g,
21
+ onChange: _,
22
+ children: [/* @__PURE__ */ a(l.Header, {
23
+ className: r("h-8", {
24
+ "border-b border-gray-200 hover:bg-slate-100 dark:border-zinc-700 dark:hover:bg-zinc-700/50": g,
25
+ "bg-slate-100 dark:bg-zinc-700/50": !g
26
+ }),
27
+ title: p,
28
+ placement: "right",
29
+ iconCollapsed: /* @__PURE__ */ a(s, { icon: "fa-solid fa-angle-down" }),
30
+ iconExpanded: /* @__PURE__ */ a(s, { icon: "fa-solid fa-angle-up" }),
31
+ children: /* @__PURE__ */ o("div", {
32
+ className: "flex items-center gap-2",
33
+ children: [/* @__PURE__ */ a(n, { styleKeys: m }), !!h?.length && !g && /* @__PURE__ */ a(s, {
34
+ className: r("cursor-pointer text-xs", {
35
+ "text-blue-500": v,
36
+ "text-orange-500": !v && b,
37
+ "text-gray-400 hover:text-gray-600 dark:text-zinc-500 dark:hover:text-zinc-300": !v && !b
38
+ }),
39
+ icon: "fa-solid fa-sliders",
40
+ title: v ? "Hide advanced properties" : "Show advanced properties",
41
+ onClick: x
42
+ })]
43
+ })
44
+ }), /* @__PURE__ */ a(l.Content, {
45
+ className: r("flex flex-col gap-3 p-2", { "border-b border-gray-200 dark:border-zinc-700": !g }, d),
46
+ children: /* @__PURE__ */ a(t, {
47
+ value: v,
48
+ children: f
49
+ })
50
+ })]
51
+ });
52
+ };
26
53
  //#endregion
27
- export { o as default };
54
+ export { u as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plitzi/sdk-style",
3
- "version": "0.32.20",
3
+ "version": "0.32.21",
4
4
  "license": "AGPL-3.0",
5
5
  "files": [
6
6
  "dist"
@@ -502,6 +502,38 @@
502
502
  "types": "./dist/components/StyleInspector/categories/ListItem/index.d.ts",
503
503
  "import": "./dist/components/StyleInspector/categories/ListItem/index.mjs"
504
504
  },
505
+ "./components/StyleInspector/categories/Others": {
506
+ "types": "./dist/components/StyleInspector/categories/Others/index.d.ts",
507
+ "import": "./dist/components/StyleInspector/categories/Others/index.mjs"
508
+ },
509
+ "./components/StyleInspector/categories/Others/Others": {
510
+ "types": "./dist/components/StyleInspector/categories/Others/Others.d.ts",
511
+ "import": "./dist/components/StyleInspector/categories/Others/Others.mjs"
512
+ },
513
+ "./components/StyleInspector/categories/Others/OthersForm": {
514
+ "types": "./dist/components/StyleInspector/categories/Others/OthersForm.d.ts",
515
+ "import": "./dist/components/StyleInspector/categories/Others/OthersForm.mjs"
516
+ },
517
+ "./components/StyleInspector/categories/Others/OthersInteraction": {
518
+ "types": "./dist/components/StyleInspector/categories/Others/OthersInteraction.d.ts",
519
+ "import": "./dist/components/StyleInspector/categories/Others/OthersInteraction.mjs"
520
+ },
521
+ "./components/StyleInspector/categories/Others/OthersOutline": {
522
+ "types": "./dist/components/StyleInspector/categories/Others/OthersOutline.d.ts",
523
+ "import": "./dist/components/StyleInspector/categories/Others/OthersOutline.mjs"
524
+ },
525
+ "./components/StyleInspector/categories/Others/OthersSvg": {
526
+ "types": "./dist/components/StyleInspector/categories/Others/OthersSvg.d.ts",
527
+ "import": "./dist/components/StyleInspector/categories/Others/OthersSvg.mjs"
528
+ },
529
+ "./components/StyleInspector/categories/Others/OthersTable": {
530
+ "types": "./dist/components/StyleInspector/categories/Others/OthersTable.d.ts",
531
+ "import": "./dist/components/StyleInspector/categories/Others/OthersTable.mjs"
532
+ },
533
+ "./components/StyleInspector/categories/Others/index": {
534
+ "types": "./dist/components/StyleInspector/categories/Others/index.d.ts",
535
+ "import": "./dist/components/StyleInspector/categories/Others/index.mjs"
536
+ },
505
537
  "./components/StyleInspector/categories/Position": {
506
538
  "types": "./dist/components/StyleInspector/categories/Position/index.d.ts",
507
539
  "import": "./dist/components/StyleInspector/categories/Position/index.mjs"
@@ -606,6 +638,14 @@
606
638
  "types": "./dist/components/StyleInspector/categories/Typography/TypographyAlign.d.ts",
607
639
  "import": "./dist/components/StyleInspector/categories/Typography/TypographyAlign.mjs"
608
640
  },
641
+ "./components/StyleInspector/categories/Typography/TypographyBreaking": {
642
+ "types": "./dist/components/StyleInspector/categories/Typography/TypographyBreaking.d.ts",
643
+ "import": "./dist/components/StyleInspector/categories/Typography/TypographyBreaking.mjs"
644
+ },
645
+ "./components/StyleInspector/categories/Typography/TypographyClamp": {
646
+ "types": "./dist/components/StyleInspector/categories/Typography/TypographyClamp.d.ts",
647
+ "import": "./dist/components/StyleInspector/categories/Typography/TypographyClamp.mjs"
648
+ },
609
649
  "./components/StyleInspector/categories/Typography/TypographyConstants": {
610
650
  "types": "./dist/components/StyleInspector/categories/Typography/TypographyConstants.d.ts",
611
651
  "import": "./dist/components/StyleInspector/categories/Typography/TypographyConstants.mjs"
@@ -646,6 +686,22 @@
646
686
  "types": "./dist/components/StyleInspector/categories/Variables/index.d.ts",
647
687
  "import": "./dist/components/StyleInspector/categories/Variables/index.mjs"
648
688
  },
689
+ "./components/StyleInspector/components/CategoryAdvanced": {
690
+ "types": "./dist/components/StyleInspector/components/CategoryAdvanced/index.d.ts",
691
+ "import": "./dist/components/StyleInspector/components/CategoryAdvanced/index.mjs"
692
+ },
693
+ "./components/StyleInspector/components/CategoryAdvanced/CategoryAdvanced": {
694
+ "types": "./dist/components/StyleInspector/components/CategoryAdvanced/CategoryAdvanced.d.ts",
695
+ "import": "./dist/components/StyleInspector/components/CategoryAdvanced/CategoryAdvanced.mjs"
696
+ },
697
+ "./components/StyleInspector/components/CategoryAdvanced/CategoryAdvancedContext": {
698
+ "types": "./dist/components/StyleInspector/components/CategoryAdvanced/CategoryAdvancedContext.d.ts",
699
+ "import": "./dist/components/StyleInspector/components/CategoryAdvanced/CategoryAdvancedContext.mjs"
700
+ },
701
+ "./components/StyleInspector/components/CategoryAdvanced/index": {
702
+ "types": "./dist/components/StyleInspector/components/CategoryAdvanced/index.d.ts",
703
+ "import": "./dist/components/StyleInspector/components/CategoryAdvanced/index.mjs"
704
+ },
649
705
  "./components/StyleInspector/components/CategoryContainer": {
650
706
  "types": "./dist/components/StyleInspector/components/CategoryContainer/index.d.ts",
651
707
  "import": "./dist/components/StyleInspector/components/CategoryContainer/index.mjs"
@@ -836,9 +892,9 @@
836
892
  },
837
893
  "dependencies": {
838
894
  "@plitzi/plitzi-ui": "^1.6.18",
839
- "@plitzi/sdk-plugins": "0.32.20",
840
- "@plitzi/sdk-shared": "0.32.20",
841
- "@plitzi/sdk-variables": "0.32.20",
895
+ "@plitzi/sdk-plugins": "0.32.21",
896
+ "@plitzi/sdk-shared": "0.32.21",
897
+ "@plitzi/sdk-variables": "0.32.21",
842
898
  "clsx": "^2.1.1",
843
899
  "immer": "^11.1.15",
844
900
  "prop-types": "^15.8.1",