@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.
Files changed (146) hide show
  1. package/README.md +106 -60
  2. package/dist/components/Alert/Alert.d.ts.map +1 -1
  3. package/dist/components/Alert/Alert.js.map +1 -1
  4. package/dist/components/Badge/Badge.d.ts.map +1 -1
  5. package/dist/components/Badge/Badge.js.map +1 -1
  6. package/dist/components/Box/Box.d.ts +2 -7
  7. package/dist/components/Box/Box.d.ts.map +1 -1
  8. package/dist/components/Box/Box.js +1 -1
  9. package/dist/components/Box/Box.js.map +1 -1
  10. package/dist/components/Box/borders/borders.d.ts +11 -13
  11. package/dist/components/Box/borders/borders.d.ts.map +1 -1
  12. package/dist/components/Box/borders/borders.js +29 -62
  13. package/dist/components/Box/borders/borders.js.map +1 -1
  14. package/dist/components/Box/borders/borders.module.css +936 -40
  15. package/dist/components/Box/borders/borders.module.css.js +600 -40
  16. package/dist/components/Box/borders/borders.module.css.js.map +1 -1
  17. package/dist/components/Box/colors/colors.d.ts +6 -8
  18. package/dist/components/Box/colors/colors.d.ts.map +1 -1
  19. package/dist/components/Box/colors/colors.js +20 -30
  20. package/dist/components/Box/colors/colors.js.map +1 -1
  21. package/dist/components/Box/colors/colors.module.css +2537 -108
  22. package/dist/components/Box/colors/colors.module.css.js +1620 -108
  23. package/dist/components/Box/colors/colors.module.css.js.map +1 -1
  24. package/dist/components/Box/display/display.d.ts +2 -8
  25. package/dist/components/Box/display/display.d.ts.map +1 -1
  26. package/dist/components/Box/display/display.js +10 -33
  27. package/dist/components/Box/display/display.js.map +1 -1
  28. package/dist/components/Box/flexbox/flexbox.d.ts +12 -14
  29. package/dist/components/Box/flexbox/flexbox.d.ts.map +1 -1
  30. package/dist/components/Box/flexbox/flexbox.js +39 -102
  31. package/dist/components/Box/flexbox/flexbox.js.map +1 -1
  32. package/dist/components/Box/flexbox/flexbox.module.css +1210 -56
  33. package/dist/components/Box/flexbox/flexbox.module.css.js +727 -55
  34. package/dist/components/Box/flexbox/flexbox.module.css.js.map +1 -1
  35. package/dist/components/Box/grid/grid.d.ts +3 -2
  36. package/dist/components/Box/grid/grid.d.ts.map +1 -1
  37. package/dist/components/Box/grid/grid.js +24 -15
  38. package/dist/components/Box/grid/grid.js.map +1 -1
  39. package/dist/components/Box/grid/grid.module.css +68 -18
  40. package/dist/components/Box/grid/grid.module.css.js +14 -14
  41. package/dist/components/Box/inset/inset.d.ts.map +1 -1
  42. package/dist/components/Box/inset/inset.js +8 -52
  43. package/dist/components/Box/inset/inset.js.map +1 -1
  44. package/dist/components/Box/inset/inset.module.css +120 -120
  45. package/dist/components/Box/inset/inset.module.css.js +21 -161
  46. package/dist/components/Box/inset/inset.module.css.js.map +1 -1
  47. package/dist/components/Box/interactions/interactions.d.ts +6 -8
  48. package/dist/components/Box/interactions/interactions.d.ts.map +1 -1
  49. package/dist/components/Box/interactions/interactions.js +20 -30
  50. package/dist/components/Box/interactions/interactions.js.map +1 -1
  51. package/dist/components/Box/interactions/interactions.module.css +891 -38
  52. package/dist/components/Box/interactions/interactions.module.css.js +570 -38
  53. package/dist/components/Box/interactions/interactions.module.css.js.map +1 -1
  54. package/dist/components/Box/margin/margin.d.ts.map +1 -1
  55. package/dist/components/Box/margin/margin.js +8 -52
  56. package/dist/components/Box/margin/margin.js.map +1 -1
  57. package/dist/components/Box/margin/margin.module.css +120 -120
  58. package/dist/components/Box/margin/margin.module.css.js +21 -161
  59. package/dist/components/Box/margin/margin.module.css.js.map +1 -1
  60. package/dist/components/Box/opacity/opacity.d.ts +2 -8
  61. package/dist/components/Box/opacity/opacity.d.ts.map +1 -1
  62. package/dist/components/Box/opacity/opacity.js +10 -33
  63. package/dist/components/Box/opacity/opacity.js.map +1 -1
  64. package/dist/components/Box/overflow/overflow.d.ts +2 -8
  65. package/dist/components/Box/overflow/overflow.d.ts.map +1 -1
  66. package/dist/components/Box/overflow/overflow.js +24 -29
  67. package/dist/components/Box/overflow/overflow.js.map +1 -1
  68. package/dist/components/Box/padding/padding.d.ts.map +1 -1
  69. package/dist/components/Box/padding/padding.js +8 -52
  70. package/dist/components/Box/padding/padding.js.map +1 -1
  71. package/dist/components/Box/padding/padding.module.css +120 -120
  72. package/dist/components/Box/padding/padding.module.css.js +21 -161
  73. package/dist/components/Box/padding/padding.module.css.js.map +1 -1
  74. package/dist/components/Box/position/position.d.ts +2 -8
  75. package/dist/components/Box/position/position.d.ts.map +1 -1
  76. package/dist/components/Box/position/position.js +10 -33
  77. package/dist/components/Box/position/position.js.map +1 -1
  78. package/dist/components/Box/roundness/roundness.d.ts +12 -14
  79. package/dist/components/Box/roundness/roundness.d.ts.map +1 -1
  80. package/dist/components/Box/roundness/roundness.js +26 -62
  81. package/dist/components/Box/roundness/roundness.js.map +1 -1
  82. package/dist/components/Box/roundness/roundness.module.css +937 -40
  83. package/dist/components/Box/roundness/roundness.module.css.js +600 -40
  84. package/dist/components/Box/roundness/roundness.module.css.js.map +1 -1
  85. package/dist/components/Box/shadows/shadows.d.ts +2 -8
  86. package/dist/components/Box/shadows/shadows.d.ts.map +1 -1
  87. package/dist/components/Box/shadows/shadows.js +10 -33
  88. package/dist/components/Box/shadows/shadows.js.map +1 -1
  89. package/dist/components/Box/shared/index.d.ts +1 -0
  90. package/dist/components/Box/shared/index.d.ts.map +1 -1
  91. package/dist/components/Box/shared/responsive.d.ts +36 -0
  92. package/dist/components/Box/shared/responsive.d.ts.map +1 -0
  93. package/dist/components/Box/shared/responsive.js +65 -0
  94. package/dist/components/Box/shared/responsive.js.map +1 -0
  95. package/dist/components/Box/shared/types.d.ts +6 -0
  96. package/dist/components/Box/shared/types.d.ts.map +1 -1
  97. package/dist/components/Box/sizing/sizing.d.ts.map +1 -1
  98. package/dist/components/Box/sizing/sizing.js +5 -37
  99. package/dist/components/Box/sizing/sizing.js.map +1 -1
  100. package/dist/components/Box/sizing/sizing.module.css +175 -183
  101. package/dist/components/Box/sizing/sizing.module.css.js +31 -241
  102. package/dist/components/Box/sizing/sizing.module.css.js.map +1 -1
  103. package/dist/components/Box/text/text.d.ts +6 -8
  104. package/dist/components/Box/text/text.d.ts.map +1 -1
  105. package/dist/components/Box/text/text.js +24 -30
  106. package/dist/components/Box/text/text.js.map +1 -1
  107. package/dist/components/Box/text/text.module.css +562 -24
  108. package/dist/components/Box/text/text.module.css.js +360 -24
  109. package/dist/components/Box/text/text.module.css.js.map +1 -1
  110. package/dist/components/Box/typography/typography.d.ts +7 -9
  111. package/dist/components/Box/typography/typography.d.ts.map +1 -1
  112. package/dist/components/Box/typography/typography.js +33 -19
  113. package/dist/components/Box/typography/typography.js.map +1 -1
  114. package/dist/components/Box/typography/typography.module.css +890 -19
  115. package/dist/components/Box/typography/typography.module.css.js +570 -19
  116. package/dist/components/Box/typography/typography.module.css.js.map +1 -1
  117. package/dist/components/Box/zIndex/zIndex.d.ts +2 -8
  118. package/dist/components/Box/zIndex/zIndex.d.ts.map +1 -1
  119. package/dist/components/Box/zIndex/zIndex.js +10 -33
  120. package/dist/components/Box/zIndex/zIndex.js.map +1 -1
  121. package/dist/components/Flex/Flex.d.ts +5 -6
  122. package/dist/components/Flex/Flex.d.ts.map +1 -1
  123. package/dist/components/Flex/Flex.js +0 -1
  124. package/dist/components/Flex/Flex.js.map +1 -1
  125. package/dist/components/Grid/Grid.d.ts +8 -7
  126. package/dist/components/Grid/Grid.d.ts.map +1 -1
  127. package/dist/components/Grid/Grid.js.map +1 -1
  128. package/dist/components/IconButton/IconButton.d.ts.map +1 -1
  129. package/dist/components/IconButton/IconButton.js.map +1 -1
  130. package/dist/components/Menu/Menu.d.ts.map +1 -1
  131. package/dist/components/Menu/Menu.js +5 -5
  132. package/dist/components/Menu/Menu.js.map +1 -1
  133. package/dist/components/Popover/Popover.d.ts.map +1 -1
  134. package/dist/components/Popover/Popover.js +9 -9
  135. package/dist/components/Popover/Popover.js.map +1 -1
  136. package/dist/components/Progress/Progress.d.ts.map +1 -1
  137. package/dist/components/Progress/Progress.js.map +1 -1
  138. package/dist/components/Stack/Stack.d.ts +2 -1
  139. package/dist/components/Stack/Stack.d.ts.map +1 -1
  140. package/dist/components/Stack/Stack.js.map +1 -1
  141. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  142. package/dist/components/Tooltip/Tooltip.js +5 -5
  143. package/dist/components/Tooltip/Tooltip.js.map +1 -1
  144. package/dist/index.css +9313 -1632
  145. package/dist/styles/styles.css +7 -0
  146. package/package.json +1 -1
