@hopper-ui/components 0.1.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (211) hide show
  1. package/CHANGELOG.md +117 -0
  2. package/dist/HopperProvider/src/HopperProvider.d.ts +33 -1
  3. package/dist/HopperProvider/src/HopperProvider.js +2 -1
  4. package/dist/HopperProvider/src/index.d.ts +1 -0
  5. package/dist/HopperProvider/src/index.js +2 -1
  6. package/dist/IconList/src/IconList.css +6 -6
  7. package/dist/IconList/src/IconList.js +2 -1
  8. package/dist/IconList/src/IconListContext.js +1 -0
  9. package/dist/IconList/src/index.css +6 -6
  10. package/dist/IconList/src/index.js +2 -1
  11. package/dist/Label/src/Label.css +70 -70
  12. package/dist/Label/src/Label.js +3 -2
  13. package/dist/Label/src/LabelContext.js +1 -0
  14. package/dist/Label/src/index.css +70 -70
  15. package/dist/Label/src/index.js +3 -2
  16. package/dist/Link/src/Link.css +165 -0
  17. package/dist/Link/src/Link.d.ts +33 -0
  18. package/dist/Link/src/Link.js +11 -0
  19. package/dist/Link/src/LinkContext.d.ts +8 -0
  20. package/dist/Link/src/LinkContext.js +2 -0
  21. package/dist/Link/src/index.css +165 -0
  22. package/dist/Link/src/index.d.ts +5 -0
  23. package/dist/Link/src/index.js +11 -0
  24. package/dist/Spinner/src/Spinner.css +124 -124
  25. package/dist/Spinner/src/Spinner.d.ts +1 -0
  26. package/dist/Spinner/src/Spinner.js +5 -4
  27. package/dist/Spinner/src/SpinnerContext.js +1 -0
  28. package/dist/Spinner/src/index.css +124 -124
  29. package/dist/Spinner/src/index.js +5 -4
  30. package/dist/Text/src/Text.css +67 -67
  31. package/dist/Text/src/Text.d.ts +2 -3
  32. package/dist/Text/src/Text.js +5 -2
  33. package/dist/Text/src/TextContext.js +1 -0
  34. package/dist/Text/src/index.css +67 -67
  35. package/dist/Text/src/index.d.ts +1 -1
  36. package/dist/Text/src/index.js +5 -2
  37. package/dist/buttons/src/Button.css +634 -435
  38. package/dist/buttons/src/Button.d.ts +15 -10
  39. package/dist/buttons/src/Button.js +13 -9
  40. package/dist/buttons/src/ButtonContext.d.ts +6 -2
  41. package/dist/buttons/src/ButtonContext.js +1 -0
  42. package/dist/buttons/src/ButtonGroup.css +38 -0
  43. package/dist/buttons/src/ButtonGroup.d.ts +40 -0
  44. package/dist/buttons/src/ButtonGroup.js +83 -0
  45. package/dist/buttons/src/ButtonGroupContext.d.ts +9 -0
  46. package/dist/buttons/src/ButtonGroupContext.js +2 -0
  47. package/dist/buttons/src/index.css +634 -435
  48. package/dist/buttons/src/index.d.ts +2 -1
  49. package/dist/buttons/src/index.js +13 -9
  50. package/dist/checkbox/src/Checkbox.css +292 -0
  51. package/dist/checkbox/src/Checkbox.d.ts +20 -0
  52. package/dist/checkbox/src/Checkbox.js +11 -0
  53. package/dist/checkbox/src/CheckboxContext.d.ts +8 -0
  54. package/dist/checkbox/src/CheckboxContext.js +2 -0
  55. package/dist/checkbox/src/CheckboxField.css +119 -0
  56. package/dist/checkbox/src/CheckboxField.d.ts +26 -0
  57. package/dist/checkbox/src/CheckboxField.js +7 -0
  58. package/dist/checkbox/src/CheckboxFieldContext.d.ts +10 -0
  59. package/dist/checkbox/src/CheckboxFieldContext.js +2 -0
  60. package/dist/checkbox/src/CheckboxGroup.css +568 -0
  61. package/dist/checkbox/src/CheckboxGroup.d.ts +30 -0
  62. package/dist/checkbox/src/CheckboxGroup.js +12 -0
  63. package/dist/checkbox/src/CheckboxGroupContext.d.ts +8 -0
  64. package/dist/checkbox/src/CheckboxGroupContext.js +2 -0
  65. package/dist/checkbox/src/CheckboxList.d.ts +17 -0
  66. package/dist/checkbox/src/CheckboxList.js +3 -0
  67. package/dist/checkbox/src/CheckboxListContext.d.ts +10 -0
  68. package/dist/checkbox/src/CheckboxListContext.js +2 -0
  69. package/dist/checkbox/src/index.css +568 -0
  70. package/dist/checkbox/src/index.d.ts +13 -0
  71. package/dist/checkbox/src/index.js +20 -0
  72. package/dist/chip/src/Chip.css +261 -0
  73. package/dist/chip/src/Chip.d.ts +27 -0
  74. package/dist/chip/src/Chip.js +10 -0
  75. package/dist/chip/src/ChipContext.d.ts +10 -0
  76. package/dist/chip/src/ChipContext.js +2 -0
  77. package/dist/chip/src/index.css +261 -0
  78. package/dist/chip/src/index.d.ts +7 -0
  79. package/dist/chip/src/index.js +10 -0
  80. package/dist/chunk-2EAZPH3M.js +7 -0
  81. package/dist/chunk-3LRBUQC2.js +43 -0
  82. package/dist/chunk-4AARNXWE.js +101 -0
  83. package/dist/chunk-4VVNSXIB.js +7 -0
  84. package/dist/chunk-5KJ5IKUE.js +69 -0
  85. package/dist/chunk-5MBJWRZD.js +7 -0
  86. package/dist/{chunk-SEU4CGZD.js → chunk-65JPI4FL.js} +1 -1
  87. package/dist/chunk-7ELZ57E5.js +93 -0
  88. package/dist/chunk-A7TZHALP.js +7 -0
  89. package/dist/chunk-ACVMW6YD.js +7 -0
  90. package/dist/{chunk-YLDA2M2E.js → chunk-ANVMQBBG.js} +2 -1
  91. package/dist/chunk-B7WS4DBA.js +83 -0
  92. package/dist/chunk-BPM4ETTB.js +35 -0
  93. package/dist/{chunk-QIOYM2XJ.js → chunk-DFUQTSEV.js} +13 -13
  94. package/dist/chunk-DGLAGYBD.js +7 -0
  95. package/dist/chunk-ESVVLTEN.js +7 -0
  96. package/dist/chunk-FU5CCPLP.js +7 -0
  97. package/dist/chunk-GXKSX5N5.js +104 -0
  98. package/dist/chunk-H5YTU3U7.js +20 -0
  99. package/dist/chunk-H7VJS4MX.js +7 -0
  100. package/dist/chunk-HVRSS5RT.js +186 -0
  101. package/dist/chunk-HXI3MEEK.js +27 -0
  102. package/dist/chunk-I7AMDVGG.js +124 -0
  103. package/dist/{chunk-XCKF6EU7.js → chunk-IYITZANI.js} +9 -9
  104. package/dist/chunk-JHY3TXL4.js +101 -0
  105. package/dist/{chunk-6BEVZRUL.js → chunk-KVDXQMWI.js} +1 -1
  106. package/dist/chunk-M6UHXS6K.js +58 -0
  107. package/dist/chunk-MD6IFXLG.js +57 -0
  108. package/dist/chunk-ME3RBGOT.js +91 -0
  109. package/dist/chunk-N7YDPVZL.js +7 -0
  110. package/dist/chunk-NH3IVMXB.js +43 -0
  111. package/dist/chunk-NKHMUPAP.js +43 -0
  112. package/dist/chunk-OHPGEHL3.js +83 -0
  113. package/dist/chunk-VIHBOZVN.js +92 -0
  114. package/dist/chunk-VJQ7M2BK.js +7 -0
  115. package/dist/chunk-WDUQUPTE.js +7 -0
  116. package/dist/chunk-WTKIUAHI.js +7 -0
  117. package/dist/chunk-YHBJAXUY.js +7 -0
  118. package/dist/chunk-YSQDPG26.js +27 -0
  119. package/dist/chunk-YWUIJ6ZQ.js +83 -0
  120. package/dist/chunk-ZGNK4GWA.js +7 -0
  121. package/dist/{chunk-XQ3GUEBN.js → chunk-ZQEB3Y3X.js} +8 -9
  122. package/dist/{chunk-7QUHQYCR.js → chunk-ZWU6DRRZ.js} +1 -1
  123. package/dist/errorMessage/src/ErrorMessage.css +102 -0
  124. package/dist/errorMessage/src/ErrorMessage.d.ts +20 -0
  125. package/dist/errorMessage/src/ErrorMessage.js +9 -0
  126. package/dist/errorMessage/src/ErrorMessageContext.d.ts +9 -0
  127. package/dist/errorMessage/src/ErrorMessageContext.js +2 -0
  128. package/dist/errorMessage/src/index.css +102 -0
  129. package/dist/errorMessage/src/index.d.ts +6 -0
  130. package/dist/errorMessage/src/index.js +9 -0
  131. package/dist/helperMessage/src/HelperMessage.css +94 -0
  132. package/dist/helperMessage/src/HelperMessage.d.ts +20 -0
  133. package/dist/helperMessage/src/HelperMessage.js +8 -0
  134. package/dist/helperMessage/src/HelperMessageContext.d.ts +9 -0
  135. package/dist/helperMessage/src/HelperMessageContext.js +2 -0
  136. package/dist/helperMessage/src/index.css +94 -0
  137. package/dist/helperMessage/src/index.d.ts +6 -0
  138. package/dist/helperMessage/src/index.js +8 -0
  139. package/dist/{intl → i18n}/src/index.d.ts +1 -0
  140. package/dist/i18n/src/index.js +2 -0
  141. package/dist/i18n/src/useLocalizedString.d.ts +9 -0
  142. package/dist/i18n/src/useLocalizedString.js +2 -0
  143. package/dist/layout/src/Flex.js +1 -0
  144. package/dist/layout/src/Grid.js +1 -1
  145. package/dist/layout/src/Inline.js +1 -0
  146. package/dist/layout/src/Stack.js +1 -0
  147. package/dist/radio/src/Radio.css +293 -0
  148. package/dist/radio/src/Radio.d.ts +20 -0
  149. package/dist/radio/src/Radio.js +11 -0
  150. package/dist/radio/src/RadioContext.d.ts +8 -0
  151. package/dist/radio/src/RadioContext.js +2 -0
  152. package/dist/radio/src/RadioField.css +119 -0
  153. package/dist/radio/src/RadioField.d.ts +26 -0
  154. package/dist/radio/src/RadioField.js +7 -0
  155. package/dist/radio/src/RadioFieldContext.d.ts +10 -0
  156. package/dist/radio/src/RadioFieldContext.js +2 -0
  157. package/dist/radio/src/RadioGroup.css +570 -0
  158. package/dist/radio/src/RadioGroup.d.ts +30 -0
  159. package/dist/radio/src/RadioGroup.js +12 -0
  160. package/dist/radio/src/RadioGroupContext.d.ts +8 -0
  161. package/dist/radio/src/RadioGroupContext.js +2 -0
  162. package/dist/radio/src/RadioList.d.ts +17 -0
  163. package/dist/radio/src/RadioList.js +3 -0
  164. package/dist/radio/src/RadioListContext.d.ts +10 -0
  165. package/dist/radio/src/RadioListContext.js +2 -0
  166. package/dist/radio/src/index.css +570 -0
  167. package/dist/radio/src/index.d.ts +13 -0
  168. package/dist/radio/src/index.js +20 -0
  169. package/dist/switch/src/Switch.css +236 -0
  170. package/dist/switch/src/Switch.d.ts +20 -0
  171. package/dist/switch/src/Switch.js +11 -0
  172. package/dist/switch/src/SwitchContext.d.ts +8 -0
  173. package/dist/switch/src/SwitchContext.js +2 -0
  174. package/dist/switch/src/SwitchField.css +119 -0
  175. package/dist/switch/src/SwitchField.d.ts +26 -0
  176. package/dist/switch/src/SwitchField.js +7 -0
  177. package/dist/switch/src/SwitchFieldContext.d.ts +10 -0
  178. package/dist/switch/src/SwitchFieldContext.js +2 -0
  179. package/dist/switch/src/index.css +276 -0
  180. package/dist/switch/src/index.d.ts +9 -0
  181. package/dist/switch/src/index.js +13 -0
  182. package/dist/utils/src/ClearSlots.d.ts +28 -0
  183. package/dist/utils/src/ClearSlots.js +2 -0
  184. package/dist/utils/src/SlotProvider.js +1 -0
  185. package/dist/utils/src/composeClassnameRenderProps.js +2 -0
  186. package/dist/utils/src/cssModule.js +2 -0
  187. package/dist/utils/src/index.d.ts +11 -6
  188. package/dist/utils/src/index.js +8 -4
  189. package/dist/utils/src/isTextOnlyChildren.js +2 -0
  190. package/dist/utils/src/{size-adapter.d.ts → sizeAdapter.d.ts} +1 -1
  191. package/dist/utils/src/sizeAdapter.js +1 -0
  192. package/dist/utils/src/types.d.ts +17 -5
  193. package/dist/utils/src/useRenderProps.d.ts +843 -0
  194. package/dist/utils/src/useRenderProps.js +2 -0
  195. package/dist/utils/src/useSlot.d.ts +8 -0
  196. package/dist/utils/src/useSlot.js +2 -0
  197. package/package.json +32 -27
  198. package/dist/chunk-GXUPEV64.js +0 -24
  199. package/dist/chunk-WROQHGG5.js +0 -141
  200. package/dist/chunk-WRWNRVTG.js +0 -47
  201. package/dist/intl/src/index.js +0 -1
  202. package/dist/intl/src/useLocalizedString.d.ts +0 -26
  203. package/dist/intl/src/useLocalizedString.js +0 -1
  204. package/dist/utils/src/compose-classname-render-props.js +0 -1
  205. package/dist/utils/src/css-module.js +0 -1
  206. package/dist/utils/src/is-text-only-children.js +0 -1
  207. package/dist/utils/src/size-adapter.js +0 -1
  208. /package/dist/{chunk-D57ZIX5W.js → chunk-LQICWONC.js} +0 -0
  209. /package/dist/utils/src/{compose-classname-render-props.d.ts → composeClassnameRenderProps.d.ts} +0 -0
  210. /package/dist/utils/src/{css-module.d.ts → cssModule.d.ts} +0 -0
  211. /package/dist/utils/src/{is-text-only-children.d.ts → isTextOnlyChildren.d.ts} +0 -0
