@moduix/react 2.7.1 → 2.8.0

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 (71) hide show
  1. package/dist/components/accordion/Accordion.js +2 -2
  2. package/dist/components/alert/Alert.js +12 -12
  3. package/dist/components/angle-slider/AngleSlider.js +12 -1
  4. package/dist/components/angle-slider/AngleSlider_module.css +65 -90
  5. package/dist/components/avatar/Avatar.js +1 -1
  6. package/dist/components/breadcrumbs/Breadcrumbs.d.ts +5 -5
  7. package/dist/components/breadcrumbs/Breadcrumbs.js +21 -19
  8. package/dist/components/carousel/Carousel_module.css +2 -2
  9. package/dist/components/drawer/Drawer.js +1 -1
  10. package/dist/components/highlight/Highlight_module.css +0 -1
  11. package/dist/components/json-tree-view/JsonTreeView_module.css +9 -1
  12. package/dist/components/marquee/Marquee_module.css +12 -14
  13. package/dist/components/menu/Menu.js +5 -5
  14. package/dist/components/native-select/NativeSelect.js +2 -0
  15. package/dist/components/native-select/NativeSelect_module.css +7 -7
  16. package/dist/components/navigation-menu/NavigationMenu_module.css +2 -2
  17. package/dist/components/number-input/NumberInput_module.css +4 -4
  18. package/dist/components/pagination/Pagination.js +4 -4
  19. package/dist/components/pagination/Pagination_module.css +1 -1
  20. package/dist/components/password-input/PasswordInput_module.css +11 -3
  21. package/dist/components/password-input/index.d.ts +1 -1
  22. package/dist/components/password-input/index.js +1 -1
  23. package/dist/components/popover/Popover.d.ts +2 -2
  24. package/dist/components/popover/index.d.ts +1 -0
  25. package/dist/components/progress-linear/ProgressLinear_module.css +0 -1
  26. package/dist/components/radio-group/RadioGroup.js +1 -1
  27. package/dist/components/radio-group/RadioGroup_module.css +1 -4
  28. package/dist/components/rating-group/RatingGroup.js +4 -4
  29. package/dist/components/rating-group/RatingGroup_module.css +2 -14
  30. package/dist/components/segment-group/SegmentGroup.js +1 -0
  31. package/dist/components/select/Select.module.js +1 -1
  32. package/dist/components/select/Select_module.css +4 -4
  33. package/dist/components/separator/Separator_module.css +6 -6
  34. package/dist/components/sidebar/Sidebar.js +39 -41
  35. package/dist/components/sidebar/Sidebar_module.css +1 -1
  36. package/dist/components/signature-pad/SignaturePad.d.ts +1 -1
  37. package/dist/components/simple-grid/SimpleGrid.js +1 -2
  38. package/dist/components/slider/Slider.js +1 -1
  39. package/dist/components/slider/Slider_module.css +6 -4
  40. package/dist/components/split-button/SplitButton_module.css +4 -1
  41. package/dist/components/steps/Steps_module.css +1 -1
  42. package/dist/components/swap/Swap.js +2 -2
  43. package/dist/components/swap/Swap_module.css +0 -3
  44. package/dist/components/switch/Switch.js +2 -2
  45. package/dist/components/switch/Switch_module.css +2 -2
  46. package/dist/components/table/Table.js +24 -24
  47. package/dist/components/table/Table_module.css +4 -2
  48. package/dist/components/tabs/Tabs.js +2 -2
  49. package/dist/components/tabs/Tabs_module.css +2 -2
  50. package/dist/components/tags-input/TagsInput_module.css +5 -4
  51. package/dist/components/timer/index.d.ts +1 -0
  52. package/dist/components/toast/Toast.module.js +2 -2
  53. package/dist/components/toast/Toast_module.css +4 -6
  54. package/dist/components/toc/Toc.js +3 -1
  55. package/dist/components/toc/Toc_module.css +2 -1
  56. package/dist/components/toggle/Toggle.js +2 -2
  57. package/dist/components/toggle/Toggle_module.css +3 -0
  58. package/dist/components/toggle-group/index.d.ts +1 -0
  59. package/dist/components/tooltip/Tooltip.d.ts +1 -0
  60. package/dist/components/tooltip/Tooltip_module.css +1 -3
  61. package/dist/components/tooltip/index.d.ts +1 -0
  62. package/dist/components/tour/Tour.d.ts +3 -1
  63. package/dist/components/tour/Tour_module.css +2 -3
  64. package/dist/components/tour/index.d.ts +1 -0
  65. package/dist/components/tree-view/TreeView.d.ts +1 -1
  66. package/dist/components/tree-view/TreeView.js +7 -4
  67. package/dist/components/tree-view/TreeView_module.css +7 -5
  68. package/dist/components/typeset/Typeset_module.css +6 -4
  69. package/dist/styles/animations.css +10 -0
  70. package/dist/styles/style.css +2 -0
  71. package/package.json +1 -1
@@ -382,7 +382,7 @@
382
382
  margin-inline-start: auto;
