@k8o/arte-odyssey 10.1.0 → 10.1.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/README.md +64 -21
- package/dist/components/data-display/card/card.d.mts +6 -2
- package/dist/components/data-display/card/card.mjs +2 -2
- package/dist/components/data-display/card/index.d.mts +1 -2
- package/dist/components/data-display/card/index.mjs +1 -2
- package/dist/components/data-display/table/table.mjs +1 -1
- package/dist/components/form/checkbox-group/index.d.mts +3 -3
- package/dist/components/form/slider/slider.mjs +1 -1
- package/dist/components/index.d.mts +1 -2
- package/dist/components/index.mjs +1 -2
- package/dist/index.d.mts +1 -2
- package/dist/index.mjs +1 -2
- package/dist/integrations/_shared/openui-defs.d.mts +19 -0
- package/dist/integrations/_shared/openui-defs.mjs +159 -0
- package/dist/integrations/_shared/renderers.d.mts +2 -3
- package/dist/integrations/_shared/renderers.mjs +2 -12
- package/dist/integrations/_shared/schemas.d.mts +8 -23
- package/dist/integrations/_shared/schemas.mjs +2 -2
- package/dist/integrations/json-render/catalog.d.mts +395 -337
- package/dist/integrations/json-render/catalog.mjs +77 -9
- package/dist/integrations/json-render/registry.d.mts +27 -1
- package/dist/integrations/json-render/registry.mjs +27 -4
- package/dist/integrations/openui/library.d.mts +205 -1
- package/dist/integrations/openui/library.mjs +61 -423
- package/dist/integrations/openui/prompt.d.mts +6 -0
- package/dist/integrations/openui/prompt.mjs +19 -0
- package/dist/styles/tokens.css +2 -2
- package/dist/styles/tokens.generated.d.mts +6 -6
- package/dist/styles/tokens.generated.mjs +6 -6
- package/docs/GUIDE.md +6 -5
- package/docs/llms.txt +23 -0
- package/docs/references/components.md +6 -6
- package/docs/references/generative-ui.md +112 -0
- package/package.json +20 -2
- package/dist/components/data-display/card/interactive-card.d.mts +0 -7
- package/dist/components/data-display/card/interactive-card.mjs +0 -10
- package/dist/components/data-display/card/type.d.mts +0 -9
- package/dist/components/data-display/card/type.mjs +0 -1
|
@@ -39,9 +39,9 @@ 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
|
+
form: "form";
|
|
42
43
|
link: "link";
|
|
43
44
|
check: "check";
|
|
44
|
-
form: "form";
|
|
45
45
|
list: "list";
|
|
46
46
|
plus: "plus";
|
|
47
47
|
minus: "minus";
|
|
@@ -94,9 +94,9 @@ declare const iconName: z.ZodEnum<{
|
|
|
94
94
|
}>;
|
|
95
95
|
declare const iconProps: z.ZodObject<{
|
|
96
96
|
name: z.ZodEnum<{
|
|
97
|
+
form: "form";
|
|
97
98
|
link: "link";
|
|
98
99
|
check: "check";
|
|
99
|
-
form: "form";
|
|
100
100
|
list: "list";
|
|
101
101
|
plus: "plus";
|
|
102
102
|
minus: "minus";
|
|
@@ -155,9 +155,9 @@ declare const iconProps: z.ZodObject<{
|
|
|
155
155
|
}, z.core.$strip>;
|
|
156
156
|
declare const iconButtonProps: z.ZodObject<{
|
|
157
157
|
icon: z.ZodEnum<{
|
|
158
|
+
form: "form";
|
|
158
159
|
link: "link";
|
|
159
160
|
check: "check";
|
|
160
|
-
form: "form";
|
|
161
161
|
list: "list";
|
|
162
162
|
plus: "plus";
|
|
163
163
|
minus: "minus";
|
|
@@ -320,21 +320,7 @@ declare const cardProps: z.ZodObject<{
|
|
|
320
320
|
shadow: "shadow";
|
|
321
321
|
bordered: "bordered";
|
|
322
322
|
}>>;
|
|
323
|
-
|
|
324
|
-
sm: "sm";
|
|
325
|
-
md: "md";
|
|
326
|
-
lg: "lg";
|
|
327
|
-
}>>;
|
|
328
|
-
}, z.core.$strip>;
|
|
329
|
-
declare const interactiveCardProps: z.ZodObject<{
|
|
330
|
-
width: z.ZodOptional<z.ZodEnum<{
|
|
331
|
-
full: "full";
|
|
332
|
-
fit: "fit";
|
|
333
|
-
}>>;
|
|
334
|
-
appearance: z.ZodOptional<z.ZodEnum<{
|
|
335
|
-
shadow: "shadow";
|
|
336
|
-
bordered: "bordered";
|
|
337
|
-
}>>;
|
|
323
|
+
interactive: z.ZodOptional<z.ZodBoolean>;
|
|
338
324
|
size: z.ZodOptional<z.ZodEnum<{
|
|
339
325
|
sm: "sm";
|
|
340
326
|
md: "md";
|
|
@@ -403,18 +389,18 @@ declare const stackProps: z.ZodObject<{
|
|
|
403
389
|
column: "column";
|
|
404
390
|
}>>;
|
|
405
391
|
gap: z.ZodOptional<z.ZodEnum<{
|
|
406
|
-
none: "none";
|
|
407
392
|
sm: "sm";
|
|
408
393
|
md: "md";
|
|
409
394
|
lg: "lg";
|
|
410
395
|
xl: "xl";
|
|
396
|
+
none: "none";
|
|
411
397
|
}>>;
|
|
412
398
|
padding: z.ZodOptional<z.ZodEnum<{
|
|
413
|
-
none: "none";
|
|
414
399
|
sm: "sm";
|
|
415
400
|
md: "md";
|
|
416
401
|
lg: "lg";
|
|
417
402
|
xl: "xl";
|
|
403
|
+
none: "none";
|
|
418
404
|
}>>;
|
|
419
405
|
align: z.ZodOptional<z.ZodEnum<{
|
|
420
406
|
start: "start";
|
|
@@ -433,11 +419,11 @@ declare const gridProps: z.ZodObject<{
|
|
|
433
419
|
cols: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<"auto-fill">, z.ZodLiteral<"auto-fit">]>>;
|
|
434
420
|
minItemSize: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<32>, z.ZodLiteral<40>, z.ZodLiteral<48>, z.ZodLiteral<64>, z.ZodLiteral<80>]>>;
|
|
435
421
|
gap: z.ZodOptional<z.ZodEnum<{
|
|
436
|
-
none: "none";
|
|
437
422
|
sm: "sm";
|
|
438
423
|
md: "md";
|
|
439
424
|
lg: "lg";
|
|
440
425
|
xl: "xl";
|
|
426
|
+
none: "none";
|
|
441
427
|
}>>;
|
|
442
428
|
}, z.core.$strip>;
|
|
443
429
|
declare const scrollLinkedProps: z.ZodObject<{}, z.core.$strip>;
|
|
@@ -696,7 +682,6 @@ type PaginationProps = z.infer<typeof paginationProps>;
|
|
|
696
682
|
type GridProps = z.infer<typeof gridProps>;
|
|
697
683
|
type ChevronIconProps = z.infer<typeof chevronIconProps>;
|
|
698
684
|
type StatusIconProps = z.infer<typeof statusIconProps>;
|
|
699
|
-
type InteractiveCardProps = z.infer<typeof interactiveCardProps>;
|
|
700
685
|
type FormProps = z.infer<typeof formProps>;
|
|
701
686
|
type ModalProps = z.infer<typeof modalProps>;
|
|
702
687
|
type DialogProps = z.infer<typeof dialogProps>;
|
|
@@ -718,4 +703,4 @@ type CoversComponent<Component, Zod> = [Exclude<NonNullable<Component>, Zod>] ex
|
|
|
718
703
|
type AssertCovered<T extends true> = T;
|
|
719
704
|
type _EnumCoverage = [AssertCovered<CoversComponent<ComponentProps<typeof Button>['variant'], ButtonProps['variant']>>, AssertCovered<CoversComponent<ComponentProps<typeof Button>['color'], ButtonProps['color']>>, AssertCovered<CoversComponent<ComponentProps<typeof Button>['size'], ButtonProps['size']>>, AssertCovered<CoversComponent<ComponentProps<typeof Badge>['tone'], BadgeProps['tone']>>, AssertCovered<CoversComponent<ComponentProps<typeof Badge>['variant'], BadgeProps['variant']>>, AssertCovered<CoversComponent<ComponentProps<typeof Badge>['size'], BadgeProps['size']>>, AssertCovered<CoversComponent<ComponentProps<typeof Card>['width'], CardProps['width']>>, AssertCovered<CoversComponent<ComponentProps<typeof Card>['appearance'], CardProps['appearance']>>, AssertCovered<CoversComponent<ComponentProps<typeof Alert>['tone'], AlertProps['tone']>>, AssertCovered<CoversComponent<ComponentProps<typeof Separator>['orientation'], SeparatorProps['orientation']>>, AssertCovered<CoversComponent<ComponentProps<typeof Separator>['color'], SeparatorProps['color']>>, AssertCovered<CoversComponent<ComponentProps<typeof Modal>['type'], ModalProps['type']>>, AssertCovered<CoversComponent<ComponentProps<typeof Drawer>['side'], DrawerProps['side']>>, AssertCovered<CoversComponent<ComponentProps<typeof Heading>['type'], HeadingProps['level']>>, AssertCovered<CoversComponent<ComponentProps<typeof Avatar>['size'], AvatarProps['size']>>, AssertCovered<CoversComponent<ComponentProps<typeof Spinner>['size'], SpinnerProps['size']>>, AssertCovered<CoversComponent<ComponentProps<typeof Skeleton>['shape'], SkeletonProps['shape']>>, AssertCovered<CoversComponent<ComponentProps<typeof Skeleton>['size'], SkeletonProps['size']>>, AssertCovered<CoversComponent<ComponentProps<typeof IconButton>['size'], IconButtonProps['size']>>, AssertCovered<CoversComponent<ComponentProps<typeof IconButton>['color'], IconButtonProps['color']>>, AssertCovered<CoversComponent<ComponentProps<typeof ChevronIcon>['direction'], ChevronIconProps['direction']>>, AssertCovered<CoversComponent<ComponentProps<typeof AlertIcon>['status'], StatusIconProps['status']>>, AssertCovered<CoversComponent<ComponentProps<typeof Stack>['direction'], StackProps['direction']>>, AssertCovered<CoversComponent<ComponentProps<typeof Stack>['gap'], StackProps['gap']>>, AssertCovered<CoversComponent<ComponentProps<typeof Stack>['align'], StackProps['align']>>, AssertCovered<CoversComponent<ComponentProps<typeof Stack>['justify'], StackProps['justify']>>, AssertCovered<CoversComponent<ComponentProps<typeof Grid>['cols'], GridProps['cols']>>, AssertCovered<CoversComponent<ComponentProps<typeof Grid>['minItemSize'], GridProps['minItemSize']>>, AssertCovered<CoversComponent<ComponentProps<typeof Grid>['gap'], GridProps['gap']>>, AssertCovered<CoversComponent<ComponentProps<typeof Breadcrumb.List>['size'], BreadcrumbProps['size']>>];
|
|
720
705
|
//#endregion
|
|
721
|
-
export { AccordionProps, AlertProps, AnchorProps, AutocompleteProps, AvatarProps, BadgeProps, BaselineStatusProps, BreadcrumbProps, ButtonProps, CardProps, CheckboxCardProps, CheckboxGroupProps, CheckboxProps, ChevronIconProps, CodeProps, DialogProps, DrawerProps, DropdownMenuProps, FileFieldProps, FormControlProps, FormProps, GridProps, HeadingProps, IconButtonProps, IconName, IconProps,
|
|
706
|
+
export { AccordionProps, AlertProps, AnchorProps, AutocompleteProps, AvatarProps, BadgeProps, BaselineStatusProps, BreadcrumbProps, ButtonProps, CardProps, CheckboxCardProps, CheckboxGroupProps, CheckboxProps, ChevronIconProps, CodeProps, DialogProps, DrawerProps, DropdownMenuProps, FileFieldProps, FormControlProps, FormProps, GridProps, HeadingProps, IconButtonProps, IconName, 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, _EnumCoverage, accordionProps, alertProps, anchorProps, autocompleteProps, avatarProps, badgeProps, baselineStatusProps, breadcrumbProps, buttonProps, cardProps, checkboxCardProps, checkboxGroupProps, checkboxProps, chevronIconProps, codeProps, dialogProps, drawerProps, dropdownMenuProps, fileFieldProps, formControlProps, formProps, gridProps, headingProps, iconButtonProps, iconName, 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 };
|
|
@@ -213,13 +213,13 @@ const tableProps = z.object({
|
|
|
213
213
|
const cardProps = z.object({
|
|
214
214
|
width: z.enum(["full", "fit"]).optional(),
|
|
215
215
|
appearance: z.enum(["shadow", "bordered"]).optional(),
|
|
216
|
+
interactive: z.boolean().optional(),
|
|
216
217
|
size: z.enum([
|
|
217
218
|
"sm",
|
|
218
219
|
"md",
|
|
219
220
|
"lg"
|
|
220
221
|
]).optional()
|
|
221
222
|
});
|
|
222
|
-
const interactiveCardProps = cardProps;
|
|
223
223
|
const alertProps = z.object({
|
|
224
224
|
tone: z.enum([
|
|
225
225
|
"success",
|
|
@@ -505,4 +505,4 @@ const dropdownMenuProps = z.object({
|
|
|
505
505
|
items: z.array(z.object({ label: z.string() })).min(1).describe("メニュー項目")
|
|
506
506
|
});
|
|
507
507
|
//#endregion
|
|
508
|
-
export { accordionProps, alertProps, anchorProps, autocompleteProps, avatarProps, badgeProps, baselineStatusProps, breadcrumbProps, buttonProps, cardProps, checkboxCardProps, checkboxGroupProps, checkboxProps, chevronIconProps, codeProps, dialogProps, drawerProps, dropdownMenuProps, fileFieldProps, formControlProps, formProps, gridProps, headingProps, iconButtonProps, iconName, iconProps,
|
|
508
|
+
export { accordionProps, alertProps, anchorProps, autocompleteProps, avatarProps, badgeProps, baselineStatusProps, breadcrumbProps, buttonProps, cardProps, checkboxCardProps, checkboxGroupProps, checkboxProps, chevronIconProps, codeProps, dialogProps, drawerProps, dropdownMenuProps, fileFieldProps, formControlProps, formProps, gridProps, headingProps, iconButtonProps, iconName, 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 };
|