@k8o/arte-odyssey 10.6.1 → 10.6.3

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.
@@ -68,7 +68,7 @@ const Autocomplete = ({ id, name, invalid = false, disabled = false, required =
68
68
  /* @__PURE__ */ jsxs("div", {
69
69
  className: "flex min-h-12 items-center justify-between gap-2 px-3 py-2",
70
70
  children: [/* @__PURE__ */ jsxs("div", {
71
- className: "flex w-full flex-wrap gap-1",
71
+ className: "flex w-full min-w-0 flex-wrap gap-1",
72
72
  children: [currentValue.map((selectedValue) => {
73
73
  const label = options.find((option) => option.value === selectedValue)?.label;
74
74
  return /* @__PURE__ */ jsxs("div", {
@@ -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>, "className" | "style" | "defaultValue" | "onChange" | "name"> & {
6
+ } & Omit<import("react").FieldsetHTMLAttributes<HTMLFieldSetElement>, "defaultValue" | "onChange" | "className" | "style" | "name"> & {
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>, "className" | "style" | "defaultValue" | "onChange" | "name"> & {
21
+ } & Omit<import("react").FieldsetHTMLAttributes<HTMLFieldSetElement>, "defaultValue" | "onChange" | "className" | "style" | "name"> & {
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>, "children" | "className" | "style" | "defaultChecked" | "onChange" | "type" | "value" | "checked"> & ({
36
+ } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "type" | "className" | "style" | "checked" | "defaultChecked" | "children"> & ({
37
37
  value: boolean;
38
38
  onChange: (checked: boolean, event: import("react").ChangeEvent<HTMLInputElement>) => void;
39
39
  defaultChecked?: never;
@@ -9,7 +9,7 @@ const FormControl = ({ disabled = false, invalid = false, required = false, labe
9
9
  const describedbyId = invalid && hasErrorText ? `${id}-feedback` : hasHelpText ? `${id}-helptext` : void 0;
10
10
  const labelId = `${id}-label`;
11
11
  return /* @__PURE__ */ jsxs("fieldset", {
12
- className: "flex w-full flex-col",
12
+ className: "flex w-full min-w-0 flex-col",
13
13
  children: [
14
14
  labelAs === "label" ? /* @__PURE__ */ jsxs("label", {
15
15
  className: "text-fg-base text-md mb-1 flex gap-2 pl-0.5 font-bold",
@@ -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
- form: "form";
43
- list: "list";
44
42
  link: "link";
45
43
  check: "check";
44
+ form: "form";
45
+ list: "list";
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
- form: "form";
98
- list: "list";
99
97
  link: "link";
100
98
  check: "check";
99
+ form: "form";
100
+ list: "list";
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
- form: "form";
159
- list: "list";
160
158
  link: "link";
161
159
  check: "check";
160
+ form: "form";
161
+ list: "list";
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";
219
218
  primary: "primary";
220
219
  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";
240
241
  info: "info";
241
242
  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";
254
255
  info: "info";
255
256
  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";
333
334
  info: "info";
334
335
  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";
369
370
  info: "info";
370
371
  warning: "warning";
371
- error: "error";
372
372
  }>;
373
373
  message: z.ZodString;
374
374
  }, z.core.$strip>;
@@ -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";
137
138
  info: "info";
138
139
  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";
173
174
  info: "info";
174
175
  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
- form: "form";
356
- list: "list";
357
355
  link: "link";
358
356
  check: "check";
357
+ form: "form";
358
+ list: "list";
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";
436
437
  info: "info";
437
438
  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
- form: "form";
452
- list: "list";
453
451
  link: "link";
454
452
  check: "check";
453
+ form: "form";
454
+ list: "list";
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";
512
511
  primary: "primary";
513
512
  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";
688
689
  info: "info";
689
690
  warning: "warning";
690
- error: "error";
691
691
  }>;
692
692
  message: z.ZodString;
693
693
  }, z.core.$strip>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k8o/arte-odyssey",
3
- "version": "10.6.1",
3
+ "version": "10.6.3",
4
4
  "description": "k8o's React UI library with built-in generative UI adapters (json-render & OpenUI) for LLM-driven, on-brand interfaces",
5
5
  "keywords": [
6
6
  "ai",