383
383
  }
384
384
 
385
- .trigger-_fUcgc:focus-visible, .groupAction-aoQPc4:focus-visible, .menuButton-OAl6eQ:focus-visible {
385
+ .trigger-_fUcgc:focus-visible, .groupAction-aoQPc4:focus-visible, .menuButton-OAl6eQ:focus-visible, .menuSubButton-MjeEfX:focus-visible {
386
386
  outline: var(--moduix-sidebar-focus-ring-width, var(--moduix-focus-ring-width, var(--moduix-border-width-md)))
387
387
  solid var(--moduix-sidebar-focus-ring-color, var(--moduix-color-ring));
388
388
  outline-offset: var(--moduix-sidebar-focus-ring-offset, var(--moduix-focus-ring-offset));
@@ -7,7 +7,7 @@ declare const SignaturePad: import("react").ForwardRefExoticComponent<Omit<Signa
7
7
  HiddenInput: import("react").ForwardRefExoticComponent<SignaturePadPrimitive.HiddenInputProps & import("react").RefAttributes<HTMLInputElement>>;
8
8
  Label: import("react").ForwardRefExoticComponent<Omit<SignaturePadPrimitive.LabelProps & import("react").RefAttributes<HTMLLabelElement>, "ref"> & import("react").RefAttributes<HTMLLabelElement>>;
9
9
  Control: import("react").ForwardRefExoticComponent<Omit<SignaturePadPrimitive.ControlProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
10
- Canvas: import("react").ForwardRefExoticComponent<Omit<Omit<SignaturePadPrimitive.ControlProps & import("react").RefAttributes<HTMLDivElement>, "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
10
+ Canvas: import("react").ForwardRefExoticComponent<Omit<Omit<SignaturePadPrimitive.ControlProps & import("react").RefAttributes<HTMLDivElement>, "asChild" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
11
11
  Segment: import("react").ForwardRefExoticComponent<Omit<SignaturePadPrimitive.SegmentProps & import("react").RefAttributes<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
12
12
  Guide: import("react").ForwardRefExoticComponent<Omit<SignaturePadPrimitive.GuideProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
13
13
  ClearTrigger: import("react").ForwardRefExoticComponent<Omit<SignaturePadPrimitive.ClearTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,6 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { ark } from "@ark-ui/react/factory";
3
- import { clsx } from "clsx";
4
3
  import { forwardRef } from "react";
5
4
  const SimpleGrid_SimpleGridRoot = /*#__PURE__*/ forwardRef(function({ asChild, className, style, columns, minChildWidth, gap, rowGap, columnGap, ...props }, ref) {
6
5
  if (null != columns && (!Number.isInteger(columns) || columns <= 0)) throw new Error('SimpleGrid `columns` must be a finite positive integer.');
@@ -32,7 +31,7 @@ const SimpleGrid_SimpleGridRoot = /*#__PURE__*/ forwardRef(function({ asChild, c
32
31
  "data-scope": "simple-grid",
33
32
  "data-part": "root",
34
33
  "data-slot": "simple-grid-root",
35
- className: clsx(className),
34
+ className: className,
36
35
  style: rootStyle
37
36
  });
38
37
  });
@@ -7,10 +7,10 @@ import Slider_module from "./Slider.module.js";
7
7
  const Slider_SliderRoot = /*#__PURE__*/ forwardRef(function({ className, readOnly, ...props }, ref) {
8
8
  return /*#__PURE__*/ jsx(Slider.Root, {
9
9
  ref: ref,
10
- "data-readonly": readOnly ? '' : void 0,
11
10
  className: clsx(Slider_module.root, className),
12
11
  readOnly: readOnly,
13
12
  ...props,
13
+ "data-readonly": readOnly ? '' : void 0,
14
14
  "data-slot": "slider-root"
15
15
  });
16
16
  });
@@ -179,13 +179,10 @@
179
179
  }
180
180
 
181
181
  .markerGroup-LGDl6p {
182
- justify-content: space-between;
183
182
  margin-block-start: var(--moduix-slider-marker-group-margin-top, var(--moduix-spacing-2));
184
- display: flex;
185
183
  }
186
184
 
187
185
  .markerGroup-LGDl6p[data-orientation="vertical"] {
188
- flex-direction: column;
189
186
  height: 100%;
190
187
  margin: 0;
191
188
  }
@@ -194,7 +191,6 @@
194
191
  color: var(--moduix-slider-marker-color, var(--moduix-color-muted-foreground));
195
192
  font-size: var(--moduix-slider-marker-font-size, var(--moduix-text-xs));
196
193
  line-height: var(--moduix-slider-marker-line-height, var(--moduix-line-height-text-xs));
197
- position: relative;
198
194
  }
199
195
 
200
196
  .marker-RkqZdP:before {
@@ -222,5 +218,11 @@
222
218
  inset-inline-start: calc(-1 * var(--moduix-spacing-2));
223
219
  transform: translate(-50%, -50%);
224
220
  }
221
+
222
+ @media (prefers-reduced-motion: reduce) {
223
+ .thumb-dktwnB {
224
+ transition: none;
225
+ }
226
+ }
225
227
  }
