@noxickon/onyx 6.6.0 → 6.7.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.
Files changed (153) hide show
  1. package/dist/code-block/CodeBlock.styles.d.ts +2 -2
  2. package/dist/code-block/CodeBlock2.js +1 -1
  3. package/dist/components/Accordion/Accordion.js +1 -1
  4. package/dist/components/Accordion/Accordion.styles.d.ts +2 -2
  5. package/dist/components/Alert/Alert.js +16 -14
  6. package/dist/components/Alert/Alert.styles.d.ts +2 -2
  7. package/dist/components/AlertDialog/AlertDialog.styles.d.ts +2 -2
  8. package/dist/components/AnimatedGradientText/AnimatedGradientText.styles.d.ts +2 -2
  9. package/dist/components/AnimatedGradientText/AnimatedGradientText2.js +1 -1
  10. package/dist/components/AppLayout/AppLayout.js +1 -1
  11. package/dist/components/AppLayout/AppLayout.styles.d.ts +26 -26
  12. package/dist/components/Autocomplete/Autocomplete.js +2 -2
  13. package/dist/components/Autocomplete/Autocomplete.styles.d.ts +64 -64
  14. package/dist/components/Avatar/Avatar.styles.d.ts +4 -4
  15. package/dist/components/Badge/Badge.js +1 -1
  16. package/dist/components/Badge/Badge.styles.d.ts +2 -2
  17. package/dist/components/BlurSwitch/BlurSwitch.styles.d.ts +2 -2
  18. package/dist/components/BlurSwitch/BlurSwitch.styles.js +4 -3
  19. package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
  20. package/dist/components/Breadcrumb/Breadcrumb.styles.d.ts +29 -29
  21. package/dist/components/Button/Button.js +2 -2
  22. package/dist/components/Button/Button.styles.d.ts +2 -2
  23. package/dist/components/Card/Card.styles.d.ts +2 -2
  24. package/dist/components/Checkbox/Checkbox.styles.d.ts +14 -14
  25. package/dist/components/Checkbox/Checkbox.types.d.ts +4 -1
  26. package/dist/components/CheckboxGroup/CheckboxGroup.styles.d.ts +8 -8
  27. package/dist/components/Chip/Chip.js +1 -1
  28. package/dist/components/Chip/Chip.styles.d.ts +2 -2
  29. package/dist/components/Collapsible/Collapsible.js +2 -2
  30. package/dist/components/Collapsible/Collapsible.styles.d.ts +20 -20
  31. package/dist/components/Combobox/Combobox.js +4 -4
  32. package/dist/components/Combobox/Combobox.styles.d.ts +16 -16
  33. package/dist/components/Command/Command.js +2 -2
  34. package/dist/components/Command/Command.styles.d.ts +2 -2
  35. package/dist/components/ContextMenu/ContextMenu.styles.d.ts +2 -2
  36. package/dist/components/CopyButton/CopyButton.js +1 -1
  37. package/dist/components/CopyButton/CopyButton.styles.d.ts +2 -2
  38. package/dist/components/CopyInput/CopyInput.js +1 -1
  39. package/dist/components/CopyInput/CopyInput.styles.d.ts +2 -2
  40. package/dist/components/DataTable/DataTable.d.ts +1 -1
  41. package/dist/components/DataTable/DataTable.js +737 -531
  42. package/dist/components/DataTable/DataTable.styles.d.ts +53 -5
  43. package/dist/components/DataTable/DataTable.styles.js +24 -7
  44. package/dist/components/DataTable/DataTable.types.d.ts +13 -1
  45. package/dist/components/DataTable/DataTable.utils.js +1 -1
  46. package/dist/components/DescriptionList/DescriptionList.js +1 -1
  47. package/dist/components/DescriptionList/DescriptionList.styles.d.ts +14 -14
  48. package/dist/components/Dialog/Dialog.js +1 -1
  49. package/dist/components/Dialog/Dialog.styles.d.ts +2 -2
  50. package/dist/components/Drawer/Drawer.styles.d.ts +2 -2
  51. package/dist/components/Drawer/Drawer.styles.js +2 -2
  52. package/dist/components/Drawer/Drawer2.js +4 -4
  53. package/dist/components/Dropdown/Dropdown.js +1 -1
  54. package/dist/components/Dropdown/Dropdown.styles.d.ts +2 -2
  55. package/dist/components/Field/Field.styles.d.ts +29 -29
  56. package/dist/components/Fieldset/Fieldset.styles.d.ts +11 -11
  57. package/dist/components/Footer/Footer.js +1 -1
  58. package/dist/components/Footer/Footer.styles.d.ts +2 -2
  59. package/dist/components/Header/Header.js +1 -1
  60. package/dist/components/Header/Header.styles.d.ts +2 -2
  61. package/dist/components/Header/Header.styles.js +1 -1
  62. package/dist/components/HoldToDelete/HoldToDelete.css +1 -1
  63. package/dist/components/HoldToDelete/HoldToDelete.styles.d.ts +48 -21
  64. package/dist/components/HoldToDelete/HoldToDelete.styles.js +32 -17
  65. package/dist/components/HoldToDelete/HoldToDelete2.js +97 -85
  66. package/dist/components/IconTile/IconTile.styles.d.ts +8 -8
  67. package/dist/components/Input/Input.js +1 -1
  68. package/dist/components/Input/Input.styles.d.ts +26 -26
  69. package/dist/components/Kbd/Kbd.styles.d.ts +1 -1
  70. package/dist/components/Main/Main.styles.d.ts +1 -1
  71. package/dist/components/Meter/Meter.styles.d.ts +20 -20
  72. package/dist/components/NavigationMenu/NavigationMenu.js +1 -1
  73. package/dist/components/NavigationMenu/NavigationMenu.styles.d.ts +2 -2
  74. package/dist/components/NumberInput/NumberInput.js +1 -1
  75. package/dist/components/NumberInput/NumberInput.styles.d.ts +32 -32
  76. package/dist/components/OtpField/OtpField.styles.d.ts +14 -14
  77. package/dist/components/PageProgress/PageProgress.styles.d.ts +14 -14
  78. package/dist/components/PageProgress/PageProgress.styles.js +1 -1
  79. package/dist/components/Pagination/Pagination.js +1 -1
  80. package/dist/components/Pagination/Pagination.styles.d.ts +2 -2
  81. package/dist/components/Popover/Popover.js +1 -1
  82. package/dist/components/Popover/Popover.styles.d.ts +26 -26
  83. package/dist/components/Popover/Popover.styles.js +1 -1
  84. package/dist/components/Progress/Progress.styles.d.ts +20 -20
  85. package/dist/components/Radio/Radio.styles.d.ts +19 -19
  86. package/dist/components/ResponsiveOverlay/ResponsiveOverlay.d.ts +1 -1
  87. package/dist/components/ResponsiveOverlay/ResponsiveOverlay.js +193 -157
  88. package/dist/components/ResponsiveOverlay/ResponsiveOverlay.styles.d.ts +11 -2
  89. package/dist/components/ResponsiveOverlay/ResponsiveOverlay.styles.js +2 -1
  90. package/dist/components/ResponsiveOverlay/ResponsiveOverlay.types.d.ts +9 -2
  91. package/dist/components/ResponsiveOverlay/index.d.ts +1 -1
  92. package/dist/components/ScrollArea/ScrollArea.styles.d.ts +23 -23
  93. package/dist/components/ScrollArea/ScrollArea2.js +2 -2
  94. package/dist/components/Select/Select.js +1 -1
  95. package/dist/components/Select/Select.styles.d.ts +38 -38
  96. package/dist/components/Separator/Separator.styles.d.ts +1 -1
  97. package/dist/components/Sidebar/Sidebar.styles.d.ts +15 -15
  98. package/dist/components/Sidebar/Sidebar2.js +19 -19
  99. package/dist/components/SidebarRail/SidebarRail.js +1 -1
  100. package/dist/components/SidebarRail/SidebarRail.styles.d.ts +17 -17
  101. package/dist/components/Skeleton/Skeleton.styles.d.ts +11 -11
  102. package/dist/components/Slider/Slider.styles.d.ts +20 -20
  103. package/dist/components/Spinner/Spinner.styles.d.ts +2 -2
  104. package/dist/components/StatusDisplay/StatusDisplay.styles.d.ts +2 -2
  105. package/dist/components/Switch/Switch.styles.d.ts +11 -11
  106. package/dist/components/TabBar/TabBar.js +1 -1
  107. package/dist/components/TabBar/TabBar.styles.d.ts +2 -2
  108. package/dist/components/Table/Table.d.ts +1 -1
  109. package/dist/components/Table/Table.js +69 -63
  110. package/dist/components/Table/Table.styles.d.ts +8 -8
  111. package/dist/components/Table/Table.styles.js +11 -11
  112. package/dist/components/Table/Table.types.d.ts +7 -1
  113. package/dist/components/Tabs/Tabs.js +4 -4
  114. package/dist/components/Tabs/Tabs.styles.d.ts +2 -2
  115. package/dist/components/Textarea/Textarea.js +2 -2
  116. package/dist/components/Textarea/Textarea.styles.d.ts +39 -39
  117. package/dist/components/Toast/Toast.css +1 -1
  118. package/dist/components/Toast/Toast.styles.d.ts +2 -2
  119. package/dist/components/Toast/Toast.styles.js +1 -1
  120. package/dist/components/Toast/Toast2.js +16 -14
  121. package/dist/components/Toggle/Toggle.js +2 -2
  122. package/dist/components/Toggle/Toggle.styles.d.ts +6 -6
  123. package/dist/components/Tooltip/Tooltip.js +1 -1
  124. package/dist/components/Tooltip/Tooltip.styles.d.ts +17 -17
  125. package/dist/components/Tooltip/Tooltip.styles.js +1 -1
  126. package/dist/components/Typewriter/Typewriter.styles.d.ts +14 -14
  127. package/dist/components/Typewriter/Typewriter2.js +4 -4
  128. package/dist/components/VirtualList/VirtualList.styles.d.ts +14 -14
  129. package/dist/context/Auth/Auth.types.d.ts +3 -1
  130. package/dist/context/Theme/Theme.js +1 -1
  131. package/dist/hooks/useCommandShortcut/useCommandShortcut.js +1 -1
  132. package/dist/hooks/useFilter/useFilter.js +1 -1
  133. package/dist/hooks/useMediaQuery/useMediaQuery.js +1 -1
  134. package/dist/hooks/useVirtualizer/useVirtualizer.js +2 -2
  135. package/dist/hooks.js +3 -3
  136. package/dist/index.js +24 -24
  137. package/dist/internal/hooks/useControllableState/useControllableState.types.d.ts +1 -1
  138. package/dist/internal/hooks/useFormState/useFormState.js +81 -81
  139. package/dist/internal/styles/addonStyles.d.ts +28 -28
  140. package/dist/internal/styles/dialogSurfaceStyles.d.ts +1 -1
  141. package/dist/internal/styles/dialogSurfaceStyles.js +2 -2
  142. package/dist/internal/styles/menuSurfaceStyles.d.ts +1 -1
  143. package/dist/internal/styles/menuSurfaceStyles.js +1 -1
  144. package/dist/internal/styles/stackedLayerStyles.d.ts +1 -0
  145. package/dist/internal/styles/stackedLayerStyles.js +4 -0
  146. package/dist/internal/styles/tableCellStyles.d.ts +5 -0
  147. package/dist/internal/styles/tableCellStyles.js +7 -0
  148. package/dist/rest/executors/restExecutor.js +1 -1
  149. package/dist/rich-editor/RichEditor.styles.d.ts +36 -36
  150. package/dist/rich-editor/RichEditor2.js +3 -3
  151. package/dist/rich-editor/useOxRichEditor.js +1 -1
  152. package/dist/tokens/shared.css +5 -0
  153. package/package.json +17 -11
