@pingux/astro 2.142.1-alpha.1 → 2.143.0-alpha.1

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 (212) hide show
  1. package/lib/cjs/components/AccordionGridGroup/AccordionGrid.styles.js +1 -2
  2. package/lib/cjs/components/AccordionGridGroup/AccordionGridGroup.stories.js +86 -5
  3. package/lib/cjs/components/AccordionGridItem/AccordionGridItemHeader.js +7 -5
  4. package/lib/cjs/components/AccordionGroup/AccordionGroup.js +5 -3
  5. package/lib/cjs/components/AccordionGroup/AccordionGroup.stories.js +3 -6
  6. package/lib/cjs/components/AccordionItem/AccordionItem.js +8 -4
  7. package/lib/cjs/components/AstroProvider/AstroProvider.js +3 -3
  8. package/lib/cjs/components/Breadcrumbs/Breadcrumbs.js +6 -2
  9. package/lib/cjs/components/Button/Button.stories.js +6 -3
  10. package/lib/cjs/components/Button/Buttons.styles.d.ts +40 -0
  11. package/lib/cjs/components/Button/Buttons.styles.js +2 -0
  12. package/lib/cjs/components/Card/Card.styles.d.ts +3 -0
  13. package/lib/cjs/components/Card/Card.styles.js +4 -1
  14. package/lib/cjs/components/CollapsiblePanel/CollapsiblePanel.stories.js +5 -1
  15. package/lib/cjs/components/CopyText/CopyButton.js +4 -1
  16. package/lib/cjs/components/CopyText/CopyText.js +2 -1
  17. package/lib/cjs/components/GridList/GridList.stories.js +0 -1
  18. package/lib/cjs/components/Icon/Icon.js +2 -1
  19. package/lib/cjs/components/Icon/Icon.stories.js +1 -1
  20. package/lib/cjs/components/IconBadge/IconBadge.js +4 -4
  21. package/lib/cjs/components/IconBadge/IconBadge.stories.js +2 -2
  22. package/lib/cjs/components/Input/Input.styles.js +3 -0
  23. package/lib/cjs/components/ListView/ListView.stories.js +27 -10
  24. package/lib/cjs/components/ListView/ListViewItem.js +1 -1
  25. package/lib/cjs/components/Loader/Loader.js +71 -5
  26. package/lib/cjs/components/Loader/Loader.stories.js +17 -2
  27. package/lib/cjs/components/Loader/Loader.styles.d.ts +7 -0
  28. package/lib/cjs/components/Loader/Loader.styles.js +11 -1
  29. package/lib/cjs/components/MultivaluesField/CondensedMultivaluesField.js +6 -4
  30. package/lib/cjs/components/MultivaluesField/DefaultMultivaluesField.js +26 -15
  31. package/lib/cjs/components/PageHeader/PageHeader.js +5 -2
  32. package/lib/cjs/components/PanelHeader/PanelHeader.js +43 -10
  33. package/lib/cjs/components/PanelHeader/PanelHeader.stories.js +9 -4
  34. package/lib/cjs/components/PanelHeader/PanelHeader.styles.js +5 -0
  35. package/lib/cjs/components/PanelHeader/PanelHeader.test.js +22 -0
  36. package/lib/cjs/components/RequirementsList/RequirementsList.js +11 -8
  37. package/lib/cjs/components/Stepper/Step.js +1 -1
  38. package/lib/cjs/components/Stepper/Stepper.styles.js +1 -0
  39. package/lib/cjs/components/Switch/Switch.js +12 -2
  40. package/lib/cjs/components/Switch/Switch.styles.js +1 -1
  41. package/lib/cjs/components/SwitchField/SwitchField.js +7 -2
  42. package/lib/cjs/components/TableBase/TableBase.d.ts +1 -7
  43. package/lib/cjs/components/TableBase/TableBase.js +96 -74
  44. package/lib/cjs/components/TableBase/TableBase.stories.js +45 -36
  45. package/lib/cjs/components/TableBase/TableBase.styles.d.ts +5 -7
  46. package/lib/cjs/components/TableBase/TableBase.styles.js +8 -3
  47. package/lib/cjs/components/TableBase/stories/NextGenTableBase.js +5 -2
  48. package/lib/cjs/components/Tabs/Tabs.stories.js +23 -7
  49. package/lib/cjs/components/Text/Text.stories.d.ts +1 -0
  50. package/lib/cjs/components/Text/Text.stories.js +354 -1
  51. package/lib/cjs/components/Text/Text.styles.d.ts +10 -0
  52. package/lib/cjs/components/Text/Text.styles.js +5 -0
  53. package/lib/cjs/components/TextField/TextField.stories.js +12 -2
  54. package/lib/cjs/hooks/useCircularLoader/useCircularLoader.d.ts +23 -0
  55. package/lib/cjs/hooks/useCircularLoader/useCircularLoader.js +80 -0
  56. package/lib/cjs/hooks/useCircularLoader/useCircularLoader.test.d.ts +1 -0
  57. package/lib/cjs/hooks/useCircularLoader/useCircularLoader.test.js +136 -0
  58. package/lib/cjs/hooks/useField/useField.d.ts +6 -6
  59. package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +75 -0
  60. package/lib/cjs/hooks/usePagination/usePagination.d.ts +4 -4
  61. package/lib/cjs/styles/colors.d.ts +6 -0
  62. package/lib/cjs/styles/colors.js +4 -1
  63. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.d.ts +36 -0
  64. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.js +23 -2
  65. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/icons.d.ts +5 -0
  66. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +17 -0
  67. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.js +7 -1
  68. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.d.ts +66 -0
  69. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +18 -0
  70. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/forms.d.ts +15 -0
  71. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/forms.js +18 -1
  72. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/input.d.ts +0 -8
  73. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/input.js +9 -9
  74. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/links.d.ts +14 -0
  75. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/links.js +15 -0
  76. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +10 -0
  77. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +11 -0
  78. package/lib/cjs/styles/themes/astro/customProperties/icons.d.ts +5 -0
  79. package/lib/cjs/styles/themes/astro/customProperties/icons.js +11 -4
  80. package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +18 -0
  81. package/lib/cjs/styles/themes/astro/customProperties/index.js +26 -1
  82. package/lib/cjs/styles/themes/next-gen/codeView/codeView.d.ts +2 -0
  83. package/lib/cjs/styles/themes/next-gen/codeView/codeView.js +4 -2
  84. package/lib/cjs/styles/themes/next-gen/colors/colors.d.ts +37 -0
  85. package/lib/cjs/styles/themes/next-gen/colors/colors.js +5 -2
  86. package/lib/cjs/styles/themes/next-gen/colors/iconWrapper.js +14 -35
  87. package/lib/cjs/styles/themes/next-gen/colors/twoTone.d.ts +37 -0
  88. package/lib/cjs/styles/themes/next-gen/colors/twoTone.js +46 -0
  89. package/lib/cjs/styles/themes/next-gen/convertedComponentList.d.ts +4 -1
  90. package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +6 -3
  91. package/lib/cjs/styles/themes/next-gen/customProperties/customSizes.d.ts +10 -0
  92. package/lib/cjs/styles/themes/next-gen/customProperties/customSizes.js +22 -0
  93. package/lib/cjs/styles/themes/next-gen/customProperties/icons.d.ts +5 -0
  94. package/lib/cjs/styles/themes/next-gen/customProperties/icons.js +10 -3
  95. package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +17 -0
  96. package/lib/cjs/styles/themes/next-gen/customProperties/index.js +26 -4
  97. package/lib/cjs/styles/themes/next-gen/customProperties/tShirtSizes.js +4 -4
  98. package/lib/cjs/styles/themes/next-gen/forms.d.ts +42 -0
  99. package/lib/cjs/styles/themes/next-gen/forms.js +5 -0
  100. package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +1185 -881
  101. package/lib/cjs/styles/themes/next-gen/next-gen.js +1 -1
  102. package/lib/cjs/styles/themes/next-gen/text.js +2 -2
  103. package/lib/cjs/styles/themes/next-gen/variants/accordion.d.ts +16 -0
  104. package/lib/cjs/styles/themes/next-gen/variants/accordion.js +26 -0
  105. package/lib/cjs/styles/themes/next-gen/variants/badges.d.ts +0 -17
  106. package/lib/cjs/styles/themes/next-gen/variants/badges.js +1 -3
  107. package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +151 -105
  108. package/lib/cjs/styles/themes/next-gen/variants/button.js +38 -7
  109. package/lib/cjs/styles/themes/next-gen/variants/cards.js +1 -1
  110. package/lib/cjs/styles/themes/next-gen/variants/input.js +16 -5
  111. package/lib/cjs/styles/themes/next-gen/variants/label.js +5 -3
  112. package/lib/cjs/styles/themes/next-gen/variants/links.d.ts +4 -2
  113. package/lib/cjs/styles/themes/next-gen/variants/listview.js +1 -1
  114. package/lib/cjs/styles/themes/next-gen/variants/panelHeader.d.ts +16 -0
  115. package/lib/cjs/styles/themes/next-gen/variants/panelHeader.js +26 -0
  116. package/lib/cjs/styles/themes/next-gen/variants/stepper.d.ts +66 -0
  117. package/lib/cjs/styles/themes/next-gen/variants/stepper.js +74 -0
  118. package/lib/cjs/styles/themes/next-gen/variants/switch.d.ts +36 -0
  119. package/lib/cjs/styles/themes/next-gen/variants/switch.js +44 -0
  120. package/lib/cjs/styles/themes/next-gen/variants/tableBase.d.ts +32 -22
  121. package/lib/cjs/styles/themes/next-gen/variants/tableBase.js +35 -23
  122. package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +62 -0
  123. package/lib/cjs/styles/themes/next-gen/variants/text.js +67 -7
  124. package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +919 -752
  125. package/lib/cjs/styles/themes/next-gen/variants/variants.js +88 -38
  126. package/lib/cjs/types/loader.d.ts +5 -2
  127. package/lib/cjs/types/shared/style.d.ts +2 -0
  128. package/lib/cjs/types/tableBase.d.ts +4 -3
  129. package/lib/components/AccordionGridGroup/AccordionGrid.styles.js +1 -2
  130. package/lib/components/AccordionGridGroup/AccordionGridGroup.stories.js +86 -5
  131. package/lib/components/AccordionGridItem/AccordionGridItemHeader.js +6 -4
  132. package/lib/components/AccordionGroup/AccordionGroup.js +5 -3
  133. package/lib/components/AccordionGroup/AccordionGroup.stories.js +3 -6
  134. package/lib/components/AccordionItem/AccordionItem.js +8 -4
  135. package/lib/components/AstroProvider/AstroProvider.js +3 -3
  136. package/lib/components/Breadcrumbs/Breadcrumbs.js +7 -3
  137. package/lib/components/Button/Button.stories.js +4 -1
  138. package/lib/components/Button/Buttons.styles.js +2 -0
  139. package/lib/components/Card/Card.styles.js +4 -1
  140. package/lib/components/CollapsiblePanel/CollapsiblePanel.stories.js +5 -1
  141. package/lib/components/CopyText/CopyButton.js +4 -1
  142. package/lib/components/CopyText/CopyText.js +2 -1
  143. package/lib/components/GridList/GridList.stories.js +0 -1
  144. package/lib/components/Icon/Icon.js +2 -1
  145. package/lib/components/Icon/Icon.stories.js +1 -1
  146. package/lib/components/IconBadge/IconBadge.js +4 -4
  147. package/lib/components/IconBadge/IconBadge.stories.js +2 -2
  148. package/lib/components/Input/Input.styles.js +3 -0
  149. package/lib/components/ListView/ListView.stories.js +28 -11
  150. package/lib/components/ListView/ListViewItem.js +1 -1
  151. package/lib/components/Loader/Loader.js +71 -3
  152. package/lib/components/Loader/Loader.stories.js +13 -0
  153. package/lib/components/Loader/Loader.styles.js +11 -1
  154. package/lib/components/MultivaluesField/CondensedMultivaluesField.js +6 -4
  155. package/lib/components/MultivaluesField/DefaultMultivaluesField.js +27 -16
  156. package/lib/components/PageHeader/PageHeader.js +5 -2
  157. package/lib/components/PanelHeader/PanelHeader.js +44 -11
  158. package/lib/components/PanelHeader/PanelHeader.stories.js +9 -4
  159. package/lib/components/PanelHeader/PanelHeader.styles.js +5 -0
  160. package/lib/components/PanelHeader/PanelHeader.test.js +23 -1
  161. package/lib/components/RequirementsList/RequirementsList.js +7 -4
  162. package/lib/components/Stepper/Step.js +1 -1
  163. package/lib/components/Stepper/Stepper.styles.js +1 -0
  164. package/lib/components/Switch/Switch.js +12 -2
  165. package/lib/components/Switch/Switch.styles.js +1 -1
  166. package/lib/components/SwitchField/SwitchField.js +7 -2
  167. package/lib/components/TableBase/TableBase.js +100 -72
  168. package/lib/components/TableBase/TableBase.stories.js +46 -37
  169. package/lib/components/TableBase/TableBase.styles.js +8 -3
  170. package/lib/components/TableBase/stories/NextGenTableBase.js +6 -3
  171. package/lib/components/Tabs/Tabs.stories.js +23 -7
  172. package/lib/components/Text/Text.stories.js +352 -0
  173. package/lib/components/Text/Text.styles.js +5 -0
  174. package/lib/components/TextField/TextField.stories.js +12 -2
  175. package/lib/hooks/useCircularLoader/useCircularLoader.js +71 -0
  176. package/lib/hooks/useCircularLoader/useCircularLoader.test.js +129 -0
  177. package/lib/styles/colors.js +4 -1
  178. package/lib/styles/themeOverrides/nextGenDarkMode/colors.js +23 -2
  179. package/lib/styles/themeOverrides/nextGenDarkMode/customProperties/index.js +7 -1
  180. package/lib/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +18 -0
  181. package/lib/styles/themeOverrides/nextGenDarkMode/variants/forms.js +18 -1
  182. package/lib/styles/themeOverrides/nextGenDarkMode/variants/input.js +9 -9
  183. package/lib/styles/themeOverrides/nextGenDarkMode/variants/links.js +15 -0
  184. package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +11 -0
  185. package/lib/styles/themes/astro/customProperties/icons.js +12 -5
  186. package/lib/styles/themes/astro/customProperties/index.js +26 -1
  187. package/lib/styles/themes/next-gen/codeView/codeView.js +4 -2
  188. package/lib/styles/themes/next-gen/colors/colors.js +5 -2
  189. package/lib/styles/themes/next-gen/colors/iconWrapper.js +14 -35
  190. package/lib/styles/themes/next-gen/colors/twoTone.js +38 -0
  191. package/lib/styles/themes/next-gen/convertedComponentList.js +6 -3
  192. package/lib/styles/themes/next-gen/customProperties/customSizes.js +14 -0
  193. package/lib/styles/themes/next-gen/customProperties/icons.js +10 -3
  194. package/lib/styles/themes/next-gen/customProperties/index.js +26 -2
  195. package/lib/styles/themes/next-gen/customProperties/tShirtSizes.js +4 -4
  196. package/lib/styles/themes/next-gen/forms.js +5 -0
  197. package/lib/styles/themes/next-gen/next-gen.js +1 -1
  198. package/lib/styles/themes/next-gen/text.js +2 -2
  199. package/lib/styles/themes/next-gen/variants/accordion.js +18 -0
  200. package/lib/styles/themes/next-gen/variants/badges.js +1 -3
  201. package/lib/styles/themes/next-gen/variants/button.js +38 -7
  202. package/lib/styles/themes/next-gen/variants/cards.js +1 -1
  203. package/lib/styles/themes/next-gen/variants/input.js +16 -5
  204. package/lib/styles/themes/next-gen/variants/label.js +5 -3
  205. package/lib/styles/themes/next-gen/variants/listview.js +1 -1
  206. package/lib/styles/themes/next-gen/variants/panelHeader.js +18 -0
  207. package/lib/styles/themes/next-gen/variants/stepper.js +66 -0
  208. package/lib/styles/themes/next-gen/variants/switch.js +36 -0
  209. package/lib/styles/themes/next-gen/variants/tableBase.js +35 -23
  210. package/lib/styles/themes/next-gen/variants/text.js +67 -7
  211. package/lib/styles/themes/next-gen/variants/variants.js +82 -37
  212. package/package.json +1 -1