226
228
 
@@ -11,7 +11,6 @@
11
11
 
12
12
  .trigger-DZQRcF {
13
13
  min-width: 0;
14
- padding-inline: var(--moduix-split-button-trigger-padding-x-md, var(--moduix-spacing-3));
15
14
  border-start-start-radius: 0;
16
15
  border-end-start-radius: 0;
17
16
  margin-inline-start: calc(var(--moduix-button-border-width, var(--moduix-border-width-sm)) * -1);
@@ -41,6 +40,10 @@
41
40
  padding-inline: var(--moduix-split-button-trigger-padding-x-sm, var(--moduix-spacing-2-5));
42
41
  }
43
42
 
43
+ .trigger-DZQRcF[data-size="md"] {
44
+ padding-inline: var(--moduix-split-button-trigger-padding-x-md, var(--moduix-spacing-3));
45
+ }
46
+
44
47
  .trigger-DZQRcF[data-size="lg"] {
45
48
  padding-inline: var(--moduix-split-button-trigger-padding-x-lg, var(--moduix-spacing-3-5));
46
49
  }
@@ -264,7 +264,7 @@
264
264
  outline-offset: var(--moduix-steps-focus-ring-offset, var(--moduix-focus-ring-offset));
265
265
  }
266
266
 
267
- :is(.prevTrigger-n0gQx3, .nextTrigger-y2dzVS):is(:disabled, [data-disabled]) {
267
+ :is(.prevTrigger-n0gQx3, .nextTrigger-y2dzVS):disabled {
268
268
  opacity: var(--moduix-steps-disabled-opacity, var(--moduix-opacity-disabled));
269
269
  cursor: default;
270
270
  }
@@ -7,18 +7,18 @@ import Swap_module from "./Swap.module.js";
7
7
  const Swap_SwapRoot = /*#__PURE__*/ forwardRef(function({ animation = 'scale', className, ...props }, ref) {
8
8
  return /*#__PURE__*/ jsx(Swap.Root, {
9
9
  ref: ref,
10
- "data-animation": animation,
11
10
  className: clsx(Swap_module.root, className),
12
11
  ...props,
12
+ "data-animation": animation,
13
13
  "data-slot": "swap-root"
14
14
  });
15
15
  });
16
16
  const Swap_SwapRootProvider = /*#__PURE__*/ forwardRef(function({ animation = 'scale', className, ...props }, ref) {
17
17
  return /*#__PURE__*/ jsx(Swap.RootProvider, {
18
18
  ref: ref,
19
- "data-animation": animation,
20
19
  className: clsx(Swap_module.root, className),
21
20
  ...props,
21
+ "data-animation": animation,
22
22
  "data-slot": "swap-root-provider"
23
23
  });
24
24
  });
@@ -3,7 +3,6 @@
3
3
  vertical-align: middle;
4
4
  grid-template-areas: "swap";
5
5
  place-items: center;
6
- display: inline-grid;
7
6
  }
8
7
 
