@moduix/react 2.7.0 → 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 (72) 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/command-palette/CommandPalette.js +1 -1
  10. package/dist/components/drawer/Drawer.js +1 -1
  11. package/dist/components/highlight/Highlight_module.css +0 -1
  12. package/dist/components/json-tree-view/JsonTreeView_module.css +9 -1
  13. package/dist/components/marquee/Marquee_module.css +12 -14
  14. package/dist/components/menu/Menu.js +5 -5
  15. package/dist/components/native-select/NativeSelect.js +2 -0
  16. package/dist/components/native-select/NativeSelect_module.css +7 -7
  17. package/dist/components/navigation-menu/NavigationMenu_module.css +2 -2
  18. package/dist/components/number-input/NumberInput_module.css +4 -4
  19. package/dist/components/pagination/Pagination.js +4 -4
  20. package/dist/components/pagination/Pagination_module.css +1 -1
  21. package/dist/components/password-input/PasswordInput_module.css +11 -3
  22. package/dist/components/password-input/index.d.ts +1 -1
  23. package/dist/components/password-input/index.js +1 -1
  24. package/dist/components/popover/Popover.d.ts +2 -2
  25. package/dist/components/popover/index.d.ts +1 -0
  26. package/dist/components/progress-linear/ProgressLinear_module.css +0 -1
  27. package/dist/components/radio-group/RadioGroup.js +1 -1
  28. package/dist/components/radio-group/RadioGroup_module.css +1 -4
  29. package/dist/components/rating-group/RatingGroup.js +4 -4
  30. package/dist/components/rating-group/RatingGroup_module.css +2 -14
  31. package/dist/components/segment-group/SegmentGroup.js +1 -0
  32. package/dist/components/select/Select.module.js +1 -1
  33. package/dist/components/select/Select_module.css +4 -4
  34. package/dist/components/separator/Separator_module.css +6 -6
  35. package/dist/components/sidebar/Sidebar.js +39 -41
  36. package/dist/components/sidebar/Sidebar_module.css +1 -1
  37. package/dist/components/signature-pad/SignaturePad.d.ts +1 -1
  38. package/dist/components/simple-grid/SimpleGrid.js +1 -2
  39. package/dist/components/slider/Slider.js +1 -1
  40. package/dist/components/slider/Slider_module.css +6 -4
  41. package/dist/components/split-button/SplitButton_module.css +4 -1
  42. package/dist/components/steps/Steps_module.css +1 -1
  43. package/dist/components/swap/Swap.js +2 -2
  44. package/dist/components/swap/Swap_module.css +0 -3
  45. package/dist/components/switch/Switch.js +2 -2
  46. package/dist/components/switch/Switch_module.css +2 -2
  47. package/dist/components/table/Table.js +24 -24
  48. package/dist/components/table/Table_module.css +4 -2
  49. package/dist/components/tabs/Tabs.js +2 -2
  50. package/dist/components/tabs/Tabs_module.css +2 -2
  51. package/dist/components/tags-input/TagsInput_module.css +5 -4
  52. package/dist/components/timer/index.d.ts +1 -0
  53. package/dist/components/toast/Toast.module.js +2 -2
  54. package/dist/components/toast/Toast_module.css +4 -6
  55. package/dist/components/toc/Toc.js +3 -1
  56. package/dist/components/toc/Toc_module.css +2 -1
  57. package/dist/components/toggle/Toggle.js +2 -2
  58. package/dist/components/toggle/Toggle_module.css +3 -0
  59. package/dist/components/toggle-group/index.d.ts +1 -0
  60. package/dist/components/tooltip/Tooltip.d.ts +1 -0
  61. package/dist/components/tooltip/Tooltip_module.css +1 -3
  62. package/dist/components/tooltip/index.d.ts +1 -0
  63. package/dist/components/tour/Tour.d.ts +3 -1
  64. package/dist/components/tour/Tour_module.css +2 -3
  65. package/dist/components/tour/index.d.ts +1 -0
  66. package/dist/components/tree-view/TreeView.d.ts +1 -1
  67. package/dist/components/tree-view/TreeView.js +7 -4
  68. package/dist/components/tree-view/TreeView_module.css +7 -5
  69. package/dist/components/typeset/Typeset_module.css +6 -4
  70. package/dist/styles/animations.css +10 -0
  71. package/dist/styles/style.css +2 -0
  72. package/package.json +14 -15
