@uniformdev/design-system 20.29.2-alpha.6 → 20.30.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.
- package/dist/esm/index.js +6 -3
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -3
- package/package.json +4 -4
package/dist/esm/index.js
CHANGED
|
@@ -11092,8 +11092,11 @@ var ObjectListItem = css83`
|
|
|
11092
11092
|
container-type: inline-size;
|
|
11093
11093
|
grid-template-columns: minmax(0, auto) 1fr auto;
|
|
11094
11094
|
|
|
11095
|
-
&:hover
|
|
11095
|
+
&:hover,
|
|
11096
|
+
&:focus-within,
|
|
11097
|
+
&:focus-visible {
|
|
11096
11098
|
background: var(--gray-50);
|
|
11099
|
+
outline: none;
|
|
11097
11100
|
}
|
|
11098
11101
|
`;
|
|
11099
11102
|
var ObjectListItemSingle = css83`
|
|
@@ -11210,7 +11213,7 @@ var ObjectListItem2 = ({ minContainerQueryWidth = "34rem", ...props }) => {
|
|
|
11210
11213
|
"aria-selected": isSelected,
|
|
11211
11214
|
...divProps,
|
|
11212
11215
|
children: [
|
|
11213
|
-
/* @__PURE__ */ jsx109(HorizontalRhythm, { gap: "sm", align: "center", children: dragHandle }),
|
|
11216
|
+
/* @__PURE__ */ jsx109(HorizontalRhythm, { gap: "sm", align: "center", "data-testid": "drag-container", children: dragHandle }),
|
|
11214
11217
|
/* @__PURE__ */ jsxs74(
|
|
11215
11218
|
"div",
|
|
11216
11219
|
{
|
|
@@ -15048,7 +15051,7 @@ var ParameterRichTextInner = ({
|
|
|
15048
15051
|
onError: (error) => {
|
|
15049
15052
|
console.error(error);
|
|
15050
15053
|
},
|
|
15051
|
-
editorState: value ? JSON.stringify(value) : void 0,
|
|
15054
|
+
editorState: typeof value === "function" ? value : value ? JSON.stringify(value) : void 0,
|
|
15052
15055
|
nodes: [
|
|
15053
15056
|
ListNode3,
|
|
15054
15057
|
ListItemNode,
|
package/dist/index.d.mts
CHANGED
|
@@ -3473,7 +3473,7 @@ type RichTextProps = {
|
|
|
3473
3473
|
};
|
|
3474
3474
|
type RichTextParamValue = SerializedEditorState | undefined | null;
|
|
3475
3475
|
type ParameterRichTextInnerProps = RichTextProps & {
|
|
3476
|
-
value: RichTextParamValue;
|
|
3476
|
+
value: RichTextParamValue | ((editor: LexicalEditor) => void);
|
|
3477
3477
|
editorWrapperClassName?: string;
|
|
3478
3478
|
editorFooter?: React.ReactNode;
|
|
3479
3479
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -3473,7 +3473,7 @@ type RichTextProps = {
|
|
|
3473
3473
|
};
|
|
3474
3474
|
type RichTextParamValue = SerializedEditorState | undefined | null;
|
|
3475
3475
|
type ParameterRichTextInnerProps = RichTextProps & {
|
|
3476
|
-
value: RichTextParamValue;
|
|
3476
|
+
value: RichTextParamValue | ((editor: LexicalEditor) => void);
|
|
3477
3477
|
editorWrapperClassName?: string;
|
|
3478
3478
|
editorFooter?: React.ReactNode;
|
|
3479
3479
|
};
|
package/dist/index.js
CHANGED
|
@@ -12978,8 +12978,11 @@ var ObjectListItem = import_react127.css`
|
|
|
12978
12978
|
container-type: inline-size;
|
|
12979
12979
|
grid-template-columns: minmax(0, auto) 1fr auto;
|
|
12980
12980
|
|
|
12981
|
-
&:hover
|
|
12981
|
+
&:hover,
|
|
12982
|
+
&:focus-within,
|
|
12983
|
+
&:focus-visible {
|
|
12982
12984
|
background: var(--gray-50);
|
|
12985
|
+
outline: none;
|
|
12983
12986
|
}
|
|
12984
12987
|
`;
|
|
12985
12988
|
var ObjectListItemSingle = import_react127.css`
|
|
@@ -13097,7 +13100,7 @@ var ObjectListItem2 = ({ minContainerQueryWidth = "34rem", ...props }) => {
|
|
|
13097
13100
|
"aria-selected": isSelected,
|
|
13098
13101
|
...divProps,
|
|
13099
13102
|
children: [
|
|
13100
|
-
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(HorizontalRhythm, { gap: "sm", align: "center", children: dragHandle }),
|
|
13103
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(HorizontalRhythm, { gap: "sm", align: "center", "data-testid": "drag-container", children: dragHandle }),
|
|
13101
13104
|
/* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(
|
|
13102
13105
|
"div",
|
|
13103
13106
|
{
|
|
@@ -16897,7 +16900,7 @@ var ParameterRichTextInner = ({
|
|
|
16897
16900
|
onError: (error) => {
|
|
16898
16901
|
console.error(error);
|
|
16899
16902
|
},
|
|
16900
|
-
editorState: value ? JSON.stringify(value) : void 0,
|
|
16903
|
+
editorState: typeof value === "function" ? value : value ? JSON.stringify(value) : void 0,
|
|
16901
16904
|
nodes: [
|
|
16902
16905
|
import_list3.ListNode,
|
|
16903
16906
|
import_list3.ListItemNode,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/design-system",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.30.1",
|
|
4
4
|
"description": "Uniform design system components",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"exports": {
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"@storybook/theming": "^8.3.3",
|
|
39
39
|
"@types/react": "18.3.11",
|
|
40
40
|
"@types/react-dom": "18.3.1",
|
|
41
|
-
"@uniformdev/canvas": "^20.
|
|
42
|
-
"@uniformdev/richtext": "^20.
|
|
41
|
+
"@uniformdev/canvas": "^20.30.1",
|
|
42
|
+
"@uniformdev/richtext": "^20.30.1",
|
|
43
43
|
"@vitest/coverage-v8": "^3.1.2",
|
|
44
44
|
"autoprefixer": "10.4.21",
|
|
45
45
|
"hygen": "6.2.11",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"publishConfig": {
|
|
92
92
|
"access": "public"
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "8f255b1cff89486c0aca67be6c6409c68766276c"
|
|
95
95
|
}
|