@@ -1,187 +1,187 @@
1
1
  /* top */
2
- ._top_1okb2_2 { top: var(--t-top); }
3
- ._top\:h_1okb2_3:hover { top: var(--t-top-h); }
4
- ._top\:f_1okb2_4:focus { top: var(--t-top-f); }
5
- ._top\:a_1okb2_5:active { top: var(--t-top-a); }
6
- ._top\:d_1okb2_6:disabled { top: var(--t-top-d); }
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
- ._top_sm_1okb2_9 { top: var(--t-top_sm); }
10
- ._top_sm\:h_1okb2_10:hover { top: var(--t-top_sm-h); }
11
- ._top_sm\:f_1okb2_11:focus { top: var(--t-top_sm-f); }
12
- ._top_sm\:a_1okb2_12:active { top: var(--t-top_sm-a); }
13
- ._top_sm\:d_1okb2_13:disabled { top: var(--t-top_sm-d); }
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
- ._top_md_1okb2_17 { top: var(--t-top_md); }
18
- ._top_md\:h_1okb2_18:hover { top: var(--t-top_md-h); }
19
- ._top_md\:f_1okb2_19:focus { top: var(--t-top_md-f); }
20
- ._top_md\:a_1okb2_20:active { top: var(--t-top_md-a); }
21
- ._top_md\:d_1okb2_21:disabled { top: var(--t-top_md-d); }
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
- ._top_lg_1okb2_25 { top: var(--t-top_lg); }
26
- ._top_lg\:h_1okb2_26:hover { top: var(--t-top_lg-h); }
27
- ._top_lg\:f_1okb2_27:focus { top: var(--t-top_lg-f); }
28
- ._top_lg\:a_1okb2_28:active { top: var(--t-top_lg-a); }
29
- ._top_lg\:d_1okb2_29:disabled { top: var(--t-top_lg-d); }
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
- ._top_xl_1okb2_33 { top: var(--t-top_xl); }
34
- ._top_xl\:h_1okb2_34:hover { top: var(--t-top_xl-h); }
35
- ._top_xl\:f_1okb2_35:focus { top: var(--t-top_xl-f); }
36
- ._top_xl\:a_1okb2_36:active { top: var(--t-top_xl-a); }
37
- ._top_xl\:d_1okb2_37:disabled { top: var(--t-top_xl-d); }
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
- ._top_2xl_1okb2_41 { top: var(--t-top_2xl); }
42
- ._top_2xl\:h_1okb2_42:hover { top: var(--t-top_2xl-h); }
43
- ._top_2xl\:f_1okb2_43:focus { top: var(--t-top_2xl-f); }
44
- ._top_2xl\:a_1okb2_44:active { top: var(--t-top_2xl-a); }
45
- ._top_2xl\:d_1okb2_45:disabled { top: var(--t-top_2xl-d); }
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
- ._right_1okb2_49 { right: var(--t-right); }
50
- ._right\:h_1okb2_50:hover { right: var(--t-right-h); }
51
- ._right\:f_1okb2_51:focus { right: var(--t-right-f); }
52
- ._right\:a_1okb2_52:active { right: var(--t-right-a); }
53
- ._right\:d_1okb2_53:disabled { right: var(--t-right-d); }
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
- ._right_sm_1okb2_56 { right: var(--t-right_sm); }
57
- ._right_sm\:h_1okb2_57:hover { right: var(--t-right_sm-h); }
58
- ._right_sm\:f_1okb2_58:focus { right: var(--t-right_sm-f); }
59
- ._right_sm\:a_1okb2_59:active { right: var(--t-right_sm-a); }
60
- ._right_sm\:d_1okb2_60:disabled { right: var(--t-right_sm-d); }
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
- ._right_md_1okb2_64 { right: var(--t-right_md); }
65
- ._right_md\:h_1okb2_65:hover { right: var(--t-right_md-h); }
66
- ._right_md\:f_1okb2_66:focus { right: var(--t-right_md-f); }
67
- ._right_md\:a_1okb2_67:active { right: var(--t-right_md-a); }
68
- ._right_md\:d_1okb2_68:disabled { right: var(--t-right_md-d); }
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
- ._right_lg_1okb2_72 { right: var(--t-right_lg); }
73
- ._right_lg\:h_1okb2_73:hover { right: var(--t-right_lg-h); }
74
- ._right_lg\:f_1okb2_74:focus { right: var(--t-right_lg-f); }
75
- ._right_lg\:a_1okb2_75:active { right: var(--t-right_lg-a); }
76
- ._right_lg\:d_1okb2_76:disabled { right: var(--t-right_lg-d); }
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
- ._right_xl_1okb2_80 { right: var(--t-right_xl); }
81
- ._right_xl\:h_1okb2_81:hover { right: var(--t-right_xl-h); }
82
- ._right_xl\:f_1okb2_82:focus { right: var(--t-right_xl-f); }
83
- ._right_xl\:a_1okb2_83:active { right: var(--t-right_xl-a); }
84
- ._right_xl\:d_1okb2_84:disabled { right: var(--t-right_xl-d); }
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
- ._right_2xl_1okb2_88 { right: var(--t-right_2xl); }
89
- ._right_2xl\:h_1okb2_89:hover { right: var(--t-right_2xl-h); }
90
- ._right_2xl\:f_1okb2_90:focus { right: var(--t-right_2xl-f); }
91
- ._right_2xl\:a_1okb2_91:active { right: var(--t-right_2xl-a); }
92
- ._right_2xl\:d_1okb2_92:disabled { right: var(--t-right_2xl-d); }
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
- ._bottom_1okb2_96 { bottom: var(--t-bottom); }
97
- ._bottom\:h_1okb2_97:hover { bottom: var(--t-bottom-h); }
98
- ._bottom\:f_1okb2_98:focus { bottom: var(--t-bottom-f); }
99
- ._bottom\:a_1okb2_99:active { bottom: var(--t-bottom-a); }
100
- ._bottom\:d_1okb2_100:disabled { bottom: var(--t-bottom-d); }
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
- ._bottom_sm_1okb2_103 { bottom: var(--t-bottom_sm); }
104
- ._bottom_sm\:h_1okb2_104:hover { bottom: var(--t-bottom_sm-h); }
105
- ._bottom_sm\:f_1okb2_105:focus { bottom: var(--t-bottom_sm-f); }
106
- ._bottom_sm\:a_1okb2_106:active { bottom: var(--t-bottom_sm-a); }
107
- ._bottom_sm\:d_1okb2_107:disabled { bottom: var(--t-bottom_sm-d); }
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
- ._bottom_md_1okb2_111 { bottom: var(--t-bottom_md); }
112
- ._bottom_md\:h_1okb2_112:hover { bottom: var(--t-bottom_md-h); }
113
- ._bottom_md\:f_1okb2_113:focus { bottom: var(--t-bottom_md-f); }
114
- ._bottom_md\:a_1okb2_114:active { bottom: var(--t-bottom_md-a); }
115
- ._bottom_md\:d_1okb2_115:disabled { bottom: var(--t-bottom_md-d); }
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
- ._bottom_lg_1okb2_119 { bottom: var(--t-bottom_lg); }
120
- ._bottom_lg\:h_1okb2_120:hover { bottom: var(--t-bottom_lg-h); }
121
- ._bottom_lg\:f_1okb2_121:focus { bottom: var(--t-bottom_lg-f); }
122
- ._bottom_lg\:a_1okb2_122:active { bottom: var(--t-bottom_lg-a); }
123
- ._bottom_lg\:d_1okb2_123:disabled { bottom: var(--t-bottom_lg-d); }
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
- ._bottom_xl_1okb2_127 { bottom: var(--t-bottom_xl); }
128
- ._bottom_xl\:h_1okb2_128:hover { bottom: var(--t-bottom_xl-h); }
129
- ._bottom_xl\:f_1okb2_129:focus { bottom: var(--t-bottom_xl-f); }
130
- ._bottom_xl\:a_1okb2_130:active { bottom: var(--t-bottom_xl-a); }
131
- ._bottom_xl\:d_1okb2_131:disabled { bottom: var(--t-bottom_xl-d); }
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
- ._bottom_2xl_1okb2_135 { bottom: var(--t-bottom_2xl); }
136
- ._bottom_2xl\:h_1okb2_136:hover { bottom: var(--t-bottom_2xl-h); }
137
- ._bottom_2xl\:f_1okb2_137:focus { bottom: var(--t-bottom_2xl-f); }
138
- ._bottom_2xl\:a_1okb2_138:active { bottom: var(--t-bottom_2xl-a); }
139
- ._bottom_2xl\:d_1okb2_139:disabled { bottom: var(--t-bottom_2xl-d); }
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
- ._left_1okb2_143 { left: var(--t-left); }
144
- ._left\:h_1okb2_144:hover { left: var(--t-left-h); }
145
- ._left\:f_1okb2_145:focus { left: var(--t-left-f); }
146
- ._left\:a_1okb2_146:active { left: var(--t-left-a); }
147
- ._left\:d_1okb2_147:disabled { left: var(--t-left-d); }
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
- ._left_sm_1okb2_150 { left: var(--t-left_sm); }
151
- ._left_sm\:h_1okb2_151:hover { left: var(--t-left_sm-h); }
152
- ._left_sm\:f_1okb2_152:focus { left: var(--t-left_sm-f); }
153
- ._left_sm\:a_1okb2_153:active { left: var(--t-left_sm-a); }
154
- ._left_sm\:d_1okb2_154:disabled { left: var(--t-left_sm-d); }
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
- ._left_md_1okb2_158 { left: var(--t-left_md); }
159
- ._left_md\:h_1okb2_159:hover { left: var(--t-left_md-h); }
160
- ._left_md\:f_1okb2_160:focus { left: var(--t-left_md-f); }
161
- ._left_md\:a_1okb2_161:active { left: var(--t-left_md-a); }
162
- ._left_md\:d_1okb2_162:disabled { left: var(--t-left_md-d); }
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
- ._left_lg_1okb2_166 { left: var(--t-left_lg); }
167
- ._left_lg\:h_1okb2_167:hover { left: var(--t-left_lg-h); }
168
- ._left_lg\:f_1okb2_168:focus { left: var(--t-left_lg-f); }
169
- ._left_lg\:a_1okb2_169:active { left: var(--t-left_lg-a); }
170
- ._left_lg\:d_1okb2_170:disabled { left: var(--t-left_lg-d); }
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
- ._left_xl_1okb2_174 { left: var(--t-left_xl); }
175
- ._left_xl\:h_1okb2_175:hover { left: var(--t-left_xl-h); }
176
- ._left_xl\:f_1okb2_176:focus { left: var(--t-left_xl-f); }
177
- ._left_xl\:a_1okb2_177:active { left: var(--t-left_xl-a); }
178
- ._left_xl\:d_1okb2_178:disabled { left: var(--t-left_xl-d); }
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
- ._left_2xl_1okb2_182 { left: var(--t-left_2xl); }
183
- ._left_2xl\:h_1okb2_183:hover { left: var(--t-left_2xl-h); }
184
- ._left_2xl\:f_1okb2_184:focus { left: var(--t-left_2xl-f); }
185
- ._left_2xl\:a_1okb2_185:active { left: var(--t-left_2xl-a); }
186
- ._left_2xl\:d_1okb2_186:disabled { left: var(--t-left_2xl-d); }
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 = "_top_1okb2_2";
2
- const top_sm = "_top_sm_1okb2_9";
3
- const top_md = "_top_md_1okb2_17";
4
- const top_lg = "_top_lg_1okb2_25";
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:h_1okb2_3",
28
- "top:f": "_top:f_1okb2_4",
29
- "top:a": "_top:a_1okb2_5",
30
- "top:d": "_top:d_1okb2_6",
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:h_1okb2_50",
58
- "right:f": "_right:f_1okb2_51",
59
- "right:a": "_right:a_1okb2_52",
60
- "right:d": "_right:d_1okb2_53",
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:h_1okb2_97",
88
- "bottom:f": "_bottom:f_1okb2_98",
89
- "bottom:a": "_bottom:a_1okb2_99",
90
- "bottom:d": "_bottom:d_1okb2_100",
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:h_1okb2_144",
118
- "left:f": "_left:f_1okb2_145",
119
- "left:a": "_left:a_1okb2_146",
120
- "left:d": "_left:d_1okb2_147",
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
- right_2xl,
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 { StyleResult } from '../shared';
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 type InteractionStateProps = {
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,EAGL,KAAK,WAAW,EACjB,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,WAAW,CAAC;IACrB,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC,UAAU,CAAC,EAAE,eAAe,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,CAAC,EAAE,gBAAgB,CAAC;CAC3B,CAAC;AAiDF,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,gBAAgB,GAAG,qBAAqB,GAC9C,WAAW,CAUb"}
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 { STATE_CLASS_SUFFIXES } from "../shared/constants.js";
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 classes = [];
19
- if (props.cursor) {
20
- const cls = getCursorClass(props.cursor, state);
21
- if (cls) classes.push(cls);
22
- }
23
- if (props.pointerEvents) {
24
- const cls = getPointerEventsClass(props.pointerEvents, state);
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 { cursor, pointerEvents, userSelect, _hover } = props;
35
- const baseStyles = getInteractionStylesForState({ cursor, pointerEvents, userSelect }, "base");
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(baseStyles.className, hoverStyles.className),
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
  }