@@ -1,468 +1,667 @@
1
- /* src/buttons/src/Button.module.css */
2
- .hop-button {
3
- --hop-button-component-padding: 0 var(--hop-space-inset-md);
4
- --hop-button-component-border-radius: var(--hop-shape-rounded-md);
5
- --hop-button-component-focus-ring-color: var(--hop-primary-surface-hover);
6
- --hop-button-component-sm-height: 2rem;
7
- --hop-button-component-md-height: 2.5rem;
8
- --hop-button-component-primary-color: var(--hop-primary-text-strong);
9
- --hop-button-component-primary-color-hover: var(--hop-primary-text-strong-hover);
10
- --hop-button-component-primary-color-pressed: var(--hop-primary-text-active);
11
- --hop-button-component-primary-color-disabled: var(--hop-neutral-text-disabled);
12
- --hop-button-component-primary-background-color: var(--hop-primary-surface-strong);
13
- --hop-button-component-primary-background-color-hover: var(--hop-primary-surface-hover);
14
- --hop-button-component-primary-background-color-pressed: var(--hop-primary-surface-active);
15
- --hop-button-component-primary-background-color-disabled: var(--hop-neutral-surface-disabled);
16
- --hop-button-component-primary-border: 0;
17
- --hop-button-component-primary-border-hover: 0;
18
- --hop-button-component-primary-border-pressed: 0;
19
- --hop-button-component-primary-border-disabled: 0;
20
- --hop-button-component-secondary-color: var(--hop-neutral-text);
21
- --hop-button-component-secondary-color-hover: var(--hop-neutral-text-hover);
22
- --hop-button-component-secondary-color-pressed: var(--hop-neutral-text-active);
23
- --hop-button-component-secondary-color-disabled: var(--hop-neutral-text-disabled);
24
- --hop-button-component-secondary-background-color: var(--hop-neutral-surface);
25
- --hop-button-component-secondary-background-color-hover: var(--hop-neutral-surface-hover);
26
- --hop-button-component-secondary-background-color-pressed: var(--hop-neutral-surface-active);
27
- --hop-button-component-secondary-background-color-disabled: var(--hop-neutral-surface-disabled);
28
- --hop-button-component-secondary-border: 0.0625rem solid var(--hop-neutral-border-strong);
29
- --hop-button-component-secondary-border-hover: 0.0625rem solid var(--hop-neutral-border-strong);
30
- --hop-button-component-secondary-border-pressed: 0.0625rem solid var(--hop-neutral-border-active);
31
- --hop-button-component-secondary-border-disabled: 0;
32
- --hop-button-component-tertiary-color: var(--hop-neutral-text);
33
- --hop-button-component-tertiary-color-hover: var(--hop-neutral-text-hover);
34
- --hop-button-component-tertiary-color-pressed: var(--hop-neutral-text);
35
- --hop-button-component-tertiary-color-disabled: var(--hop-neutral-text-disabled);
36
- --hop-button-component-tertiary-background-color: var(--hop-neutral-surface);
37
- --hop-button-component-tertiary-background-color-hover: var(--hop-neutral-surface-hover);
38
- --hop-button-component-tertiary-background-color-pressed: var(--hop-neutral-surface-weak-active);
39
- --hop-button-component-tertiary-background-color-disabled: var(--hop-neutral-surface);
40
- --hop-button-component-tertiary-border: 0;
41
- --hop-button-component-tertiary-border-hover: 0;
42
- --hop-button-component-tertiary-border-pressed: 0;
43
- --hop-button-component-tertiary-border-disabled: 0;
44
- --hop-button-component-upsell-color: var(--hop-upsell-text);
45
- --hop-button-component-upsell-color-hover: var(--hop-upsell-text-hover);
46
- --hop-button-component-upsell-color-pressed: var(--hop-upsell-text-active);
47
- --hop-button-component-upsell-color-disabled: var(--hop-neutral-text-disabled);
48
- --hop-button-component-upsell-background-color: var(--hop-upsell-surface);
49
- --hop-button-component-upsell-background-color-hover: var(--hop-upsell-surface-hover);
50
- --hop-button-component-upsell-background-color-pressed: var(--hop-upsell-surface-active);
51
- --hop-button-component-upsell-background-color-disabled: var(--hop-neutral-surface-disabled);
52
- --hop-button-component-upsell-border: 0.0625rem solid var(--hop-upsell-surface);
53
- --hop-button-component-upsell-border-hover: 0.0625rem solid var(--hop-upsell-surface-hover);
54
- --hop-button-component-upsell-border-pressed: 0.0625rem solid var(--hop-upsell-border-active);
55
- --hop-button-component-upsell-border-disabled: 0;
56
- --hop-button-component-negative-color: var(--hop-danger-text-strong);
57
- --hop-button-component-negative-color-hover: var(--hop-danger-text-strong-hover);
58
- --hop-button-component-negative-color-pressed: var(--hop-danger-text-active);
59
- --hop-button-component-negative-color-disabled: var(--hop-neutral-text-disabled);
60
- --hop-button-component-negative-background-color: var(--hop-danger-surface-strong);
61
- --hop-button-component-negative-background-color-hover: var(--hop-danger-surface-hover);
62
- --hop-button-component-negative-background-color-pressed: var(--hop-danger-surface-active);
63
- --hop-button-component-negative-background-color-disabled: var(--hop-neutral-surface-disabled);
64
- --hop-button-component-negative-border: 0.0625rem solid var(--hop-danger-surface-strong);
65
- --hop-button-component-negative-border-hover: 0.0625rem solid var(--hop-danger-surface-hover);
66
- --hop-button-component-negative-border-pressed: 0.0625rem solid var(--hop-danger-border-active);
67
- --hop-button-component-negative-border-disabled: 0;
1
+ /* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/IconList/src/IconList.module.css/#css-module-data */
2
+ .IconList-module__hop-IconList___eJ4Sl {
3
+ --hop-IconList-gap: var(--hop-space-inline-xs);
4
+ display: flex;
5
+ flex-wrap: wrap;
6
+ gap: var(--hop-IconList-gap);
7
+ box-sizing: border-box;
8
+ }
9
+
10
+ /* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/Label/src/Label.module.css/#css-module-data */
11
+ .Label-module__hop-Label___sZV4v {
12
+ --hop-Label-xs-font-size: var(--hop-body-xs-font-size);
13
+ --hop-Label-xs-font-family: var(--hop-body-xs-font-family);
14
+ --hop-Label-xs-font-weight: var(--hop-body-xs-font-weight);
15
+ --hop-Label-xs-line-height: var(--hop-body-xs-line-height);
16
+ --hop-Label-sm-font-size: var(--hop-body-sm-font-size);
17
+ --hop-Label-sm-font-family: var(--hop-body-sm-font-family);
18
+ --hop-Label-sm-font-weight: var(--hop-body-sm-font-weight);
19
+ --hop-Label-sm-line-height: var(--hop-body-sm-line-height);
20
+ --hop-Label-md-font-size: var(--hop-body-md-font-size);
21
+ --hop-Label-md-font-family: var(--hop-body-md-font-family);
22
+ --hop-Label-md-font-weight: var(--hop-body-md-font-weight);
23
+ --hop-Label-md-line-height: var(--hop-body-md-line-height);
24
+ --hop-Label-lg-font-size: var(--hop-body-lg-font-size);
25
+ --hop-Label-lg-font-family: var(--hop-body-lg-font-family);
26
+ --hop-Label-lg-font-weight: var(--hop-body-lg-font-weight);
27
+ --hop-Label-lg-line-height: var(--hop-body-lg-line-height);
28
+ --hop-Label-xl-font-size: var(--hop-body-xl-font-size);
29
+ --hop-Label-xl-font-family: var(--hop-body-xl-font-family);
30
+ --hop-Label-xl-font-weight: var(--hop-body-xl-font-weight);
31
+ --hop-Label-xl-line-height: var(--hop-body-xl-line-height);
32
+ --hop-Label-2xl-font-size: var(--hop-body-2xl-font-size);
33
+ --hop-Label-2xl-font-family: var(--hop-body-2xl-font-family);
34
+ --hop-Label-2xl-font-weight: var(--hop-body-2xl-font-weight);
35
+ --hop-Label-2xl-line-height: var(--hop-body-2xl-line-height);
36
+ --hop-Label-inherit-size-font-size: inherit;
37
+ --hop-Label-inherit-size-font-family: inherit;
38
+ --hop-Label-inherit-size-font-weight: inherit;
39
+ --hop-Label-inherit-size-line-height: inherit;
40
+ }
41
+ :where(.Label-module__hop-Label___sZV4v) {
42
+ font-family: var(--font-family, --hop-Label-md-font-family);
43
+ font-size: var(--font-size, --hop-Label-md-font-size);
44
+ font-weight: var(--font-weight, --hop-Label-md-font-weight);
45
+ line-height: var(--line-height, --hop-Label-md-line-height);
46
+ }
47
+ :where(.Label-module__hop-Label--xs___7Flvr) {
48
+ --font-size: var(--hop-Label-xs-font-size);
49
+ --font-family: var(--hop-Label-xs-font-family);
50
+ --font-weight: var(--hop-Label-xs-font-weight);
51
+ --line-height: var(--hop-Label-xs-line-height);
52
+ }
53
+ :where(.Label-module__hop-Label--sm___q7-gY) {
54
+ --font-size: var(--hop-Label-sm-font-size);
55
+ --font-family: var(--hop-Label-sm-font-family);
56
+ --font-weight: var(--hop-Label-sm-font-weight);
57
+ --line-height: var(--hop-Label-sm-line-height);
58
+ }
59
+ :where(.Label-module__hop-Label--md___ZxMc1) {
60
+ --font-size: var(--hop-Label-md-font-size);
61
+ --font-family: var(--hop-Label-md-font-family);
62
+ --font-weight: var(--hop-Label-md-font-weight);
63
+ --line-height: var(--hop-Label-md-line-height);
64
+ }
65
+ :where(.Label-module__hop-Label--lg___qnzoz) {
66
+ --font-size: var(--hop-Label-lg-font-size);
67
+ --font-family: var(--hop-Label-lg-font-family);
68
+ --font-weight: var(--hop-Label-lg-font-weight);
69
+ --line-height: var(--hop-Label-lg-line-height);
70
+ }
71
+ :where(.Label-module__hop-Label--xl___3pCXT) {
72
+ --font-size: var(--hop-Label-xl-font-size);
73
+ --font-family: var(--hop-Label-xl-font-family);
74
+ --font-weight: var(--hop-Label-xl-font-weight);
75
+ --line-height: var(--hop-Label-xl-line-height);
76
+ }
77
+ :where(.Label-module__hop-Label--2xl___CuLU9) {
78
+ --font-size: var(--hop-Label-2xl-font-size);
79
+ --font-family: var(--hop-Label-2xl-font-family);
80
+ --font-weight: var(--hop-Label-2xl-font-weight);
81
+ --line-height: var(--hop-Label-2xl-line-height);
82
+ }
83
+ :where(.Label-module__hop-Label--inherit___pCJ8C) {
84
+ --font-size: var(--hop-Label-inherit-size-font-size);
85
+ --font-family: var(--hop-Label-inherit-size-font-family);
86
+ --font-weight: var(--hop-Label-inherit-size-font-weight);
87
+ --line-height: var(--hop-Label-inherit-size-line-height);
88
+ }
89
+
90
+ /* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/Spinner/src/Spinner.module.css/#css-module-data */
91
+ @keyframes Spinner-module__spin___JyBzF {
92
+ 0% {
93
+ transform: rotate(0deg);
94
+ }
95
+ 100% {
96
+ transform: rotate(360deg);
97
+ }
98
+ }
99
+ .Spinner-module__hop-Spinner___dv6Mx {
100
+ --hop-Spinner-border-radius: var(--hop-shape-circle);
101
+ --hop-Spinner-sm-wheel-size: 1rem;
102
+ --hop-Spinner-md-wheel-size: 1.25rem;
103
+ --hop-Spinner-lg-wheel-size: 1.5rem;
104
+ --hop-Spinner-track-width: 0.125rem;
105
+ --hop-Spinner-track-opacity: 0.2;
106
+ --hop-Spinner-track-border: var(--hop-Spinner-track-width) solid currentcolor;
107
+ --hop-Spinner-fill-animation: Spinner-module__spin___JyBzF .8s infinite linear;
108
+ --hop-Spinner-fill-animation-reduced-motion-duration: 2s;
109
+ --hop-Spinner-fill-border: var(--hop-Spinner-track-width) solid transparent;
110
+ --hop-Spinner-fill-border-inline-start: var(--hop-Spinner-track-width) solid currentcolor;
111
+ --hop-Spinner-label-margin-inline-start: var(--hop-space-inline-sm);
112
+ display: grid;
113
+ grid-template-areas: "spinner label";
114
+ grid-template-columns: min-content auto;
115
+ align-items: center;
116
+ box-sizing: border-box;
117
+ }
118
+ .Spinner-module__hop-Spinner--sm___UMVNX {
119
+ --width: var(--hop-Spinner-sm-wheel-size);
120
+ --height: var(--hop-Spinner-sm-wheel-size);
121
+ }
122
+ .Spinner-module__hop-Spinner--md___CkJxN {
123
+ --width: var(--hop-Spinner-md-wheel-size);
124
+ --height: var(--hop-Spinner-md-wheel-size);
125
+ }
126
+ .Spinner-module__hop-Spinner--lg___Evi6W {
127
+ --width: var(--hop-Spinner-lg-wheel-size);
128
+ --height: var(--hop-Spinner-lg-wheel-size);
129
+ }
130
+ .Spinner-module__hop-Spinner__track___GfTjA {
131
+ grid-area: spinner;
132
+ box-sizing: border-box;
133
+ inline-size: var(--width, --hop-Spinner-md-wheel-size);
134
+ block-size: var(--height, --hop-Spinner-md-wheel-size);
135
+ opacity: var(--hop-Spinner-track-opacity);
136
+ border: var(--hop-Spinner-track-border);
137
+ border-radius: var(--hop-Spinner-border-radius);
138
+ }
139
+ .Spinner-module__hop-Spinner__fill___v2YK9 {
140
+ grid-area: spinner;
141
+ box-sizing: border-box;
142
+ inline-size: var(--width, --hop-Spinner-md-wheel-size);
143
+ block-size: var(--height, --hop-Spinner-md-wheel-size);
144
+ border: var( --hop-Spinner-fill-border);
145
+ border-inline-start: var(--hop-Spinner-fill-border-inline-start);
146
+ border-radius: var(--hop-Spinner-border-radius);
147
+ animation: var(--hop-Spinner-fill-animation);
148
+ }
149
+ @media (prefers-reduced-motion: reduce) {
150
+ .Spinner-module__hop-Spinner__fill___v2YK9 {
151
+ animation-duration: var(--hop-Spinner-fill-animation-reduced-motion-duration);
152
+ }
153
+ }
154
+ .Spinner-module__hop-Spinner__label___pDhxi {
155
+ grid-area: label;
156
+ margin-inline-start: var(--hop-Spinner-label-margin-inline-start);
157
+ }
158
+
159
+ /* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/Text/src/Text.module.css/#css-module-data */
160
+ .Text-module__hop-Text___-u1e- {
161
+ --hop-Text-xs-font-size: var(--hop-body-xs-font-size);
162
+ --hop-Text-xs-font-family: var(--hop-body-xs-font-family);
163
+ --hop-Text-xs-font-weight: var(--hop-body-xs-font-weight);
164
+ --hop-Text-xs-line-height: var(--hop-body-xs-line-height);
165
+ --hop-Text-sm-font-size: var(--hop-body-sm-font-size);
166
+ --hop-Text-sm-font-family: var(--hop-body-sm-font-family);
167
+ --hop-Text-sm-font-weight: var(--hop-body-sm-font-weight);
168
+ --hop-Text-sm-line-height: var(--hop-body-sm-line-height);
169
+ --hop-Text-md-font-size: var(--hop-body-md-font-size);
170
+ --hop-Text-md-font-family: var(--hop-body-md-font-family);
171
+ --hop-Text-md-font-weight: var(--hop-body-md-font-weight);
172
+ --hop-Text-md-line-height: var(--hop-body-md-line-height);
173
+ --hop-Text-lg-font-size: var(--hop-body-lg-font-size);
174
+ --hop-Text-lg-font-family: var(--hop-body-lg-font-family);
175
+ --hop-Text-lg-font-weight: var(--hop-body-lg-font-weight);
176
+ --hop-Text-lg-line-height: var(--hop-body-lg-line-height);
177
+ --hop-Text-xl-font-size: var(--hop-body-xl-font-size);
178
+ --hop-Text-xl-font-family: var(--hop-body-xl-font-family);
179
+ --hop-Text-xl-font-weight: var(--hop-body-xl-font-weight);
180
+ --hop-Text-xl-line-height: var(--hop-body-xl-line-height);
181
+ --hop-Text-2xl-font-size: var(--hop-body-2xl-font-size);
182
+ --hop-Text-2xl-font-family: var(--hop-body-2xl-font-family);
183
+ --hop-Text-2xl-font-weight: var(--hop-body-2xl-font-weight);
184
+ --hop-Text-2xl-line-height: var(--hop-body-2xl-line-height);
185
+ --hop-Text-inherit-size-font-size: inherit;
186
+ --hop-Text-inherit-size-font-family: inherit;
187
+ --hop-Text-inherit-size-font-weight: inherit;
188
+ --hop-Text-inherit-size-line-height: inherit;
189
+ }
190
+ :where(.Text-module__hop-Text___-u1e-) {
191
+ font-family: var(--font-family);
192
+ font-size: var(--font-size);
193
+ font-weight: var(--font-weight);
194
+ line-height: var(--line-height);
195
+ }
196
+ :where(.Text-module__hop-Text--xs___P2Mlk) {
197
+ --font-size: var(--hop-Text-xs-font-size);
198
+ --font-family: var(--hop-Text-xs-font-family);
199
+ --font-weight: var(--hop-Text-xs-font-weight);
200
+ --line-height: var(--hop-Text-xs-line-height);
201
+ }
202
+ :where(.Text-module__hop-Text--sm___DIgJn) {
203
+ --font-size: var(--hop-Text-sm-font-size);
204
+ --font-family: var(--hop-Text-sm-font-family);
205
+ --font-weight: var(--hop-Text-sm-font-weight);
206
+ --line-height: var(--hop-Text-sm-line-height);
207
+ }
208
+ :where(.Text-module__hop-Text--md___EBUtj) {
209
+ --font-size: var(--hop-Text-md-font-size);
210
+ --font-family: var(--hop-Text-md-font-family);
211
+ --font-weight: var(--hop-Text-md-font-weight);
212
+ --line-height: var(--hop-Text-md-line-height);
213
+ }
214
+ :where(.Text-module__hop-Text--lg___Au1wj) {
215
+ --font-size: var(--hop-Text-lg-font-size);
216
+ --font-family: var(--hop-Text-lg-font-family);
217
+ --font-weight: var(--hop-Text-lg-font-weight);
218
+ --line-height: var(--hop-Text-lg-line-height);
219
+ }
220
+ :where(.Text-module__hop-Text--xl___UoQSa) {
221
+ --font-size: var(--hop-Text-xl-font-size);
222
+ --font-family: var(--hop-Text-xl-font-family);
223
+ --font-weight: var(--hop-Text-xl-font-weight);
224
+ --line-height: var(--hop-Text-xl-line-height);
225
+ }
226
+ :where(.Text-module__hop-Text--2xl___Nxjf-) {
227
+ --font-size: var(--hop-Text-2xl-font-size);
228
+ --font-family: var(--hop-Text-2xl-font-family);
229
+ --font-weight: var(--hop-Text-2xl-font-weight);
230
+ --line-height: var(--hop-Text-2xl-line-height);
231
+ }
232
+ :where(.Text-module__hop-Text--inherit___WPX1D) {
233
+ --font-size: var(--hop-Text-inherit-size-font-size);
234
+ --font-family: var(--hop-Text-inherit-size-font-family);
235
+ --font-weight: var(--hop-Text-inherit-size-font-weight);
236
+ --line-height: var(--hop-Text-inherit-size-line-height);
237
+ }
238
+
239
+ /* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/buttons/src/Button.module.css/#css-module-data */
240
+ .Button-module__hop-Button___cJ-uA {
241
+ --hop-Button-border-radius: var(--hop-shape-rounded-md);
242
+ --hop-Button-focus-ring-color: var(--hop-primary-border-focus);
243
+ --hop-Button-icon-only-padding: 0;
244
+ --hop-Button-sm-height: 2rem;
245
+ --hop-Button-md-height: 2.5rem;
246
+ --hop-Button-primary-color: var(--hop-primary-text-strong);
247
+ --hop-Button-primary-color-hover: var(--hop-primary-text-strong-hover);
248
+ --hop-Button-primary-color-pressed: var(--hop-primary-text-strong);
249
+ --hop-Button-primary-color-disabled: var(--hop-neutral-text-disabled);
250
+ --hop-Button-primary-background-color: var(--hop-primary-surface-strong);
251
+ --hop-Button-primary-background-color-hover: var(--hop-primary-surface-strong-hover);
252
+ --hop-Button-primary-background-color-pressed: var(--hop-primary-surface-strong-press);
253
+ --hop-Button-primary-background-color-disabled: var(--hop-neutral-surface-disabled);
254
+ --hop-Button-primary-border: 0.0625rem solid var(--hop-Button-primary-background-color);
255
+ --hop-Button-primary-border-hover: 0.0625rem solid var(--hop-Button-primary-background-color-hover);
256
+ --hop-Button-primary-border-pressed: 0.0625rem solid var(--hop-Button-primary-background-color-pressed);
257
+ --hop-Button-primary-border-disabled: 0.0625rem solid var(--hop-Button-primary-background-color-disabled);
258
+ --hop-Button-primary-spinner-color: var(--hop-primary-icon-strong);
259
+ --hop-Button-primary-sm-padding-x: var(--hop-space-inset-sm);
260
+ --hop-Button-primary-sm-padding-y: 0;
261
+ --hop-Button-primary-md-padding-x: var(--hop-space-inset-md);
262
+ --hop-Button-primary-md-padding-y: 0;
263
+ --hop-Button-secondary-color: var(--hop-neutral-text);
264
+ --hop-Button-secondary-color-hover: var(--hop-neutral-text-hover);
265
+ --hop-Button-secondary-color-pressed: var(--hop-neutral-text-press);
266
+ --hop-Button-secondary-color-disabled: var(--hop-neutral-text-disabled);
267
+ --hop-Button-secondary-background-color: var(--hop-neutral-surface);
268
+ --hop-Button-secondary-background-color-hover: var(--hop-neutral-surface-hover);
269
+ --hop-Button-secondary-background-color-pressed: var(--hop-neutral-surface-press);
270
+ --hop-Button-secondary-background-color-disabled: var(--hop-neutral-surface-disabled);
271
+ --hop-Button-secondary-border: 0.0625rem solid var(--hop-neutral-border-strong);
272
+ --hop-Button-secondary-border-hover: 0.0625rem solid var(--hop-neutral-border-strong-hover);
273
+ --hop-Button-secondary-border-pressed: 0.0625rem solid var(--hop-neutral-border-strong);
274
+ --hop-Button-secondary-border-disabled: 0.0625rem solid var(--hop-Button-secondary-background-color-disabled);
275
+ --hop-Button-secondary-spinner-color: var(--hop-neutral-icon);
276
+ --hop-Button-secondary-sm-padding-x: var(--hop-space-inset-sm);
277
+ --hop-Button-secondary-sm-padding-y: 0;
278
+ --hop-Button-secondary-md-padding-x: var(--hop-space-inset-md);
279
+ --hop-Button-secondary-md-padding-y: 0;
280
+ --hop-Button-upsell-color: var(--hop-upsell-text);
281
+ --hop-Button-upsell-color-hover: var(--hop-upsell-text-hover);
282
+ --hop-Button-upsell-color-pressed: var(--hop-upsell-text-press);
283
+ --hop-Button-upsell-color-disabled: var(--hop-neutral-text-disabled);
284
+ --hop-Button-upsell-background-color: var(--hop-upsell-surface);
285
+ --hop-Button-upsell-background-color-hover: var(--hop-upsell-surface-hover);
286
+ --hop-Button-upsell-background-color-pressed: var(--hop-upsell-surface-press);
287
+ --hop-Button-upsell-background-color-disabled: var(--hop-neutral-surface-disabled);
288
+ --hop-Button-upsell-border: 0.0625rem solid var(--hop-Button-upsell-background-color);
289
+ --hop-Button-upsell-border-hover: 0.0625rem solid var(--hop-Button-upsell-background-color-hover);
290
+ --hop-Button-upsell-border-pressed: 0.0625rem solid var(--hop-Button-upsell-background-color-pressed);
291
+ --hop-Button-upsell-border-disabled: 0.0625rem solid var(--hop-Button-upsell-background-color-disabled);
292
+ --hop-Button-upsell-spinner-color: var(--hop-upsell-icon);
293
+ --hop-Button-upsell-sm-padding-x: var(--hop-space-inset-sm);
294
+ --hop-Button-upsell-sm-padding-y: 0;
295
+ --hop-Button-upsell-md-padding-x: var(--hop-space-inset-md);
296
+ --hop-Button-upsell-md-padding-y: 0;
297
+ --hop-Button-danger-color: var(--hop-danger-text-strong);
298
+ --hop-Button-danger-color-hover: var(--hop-danger-text-strong-hover);
299
+ --hop-Button-danger-color-pressed: var(--hop-danger-text-strong-hover);
300
+ --hop-Button-danger-color-disabled: var(--hop-neutral-text-disabled);
301
+ --hop-Button-danger-background-color: var(--hop-danger-surface-strong);
302
+ --hop-Button-danger-background-color-hover: var(--hop-danger-surface-strong-hover);
303
+ --hop-Button-danger-background-color-pressed: var(--hop-danger-surface-press);
304
+ --hop-Button-danger-background-color-disabled: var(--hop-neutral-surface-disabled);
305
+ --hop-Button-danger-border: 0.0625rem solid var(--hop-Button-danger-background-color);
306
+ --hop-Button-danger-border-hover: 0.0625rem solid var(--hop-Button-danger-background-color-hover);
307
+ --hop-Button-danger-border-pressed: 0.0625rem solid var(--hop-Button-danger-background-color-pressed);
308
+ --hop-Button-danger-border-disabled: 0.0625rem solid var(--hop-Button-danger-background-color-disabled);
309
+ --hop-Button-danger-spinner-color: var(--hop-primary-icon-strong);
310
+ --hop-Button-danger-sm-padding-x: var(--hop-space-inset-sm);
311
+ --hop-Button-danger-sm-padding-y: 0;
312
+ --hop-Button-danger-md-padding-x: var(--hop-space-inset-md);
313
+ --hop-Button-danger-md-padding-y: 0;
314
+ --hop-Button-ghost-primary-color: var(--hop-primary-text);
315
+ --hop-Button-ghost-primary-color-hover: var(--hop-primary-text-hover);
316
+ --hop-Button-ghost-primary-color-pressed: var(--hop-primary-text-press);
317
+ --hop-Button-ghost-primary-color-disabled: var(--hop-neutral-text-disabled);
318
+ --hop-Button-ghost-primary-background-color: var(--hop-neutral-surface);
319
+ --hop-Button-ghost-primary-background-color-hover: var(--hop-neutral-surface-hover);
320
+ --hop-Button-ghost-primary-background-color-pressed: var(--hop-primary-surface-weak-press);
321
+ --hop-Button-ghost-primary-background-color-disabled: var(--hop-neutral-surface);
322
+ --hop-Button-ghost-primary-border: 0.0625rem solid var(--hop-Button-ghost-primary-background-color);
323
+ --hop-Button-ghost-primary-border-hover: 0.0625rem solid var(--hop-Button-ghost-primary-background-color-hover);
324
+ --hop-Button-ghost-primary-border-pressed: 0.0625rem solid var(--hop-Button-ghost-primary-background-color-pressed);
325
+ --hop-Button-ghost-primary-border-disabled: 0.0625rem solid var(--hop-Button-ghost-primary-background-color-disabled);
326
+ --hop-Button-ghost-primary-spinner-color: var(--hop-neutral-icon);
327
+ --hop-Button-ghost-primary-sm-padding-x: var(--hop-space-inset-xs);
328
+ --hop-Button-ghost-primary-sm-padding-y: 0;
329
+ --hop-Button-ghost-primary-md-padding-x: var(--hop-space-inset-sm);
330
+ --hop-Button-ghost-primary-md-padding-y: 0;
331
+ --hop-Button-ghost-secondary-color: var(--hop-neutral-text);
332
+ --hop-Button-ghost-secondary-color-hover: var(--hop-neutral-text-hover);
333
+ --hop-Button-ghost-secondary-color-pressed: var(--hop-neutral-text-press);
334
+ --hop-Button-ghost-secondary-color-disabled: var(--hop-neutral-text-disabled);
335
+ --hop-Button-ghost-secondary-background-color: var(--hop-neutral-surface);
336
+ --hop-Button-ghost-secondary-background-color-hover: var(--hop-neutral-surface-hover);
337
+ --hop-Button-ghost-secondary-background-color-pressed: var(--hop-neutral-surface-press);
338
+ --hop-Button-ghost-secondary-background-color-disabled: var(--hop-neutral-surface);
339
+ --hop-Button-ghost-secondary-border: 0.0625rem solid var(--hop-Button-ghost-secondary-background-color);
340
+ --hop-Button-ghost-secondary-border-hover: 0.0625rem solid var(--hop-Button-ghost-secondary-background-color-hover);
341
+ --hop-Button-ghost-secondary-border-pressed: 0.0625rem solid var(--hop-Button-ghost-secondary-background-color-pressed);
342
+ --hop-Button-ghost-secondary-border-disabled: 0.0625rem solid var(--hop-Button-ghost-secondary-background-color-disabled);
343
+ --hop-Button-ghost-secondary-spinner-color: var(--hop-neutral-icon);
344
+ --hop-Button-ghost-secondary-sm-padding-x: var(--hop-space-inset-xs);
345
+ --hop-Button-ghost-secondary-sm-padding-y: 0;
346
+ --hop-Button-ghost-secondary-md-padding-x: var(--hop-space-inset-sm);
347
+ --hop-Button-ghost-secondary-md-padding-y: 0;
348
+ --hop-Button-ghost-danger-color: var(--hop-danger-text-weak);
349
+ --hop-Button-ghost-danger-color-hover: var(--hop-danger-text-hover);
350
+ --hop-Button-ghost-danger-color-pressed: var(--hop-danger-text-press);
351
+ --hop-Button-ghost-danger-color-disabled: var(--hop-neutral-text-disabled);
352
+ --hop-Button-ghost-danger-background-color: var(--hop-neutral-surface);
353
+ --hop-Button-ghost-danger-background-color-hover: var(--hop-neutral-surface-hover);
354
+ --hop-Button-ghost-danger-background-color-pressed: var(--hop-danger-surface-weak-press);
355
+ --hop-Button-ghost-danger-background-color-disabled: var(--hop-neutral-surface);
356
+ --hop-Button-ghost-danger-border: 0.0625rem solid var(--hop-Button-ghost-danger-background-color);
357
+ --hop-Button-ghost-danger-border-hover: 0.0625rem solid var(--hop-Button-ghost-danger-background-color-hover);
358
+ --hop-Button-ghost-danger-border-pressed: 0.0625rem solid var(--hop-Button-ghost-danger-background-color-pressed);
359
+ --hop-Button-ghost-danger-border-disabled: 0.0625rem solid var(--hop-Button-ghost-danger-background-color-disabled);
360
+ --hop-Button-ghost-danger-spinner-color: var(--hop-neutral-icon);
361
+ --hop-Button-ghost-danger-sm-padding-x: var(--hop-space-inset-xs);
362
+ --hop-Button-ghost-danger-sm-padding-y: 0;
363
+ --hop-Button-ghost-danger-md-padding-x: var(--hop-space-inset-sm);
364
+ --hop-Button-ghost-danger-md-padding-y: 0;
68
365
  --inline-size: max-content;
69
- --block-size: var(--hop-button-component-md-height);
366
+ --block-size: var(--hop-Button-md-height);
70
367
  --background-color: var(--hop-primary-surface-strong);
71
368
  --color: var(--hop-primary-text-strong);
369
+ --spinner: var(--hop-primary-icon-strong);
72
370
  --border: 0;
371
+ --padding-inline: 0;
372
+ --padding-block: 0;
73
373
  cursor: pointer;
374
+ position: relative;
375
+ overflow: hidden;
74
376
  display: grid;
75
377
  grid-template-areas: "start-icon content end-icon";
76
378
  grid-template-columns: auto min-content auto;
77
379
  column-gap: var(--hop-space-inline-xs);
380
+ align-items: center;
78
381
  box-sizing: border-box;
79
- position: relative;
80
- padding: var(--hop-button-component-padding);
81
- border-radius: var(--hop-button-component-border-radius);
82
- outline: none;
83
- outline-offset: 0.125rem;
84
- transition:
85
- color 0.2s cubic-bezier(0.22, 0.61, 0.36, 1),
86
- background-color 0.2s cubic-bezier(0.22, 0.61, 0.36, 1),
87
- border 0.2s cubic-bezier(0.22, 0.61, 0.36, 1);
88
382
  inline-size: var(--inline-size);
89
383
  block-size: var(--block-size);
90
- background-color: var(--background-color);
384
+ padding-block: var(--padding-block);
385
+ padding-inline: var(--padding-inline);
91
386
  color: var(--color);
387
+ text-decoration: none;
388
+ white-space: nowrap;
389
+ background-color: var(--background-color);
92
390
  border: var(--border);
93
- align-items: center;
391
+ border-radius: var(--hop-Button-border-radius);
392
+ outline: none;
393
+ outline-offset: 0.125rem;
394
+ transition:
395
+ color var(--hop-easing-duration-2) var(--hop-easing-productive),
396
+ background-color var(--hop-easing-duration-2) var(--hop-easing-productive),
397
+ border var(--hop-easing-duration-2) var(--hop-easing-productive);
94
398
  }
95
- .hop-button[data-disabled] {
96
- cursor: not-allowed;
399
+ .Button-module__hop-Button___cJ-uA[data-focus-visible] {
400
+ outline: 0.125rem solid var(--hop-Button-focus-ring-color);
97
401
  }
98
- .hop-button[data-focus-visible] {
99
- outline: 0.125rem solid var(--hop-button-component-focus-ring-color);
402
+ .Button-module__hop-Button--icon-only___ZlRhs {
403
+ --padding-block: var(--hop-Button-icon-only-padding);
404
+ --padding-inline: var(--hop-Button-icon-only-padding);
405
+ column-gap: 0;
406
+ aspect-ratio: 1;
407
+ }
408
+ .Button-module__hop-Button___cJ-uA[data-disabled],
409
+ .Button-module__hop-Button___cJ-uA[data-loading] {
410
+ cursor: not-allowed;
100
411
  }
101
- .hop-button--fluid {
412
+ .Button-module__hop-Button--fluid___8QjEJ {
102
413
  --inline-size: 100%;
103
414
  }
104
- .hop-button--sm {
105
- --block-size: var(--hop-button-component-sm-height);
106
- }
107
- .hop-button--primary {
108
- --background-color: var(--hop-button-component-primary-background-color);
109
- --color: var(--hop-button-component-primary-color);
110
- --border: var(--hop-button-component-primary-border);
111
- }
112
- .hop-button--primary[data-disabled]:not([data-loading]) {
113
- --background-color: var(--hop-button-component-primary-background-color-disabled);
114
- --color: var(--hop-button-component-primary-color-disabled);
115
- --border: var(--hop-button-component-primary-border-disabled);
116
- }
117
- .hop-button--primary[data-hovered] {
118
- --background-color: var(--hop-button-component-primary-background-color-hover);
119
- --color: var(--hop-button-component-primary-color-hover);
120
- --border: var(--hop-button-component-primary-border-hover);
121
- }
122
- .hop-button--primary[data-pressed] {
123
- --background-color: var(--hop-button-component-primary-background-color-pressed);
124
- --color: var(--hop-button-component-primary-color-pressed);
125
- --border: var(--hop-button-component-primary-border-pressed);
126
- }
127
- .hop-button--secondary {
128
- --background-color: var(--hop-button-component-secondary-background-color);
129
- --color: var(--hop-button-component-secondary-color);
130
- --border: var(--hop-button-component-secondary-border);
131
- }
132
- .hop-button--secondary[data-disabled]:not([data-loading]) {
133
- --background-color: var(--hop-button-component-secondary-background-color-disabled);
134
- --color: var(--hop-button-component-secondary-color-disabled);
135
- --border: var(--hop-button-component-secondary-border-disabled);
136
- }
137
- .hop-button--secondary[data-hovered] {
138
- --background-color: var(--hop-button-component-secondary-background-color-hover);
139
- --color: var(--hop-button-component-secondary-color-hover);
140
- --border: var(--hop-button-component-secondary-border-hover);
141
- }
142
- .hop-button--secondary[data-pressed] {
143
- --background-color: var(--hop-button-component-secondary-background-color-pressed);
144
- --color: var(--hop-button-component-secondary-color-pressed);
145
- --border: var(--hop-button-component-secondary-border-pressed);
146
- }
147
- .hop-button--tertiary {
148
- --background-color: var(--hop-button-component-tertiary-background-color);
149
- --color: var(--hop-button-component-tertiary-color);
150
- --border: var(--hop-button-component-tertiary-border);
151
- }
152
- .hop-button--tertiary[data-disabled]:not([data-loading]) {
153
- --background-color: var(--hop-button-component-tertiary-background-color-disabled);
154
- --color: var(--hop-button-component-tertiary-color-disabled);
155
- --border: var(--hop-button-component-tertiary-border-disabled);
156
- }
157
- .hop-button--tertiary[data-hovered] {
158
- --background-color: var(--hop-button-component-tertiary-background-color-hover);
159
- --color: var(--hop-button-component-tertiary-color-hover);
160
- --border: var(--hop-button-component-tertiary-border-hover);
161
- }
162
- .hop-button--tertiary[data-pressed] {
163
- --background-color: var(--hop-button-component-tertiary-background-color-pressed);
164
- --color: var(--hop-button-component-tertiary-color-pressed);
165
- --border: var(--hop-button-component-tertiary-border-pressed);
166
- }
167
- .hop-button--upsell {
168
- --background-color: var(--hop-button-component-upsell-background-color);
169
- --color: var(--hop-button-component-upsell-color);
170
- --border: var(--hop-button-component-upsell-border);
171
- }
172
- .hop-button--upsell[data-disabled]:not([data-loading]) {
173
- --background-color: var(--hop-button-component-upsell-background-color-disabled);
174
- --color: var(--hop-button-component-upsell-color-disabled);
175
- --border: var(--hop-button-component-upsell-border-disabled);
176
- }
177
- .hop-button--upsell[data-hovered] {
178
- --background-color: var(--hop-button-component-upsell-background-color-hover);
179
- --color: var(--hop-button-component-upsell-color-hover);
180
- --border: var(--hop-button-component-upsell-border-hover);
181
- }
182
- .hop-button--upsell[data-pressed] {
183
- --background-color: var(--hop-button-component-upsell-background-color-pressed);
184
- --color: var(--hop-button-component-upsell-color-pressed);
185
- --border: var(--hop-button-component-upsell-border-pressed);
186
- }
187
- .hop-button--negative {
188
- --background-color: var(--hop-button-component-negative-background-color);
189
- --color: var(--hop-button-component-negative-color);
190
- --border: var(--hop-button-component-negative-border);
191
- }
192
- .hop-button--negative[data-disabled]:not([data-loading]) {
193
- --background-color: var(--hop-button-component-negative-background-color-disabled);
194
- --color: var(--hop-button-component-negative-color-disabled);
195
- --border: var(--hop-button-component-negative-border-disabled);
196
- }
197
- .hop-button--negative[data-hovered] {
198
- --background-color: var(--hop-button-component-negative-background-color-hover);
199
- --color: var(--hop-button-component-negative-color-hover);
200
- --border: var(--hop-button-component-negative-border-hover);
201
- }
202
- .hop-button--negative[data-pressed] {
203
- --background-color: var(--hop-button-component-negative-background-color-pressed);
204
- --color: var(--hop-button-component-negative-color-pressed);
205
- --border: var(--hop-button-component-negative-border-pressed);
206
- }
207
- .hop-button__Spinner {
415
+ .Button-module__hop-Button--sm___bUHes {
416
+ --block-size: var(--hop-Button-sm-height);
417
+ }
418
+ .Button-module__hop-Button--primary___2PGPX.Button-module__hop-Button--sm___bUHes:not(.Button-module__hop-Button--icon-only___ZlRhs) {
419
+ --padding-inline: var(--hop-Button-primary-sm-padding-x);
420
+ --padding-block: var(--hop-Button-primary-sm-padding-y);
421
+ }
422
+ .Button-module__hop-Button--primary___2PGPX.Button-module__hop-Button--md___-ftkr:not(.Button-module__hop-Button--icon-only___ZlRhs) {
423
+ --padding-inline: var(--hop-Button-primary-md-padding-x);
424
+ --padding-block: var(--hop-Button-primary-md-padding-y);
425
+ }
426
+ .Button-module__hop-Button--secondary___eHbc0.Button-module__hop-Button--md___-ftkr:not(.Button-module__hop-Button--icon-only___ZlRhs) {
427
+ --padding-inline: var(--hop-Button-secondary-md-padding-x);
428
+ --padding-block: var(--hop-Button-secondary-md-padding-y);
429
+ }
430
+ .Button-module__hop-Button--secondary___eHbc0.Button-module__hop-Button--sm___bUHes:not(.Button-module__hop-Button--icon-only___ZlRhs) {
431
+ --padding-inline: var(--hop-Button-secondary-sm-padding-x);
432
+ --padding-block: var(--hop-Button-secondary-sm-padding-y);
433
+ }
434
+ .Button-module__hop-Button--upsell___P5EbP.Button-module__hop-Button--md___-ftkr:not(.Button-module__hop-Button--icon-only___ZlRhs) {
435
+ --padding-inline: var(--hop-Button-upsell-md-padding-x);
436
+ --padding-block: var(--hop-Button-upsell-md-padding-y);
437
+ }
438
+ .Button-module__hop-Button--upsell___P5EbP.Button-module__hop-Button--sm___bUHes:not(.Button-module__hop-Button--icon-only___ZlRhs) {
439
+ --padding-inline: var(--hop-Button-upsell-sm-padding-x);
440
+ --padding-block: var(--hop-Button-upsell-sm-padding-y);
441
+ }
442
+ .Button-module__hop-Button--danger___-gnFY.Button-module__hop-Button--md___-ftkr:not(.Button-module__hop-Button--icon-only___ZlRhs) {
443
+ --padding-inline: var(--hop-Button-danger-md-padding-x);
444
+ --padding-block: var(--hop-Button-danger-md-padding-y);
445
+ }
446
+ .Button-module__hop-Button--danger___-gnFY.Button-module__hop-Button--sm___bUHes:not(.Button-module__hop-Button--icon-only___ZlRhs) {
447
+ --padding-inline: var(--hop-Button-danger-sm-padding-x);
448
+ --padding-block: var(--hop-Button-danger-sm-padding-y);
449
+ }
450
+ .Button-module__hop-Button--ghost-danger___aL9kX.Button-module__hop-Button--md___-ftkr:not(.Button-module__hop-Button--icon-only___ZlRhs) {
451
+ --padding-inline: var(--hop-Button-ghost-danger-md-padding-x);
452
+ --padding-block: var(--hop-Button-ghost-danger-md-padding-y);
453
+ }
454
+ .Button-module__hop-Button--ghost-danger___aL9kX.Button-module__hop-Button--sm___bUHes:not(.Button-module__hop-Button--icon-only___ZlRhs) {
455
+ --padding-inline: var(--hop-Button-ghost-danger-sm-padding-x);
456
+ --padding-block: var(--hop-Button-ghost-danger-sm-padding-y);
457
+ }
458
+ .Button-module__hop-Button--ghost-secondary___zpfVo.Button-module__hop-Button--md___-ftkr:not(.Button-module__hop-Button--icon-only___ZlRhs) {
459
+ --padding-inline: var(--hop-Button-ghost-secondary-md-padding-x);
460
+ --padding-block: var(--hop-Button-ghost-secondary-md-padding-y);
461
+ }
462
+ .Button-module__hop-Button--ghost-secondary___zpfVo.Button-module__hop-Button--sm___bUHes:not(.Button-module__hop-Button--icon-only___ZlRhs) {
463
+ --padding-inline: var(--hop-Button-ghost-secondary-sm-padding-x);
464
+ --padding-block: var(--hop-Button-ghost-secondary-sm-padding-y);
465
+ }
466
+ .Button-module__hop-Button--ghost-primary___fFsQn.Button-module__hop-Button--md___-ftkr:not(.Button-module__hop-Button--icon-only___ZlRhs) {
467
+ --padding-inline: var(--hop-Button-ghost-primary-md-padding-x);
468
+ --padding-block: var(--hop-Button-ghost-primary-md-padding-y);
469
+ }
470
+ .Button-module__hop-Button--ghost-primary___fFsQn.Button-module__hop-Button--sm___bUHes:not(.Button-module__hop-Button--icon-only___ZlRhs) {
471
+ --padding-inline: var(--hop-Button-ghost-primary-sm-padding-x);
472
+ --padding-block: var(--hop-Button-ghost-primary-sm-padding-y);
473
+ }
474
+ .Button-module__hop-Button--primary___2PGPX {
475
+ --background-color: var(--hop-Button-primary-background-color);
476
+ --color: var(--hop-Button-primary-color);
477
+ --border: var(--hop-Button-primary-border);
478
+ --spinner-color: var(--hop-Button-primary-spinner-color);
479
+ }
480
+ .Button-module__hop-Button--primary___2PGPX[data-disabled]:not([data-loading]) {
481
+ --background-color: var(--hop-Button-primary-background-color-disabled);
482
+ --color: var(--hop-Button-primary-color-disabled);
483
+ --border: var(--hop-Button-primary-border-disabled);
484
+ }
485
+ .Button-module__hop-Button--primary___2PGPX[data-hovered]:not([data-disabled], [data-loading]),
486
+ .Button-module__hop-Button--primary___2PGPX[data-focus-visible]:not([data-disabled], [data-loading]) {
487
+ --background-color: var(--hop-Button-primary-background-color-hover);
488
+ --color: var(--hop-Button-primary-color-hover);
489
+ --border: var(--hop-Button-primary-border-hover);
490
+ }
491
+ .Button-module__hop-Button--primary___2PGPX[data-pressed]:not([data-loading]) {
492
+ --background-color: var(--hop-Button-primary-background-color-pressed);
493
+ --color: var(--hop-Button-primary-color-pressed);
494
+ --border: var(--hop-Button-primary-border-pressed);
495
+ }
496
+ .Button-module__hop-Button--secondary___eHbc0 {
497
+ --background-color: var(--hop-Button-secondary-background-color);
498
+ --color: var(--hop-Button-secondary-color);
499
+ --border: var(--hop-Button-secondary-border);
500
+ --spinner-color: var(--hop-Button-secondary-spinner-color);
501
+ }
502
+ .Button-module__hop-Button--secondary___eHbc0[data-disabled]:not([data-loading]) {
503
+ --background-color: var(--hop-Button-secondary-background-color-disabled);
504
+ --color: var(--hop-Button-secondary-color-disabled);
505
+ --border: var(--hop-Button-secondary-border-disabled);
506
+ }
507
+ .Button-module__hop-Button--secondary___eHbc0[data-hovered]:not([data-disabled], [data-loading]),
508
+ .Button-module__hop-Button--secondary___eHbc0[data-focus-visible]:not([data-disabled], [data-loading]) {
509
+ --background-color: var(--hop-Button-secondary-background-color-hover);
510
+ --color: var(--hop-Button-secondary-color-hover);
511
+ --border: var(--hop-Button-secondary-border-hover);
512
+ }
513
+ .Button-module__hop-Button--secondary___eHbc0[data-pressed]:not([data-loading]) {
514
+ --background-color: var(--hop-Button-secondary-background-color-pressed);
515
+ --color: var(--hop-Button-secondary-color-pressed);
516
+ --border: var(--hop-Button-secondary-border-pressed);
517
+ }
518
+ .Button-module__hop-Button--upsell___P5EbP {
519
+ --background-color: var(--hop-Button-upsell-background-color);
520
+ --color: var(--hop-Button-upsell-color);
521
+ --border: var(--hop-Button-upsell-border);
522
+ --spinner-color: var(--hop-Button-upsell-spinner-color);
523
+ }
524
+ .Button-module__hop-Button--upsell___P5EbP[data-disabled]:not([data-loading]) {
525
+ --background-color: var(--hop-Button-upsell-background-color-disabled);
526
+ --color: var(--hop-Button-upsell-color-disabled);
527
+ --border: var(--hop-Button-upsell-border-disabled);
528
+ }
529
+ .Button-module__hop-Button--upsell___P5EbP[data-hovered]:not([data-disabled], [data-loading]),
530
+ .Button-module__hop-Button--upsell___P5EbP[data-focus-visible]:not([data-disabled], [data-loading]) {
531
+ --background-color: var(--hop-Button-upsell-background-color-hover);
532
+ --color: var(--hop-Button-upsell-color-hover);
533
+ --border: var(--hop-Button-upsell-border-hover);
534
+ }
535
+ .Button-module__hop-Button--upsell___P5EbP[data-pressed]:not([data-loading]) {
536
+ --background-color: var(--hop-Button-upsell-background-color-pressed);
537
+ --color: var(--hop-Button-upsell-color-pressed);
538
+ --border: var(--hop-Button-upsell-border-pressed);
539
+ }
540
+ .Button-module__hop-Button--danger___-gnFY {
541
+ --background-color: var(--hop-Button-danger-background-color);
542
+ --color: var(--hop-Button-danger-color);
543
+ --border: var(--hop-Button-danger-border);
544
+ --spinner-color: var(--hop-Button-danger-spinner-color);
545
+ }
546
+ .Button-module__hop-Button--danger___-gnFY[data-disabled]:not([data-loading]) {
547
+ --background-color: var(--hop-Button-danger-background-color-disabled);
548
+ --color: var(--hop-Button-danger-color-disabled);
549
+ --border: var(--hop-Button-danger-border-disabled);
550
+ }
551
+ .Button-module__hop-Button--danger___-gnFY[data-hovered]:not([data-disabled], [data-loading]),
552
+ .Button-module__hop-Button--danger___-gnFY[data-focus-visible]:not([data-disabled], [data-loading]) {
553
+ --background-color: var(--hop-Button-danger-background-color-hover);
554
+ --color: var(--hop-Button-danger-color-hover);
555
+ --border: var(--hop-Button-danger-border-hover);
556
+ }
557
+ .Button-module__hop-Button--danger___-gnFY[data-pressed]:not([data-loading]) {
558
+ --background-color: var(--hop-Button-danger-background-color-pressed);
559
+ --color: var(--hop-Button-danger-color-pressed);
560
+ --border: var(--hop-Button-danger-border-pressed);
561
+ }
562
+ .Button-module__hop-Button--ghost-primary___fFsQn {
563
+ --background-color: var(--hop-Button-ghost-primary-background-color);
564
+ --color: var(--hop-Button-ghost-primary-color);
565
+ --border: var(--hop-Button-ghost-primary-border);
566
+ --spinner-color: var(--hop-Button-ghost-primary-spinner-color);
567
+ }
568
+ .Button-module__hop-Button--ghost-primary___fFsQn[data-disabled]:not([data-loading]) {
569
+ --background-color: var(--hop-Button-ghost-primary-background-color-disabled);
570
+ --color: var(--hop-Button-ghost-primary-color-disabled);
571
+ --border: var(--hop-Button-ghost-primary-border-disabled);
572
+ }
573
+ .Button-module__hop-Button--ghost-primary___fFsQn[data-hovered]:not([data-disabled], [data-loading]),
574
+ .Button-module__hop-Button--ghost-primary___fFsQn[data-focus-visible]:not([data-disabled], [data-loading]) {
575
+ --background-color: var(--hop-Button-ghost-primary-background-color-hover);
576
+ --color: var(--hop-Button-ghost-primary-color-hover);
577
+ --border: var(--hop-Button-ghost-primary-border-hover);
578
+ }
579
+ .Button-module__hop-Button--ghost-primary___fFsQn[data-pressed]:not([data-loading]) {
580
+ --background-color: var(--hop-Button-ghost-primary-background-color-pressed);
581
+ --color: var(--hop-Button-ghost-primary-color-pressed);
582
+ --border: var(--hop-Button-ghost-primary-border-pressed);
583
+ }
584
+ .Button-module__hop-Button--ghost-secondary___zpfVo {
585
+ --background-color: var(--hop-Button-ghost-secondary-background-color);
586
+ --color: var(--hop-Button-ghost-secondary-color);
587
+ --border: var(--hop-Button-ghost-secondary-border);
588
+ --spinner-color: var(--hop-Button-ghost-secondary-spinner-color);
589
+ }
590
+ .Button-module__hop-Button--ghost-secondary___zpfVo[data-disabled]:not([data-loading]) {
591
+ --background-color: var(--hop-Button-ghost-secondary-background-color-disabled);
592
+ --color: var(--hop-Button-ghost-secondary-color-disabled);
593
+ --border: var(--hop-Button-ghost-secondary-border-disabled);
594
+ }
595
+ .Button-module__hop-Button--ghost-secondary___zpfVo[data-hovered]:not([data-disabled], [data-loading]),
596
+ .Button-module__hop-Button--ghost-secondary___zpfVo[data-focus-visible]:not([data-disabled], [data-loading]) {
597
+ --background-color: var(--hop-Button-ghost-secondary-background-color-hover);
598
+ --color: var(--hop-Button-ghost-secondary-color-hover);
599
+ --border: var(--hop-Button-ghost-secondary-border-hover);
600
+ }
601
+ .Button-module__hop-Button--ghost-secondary___zpfVo[data-pressed]:not([data-loading]) {
602
+ --background-color: var(--hop-Button-ghost-secondary-background-color-pressed);
603
+ --color: var(--hop-Button-ghost-secondary-color-pressed);
604
+ --border: var(--hop-Button-ghost-secondary-border-pressed);
605
+ }
606
+ .Button-module__hop-Button--ghost-danger___aL9kX {
607
+ --background-color: var(--hop-Button-ghost-danger-background-color);
608
+ --color: var(--hop-Button-ghost-danger-color);
609
+ --border: var(--hop-Button-ghost-danger-border);
610
+ --spinner-color: var(--hop-Button-ghost-danger-spinner-color);
611
+ }
612
+ .Button-module__hop-Button--ghost-danger___aL9kX[data-disabled]:not([data-loading]) {
613
+ --background-color: var(--hop-Button-ghost-danger-background-color-disabled);
614
+ --color: var(--hop-Button-ghost-danger-color-disabled);
615
+ --border: var(--hop-Button-ghost-danger-border-disabled);
616
+ }
617
+ .Button-module__hop-Button--ghost-danger___aL9kX[data-hovered]:not([data-disabled], [data-loading]),
618
+ .Button-module__hop-Button--ghost-danger___aL9kX[data-focus-visible]:not([data-disabled], [data-loading]) {
619
+ --background-color: var(--hop-Button-ghost-danger-background-color-hover);
620
+ --color: var(--hop-Button-ghost-danger-color-hover);
621
+ --border: var(--hop-Button-ghost-danger-border-hover);
622
+ }
623
+ .Button-module__hop-Button--ghost-danger___aL9kX[data-pressed]:not([data-loading]) {
624
+ --background-color: var(--hop-Button-ghost-danger-background-color-pressed);
625
+ --color: var(--hop-Button-ghost-danger-color-pressed);
626
+ --border: var(--hop-Button-ghost-danger-border-pressed);
627
+ }
628
+ .Button-module__hop-Button__Spinner___oFd2F {
208
629
  position: absolute;
209
630
  justify-self: center;
210
- color: var(--color);
631
+ color: var(--spinner-color);
211
632
  }
212
- .hop-button__icon,
213
- .hop-button__icon-list {
633
+ .Button-module__hop-Button__icon___V-Xu7,
634
+ .Button-module__hop-Button__icon-list___QbCfg {
214
635
  grid-area: start-icon;
215
636
  justify-self: end;
216
637
  }
217
- .hop-button__text {
638
+ .Button-module__hop-Button__text___d4ZlX {
639
+ user-select: none;
640
+ overflow: visible;
218
641
  grid-area: content;
219
642
  font-weight: var(--hop-font-weight-505);
220
- overflow: visible;
221
643
  text-wrap: nowrap;
222
- user-select: none;
223
644
  }
224
- .hop-button__end-icon,
225
- .hop-button__end-icon-list {
645
+ .Button-module__hop-Button--ghost-primary___fFsQn[data-hovered]:not([data-loading]) .Button-module__hop-Button__text___d4ZlX,
646
+ .Button-module__hop-Button--ghost-secondary___zpfVo[data-hovered]:not([data-loading]) .Button-module__hop-Button__text___d4ZlX,
647
+ .Button-module__hop-Button--ghost-danger___aL9kX[data-hovered]:not([data-loading]) .Button-module__hop-Button__text___d4ZlX,
648
+ .Button-module__hop-Button--ghost-primary___fFsQn[data-pressed]:not([data-loading]) .Button-module__hop-Button__text___d4ZlX,
649
+ .Button-module__hop-Button--ghost-secondary___zpfVo[data-pressed]:not([data-loading]) .Button-module__hop-Button__text___d4ZlX,
650
+ .Button-module__hop-Button--ghost-danger___aL9kX[data-pressed]:not([data-loading]) .Button-module__hop-Button__text___d4ZlX,
651
+ .Button-module__hop-Button--ghost-primary___fFsQn[data-focus-visible]:not([data-loading]) .Button-module__hop-Button__text___d4ZlX,
652
+ .Button-module__hop-Button--ghost-secondary___zpfVo[data-focus-visible]:not([data-loading]) .Button-module__hop-Button__text___d4ZlX,
653
+ .Button-module__hop-Button--ghost-danger___aL9kX[data-focus-visible]:not([data-loading]) .Button-module__hop-Button__text___d4ZlX {
654
+ text-decoration: underline;
655
+ text-underline-offset: 0.125rem;
656
+ }
657
+ .Button-module__hop-Button__end-icon___bIHjn,
658
+ .Button-module__hop-Button__end-icon-list___hpAvJ {
226
659
  grid-area: end-icon;
227
660
  }
228
- .hop-button[data-loading] > *:not(.hop-button__Spinner) {
229
- opacity: 0;
230
- }
231
-
232
- /* src/Text/src/Text.module.css */
233
- .hop-text {
234
- --hop-text-component-xs-font-size: var(--hop-body-xs-font-size);
235
- --hop-text-component-xs-font-family: var(--hop-body-xs-font-family);
236
- --hop-text-component-xs-font-weight: var(--hop-body-xs-font-weight);
237
- --hop-text-component-xs-line-height: var(--hop-body-xs-line-height);
238
- --hop-text-component-sm-font-size: var(--hop-body-sm-font-size);
239
- --hop-text-component-sm-font-family: var(--hop-body-sm-font-family);
240
- --hop-text-component-sm-font-weight: var(--hop-body-sm-font-weight);
241
- --hop-text-component-sm-line-height: var(--hop-body-sm-line-height);
242
- --hop-text-component-md-font-size: var(--hop-body-md-font-size);
243
- --hop-text-component-md-font-family: var(--hop-body-md-font-family);
244
- --hop-text-component-md-font-weight: var(--hop-body-md-font-weight);
245
- --hop-text-component-md-line-height: var(--hop-body-md-line-height);
246
- --hop-text-component-lg-font-size: var(--hop-body-lg-font-size);
247
- --hop-text-component-lg-font-family: var(--hop-body-lg-font-family);
248
- --hop-text-component-lg-font-weight: var(--hop-body-lg-font-weight);
249
- --hop-text-component-lg-line-height: var(--hop-body-lg-line-height);
250
- --hop-text-component-xl-font-size: var(--hop-body-xl-font-size);
251
- --hop-text-component-xl-font-family: var(--hop-body-xl-font-family);
252
- --hop-text-component-xl-font-weight: var(--hop-body-xl-font-weight);
253
- --hop-text-component-xl-line-height: var(--hop-body-xl-line-height);
254
- --hop-text-component-2xl-font-size: var(--hop-body-2xl-font-size);
255
- --hop-text-component-2xl-font-family: var(--hop-body-2xl-font-family);
256
- --hop-text-component-2xl-font-weight: var(--hop-body-2xl-font-weight);
257
- --hop-text-component-2xl-line-height: var(--hop-body-2xl-line-height);
258
- --hop-text-component-inherit-size-font-size: inherit;
259
- --hop-text-component-inherit-size-font-family: inherit;
260
- --hop-text-component-inherit-size-font-weight: inherit;
261
- --hop-text-component-inherit-size-line-height: inherit;
262
- }
263
- :where(.hop-text) {
264
- font-size: var(--font-size);
265
- font-family: var(--font-family);
266
- font-weight: var(--font-weight);
267
- line-height: var(--line-height);
268
- }
269
- :where(.hop-text--xs) {
270
- --font-size: var(--hop-text-component-xs-font-size);
271
- --font-family: var(--hop-text-component-xs-font-family);
272
- --font-weight: var(--hop-text-component-xs-font-weight);
273
- --line-height: var(--hop-text-component-xs-line-height);
274
- }
275
- :where(.hop-text--sm) {
276
- --font-size: var(--hop-text-component-sm-font-size);
277
- --font-family: var(--hop-text-component-sm-font-family);
278
- --font-weight: var(--hop-text-component-sm-font-weight);
279
- --line-height: var(--hop-text-component-sm-line-height);
280
- }
281
- :where(.hop-text--md) {
282
- --font-size: var(--hop-text-component-md-font-size);
283
- --font-family: var(--hop-text-component-md-font-family);
284
- --font-weight: var(--hop-text-component-md-font-weight);
285
- --line-height: var(--hop-text-component-md-line-height);
286
- }
287
- :where(.hop-text--lg) {
288
- --font-size: var(--hop-text-component-lg-font-size);
289
- --font-family: var(--hop-text-component-lg-font-family);
290
- --font-weight: var(--hop-text-component-lg-font-weight);
291
- --line-height: var(--hop-text-component-lg-line-height);
292
- }
293
- :where(.hop-text--xl) {
294
- --font-size: var(--hop-text-component-xl-font-size);
295
- --font-family: var(--hop-text-component-xl-font-family);
296
- --font-weight: var(--hop-text-component-xl-font-weight);
297
- --line-height: var(--hop-text-component-xl-line-height);
298
- }
299
- :where(.hop-text--2xl) {
300
- --font-size: var(--hop-text-component-2xl-font-size);
301
- --font-family: var(--hop-text-component-2xl-font-family);
302
- --font-weight: var(--hop-text-component-2xl-font-weight);
303
- --line-height: var(--hop-text-component-2xl-line-height);
304
- }
305
- :where(.hop-text--inherit) {
306
- --font-size: var(--hop-text-component-inherit-size-font-size);
307
- --font-family: var(--hop-text-component-inherit-size-font-family);
308
- --font-weight: var(--hop-text-component-inherit-size-font-weight);
309
- --line-height: var(--hop-text-component-inherit-size-line-height);
661
+ .Button-module__hop-Button___cJ-uA .Button-module__hop-Button__icon-list___QbCfg,
662
+ .Button-module__hop-Button___cJ-uA .Button-module__hop-Button__end-icon-list___hpAvJ {
663
+ flex-wrap: nowrap;
310
664
  }
311
-
312
- /* src/IconList/src/IconList.module.css */
313
- .hop-iconList {
314
- --hop-icon-list-component-gap: var(--hop-space-inline-xs);
315
- box-sizing: border-box;
316
- display: flex;
317
- flex-flow: wrap;
318
- gap: var(--hop-icon-list-component-gap);
319
- }
320
-
321
- /* src/Spinner/src/Spinner.module.css */
322
- @keyframes spin {
323
- 0% {
324
- transform: rotate(0deg);
325
- }
326
- 100% {
327
- transform: rotate(360deg);
328
- }
329
- }
330
- .hop-spinner {
331
- --hop-spinner-component-border-radius: var(--hop-shape-circle);
332
- --hop-spinner-component-sm-wheel-size: 1rem;
333
- --hop-spinner-component-md-wheel-size: 1.25rem;
334
- --hop-spinner-component-lg-wheel-size: 1.5rem;
335
- --hop-spinner-component-track-width: 0.125rem;
336
- --hop-spinner-component-track-opacity: 0.2;
337
- --hop-spinner-component-track-border: var(--hop-spinner-component-track-width) solid currentcolor;
338
- --hop-spinner-component-fill-animation: spin .8s infinite linear;
339
- --hop-spinner-component-fill-animation-reduced-motion-duration: 2s;
340
- --hop-spinner-component-fill-border: var(--hop-spinner-component-track-width) solid transparent;
341
- --hop-spinner-component-fill-border-inline-start: var(--hop-spinner-component-track-width) solid currentcolor;
342
- --hop-spinner-component-label-margin-inline-start: var(--hop-space-inline-sm);
343
- box-sizing: border-box;
344
- display: grid;
345
- grid-template-areas: "spinner label";
346
- grid-template-columns: min-content auto;
347
- align-items: center;
348
- }
349
- .hop-spinner--sm {
350
- --width: var(--hop-spinner-component-sm-wheel-size);
351
- --height: var(--hop-spinner-component-sm-wheel-size);
352
- }
353
- .hop-spinner--md {
354
- --width: var(--hop-spinner-component-md-wheel-size);
355
- --height: var(--hop-spinner-component-md-wheel-size);
356
- }
357
- .hop-spinner--lg {
358
- --width: var(--hop-spinner-component-lg-wheel-size);
359
- --height: var(--hop-spinner-component-lg-wheel-size);
360
- }
361
- .hop-spinner__track {
362
- box-sizing: border-box;
363
- inline-size: var(--width, --hop-spinner-component-md-wheel-size);
364
- block-size: var(--height, --hop-spinner-component-md-wheel-size);
365
- border-radius: var(--hop-spinner-component-border-radius);
366
- border: var(--hop-spinner-component-track-border);
367
- opacity: var(--hop-spinner-component-track-opacity);
368
- grid-area: spinner;
369
- }
370
- .hop-spinner__fill {
371
- box-sizing: border-box;
372
- inline-size: var(--width, --hop-spinner-component-md-wheel-size);
373
- block-size: var(--height, --hop-spinner-component-md-wheel-size);
374
- border-radius: var(--hop-spinner-component-border-radius);
375
- border: var( --hop-spinner-component-fill-border);
376
- border-inline-start: var(--hop-spinner-component-fill-border-inline-start);
377
- grid-area: spinner;
378
- animation: var(--hop-spinner-component-fill-animation);
379
- }
380
- @media (prefers-reduced-motion: reduce) {
381
- .hop-spinner__fill {
382
- animation-duration: var(--hop-spinner-component-fill-animation-reduced-motion-duration);
383
- }
384
- }
385
- .hop-spinner__label {
386
- grid-area: label;
387
- margin-inline-start: var(--hop-spinner-component-label-margin-inline-start);
388
- }
389
-
390
- /* src/Label/src/Label.module.css */
391
- .hop-label {
392
- --hop-label-component-xs-font-size: var(--hop-body-xs-font-size);
393
- --hop-label-component-xs-font-family: var(--hop-body-xs-font-family);
394
- --hop-label-component-xs-font-weight: var(--hop-body-xs-font-weight);
395
- --hop-label-component-xs-line-height: var(--hop-body-xs-line-height);
396
- --hop-label-component-sm-font-size: var(--hop-body-sm-font-size);
397
- --hop-label-component-sm-font-family: var(--hop-body-sm-font-family);
398
- --hop-label-component-sm-font-weight: var(--hop-body-sm-font-weight);
399
- --hop-label-component-sm-line-height: var(--hop-body-sm-line-height);
400
- --hop-label-component-md-font-size: var(--hop-body-md-font-size);
401
- --hop-label-component-md-font-family: var(--hop-body-md-font-family);
402
- --hop-label-component-md-font-weight: var(--hop-body-md-font-weight);
403
- --hop-label-component-md-line-height: var(--hop-body-md-line-height);
404
- --hop-label-component-lg-font-size: var(--hop-body-lg-font-size);
405
- --hop-label-component-lg-font-family: var(--hop-body-lg-font-family);
406
- --hop-label-component-lg-font-weight: var(--hop-body-lg-font-weight);
407
- --hop-label-component-lg-line-height: var(--hop-body-lg-line-height);
408
- --hop-label-component-xl-font-size: var(--hop-body-xl-font-size);
409
- --hop-label-component-xl-font-family: var(--hop-body-xl-font-family);
410
- --hop-label-component-xl-font-weight: var(--hop-body-xl-font-weight);
411
- --hop-label-component-xl-line-height: var(--hop-body-xl-line-height);
412
- --hop-label-component-2xl-font-size: var(--hop-body-2xl-font-size);
413
- --hop-label-component-2xl-font-family: var(--hop-body-2xl-font-family);
414
- --hop-label-component-2xl-font-weight: var(--hop-body-2xl-font-weight);
415
- --hop-label-component-2xl-line-height: var(--hop-body-2xl-line-height);
416
- --hop-label-component-inherit-size-font-size: inherit;
417
- --hop-label-component-inherit-size-font-family: inherit;
418
- --hop-label-component-inherit-size-font-weight: inherit;
419
- --hop-label-component-inherit-size-line-height: inherit;
420
- }
421
- :where(.hop-label) {
422
- font-size: var(--font-size, --hop-label-component-md-font-size);
423
- font-family: var(--font-family, --hop-label-component-md-font-family);
424
- font-weight: var(--font-weight, --hop-label-component-md-font-weight);
425
- line-height: var(--line-height, --hop-label-component-md-line-height);
426
- }
427
- :where(.hop-label--xs) {
428
- --font-size: var(--hop-label-component-xs-font-size);
429
- --font-family: var(--hop-label-component-xs-font-family);
430
- --font-weight: var(--hop-label-component-xs-font-weight);
431
- --line-height: var(--hop-label-component-xs-line-height);
432
- }
433
- :where(.hop-label--sm) {
434
- --font-size: var(--hop-label-component-sm-font-size);
435
- --font-family: var(--hop-label-component-sm-font-family);
436
- --font-weight: var(--hop-label-component-sm-font-weight);
437
- --line-height: var(--hop-label-component-sm-line-height);
438
- }
439
- :where(.hop-label--md) {
440
- --font-size: var(--hop-label-component-md-font-size);
441
- --font-family: var(--hop-label-component-md-font-family);
442
- --font-weight: var(--hop-label-component-md-font-weight);
443
- --line-height: var(--hop-label-component-md-line-height);
444
- }
445
- :where(.hop-label--lg) {
446
- --font-size: var(--hop-label-component-lg-font-size);
447
- --font-family: var(--hop-label-component-lg-font-family);
448
- --font-weight: var(--hop-label-component-lg-font-weight);
449
- --line-height: var(--hop-label-component-lg-line-height);
450
- }
451
- :where(.hop-label--xl) {
452
- --font-size: var(--hop-label-component-xl-font-size);
453
- --font-family: var(--hop-label-component-xl-font-family);
454
- --font-weight: var(--hop-label-component-xl-font-weight);
455
- --line-height: var(--hop-label-component-xl-line-height);
456
- }
457
- :where(.hop-label--2xl) {
458
- --font-size: var(--hop-label-component-2xl-font-size);
459
- --font-family: var(--hop-label-component-2xl-font-family);
460
- --font-weight: var(--hop-label-component-2xl-font-weight);
461
- --line-height: var(--hop-label-component-2xl-line-height);
462
- }
463
- :where(.hop-label--inherit) {
464
- --font-size: var(--hop-label-component-inherit-size-font-size);
465
- --font-family: var(--hop-label-component-inherit-size-font-family);
466
- --font-weight: var(--hop-label-component-inherit-size-font-weight);
467
- --line-height: var(--hop-label-component-inherit-size-line-height);
665
+ .Button-module__hop-Button___cJ-uA[data-loading] > *:not(.Button-module__hop-Button__Spinner___oFd2F) {
666
+ opacity: 0;
468
667
  }