@k8o/arte-odyssey 10.6.3 → 10.6.4
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/components/form/checkbox-group/index.d.mts +3 -3
- package/dist/integrations/_shared/openui-defs.mjs +1 -1
- package/dist/integrations/_shared/schemas.d.mts +11 -11
- package/dist/integrations/json-render/catalog.d.mts +10 -10
- package/dist/integrations/json-render/registry.mjs +1 -1
- package/dist/integrations/openui/library.mjs +1 -1
- package/dist/styles/tokens.css +1 -1
- package/dist/styles/tokens.generated.d.mts +3 -3
- package/dist/styles/tokens.generated.mjs +3 -3
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ declare const CheckboxGroup: import("react").FC<{
|
|
|
3
3
|
invalid?: boolean;
|
|
4
4
|
required?: boolean;
|
|
5
5
|
name: string;
|
|
6
|
-
} & Omit<import("react").FieldsetHTMLAttributes<HTMLFieldSetElement>, "
|
|
6
|
+
} & Omit<import("react").FieldsetHTMLAttributes<HTMLFieldSetElement>, "className" | "style" | "onChange" | "name" | "defaultValue"> & {
|
|
7
7
|
children?: import("react").ReactNode | undefined;
|
|
8
8
|
} & ({
|
|
9
9
|
value: string[];
|
|
@@ -18,7 +18,7 @@ declare const CheckboxGroup: import("react").FC<{
|
|
|
18
18
|
invalid?: boolean;
|
|
19
19
|
required?: boolean;
|
|
20
20
|
name: string;
|
|
21
|
-
} & Omit<import("react").FieldsetHTMLAttributes<HTMLFieldSetElement>, "
|
|
21
|
+
} & Omit<import("react").FieldsetHTMLAttributes<HTMLFieldSetElement>, "className" | "style" | "onChange" | "name" | "defaultValue"> & {
|
|
22
22
|
children?: import("react").ReactNode | undefined;
|
|
23
23
|
} & ({
|
|
24
24
|
value: string[];
|
|
@@ -33,7 +33,7 @@ declare const CheckboxGroup: import("react").FC<{
|
|
|
33
33
|
Item: import("react").FC<{
|
|
34
34
|
itemValue?: string;
|
|
35
35
|
label: string;
|
|
36
|
-
} & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "
|
|
36
|
+
} & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "type" | "className" | "style" | "value" | "onChange" | "defaultChecked" | "checked" | "children"> & ({
|
|
37
37
|
value: boolean;
|
|
38
38
|
onChange: (checked: boolean, event: import("react").ChangeEvent<HTMLInputElement>) => void;
|
|
39
39
|
defaultChecked?: never;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { accordionProps, alertProps, anchorProps, autocompleteProps, avatarProps, badgeProps, baselineStatusProps, breadcrumbProps, buttonProps, cardProps, checkboxCardProps, checkboxGroupProps, checkboxProps, chevronIconProps, codeProps, dialogProps, drawerProps, dropdownMenuProps, fileFieldProps, formControlProps, formProps, gridProps, headingProps, iconButtonProps, iconProps, listBoxProps, modalProps, numberFieldProps, paginationProps, passwordInputProps, popoverProps, progressProps, radioCardProps, radioProps, scrollLinkedProps, selectProps, separatorProps, skeletonProps, sliderProps, spinnerProps, stackProps, statusIconProps, switchProps, tableProps, tabsProps, textFieldProps, textareaProps, toastProps, tooltipProps } from "./schemas.mjs";
|
|
2
|
-
import { createLibrary, defineComponent } from "@openuidev/lang-core";
|
|
3
2
|
import { z } from "zod";
|
|
3
|
+
import { createLibrary, defineComponent } from "@openuidev/lang-core";
|
|
4
4
|
//#region src/integrations/_shared/openui-defs.ts
|
|
5
5
|
const buildArteOdysseyLibrary = (render) => {
|
|
6
6
|
const def = (name, description, props) => defineComponent({
|
|
@@ -39,10 +39,10 @@ declare const buttonProps: z.ZodObject<{
|
|
|
39
39
|
href: z.ZodOptional<z.ZodString>;
|
|
40
40
|
}, z.core.$strip>;
|
|
41
41
|
declare const iconName: z.ZodEnum<{
|
|
42
|
-
link: "link";
|
|
43
|
-
check: "check";
|
|
44
42
|
form: "form";
|
|
45
43
|
list: "list";
|
|
44
|
+
link: "link";
|
|
45
|
+
check: "check";
|
|
46
46
|
plus: "plus";
|
|
47
47
|
minus: "minus";
|
|
48
48
|
close: "close";
|
|
@@ -94,10 +94,10 @@ declare const iconName: z.ZodEnum<{
|
|
|
94
94
|
}>;
|
|
95
95
|
declare const iconProps: z.ZodObject<{
|
|
96
96
|
name: z.ZodEnum<{
|
|
97
|
-
link: "link";
|
|
98
|
-
check: "check";
|
|
99
97
|
form: "form";
|
|
100
98
|
list: "list";
|
|
99
|
+
link: "link";
|
|
100
|
+
check: "check";
|
|
101
101
|
plus: "plus";
|
|
102
102
|
minus: "minus";
|
|
103
103
|
close: "close";
|
|
@@ -155,10 +155,10 @@ declare const iconProps: z.ZodObject<{
|
|
|
155
155
|
}, z.core.$strip>;
|
|
156
156
|
declare const iconButtonProps: z.ZodObject<{
|
|
157
157
|
icon: z.ZodEnum<{
|
|
158
|
-
link: "link";
|
|
159
|
-
check: "check";
|
|
160
158
|
form: "form";
|
|
161
159
|
list: "list";
|
|
160
|
+
link: "link";
|
|
161
|
+
check: "check";
|
|
162
162
|
plus: "plus";
|
|
163
163
|
minus: "minus";
|
|
164
164
|
close: "close";
|
|
@@ -215,9 +215,9 @@ declare const iconButtonProps: z.ZodObject<{
|
|
|
215
215
|
lg: "lg";
|
|
216
216
|
}>>;
|
|
217
217
|
color: z.ZodOptional<z.ZodEnum<{
|
|
218
|
+
transparent: "transparent";
|
|
218
219
|
primary: "primary";
|
|
219
220
|
secondary: "secondary";
|
|
220
|
-
transparent: "transparent";
|
|
221
221
|
base: "base";
|
|
222
222
|
}>>;
|
|
223
223
|
}, z.core.$strip>;
|
|
@@ -237,9 +237,9 @@ declare const chevronIconProps: z.ZodObject<{
|
|
|
237
237
|
declare const statusIconProps: z.ZodObject<{
|
|
238
238
|
status: z.ZodEnum<{
|
|
239
239
|
success: "success";
|
|
240
|
-
error: "error";
|
|
241
240
|
info: "info";
|
|
242
241
|
warning: "warning";
|
|
242
|
+
error: "error";
|
|
243
243
|
}>;
|
|
244
244
|
size: z.ZodOptional<z.ZodEnum<{
|
|
245
245
|
sm: "sm";
|
|
@@ -251,9 +251,9 @@ declare const badgeProps: z.ZodObject<{
|
|
|
251
251
|
text: z.ZodString;
|
|
252
252
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
253
253
|
success: "success";
|
|
254
|
-
error: "error";
|
|
255
254
|
info: "info";
|
|
256
255
|
warning: "warning";
|
|
256
|
+
error: "error";
|
|
257
257
|
neutral: "neutral";
|
|
258
258
|
}>>;
|
|
259
259
|
variant: z.ZodOptional<z.ZodEnum<{
|
|
@@ -330,9 +330,9 @@ declare const cardProps: z.ZodObject<{
|
|
|
330
330
|
declare const alertProps: z.ZodObject<{
|
|
331
331
|
tone: z.ZodEnum<{
|
|
332
332
|
success: "success";
|
|
333
|
-
error: "error";
|
|
334
333
|
info: "info";
|
|
335
334
|
warning: "warning";
|
|
335
|
+
error: "error";
|
|
336
336
|
}>;
|
|
337
337
|
message: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
338
338
|
}, z.core.$strip>;
|
|
@@ -366,9 +366,9 @@ declare const toastProps: z.ZodObject<{
|
|
|
366
366
|
triggerLabel: z.ZodString;
|
|
367
367
|
tone: z.ZodEnum<{
|
|
368
368
|
success: "success";
|
|
369
|
-
error: "error";
|
|
370
369
|
info: "info";
|
|
371
370
|
warning: "warning";
|
|
371
|
+
error: "error";
|
|
372
372
|
}>;
|
|
373
373
|
message: z.ZodString;
|
|
374
374
|
}, z.core.$strip>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
1
|
import { Spec, UIElement } from "@json-render/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/integrations/json-render/catalog.d.ts
|
|
5
5
|
/**
|
|
@@ -134,9 +134,9 @@ declare const catalog: import("@json-render/core").Catalog<{
|
|
|
134
134
|
text: z.ZodString;
|
|
135
135
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
136
136
|
success: "success";
|
|
137
|
-
error: "error";
|
|
138
137
|
info: "info";
|
|
139
138
|
warning: "warning";
|
|
139
|
+
error: "error";
|
|
140
140
|
neutral: "neutral";
|
|
141
141
|
}>>;
|
|
142
142
|
variant: z.ZodOptional<z.ZodEnum<{
|
|
@@ -170,9 +170,9 @@ declare const catalog: import("@json-render/core").Catalog<{
|
|
|
170
170
|
props: z.ZodObject<{
|
|
171
171
|
tone: z.ZodEnum<{
|
|
172
172
|
success: "success";
|
|
173
|
-
error: "error";
|
|
174
173
|
info: "info";
|
|
175
174
|
warning: "warning";
|
|
175
|
+
error: "error";
|
|
176
176
|
}>;
|
|
177
177
|
message: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
178
178
|
}, z.core.$strip>;
|
|
@@ -352,10 +352,10 @@ declare const catalog: import("@json-render/core").Catalog<{
|
|
|
352
352
|
Icon: {
|
|
353
353
|
props: z.ZodObject<{
|
|
354
354
|
name: z.ZodEnum<{
|
|
355
|
-
link: "link";
|
|
356
|
-
check: "check";
|
|
357
355
|
form: "form";
|
|
358
356
|
list: "list";
|
|
357
|
+
link: "link";
|
|
358
|
+
check: "check";
|
|
359
359
|
plus: "plus";
|
|
360
360
|
minus: "minus";
|
|
361
361
|
close: "close";
|
|
@@ -433,9 +433,9 @@ declare const catalog: import("@json-render/core").Catalog<{
|
|
|
433
433
|
props: z.ZodObject<{
|
|
434
434
|
status: z.ZodEnum<{
|
|
435
435
|
success: "success";
|
|
436
|
-
error: "error";
|
|
437
436
|
info: "info";
|
|
438
437
|
warning: "warning";
|
|
438
|
+
error: "error";
|
|
439
439
|
}>;
|
|
440
440
|
size: z.ZodOptional<z.ZodEnum<{
|
|
441
441
|
sm: "sm";
|
|
@@ -448,10 +448,10 @@ declare const catalog: import("@json-render/core").Catalog<{
|
|
|
448
448
|
IconButton: {
|
|
449
449
|
props: z.ZodObject<{
|
|
450
450
|
icon: z.ZodEnum<{
|
|
451
|
-
link: "link";
|
|
452
|
-
check: "check";
|
|
453
451
|
form: "form";
|
|
454
452
|
list: "list";
|
|
453
|
+
link: "link";
|
|
454
|
+
check: "check";
|
|
455
455
|
plus: "plus";
|
|
456
456
|
minus: "minus";
|
|
457
457
|
close: "close";
|
|
@@ -508,9 +508,9 @@ declare const catalog: import("@json-render/core").Catalog<{
|
|
|
508
508
|
lg: "lg";
|
|
509
509
|
}>>;
|
|
510
510
|
color: z.ZodOptional<z.ZodEnum<{
|
|
511
|
+
transparent: "transparent";
|
|
511
512
|
primary: "primary";
|
|
512
513
|
secondary: "secondary";
|
|
513
|
-
transparent: "transparent";
|
|
514
514
|
base: "base";
|
|
515
515
|
}>>;
|
|
516
516
|
}, z.core.$strip>;
|
|
@@ -685,9 +685,9 @@ declare const catalog: import("@json-render/core").Catalog<{
|
|
|
685
685
|
triggerLabel: z.ZodString;
|
|
686
686
|
tone: z.ZodEnum<{
|
|
687
687
|
success: "success";
|
|
688
|
-
error: "error";
|
|
689
688
|
info: "info";
|
|
690
689
|
warning: "warning";
|
|
690
|
+
error: "error";
|
|
691
691
|
}>;
|
|
692
692
|
message: z.ZodString;
|
|
693
693
|
}, z.core.$strip>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { DialogWidget, DrawerWidget, FileFieldWidget, FormControlWidget, ModalWidget, ToastWidget, renderAccordion, renderAlert, renderAnchor, renderAutocomplete, renderAvatar, renderBadge, renderBaselineStatus, renderBreadcrumb, renderButton, renderCard, renderCheckbox, renderCheckboxCard, renderCheckboxGroup, renderChevronIcon, renderCode, renderDropdownMenu, renderForm, renderGrid, renderHeading, renderIcon, renderIconButton, renderListBox, renderNumberField, renderPagination, renderPasswordInput, renderPopover, renderProgress, renderRadio, renderRadioCard, renderScrollLinked, renderSelect, renderSeparator, renderSkeleton, renderSlider, renderSpinner, renderStack, renderStatusIcon, renderSwitch, renderTable, renderTabs, renderTextField, renderTextarea, renderTooltip } from "../_shared/renderers.mjs";
|
|
3
2
|
import { catalog } from "./catalog.mjs";
|
|
3
|
+
import { DialogWidget, DrawerWidget, FileFieldWidget, FormControlWidget, ModalWidget, ToastWidget, renderAccordion, renderAlert, renderAnchor, renderAutocomplete, renderAvatar, renderBadge, renderBaselineStatus, renderBreadcrumb, renderButton, renderCard, renderCheckbox, renderCheckboxCard, renderCheckboxGroup, renderChevronIcon, renderCode, renderDropdownMenu, renderForm, renderGrid, renderHeading, renderIcon, renderIconButton, renderListBox, renderNumberField, renderPagination, renderPasswordInput, renderPopover, renderProgress, renderRadio, renderRadioCard, renderScrollLinked, renderSelect, renderSeparator, renderSkeleton, renderSlider, renderSpinner, renderStack, renderStatusIcon, renderSwitch, renderTable, renderTabs, renderTextField, renderTextarea, renderTooltip } from "../_shared/renderers.mjs";
|
|
4
4
|
import { useState } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import { JSONUIProvider, Renderer, defineRegistry, useBoundProp } from "@json-render/react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { buildArteOdysseyLibrary } from "../_shared/openui-defs.mjs";
|
|
3
2
|
import { DialogWidget, DrawerWidget, FileFieldWidget, FormControlWidget, ModalWidget, ToastWidget, renderAccordion, renderAlert, renderAnchor, renderAvatar, renderBadge, renderBaselineStatus, renderBreadcrumb, renderButton, renderCard, renderChevronIcon, renderCode, renderDropdownMenu, renderForm, renderGrid, renderHeading, renderIcon, renderIconButton, renderPopover, renderProgress, renderScrollLinked, renderSeparator, renderSkeleton, renderSpinner, renderStack, renderStatusIcon, renderTable, renderTabs, renderTooltip } from "../_shared/renderers.mjs";
|
|
3
|
+
import { buildArteOdysseyLibrary } from "../_shared/openui-defs.mjs";
|
|
4
4
|
import { AutocompleteView, CheckboxCardView, CheckboxGroupView, CheckboxView, ListBoxView, NumberFieldView, PaginationView, PasswordInputView, RadioCardView, RadioView, SelectView, SliderView, SwitchView, TextFieldView, TextareaView } from "./form-views.mjs";
|
|
5
5
|
import { Fragment } from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
package/dist/styles/tokens.css
CHANGED
|
@@ -66,7 +66,7 @@ declare const tokens: {
|
|
|
66
66
|
};
|
|
67
67
|
readonly 'bg-raised': {
|
|
68
68
|
readonly light: "oklch(1 0 0)";
|
|
69
|
-
readonly dark: "oklch(0.
|
|
69
|
+
readonly dark: "oklch(0.3 0.002 235)";
|
|
70
70
|
};
|
|
71
71
|
readonly 'bg-surface': {
|
|
72
72
|
readonly light: "oklch(0.975 0.001 235)";
|
|
@@ -494,7 +494,7 @@ declare const tokens: {
|
|
|
494
494
|
};
|
|
495
495
|
readonly 'bg-raised': {
|
|
496
496
|
readonly light: "oklch(1 0 0)";
|
|
497
|
-
readonly dark: "oklch(0.
|
|
497
|
+
readonly dark: "oklch(0.3 0.002 235)";
|
|
498
498
|
};
|
|
499
499
|
readonly 'bg-surface': {
|
|
500
500
|
readonly light: "oklch(0.975 0.001 235)";
|
|
@@ -667,7 +667,7 @@ declare const tokens: {
|
|
|
667
667
|
};
|
|
668
668
|
readonly 'bg-raised': {
|
|
669
669
|
readonly light: "white";
|
|
670
|
-
readonly dark: "gray-
|
|
670
|
+
readonly dark: "gray-800";
|
|
671
671
|
};
|
|
672
672
|
readonly 'bg-surface': {
|
|
673
673
|
readonly light: "gray-50";
|
|
@@ -64,7 +64,7 @@ const tokens = {
|
|
|
64
64
|
},
|
|
65
65
|
"bg-raised": {
|
|
66
66
|
light: "oklch(1 0 0)",
|
|
67
|
-
dark: "oklch(0.
|
|
67
|
+
dark: "oklch(0.3 0.002 235)"
|
|
68
68
|
},
|
|
69
69
|
"bg-surface": {
|
|
70
70
|
light: "oklch(0.975 0.001 235)",
|
|
@@ -490,7 +490,7 @@ const tokens = {
|
|
|
490
490
|
},
|
|
491
491
|
"bg-raised": {
|
|
492
492
|
light: "oklch(1 0 0)",
|
|
493
|
-
dark: "oklch(0.
|
|
493
|
+
dark: "oklch(0.3 0.002 235)"
|
|
494
494
|
},
|
|
495
495
|
"bg-surface": {
|
|
496
496
|
light: "oklch(0.975 0.001 235)",
|
|
@@ -663,7 +663,7 @@ const tokens = {
|
|
|
663
663
|
},
|
|
664
664
|
"bg-raised": {
|
|
665
665
|
light: "white",
|
|
666
|
-
dark: "gray-
|
|
666
|
+
dark: "gray-800"
|
|
667
667
|
},
|
|
668
668
|
"bg-surface": {
|
|
669
669
|
light: "gray-50",
|
package/package.json
CHANGED