@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
@@ -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.1",
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",