@@ -128,13 +128,16 @@ const TreeView_TreeViewNodeCheckbox = /*#__PURE__*/ forwardRef(function({ classN
128
128
  "data-slot": "tree-view-node-checkbox"
129
129
  });
130
130
  });
131
- function TreeViewNodeCheckboxIndicator({ className, children, indeterminate, ...props }) {
132
- return /*#__PURE__*/ jsx(TreeView.NodeCheckboxIndicator, {
131
+ function TreeViewNodeCheckboxIndicator({ className, children, indeterminate, fallback, ...props }) {
132
+ return /*#__PURE__*/ jsx("span", {
133
133
  className: clsx(TreeView_module.nodeCheckboxIndicator, className),
134
- indeterminate: indeterminate ?? /*#__PURE__*/ jsx(IndeterminateIcon, {}),
135
134
  ...props,
136
135
  "data-slot": "tree-view-node-checkbox-indicator",
137
- children: children ?? /*#__PURE__*/ jsx(CheckIcon, {})
136
+ children: /*#__PURE__*/ jsx(TreeView.NodeCheckboxIndicator, {
137
+ fallback: fallback,
138
+ indeterminate: indeterminate ?? /*#__PURE__*/ jsx(IndeterminateIcon, {}),
139
+ children: children ?? /*#__PURE__*/ jsx(CheckIcon, {})
140
+ })
138
141
  });
139
142
  }
140
143
  const TreeView_TreeViewNodeRenameInput = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
@@ -88,12 +88,14 @@
88
88
  inset-inline-end: 0;
89
89
  }
90
90
 
91
- :is(.branchControl-ositpp, .item-D7JZg4):not([data-disabled]):hover {
92
- color: var(--moduix-tree-view-item-hover-color, var(--moduix-color-accent-foreground));
93
- }
91
+ @media (hover: hover) {
92
+ :is(.branchControl-ositpp, .item-D7JZg4):not([data-disabled]):hover {
93
+ color: var(--moduix-tree-view-item-hover-color, var(--moduix-color-accent-foreground));
94
+ }
94
95
 
95
- :is(.branchControl-ositpp, .item-D7JZg4):not([data-disabled]):hover:before {
96
- background-color: var(--moduix-tree-view-item-hover-bg, var(--moduix-color-accent));
96
+ :is(.branchControl-ositpp, .item-D7JZg4):not([data-disabled]):hover:before {
97
+ background-color: var(--moduix-tree-view-item-hover-bg, var(--moduix-color-accent));
98
+ }
97
99
  }
98
100
 
99
101
  :is(:is(.branchControl-ositpp, .item-D7JZg4):focus-visible, :is(.branchControl-ositpp, .item-D7JZg4)[data-focus]):before {
@@ -104,8 +104,9 @@
104
104
  }
105
105
 
106
106
  .root-DaHOOi :not(:where(.not-typeset, [data-not-typeset], .not-typeset *, [data-not-typeset] *)):where(a:focus-visible) {
107
- outline: 2px solid var(--moduix-color-ring, currentColor);
108
- outline-offset: 2px;
107
+ outline: var(--moduix-focus-ring-width, var(--moduix-border-width-md)) solid
108
+ var(--moduix-color-ring, currentColor);
109
+ outline-offset: var(--moduix-focus-ring-offset, var(--moduix-spacing-0-5));
109
110
  border-radius: .125em;
110
111
  }
111
112
 
@@ -118,9 +119,10 @@
118
119
  }
119
120
 
120
121
  .root-DaHOOi :not(:where(.not-typeset, [data-not-typeset], .not-typeset *, [data-not-typeset] *)):where(mark) {
122
+ background-color: color-mix(in oklab,
123
+ var(--moduix-color-warning, currentColor) 40%,
124
+ transparent);
121
125
  color: inherit;
122
- background-color: #f4ce2366;
123
- background-color: lab(84.3279% 2.77337 79.232 / .4);
124
126
  border-radius: .2em;
125
127
  padding: .05em .15em;
126
128
  }
@@ -81,6 +81,16 @@
81
81
  }
82
82
  }
