@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.
- package/dist/components/accordion/Accordion.js +2 -2
- package/dist/components/alert/Alert.js +12 -12
- package/dist/components/angle-slider/AngleSlider.js +12 -1
- package/dist/components/angle-slider/AngleSlider_module.css +65 -90
- package/dist/components/avatar/Avatar.js +1 -1
- package/dist/components/breadcrumbs/Breadcrumbs.d.ts +5 -5
- package/dist/components/breadcrumbs/Breadcrumbs.js +21 -19
- package/dist/components/carousel/Carousel_module.css +2 -2
- package/dist/components/drawer/Drawer.js +1 -1
- package/dist/components/highlight/Highlight_module.css +0 -1
- package/dist/components/json-tree-view/JsonTreeView_module.css +9 -1
- package/dist/components/marquee/Marquee_module.css +12 -14
- package/dist/components/menu/Menu.js +5 -5
- package/dist/components/native-select/NativeSelect.js +2 -0
- package/dist/components/native-select/NativeSelect_module.css +7 -7
- package/dist/components/navigation-menu/NavigationMenu_module.css +2 -2
- package/dist/components/number-input/NumberInput_module.css +4 -4
- package/dist/components/pagination/Pagination.js +4 -4
- package/dist/components/pagination/Pagination_module.css +1 -1
- package/dist/components/password-input/PasswordInput_module.css +11 -3
- package/dist/components/password-input/index.d.ts +1 -1
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/popover/Popover.d.ts +2 -2
- package/dist/components/popover/index.d.ts +1 -0
- package/dist/components/progress-linear/ProgressLinear_module.css +0 -1
- package/dist/components/radio-group/RadioGroup.js +1 -1
- package/dist/components/radio-group/RadioGroup_module.css +1 -4
- package/dist/components/rating-group/RatingGroup.js +4 -4
- package/dist/components/rating-group/RatingGroup_module.css +2 -14
- package/dist/components/segment-group/SegmentGroup.js +1 -0
- package/dist/components/select/Select.module.js +1 -1
- package/dist/components/select/Select_module.css +4 -4
- package/dist/components/separator/Separator_module.css +6 -6
- package/dist/components/sidebar/Sidebar.js +39 -41
- package/dist/components/sidebar/Sidebar_module.css +1 -1
- package/dist/components/signature-pad/SignaturePad.d.ts +1 -1
- package/dist/components/simple-grid/SimpleGrid.js +1 -2
- package/dist/components/slider/Slider.js +1 -1
- package/dist/components/slider/Slider_module.css +6 -4
- package/dist/components/split-button/SplitButton_module.css +4 -1
- package/dist/components/steps/Steps_module.css +1 -1
- package/dist/components/swap/Swap.js +2 -2
- package/dist/components/swap/Swap_module.css +0 -3
- package/dist/components/switch/Switch.js +2 -2
- package/dist/components/switch/Switch_module.css +2 -2
- package/dist/components/table/Table.js +24 -24
- package/dist/components/table/Table_module.css +4 -2
- package/dist/components/tabs/Tabs.js +2 -2
- package/dist/components/tabs/Tabs_module.css +2 -2
- package/dist/components/tags-input/TagsInput_module.css +5 -4
- package/dist/components/timer/index.d.ts +1 -0
- package/dist/components/toast/Toast.module.js +2 -2
- package/dist/components/toast/Toast_module.css +4 -6
- package/dist/components/toc/Toc.js +3 -1
- package/dist/components/toc/Toc_module.css +2 -1
- package/dist/components/toggle/Toggle.js +2 -2
- package/dist/components/toggle/Toggle_module.css +3 -0
- package/dist/components/toggle-group/index.d.ts +1 -0
- package/dist/components/tooltip/Tooltip.d.ts +1 -0
- package/dist/components/tooltip/Tooltip_module.css +1 -3
- package/dist/components/tooltip/index.d.ts +1 -0
- package/dist/components/tour/Tour.d.ts +3 -1
- package/dist/components/tour/Tour_module.css +2 -3
- package/dist/components/tour/index.d.ts +1 -0
- package/dist/components/tree-view/TreeView.d.ts +1 -1
- package/dist/components/tree-view/TreeView.js +7 -4
- package/dist/components/tree-view/TreeView_module.css +7 -5
- package/dist/components/typeset/Typeset_module.css +6 -4
- package/dist/styles/animations.css +10 -0
- package/dist/styles/style.css +2 -0
- 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(
|
|
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:
|
|
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
|
-
|
|
92
|
-
|
|
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
|
-
|
|
96
|
-
|
|
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:
|
|
108
|
-
|
|
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%);
|
package/dist/styles/style.css
CHANGED
|
@@ -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
|