@moduix/react 2.1.0 → 2.2.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/README.md +13 -14
- package/dist/components/accordion/Accordion.css +47 -47
- package/dist/components/alert/Alert.css +62 -46
- package/dist/components/angle-slider/AngleSlider.css +65 -64
- package/dist/components/aspect-ratio/AspectRatio.css +2 -2
- package/dist/components/avatar/Avatar.css +26 -26
- package/dist/components/badge/Badge.css +34 -34
- package/dist/components/bleed/Bleed.css +13 -13
- package/dist/components/breadcrumbs/Breadcrumbs.css +28 -28
- package/dist/components/button/Button.css +81 -78
- package/dist/components/card/Card.css +46 -46
- package/dist/components/carousel/Carousel.css +57 -57
- package/dist/components/checkbox/Checkbox.css +40 -40
- package/dist/components/clipboard/Clipboard.css +68 -59
- package/dist/components/close-button/CloseButton.css +17 -17
- package/dist/components/collapsible/Collapsible.css +40 -38
- package/dist/components/color-picker/ColorPicker.css +155 -151
- package/dist/components/combobox/Combobox.css +118 -115
- package/dist/components/command-palette/CommandPalette.css +172 -177
- package/dist/components/command-palette/CommandPalette.module.js +0 -1
- package/dist/components/container/Container.css +12 -12
- package/dist/components/date-input/DateInput.css +41 -40
- package/dist/components/date-picker/DatePicker.css +174 -172
- package/dist/components/dialog/Dialog.css +84 -79
- package/dist/components/drawer/Drawer.css +126 -108
- package/dist/components/editable/Editable.css +63 -61
- package/dist/components/empty/Empty.css +25 -25
- package/dist/components/field/Field.css +45 -45
- package/dist/components/fieldset/Fieldset.css +22 -22
- package/dist/components/file-upload/FileUpload.css +128 -125
- package/dist/components/floating-panel/FloatingPanel.css +114 -110
- package/dist/components/heading/Heading.css +26 -26
- package/dist/components/highlight/Highlight.css +8 -8
- package/dist/components/hover-card/HoverCard.css +49 -47
- package/dist/components/image/Image.css +2 -2
- package/dist/components/image-cropper/ImageCropper.css +63 -60
- package/dist/components/input/Input.css +46 -45
- package/dist/components/input-group/InputGroup.css +71 -70
- package/dist/components/kbd/Kbd.css +16 -16
- package/dist/components/lightbox/Lightbox.css +80 -77
- package/dist/components/list/List.css +32 -32
- package/dist/components/listbox/Listbox.css +120 -117
- package/dist/components/marquee/Marquee.css +16 -16
- package/dist/components/menu/Menu.css +121 -120
- package/dist/components/native-select/NativeSelect.css +42 -41
- package/dist/components/number-input/NumberInput.css +59 -56
- package/dist/components/pagination/Pagination.css +35 -34
- package/dist/components/password-input/PasswordInput.css +60 -59
- package/dist/components/pin-input/PinInput.css +35 -35
- package/dist/components/popover/Popover.css +81 -77
- package/dist/components/progress-circular/ProgressCircular.css +20 -20
- package/dist/components/progress-linear/ProgressLinear.css +29 -28
- package/dist/components/qr-code/QrCode.css +39 -35
- package/dist/components/radio-group/RadioGroup.css +48 -48
- package/dist/components/rating-group/RatingGroup.css +30 -30
- package/dist/components/scroll-area/ScrollArea.css +34 -34
- package/dist/components/segment-group/SegmentGroup.css +37 -37
- package/dist/components/select/Select.css +118 -126
- package/dist/components/select/Select.d.ts +0 -5
- package/dist/components/select/Select.js +0 -8
- package/dist/components/select/Select.module.js +0 -1
- package/dist/components/separator/Separator.css +13 -13
- package/dist/components/sidebar/Sidebar.css +142 -142
- package/dist/components/signature-pad/SignaturePad.css +50 -50
- package/dist/components/skeleton/Skeleton.css +7 -5
- package/dist/components/slider/Slider.css +61 -61
- package/dist/components/spinner/Spinner.css +12 -12
- package/dist/components/split-button/SplitButton.css +12 -12
- package/dist/components/splitter/Splitter.css +63 -62
- package/dist/components/splitter/Splitter.js +2 -2
- package/dist/components/stack/Stack.css +4 -4
- package/dist/components/stack/Stack.js +3 -3
- package/dist/components/steps/Steps.css +89 -89
- package/dist/components/swap/Swap.css +7 -7
- package/dist/components/switch/Switch.css +59 -57
- package/dist/components/table/Table.css +58 -56
- package/dist/components/tabs/Tabs.css +64 -62
- package/dist/components/tag/Tag.css +45 -45
- package/dist/components/tags-input/TagsInput.css +92 -86
- package/dist/components/text/Text.css +23 -23
- package/dist/components/text/Text.js +1 -1
- package/dist/components/textarea/Textarea.css +27 -26
- package/dist/components/timer/Timer.css +38 -37
- package/dist/components/toast/Toast.css +94 -79
- package/dist/components/toggle/Toggle.css +66 -66
- package/dist/components/toggle-group/ToggleGroup.css +16 -16
- package/dist/components/tooltip/Tooltip.css +56 -53
- package/dist/components/tour/Tour.css +121 -117
- package/dist/components/tree-view/TreeView.css +88 -86
- package/dist/components/typeset/Typeset.css +61 -61
- package/dist/lib/moduix/presets/contrast.css +59 -60
- package/dist/lib/moduix/presets/dense.css +72 -73
- package/dist/lib/moduix/presets/soft.css +71 -72
- package/dist/lib/moduix/styles/reset.css +1 -1
- package/dist/lib/moduix/styles/style.css +230 -226
- package/package.json +1 -1
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
@layer
|
|
1
|
+
@layer moduix.components {
|
|
2
2
|
.d_HHPW_root {
|
|
3
3
|
align-items: flex-start;
|
|
4
|
-
gap: var(--pin-input-root-gap, var(--spacing-2));
|
|
5
|
-
width: var(--pin-input-width, auto);
|
|
6
|
-
max-width: var(--pin-input-max-width, none);
|
|
4
|
+
gap: var(--moduix-pin-input-root-gap, var(--moduix-spacing-2));
|
|
5
|
+
width: var(--moduix-pin-input-width, auto);
|
|
6
|
+
max-width: var(--moduix-pin-input-max-width, none);
|
|
7
7
|
flex-direction: column;
|
|
8
8
|
display: inline-flex;
|
|
9
9
|
|
|
10
10
|
&[data-disabled] {
|
|
11
|
-
opacity: var(--pin-input-disabled-opacity, var(--opacity-disabled));
|
|
11
|
+
opacity: var(--moduix-pin-input-disabled-opacity, var(--moduix-opacity-disabled));
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.d_HHPW_label {
|
|
16
|
-
color: var(--pin-input-label-color, var(--color-foreground));
|
|
17
|
-
font-size: var(--pin-input-label-font-size, var(--text-sm));
|
|
18
|
-
font-weight: var(--pin-input-label-font-weight, var(--weight-medium));
|
|
19
|
-
line-height: var(--pin-input-label-line-height, var(--line-height-text-sm));
|
|
16
|
+
color: var(--moduix-pin-input-label-color, var(--moduix-color-foreground));
|
|
17
|
+
font-size: var(--moduix-pin-input-label-font-size, var(--moduix-text-sm));
|
|
18
|
+
font-weight: var(--moduix-pin-input-label-font-weight, var(--moduix-weight-medium));
|
|
19
|
+
line-height: var(--moduix-pin-input-label-line-height, var(--moduix-line-height-text-sm));
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.d_HHPW_control {
|
|
23
23
|
align-items: center;
|
|
24
|
-
gap: var(--pin-input-gap, var(--spacing-2));
|
|
24
|
+
gap: var(--moduix-pin-input-gap, var(--moduix-spacing-2));
|
|
25
25
|
display: inline-flex;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.d_HHPW_input {
|
|
29
29
|
box-sizing: border-box;
|
|
30
|
-
width: var(--pin-input-input-width, var(--pin-input-input-size, var(--size-md)));
|
|
31
|
-
height: var(--pin-input-input-height, var(--pin-input-input-size, var(--size-md)));
|
|
32
|
-
border: var(--pin-input-border-width, var(--border-width-sm)) solid
|
|
33
|
-
var(--pin-input-border-color, var(--color-border));
|
|
34
|
-
border-radius: var(--pin-input-radius, var(--radius-md));
|
|
35
|
-
padding-block: var(--pin-input-input-padding-y, 0);
|
|
36
|
-
padding-inline: var(--pin-input-input-padding-x, 0);
|
|
37
|
-
background-color: var(--pin-input-bg, var(--color-background));
|
|
38
|
-
color: var(--pin-input-color, var(--color-foreground));
|
|
30
|
+
width: var(--moduix-pin-input-input-width, var(--moduix-pin-input-input-size, var(--moduix-size-md)));
|
|
31
|
+
height: var(--moduix-pin-input-input-height, var(--moduix-pin-input-input-size, var(--moduix-size-md)));
|
|
32
|
+
border: var(--moduix-pin-input-border-width, var(--moduix-border-width-sm)) solid
|
|
33
|
+
var(--moduix-pin-input-border-color, var(--moduix-color-border));
|
|
34
|
+
border-radius: var(--moduix-pin-input-radius, var(--moduix-radius-md));
|
|
35
|
+
padding-block: var(--moduix-pin-input-input-padding-y, 0);
|
|
36
|
+
padding-inline: var(--moduix-pin-input-input-padding-x, 0);
|
|
37
|
+
background-color: var(--moduix-pin-input-bg, var(--moduix-color-background));
|
|
38
|
+
color: var(--moduix-pin-input-color, var(--moduix-color-foreground));
|
|
39
39
|
font: inherit;
|
|
40
|
-
font-size: var(--pin-input-font-size, var(--text-lg));
|
|
41
|
-
font-weight: var(--pin-input-font-weight, var(--weight-medium));
|
|
42
|
-
line-height: var(--pin-input-line-height, var(--line-height-text-lg));
|
|
40
|
+
font-size: var(--moduix-pin-input-font-size, var(--moduix-text-lg));
|
|
41
|
+
font-weight: var(--moduix-pin-input-font-weight, var(--moduix-weight-medium));
|
|
42
|
+
line-height: var(--moduix-pin-input-line-height, var(--moduix-line-height-text-lg));
|
|
43
43
|
text-align: center;
|
|
44
44
|
font-variant-numeric: tabular-nums;
|
|
45
|
-
outline: var(--pin-input-focus-ring-width, var(--pin-input-border-width, var(--focus-ring-inset-width, var(--border-width-sm))))
|
|
45
|
+
outline: var(--moduix-pin-input-focus-ring-width, var(--moduix-pin-input-border-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm))))
|
|
46
46
|
solid transparent;
|
|
47
|
-
outline-offset: var(--pin-input-focus-ring-offset, var(--focus-ring-inset-offset));
|
|
48
|
-
transition: border-color var(--pin-input-transition, var(--transition-default)),
|
|
49
|
-
outline-color var(--pin-input-transition, var(--transition-default)),
|
|
50
|
-
background-color var(--pin-input-transition, var(--transition-default));
|
|
47
|
+
outline-offset: var(--moduix-pin-input-focus-ring-offset, var(--moduix-focus-ring-inset-offset));
|
|
48
|
+
transition: border-color var(--moduix-pin-input-transition, var(--moduix-transition-default)),
|
|
49
|
+
outline-color var(--moduix-pin-input-transition, var(--moduix-transition-default)),
|
|
50
|
+
background-color var(--moduix-pin-input-transition, var(--moduix-transition-default));
|
|
51
51
|
flex: none;
|
|
52
52
|
margin: 0;
|
|
53
53
|
|
|
54
54
|
&::placeholder {
|
|
55
|
-
color: var(--pin-input-placeholder-color, var(--color-muted-foreground));
|
|
55
|
+
color: var(--moduix-pin-input-placeholder-color, var(--moduix-color-muted-foreground));
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
&:focus-visible {
|
|
59
|
-
outline-color: var(--pin-input-focus-ring-color, var(--color-ring));
|
|
59
|
+
outline-color: var(--moduix-pin-input-focus-ring-color, var(--moduix-color-ring));
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
&[data-complete] {
|
|
63
|
-
border-color: var(--pin-input-border-color-complete, var(--pin-input-border-color, var(--color-border)));
|
|
63
|
+
border-color: var(--moduix-pin-input-border-color-complete, var(--moduix-pin-input-border-color, var(--moduix-color-border)));
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
&[data-invalid] {
|
|
67
|
-
border-color: var(--pin-input-border-color-invalid, var(--color-destructive));
|
|
67
|
+
border-color: var(--moduix-pin-input-border-color-invalid, var(--moduix-color-destructive));
|
|
68
68
|
|
|
69
69
|
&:focus-visible {
|
|
70
|
-
outline-color: var(--pin-input-border-color-invalid, var(--color-destructive));
|
|
70
|
+
outline-color: var(--moduix-pin-input-border-color-invalid, var(--moduix-color-destructive));
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
|
|
@@ -77,9 +77,9 @@
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.d_HHPW_separator {
|
|
80
|
-
width: var(--pin-input-separator-width, var(--pin-input-separator-size, var(--spacing-4)));
|
|
81
|
-
height: var(--pin-input-separator-height, var(--pin-input-separator-size, var(--spacing-4)));
|
|
82
|
-
color: var(--pin-input-separator-color, var(--color-muted-foreground));
|
|
80
|
+
width: var(--moduix-pin-input-separator-width, var(--moduix-pin-input-separator-size, var(--moduix-spacing-4)));
|
|
81
|
+
height: var(--moduix-pin-input-separator-height, var(--moduix-pin-input-separator-size, var(--moduix-spacing-4)));
|
|
82
|
+
color: var(--moduix-pin-input-separator-color, var(--moduix-color-muted-foreground));
|
|
83
83
|
pointer-events: none;
|
|
84
84
|
flex: none;
|
|
85
85
|
justify-content: center;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
@layer
|
|
1
|
+
@layer moduix.components {
|
|
2
2
|
.Qww_tG_trigger, .Qww_tG_closeTrigger {
|
|
3
3
|
box-sizing: border-box;
|
|
4
|
-
min-height: var(--popover-control-height, var(--size-md));
|
|
5
|
-
padding: var(--popover-control-padding-y, var(--spacing-1))
|
|
6
|
-
var(--popover-control-padding-x, var(--spacing-3-5));
|
|
7
|
-
border: var(--popover-control-border-width, var(--border-width-sm)) solid
|
|
8
|
-
var(--popover-control-border-color, var(--color-border));
|
|
9
|
-
border-radius: var(--popover-control-radius, var(--radius-md));
|
|
10
|
-
background-color: var(--popover-control-bg, var(--color-background));
|
|
11
|
-
color: var(--popover-control-color, var(--color-foreground));
|
|
4
|
+
min-height: var(--moduix-popover-control-height, var(--moduix-size-md));
|
|
5
|
+
padding: var(--moduix-popover-control-padding-y, var(--moduix-spacing-1))
|
|
6
|
+
var(--moduix-popover-control-padding-x, var(--moduix-spacing-3-5));
|
|
7
|
+
border: var(--moduix-popover-control-border-width, var(--moduix-border-width-sm)) solid
|
|
8
|
+
var(--moduix-popover-control-border-color, var(--moduix-color-border));
|
|
9
|
+
border-radius: var(--moduix-popover-control-radius, var(--moduix-radius-md));
|
|
10
|
+
background-color: var(--moduix-popover-control-bg, var(--moduix-color-background));
|
|
11
|
+
color: var(--moduix-popover-control-color, var(--moduix-color-foreground));
|
|
12
12
|
font: inherit;
|
|
13
|
-
font-size: var(--popover-control-font-size, var(--text-md));
|
|
14
|
-
line-height: var(--popover-control-line-height, var(--line-height-text-md));
|
|
13
|
+
font-size: var(--moduix-popover-control-font-size, var(--moduix-text-md));
|
|
14
|
+
line-height: var(--moduix-popover-control-line-height, var(--moduix-line-height-text-md));
|
|
15
15
|
user-select: none;
|
|
16
16
|
cursor: pointer;
|
|
17
|
-
transition: background-color var(--popover-transition, var(--transition-default)),
|
|
18
|
-
border-color var(--popover-transition, var(--transition-default)),
|
|
19
|
-
color var(--popover-transition, var(--transition-default));
|
|
17
|
+
transition: background-color var(--moduix-popover-transition, var(--moduix-transition-default)),
|
|
18
|
+
border-color var(--moduix-popover-transition, var(--moduix-transition-default)),
|
|
19
|
+
color var(--moduix-popover-transition, var(--moduix-transition-default));
|
|
20
20
|
outline: 0;
|
|
21
21
|
justify-content: center;
|
|
22
22
|
align-items: center;
|
|
@@ -25,51 +25,53 @@
|
|
|
25
25
|
|
|
26
26
|
@media (hover: hover) {
|
|
27
27
|
&:hover {
|
|
28
|
-
background-color: var(--popover-control-bg-hover, var(--color-accent));
|
|
28
|
+
background-color: var(--moduix-popover-control-bg-hover, var(--moduix-color-accent));
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
&:active, &[data-state="open"] {
|
|
33
|
-
background-color: var(--popover-control-bg-active, var(--popover-control-bg-hover, var(--color-accent)));
|
|
33
|
+
background-color: var(--moduix-popover-control-bg-active, var(--moduix-popover-control-bg-hover, var(--moduix-color-accent)));
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
&:focus-visible {
|
|
37
|
-
outline: var(--popover-focus-ring-width, var(--popover-control-border-width, var(--focus-ring-inset-width, var(--border-width-sm))))
|
|
38
|
-
solid var(--popover-focus-ring-color, var(--color-ring));
|
|
39
|
-
outline-offset: calc(var(--popover-focus-ring-width, var(--popover-control-border-width, var(--focus-ring-inset-width, var(--border-width-sm)))) *
|
|
37
|
+
outline: var(--moduix-popover-focus-ring-width, var(--moduix-popover-control-border-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm))))
|
|
38
|
+
solid var(--moduix-popover-focus-ring-color, var(--moduix-color-ring));
|
|
39
|
+
outline-offset: calc(var(--moduix-popover-focus-ring-width, var(--moduix-popover-control-border-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm)))) *
|
|
40
40
|
-1);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
&[data-disabled], &[disabled] {
|
|
44
44
|
pointer-events: none;
|
|
45
|
-
opacity: var(--popover-disabled-opacity, var(--opacity-disabled));
|
|
45
|
+
opacity: var(--moduix-popover-disabled-opacity, var(--moduix-opacity-disabled));
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.Qww_tG_positioner {
|
|
50
|
-
z-index: var(--z-index, var(--z-popup));
|
|
50
|
+
z-index: var(--z-index, var(--moduix-z-popup));
|
|
51
51
|
max-width: var(--available-width);
|
|
52
52
|
outline: 0;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.Qww_tG_content {
|
|
56
|
-
--popover-close-icon-size-effective: var(--popover-close-icon-size, var(--spacing-7));
|
|
57
|
-
--popover-close-icon-offset-effective: var(--popover-close-icon-offset, var(--spacing-3));
|
|
58
|
-
--popover-header-padding-inline-end-effective: var(--popover-header-padding-inline-end, calc(var(--popover-close-icon-size-effective) +
|
|
59
|
-
|
|
56
|
+
--moduix-popover-close-icon-size-effective: var(--moduix-popover-close-icon-size, var(--moduix-spacing-7));
|
|
57
|
+
--moduix-popover-close-icon-offset-effective: var(--moduix-popover-close-icon-offset, var(--moduix-spacing-3));
|
|
58
|
+
--moduix-popover-header-padding-inline-end-effective: var(--moduix-popover-header-padding-inline-end, calc(var(--moduix-popover-close-icon-size-effective) +
|
|
59
|
+
var(--moduix-popover-close-icon-offset-effective)));
|
|
60
|
+
z-index: calc(var(--moduix-z-popup) + var(--layer-index, 0));
|
|
60
61
|
box-sizing: border-box;
|
|
61
|
-
width: var(--popover-width, auto);
|
|
62
|
-
height: var(--popover-height, auto);
|
|
63
|
-
min-width: min(var(--popover-min-width, 16rem), var(--available-width));
|
|
64
|
-
max-width: min(var(--popover-max-width, 28rem), var(--available-width));
|
|
65
|
-
max-height: min(var(--popover-max-height, 24rem), var(--available-height, 100dvh));
|
|
66
|
-
padding: var(--popover-padding-y, var(--
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
color: var(--popover-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
62
|
+
width: var(--moduix-popover-width, auto);
|
|
63
|
+
height: var(--moduix-popover-height, auto);
|
|
64
|
+
min-width: min(var(--moduix-popover-min-width, 16rem), var(--available-width));
|
|
65
|
+
max-width: min(var(--moduix-popover-max-width, 28rem), var(--available-width));
|
|
66
|
+
max-height: min(var(--moduix-popover-max-height, 24rem), var(--available-height, 100dvh));
|
|
67
|
+
padding: var(--moduix-popover-padding-y, var(--moduix-spacing-4))
|
|
68
|
+
var(--moduix-popover-padding-x, var(--moduix-spacing-4));
|
|
69
|
+
border-radius: var(--moduix-popover-radius, var(--moduix-radius-md));
|
|
70
|
+
background-color: var(--moduix-popover-bg, var(--moduix-color-popover));
|
|
71
|
+
color: var(--moduix-popover-color, var(--moduix-color-popover-foreground));
|
|
72
|
+
outline: var(--moduix-popover-border-width, var(--moduix-border-width-sm)) solid
|
|
73
|
+
var(--moduix-popover-border-color, var(--moduix-color-border));
|
|
74
|
+
box-shadow: var(--moduix-popover-shadow, var(--moduix-shadow-lg));
|
|
73
75
|
transform-origin: var(--transform-origin);
|
|
74
76
|
border: 0;
|
|
75
77
|
position: relative;
|
|
@@ -77,96 +79,98 @@
|
|
|
77
79
|
|
|
78
80
|
&[data-state="open"] {
|
|
79
81
|
animation: Qww_tG_popover-enter
|
|
80
|
-
var(--popover-transition, var(--popup-motion-duration, var(--duration-fast))
|
|
82
|
+
var(--moduix-popover-transition, var(--moduix-popup-motion-duration, var(--moduix-duration-fast))
|
|
83
|
+
var(--moduix-popup-motion-easing, ease))
|
|
81
84
|
both;
|
|
82
85
|
}
|
|
83
86
|
|
|
84
87
|
&[data-state="closed"] {
|
|
85
88
|
animation: Qww_tG_popover-exit
|
|
86
|
-
var(--popover-transition, var(--popup-motion-duration, var(--duration-fast))
|
|
89
|
+
var(--moduix-popover-transition, var(--moduix-popup-motion-duration, var(--moduix-duration-fast))
|
|
90
|
+
var(--moduix-popup-motion-easing, ease))
|
|
87
91
|
both;
|
|
88
92
|
}
|
|
89
93
|
|
|
90
94
|
&:has(.Qww_tG_closeIcon) {
|
|
91
95
|
& .Qww_tG_header {
|
|
92
|
-
padding-inline-end: var(--popover-header-padding-inline-end-effective);
|
|
96
|
+
padding-inline-end: var(--moduix-popover-header-padding-inline-end-effective);
|
|
93
97
|
}
|
|
94
98
|
}
|
|
95
99
|
}
|
|
96
100
|
|
|
97
101
|
.Qww_tG_arrow {
|
|
98
|
-
--arrow-size: var(--popover-arrow-size, var(--spacing-2-5));
|
|
99
|
-
--arrow-background: var(--popover-bg, var(--color-popover));
|
|
102
|
+
--arrow-size: var(--moduix-popover-arrow-size, var(--moduix-spacing-2-5));
|
|
103
|
+
--arrow-background: var(--moduix-popover-bg, var(--moduix-color-popover));
|
|
100
104
|
}
|
|
101
105
|
|
|
102
106
|
.Qww_tG_arrowTip {
|
|
103
|
-
border-top: var(--popover-border-width, var(--border-width-sm)) solid
|
|
104
|
-
var(--popover-arrow-stroke-color, var(--popover-border-color, var(--color-border)));
|
|
105
|
-
border-left: var(--popover-border-width, var(--border-width-sm)) solid
|
|
106
|
-
var(--popover-arrow-stroke-color, var(--popover-border-color, var(--color-border)));
|
|
107
|
+
border-top: var(--moduix-popover-border-width, var(--moduix-border-width-sm)) solid
|
|
108
|
+
var(--moduix-popover-arrow-stroke-color, var(--moduix-popover-border-color, var(--moduix-color-border)));
|
|
109
|
+
border-left: var(--moduix-popover-border-width, var(--moduix-border-width-sm)) solid
|
|
110
|
+
var(--moduix-popover-arrow-stroke-color, var(--moduix-popover-border-color, var(--moduix-color-border)));
|
|
107
111
|
}
|
|
108
112
|
|
|
109
113
|
.Qww_tG_title {
|
|
110
|
-
color: var(--popover-title-color, var(--popover-color, var(--color-popover-foreground)));
|
|
111
|
-
font-size: var(--popover-title-font-size, var(--text-md));
|
|
112
|
-
font-weight: var(--popover-title-font-weight, var(--weight-semibold));
|
|
113
|
-
line-height: var(--popover-title-line-height, var(--line-height-text-md));
|
|
114
|
+
color: var(--moduix-popover-title-color, var(--moduix-popover-color, var(--moduix-color-popover-foreground)));
|
|
115
|
+
font-size: var(--moduix-popover-title-font-size, var(--moduix-text-md));
|
|
116
|
+
font-weight: var(--moduix-popover-title-font-weight, var(--moduix-weight-semibold));
|
|
117
|
+
line-height: var(--moduix-popover-title-line-height, var(--moduix-line-height-text-md));
|
|
114
118
|
margin: 0;
|
|
115
119
|
}
|
|
116
120
|
|
|
117
121
|
.Qww_tG_description {
|
|
118
|
-
margin: var(--popover-description-margin, 0);
|
|
119
|
-
color: var(--popover-description-color, var(--color-muted-foreground));
|
|
120
|
-
font-size: var(--popover-description-font-size, var(--text-sm));
|
|
121
|
-
line-height: var(--popover-description-line-height, var(--line-height-text-sm));
|
|
122
|
+
margin: var(--moduix-popover-description-margin, 0);
|
|
123
|
+
color: var(--moduix-popover-description-color, var(--moduix-color-muted-foreground));
|
|
124
|
+
font-size: var(--moduix-popover-description-font-size, var(--moduix-text-sm));
|
|
125
|
+
line-height: var(--moduix-popover-description-line-height, var(--moduix-line-height-text-sm));
|
|
122
126
|
}
|
|
123
127
|
|
|
124
128
|
.Qww_tG_closeIcon {
|
|
125
|
-
--close-button-size: var(--popover-close-icon-size-effective);
|
|
126
|
-
--close-button-radius: var(--popover-close-icon-radius, var(--radius-sm));
|
|
127
|
-
--close-button-icon-size: var(--popover-close-icon-glyph-size, var(--spacing-3-5));
|
|
128
|
-
--close-button-bg: var(--popover-close-icon-bg, transparent);
|
|
129
|
-
--close-button-bg-hover: var(--popover-close-icon-bg-hover, var(--color-accent));
|
|
130
|
-
--close-button-color: var(--popover-close-icon-color, var(--color-muted-foreground));
|
|
131
|
-
--close-button-color-hover: var(--popover-close-icon-color-hover, var(--popover-color, var(--color-popover-foreground)));
|
|
132
|
-
--close-button-focus-ring-color: var(--popover-close-icon-focus-ring-color, var(--color-ring));
|
|
129
|
+
--moduix-close-button-size: var(--moduix-popover-close-icon-size-effective);
|
|
130
|
+
--moduix-close-button-radius: var(--moduix-popover-close-icon-radius, var(--moduix-radius-sm));
|
|
131
|
+
--moduix-close-button-icon-size: var(--moduix-popover-close-icon-glyph-size, var(--moduix-spacing-3-5));
|
|
132
|
+
--moduix-close-button-bg: var(--moduix-popover-close-icon-bg, transparent);
|
|
133
|
+
--moduix-close-button-bg-hover: var(--moduix-popover-close-icon-bg-hover, var(--moduix-color-accent));
|
|
134
|
+
--moduix-close-button-color: var(--moduix-popover-close-icon-color, var(--moduix-color-muted-foreground));
|
|
135
|
+
--moduix-close-button-color-hover: var(--moduix-popover-close-icon-color-hover, var(--moduix-popover-color, var(--moduix-color-popover-foreground)));
|
|
136
|
+
--moduix-close-button-focus-ring-color: var(--moduix-popover-close-icon-focus-ring-color, var(--moduix-color-ring));
|
|
133
137
|
position: absolute;
|
|
134
|
-
inset-block-start: var(--popover-close-icon-offset-effective);
|
|
135
|
-
inset-inline-end: var(--popover-close-icon-offset-effective);
|
|
138
|
+
inset-block-start: var(--moduix-popover-close-icon-offset-effective);
|
|
139
|
+
inset-inline-end: var(--moduix-popover-close-icon-offset-effective);
|
|
136
140
|
}
|
|
137
141
|
|
|
138
142
|
.Qww_tG_header {
|
|
139
|
-
gap: var(--popover-header-gap, var(--spacing-1));
|
|
143
|
+
gap: var(--moduix-popover-header-gap, var(--moduix-spacing-1));
|
|
140
144
|
display: grid;
|
|
141
145
|
}
|
|
142
146
|
|
|
143
147
|
.Qww_tG_body {
|
|
144
|
-
margin: var(--popover-body-margin, 0);
|
|
148
|
+
margin: var(--moduix-popover-body-margin, 0);
|
|
145
149
|
}
|
|
146
150
|
|
|
147
151
|
.Qww_tG_footer {
|
|
148
152
|
align-items: center;
|
|
149
|
-
justify-content: var(--popover-footer-justify, flex-end);
|
|
150
|
-
gap: var(--popover-footer-gap, var(--spacing-2));
|
|
151
|
-
margin: var(--popover-footer-margin, var(--spacing-3) 0 0);
|
|
153
|
+
justify-content: var(--moduix-popover-footer-justify, flex-end);
|
|
154
|
+
gap: var(--moduix-popover-footer-gap, var(--moduix-spacing-2));
|
|
155
|
+
margin: var(--moduix-popover-footer-margin, var(--moduix-spacing-3) 0 0);
|
|
152
156
|
display: flex;
|
|
153
157
|
}
|
|
154
158
|
|
|
155
159
|
@keyframes Qww_tG_popover-enter {
|
|
156
160
|
from {
|
|
157
|
-
opacity: var(--popover-content-starting-opacity, var(--popup-motion-starting-opacity, 0));
|
|
158
|
-
translate: var(--popover-content-starting-translate-x, var(--popup-motion-starting-translate-x, 0))
|
|
159
|
-
var(--popover-content-starting-translate-y, var(--popup-motion-starting-translate-y, 0));
|
|
160
|
-
scale: var(--popover-content-starting-scale, var(--popup-motion-starting-scale, var(--scale-popup)));
|
|
161
|
+
opacity: var(--moduix-popover-content-starting-opacity, var(--moduix-popup-motion-starting-opacity, 0));
|
|
162
|
+
translate: var(--moduix-popover-content-starting-translate-x, var(--moduix-popup-motion-starting-translate-x, 0))
|
|
163
|
+
var(--moduix-popover-content-starting-translate-y, var(--moduix-popup-motion-starting-translate-y, 0));
|
|
164
|
+
scale: var(--moduix-popover-content-starting-scale, var(--moduix-popup-motion-starting-scale, var(--moduix-scale-popup)));
|
|
161
165
|
}
|
|
162
166
|
}
|
|
163
167
|
|
|
164
168
|
@keyframes Qww_tG_popover-exit {
|
|
165
169
|
to {
|
|
166
|
-
opacity: var(--popover-content-ending-opacity, var(--popup-motion-ending-opacity, 0));
|
|
167
|
-
translate: var(--popover-content-ending-translate-x, var(--popup-motion-ending-translate-x, 0))
|
|
168
|
-
var(--popover-content-ending-translate-y, var(--popup-motion-ending-translate-y, 0));
|
|
169
|
-
scale: var(--popover-content-ending-scale, var(--popup-motion-ending-scale, var(--scale-popup)));
|
|
170
|
+
opacity: var(--moduix-popover-content-ending-opacity, var(--moduix-popup-motion-ending-opacity, 0));
|
|
171
|
+
translate: var(--moduix-popover-content-ending-translate-x, var(--moduix-popup-motion-ending-translate-x, 0))
|
|
172
|
+
var(--moduix-popover-content-ending-translate-y, var(--moduix-popup-motion-ending-translate-y, 0));
|
|
173
|
+
scale: var(--moduix-popover-content-ending-scale, var(--moduix-popup-motion-ending-scale, var(--moduix-scale-popup)));
|
|
170
174
|
}
|
|
171
175
|
}
|
|
172
176
|
}
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
@layer
|
|
1
|
+
@layer moduix.components {
|
|
2
2
|
.ElFLgq_root {
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
justify-items: center;
|
|
5
|
-
gap: var(--progress-circular-gap, var(--spacing-2));
|
|
6
|
-
width: var(--progress-circular-root-width, max-content);
|
|
7
|
-
color: var(--progress-circular-color, var(--color-foreground));
|
|
5
|
+
gap: var(--moduix-progress-circular-gap, var(--moduix-spacing-2));
|
|
6
|
+
width: var(--moduix-progress-circular-root-width, max-content);
|
|
7
|
+
color: var(--moduix-progress-circular-color, var(--moduix-color-foreground));
|
|
8
8
|
display: inline-grid;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.ElFLgq_label {
|
|
12
|
-
font-size: var(--progress-circular-label-font-size, var(--text-sm));
|
|
13
|
-
font-weight: var(--progress-circular-label-font-weight, var(--weight-regular));
|
|
14
|
-
line-height: var(--progress-circular-label-line-height, var(--line-height-text-sm));
|
|
15
|
-
color: var(--progress-circular-label-color, currentColor);
|
|
12
|
+
font-size: var(--moduix-progress-circular-label-font-size, var(--moduix-text-sm));
|
|
13
|
+
font-weight: var(--moduix-progress-circular-label-font-weight, var(--moduix-weight-regular));
|
|
14
|
+
line-height: var(--moduix-progress-circular-label-line-height, var(--moduix-line-height-text-sm));
|
|
15
|
+
color: var(--moduix-progress-circular-label-color, currentColor);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.ElFLgq_valueText {
|
|
19
|
-
font-size: var(--progress-circular-value-text-font-size, var(--text-sm));
|
|
20
|
-
font-weight: var(--progress-circular-value-text-font-weight, var(--weight-medium));
|
|
21
|
-
line-height: var(--progress-circular-value-text-line-height, var(--line-height-text-sm));
|
|
22
|
-
color: var(--progress-circular-value-text-color, currentColor);
|
|
19
|
+
font-size: var(--moduix-progress-circular-value-text-font-size, var(--moduix-text-sm));
|
|
20
|
+
font-weight: var(--moduix-progress-circular-value-text-font-weight, var(--moduix-weight-medium));
|
|
21
|
+
line-height: var(--moduix-progress-circular-value-text-line-height, var(--moduix-line-height-text-sm));
|
|
22
|
+
color: var(--moduix-progress-circular-value-text-color, currentColor);
|
|
23
23
|
text-align: center;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.ElFLgq_circle {
|
|
27
|
-
--size: var(--progress-circular-size, var(--size-xl));
|
|
28
|
-
--thickness: var(--progress-circular-thickness, .4rem);
|
|
27
|
+
--size: var(--moduix-progress-circular-size, var(--moduix-size-xl));
|
|
28
|
+
--thickness: var(--moduix-progress-circular-thickness, .4rem);
|
|
29
29
|
display: block;
|
|
30
30
|
overflow: visible;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.ElFLgq_circleTrack {
|
|
34
|
-
stroke: var(--progress-circular-track-bg, var(--color-muted));
|
|
34
|
+
stroke: var(--moduix-progress-circular-track-bg, var(--moduix-color-muted));
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.ElFLgq_circleRange {
|
|
38
|
-
stroke: var(--progress-circular-range-bg, var(--color-primary));
|
|
39
|
-
stroke-linecap: var(--progress-circular-range-linecap, round);
|
|
38
|
+
stroke: var(--moduix-progress-circular-range-bg, var(--moduix-color-primary));
|
|
39
|
+
stroke-linecap: var(--moduix-progress-circular-range-linecap, round);
|
|
40
40
|
transition: stroke-dashoffset
|
|
41
|
-
var(--progress-circular-range-transition, var(--transition-default));
|
|
41
|
+
var(--moduix-progress-circular-range-transition, var(--moduix-transition-default));
|
|
42
42
|
|
|
43
43
|
&[data-state="indeterminate"] {
|
|
44
|
-
animation: var(--progress-circular-range-indeterminate-animation, progress-circular-indeterminate 1.4s linear infinite);
|
|
45
|
-
stroke-dasharray: var(--progress-circular-range-indeterminate-dasharray, 1 200);
|
|
44
|
+
animation: var(--moduix-progress-circular-range-indeterminate-animation, progress-circular-indeterminate 1.4s linear infinite);
|
|
45
|
+
stroke-dasharray: var(--moduix-progress-circular-range-indeterminate-dasharray, 1 200);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -1,49 +1,50 @@
|
|
|
1
|
-
@layer
|
|
1
|
+
@layer moduix.components {
|
|
2
2
|
.Z1JBTG_root {
|
|
3
3
|
box-sizing: border-box;
|
|
4
|
-
gap: var(--progress-linear-gap, var(--spacing-2));
|
|
5
|
-
width: var(--progress-linear-width, 12rem);
|
|
6
|
-
color: var(--progress-linear-color, var(--color-foreground));
|
|
4
|
+
gap: var(--moduix-progress-linear-gap, var(--moduix-spacing-2));
|
|
5
|
+
width: var(--moduix-progress-linear-width, 12rem);
|
|
6
|
+
color: var(--moduix-progress-linear-color, var(--moduix-color-foreground));
|
|
7
7
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
8
8
|
display: grid;
|
|
9
9
|
|
|
10
10
|
&[data-orientation="vertical"] {
|
|
11
|
-
width: var(--progress-linear-vertical-width, max-content);
|
|
12
|
-
height: var(--progress-linear-height, 12rem);
|
|
11
|
+
width: var(--moduix-progress-linear-vertical-width, max-content);
|
|
12
|
+
height: var(--moduix-progress-linear-height, 12rem);
|
|
13
13
|
grid-template-rows: auto minmax(0, 1fr);
|
|
14
14
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.Z1JBTG_label {
|
|
19
|
-
font-size: var(--progress-linear-label-font-size, var(--text-sm));
|
|
20
|
-
font-weight: var(--progress-linear-label-font-weight, var(--weight-regular));
|
|
21
|
-
line-height: var(--progress-linear-label-line-height, var(--line-height-text-sm));
|
|
22
|
-
color: var(--progress-linear-label-color, currentColor);
|
|
19
|
+
font-size: var(--moduix-progress-linear-label-font-size, var(--moduix-text-sm));
|
|
20
|
+
font-weight: var(--moduix-progress-linear-label-font-weight, var(--moduix-weight-regular));
|
|
21
|
+
line-height: var(--moduix-progress-linear-label-line-height, var(--moduix-line-height-text-sm));
|
|
22
|
+
color: var(--moduix-progress-linear-label-color, currentColor);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.Z1JBTG_valueText {
|
|
26
|
-
font-size: var(--progress-linear-value-text-font-size, var(--text-sm));
|
|
27
|
-
font-weight: var(--progress-linear-value-text-font-weight, var(--weight-regular));
|
|
28
|
-
line-height: var(--progress-linear-value-text-line-height, var(--line-height-text-sm));
|
|
29
|
-
color: var(--progress-linear-value-text-color, currentColor);
|
|
26
|
+
font-size: var(--moduix-progress-linear-value-text-font-size, var(--moduix-text-sm));
|
|
27
|
+
font-weight: var(--moduix-progress-linear-value-text-font-weight, var(--moduix-weight-regular));
|
|
28
|
+
line-height: var(--moduix-progress-linear-value-text-line-height, var(--moduix-line-height-text-sm));
|
|
29
|
+
color: var(--moduix-progress-linear-value-text-color, currentColor);
|
|
30
30
|
text-align: right;
|
|
31
31
|
justify-self: end;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.Z1JBTG_track {
|
|
35
35
|
width: 100%;
|
|
36
|
-
height: var(--progress-linear-track-height, .5rem);
|
|
37
|
-
border-radius: var(--progress-linear-track-radius, var(--radius-full));
|
|
38
|
-
background-color: var(--progress-linear-track-bg, var(--color-muted));
|
|
39
|
-
box-shadow: inset 0 0 0
|
|
40
|
-
var(--progress-linear-track-border-
|
|
36
|
+
height: var(--moduix-progress-linear-track-height, .5rem);
|
|
37
|
+
border-radius: var(--moduix-progress-linear-track-radius, var(--moduix-radius-full));
|
|
38
|
+
background-color: var(--moduix-progress-linear-track-bg, var(--moduix-color-muted));
|
|
39
|
+
box-shadow: inset 0 0 0
|
|
40
|
+
var(--moduix-progress-linear-track-border-width, var(--moduix-border-width-sm))
|
|
41
|
+
var(--moduix-progress-linear-track-border-color, var(--moduix-color-border));
|
|
41
42
|
grid-column: 1 / -1;
|
|
42
43
|
display: block;
|
|
43
44
|
overflow: hidden;
|
|
44
45
|
|
|
45
46
|
&[data-orientation="vertical"] {
|
|
46
|
-
width: var(--progress-linear-track-width, .5rem);
|
|
47
|
+
width: var(--moduix-progress-linear-track-width, .5rem);
|
|
47
48
|
align-items: end;
|
|
48
49
|
height: 100%;
|
|
49
50
|
display: flex;
|
|
@@ -51,16 +52,16 @@
|
|
|
51
52
|
}
|
|
52
53
|
|
|
53
54
|
.Z1JBTG_range {
|
|
54
|
-
border-radius: var(--progress-linear-range-radius, inherit);
|
|
55
|
-
background-color: var(--progress-linear-range-bg, var(--color-primary));
|
|
55
|
+
border-radius: var(--moduix-progress-linear-range-radius, inherit);
|
|
56
|
+
background-color: var(--moduix-progress-linear-range-bg, var(--moduix-color-primary));
|
|
56
57
|
height: 100%;
|
|
57
|
-
transition: width var(--progress-linear-range-transition, var(--transition-default)),
|
|
58
|
-
height var(--progress-linear-range-transition, var(--transition-default));
|
|
58
|
+
transition: width var(--moduix-progress-linear-range-transition, var(--moduix-transition-default)),
|
|
59
|
+
height var(--moduix-progress-linear-range-transition, var(--moduix-transition-default));
|
|
59
60
|
display: block;
|
|
60
61
|
|
|
61
62
|
&[data-state="indeterminate"] {
|
|
62
|
-
width: var(--progress-linear-range-indeterminate-width, 35%);
|
|
63
|
-
animation: var(--progress-linear-range-indeterminate-animation, progress-linear-indeterminate 1.5s ease-in-out infinite);
|
|
63
|
+
width: var(--moduix-progress-linear-range-indeterminate-width, 35%);
|
|
64
|
+
animation: var(--moduix-progress-linear-range-indeterminate-animation, progress-linear-indeterminate 1.5s ease-in-out infinite);
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
&[data-orientation="vertical"] {
|
|
@@ -68,8 +69,8 @@
|
|
|
68
69
|
}
|
|
69
70
|
|
|
70
71
|
&[data-state="indeterminate"][data-orientation="vertical"] {
|
|
71
|
-
height: var(--progress-linear-range-indeterminate-width, 35%);
|
|
72
|
-
animation: var(--progress-linear-range-indeterminate-vertical-animation, progress-linear-indeterminate-vertical 1.5s ease-in-out infinite);
|
|
72
|
+
height: var(--moduix-progress-linear-range-indeterminate-width, 35%);
|
|
73
|
+
animation: var(--moduix-progress-linear-range-indeterminate-vertical-animation, progress-linear-indeterminate-vertical 1.5s ease-in-out infinite);
|
|
73
74
|
}
|
|
74
75
|
|
|
75
76
|
@media (prefers-reduced-motion: reduce) {
|