@tosui/react 0.1.3 → 0.1.5
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 +106 -60
- package/dist/components/Alert/Alert.d.ts.map +1 -1
- package/dist/components/Alert/Alert.js.map +1 -1
- package/dist/components/Badge/Badge.d.ts.map +1 -1
- package/dist/components/Badge/Badge.js.map +1 -1
- package/dist/components/Box/Box.d.ts +2 -7
- package/dist/components/Box/Box.d.ts.map +1 -1
- package/dist/components/Box/Box.js +1 -1
- package/dist/components/Box/Box.js.map +1 -1
- package/dist/components/Box/borders/borders.d.ts +11 -13
- package/dist/components/Box/borders/borders.d.ts.map +1 -1
- package/dist/components/Box/borders/borders.js +29 -62
- package/dist/components/Box/borders/borders.js.map +1 -1
- package/dist/components/Box/borders/borders.module.css +936 -40
- package/dist/components/Box/borders/borders.module.css.js +600 -40
- package/dist/components/Box/borders/borders.module.css.js.map +1 -1
- package/dist/components/Box/colors/colors.d.ts +6 -8
- package/dist/components/Box/colors/colors.d.ts.map +1 -1
- package/dist/components/Box/colors/colors.js +20 -30
- package/dist/components/Box/colors/colors.js.map +1 -1
- package/dist/components/Box/colors/colors.module.css +2537 -108
- package/dist/components/Box/colors/colors.module.css.js +1620 -108
- package/dist/components/Box/colors/colors.module.css.js.map +1 -1
- package/dist/components/Box/display/display.d.ts +2 -8
- package/dist/components/Box/display/display.d.ts.map +1 -1
- package/dist/components/Box/display/display.js +10 -33
- package/dist/components/Box/display/display.js.map +1 -1
- package/dist/components/Box/flexbox/flexbox.d.ts +12 -14
- package/dist/components/Box/flexbox/flexbox.d.ts.map +1 -1
- package/dist/components/Box/flexbox/flexbox.js +39 -102
- package/dist/components/Box/flexbox/flexbox.js.map +1 -1
- package/dist/components/Box/flexbox/flexbox.module.css +1210 -56
- package/dist/components/Box/flexbox/flexbox.module.css.js +727 -55
- package/dist/components/Box/flexbox/flexbox.module.css.js.map +1 -1
- package/dist/components/Box/grid/grid.d.ts +3 -2
- package/dist/components/Box/grid/grid.d.ts.map +1 -1
- package/dist/components/Box/grid/grid.js +24 -15
- package/dist/components/Box/grid/grid.js.map +1 -1
- package/dist/components/Box/grid/grid.module.css +68 -18
- package/dist/components/Box/grid/grid.module.css.js +14 -14
- package/dist/components/Box/inset/inset.d.ts.map +1 -1
- package/dist/components/Box/inset/inset.js +8 -52
- package/dist/components/Box/inset/inset.js.map +1 -1
- package/dist/components/Box/inset/inset.module.css +120 -120
- package/dist/components/Box/inset/inset.module.css.js +21 -161
- package/dist/components/Box/inset/inset.module.css.js.map +1 -1
- package/dist/components/Box/interactions/interactions.d.ts +6 -8
- package/dist/components/Box/interactions/interactions.d.ts.map +1 -1
- package/dist/components/Box/interactions/interactions.js +20 -30
- package/dist/components/Box/interactions/interactions.js.map +1 -1
- package/dist/components/Box/interactions/interactions.module.css +891 -38
- package/dist/components/Box/interactions/interactions.module.css.js +570 -38
- package/dist/components/Box/interactions/interactions.module.css.js.map +1 -1
- package/dist/components/Box/margin/margin.d.ts.map +1 -1
- package/dist/components/Box/margin/margin.js +8 -52
- package/dist/components/Box/margin/margin.js.map +1 -1
- package/dist/components/Box/margin/margin.module.css +120 -120
- package/dist/components/Box/margin/margin.module.css.js +21 -161
- package/dist/components/Box/margin/margin.module.css.js.map +1 -1
- package/dist/components/Box/opacity/opacity.d.ts +2 -8
- package/dist/components/Box/opacity/opacity.d.ts.map +1 -1
- package/dist/components/Box/opacity/opacity.js +10 -33
- package/dist/components/Box/opacity/opacity.js.map +1 -1
- package/dist/components/Box/overflow/overflow.d.ts +2 -8
- package/dist/components/Box/overflow/overflow.d.ts.map +1 -1
- package/dist/components/Box/overflow/overflow.js +24 -29
- package/dist/components/Box/overflow/overflow.js.map +1 -1
- package/dist/components/Box/padding/padding.d.ts.map +1 -1
- package/dist/components/Box/padding/padding.js +8 -52
- package/dist/components/Box/padding/padding.js.map +1 -1
- package/dist/components/Box/padding/padding.module.css +120 -120
- package/dist/components/Box/padding/padding.module.css.js +21 -161
- package/dist/components/Box/padding/padding.module.css.js.map +1 -1
- package/dist/components/Box/position/position.d.ts +2 -8
- package/dist/components/Box/position/position.d.ts.map +1 -1
- package/dist/components/Box/position/position.js +10 -33
- package/dist/components/Box/position/position.js.map +1 -1
- package/dist/components/Box/roundness/roundness.d.ts +12 -14
- package/dist/components/Box/roundness/roundness.d.ts.map +1 -1
- package/dist/components/Box/roundness/roundness.js +26 -62
- package/dist/components/Box/roundness/roundness.js.map +1 -1
- package/dist/components/Box/roundness/roundness.module.css +937 -40
- package/dist/components/Box/roundness/roundness.module.css.js +600 -40
- package/dist/components/Box/roundness/roundness.module.css.js.map +1 -1
- package/dist/components/Box/shadows/shadows.d.ts +2 -8
- package/dist/components/Box/shadows/shadows.d.ts.map +1 -1
- package/dist/components/Box/shadows/shadows.js +10 -33
- package/dist/components/Box/shadows/shadows.js.map +1 -1
- package/dist/components/Box/shared/index.d.ts +1 -0
- package/dist/components/Box/shared/index.d.ts.map +1 -1
- package/dist/components/Box/shared/responsive.d.ts +36 -0
- package/dist/components/Box/shared/responsive.d.ts.map +1 -0
- package/dist/components/Box/shared/responsive.js +65 -0
- package/dist/components/Box/shared/responsive.js.map +1 -0
- package/dist/components/Box/shared/types.d.ts +6 -0
- package/dist/components/Box/shared/types.d.ts.map +1 -1
- package/dist/components/Box/sizing/sizing.d.ts.map +1 -1
- package/dist/components/Box/sizing/sizing.js +5 -37
- package/dist/components/Box/sizing/sizing.js.map +1 -1
- package/dist/components/Box/sizing/sizing.module.css +175 -183
- package/dist/components/Box/sizing/sizing.module.css.js +31 -241
- package/dist/components/Box/sizing/sizing.module.css.js.map +1 -1
- package/dist/components/Box/text/text.d.ts +6 -8
- package/dist/components/Box/text/text.d.ts.map +1 -1
- package/dist/components/Box/text/text.js +24 -30
- package/dist/components/Box/text/text.js.map +1 -1
- package/dist/components/Box/text/text.module.css +562 -24
- package/dist/components/Box/text/text.module.css.js +360 -24
- package/dist/components/Box/text/text.module.css.js.map +1 -1
- package/dist/components/Box/typography/typography.d.ts +7 -9
- package/dist/components/Box/typography/typography.d.ts.map +1 -1
- package/dist/components/Box/typography/typography.js +33 -19
- package/dist/components/Box/typography/typography.js.map +1 -1
- package/dist/components/Box/typography/typography.module.css +890 -19
- package/dist/components/Box/typography/typography.module.css.js +570 -19
- package/dist/components/Box/typography/typography.module.css.js.map +1 -1
- package/dist/components/Box/zIndex/zIndex.d.ts +2 -8
- package/dist/components/Box/zIndex/zIndex.d.ts.map +1 -1
- package/dist/components/Box/zIndex/zIndex.js +10 -33
- package/dist/components/Box/zIndex/zIndex.js.map +1 -1
- package/dist/components/Flex/Flex.d.ts +5 -6
- package/dist/components/Flex/Flex.d.ts.map +1 -1
- package/dist/components/Flex/Flex.js +0 -1
- package/dist/components/Flex/Flex.js.map +1 -1
- package/dist/components/Grid/Grid.d.ts +8 -7
- package/dist/components/Grid/Grid.d.ts.map +1 -1
- package/dist/components/Grid/Grid.js.map +1 -1
- package/dist/components/IconButton/IconButton.d.ts.map +1 -1
- package/dist/components/IconButton/IconButton.js.map +1 -1
- package/dist/components/Menu/Menu.d.ts.map +1 -1
- package/dist/components/Menu/Menu.js +5 -5
- package/dist/components/Menu/Menu.js.map +1 -1
- package/dist/components/Popover/Popover.d.ts.map +1 -1
- package/dist/components/Popover/Popover.js +9 -9
- package/dist/components/Popover/Popover.js.map +1 -1
- package/dist/components/Progress/Progress.d.ts.map +1 -1
- package/dist/components/Progress/Progress.js.map +1 -1
- package/dist/components/Stack/Stack.d.ts +2 -1
- package/dist/components/Stack/Stack.d.ts.map +1 -1
- package/dist/components/Stack/Stack.js.map +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.js +5 -5
- package/dist/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/index.css +9313 -1632
- package/dist/styles/styles.css +7 -0
- package/package.json +1 -1
|
@@ -1,187 +1,187 @@
|
|
|
1
1
|
/* top */
|
|
2
|
-
.
|
|
3
|
-
._top\:
|
|
4
|
-
._top\:
|
|
5
|
-
._top\:
|
|
6
|
-
._top\:
|
|
2
|
+
._top_12hlx_2 { top: var(--t-top); }
|
|
3
|
+
._top\:h_12hlx_3:hover { top: var(--t-top-h); }
|
|
4
|
+
._top\:f_12hlx_4:focus { top: var(--t-top-f); }
|
|
5
|
+
._top\:a_12hlx_5:active { top: var(--t-top-a); }
|
|
6
|
+
._top\:d_12hlx_6:disabled { top: var(--t-top-d); }
|
|
7
7
|
|
|
8
8
|
@media (min-width: 640px) {
|
|
9
|
-
.
|
|
10
|
-
.
|
|
11
|
-
.
|
|
12
|
-
.
|
|
13
|
-
.
|
|
9
|
+
._top_12hlx_2 { top: var(--t-top_sm, var(--t-top)); }
|
|
10
|
+
._top\:h_12hlx_3:hover { top: var(--t-top_sm-h, var(--t-top-h)); }
|
|
11
|
+
._top\:f_12hlx_4:focus { top: var(--t-top_sm-f, var(--t-top-f)); }
|
|
12
|
+
._top\:a_12hlx_5:active { top: var(--t-top_sm-a, var(--t-top-a)); }
|
|
13
|
+
._top\:d_12hlx_6:disabled { top: var(--t-top_sm-d, var(--t-top-d)); }
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
@media (min-width: 768px) {
|
|
17
|
-
.
|
|
18
|
-
.
|
|
19
|
-
.
|
|
20
|
-
.
|
|
21
|
-
.
|
|
17
|
+
._top_12hlx_2 { top: var(--t-top_md, var(--t-top_sm, var(--t-top))); }
|
|
18
|
+
._top\:h_12hlx_3:hover { top: var(--t-top_md-h, var(--t-top_sm-h, var(--t-top-h))); }
|
|
19
|
+
._top\:f_12hlx_4:focus { top: var(--t-top_md-f, var(--t-top_sm-f, var(--t-top-f))); }
|
|
20
|
+
._top\:a_12hlx_5:active { top: var(--t-top_md-a, var(--t-top_sm-a, var(--t-top-a))); }
|
|
21
|
+
._top\:d_12hlx_6:disabled { top: var(--t-top_md-d, var(--t-top_sm-d, var(--t-top-d))); }
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
@media (min-width: 1024px) {
|
|
25
|
-
.
|
|
26
|
-
.
|
|
27
|
-
.
|
|
28
|
-
.
|
|
29
|
-
.
|
|
25
|
+
._top_12hlx_2 { top: var(--t-top_lg, var(--t-top_md, var(--t-top_sm, var(--t-top)))); }
|
|
26
|
+
._top\:h_12hlx_3:hover { top: var(--t-top_lg-h, var(--t-top_md-h, var(--t-top_sm-h, var(--t-top-h)))); }
|
|
27
|
+
._top\:f_12hlx_4:focus { top: var(--t-top_lg-f, var(--t-top_md-f, var(--t-top_sm-f, var(--t-top-f)))); }
|
|
28
|
+
._top\:a_12hlx_5:active { top: var(--t-top_lg-a, var(--t-top_md-a, var(--t-top_sm-a, var(--t-top-a)))); }
|
|
29
|
+
._top\:d_12hlx_6:disabled { top: var(--t-top_lg-d, var(--t-top_md-d, var(--t-top_sm-d, var(--t-top-d)))); }
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
@media (min-width: 1280px) {
|
|
33
|
-
.
|
|
34
|
-
.
|
|
35
|
-
.
|
|
36
|
-
.
|
|
37
|
-
.
|
|
33
|
+
._top_12hlx_2 { top: var(--t-top_xl, var(--t-top_lg, var(--t-top_md, var(--t-top_sm, var(--t-top))))); }
|
|
34
|
+
._top\:h_12hlx_3:hover { top: var(--t-top_xl-h, var(--t-top_lg-h, var(--t-top_md-h, var(--t-top_sm-h, var(--t-top-h))))); }
|
|
35
|
+
._top\:f_12hlx_4:focus { top: var(--t-top_xl-f, var(--t-top_lg-f, var(--t-top_md-f, var(--t-top_sm-f, var(--t-top-f))))); }
|
|
36
|
+
._top\:a_12hlx_5:active { top: var(--t-top_xl-a, var(--t-top_lg-a, var(--t-top_md-a, var(--t-top_sm-a, var(--t-top-a))))); }
|
|
37
|
+
._top\:d_12hlx_6:disabled { top: var(--t-top_xl-d, var(--t-top_lg-d, var(--t-top_md-d, var(--t-top_sm-d, var(--t-top-d))))); }
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
@media (min-width: 1536px) {
|
|
41
|
-
.
|
|
42
|
-
.
|
|
43
|
-
.
|
|
44
|
-
.
|
|
45
|
-
.
|
|
41
|
+
._top_12hlx_2 { top: var(--t-top_2xl, var(--t-top_xl, var(--t-top_lg, var(--t-top_md, var(--t-top_sm, var(--t-top)))))); }
|
|
42
|
+
._top\:h_12hlx_3:hover { top: var(--t-top_2xl-h, var(--t-top_xl-h, var(--t-top_lg-h, var(--t-top_md-h, var(--t-top_sm-h, var(--t-top-h)))))); }
|
|
43
|
+
._top\:f_12hlx_4:focus { top: var(--t-top_2xl-f, var(--t-top_xl-f, var(--t-top_lg-f, var(--t-top_md-f, var(--t-top_sm-f, var(--t-top-f)))))); }
|
|
44
|
+
._top\:a_12hlx_5:active { top: var(--t-top_2xl-a, var(--t-top_xl-a, var(--t-top_lg-a, var(--t-top_md-a, var(--t-top_sm-a, var(--t-top-a)))))); }
|
|
45
|
+
._top\:d_12hlx_6:disabled { top: var(--t-top_2xl-d, var(--t-top_xl-d, var(--t-top_lg-d, var(--t-top_md-d, var(--t-top_sm-d, var(--t-top-d)))))); }
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/* right */
|
|
49
|
-
.
|
|
50
|
-
._right\:
|
|
51
|
-
._right\:
|
|
52
|
-
._right\:
|
|
53
|
-
._right\:
|
|
49
|
+
._right_12hlx_49 { right: var(--t-right); }
|
|
50
|
+
._right\:h_12hlx_50:hover { right: var(--t-right-h); }
|
|
51
|
+
._right\:f_12hlx_51:focus { right: var(--t-right-f); }
|
|
52
|
+
._right\:a_12hlx_52:active { right: var(--t-right-a); }
|
|
53
|
+
._right\:d_12hlx_53:disabled { right: var(--t-right-d); }
|
|
54
54
|
|
|
55
55
|
@media (min-width: 640px) {
|
|
56
|
-
.
|
|
57
|
-
.
|
|
58
|
-
.
|
|
59
|
-
.
|
|
60
|
-
.
|
|
56
|
+
._right_12hlx_49 { right: var(--t-right_sm, var(--t-right)); }
|
|
57
|
+
._right\:h_12hlx_50:hover { right: var(--t-right_sm-h, var(--t-right-h)); }
|
|
58
|
+
._right\:f_12hlx_51:focus { right: var(--t-right_sm-f, var(--t-right-f)); }
|
|
59
|
+
._right\:a_12hlx_52:active { right: var(--t-right_sm-a, var(--t-right-a)); }
|
|
60
|
+
._right\:d_12hlx_53:disabled { right: var(--t-right_sm-d, var(--t-right-d)); }
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
@media (min-width: 768px) {
|
|
64
|
-
.
|
|
65
|
-
.
|
|
66
|
-
.
|
|
67
|
-
.
|
|
68
|
-
.
|
|
64
|
+
._right_12hlx_49 { right: var(--t-right_md, var(--t-right_sm, var(--t-right))); }
|
|
65
|
+
._right\:h_12hlx_50:hover { right: var(--t-right_md-h, var(--t-right_sm-h, var(--t-right-h))); }
|
|
66
|
+
._right\:f_12hlx_51:focus { right: var(--t-right_md-f, var(--t-right_sm-f, var(--t-right-f))); }
|
|
67
|
+
._right\:a_12hlx_52:active { right: var(--t-right_md-a, var(--t-right_sm-a, var(--t-right-a))); }
|
|
68
|
+
._right\:d_12hlx_53:disabled { right: var(--t-right_md-d, var(--t-right_sm-d, var(--t-right-d))); }
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
@media (min-width: 1024px) {
|
|
72
|
-
.
|
|
73
|
-
.
|
|
74
|
-
.
|
|
75
|
-
.
|
|
76
|
-
.
|
|
72
|
+
._right_12hlx_49 { right: var(--t-right_lg, var(--t-right_md, var(--t-right_sm, var(--t-right)))); }
|
|
73
|
+
._right\:h_12hlx_50:hover { right: var(--t-right_lg-h, var(--t-right_md-h, var(--t-right_sm-h, var(--t-right-h)))); }
|
|
74
|
+
._right\:f_12hlx_51:focus { right: var(--t-right_lg-f, var(--t-right_md-f, var(--t-right_sm-f, var(--t-right-f)))); }
|
|
75
|
+
._right\:a_12hlx_52:active { right: var(--t-right_lg-a, var(--t-right_md-a, var(--t-right_sm-a, var(--t-right-a)))); }
|
|
76
|
+
._right\:d_12hlx_53:disabled { right: var(--t-right_lg-d, var(--t-right_md-d, var(--t-right_sm-d, var(--t-right-d)))); }
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
@media (min-width: 1280px) {
|
|
80
|
-
.
|
|
81
|
-
.
|
|
82
|
-
.
|
|
83
|
-
.
|
|
84
|
-
.
|
|
80
|
+
._right_12hlx_49 { right: var(--t-right_xl, var(--t-right_lg, var(--t-right_md, var(--t-right_sm, var(--t-right))))); }
|
|
81
|
+
._right\:h_12hlx_50:hover { right: var(--t-right_xl-h, var(--t-right_lg-h, var(--t-right_md-h, var(--t-right_sm-h, var(--t-right-h))))); }
|
|
82
|
+
._right\:f_12hlx_51:focus { right: var(--t-right_xl-f, var(--t-right_lg-f, var(--t-right_md-f, var(--t-right_sm-f, var(--t-right-f))))); }
|
|
83
|
+
._right\:a_12hlx_52:active { right: var(--t-right_xl-a, var(--t-right_lg-a, var(--t-right_md-a, var(--t-right_sm-a, var(--t-right-a))))); }
|
|
84
|
+
._right\:d_12hlx_53:disabled { right: var(--t-right_xl-d, var(--t-right_lg-d, var(--t-right_md-d, var(--t-right_sm-d, var(--t-right-d))))); }
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
@media (min-width: 1536px) {
|
|
88
|
-
.
|
|
89
|
-
.
|
|
90
|
-
.
|
|
91
|
-
.
|
|
92
|
-
.
|
|
88
|
+
._right_12hlx_49 { right: var(--t-right_2xl, var(--t-right_xl, var(--t-right_lg, var(--t-right_md, var(--t-right_sm, var(--t-right)))))); }
|
|
89
|
+
._right\:h_12hlx_50:hover { right: var(--t-right_2xl-h, var(--t-right_xl-h, var(--t-right_lg-h, var(--t-right_md-h, var(--t-right_sm-h, var(--t-right-h)))))); }
|
|
90
|
+
._right\:f_12hlx_51:focus { right: var(--t-right_2xl-f, var(--t-right_xl-f, var(--t-right_lg-f, var(--t-right_md-f, var(--t-right_sm-f, var(--t-right-f)))))); }
|
|
91
|
+
._right\:a_12hlx_52:active { right: var(--t-right_2xl-a, var(--t-right_xl-a, var(--t-right_lg-a, var(--t-right_md-a, var(--t-right_sm-a, var(--t-right-a)))))); }
|
|
92
|
+
._right\:d_12hlx_53:disabled { right: var(--t-right_2xl-d, var(--t-right_xl-d, var(--t-right_lg-d, var(--t-right_md-d, var(--t-right_sm-d, var(--t-right-d)))))); }
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
/* bottom */
|
|
96
|
-
.
|
|
97
|
-
._bottom\:
|
|
98
|
-
._bottom\:
|
|
99
|
-
._bottom\:
|
|
100
|
-
._bottom\:
|
|
96
|
+
._bottom_12hlx_96 { bottom: var(--t-bottom); }
|
|
97
|
+
._bottom\:h_12hlx_97:hover { bottom: var(--t-bottom-h); }
|
|
98
|
+
._bottom\:f_12hlx_98:focus { bottom: var(--t-bottom-f); }
|
|
99
|
+
._bottom\:a_12hlx_99:active { bottom: var(--t-bottom-a); }
|
|
100
|
+
._bottom\:d_12hlx_100:disabled { bottom: var(--t-bottom-d); }
|
|
101
101
|
|
|
102
102
|
@media (min-width: 640px) {
|
|
103
|
-
.
|
|
104
|
-
.
|
|
105
|
-
.
|
|
106
|
-
.
|
|
107
|
-
.
|
|
103
|
+
._bottom_12hlx_96 { bottom: var(--t-bottom_sm, var(--t-bottom)); }
|
|
104
|
+
._bottom\:h_12hlx_97:hover { bottom: var(--t-bottom_sm-h, var(--t-bottom-h)); }
|
|
105
|
+
._bottom\:f_12hlx_98:focus { bottom: var(--t-bottom_sm-f, var(--t-bottom-f)); }
|
|
106
|
+
._bottom\:a_12hlx_99:active { bottom: var(--t-bottom_sm-a, var(--t-bottom-a)); }
|
|
107
|
+
._bottom\:d_12hlx_100:disabled { bottom: var(--t-bottom_sm-d, var(--t-bottom-d)); }
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
@media (min-width: 768px) {
|
|
111
|
-
.
|
|
112
|
-
.
|
|
113
|
-
.
|
|
114
|
-
.
|
|
115
|
-
.
|
|
111
|
+
._bottom_12hlx_96 { bottom: var(--t-bottom_md, var(--t-bottom_sm, var(--t-bottom))); }
|
|
112
|
+
._bottom\:h_12hlx_97:hover { bottom: var(--t-bottom_md-h, var(--t-bottom_sm-h, var(--t-bottom-h))); }
|
|
113
|
+
._bottom\:f_12hlx_98:focus { bottom: var(--t-bottom_md-f, var(--t-bottom_sm-f, var(--t-bottom-f))); }
|
|
114
|
+
._bottom\:a_12hlx_99:active { bottom: var(--t-bottom_md-a, var(--t-bottom_sm-a, var(--t-bottom-a))); }
|
|
115
|
+
._bottom\:d_12hlx_100:disabled { bottom: var(--t-bottom_md-d, var(--t-bottom_sm-d, var(--t-bottom-d))); }
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
@media (min-width: 1024px) {
|
|
119
|
-
.
|
|
120
|
-
.
|
|
121
|
-
.
|
|
122
|
-
.
|
|
123
|
-
.
|
|
119
|
+
._bottom_12hlx_96 { bottom: var(--t-bottom_lg, var(--t-bottom_md, var(--t-bottom_sm, var(--t-bottom)))); }
|
|
120
|
+
._bottom\:h_12hlx_97:hover { bottom: var(--t-bottom_lg-h, var(--t-bottom_md-h, var(--t-bottom_sm-h, var(--t-bottom-h)))); }
|
|
121
|
+
._bottom\:f_12hlx_98:focus { bottom: var(--t-bottom_lg-f, var(--t-bottom_md-f, var(--t-bottom_sm-f, var(--t-bottom-f)))); }
|
|
122
|
+
._bottom\:a_12hlx_99:active { bottom: var(--t-bottom_lg-a, var(--t-bottom_md-a, var(--t-bottom_sm-a, var(--t-bottom-a)))); }
|
|
123
|
+
._bottom\:d_12hlx_100:disabled { bottom: var(--t-bottom_lg-d, var(--t-bottom_md-d, var(--t-bottom_sm-d, var(--t-bottom-d)))); }
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
@media (min-width: 1280px) {
|
|
127
|
-
.
|
|
128
|
-
.
|
|
129
|
-
.
|
|
130
|
-
.
|
|
131
|
-
.
|
|
127
|
+
._bottom_12hlx_96 { bottom: var(--t-bottom_xl, var(--t-bottom_lg, var(--t-bottom_md, var(--t-bottom_sm, var(--t-bottom))))); }
|
|
128
|
+
._bottom\:h_12hlx_97:hover { bottom: var(--t-bottom_xl-h, var(--t-bottom_lg-h, var(--t-bottom_md-h, var(--t-bottom_sm-h, var(--t-bottom-h))))); }
|
|
129
|
+
._bottom\:f_12hlx_98:focus { bottom: var(--t-bottom_xl-f, var(--t-bottom_lg-f, var(--t-bottom_md-f, var(--t-bottom_sm-f, var(--t-bottom-f))))); }
|
|
130
|
+
._bottom\:a_12hlx_99:active { bottom: var(--t-bottom_xl-a, var(--t-bottom_lg-a, var(--t-bottom_md-a, var(--t-bottom_sm-a, var(--t-bottom-a))))); }
|
|
131
|
+
._bottom\:d_12hlx_100:disabled { bottom: var(--t-bottom_xl-d, var(--t-bottom_lg-d, var(--t-bottom_md-d, var(--t-bottom_sm-d, var(--t-bottom-d))))); }
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
@media (min-width: 1536px) {
|
|
135
|
-
.
|
|
136
|
-
.
|
|
137
|
-
.
|
|
138
|
-
.
|
|
139
|
-
.
|
|
135
|
+
._bottom_12hlx_96 { bottom: var(--t-bottom_2xl, var(--t-bottom_xl, var(--t-bottom_lg, var(--t-bottom_md, var(--t-bottom_sm, var(--t-bottom)))))); }
|
|
136
|
+
._bottom\:h_12hlx_97:hover { bottom: var(--t-bottom_2xl-h, var(--t-bottom_xl-h, var(--t-bottom_lg-h, var(--t-bottom_md-h, var(--t-bottom_sm-h, var(--t-bottom-h)))))); }
|
|
137
|
+
._bottom\:f_12hlx_98:focus { bottom: var(--t-bottom_2xl-f, var(--t-bottom_xl-f, var(--t-bottom_lg-f, var(--t-bottom_md-f, var(--t-bottom_sm-f, var(--t-bottom-f)))))); }
|
|
138
|
+
._bottom\:a_12hlx_99:active { bottom: var(--t-bottom_2xl-a, var(--t-bottom_xl-a, var(--t-bottom_lg-a, var(--t-bottom_md-a, var(--t-bottom_sm-a, var(--t-bottom-a)))))); }
|
|
139
|
+
._bottom\:d_12hlx_100:disabled { bottom: var(--t-bottom_2xl-d, var(--t-bottom_xl-d, var(--t-bottom_lg-d, var(--t-bottom_md-d, var(--t-bottom_sm-d, var(--t-bottom-d)))))); }
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
/* left */
|
|
143
|
-
.
|
|
144
|
-
._left\:
|
|
145
|
-
._left\:
|
|
146
|
-
._left\:
|
|
147
|
-
._left\:
|
|
143
|
+
._left_12hlx_143 { left: var(--t-left); }
|
|
144
|
+
._left\:h_12hlx_144:hover { left: var(--t-left-h); }
|
|
145
|
+
._left\:f_12hlx_145:focus { left: var(--t-left-f); }
|
|
146
|
+
._left\:a_12hlx_146:active { left: var(--t-left-a); }
|
|
147
|
+
._left\:d_12hlx_147:disabled { left: var(--t-left-d); }
|
|
148
148
|
|
|
149
149
|
@media (min-width: 640px) {
|
|
150
|
-
.
|
|
151
|
-
.
|
|
152
|
-
.
|
|
153
|
-
.
|
|
154
|
-
.
|
|
150
|
+
._left_12hlx_143 { left: var(--t-left_sm, var(--t-left)); }
|
|
151
|
+
._left\:h_12hlx_144:hover { left: var(--t-left_sm-h, var(--t-left-h)); }
|
|
152
|
+
._left\:f_12hlx_145:focus { left: var(--t-left_sm-f, var(--t-left-f)); }
|
|
153
|
+
._left\:a_12hlx_146:active { left: var(--t-left_sm-a, var(--t-left-a)); }
|
|
154
|
+
._left\:d_12hlx_147:disabled { left: var(--t-left_sm-d, var(--t-left-d)); }
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
@media (min-width: 768px) {
|
|
158
|
-
.
|
|
159
|
-
.
|
|
160
|
-
.
|
|
161
|
-
.
|
|
162
|
-
.
|
|
158
|
+
._left_12hlx_143 { left: var(--t-left_md, var(--t-left_sm, var(--t-left))); }
|
|
159
|
+
._left\:h_12hlx_144:hover { left: var(--t-left_md-h, var(--t-left_sm-h, var(--t-left-h))); }
|
|
160
|
+
._left\:f_12hlx_145:focus { left: var(--t-left_md-f, var(--t-left_sm-f, var(--t-left-f))); }
|
|
161
|
+
._left\:a_12hlx_146:active { left: var(--t-left_md-a, var(--t-left_sm-a, var(--t-left-a))); }
|
|
162
|
+
._left\:d_12hlx_147:disabled { left: var(--t-left_md-d, var(--t-left_sm-d, var(--t-left-d))); }
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
@media (min-width: 1024px) {
|
|
166
|
-
.
|
|
167
|
-
.
|
|
168
|
-
.
|
|
169
|
-
.
|
|
170
|
-
.
|
|
166
|
+
._left_12hlx_143 { left: var(--t-left_lg, var(--t-left_md, var(--t-left_sm, var(--t-left)))); }
|
|
167
|
+
._left\:h_12hlx_144:hover { left: var(--t-left_lg-h, var(--t-left_md-h, var(--t-left_sm-h, var(--t-left-h)))); }
|
|
168
|
+
._left\:f_12hlx_145:focus { left: var(--t-left_lg-f, var(--t-left_md-f, var(--t-left_sm-f, var(--t-left-f)))); }
|
|
169
|
+
._left\:a_12hlx_146:active { left: var(--t-left_lg-a, var(--t-left_md-a, var(--t-left_sm-a, var(--t-left-a)))); }
|
|
170
|
+
._left\:d_12hlx_147:disabled { left: var(--t-left_lg-d, var(--t-left_md-d, var(--t-left_sm-d, var(--t-left-d)))); }
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
@media (min-width: 1280px) {
|
|
174
|
-
.
|
|
175
|
-
.
|
|
176
|
-
.
|
|
177
|
-
.
|
|
178
|
-
.
|
|
174
|
+
._left_12hlx_143 { left: var(--t-left_xl, var(--t-left_lg, var(--t-left_md, var(--t-left_sm, var(--t-left))))); }
|
|
175
|
+
._left\:h_12hlx_144:hover { left: var(--t-left_xl-h, var(--t-left_lg-h, var(--t-left_md-h, var(--t-left_sm-h, var(--t-left-h))))); }
|
|
176
|
+
._left\:f_12hlx_145:focus { left: var(--t-left_xl-f, var(--t-left_lg-f, var(--t-left_md-f, var(--t-left_sm-f, var(--t-left-f))))); }
|
|
177
|
+
._left\:a_12hlx_146:active { left: var(--t-left_xl-a, var(--t-left_lg-a, var(--t-left_md-a, var(--t-left_sm-a, var(--t-left-a))))); }
|
|
178
|
+
._left\:d_12hlx_147:disabled { left: var(--t-left_xl-d, var(--t-left_lg-d, var(--t-left_md-d, var(--t-left_sm-d, var(--t-left-d))))); }
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
@media (min-width: 1536px) {
|
|
182
|
-
.
|
|
183
|
-
.
|
|
184
|
-
.
|
|
185
|
-
.
|
|
186
|
-
.
|
|
182
|
+
._left_12hlx_143 { left: var(--t-left_2xl, var(--t-left_xl, var(--t-left_lg, var(--t-left_md, var(--t-left_sm, var(--t-left)))))); }
|
|
183
|
+
._left\:h_12hlx_144:hover { left: var(--t-left_2xl-h, var(--t-left_xl-h, var(--t-left_lg-h, var(--t-left_md-h, var(--t-left_sm-h, var(--t-left-h)))))); }
|
|
184
|
+
._left\:f_12hlx_145:focus { left: var(--t-left_2xl-f, var(--t-left_xl-f, var(--t-left_lg-f, var(--t-left_md-f, var(--t-left_sm-f, var(--t-left-f)))))); }
|
|
185
|
+
._left\:a_12hlx_146:active { left: var(--t-left_2xl-a, var(--t-left_xl-a, var(--t-left_lg-a, var(--t-left_md-a, var(--t-left_sm-a, var(--t-left-a)))))); }
|
|
186
|
+
._left\:d_12hlx_147:disabled { left: var(--t-left_2xl-d, var(--t-left_xl-d, var(--t-left_lg-d, var(--t-left_md-d, var(--t-left_sm-d, var(--t-left-d)))))); }
|
|
187
187
|
}
|
|
@@ -1,174 +1,34 @@
|
|
|
1
|
-
const top = "
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const top_xl = "_top_xl_1okb2_33";
|
|
6
|
-
const top_2xl = "_top_2xl_1okb2_41";
|
|
7
|
-
const right = "_right_1okb2_49";
|
|
8
|
-
const right_sm = "_right_sm_1okb2_56";
|
|
9
|
-
const right_md = "_right_md_1okb2_64";
|
|
10
|
-
const right_lg = "_right_lg_1okb2_72";
|
|
11
|
-
const right_xl = "_right_xl_1okb2_80";
|
|
12
|
-
const right_2xl = "_right_2xl_1okb2_88";
|
|
13
|
-
const bottom = "_bottom_1okb2_96";
|
|
14
|
-
const bottom_sm = "_bottom_sm_1okb2_103";
|
|
15
|
-
const bottom_md = "_bottom_md_1okb2_111";
|
|
16
|
-
const bottom_lg = "_bottom_lg_1okb2_119";
|
|
17
|
-
const bottom_xl = "_bottom_xl_1okb2_127";
|
|
18
|
-
const bottom_2xl = "_bottom_2xl_1okb2_135";
|
|
19
|
-
const left = "_left_1okb2_143";
|
|
20
|
-
const left_sm = "_left_sm_1okb2_150";
|
|
21
|
-
const left_md = "_left_md_1okb2_158";
|
|
22
|
-
const left_lg = "_left_lg_1okb2_166";
|
|
23
|
-
const left_xl = "_left_xl_1okb2_174";
|
|
24
|
-
const left_2xl = "_left_2xl_1okb2_182";
|
|
1
|
+
const top = "_top_12hlx_2";
|
|
2
|
+
const right = "_right_12hlx_49";
|
|
3
|
+
const bottom = "_bottom_12hlx_96";
|
|
4
|
+
const left = "_left_12hlx_143";
|
|
25
5
|
const styles = {
|
|
26
6
|
top,
|
|
27
|
-
"top:h": "_top:
|
|
28
|
-
"top:f": "_top:
|
|
29
|
-
"top:a": "_top:
|
|
30
|
-
"top:d": "_top:
|
|
31
|
-
top_sm,
|
|
32
|
-
"top_sm:h": "_top_sm:h_1okb2_10",
|
|
33
|
-
"top_sm:f": "_top_sm:f_1okb2_11",
|
|
34
|
-
"top_sm:a": "_top_sm:a_1okb2_12",
|
|
35
|
-
"top_sm:d": "_top_sm:d_1okb2_13",
|
|
36
|
-
top_md,
|
|
37
|
-
"top_md:h": "_top_md:h_1okb2_18",
|
|
38
|
-
"top_md:f": "_top_md:f_1okb2_19",
|
|
39
|
-
"top_md:a": "_top_md:a_1okb2_20",
|
|
40
|
-
"top_md:d": "_top_md:d_1okb2_21",
|
|
41
|
-
top_lg,
|
|
42
|
-
"top_lg:h": "_top_lg:h_1okb2_26",
|
|
43
|
-
"top_lg:f": "_top_lg:f_1okb2_27",
|
|
44
|
-
"top_lg:a": "_top_lg:a_1okb2_28",
|
|
45
|
-
"top_lg:d": "_top_lg:d_1okb2_29",
|
|
46
|
-
top_xl,
|
|
47
|
-
"top_xl:h": "_top_xl:h_1okb2_34",
|
|
48
|
-
"top_xl:f": "_top_xl:f_1okb2_35",
|
|
49
|
-
"top_xl:a": "_top_xl:a_1okb2_36",
|
|
50
|
-
"top_xl:d": "_top_xl:d_1okb2_37",
|
|
51
|
-
top_2xl,
|
|
52
|
-
"top_2xl:h": "_top_2xl:h_1okb2_42",
|
|
53
|
-
"top_2xl:f": "_top_2xl:f_1okb2_43",
|
|
54
|
-
"top_2xl:a": "_top_2xl:a_1okb2_44",
|
|
55
|
-
"top_2xl:d": "_top_2xl:d_1okb2_45",
|
|
7
|
+
"top:h": "_top:h_12hlx_3",
|
|
8
|
+
"top:f": "_top:f_12hlx_4",
|
|
9
|
+
"top:a": "_top:a_12hlx_5",
|
|
10
|
+
"top:d": "_top:d_12hlx_6",
|
|
56
11
|
right,
|
|
57
|
-
"right:h": "_right:
|
|
58
|
-
"right:f": "_right:
|
|
59
|
-
"right:a": "_right:
|
|
60
|
-
"right:d": "_right:
|
|
61
|
-
right_sm,
|
|
62
|
-
"right_sm:h": "_right_sm:h_1okb2_57",
|
|
63
|
-
"right_sm:f": "_right_sm:f_1okb2_58",
|
|
64
|
-
"right_sm:a": "_right_sm:a_1okb2_59",
|
|
65
|
-
"right_sm:d": "_right_sm:d_1okb2_60",
|
|
66
|
-
right_md,
|
|
67
|
-
"right_md:h": "_right_md:h_1okb2_65",
|
|
68
|
-
"right_md:f": "_right_md:f_1okb2_66",
|
|
69
|
-
"right_md:a": "_right_md:a_1okb2_67",
|
|
70
|
-
"right_md:d": "_right_md:d_1okb2_68",
|
|
71
|
-
right_lg,
|
|
72
|
-
"right_lg:h": "_right_lg:h_1okb2_73",
|
|
73
|
-
"right_lg:f": "_right_lg:f_1okb2_74",
|
|
74
|
-
"right_lg:a": "_right_lg:a_1okb2_75",
|
|
75
|
-
"right_lg:d": "_right_lg:d_1okb2_76",
|
|
76
|
-
right_xl,
|
|
77
|
-
"right_xl:h": "_right_xl:h_1okb2_81",
|
|
78
|
-
"right_xl:f": "_right_xl:f_1okb2_82",
|
|
79
|
-
"right_xl:a": "_right_xl:a_1okb2_83",
|
|
80
|
-
"right_xl:d": "_right_xl:d_1okb2_84",
|
|
81
|
-
right_2xl,
|
|
82
|
-
"right_2xl:h": "_right_2xl:h_1okb2_89",
|
|
83
|
-
"right_2xl:f": "_right_2xl:f_1okb2_90",
|
|
84
|
-
"right_2xl:a": "_right_2xl:a_1okb2_91",
|
|
85
|
-
"right_2xl:d": "_right_2xl:d_1okb2_92",
|
|
12
|
+
"right:h": "_right:h_12hlx_50",
|
|
13
|
+
"right:f": "_right:f_12hlx_51",
|
|
14
|
+
"right:a": "_right:a_12hlx_52",
|
|
15
|
+
"right:d": "_right:d_12hlx_53",
|
|
86
16
|
bottom,
|
|
87
|
-
"bottom:h": "_bottom:
|
|
88
|
-
"bottom:f": "_bottom:
|
|
89
|
-
"bottom:a": "_bottom:
|
|
90
|
-
"bottom:d": "_bottom:
|
|
91
|
-
bottom_sm,
|
|
92
|
-
"bottom_sm:h": "_bottom_sm:h_1okb2_104",
|
|
93
|
-
"bottom_sm:f": "_bottom_sm:f_1okb2_105",
|
|
94
|
-
"bottom_sm:a": "_bottom_sm:a_1okb2_106",
|
|
95
|
-
"bottom_sm:d": "_bottom_sm:d_1okb2_107",
|
|
96
|
-
bottom_md,
|
|
97
|
-
"bottom_md:h": "_bottom_md:h_1okb2_112",
|
|
98
|
-
"bottom_md:f": "_bottom_md:f_1okb2_113",
|
|
99
|
-
"bottom_md:a": "_bottom_md:a_1okb2_114",
|
|
100
|
-
"bottom_md:d": "_bottom_md:d_1okb2_115",
|
|
101
|
-
bottom_lg,
|
|
102
|
-
"bottom_lg:h": "_bottom_lg:h_1okb2_120",
|
|
103
|
-
"bottom_lg:f": "_bottom_lg:f_1okb2_121",
|
|
104
|
-
"bottom_lg:a": "_bottom_lg:a_1okb2_122",
|
|
105
|
-
"bottom_lg:d": "_bottom_lg:d_1okb2_123",
|
|
106
|
-
bottom_xl,
|
|
107
|
-
"bottom_xl:h": "_bottom_xl:h_1okb2_128",
|
|
108
|
-
"bottom_xl:f": "_bottom_xl:f_1okb2_129",
|
|
109
|
-
"bottom_xl:a": "_bottom_xl:a_1okb2_130",
|
|
110
|
-
"bottom_xl:d": "_bottom_xl:d_1okb2_131",
|
|
111
|
-
bottom_2xl,
|
|
112
|
-
"bottom_2xl:h": "_bottom_2xl:h_1okb2_136",
|
|
113
|
-
"bottom_2xl:f": "_bottom_2xl:f_1okb2_137",
|
|
114
|
-
"bottom_2xl:a": "_bottom_2xl:a_1okb2_138",
|
|
115
|
-
"bottom_2xl:d": "_bottom_2xl:d_1okb2_139",
|
|
17
|
+
"bottom:h": "_bottom:h_12hlx_97",
|
|
18
|
+
"bottom:f": "_bottom:f_12hlx_98",
|
|
19
|
+
"bottom:a": "_bottom:a_12hlx_99",
|
|
20
|
+
"bottom:d": "_bottom:d_12hlx_100",
|
|
116
21
|
left,
|
|
117
|
-
"left:h": "_left:
|
|
118
|
-
"left:f": "_left:
|
|
119
|
-
"left:a": "_left:
|
|
120
|
-
"left:d": "_left:
|
|
121
|
-
left_sm,
|
|
122
|
-
"left_sm:h": "_left_sm:h_1okb2_151",
|
|
123
|
-
"left_sm:f": "_left_sm:f_1okb2_152",
|
|
124
|
-
"left_sm:a": "_left_sm:a_1okb2_153",
|
|
125
|
-
"left_sm:d": "_left_sm:d_1okb2_154",
|
|
126
|
-
left_md,
|
|
127
|
-
"left_md:h": "_left_md:h_1okb2_159",
|
|
128
|
-
"left_md:f": "_left_md:f_1okb2_160",
|
|
129
|
-
"left_md:a": "_left_md:a_1okb2_161",
|
|
130
|
-
"left_md:d": "_left_md:d_1okb2_162",
|
|
131
|
-
left_lg,
|
|
132
|
-
"left_lg:h": "_left_lg:h_1okb2_167",
|
|
133
|
-
"left_lg:f": "_left_lg:f_1okb2_168",
|
|
134
|
-
"left_lg:a": "_left_lg:a_1okb2_169",
|
|
135
|
-
"left_lg:d": "_left_lg:d_1okb2_170",
|
|
136
|
-
left_xl,
|
|
137
|
-
"left_xl:h": "_left_xl:h_1okb2_175",
|
|
138
|
-
"left_xl:f": "_left_xl:f_1okb2_176",
|
|
139
|
-
"left_xl:a": "_left_xl:a_1okb2_177",
|
|
140
|
-
"left_xl:d": "_left_xl:d_1okb2_178",
|
|
141
|
-
left_2xl,
|
|
142
|
-
"left_2xl:h": "_left_2xl:h_1okb2_183",
|
|
143
|
-
"left_2xl:f": "_left_2xl:f_1okb2_184",
|
|
144
|
-
"left_2xl:a": "_left_2xl:a_1okb2_185",
|
|
145
|
-
"left_2xl:d": "_left_2xl:d_1okb2_186"
|
|
22
|
+
"left:h": "_left:h_12hlx_144",
|
|
23
|
+
"left:f": "_left:f_12hlx_145",
|
|
24
|
+
"left:a": "_left:a_12hlx_146",
|
|
25
|
+
"left:d": "_left:d_12hlx_147"
|
|
146
26
|
};
|
|
147
27
|
export {
|
|
148
28
|
bottom,
|
|
149
|
-
bottom_2xl,
|
|
150
|
-
bottom_lg,
|
|
151
|
-
bottom_md,
|
|
152
|
-
bottom_sm,
|
|
153
|
-
bottom_xl,
|
|
154
29
|
styles as default,
|
|
155
30
|
left,
|
|
156
|
-
left_2xl,
|
|
157
|
-
left_lg,
|
|
158
|
-
left_md,
|
|
159
|
-
left_sm,
|
|
160
|
-
left_xl,
|
|
161
31
|
right,
|
|
162
|
-
|
|
163
|
-
right_lg,
|
|
164
|
-
right_md,
|
|
165
|
-
right_sm,
|
|
166
|
-
right_xl,
|
|
167
|
-
top,
|
|
168
|
-
top_2xl,
|
|
169
|
-
top_lg,
|
|
170
|
-
top_md,
|
|
171
|
-
top_sm,
|
|
172
|
-
top_xl
|
|
32
|
+
top
|
|
173
33
|
};
|
|
174
34
|
//# sourceMappingURL=inset.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inset.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"inset.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ResponsiveValue } from '../../../utils/breakpoints';
|
|
2
|
+
import { StateProps, StyleResult } from '../shared';
|
|
2
3
|
export type CursorValue = "auto" | "default" | "pointer" | "wait" | "text" | "move" | "not-allowed" | "grab" | "grabbing" | "zoom-in" | "zoom-out" | "crosshair";
|
|
3
4
|
export type PointerEventsValue = "auto" | "none" | "all";
|
|
4
5
|
export type UserSelectValue = "auto" | "none" | "text" | "all";
|
|
5
6
|
export type InteractionProps = {
|
|
6
|
-
cursor?: CursorValue
|
|
7
|
-
pointerEvents?: PointerEventsValue
|
|
8
|
-
userSelect?: UserSelectValue
|
|
7
|
+
cursor?: ResponsiveValue<CursorValue>;
|
|
8
|
+
pointerEvents?: ResponsiveValue<PointerEventsValue>;
|
|
9
|
+
userSelect?: ResponsiveValue<UserSelectValue>;
|
|
9
10
|
};
|
|
10
|
-
export
|
|
11
|
-
_hover?: InteractionProps;
|
|
12
|
-
};
|
|
13
|
-
export declare function getInteractionStyles(props: InteractionProps & InteractionStateProps): StyleResult;
|
|
11
|
+
export declare function getInteractionStyles(props: InteractionProps & StateProps<InteractionProps>): StyleResult;
|
|
14
12
|
//# sourceMappingURL=interactions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interactions.d.ts","sourceRoot":"","sources":["../../../../src/components/Box/interactions/interactions.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"interactions.d.ts","sourceRoot":"","sources":["../../../../src/components/Box/interactions/interactions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAEL,KAAK,UAAU,EACf,KAAK,WAAW,EAEjB,MAAM,WAAW,CAAC;AAInB,MAAM,MAAM,WAAW,GACnB,MAAM,GACN,SAAS,GACT,SAAS,GACT,MAAM,GACN,MAAM,GACN,MAAM,GACN,aAAa,GACb,MAAM,GACN,UAAU,GACV,SAAS,GACT,UAAU,GACV,WAAW,CAAC;AAEhB,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;AAEzD,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;AAE/D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;IACtC,aAAa,CAAC,EAAE,eAAe,CAAC,kBAAkB,CAAC,CAAC;IACpD,UAAU,CAAC,EAAE,eAAe,CAAC,eAAe,CAAC,CAAC;CAC/C,CAAC;AAkBF,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,gBAAgB,GAAG,UAAU,CAAC,gBAAgB,CAAC,GACrD,WAAW,CAmBb"}
|
|
@@ -1,41 +1,31 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getEnumResponsiveStyles } from "../shared/responsive.js";
|
|
2
2
|
import styles from "./interactions.module.css.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
|
-
function getCursorClass(value, state) {
|
|
5
|
-
const stateClassSuffix = STATE_CLASS_SUFFIXES[state];
|
|
6
|
-
return stateClassSuffix ? styles[`cursor-${value}${stateClassSuffix}`] : styles[`cursor-${value}`];
|
|
7
|
-
}
|
|
8
|
-
function getPointerEventsClass(value, state) {
|
|
9
|
-
const stateClassSuffix = STATE_CLASS_SUFFIXES[state];
|
|
10
|
-
return stateClassSuffix ? styles[`pointer-${value}${stateClassSuffix}`] : styles[`pointer-${value}`];
|
|
11
|
-
}
|
|
12
|
-
function getUserSelectClass(value, state) {
|
|
13
|
-
const stateClassSuffix = STATE_CLASS_SUFFIXES[state];
|
|
14
|
-
return stateClassSuffix ? styles[`select-${value}${stateClassSuffix}`] : styles[`select-${value}`];
|
|
15
|
-
}
|
|
16
4
|
function getInteractionStylesForState(props, state) {
|
|
17
5
|
if (!props) return { className: "", style: {} };
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
if (cls) classes.push(cls);
|
|
26
|
-
}
|
|
27
|
-
if (props.userSelect) {
|
|
28
|
-
const cls = getUserSelectClass(props.userSelect, state);
|
|
29
|
-
if (cls) classes.push(cls);
|
|
30
|
-
}
|
|
31
|
-
return { className: clsx(...classes), style: {} };
|
|
6
|
+
const cursorResult = getEnumResponsiveStyles(styles, "cursor", props.cursor, state);
|
|
7
|
+
const pointerResult = getEnumResponsiveStyles(styles, "pointer", props.pointerEvents, state);
|
|
8
|
+
const selectResult = getEnumResponsiveStyles(styles, "select", props.userSelect, state);
|
|
9
|
+
return {
|
|
10
|
+
className: clsx(cursorResult.className, pointerResult.className, selectResult.className),
|
|
11
|
+
style: {}
|
|
12
|
+
};
|
|
32
13
|
}
|
|
33
14
|
function getInteractionStyles(props) {
|
|
34
|
-
const {
|
|
35
|
-
const baseStyles = getInteractionStylesForState(
|
|
15
|
+
const { _hover, _focus, _active, _disabled, ...baseProps } = props;
|
|
16
|
+
const baseStyles = getInteractionStylesForState(baseProps, "base");
|
|
36
17
|
const hoverStyles = getInteractionStylesForState(_hover, "hover");
|
|
18
|
+
const focusStyles = getInteractionStylesForState(_focus, "focus");
|
|
19
|
+
const activeStyles = getInteractionStylesForState(_active, "active");
|
|
20
|
+
const disabledStyles = getInteractionStylesForState(_disabled, "disabled");
|
|
37
21
|
return {
|
|
38
|
-
className: clsx(
|
|
22
|
+
className: clsx(
|
|
23
|
+
baseStyles.className,
|
|
24
|
+
hoverStyles.className,
|
|
25
|
+
focusStyles.className,
|
|
26
|
+
activeStyles.className,
|
|
27
|
+
disabledStyles.className
|
|
28
|
+
),
|
|
39
29
|
style: {}
|
|
40
30
|
};
|
|
41
31
|
}
|