@@ -14,13 +14,13 @@ declare const buttons: {
14
14
  transition: string;
15
15
  alignItems: string;
16
16
  justifyContent: string;
17
+ flexShrink: number;
17
18
  minWidth: string;
18
19
  cursor: string;
19
20
  display: string;
20
21
  maxWidth: string;
21
22
  fontFamily: string;
22
23
  fontSize: string;
23
- flexGrow: string;
24
24
  fontWeight: number;
25
25
  textAlign: string;
26
26
  verticalAlign: string;
@@ -31,6 +31,7 @@ declare const buttons: {
31
31
  borderColor: string;
32
32
  px: string;
33
33
  py: string;
34
+ maxHeight: string;
34
35
  height: string;
35
36
  '&.is-disabled': {
36
37
  opacity: number;
@@ -62,13 +63,13 @@ declare const buttons: {
62
63
  };
63
64
  alignItems: string;
64
65
  justifyContent: string;
66
+ flexShrink: number;
65
67
  minWidth: string;
66
68
  cursor: string;
67
69
  display: string;
68
70
  maxWidth: string;
69
71
  fontFamily: string;
70
72
  fontSize: string;
71
- flexGrow: string;
72
73
  fontWeight: number;
73
74
  textAlign: string;
74
75
  verticalAlign: string;
@@ -77,6 +78,7 @@ declare const buttons: {
77
78
  border: string;
78
79
  px: string;
79
80
  py: string;
81
+ maxHeight: string;
80
82
  height: string;
81
83
  '&.is-disabled': {
82
84
  opacity: number;
@@ -106,13 +108,13 @@ declare const buttons: {
106
108
  };
107
109
  alignItems: string;
108
110
  justifyContent: string;
111
+ flexShrink: number;
109
112
  minWidth: string;
110
113
  cursor: string;
111
114
  display: string;
112
115
  maxWidth: string;
113
116
  fontFamily: string;
114
117
  fontSize: string;
115
- flexGrow: string;
116
118
  fontWeight: number;
117
119
  textAlign: string;
118
120
  verticalAlign: string;
@@ -121,6 +123,7 @@ declare const buttons: {
121
123
  border: string;
122
124
  px: string;
123
125
  py: string;
126
+ maxHeight: string;
124
127
  height: string;
125
128
  '&.is-disabled': {
126
129
  opacity: number;
@@ -141,13 +144,13 @@ declare const buttons: {
141
144
  };
142
145
  alignItems: string;
143
146
  justifyContent: string;
147
+ flexShrink: number;
144
148
  minWidth: string;
145
149
  cursor: string;
146
150
  display: string;
147
151
  maxWidth: string;
148
152
  fontFamily: string;
149
153
  fontSize: string;
150
- flexGrow: string;
151
154
  fontWeight: number;
152
155
  textAlign: string;
153
156
  verticalAlign: string;
@@ -156,6 +159,7 @@ declare const buttons: {
156
159
  border: string;
157
160
  px: string;
158
161
  py: string;
162
+ maxHeight: string;
159
163
  height: string;
160
164
  '&.is-disabled': {
161
165
  opacity: number;
@@ -173,13 +177,13 @@ declare const buttons: {
173
177
  color: string;
174
178
  alignItems: string;
175
179
  justifyContent: string;
180
+ flexShrink: number;
176
181
  minWidth: string;
177
182
  cursor: string;
178
183
  display: string;
179
184
  maxWidth: string;
180
185
  fontFamily: string;
181
186
  fontSize: string;
182
- flexGrow: string;
183
187
  fontWeight: number;
184
188
  textAlign: string;
185
189
  verticalAlign: string;
@@ -188,6 +192,7 @@ declare const buttons: {
188
192
  border: string;
189
193
  px: string;
190
194
  py: string;
195
+ maxHeight: string;
191
196
  height: string;
192
197
  '&.is-disabled': {
193
198
  opacity: number;
@@ -224,13 +229,13 @@ declare const buttons: {
224
229
  };
225
230
  alignItems: string;
226
231
  justifyContent: string;
232
+ flexShrink: number;
227
233
  minWidth: string;
228
234
  cursor: string;
229
235
  display: string;
230
236
  maxWidth: string;
231
237
  fontFamily: string;
232
238
  fontSize: string;
233
- flexGrow: string;
234
239
  fontWeight: number;
235
240
  textAlign: string;
236
241
  verticalAlign: string;
@@ -239,6 +244,7 @@ declare const buttons: {
239
244
  border: string;
240
245
  px: string;
241
246
  py: string;
247
+ maxHeight: string;
242
248
  height: string;
243
249
  '&.is-disabled': {
244
250
  opacity: number;
@@ -274,16 +280,17 @@ declare const buttons: {
274
280
  };
275
281
  alignItems: string;
276
282
  justifyContent: string;
283
+ flexShrink: number;
277
284
  minWidth: string;
278
285
  cursor: string;
279
286
  maxWidth: string;
280
287
  fontFamily: string;
281
- flexGrow: string;
282
288
  fontWeight: number;
283
289
  textAlign: string;
284
290
  verticalAlign: string;
285
291
  px: string;
286
292
  py: string;
293
+ maxHeight: string;
287
294
  '&.is-disabled': {
288
295
  opacity: number;
289
296
  };
@@ -323,16 +330,17 @@ declare const buttons: {
323
330
  };
324
331
  alignItems: string;
325
332
  justifyContent: string;
333
+ flexShrink: number;
326
334
  minWidth: string;
327
335
  cursor: string;
328
336
  maxWidth: string;
329
337
  fontFamily: string;
330
- flexGrow: string;
331
338
  fontWeight: number;
332
339
  textAlign: string;
333
340
  verticalAlign: string;
334
341
  px: string;
335
342
  py: string;
343
+ maxHeight: string;
336
344
  '&.is-disabled': {
337
345
  opacity: number;
338
346
  };
@@ -344,13 +352,13 @@ declare const buttons: {
344
352
  color: string;
345
353
  alignItems: string;
346
354
  justifyContent: string;
355
+ flexShrink: number;
347
356
  minWidth: string;
348
357
  cursor: string;
349
358
  display: string;
350
359
  maxWidth: string;
351
360
  fontFamily: string;
352
361
  fontSize: string;
353
- flexGrow: string;
354
362
  fontWeight: number;
355
363
  textAlign: string;
356
364
  verticalAlign: string;
@@ -359,6 +367,7 @@ declare const buttons: {
359
367
  border: string;
360
368
  px: string;
361
369
  py: string;
370
+ maxHeight: string;
362
371
  height: string;
363
372
  '&.is-disabled': {
364
373
  opacity: number;
@@ -378,13 +387,13 @@ declare const buttons: {
378
387
  color: string;
379
388
  alignItems: string;
380
389
  justifyContent: string;
390
+ flexShrink: number;
381
391
  minWidth: string;
382
392
  cursor: string;
383
393
  display: string;
384
394
  maxWidth: string;
385
395
  fontFamily: string;
386
396
  fontSize: string;
387
- flexGrow: string;
388
397
  fontWeight: number;
389
398
  textAlign: string;
390
399
  verticalAlign: string;
@@ -394,6 +403,7 @@ declare const buttons: {
394
403
  borderColor: string;
395
404
  px: string;
396
405
  py: string;
406
+ maxHeight: string;
397
407
  height: string;
398
408
  '&.is-disabled': {
399
409
  opacity: number;
@@ -420,13 +430,13 @@ declare const buttons: {
420
430
  outlineColor: string;
421
431
  alignItems: string;
422
432
  justifyContent: string;
433
+ flexShrink: number;
423
434
  minWidth: string;
424
435
  cursor: string;
425
436
  display: string;
426
437
  maxWidth: string;
427
438
  fontFamily: string;
428
439
  fontSize: string;
429
- flexGrow: string;
430
440
  fontWeight: number;
431
441
  textAlign: string;
432
442
  verticalAlign: string;
@@ -435,6 +445,7 @@ declare const buttons: {
435
445
  border: string;
436
446
  px: string;
437
447
  py: string;
448
+ maxHeight: string;
438
449
  height: string;
439
450
  '&.is-disabled': {
440
451
  opacity: number;
@@ -461,6 +472,119 @@ declare const buttons: {
461
472
  outline: string;
462
473
  };
463
474
  };
475
+ listBoxLink: {
476
+ color: string;
477
+ transition: string;
478
+ fontSize: string;
479
+ textDecoration: string;
480
+ px: string;
481
+ pt: string;
482
+ '&.is-pressed': {
483
+ textDecoration: string;
484
+ outline: string;
485
+ color: string;
486
+ };
487
+ '&.is-focused': {
488
+ textDecoration: string;
489
+ outline: string;
490
+ };
491
+ badgeDeleteButton: {
492
+ transition: string;
493
+ height: number;
494
+ p: number;
495
+ width: number;
496
+ border: string;
497
+ '&.is-focused': {
498
+ backgroundColor: string;
499
+ outline: string;
500
+ outlineColor: string;
501
+ outlineOffset: string;
502
+ };
503
+ '&.is-pressed': {
504
+ backgroundColor: string;
505
+ borderColor: string;
506
+ path: {
507
+ fill: string;
508
+ };
509
+ };
510
+ '&.is-hovered': {
511
+ bg: string;
512
+ };
513
+ cursor: string;
514
+ outline: string;
515
+ borderRadius: string;
516
+ borderColor: string;
517
+ path: {
518
+ fill: string;
519
+ };
520
+ };
521
+ invertedBadgeDeleteButton: {
522
+ transition: string;
523
+ height: number;
524
+ p: number;
525
+ width: number;
526
+ border: string;
527
+ '&.is-focused': {
528
+ backgroundColor: string;
529
+ outline: string;
530
+ outlineColor: string;
531
+ outlineOffset: string;
532
+ };
533
+ '&.is-pressed': {
534
+ backgroundColor: string;
535
+ borderColor: string;
536
+ path: {
537
+ fill: string;
538
+ };
539
+ };
540
+ '&.is-hovered': {
541
+ bg: string;
542
+ };
543
+ cursor: string;
544
+ outline: string;
545
+ borderRadius: string;
546
+ borderColor: string;
547
+ path: {
548
+ fill: string;
549
+ };
550
+ };
551
+ clearSelectionButton: {
552
+ top: string;
553
+ right: string;
554
+ bg: string;
555
+ '.is-float-label &': {
556
+ top: string;
557
+ };
558
+ width: string;
559
+ height: string;
560
+ border: string;
561
+ position: string;
562
+ '& > svg': {
563
+ minWidth: string;
564
+ width: string;
565
+ height: string;
566
+ };
567
+ '&.is-hovered': {
568
+ bg: string;
569
+ };
570
+ '&.is-pressed': {
571
+ bg: string;
572
+ };
573
+ cursor: string;
574
+ transition: string;
575
+ outline: string;
576
+ borderRadius: string;
577
+ borderColor: string;
578
+ path: {
579
+ fill: string;
580
+ };
581
+ '&.is-focused': {
582
+ outline: string;
583
+ outlineColor: string;
584
+ outlineOffset: string;
585
+ };
586
+ };
587
+ };
464
588
  withIcon: {
465
589
  display: string;
466
590
  path: {
@@ -488,12 +612,12 @@ declare const buttons: {
488
612
  };
489
613
  alignItems: string;
490
614
  justifyContent: string;
615
+ flexShrink: number;
491
616
  minWidth: string;
492
617
  cursor: string;
493
618
  maxWidth: string;
494
619
  fontFamily: string;
495
620
  fontSize: string;
496
- flexGrow: string;
497
621
  fontWeight: number;
498
622
  textAlign: string;
499
623
  verticalAlign: string;
@@ -502,6 +626,7 @@ declare const buttons: {
502
626
  border: string;
503
627
  px: string;
504
628
  py: string;
629
+ maxHeight: string;
505
630
  height: string;
506
631
  '&.is-disabled': {
507
632
  opacity: number;
@@ -534,12 +659,12 @@ declare const buttons: {
534
659
  };
535
660
  alignItems: string;
536
661
  justifyContent: string;
662
+ flexShrink: number;
537
663
  minWidth: string;
538
664
  cursor: string;
539
665
  maxWidth: string;
540
666
  fontFamily: string;
541
667
  fontSize: string;
542
- flexGrow: string;
543
668
  fontWeight: number;
544
669
  textAlign: string;
545
670
  verticalAlign: string;
@@ -548,6 +673,7 @@ declare const buttons: {
548
673
  border: string;
549
674
  px: string;
550
675
  py: string;
676
+ maxHeight: string;
551
677
  height: string;
552
678
  '&.is-disabled': {
553
679
  opacity: number;
@@ -586,16 +712,17 @@ declare const buttons: {
586
712
  };
587
713
  alignItems: string;
588
714
  justifyContent: string;
715
+ flexShrink: number;
589
716
  minWidth: string;
590
717
  cursor: string;
591
718
  maxWidth: string;
592
719
  fontFamily: string;
593
- flexGrow: string;
594
720
  fontWeight: number;
595
721
  textAlign: string;
596
722
  verticalAlign: string;
597
723
  px: string;
598
724
  py: string;
725
+ maxHeight: string;
599
726
  '&.is-disabled': {
600
727
  opacity: number;
601
728
  };
@@ -635,16 +762,17 @@ declare const buttons: {
635
762
  };
636
763
  alignItems: string;
637
764
  justifyContent: string;
765
+ flexShrink: number;
638
766
  minWidth: string;
639
767
  cursor: string;
640
768
  maxWidth: string;
641
769
  fontFamily: string;
642
- flexGrow: string;
643
770
  fontWeight: number;
644
771
  textAlign: string;
645
772
  verticalAlign: string;
646
773
  px: string;
647
774
  py: string;
775
+ maxHeight: string;
648
776
  '&.is-disabled': {
649
777
  opacity: number;
650
778
  };
@@ -764,11 +892,11 @@ declare const buttons: {
764
892
  backgroundColor: string;
765
893
  borderColor: string;
766
894
  color: string;
895
+ flexShrink: number;
767
896
  minWidth: string;
768
897
  cursor: string;
769
898
  fontFamily: string;
770
899
  fontSize: string;
771
- flexGrow: string;
772
900
  fontWeight: number;
773
901
  textAlign: string;
774
902
  verticalAlign: string;
@@ -816,11 +944,11 @@ declare const buttons: {
816
944
  backgroundColor: string;
817
945
  borderColor: string;
818
946
  color: string;
947
+ flexShrink: number;
819
948
  minWidth: string;
820
949
  cursor: string;
821
950
  fontFamily: string;
822
951
  fontSize: string;
823
- flexGrow: string;
824
952
  fontWeight: number;
825
953
  textAlign: string;
826
954
  verticalAlign: string;
@@ -1012,9 +1140,11 @@ declare const buttons: {
1012
1140
  borderColor: string;
1013
1141
  };
1014
1142
  copyButton: {
1143
+ mx: string;
1015
1144
  path: {
1016
1145
  fill: string;
1017
1146
  };
1147
+ border: string;
1018
1148
  };
1019
1149
  deleteAttachment: {
1020
1150
  backgroundColor: string;
@@ -1137,106 +1267,21 @@ declare const buttons: {
1137
1267
  };
1138
1268
  };
1139
1269
  hintButton: {
1140
- bg: string;
1141
- '&.is-hovered': {
1142
- bg: string;
1143
- };
1144
- };
1145
- badgeDeleteButton: {
1146
- transition: string;
1147
- height: number;
1148
- p: number;
1149
- width: number;
1150
- border: string;
1151
- '&.is-focused': {
1152
- backgroundColor: string;
1153
- outline: string;
1154
- outlineColor: string;
1155
- outlineOffset: string;
1156
- };
1157
- '&.is-pressed': {
1158
- backgroundColor: string;
1159
- borderColor: string;
1160
- path: {
1161
- fill: string;
1162
- };
1163
- };
1164
- '&.is-hovered': {
1165
- bg: string;
1166
- };
1167
- cursor: string;
1168
- outline: string;
1169
- borderRadius: string;
1170
- borderColor: string;
1270
+ backgroundColor: string;
1171
1271
  path: {
1172
1272
  fill: string;
1173
1273
  };
1174
- };
1175
- invertedBadgeDeleteButton: {
1176
- transition: string;
1177
- height: number;
1178
- p: number;
1179
- width: number;
1180
- border: string;
1181
1274
  '&.is-focused': {
1182
- backgroundColor: string;
1183
1275
  outline: string;
1184
1276
  outlineColor: string;
1185
1277
  outlineOffset: string;
1186
1278
  };
1187
- '&.is-pressed': {
1279
+ '&.is-hovered': {
1188
1280
  backgroundColor: string;
1189
- borderColor: string;
1190
1281
  path: {
1191
1282
  fill: string;
1192
1283
  };
1193
1284
  };
1194
- '&.is-hovered': {
1195
- bg: string;
1196
- };
1197
- cursor: string;
1198
- outline: string;
1199
- borderRadius: string;
1200
- borderColor: string;
1201
- path: {
1202
- fill: string;
1203
- };
1204
- };
1205
- clearSelectionButton: {
1206
- top: string;
1207
- right: string;
1208
- bg: string;
1209
- '.is-float-label &': {
1210
- top: string;
1211
- };
1212
- width: string;
1213
- height: string;
1214
- border: string;
1215
- position: string;
1216
- '& > svg': {
1217
- minWidth: string;
1218
- width: string;
1219
- height: string;
1220
- };
1221
- '&.is-hovered': {
1222
- bg: string;
1223
- };
1224
- '&.is-pressed': {
1225
- bg: string;
1226
- };
1227
- cursor: string;
1228
- transition: string;
1229
- outline: string;
1230
- borderRadius: string;
1231
- borderColor: string;
1232
- path: {
1233
- fill: string;
1234
- };
1235
- '&.is-focused': {
1236
- outline: string;
1237
- outlineColor: string;
1238
- outlineOffset: string;
1239
- };
1240
1285
  };
1241
1286
  };
1242
1287
  modalCloseButton: {
@@ -1301,11 +1346,11 @@ declare const buttons: {
1301
1346
  borderColor: string;
1302
1347
  alignItems: string;
1303
1348
  justifyContent: string;
1349
+ flexShrink: number;
1304
1350
  minWidth: string;
1305
1351
  cursor: string;
1306
1352
  fontFamily: string;
1307
1353
  fontSize: string;
1308
- flexGrow: string;
1309
1354
  fontWeight: number;
1310
1355
  textAlign: string;
1311
1356
  verticalAlign: string;
@@ -1313,6 +1358,7 @@ declare const buttons: {
1313
1358
  borderRadius: string;
1314
1359
  px: string;
1315
1360
  py: string;
1361
+ maxHeight: string;
1316
1362
  height: string;
1317
1363
  '&.is-disabled': {
1318
1364
  opacity: number;
@@ -40,13 +40,13 @@ exports.defaultFocus = defaultFocus;
40
40
  var buttonBase = _objectSpread(_objectSpread({}, transitions), {}, {
41
41
  alignItems: 'center',
42
42
  justifyContent: 'center',
43
+ flexShrink: 0,
43
44
  minWidth: 'min-content',
44
45
  cursor: 'pointer',
45
46
  display: 'block',
46
47
  maxWidth: '100%',
47
48
  fontFamily: 'standard',
48
49
  fontSize: '.9375rem',
49
- flexGrow: '1',
50
50
  fontWeight: 400,
51
51
  textAlign: 'center',
52
52
  verticalAlign: 'middle',
@@ -57,6 +57,7 @@ var buttonBase = _objectSpread(_objectSpread({}, transitions), {}, {
57
57
  borderColor: 'border.base',
58
58
  px: '20px',
59
59
  py: '12px',
60
+ maxHeight: '48.5px',
60
61
  height: '48.5px',
61
62
  '&.is-disabled': {
62
63
  opacity: 0.65
@@ -331,7 +332,7 @@ var baseIconButton = {
331
332
  transition: 'color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out',
332
333
  outline: 'none',
333
334
  borderRadius: '28px',
334
- border: '2px solid',
335
+ border: '1px solid',
335
336
  borderColor: 'transparent',
336
337
  path: {
337
338
  fill: 'dark'
@@ -385,6 +386,23 @@ var onyxIconButton = _objectSpread(_objectSpread(_objectSpread({}, baseIconButto
385
386
  alignItems: 'center',
386
387
  justifyContent: 'center'
387
388
  });
389
+ var hintButton = {
390
+ backgroundColor: 'transparent',
391
+ path: {
392
+ fill: 'dark'
393
+ },
394
+ '&.is-focused': {
395
+ outline: '2px solid',
396
+ outlineColor: 'primary',
397
+ outlineOffset: '3px'
398
+ },
399
+ '&.is-hovered': {
400
+ backgroundColor: 'gray-100',
401
+ path: {
402
+ fill: 'dark'
403
+ }
404
+ }
405
+ };
388
406
  var badgeDeleteButton = _objectSpread(_objectSpread({}, baseIconButton), {}, {
389
407
  height: 14,
390
408
  p: 0,
@@ -547,11 +565,23 @@ var iconButtons = {
547
565
  }
548
566
  }
549
567
  }),
550
- hintButton: {
551
- bg: 'gray-100',
552
- '&.is-hovered': {
553
- bg: 'gray-900'
554
- }
568
+ hintButton: _objectSpread({}, hintButton)
569
+ };
570
+ var listBoxLink = {
571
+ color: 'active',
572
+ transition: 'color, .15s, ease-in-and-out',
573
+ fontSize: 'md',
574
+ textDecoration: 'none',
575
+ px: 'md',
576
+ pt: 'md',
577
+ '&.is-pressed': {
578
+ textDecoration: 'underline',
579
+ outline: 'none',
580
+ color: _chromaJs["default"].mix(primaryBlue, 'black', 0.125, 'rgb').hex()
581
+ },
582
+ '&.is-focused': {
583
+ textDecoration: 'underline',
584
+ outline: 'none'
555
585
  },
556
586
  badgeDeleteButton: badgeDeleteButton,
557
587
  invertedBadgeDeleteButton: _objectSpread({}, badgeDeleteButton),
@@ -577,6 +607,7 @@ var buttons = {
577
607
  checkboxActiveButton: checkboxActiveButton,
578
608
  outlineCritical: outlineCritical,
579
609
  link: link,
610
+ listBoxLink: listBoxLink,
580
611
  withIcon: withIcon,
581
612
  primaryWithIcon: primaryWithIcon,
582
613
  inlineWithIcon: inlineWithIcon,
@@ -32,7 +32,7 @@ var interactive = {
32
32
  },
33
33
  '&.is-hovered': {
34
34
  outline: 'none',
35
- borderColor: 'blue',
35
+ borderColor: 'focus',
36
36
  bg: 'default'
37
37
  }
38
38
  };