@@ -1,28 +1,28 @@
1
1
  import { VariantProps } from '../../internal/tv';
2
2
  export declare const breadcrumbVariants: import('tailwind-variants').TVReturnType<{
3
3
  [key: string]: {
4
- [key: string]: import('tailwind-merge').ClassNameValue | {
5
- link?: import('tailwind-merge').ClassNameValue;
6
- root?: import('tailwind-merge').ClassNameValue;
7
- item?: import('tailwind-merge').ClassNameValue;
8
- list?: import('tailwind-merge').ClassNameValue;
9
- separator?: import('tailwind-merge').ClassNameValue;
10
- page?: import('tailwind-merge').ClassNameValue;
11
- ellipsis?: import('tailwind-merge').ClassNameValue;
12
- staticCrumb?: import('tailwind-merge').ClassNameValue;
4
+ [key: string]: import('tailwind-variants').ClassValue | {
5
+ link?: import('tailwind-variants').ClassValue;
6
+ root?: import('tailwind-variants').ClassValue;
7
+ item?: import('tailwind-variants').ClassValue;
8
+ list?: import('tailwind-variants').ClassValue;
9
+ separator?: import('tailwind-variants').ClassValue;
10
+ page?: import('tailwind-variants').ClassValue;
11
+ ellipsis?: import('tailwind-variants').ClassValue;
12
+ staticCrumb?: import('tailwind-variants').ClassValue;
13
13
  };
14
14
  };
15
15
  } | {
16
16
  [x: string]: {
17
- [x: string]: import('tailwind-merge').ClassNameValue | {
18
- link?: import('tailwind-merge').ClassNameValue;
19
- root?: import('tailwind-merge').ClassNameValue;
20
- item?: import('tailwind-merge').ClassNameValue;
21
- list?: import('tailwind-merge').ClassNameValue;
22
- separator?: import('tailwind-merge').ClassNameValue;
23
- page?: import('tailwind-merge').ClassNameValue;
24
- ellipsis?: import('tailwind-merge').ClassNameValue;
25
- staticCrumb?: import('tailwind-merge').ClassNameValue;
17
+ [x: string]: import('tailwind-variants').ClassValue | {
18
+ link?: import('tailwind-variants').ClassValue;
19
+ root?: import('tailwind-variants').ClassValue;
20
+ item?: import('tailwind-variants').ClassValue;
21
+ list?: import('tailwind-variants').ClassValue;
22
+ separator?: import('tailwind-variants').ClassValue;
23
+ page?: import('tailwind-variants').ClassValue;
24
+ ellipsis?: import('tailwind-variants').ClassValue;
25
+ staticCrumb?: import('tailwind-variants').ClassValue;
26
26
  };
27
27
  };
28
28
  } | {}, {
@@ -36,15 +36,15 @@ export declare const breadcrumbVariants: import('tailwind-variants').TVReturnTyp
36
36
  ellipsis: string[];
37
37
  }, undefined, {
38
38
  [key: string]: {
39
- [key: string]: import('tailwind-merge').ClassNameValue | {
40
- link?: import('tailwind-merge').ClassNameValue;
41
- root?: import('tailwind-merge').ClassNameValue;
42
- item?: import('tailwind-merge').ClassNameValue;
43
- list?: import('tailwind-merge').ClassNameValue;
44
- separator?: import('tailwind-merge').ClassNameValue;
45
- page?: import('tailwind-merge').ClassNameValue;
46
- ellipsis?: import('tailwind-merge').ClassNameValue;
47
- staticCrumb?: import('tailwind-merge').ClassNameValue;
39
+ [key: string]: import('tailwind-variants').ClassValue | {
40
+ link?: import('tailwind-variants').ClassValue;
41
+ root?: import('tailwind-variants').ClassValue;
42
+ item?: import('tailwind-variants').ClassValue;
43
+ list?: import('tailwind-variants').ClassValue;
44
+ separator?: import('tailwind-variants').ClassValue;
45
+ page?: import('tailwind-variants').ClassValue;
46
+ ellipsis?: import('tailwind-variants').ClassValue;
47
+ staticCrumb?: import('tailwind-variants').ClassValue;
48
48
  };
49
49
  };
50
50
  } | {}, {
@@ -56,7 +56,7 @@ export declare const breadcrumbVariants: import('tailwind-variants').TVReturnTyp
56
56
  page: string[];
57
57
  separator: string[];
58
58
  ellipsis: string[];
59
- }, import('tailwind-variants').TVReturnType<unknown, {
59
+ }, import('tailwind-variants').TVReturnTypeLike<unknown, {
60
60
  root: string;
61
61
  list: string[];
62
62
  item: string;
@@ -65,5 +65,5 @@ export declare const breadcrumbVariants: import('tailwind-variants').TVReturnTyp
65
65
  page: string[];
66
66
  separator: string[];
67
67
  ellipsis: string[];
68
- }, undefined, unknown, unknown, undefined>>;
68
+ }>>;
69
69
  export type BreadcrumbVariants = VariantProps<typeof breadcrumbVariants>;
@@ -10,11 +10,11 @@ function o(o) {
10
10
  let { children: e, className: t, disabled: n, isIconOnly: r, loading: i, size: a, variant: h, ...g } = o;
11
11
  c = e, l = t, d = n, f = r, p = i, m = h, u = g, s[0] = o, s[1] = c, s[2] = l, s[3] = u, s[4] = d, s[5] = f, s[6] = p, s[7] = m;
12
12
  } else c = s[1], l = s[2], u = s[3], d = s[4], f = s[5], p = s[6], m = s[7];
13
- let h = d === void 0 ? !1 : d, g = f === void 0 ? !1 : f, _ = p === void 0 ? !1 : p, v = m === void 0 ? "primary" : m, y = h || _, b = v === "link-inline", x, S, C, w, T, E, D, O, k, A;
13
+ let h = d !== void 0 && d, g = f !== void 0 && f, _ = p !== void 0 && p, v = m === void 0 ? "primary" : m, y = h || _, b = v === "link-inline", x, S, C, w, T, E, D, O, k, A;
14
14
  if (s[8] !== l || s[9] !== y || s[10] !== g || s[11] !== b || s[12] !== _ || s[13] !== u || s[14] !== v) {
15
15
  let t = e({
16
16
  variant: v,
17
- isIconOnly: b ? !1 : g
17
+ isIconOnly: !b && g
18
18
  });
19
19
  x = a, D = "button", O = u, k = _ || void 0, A = t.base({ class: l }), S = _ || void 0, C = y, w = _, T = _ ? /* @__PURE__ */ r("span", {
20
20
  className: t.spinner(),
@@ -99,7 +99,7 @@ export declare const buttonVariants: import('tailwind-variants').TVReturnType<{
99
99
  content: string[];
100
100
  spinner: string;
101
101
  spinnerIcon: string;
102
- }, import('tailwind-variants').TVReturnType<{
102
+ }, import('tailwind-variants').TVReturnTypeLike<{
103
103
  variant: {
104
104
  primary: {
105
105
  base: string[];
@@ -149,5 +149,5 @@ export declare const buttonVariants: import('tailwind-variants').TVReturnType<{
149
149
  content: string[];
150
150
  spinner: string;
151
151
  spinnerIcon: string;
152
- }, undefined, unknown, unknown, undefined>>;
152
+ }>>;
153
153
  export type ButtonVariants = VariantProps<typeof buttonVariants>;
@@ -65,7 +65,7 @@ export declare const cardVariants: import('tailwind-variants').TVReturnType<{
65
65
  description: string;
66
66
  content: string;
67
67
  footer: string;
68
- }, import('tailwind-variants').TVReturnType<{
68
+ }, import('tailwind-variants').TVReturnTypeLike<{
69
69
  variant: {
70
70
  outlined: {
71
71
  root: string;
@@ -98,5 +98,5 @@ export declare const cardVariants: import('tailwind-variants').TVReturnType<{
98
98
  description: string;
99
99
  content: string;
100
100
  footer: string;
101
- }, undefined, unknown, unknown, undefined>>;
101
+ }>>;
102
102
  export type CardVariants = VariantProps<typeof cardVariants>;
@@ -1,17 +1,17 @@
1
1
  export declare const checkboxVariants: import('tailwind-variants').TVReturnType<{
2
2
  [key: string]: {
3
- [key: string]: import('tailwind-merge').ClassNameValue | {
4
- icon?: import('tailwind-merge').ClassNameValue;
5
- root?: import('tailwind-merge').ClassNameValue;
6
- indicator?: import('tailwind-merge').ClassNameValue;
3
+ [key: string]: import('tailwind-variants').ClassValue | {
4
+ icon?: import('tailwind-variants').ClassValue;
5
+ root?: import('tailwind-variants').ClassValue;
6
+ indicator?: import('tailwind-variants').ClassValue;
7
7
  };
8
8
  };
9
9
  } | {
10
10
  [x: string]: {
11
- [x: string]: import('tailwind-merge').ClassNameValue | {
12
- icon?: import('tailwind-merge').ClassNameValue;
13
- root?: import('tailwind-merge').ClassNameValue;
14
- indicator?: import('tailwind-merge').ClassNameValue;
11
+ [x: string]: import('tailwind-variants').ClassValue | {
12
+ icon?: import('tailwind-variants').ClassValue;
13
+ root?: import('tailwind-variants').ClassValue;
14
+ indicator?: import('tailwind-variants').ClassValue;
15
15
  };
16
16
  };
17
17
  } | {}, {
@@ -20,18 +20,18 @@ export declare const checkboxVariants: import('tailwind-variants').TVReturnType<
20
20
  icon: string;
21
21
  }, undefined, {
22
22
  [key: string]: {
23
- [key: string]: import('tailwind-merge').ClassNameValue | {
24
- icon?: import('tailwind-merge').ClassNameValue;
25
- root?: import('tailwind-merge').ClassNameValue;
26
- indicator?: import('tailwind-merge').ClassNameValue;
23
+ [key: string]: import('tailwind-variants').ClassValue | {
24
+ icon?: import('tailwind-variants').ClassValue;
25
+ root?: import('tailwind-variants').ClassValue;
26
+ indicator?: import('tailwind-variants').ClassValue;
27
27
  };
28
28
  };
29
29
  } | {}, {
30
30
  root: string[];
31
31
  indicator: string[];
32
32
  icon: string;
33
- }, import('tailwind-variants').TVReturnType<unknown, {
33
+ }, import('tailwind-variants').TVReturnTypeLike<unknown, {
34
34
  root: string[];
35
35
  indicator: string[];
36
36
  icon: string;
37
- }, undefined, unknown, unknown, undefined>>;
37
+ }>>;
@@ -2,6 +2,9 @@ import { CheckboxRootProps as BaseCheckboxRootProps } from '@base-ui/react/check
2
2
  export interface OxCheckboxProps extends Omit<BaseCheckboxRootProps, 'className'> {
3
3
  className?: string;
4
4
  invalid?: boolean;
5
- /** @deprecated No longer affects rendering — the checkbox is a single 16px size. Will be removed when DataTable is restyled. */
5
+ /**
6
+ * @deprecated No longer affects rendering — the checkbox is a single 16px size.
7
+ * Will be removed when DataTable is restyled.
8
+ */
6
9
  size?: 'sm' | 'md' | 'lg';
7
10
  }
@@ -1,18 +1,18 @@
1
1
  import { VariantProps } from '../../internal/tv';
2
2
  export declare const checkboxGroupVariants: import('tailwind-variants').TVReturnType<{
3
3
  orientation: {
4
- vertical: string;
5
- horizontal: string;
4
+ vertical: "flex-col gap-3";
5
+ horizontal: "flex-row flex-wrap items-center gap-4.5";
6
6
  };
7
7
  }, undefined, string[], {
8
8
  orientation: {
9
- vertical: string;
10
- horizontal: string;
9
+ vertical: "flex-col gap-3";
10
+ horizontal: "flex-row flex-wrap items-center gap-4.5";
11
11
  };
12
- }, undefined, import('tailwind-variants').TVReturnType<{
12
+ }, undefined, import('tailwind-variants').TVReturnTypeLike<{
13
13
  orientation: {
14
- vertical: string;
15
- horizontal: string;
14
+ vertical: "flex-col gap-3";
15
+ horizontal: "flex-row flex-wrap items-center gap-4.5";
16
16
  };
17
- }, undefined, string[], unknown, unknown, undefined>>;
17
+ }, undefined>>;
18
18
  export type CheckboxGroupVariants = VariantProps<typeof checkboxGroupVariants>;
@@ -7,7 +7,7 @@ import { useRender as o } from "@base-ui/react/use-render";
7
7
  function s(s) {
8
8
  let c = t(49), l, u, d, f, p, m, h, g, _, v;
9
9
  c[0] === s ? (l = c[1], u = c[2], d = c[3], f = c[4], p = c[5], m = c[6], h = c[7], g = c[8], _ = c[9], v = c[10]) : ({children: l, className: u, disabled: m, dot: h, onRemove: d, removeLabel: g, render: p, tone: _, variant: v, ...f} = s, c[0] = s, c[1] = l, c[2] = u, c[3] = d, c[4] = f, c[5] = p, c[6] = m, c[7] = h, c[8] = g, c[9] = _, c[10] = v);
10
- let y = m === void 0 ? !1 : m, b = h === void 0 ? !1 : h, x = g === void 0 ? "Remove" : g, S = _ === void 0 ? "neutral" : _, C = v === void 0 ? "subtle" : v, w, T, E, D, O, k, A, j, M, N, P;
10
+ let y = m !== void 0 && m, b = h !== void 0 && h, x = g === void 0 ? "Remove" : g, S = _ === void 0 ? "neutral" : _, C = v === void 0 ? "subtle" : v, w, T, E, D, O, k, A, j, M, N, P;
11
11
  if (c[11] !== l || c[12] !== u || c[13] !== y || c[14] !== b || c[15] !== d || c[16] !== f || c[17] !== x || c[18] !== p || c[19] !== S || c[20] !== C) {
12
12
  let t = e({ variant: C });
13
13
  A = o, c[32] === p ? k = c[33] : (k = p ?? /* @__PURE__ */ i("span", {}), c[32] = p, c[33] = k), P = f, w = y || void 0, T = t.base({ class: u }), E = y || void 0, D = "chip", O = S, j = b && /* @__PURE__ */ i("span", {
@@ -31,7 +31,7 @@ export declare const chipVariants: import('tailwind-variants').TVReturnType<{
31
31
  base: string[];
32
32
  dot: string;
33
33
  removeButton: string[];
34
- }, import('tailwind-variants').TVReturnType<{
34
+ }, import('tailwind-variants').TVReturnTypeLike<{
35
35
  variant: {
36
36
  subtle: {
37
37
  base: string;
@@ -47,5 +47,5 @@ export declare const chipVariants: import('tailwind-variants').TVReturnType<{
47
47
  base: string[];
48
48
  dot: string;
49
49
  removeButton: string[];
50
- }, undefined, unknown, unknown, undefined>>;
50
+ }>>;
51
51
  export type ChipVariants = VariantProps<typeof chipVariants>;
@@ -24,7 +24,7 @@ function a(e) {
24
24
  function o(e) {
25
25
  let a = t(12), o, s, c, l;
26
26
  a[0] === e ? (o = a[1], s = a[2], c = a[3], l = a[4]) : ({children: o, className: s, nativeButton: l, ...c} = e, a[0] = e, a[1] = o, a[2] = s, a[3] = c, a[4] = l);
27
- let u = l === void 0 ? !0 : l, d;
27
+ let u = l === void 0 || l, d;
28
28
  a[5] === s ? d = a[6] : (d = i.trigger({ class: s }), a[5] = s, a[6] = d);
29
29
  let f;
30
30
  return a[7] !== o || a[8] !== u || a[9] !== c || a[10] !== d ? (f = /* @__PURE__ */ n(r.Trigger, {
@@ -38,7 +38,7 @@ function o(e) {
38
38
  function s(e) {
39
39
  let a = t(18), o, s, c, l, u;
40
40
  a[0] === e ? (o = a[1], s = a[2], c = a[3], l = a[4], u = a[5]) : ({children: o, className: s, hiddenUntilFound: c, keepMounted: u, ...l} = e, a[0] = e, a[1] = o, a[2] = s, a[3] = c, a[4] = l, a[5] = u);
41
- let d = u === void 0 ? !1 : u, f;
41
+ let d = u !== void 0 && u, f;
42
42
  a[6] === s ? f = a[7] : (f = i.panel({ class: s }), a[6] = s, a[7] = f);
43
43
  let p, m;
44
44
  a[8] === Symbol.for("react.memo_cache_sentinel") ? (p = i.panelClip(), m = i.panelContent(), a[8] = p, a[9] = m) : (p = a[8], m = a[9]);
@@ -1,21 +1,21 @@
1
1
  export declare const collapsibleVariants: import('tailwind-variants').TVReturnType<{
2
2
  [key: string]: {
3
- [key: string]: import('tailwind-merge').ClassNameValue | {
4
- root?: import('tailwind-merge').ClassNameValue;
5
- panel?: import('tailwind-merge').ClassNameValue;
6
- panelClip?: import('tailwind-merge').ClassNameValue;
7
- panelContent?: import('tailwind-merge').ClassNameValue;
8
- trigger?: import('tailwind-merge').ClassNameValue;
3
+ [key: string]: import('tailwind-variants').ClassValue | {
4
+ root?: import('tailwind-variants').ClassValue;
5
+ panel?: import('tailwind-variants').ClassValue;
6
+ panelClip?: import('tailwind-variants').ClassValue;
7
+ panelContent?: import('tailwind-variants').ClassValue;
8
+ trigger?: import('tailwind-variants').ClassValue;
9
9
  };
10
10
  };
11
11
  } | {
12
12
  [x: string]: {
13
- [x: string]: import('tailwind-merge').ClassNameValue | {
14
- root?: import('tailwind-merge').ClassNameValue;
15
- panel?: import('tailwind-merge').ClassNameValue;
16
- panelClip?: import('tailwind-merge').ClassNameValue;
17
- panelContent?: import('tailwind-merge').ClassNameValue;
18
- trigger?: import('tailwind-merge').ClassNameValue;
13
+ [x: string]: import('tailwind-variants').ClassValue | {
14
+ root?: import('tailwind-variants').ClassValue;
15
+ panel?: import('tailwind-variants').ClassValue;
16
+ panelClip?: import('tailwind-variants').ClassValue;
17
+ panelContent?: import('tailwind-variants').ClassValue;
18
+ trigger?: import('tailwind-variants').ClassValue;
19
19
  };
20
20
  };
21
21
  } | {}, {
@@ -26,12 +26,12 @@ export declare const collapsibleVariants: import('tailwind-variants').TVReturnTy
26
26
  panelContent: string;
27
27
  }, undefined, {
28
28
  [key: string]: {
29
- [key: string]: import('tailwind-merge').ClassNameValue | {
30
- root?: import('tailwind-merge').ClassNameValue;
31
- panel?: import('tailwind-merge').ClassNameValue;
32
- panelClip?: import('tailwind-merge').ClassNameValue;
33
- panelContent?: import('tailwind-merge').ClassNameValue;
34
- trigger?: import('tailwind-merge').ClassNameValue;
29
+ [key: string]: import('tailwind-variants').ClassValue | {
30
+ root?: import('tailwind-variants').ClassValue;
31
+ panel?: import('tailwind-variants').ClassValue;
32
+ panelClip?: import('tailwind-variants').ClassValue;
33
+ panelContent?: import('tailwind-variants').ClassValue;
34
+ trigger?: import('tailwind-variants').ClassValue;
35
35
  };
36
36
  };
37
37
  } | {}, {
@@ -40,10 +40,10 @@ export declare const collapsibleVariants: import('tailwind-variants').TVReturnTy
40
40
  panel: string[];
41
41
  panelClip: string;
42
42
  panelContent: string;
43
- }, import('tailwind-variants').TVReturnType<unknown, {
43
+ }, import('tailwind-variants').TVReturnTypeLike<unknown, {
44
44
  root: string;
45
45
  trigger: string[];
46
46
  panel: string[];
47
47
  panelClip: string;
48
48
  panelContent: string;
49
- }, undefined, unknown, unknown, undefined>>;
49
+ }>>;
@@ -12,7 +12,7 @@ var { Provider: p, useContext: m } = e("OxCombobox", { clearable: !1 }), h = i()
12
12
  function g(e) {
13
13
  let t = a(12), n, r, i;
14
14
  t[0] === e ? (n = t[1], r = t[2], i = t[3]) : ({children: n, clearable: i, ...r} = e, t[0] = e, t[1] = n, t[2] = r, t[3] = i);
15
- let o = i === void 0 ? !1 : i, s;
15
+ let o = i !== void 0 && i, s;
16
16
  t[4] === o ? s = t[5] : (s = { clearable: o }, t[4] = o, t[5] = s);
17
17
  let c;
18
18
  t[6] !== n || t[7] !== r ? (c = /* @__PURE__ */ u(f.Root, {
@@ -28,7 +28,7 @@ function g(e) {
28
28
  function _(e) {
29
29
  let t = a(19), n, r, i, o, l;
30
30
  t[0] === e ? (n = t[1], r = t[2], i = t[3], o = t[4], l = t[5]) : ({children: n, className: r, icon: i, showIcon: l, ...o} = e, t[0] = e, t[1] = n, t[2] = r, t[3] = i, t[4] = o, t[5] = l);
31
- let p = l === void 0 ? !0 : l, { clearable: g } = m(), _;
31
+ let p = l === void 0 || l, { clearable: g } = m(), _;
32
32
  t[6] === r ? _ = t[7] : (_ = h.inputGroup({ class: r }), t[6] = r, t[7] = _);
33
33
  let v;
34
34
  t[8] === g ? v = t[9] : (v = g && /* @__PURE__ */ u(f.Clear, {
@@ -80,7 +80,7 @@ function v(e) {
80
80
  function y(e) {
81
81
  let t = a(31), n, r, o, l, p;
82
82
  t[0] === e ? (n = t[1], r = t[2], o = t[3], l = t[4], p = t[5]) : ({children: n, className: r, icon: o, showIcon: p, ...l} = e, t[0] = e, t[1] = n, t[2] = r, t[3] = o, t[4] = l, t[5] = p);
83
- let h = p === void 0 ? !0 : p, { clearable: g } = m(), _ = +!!g + +!!h, v, y, b, x, S, C, w, T;
83
+ let h = p === void 0 || p, { clearable: g } = m(), _ = +!!g + +!!h, v, y, b, x, S, C, w, T;
84
84
  if (t[6] !== _ || t[7] !== n || t[8] !== r || t[9] !== g || t[10] !== o || t[11] !== l || t[12] !== h) {
85
85
  T = Symbol.for("react.early_return_sentinel");
86
86
  bb0: {
@@ -333,7 +333,7 @@ function j(e) {
333
333
  function M(e) {
334
334
  let t = a(19), n, r, i, o, s;
335
335
  t[0] === e ? (n = t[1], r = t[2], i = t[3], o = t[4], s = t[5]) : ({children: n, className: r, removable: o, removeLabel: s, ...i} = e, t[0] = e, t[1] = n, t[2] = r, t[3] = i, t[4] = o, t[5] = s);
336
- let l = o === void 0 ? !0 : o, p = s === void 0 ? "Remove" : s, m;
336
+ let l = o === void 0 || o, p = s === void 0 ? "Remove" : s, m;
337
337
  t[6] === r ? m = t[7] : (m = h.chip({ class: r }), t[6] = r, t[7] = m);
338
338
  let g;
339
339
  t[8] === Symbol.for("react.memo_cache_sentinel") ? (g = h.chipText(), t[8] = g) : g = t[8];
@@ -77,7 +77,7 @@ export declare const comboboxVariants: import('tailwind-variants').TVReturnType<
77
77
  valueText: string;
78
78
  valuePlaceholder: string;
79
79
  addon: string[];
80
- }, import('tailwind-variants').TVReturnType<{
80
+ }, import('tailwind-variants').TVReturnTypeLike<{
81
81
  affix: {
82
82
  none: {};
83
83
  single: {
@@ -116,34 +116,34 @@ export declare const comboboxVariants: import('tailwind-variants').TVReturnType<
116
116
  valueText: string;
117
117
  valuePlaceholder: string;
118
118
  addon: string[];
119
- }, undefined, unknown, unknown, undefined>>;
119
+ }>>;
120
120
  export type ComboboxVariants = VariantProps<typeof comboboxVariants>;
121
121
  export declare const comboboxAddonVariants: import('tailwind-variants').TVReturnType<{
122
122
  variant: {
123
- separated: string;
124
- inline: string;
123
+ separated: "has-[>svg:only-child]:min-w-[calc(var(--control-h-md)-2px)] has-[>svg:only-child]:justify-center has-[>svg:only-child]:px-0";
124
+ inline: "";
125
125
  };
126
126
  align: {
127
- 'inline-start': string;
128
- 'inline-end': string;
127
+ 'inline-start': "";
128
+ 'inline-end': "";
129
129
  };
130
130
  }, undefined, undefined, {
131
131
  variant: {
132
- separated: string;
133
- inline: string;
132
+ separated: "has-[>svg:only-child]:min-w-[calc(var(--control-h-md)-2px)] has-[>svg:only-child]:justify-center has-[>svg:only-child]:px-0";
133
+ inline: "";
134
134
  };
135
135
  align: {
136
- 'inline-start': string;
137
- 'inline-end': string;
136
+ 'inline-start': "";
137
+ 'inline-end': "";
138
138
  };
139
- }, undefined, import('tailwind-variants').TVReturnType<{
139
+ }, undefined, import('tailwind-variants').TVReturnTypeLike<{
140
140
  variant: {
141
- separated: string;
142
- inline: string;
141
+ separated: "has-[>svg:only-child]:min-w-[calc(var(--control-h-md)-2px)] has-[>svg:only-child]:justify-center has-[>svg:only-child]:px-0";
142
+ inline: "";
143
143
  };
144
144
  align: {
145
- 'inline-start': string;
146
- 'inline-end': string;
145
+ 'inline-start': "";
146
+ 'inline-end': "";
147
147
  };
148
- }, undefined, undefined, unknown, unknown, undefined>>;
148
+ }, undefined>>;
149
149
  export type ComboboxAddonVariants = VariantProps<typeof comboboxAddonVariants>;
@@ -46,7 +46,7 @@ function k(e, t, n, r) {
46
46
  function A(e) {
47
47
  let t = d(38), n, r, i, a, o, s, l, f, g;
48
48
  t[0] === e ? (n = t[1], r = t[2], i = t[3], a = t[4], o = t[5], s = t[6], l = t[7], f = t[8], g = t[9]) : ({children: n, className: r, filter: i, items: a, onInputValueChange: o, onValueChange: s, shouldFilter: f, surface: g, ...l} = e, t[0] = e, t[1] = n, t[2] = r, t[3] = i, t[4] = a, t[5] = o, t[6] = s, t[7] = l, t[8] = f, t[9] = g);
49
- let v = f === void 0 ? !0 : f, y = g === void 0 ? "panel" : g, [x, S] = h(""), w;
49
+ let v = f === void 0 || f, y = g === void 0 ? "panel" : g, [x, S] = h(""), w;
50
50
  t[10] === Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ new Map(), t[10] = w) : w = t[10];
51
51
  let T = m(w), E = p(), D;
52
52
  t[11] === o ? D = t[12] : (D = (e, t) => {
@@ -275,7 +275,7 @@ function B(e) {
275
275
  function V(e) {
276
276
  let n = d(44), c, l, u, f, g, y, b, S, C, w;
277
277
  n[0] === e ? (c = n[1], l = n[2], u = n[3], f = n[4], g = n[5], y = n[6], b = n[7], S = n[8], C = n[9], w = n[10]) : ({children: c, className: l, closeOnSelect: S, defaultOpen: f, modal: C, onOpenChange: g, onValueChange: y, open: b, title: w, ...u} = e, n[0] = e, n[1] = c, n[2] = l, n[3] = u, n[4] = f, n[5] = g, n[6] = y, n[7] = b, n[8] = S, n[9] = C, n[10] = w);
278
- let E = S === void 0 ? !0 : S, D = C === void 0 ? !0 : C, O = w === void 0 ? "Command menu" : w, [k, j] = h(null), M = m(null), N = m(null), P = p(), F;
278
+ let E = S === void 0 || S, D = C === void 0 || C, O = w === void 0 ? "Command menu" : w, [k, j] = h(null), M = m(null), N = m(null), P = p(), F;
279
279
  n[11] !== E || n[12] !== y ? (F = (e, t) => {
280
280
  y?.(e, t), E && N.current?.close();
281
281
  }, n[11] = E, n[12] = y, n[13] = F) : F = n[13];
@@ -45,7 +45,7 @@ export declare const commandVariants: import('tailwind-variants').TVReturnType<{
45
45
  shortcut: string;
46
46
  loading: string;
47
47
  footer: string[];
48
- }, import('tailwind-variants').TVReturnType<{
48
+ }, import('tailwind-variants').TVReturnTypeLike<{
49
49
  surface: {
50
50
  panel: {
51
51
  root: string;
@@ -68,7 +68,7 @@ export declare const commandVariants: import('tailwind-variants').TVReturnType<{
68
68
  shortcut: string;
69
69
  loading: string;
70
70
  footer: string[];
71
- }, undefined, unknown, unknown, undefined>>;
71
+ }>>;
72
72
  export type CommandVariants = VariantProps<typeof commandVariants>;
73
73
  export declare const commandDialogViewport = "items-start p-4 pt-[16vh] overflow-y-auto";
74
74
  export declare const commandDialogPopup: string;
@@ -33,7 +33,7 @@ export declare const contextMenuVariants: import('tailwind-variants').TVReturnTy
33
33
  group: string;
34
34
  groupLabel: string[];
35
35
  separator: string;
36
- }, import('tailwind-variants').TVReturnType<{
36
+ }, import('tailwind-variants').TVReturnTypeLike<{
37
37
  variant: {
38
38
  default: {};
39
39
  danger: {
@@ -50,5 +50,5 @@ export declare const contextMenuVariants: import('tailwind-variants').TVReturnTy
50
50
  group: string;
51
51
  groupLabel: string[];
52
52
  separator: string;
53
- }, undefined, unknown, unknown, undefined>>;
53
+ }>>;
54
54
  export type ContextMenuVariants = VariantProps<typeof contextMenuVariants>;
@@ -30,7 +30,7 @@ function ie(e, t) {
30
30
  function u(u) {
31
31
  let d = n(44), f, p, m, h, g, _, v, y, b, x, S, C, w, T;
32
32
  d[0] === u ? (f = d[1], p = d[2], m = d[3], h = d[4], g = d[5], _ = d[6], v = d[7], y = d[8], b = d[9], x = d[10], S = d[11], C = d[12], w = d[13], T = d[14]) : ({className: f, copiedIcon: p, copiedLabel: y, errorIcon: m, errorLabel: b, icon: h, isIconOnly: x, label: S, onClick: g, onCopyResult: _, text: T, timeout: C, variant: w, ...v} = u, d[0] = u, d[1] = f, d[2] = p, d[3] = m, d[4] = h, d[5] = g, d[6] = _, d[7] = v, d[8] = y, d[9] = b, d[10] = x, d[11] = S, d[12] = C, d[13] = w, d[14] = T);
33
- let E = y === void 0 ? "Copied" : y, D = b === void 0 ? "Failed" : b, O = x === void 0 ? !1 : x, k = S === void 0 ? "Copy" : S, A = C === void 0 ? 1600 : C, j = w === void 0 ? "secondary" : w, [M, N] = o("idle"), [P, oe] = o(0), [F, I] = o(""), L = te(null), R = t({ tinted: j !== "primary" }), z = D != null && D !== !1, B, V;
33
+ let E = y === void 0 ? "Copied" : y, D = b === void 0 ? "Failed" : b, O = x !== void 0 && x, k = S === void 0 ? "Copy" : S, A = C === void 0 ? 1600 : C, j = w === void 0 ? "secondary" : w, [M, N] = o("idle"), [P, oe] = o(0), [F, I] = o(""), L = te(null), R = t({ tinted: j !== "primary" }), z = D != null && D !== !1, B, V;
34
34
  d[15] === Symbol.for("react.memo_cache_sentinel") ? (B = () => () => {
35
35
  L.current !== null && globalThis.clearTimeout(L.current);
36
36
  }, V = [], d[15] = B, d[16] = V) : (B = d[15], V = d[16]), a(B, V);
@@ -23,7 +23,7 @@ export declare const copyButtonVariants: import('tailwind-variants').TVReturnTyp
23
23
  liveRegion: string;
24
24
  copiedItem: string;
25
25
  errorItem: string;
26
- }, import('tailwind-variants').TVReturnType<{
26
+ }, import('tailwind-variants').TVReturnTypeLike<{
27
27
  tinted: {
28
28
  true: {
29
29
  copiedItem: string;
@@ -35,5 +35,5 @@ export declare const copyButtonVariants: import('tailwind-variants').TVReturnTyp
35
35
  liveRegion: string;
36
36
  copiedItem: string;
37
37
  errorItem: string;
38
- }, undefined, unknown, unknown, undefined>>;
38
+ }>>;
39
39
  export type CopyButtonVariants = VariantProps<typeof copyButtonVariants>;
@@ -5,7 +5,7 @@ import { c as r } from "react/compiler-runtime";
5
5
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
6
  //#region src/components/CopyInput/CopyInput.tsx
7
7
  function o(o) {
8
- let c = r(27), { className: l, copiedLabel: u, copyLabel: d, disabled: f, mono: p, onCopyResult: m, timeout: h, value: g } = o, _ = d === void 0 ? "Copy" : d, v = f === void 0 ? !1 : f, y = p === void 0 ? !1 : p, b, x, S, C, w, T;
8
+ let c = r(27), { className: l, copiedLabel: u, copyLabel: d, disabled: f, mono: p, onCopyResult: m, timeout: h, value: g } = o, _ = d === void 0 ? "Copy" : d, v = f !== void 0 && f, y = p !== void 0 && p, b, x, S, C, w, T;
9
9
  if (c[0] !== l || c[1] !== v || c[2] !== y) {
10
10
  let e = n({ mono: y });
11
11
  x = t.Group, C = l, w = v, T = !0, b = t, S = e.value(), c[0] = l, c[1] = v, c[2] = y, c[3] = b, c[4] = x, c[5] = S, c[6] = C, c[7] = w, c[8] = T;
@@ -14,7 +14,7 @@ export declare const copyInputVariants: import('tailwind-variants').TVReturnType
14
14
  };
15
15
  }, {
16
16
  value: string;
17
- }, import('tailwind-variants').TVReturnType<{
17
+ }, import('tailwind-variants').TVReturnTypeLike<{
18
18
  mono: {
19
19
  true: {
20
20
  value: string;
@@ -22,4 +22,4 @@ export declare const copyInputVariants: import('tailwind-variants').TVReturnType
22
22
  };
23
23
  }, {
24
24
  value: string;
25
- }, undefined, unknown, unknown, undefined>>;
25
+ }>>;
@@ -1,5 +1,5 @@
1
1
  import { OxDataTableColumnConfigProps, OxDataTableFilterChipsProps, OxDataTableFilterMenuProps, OxDataTableFooterProps, OxDataTablePaginationProps, OxDataTableProps, OxDataTableSelectionActionsProps, OxDataTableSkeletonProps, OxDataTableToolbarGroupProps, OxDataTableToolbarProps } from './DataTable.types';
2
- declare function OxDataTableRoot<TRow>({ caption, children, className, columnOrder, columnVisibility, columns, data, defaultColumnOrder, defaultColumnVisibility, defaultExpandedRows, defaultFrozenColumns, defaultPage, defaultSelectedRows, defaultSort, density, emptyState, endReachedThreshold, frozenColumns, getRowCanExpand, getRowId, hover, loading, maxHeight, onColumnOrderChange, onColumnVisibilityChange, onEndReached, onFrozenColumnsChange, onPageChange, onSelectionChange, onSortChange, page, pageSize, paginationMode, renderExpandedRow, rowCount, selectable, selectedRows, sort, stickyHeader, }: OxDataTableProps<TRow>): import("react").JSX.Element;
2
+ declare function OxDataTableRoot<TRow>({ caption, children, className, columnOrder, columnVisibility, columns, data, defaultColumnOrder, defaultColumnVisibility, defaultExpandedRows, defaultFrozenColumns, defaultPage, defaultSelectedRows, defaultSort, density, emptyState, endReachedThreshold, estimateSize, expandedRows, frozenColumns, getRowCanExpand, getRowGroupId, getRowId, hover, loading, maxHeight, onColumnOrderChange, onColumnVisibilityChange, onEndReached, onExpandedChange, onFrozenColumnsChange, onPageChange, onSelectionChange, onSortChange, overscan, page, pageSize, paginationMode, renderExpandedRow, renderGroupHeader, rowCount, selectable, selectedRows, sort, stickyHeader, }: OxDataTableProps<TRow>): import("react").JSX.Element;
3
3
  declare function OxDataTableToolbar({ children, className }: OxDataTableToolbarProps): import("react").JSX.Element;
4
4
  declare function OxDataTableToolbarGroup({ children, className }: OxDataTableToolbarGroupProps): import("react").JSX.Element;
5
5
  declare function OxDataTableDivider(): import("react").JSX.Element;