83
83
 
84
+ @keyframes moduix-progress-circular-indeterminate {
85
+ from {
86
+ transform: rotate(-90deg);
87
+ }
88
+
89
+ to {
90
+ transform: rotate(270deg);
91
+ }
92
+ }
93
+
84
94
  @keyframes moduix-progress-linear-indeterminate {
85
95
  from {
86
96
  transform: translateX(-100%);
@@ -139,6 +139,8 @@
139
139
  var(--marquee-loop-count);
140
140
  --animate-moduix-progress-linear-indeterminate: moduix-progress-linear-indeterminate 1.5s
141
141
  ease-in-out infinite;
142
+ --animate-moduix-progress-circular-indeterminate: moduix-progress-circular-indeterminate 1.4s
143
+ linear infinite;
142
144
  --animate-moduix-progress-linear-indeterminate-vertical: moduix-progress-linear-indeterminate-vertical
143
145
  1.5s ease-in-out infinite;
144
146
  --animate-moduix-collapsible-open: moduix-collapsible-content-open
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moduix/react",
3
- "version": "2.7.0",
3
+ "version": "2.8.0",
4
4
  "description": "React implementation of the moduix component system, built on Ark UI primitives.",
5
5
  "keywords": [
6
6
  "accessible",
@@ -417,30 +417,29 @@
417
417
  "dependencies": {
418
418
  "@unpic/core": "^1.0.3",
419
419
  "@unpic/react": "^1.0.2",
420
- "@zag-js/hotkeys": "1.43.3",
421
420
  "clsx": "^2.1.1",
422
- "lucide-react": "^1.40.0"
421
+ "lucide-react": "^1.46.0"
423
422
  },
424
423
  "devDependencies": {
425
- "@ark-ui/react": "^5.39.1",
426
- "@internationalized/date": "3.12.3",
427
- "@microsoft/api-extractor": "^7.59.0",
428
- "@rsbuild/core": "^2.2.3",
424
+ "@ark-ui/react": "^5.39.2",
425
+ "@internationalized/date": "^3.12.4",
426
+ "@microsoft/api-extractor": "^7.59.1",
427
+ "@rsbuild/core": "^2.2.6",
429
428
  "@rsbuild/plugin-react": "^2.1.0",
430
429
  "@rslib/core": "^1.0.0",
431
430
  "@rstest/adapter-rslib": "^0.11.12",
432
431
  "@rstest/core": "^0.11.12",
433
- "@tanstack/charts": "^0.16.0",
434
- "@testing-library/dom": "^10.4.1",
432
+ "@tanstack/charts": "^0.16.2",
433
+ "@testing-library/dom": "^10.4.2",
435
434
  "@testing-library/jest-dom": "^7.0.1",
436
435
  "@testing-library/react": "^16.3.3",
437
436
  "@testing-library/user-event": "^14.6.7",
438
- "@types/node": "^26.4.1",
439
- "@types/react": "^19.2.18",
440
- "@types/react-dom": "^19.2.7",
441
- "happy-dom": "^20.14.0",
442
- "react": "^19.2.8",
443
- "react-dom": "^19.2.8",
437
+ "@types/node": "^26.5.1",
438
+ "@types/react": "^19.3.0",
439
+ "@types/react-dom": "^19.3.0",
440
+ "happy-dom": "^20.14.5",
441
+ "react": "^19.3.0",
442
+ "react-dom": "^19.3.0",
444
443
  "typescript": "~7.0.2"
445
444
  },
446
445
  "peerDependencies": {