9
8
  .root-hsHHcI[data-animation="flip"] {
@@ -48,10 +47,8 @@
48
47
 
49
48
  .indicator-S0xChs {
50
49
  color: inherit;
51
- grid-area: swap;
52
50
  justify-content: center;
53
51
  align-items: center;
54
- display: inline-flex;
55
52
  }
56
53
 
57
54
  @media (prefers-reduced-motion: reduce) {
@@ -7,18 +7,18 @@ import Switch_module from "./Switch.module.js";
7
7
  const Switch_SwitchRoot = /*#__PURE__*/ forwardRef(function({ className, size = 'md', ...props }, ref) {
8
8
  return /*#__PURE__*/ jsx(Switch.Root, {
9
9
  ref: ref,
10
- "data-size": size,
11
10
  className: clsx(Switch_module.root, className),
12
11
  ...props,
12
+ "data-size": size,
13
13
  "data-slot": "switch-root"
14
14
  });
15
15
  });
16
16
  const Switch_SwitchRootProvider = /*#__PURE__*/ forwardRef(function({ className, size = 'md', ...props }, ref) {
17
17
  return /*#__PURE__*/ jsx(Switch.RootProvider, {
18
18
  ref: ref,
19
- "data-size": size,
20
19
  className: clsx(Switch_module.root, className),
21
20
  ...props,
21
+ "data-size": size,
22
22
  "data-slot": "switch-root-provider"
23
23
  });
24
24
  });
@@ -18,9 +18,9 @@
18
18
 
19
19
  .control-_x56fO {
20
20
  box-sizing: border-box;
21
- width: var(--_switch-width, 3rem);
21
+ width: var(--_switch-width, 2.75rem);
22
22
  height: var(--_switch-height, var(--moduix-size-xs));
23
- --_switch-thumb-translate-default: calc(var(--_switch-width, 3rem) - var(--_switch-thumb-size, var(--moduix-spacing-5)) -
23
+ --_switch-thumb-translate-default: calc(var(--_switch-width, 2.75rem) - var(--_switch-thumb-size, var(--moduix-spacing-5)) -
24
24
  (var(--moduix-switch-padding, var(--moduix-spacing-0-5)) * 2) -
25
25
  (var(--moduix-switch-border-width, var(--moduix-border-width-sm)) * 2));
26
26
  border: var(--moduix-switch-border-width, var(--moduix-border-width-sm)) solid
@@ -7,6 +7,8 @@ const Table_TableRoot = /*#__PURE__*/ forwardRef(function({ asChild, className,
7
7
  return /*#__PURE__*/ jsx(ark.table, {
8
8
  ref: ref,
9
9
  asChild: asChild,
10
+ className: clsx(Table_module.root, className),
11
+ ...props,
10
12
  "data-scope": "table",
11
13
  "data-part": "root",
12
14
  "data-interactive": interactive || void 0,
@@ -15,8 +17,6 @@ const Table_TableRoot = /*#__PURE__*/ forwardRef(function({ asChild, className,
15
17
  "data-sticky-header": stickyHeader || void 0,
16
18
  "data-striped": striped || void 0,
17
19
  "data-variant": variant,
18
- className: clsx(Table_module.root, className),
19
- ...props,
20
20
  "data-slot": "table-root"
21
21
  });
22
22
  });
@@ -24,10 +24,10 @@ const Table_TableScrollArea = /*#__PURE__*/ forwardRef(function({ asChild, class
24
24
  return /*#__PURE__*/ jsx(ark.div, {
25
25
  ref: ref,
26
26
  asChild: asChild,
27
- "data-scope": "table",
28
- "data-part": "scroll-area",
29
27
  className: clsx(Table_module.scrollArea, className),
30
28
  ...props,
29
+ "data-scope": "table",
30
+ "data-part": "scroll-area",
31
31
  "data-slot": "table-scroll-area"
32
32
  });
33
33
  });
@@ -35,11 +35,11 @@ const Table_TableCaption = /*#__PURE__*/ forwardRef(function({ asChild, classNam
35
35
  return /*#__PURE__*/ jsx(ark.caption, {
36
36
  ref: ref,
37
37
  asChild: asChild,
38
+ className: clsx(Table_module.caption, className),
39
+ ...props,
38
40
  "data-scope": "table",
39
41
  "data-part": "caption",
40
42
  "data-side": side,
41
- className: clsx(Table_module.caption, className),
42
- ...props,
43
43
  "data-slot": "table-caption"
44
44
  });
45
45
  });
@@ -47,10 +47,10 @@ const Table_TableColumnGroup = /*#__PURE__*/ forwardRef(function({ asChild, clas
47
47
  return /*#__PURE__*/ jsx(ark.colgroup, {
48
48
  ref: ref,
49
49
  asChild: asChild,
50
- "data-scope": "table",
51
- "data-part": "column-group",
52
50
  className: className,
53
51
  ...props,
52
+ "data-scope": "table",
53
+ "data-part": "column-group",
54
54
  "data-slot": "table-column-group"
55
55
  });
56
56
  });
@@ -58,11 +58,11 @@ const Table_TableColumn = /*#__PURE__*/ forwardRef(function({ asChild, className
58
58
  return /*#__PURE__*/ jsx(ark.col, {
59
59
  ref: ref,
60
60
  asChild: asChild,
61
- "data-scope": "table",
62
- "data-part": "column",
63
61
  width: htmlWidth ?? width,
64
62
  className: className,
65
63
  ...props,
64
+ "data-scope": "table",
65
+ "data-part": "column",
66
66
  "data-slot": "table-column"
67
67
  });
68
68
  });
@@ -70,10 +70,10 @@ const Table_TableHeader = /*#__PURE__*/ forwardRef(function({ asChild, className
70
70
  return /*#__PURE__*/ jsx(ark.thead, {
71
71
  ref: ref,
72
72
  asChild: asChild,
73
- "data-scope": "table",
74
- "data-part": "header",
75
73
  className: clsx(Table_module.header, className),
76
74
  ...props,
75
+ "data-scope": "table",
76
+ "data-part": "header",
77
77
  "data-slot": "table-header"
78
78
  });
79
79
  });
@@ -81,10 +81,10 @@ const Table_TableBody = /*#__PURE__*/ forwardRef(function({ asChild, className,
81
81
  return /*#__PURE__*/ jsx(ark.tbody, {
82
82
  ref: ref,
83
83
  asChild: asChild,
84
- "data-scope": "table",
85
- "data-part": "body",
86
84
  className: clsx(Table_module.body, className),
87
85
  ...props,
86
+ "data-scope": "table",
87
+ "data-part": "body",
88
88
  "data-slot": "table-body"
89
89
  });
90
90
  });
@@ -92,10 +92,10 @@ const Table_TableFooter = /*#__PURE__*/ forwardRef(function({ asChild, className
92
92
  return /*#__PURE__*/ jsx(ark.tfoot, {
93
93
  ref: ref,
94
94
  asChild: asChild,
95
- "data-scope": "table",
96
- "data-part": "footer",
97
95
  className: clsx(Table_module.footer, className),
98
96
  ...props,
97
+ "data-scope": "table",
98
+ "data-part": "footer",
99
99
  "data-slot": "table-footer"
100
100
  });
101
101
  });
@@ -103,10 +103,10 @@ const Table_TableRow = /*#__PURE__*/ forwardRef(function({ asChild, className, .
103
103
  return /*#__PURE__*/ jsx(ark.tr, {
104
104
  ref: ref,
105
105
  asChild: asChild,
106
- "data-scope": "table",
107
- "data-part": "row",
108
106
  className: clsx(Table_module.row, className),
109
107
  ...props,
108
+ "data-scope": "table",
109
+ "data-part": "row",
110
110
  "data-slot": "table-row"
111
111
  });
112
112
  });
@@ -114,11 +114,11 @@ const Table_TableColumnHeader = /*#__PURE__*/ forwardRef(function({ asChild, cla
114
114
  return /*#__PURE__*/ jsx(ark.th, {
115
115
  ref: ref,
116
116
  asChild: asChild,
117
+ className: clsx(Table_module.columnHeader, numeric && Table_module.numeric, className),
118
+ ...props,
117
119
  "data-scope": "table",
118
120
  "data-part": "column-header",
119
121
  "data-numeric": numeric || void 0,
120
- className: clsx(Table_module.columnHeader, numeric && Table_module.numeric, className),
121
- ...props,
122
122
  "data-slot": "table-column-header"
123
123
  });
124
124
  });
@@ -126,11 +126,11 @@ const Table_TableCell = /*#__PURE__*/ forwardRef(function({ asChild, className,
126
126
  return /*#__PURE__*/ jsx(ark.td, {
127
127
  ref: ref,
128
128
  asChild: asChild,
129
+ className: clsx(Table_module.cell, numeric && Table_module.numeric, className),
130
+ ...props,
129
131
  "data-scope": "table",
130
132
  "data-part": "cell",
131
133
  "data-numeric": numeric || void 0,
132
- className: clsx(Table_module.cell, numeric && Table_module.numeric, className),
133
- ...props,
134
134
  "data-slot": "table-cell"
135
135
  });
136
136
  });
@@ -144,11 +144,11 @@ const Table_TableEmpty = /*#__PURE__*/ forwardRef(function({ asChild, children =
144
144
  children: /*#__PURE__*/ jsx(ark.td, {
145
145
  ref: ref,
146
146
  asChild: asChild,
147
- "data-scope": "table",
148
- "data-part": "empty",
149
147
  colSpan: colSpan,
150
148
  className: clsx(Table_module.cell, Table_module.empty, className),
151
149
  ...props,
150
+ "data-scope": "table",
151
+ "data-part": "empty",
152
152
  "data-slot": "table-empty",
153
153
  children: children
154
154
  })
@@ -84,8 +84,10 @@
84
84
  background-color: var(--moduix-table-row-bg-striped, color-mix(in oklab, var(--moduix-color-muted) 35%, transparent));
85
85
  }
86
86
 
87
- .root-iUez_7[data-interactive] .body-JqLHru .row-vTGkhP:not([data-empty]):hover {
88
- background-color: var(--moduix-table-row-bg-hover, var(--moduix-color-muted));
87
+ @media (hover: hover) {
88
+ .root-iUez_7[data-interactive] .body-JqLHru .row-vTGkhP:not([data-empty]):hover {
89
+ background-color: var(--moduix-table-row-bg-hover, var(--moduix-color-muted));
90
+ }
89
91
  }
90
92
 
91
93
  .root-iUez_7[data-interactive] .body-JqLHru .row-vTGkhP:not([data-empty]):focus-within {
@@ -8,10 +8,10 @@ const Tabs_TabsRoot = /*#__PURE__*/ forwardRef(function({ className, orientation
8
8
  const resolvedVariant = 'vertical' === orientation ? 'default' : variant;
9
9
  return /*#__PURE__*/ jsx(Tabs.Root, {
10
10
  ref: ref,
11
- "data-variant": resolvedVariant,
12
11
  className: clsx(Tabs_module.root, className),
13
12
  orientation: orientation,
14
13
  ...props,
14
+ "data-variant": resolvedVariant,
15
15
  "data-slot": "tabs-root"
16
16
  });
17
17
  });
@@ -20,10 +20,10 @@ const Tabs_TabsRootProvider = /*#__PURE__*/ forwardRef(function({ className, val
20
20
  const resolvedVariant = 'vertical' === orientation ? 'default' : variant;
21
21
  return /*#__PURE__*/ jsx(Tabs.RootProvider, {
22
22
  ref: ref,
23
- "data-variant": resolvedVariant,
24
23
  className: clsx(Tabs_module.root, className),
25
24
  value: value,
26
25
  ...props,
26
+ "data-variant": resolvedVariant,
27
27
  "data-slot": "tabs-root-provider"
28
28
  });
29
29
  });
@@ -48,7 +48,7 @@
48
48
  }
49
49
  }
50
50
 
51
- .root-r9cKMR[data-variant="line"]:not([data-orientation="vertical"]) .list-HWuixw {
51
+ .root-r9cKMR[data-variant="line"] .list-HWuixw {
52
52
  border-width: 0 0 var(--moduix-tabs-list-border-width, var(--moduix-border-width-sm));
53
53
  background-color: #0000;
54
54
  border-radius: 0;
@@ -134,7 +134,7 @@
134
134
  translate: 0 -50%;
135
135
  }
136
136
 
137
- .root-r9cKMR[data-variant="line"]:not([data-orientation="vertical"]) .indicator-Eq3gMQ {
137
+ .root-r9cKMR[data-variant="line"] .indicator-Eq3gMQ {
138
138
  --transition-duration: var(--moduix-tabs-line-indicator-transition-duration, var(--moduix-duration-normal));
139
139
  --transition-timing-function: var(--moduix-tabs-line-indicator-transition-timing-function, var(--moduix-ease-in-out));
140
140
  height: var(--moduix-tabs-line-indicator-size, var(--moduix-spacing-0-5));
@@ -130,7 +130,6 @@
130
130
  height: var(--moduix-tags-input-input-height, var(--moduix-size-xs));
131
131
  padding: 0 var(--moduix-tags-input-input-padding-x, var(--moduix-spacing-1));
132
132
  color: inherit;
133
- font: inherit;
134
133
  font-size: var(--moduix-tags-input-input-font-size, var(--moduix-input-font-size, var(--moduix-text-sm)));
135
134
  line-height: var(--moduix-tags-input-input-line-height, var(--moduix-input-line-height, var(--moduix-line-height-text-sm)));
136
135
  background-color: #0000;
@@ -151,7 +150,7 @@
151
150
  flex: 0 1 var(--moduix-tags-input-item-input-width, 7rem);
152
151
  }
153
152
 
154
- .input-uYY2LW[data-readonly] {
153
+ .input-uYY2LW[data-readonly], .control-aj7rxt[data-readonly] .itemDeleteTrigger-Fx1XkC {
155
154
  display: none;
156
155
  }
157
156
 
@@ -182,8 +181,10 @@
182
181
  flex: none;
183
182
  }
184
183
 
185
- .itemDeleteTrigger-Fx1XkC:hover {
186
- background-color: var(--moduix-tags-input-trigger-bg-hover, color-mix(in oklab, currentColor 12%, transparent));
184
+ @media (hover: hover) {
185
+ .itemDeleteTrigger-Fx1XkC:hover {
186
+ background-color: var(--moduix-tags-input-trigger-bg-hover, color-mix(in oklab, currentColor 12%, transparent));
187
+ }
187
188
  }
188
189
 
189
190
  .itemDeleteTrigger-Fx1XkC:focus-visible {
@@ -1 +1,2 @@
1
1
  export { Timer, useTimer, useTimerContext } from './Timer.js';
2
+ export type { TimerSegmentsProps } from './Timer.js';
@@ -1,10 +1,10 @@
1
1
  import "./Toast_module.css";
2
2
  const Toast_module = {
3
- toaster: "toaster-m5bxJd",
4
3
  root: "root-p_jC2T",
5
4
  title: "title-MTy3zi",
6
5
  description: "description-AIx4K_",
7
6
  actionTrigger: "actionTrigger-ftU5e1",
8
- closeTrigger: "closeTrigger-IYs7Wg"
7
+ closeTrigger: "closeTrigger-IYs7Wg",
8
+ toaster: "toaster-m5bxJd"
9
9
  };
10
10
  export default Toast_module;
@@ -1,8 +1,4 @@
1
1
  @layer moduix.components {
2
- .toaster-m5bxJd {
3
- z-index: var(--moduix-toast-z-index, var(--moduix-z-toast));
4
- }
5
-
6
2
  .root-p_jC2T {
7
3
  --_toast-trigger-bg-default: transparent;
8
4
  --_toast-trigger-bg-hover-default: var(--moduix-color-accent);
@@ -123,8 +119,10 @@
123
119
  display: inline-flex;
124
120
  }
125
121
 
126
- .actionTrigger-ftU5e1:hover {
127
- background: var(--moduix-toast-action-bg-hover, var(--_toast-trigger-bg-hover-default));
122
+ @media (hover: hover) {
123
+ .actionTrigger-ftU5e1:hover {
124
+ background: var(--moduix-toast-action-bg-hover, var(--_toast-trigger-bg-hover-default));
125
+ }
128
126
  }
129
127
 
130
128
  .actionTrigger-ftU5e1:focus-visible {
@@ -24,12 +24,14 @@ const Toc_TocRoot = /*#__PURE__*/ forwardRef(function({ autoScroll = false, clas
24
24
  });
25
25
  });
26
26
  const Toc_TocRootProvider = /*#__PURE__*/ forwardRef(function({ className, style, value, ...props }, ref) {
27
+ const rootProps = value.getRootProps();
27
28
  return /*#__PURE__*/ jsx(Toc.RootProvider, {
28
29
  ref: ref,
29
30
  value: value,
31
+ ...rootProps,
30
32
  className: clsx(Toc_module.root, className),
31
33
  style: {
32
- ...value.getRootProps().style,
34
+ ...rootProps.style,
33
35
  ...style
34
36
  },
35
37
  ...props,
@@ -35,6 +35,7 @@
35
35
  var(--moduix-table-of-contents-nav-border-color, var(--moduix-color-border));
36
36
  border-radius: var(--moduix-table-of-contents-nav-radius, var(--moduix-radius-lg));
37
37
  background-color: var(--moduix-table-of-contents-nav-bg, var(--moduix-color-card));
38
+ color: var(--moduix-table-of-contents-nav-color, var(--moduix-color-card-foreground));
38
39
  align-self: start;
39
40
  position: sticky;
40
41
  overflow: auto;
@@ -176,7 +177,7 @@
176
177
  scroll-behavior: auto;
177
178
  }
178
179
 
179
- .indicator-Zeit8l {
180
+ .link-L4LQA0, .indicator-Zeit8l {
180
181
  transition: none;
181
182
  }
182
183
  }
@@ -7,10 +7,10 @@ import Toggle_module from "./Toggle.module.js";
7
7
  const Toggle_ToggleRoot = /*#__PURE__*/ forwardRef(function({ className, variant = 'default', size = 'md', ...props }, ref) {
8
8
  return /*#__PURE__*/ jsx(Toggle.Root, {
9
9
  ref: ref,
10
- "data-variant": variant,
11
- "data-size": size,
12
10
  className: clsx(Toggle_module.root, className),
13
11
  ...props,
12
+ "data-variant": variant,
13
+ "data-size": size,
14
14
  "data-slot": "toggle-root"
15
15
  });
16
16
  });
@@ -144,18 +144,21 @@
144
144
  .root-FOmqpM[data-size="icon-sm"] {
145
145
  width: var(--moduix-toggle-size-icon-sm, var(--moduix-size-sm));
146
146
  min-width: var(--moduix-toggle-size-icon-sm, var(--moduix-size-sm));
147
+ min-height: var(--moduix-toggle-size-icon-sm, var(--moduix-size-sm));
147
148
  height: var(--moduix-toggle-size-icon-sm, var(--moduix-size-sm));
148
149
  }
149
150
 
150
151
  .root-FOmqpM[data-size="icon-md"] {
151
152
  width: var(--moduix-toggle-size-icon-md, var(--moduix-size-md));
152
153
  min-width: var(--moduix-toggle-size-icon-md, var(--moduix-size-md));
154
+ min-height: var(--moduix-toggle-size-icon-md, var(--moduix-size-md));
153
155
  height: var(--moduix-toggle-size-icon-md, var(--moduix-size-md));
154
156
  }
155
157
 
156
158
  .root-FOmqpM[data-size="icon-lg"] {
157
159
  width: var(--moduix-toggle-size-icon-lg, var(--moduix-size-lg));
158
160
  min-width: var(--moduix-toggle-size-icon-lg, var(--moduix-size-lg));
161
+ min-height: var(--moduix-toggle-size-icon-lg, var(--moduix-size-lg));
159
162
  height: var(--moduix-toggle-size-icon-lg, var(--moduix-size-lg));
160
163
  }
161
164
 
@@ -1 +1,2 @@
1
1
  export { ToggleGroup, useToggleGroup, useToggleGroupContext } from './ToggleGroup.js';
2
+ export type { ToggleGroupItemProps, ToggleGroupRootProps, ToggleGroupRootProviderProps, ToggleSize, ToggleVariant, } from './ToggleGroup.js';
@@ -18,3 +18,4 @@ declare const Tooltip: typeof TooltipRoot & {
18
18
  ArrowTip: import("react").ForwardRefExoticComponent<Omit<TooltipPrimitive.ArrowTipProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
19
19
  };
20
20
  export { Tooltip, useTooltip, useTooltipContext };
21
+ export type { TooltipRootProps, TooltipRootProviderProps };
@@ -60,12 +60,10 @@
60
60
  .positioner-oQOZIG {
61
61
  z-index: var(--z-index, var(--moduix-z-popup));
62
62
  max-width: var(--available-width);
63
- max-height: var(--available-height);
63
+ outline: 0;
64
64
  }
65
65
 
66
66
  .content-Ca8mTU {
67
- --arrow-background: var(--moduix-tooltip-arrow-background, var(--moduix-tooltip-bg, var(--moduix-color-popover)));
68
- --arrow-size: var(--moduix-tooltip-arrow-size, var(--moduix-spacing-2-5));
69
67
  box-sizing: border-box;
70
68
  z-index: var(--moduix-tooltip-z-index, var(--moduix-z-popup));
71
69
  max-width: min(var(--moduix-tooltip-max-width, 20rem), var(--available-width));
@@ -1 +1,2 @@
1
1
  export { Tooltip, useTooltip, useTooltipContext } from './Tooltip.js';
2
+ export type { TooltipRootProps, TooltipRootProviderProps } from './Tooltip.js';
@@ -2,6 +2,7 @@ import { Tour as TourPrimitive, useTour, useTourContext, waitForElement, waitFor
2
2
  import type { ComponentProps } from 'react';
3
3
  import { type OverlayPortalProps } from '../../internal/overlayPortal.js';
4
4
  type TourRootProps = ComponentProps<typeof TourPrimitive.Root> & OverlayPortalProps;
5
+ type TourCloseIconProps = Omit<ComponentProps<typeof TourPrimitive.CloseTrigger>, 'asChild'>;
5
6
  declare function TourRoot({ lazyMount, portalled, portalRef, unmountOnExit, ...props }: TourRootProps): import("react").JSX.Element;
6
7
  declare function TourActionList({ className }: {
7
8
  className?: string;
@@ -20,10 +21,11 @@ declare const Tour: typeof TourRoot & {
20
21
  ProgressText: import("react").ForwardRefExoticComponent<Omit<TourPrimitive.ProgressTextProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
21
22
  Body: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLDivElement>>;
22
23
  CloseTrigger: import("react").ForwardRefExoticComponent<Omit<TourPrimitive.CloseTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
23
- CloseIcon: import("react").ForwardRefExoticComponent<Omit<Omit<TourPrimitive.CloseTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "asChild">, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
24
+ CloseIcon: import("react").ForwardRefExoticComponent<Omit<TourCloseIconProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
24
25
  Control: import("react").ForwardRefExoticComponent<Omit<TourPrimitive.ControlProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
25
26
  Actions: (props: TourPrimitive.ActionsProps) => import("react").ReactNode;
26
27
  ActionList: typeof TourActionList;
27
28
  ActionTrigger: import("react").ForwardRefExoticComponent<Omit<TourPrimitive.ActionTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
28
29
  };
29
30
  export { Tour, useTour, useTourContext, waitForElement, waitForElementValue, waitForEvent, waitForPromise, };
31
+ export type { TourCloseIconProps, TourRootProps };
@@ -18,7 +18,8 @@
18
18
  }
19
19
 
20
20
  .spotlight-gPJyi_ {
21
- z-index: calc(var(--moduix-tour-z-index, var(--moduix-z-modal)) + var(--tour-layer, 0));
21
+ z-index: calc(var(--moduix-tour-z-index, var(--moduix-z-modal)) + var(--tour-layer, 0) +
22
+ var(--layer-index, 0));
22
23
  box-shadow: var(--moduix-tour-spotlight-shadow, 0 0 0 var(--moduix-tour-spotlight-ring-width, 2px) var(--moduix-color-ring));
23
24
  }
24
25
 
@@ -110,8 +111,6 @@
110
111
  }
111
112
 
112
113
  .content-ZY9BS9 {
113
- --arrow-background: var(--moduix-tour-arrow-background, var(--moduix-tour-bg, var(--moduix-color-popover)));
114
- --arrow-size: var(--moduix-tour-arrow-size, var(--moduix-spacing-2-5));
115
114
  box-sizing: border-box;
116
115
  z-index: calc(var(--moduix-tour-z-index, var(--moduix-z-modal)) + var(--tour-layer, 0) +
117
116
  var(--layer-index, 0));
@@ -1 +1,2 @@
1
1
  export { Tour, useTour, useTourContext, waitForElement, waitForElementValue, waitForEvent, waitForPromise, } from './Tour.js';
2
+ export type { TourCloseIconProps, TourRootProps } from './Tour.js';
@@ -1,6 +1,6 @@
1
1
  import { TreeView as TreeViewPrimitive, createFileTreeCollection, createTreeCollection, type TreeNode, type TreeViewLoadChildrenDetails, type TreeViewNodeProviderProps, type TreeViewNodeState, type TreeViewRootComponent, type TreeViewRootProviderComponent, useTreeView, useTreeViewContext, useTreeViewNodeContext } from '@ark-ui/react/tree-view';
2
2
  import type { ComponentProps, ReactNode } from 'react';
3
- declare function TreeViewNodeCheckboxIndicator({ className, children, indeterminate, ...props }: ComponentProps<typeof TreeViewPrimitive.NodeCheckboxIndicator>): import("react").JSX.Element;
3
+ declare function TreeViewNodeCheckboxIndicator({ className, children, indeterminate, fallback, ...props }: ComponentProps<typeof TreeViewPrimitive.NodeCheckboxIndicator>): import("react").JSX.Element;
4
4
  type TreeViewNodeRenderProps<T extends TreeNode> = {
5
5
  indexPath: number[];
6
6
  node: T;