@zonos/amino 6.0.0-alpha.8 → 6.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 (125) hide show
  1. package/amino.css +29 -7
  2. package/components/avatar/AvatarBase.js +1 -1
  3. package/components/banner/Banner.js +1 -1
  4. package/components/button/Button.js +1 -1
  5. package/components/button/ButtonIcon.js +1 -1
  6. package/components/button/MenuButton.js +1 -1
  7. package/components/button/RippleGroup.js +1 -1
  8. package/components/button/button-group/ButtonGroup.js +1 -1
  9. package/components/card/Card.js +1 -1
  10. package/components/checkbox/Checkbox.js +1 -1
  11. package/components/collapse/Collapse.js +1 -1
  12. package/components/connection-map/ConnectionMap.js +1 -1
  13. package/components/country-multi-select/CountryMultiSelectExpanded.js +1 -1
  14. package/components/country-multi-select/CountryMultiSelectExpandedOption.js +1 -1
  15. package/components/cover-sheet/CoverSheet.js +1 -1
  16. package/components/currency/Currency.js +1 -1
  17. package/components/currency/DualCurrency.js +1 -1
  18. package/components/dialog/BaseDialog.js +1 -1
  19. package/components/dialog/Dialog.js +1 -1
  20. package/components/dialog/DismissableDialog.js +1 -1
  21. package/components/dialog/announcement/AnnouncementDialog.js +1 -1
  22. package/components/divider/Divider.js +1 -1
  23. package/components/drop-zone/DropZone.js +1 -1
  24. package/components/file-upload/FileUpload.js +1 -1
  25. package/components/filter/FilterWrapper.js +1 -1
  26. package/components/filter/filter-date/DateControlsWrapper.js +1 -1
  27. package/components/glow/GlowWrapper.js +1 -1
  28. package/components/input/Input.js +1 -1
  29. package/components/input/MultiInput.js +1 -1
  30. package/components/input/input-simple/InputSimple.js +1 -1
  31. package/components/input/input-simple/input-type/_DateInput.d.ts +1 -1
  32. package/components/input/input-simple/input-type/_DateInput.js +1 -1
  33. package/components/input/input-simple/input-type/_InputBase.d.ts +1 -1
  34. package/components/input/input-simple/input-type/_InputBase.js +1 -1
  35. package/components/input/input-simple/input-type/_NumberInput.d.ts +1 -1
  36. package/components/input/input-simple/input-type/_NumberInput.js +1 -1
  37. package/components/input/input-simple/input-type/_PasswordInput.d.ts +1 -1
  38. package/components/input/input-simple/input-type/_PasswordInput.js +1 -1
  39. package/components/input/input-simple/input-type/_TimeInput.d.ts +1 -1
  40. package/components/input/input-simple/input-type/_TimeInput.js +1 -1
  41. package/components/input/input-type/_DateInput.d.ts +1 -1
  42. package/components/input/input-type/_DateInput.js +1 -1
  43. package/components/input/input-type/_FloatLabelInput.d.ts +1 -1
  44. package/components/input/input-type/_FloatLabelInput.js +1 -1
  45. package/components/input/input-type/_NumberInput.d.ts +1 -1
  46. package/components/input/input-type/_NumberInput.js +1 -1
  47. package/components/input/input-type/_PasswordInput.d.ts +1 -1
  48. package/components/input/input-type/_PasswordInput.js +1 -1
  49. package/components/input/input-type/_TimeInput.d.ts +1 -1
  50. package/components/input/input-type/_TimeInput.js +1 -1
  51. package/components/json-vision-viewer/JsonVisionViewer.js +1 -1
  52. package/components/language-picker/LanguageItem.js +1 -1
  53. package/components/language-picker/LanguagePicker.js +1 -1
  54. package/components/layout/Layout.js +1 -1
  55. package/components/layout/NavigationGroup.js +1 -1
  56. package/components/list/CollapsibleList.js +1 -1
  57. package/components/list/List.js +1 -1
  58. package/components/list-item/ListItem.js +1 -1
  59. package/components/menu/Menu.js +1 -1
  60. package/components/menu/MenuItem.js +1 -1
  61. package/components/nested-data-table/NestedDataTable.js +1 -1
  62. package/components/nested-data-table/_Filter.js +1 -1
  63. package/components/nested-data-table/_TableData.js +1 -1
  64. package/components/pivot-table/PivotTable.js +1 -1
  65. package/components/progress-bar/ProgressBar.js +1 -1
  66. package/components/radio/Radio.js +1 -1
  67. package/components/rest-state/RestState.js +1 -1
  68. package/components/rich-card-select/RichCardStateSelect.js +1 -1
  69. package/components/rich-checkbox/RichCheckbox.js +1 -1
  70. package/components/rich-radio/RichRadio.d.ts +5 -5
  71. package/components/rich-radio/RichRadio.js +1 -1
  72. package/components/section/HSection.js +1 -1
  73. package/components/section/VSection.js +1 -1
  74. package/components/section/_SectionHeader.js +1 -1
  75. package/components/section/_SectionInnerWrapper.js +1 -1
  76. package/components/select/LanguageSelect.js +1 -1
  77. package/components/select/_StyledReactSelect.js +1 -1
  78. package/components/simple-table/SimpleTable.js +1 -1
  79. package/components/simple-table/SimpleTableRow.js +1 -1
  80. package/components/skeleton/Skeleton.js +1 -1
  81. package/components/slide-over/SlideOver.js +1 -1
  82. package/components/spinner/Spinner.js +1 -1
  83. package/components/stack/Stack.js +1 -1
  84. package/components/switch/Switch.d.ts +3 -3
  85. package/components/switch/Switch.js +1 -1
  86. package/components/table/TableRow.js +1 -1
  87. package/components/table/TableRowCollapse.js +1 -1
  88. package/components/tabs/Tabs.js +1 -1
  89. package/components/tag/Tag.js +1 -1
  90. package/components/text/Text.js +1 -1
  91. package/components/text-avatar/TextAvatar.js +1 -1
  92. package/components/textarea/Textarea.js +1 -1
  93. package/components/theme-select/ThemeSelect.js +1 -1
  94. package/components/thumbnail/Thumbnail.js +1 -1
  95. package/components/toast/Toast.js +1 -1
  96. package/components/toast/ToastContext.js +1 -1
  97. package/components/toggle/Toggle.js +1 -1
  98. package/components/tooltip/Tooltip.js +1 -1
  99. package/components/ui/alert-dialog.js +1 -1
  100. package/components/ui/avatar.js +1 -1
  101. package/components/ui/card.js +1 -1
  102. package/components/ui/checkbox.js +1 -1
  103. package/components/ui/dialog.js +1 -1
  104. package/components/ui/dropdown-menu.js +1 -1
  105. package/components/ui/input.js +1 -1
  106. package/components/ui/popover.js +1 -1
  107. package/components/ui/progress.js +1 -1
  108. package/components/ui/radio-group.js +1 -1
  109. package/components/ui/select.js +1 -1
  110. package/components/ui/separator.js +1 -1
  111. package/components/ui/sheet.d.ts +1 -1
  112. package/components/ui/sheet.js +1 -1
  113. package/components/ui/skeleton.js +1 -1
  114. package/components/ui/switch.js +1 -1
  115. package/components/ui/tabs.js +1 -1
  116. package/components/ui/textarea.js +1 -1
  117. package/components/ui/tooltip.js +1 -1
  118. package/package.json +1 -1
  119. package/pivot-table.css +13 -0
  120. package/reset.css +459 -457
  121. package/table-theme-overrides.css +3 -0
  122. package/tailwind.css +19 -1
  123. package/tsconfig.tsbuildinfo +1 -1
  124. package/utils/cn.d.ts +2 -6
  125. package/utils/cn.js +1 -1
package/reset.css CHANGED
@@ -1,537 +1,538 @@
1
1
  /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
2
2
 
3
- /* Document
3
+ @layer base {
4
+ /* Document
4
5
  ========================================================================== */
5
6
 
6
- /**
7
+ /**
7
8
  * 1. Correct the line height in all browsers.
8
9
  * 2. Prevent adjustments of font size after orientation changes in iOS.
9
10
  */
10
11
 
11
- html {
12
- line-height: 1.15;
13
- /* 1 */
14
- -webkit-text-size-adjust: 100%;
15
- /* 2 */
16
- }
12
+ html {
13
+ line-height: 1.15;
14
+ /* 1 */
15
+ -webkit-text-size-adjust: 100%;
16
+ /* 2 */
17
+ }
17
18
 
18
- /* Sections
19
+ /* Sections
19
20
  ========================================================================== */
20
21
 
21
- /**
22
+ /**
22
23
  * Remove the margin in all browsers.
23
24
  */
24
25
 
25
- body {
26
- margin: 0;
27
- }
26
+ body {
27
+ margin: 0;
28
+ }
28
29
 
29
- /**
30
+ /**
30
31
  * Render the `main` element consistently in IE.
31
32
  */
32
33
 
33
- main {
34
- display: block;
35
- }
34
+ main {
35
+ display: block;
36
+ }
36
37
 
37
- /**
38
+ /**
38
39
  * Correct the font size and margin on `h1` elements within `section` and
39
40
  * `article` contexts in Chrome, Firefox, and Safari.
40
41
  */
41
42
 
42
- h1 {
43
- font-size: 2em;
44
- margin: 0.67em 0;
45
- }
43
+ h1 {
44
+ font-size: 2em;
45
+ margin: 0.67em 0;
46
+ }
46
47
 
47
- /* Grouping content
48
+ /* Grouping content
48
49
  ========================================================================== */
49
50
 
50
- /**
51
+ /**
51
52
  * 1. Add the correct box sizing in Firefox.
52
53
  * 2. Show the overflow in Edge and IE.
53
54
  */
54
55
 
55
- hr {
56
- box-sizing: content-box;
57
- /* 1 */
58
- height: 0;
59
- /* 1 */
60
- overflow: visible;
61
- /* 2 */
62
- }
56
+ hr {
57
+ box-sizing: content-box;
58
+ /* 1 */
59
+ height: 0;
60
+ /* 1 */
61
+ overflow: visible;
62
+ /* 2 */
63
+ }
63
64
 
64
- /**
65
+ /**
65
66
  * 1. Correct the inheritance and scaling of font size in all browsers.
66
67
  * 2. Correct the odd `em` font sizing in all browsers.
67
68
  */
68
69
 
69
- pre {
70
- font-family: monospace, monospace;
71
- /* 1 */
72
- font-size: 1em;
73
- /* 2 */
74
- }
70
+ pre {
71
+ font-family: monospace, monospace;
72
+ /* 1 */
73
+ font-size: 1em;
74
+ /* 2 */
75
+ }
75
76
 
76
- /* Text-level semantics
77
+ /* Text-level semantics
77
78
  ========================================================================== */
78
79
 
79
- /**
80
+ /**
80
81
  * Remove the gray background on active links in IE 10.
81
82
  */
82
83
 
83
- a {
84
- background-color: transparent;
85
- }
84
+ a {
85
+ background-color: transparent;
86
+ }
86
87
 
87
- /**
88
+ /**
88
89
  * 1. Remove the bottom border in Chrome 57-
89
90
  * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
90
91
  */
91
92
 
92
- abbr[title] {
93
- border-bottom: none;
94
- /* 1 */
95
- text-decoration: underline;
96
- /* 2 */
97
- -webkit-text-decoration: underline dotted;
98
- text-decoration: underline dotted;
99
- /* 2 */
100
- }
93
+ abbr[title] {
94
+ border-bottom: none;
95
+ /* 1 */
96
+ text-decoration: underline;
97
+ /* 2 */
98
+ -webkit-text-decoration: underline dotted;
99
+ text-decoration: underline dotted;
100
+ /* 2 */
101
+ }
101
102
 
102
- /**
103
+ /**
103
104
  * Add the correct font weight in Chrome, Edge, and Safari.
104
105
  */
105
106
 
106
- b,
107
- strong {
108
- font-weight: bolder;
109
- }
107
+ b,
108
+ strong {
109
+ font-weight: bolder;
110
+ }
110
111
 
111
- /**
112
+ /**
112
113
  * 1. Correct the inheritance and scaling of font size in all browsers.
113
114
  * 2. Correct the odd `em` font sizing in all browsers.
114
115
  */
115
116
 
116
- code,
117
- kbd,
118
- samp {
119
- font-family: monospace, monospace;
120
- /* 1 */
121
- font-size: 1em;
122
- /* 2 */
123
- }
117
+ code,
118
+ kbd,
119
+ samp {
120
+ font-family: monospace, monospace;
121
+ /* 1 */
122
+ font-size: 1em;
123
+ /* 2 */
124
+ }
124
125
 
125
- /**
126
+ /**
126
127
  * Add the correct font size in all browsers.
127
128
  */
128
129
 
129
- small {
130
- font-size: 80%;
131
- }
130
+ small {
131
+ font-size: 80%;
132
+ }
132
133
 
133
- /**
134
+ /**
134
135
  * Prevent `sub` and `sup` elements from affecting the line height in
135
136
  * all browsers.
136
137
  */
137
138
 
138
- sub,
139
- sup {
140
- font-size: 75%;
141
- line-height: 0;
142
- position: relative;
143
- vertical-align: baseline;
144
- }
139
+ sub,
140
+ sup {
141
+ font-size: 75%;
142
+ line-height: 0;
143
+ position: relative;
144
+ vertical-align: baseline;
145
+ }
145
146
 
146
- sub {
147
- bottom: -0.25em;
148
- }
147
+ sub {
148
+ bottom: -0.25em;
149
+ }
149
150
 
150
- sup {
151
- top: -0.5em;
152
- }
151
+ sup {
152
+ top: -0.5em;
153
+ }
153
154
 
154
- /* Embedded content
155
+ /* Embedded content
155
156
  ========================================================================== */
156
157
 
157
- /**
158
+ /**
158
159
  * Remove the border on images inside links in IE 10.
159
160
  */
160
161
 
161
- img {
162
- border-style: none;
163
- }
162
+ img {
163
+ border-style: none;
164
+ }
164
165
 
165
- /* Forms
166
+ /* Forms
166
167
  ========================================================================== */
167
168
 
168
- /**
169
+ /**
169
170
  * 1. Change the font styles in all browsers.
170
171
  * 2. Remove the margin in Firefox and Safari.
171
172
  */
172
173
 
173
- button,
174
- input,
175
- optgroup,
176
- select,
177
- textarea {
178
- font-family: inherit;
179
- /* 1 */
180
- font-size: 100%;
181
- /* 1 */
182
- line-height: 1.15;
183
- /* 1 */
184
- margin: 0;
185
- /* 2 */
186
- }
187
-
188
- /**
174
+ button,
175
+ input,
176
+ optgroup,
177
+ select,
178
+ textarea {
179
+ font-family: inherit;
180
+ /* 1 */
181
+ font-size: 100%;
182
+ /* 1 */
183
+ line-height: 1.15;
184
+ /* 1 */
185
+ margin: 0;
186
+ /* 2 */
187
+ }
188
+
189
+ /**
189
190
  * Show the overflow in IE.
190
191
  * 1. Show the overflow in Edge.
191
192
  */
192
193
 
193
- button,
194
- input {
195
- /* 1 */
196
- overflow: visible;
197
- }
194
+ button,
195
+ input {
196
+ /* 1 */
197
+ overflow: visible;
198
+ }
198
199
 
199
- /**
200
+ /**
200
201
  * Remove the inheritance of text transform in Edge, Firefox, and IE.
201
202
  * 1. Remove the inheritance of text transform in Firefox.
202
203
  */
203
204
 
204
- button,
205
- select {
206
- /* 1 */
207
- text-transform: none;
208
- }
205
+ button,
206
+ select {
207
+ /* 1 */
208
+ text-transform: none;
209
+ }
209
210
 
210
- /**
211
+ /**
211
212
  * Correct the inability to style clickable types in iOS and Safari.
212
213
  */
213
214
 
214
- button,
215
- [type='button'],
216
- [type='reset'],
217
- [type='submit'] {
218
- -webkit-appearance: button;
219
- }
215
+ button,
216
+ [type='button'],
217
+ [type='reset'],
218
+ [type='submit'] {
219
+ -webkit-appearance: button;
220
+ }
220
221
 
221
- /**
222
+ /**
222
223
  * Remove the inner border and padding in Firefox.
223
224
  */
224
225
 
225
- button::-moz-focus-inner,
226
- [type='button']::-moz-focus-inner,
227
- [type='reset']::-moz-focus-inner,
228
- [type='submit']::-moz-focus-inner {
229
- border-style: none;
230
- padding: 0;
231
- }
226
+ button::-moz-focus-inner,
227
+ [type='button']::-moz-focus-inner,
228
+ [type='reset']::-moz-focus-inner,
229
+ [type='submit']::-moz-focus-inner {
230
+ border-style: none;
231
+ padding: 0;
232
+ }
232
233
 
233
- /**
234
+ /**
234
235
  * Restore the focus styles unset by the previous rule.
235
236
  */
236
237
 
237
- button:-moz-focusring,
238
- [type='button']:-moz-focusring,
239
- [type='reset']:-moz-focusring,
240
- [type='submit']:-moz-focusring {
241
- outline: 1px dotted ButtonText;
242
- }
238
+ button:-moz-focusring,
239
+ [type='button']:-moz-focusring,
240
+ [type='reset']:-moz-focusring,
241
+ [type='submit']:-moz-focusring {
242
+ outline: 1px dotted ButtonText;
243
+ }
243
244
 
244
- /**
245
+ /**
245
246
  * Correct the padding in Firefox.
246
247
  */
247
248
 
248
- fieldset {
249
- padding: 0.35em 0.75em 0.625em;
250
- }
249
+ fieldset {
250
+ padding: 0.35em 0.75em 0.625em;
251
+ }
251
252
 
252
- /**
253
+ /**
253
254
  * 1. Correct the text wrapping in Edge and IE.
254
255
  * 2. Correct the color inheritance from `fieldset` elements in IE.
255
256
  * 3. Remove the padding so developers are not caught out when they zero out
256
257
  * `fieldset` elements in all browsers.
257
258
  */
258
259
 
259
- legend {
260
- box-sizing: border-box;
261
- /* 1 */
262
- color: inherit;
263
- /* 2 */
264
- display: table;
265
- /* 1 */
266
- max-width: 100%;
267
- /* 1 */
268
- padding: 0;
269
- /* 3 */
270
- white-space: normal;
271
- /* 1 */
272
- }
273
-
274
- /**
260
+ legend {
261
+ box-sizing: border-box;
262
+ /* 1 */
263
+ color: inherit;
264
+ /* 2 */
265
+ display: table;
266
+ /* 1 */
267
+ max-width: 100%;
268
+ /* 1 */
269
+ padding: 0;
270
+ /* 3 */
271
+ white-space: normal;
272
+ /* 1 */
273
+ }
274
+
275
+ /**
275
276
  * Add the correct vertical alignment in Chrome, Firefox, and Opera.
276
277
  */
277
278
 
278
- progress {
279
- vertical-align: baseline;
280
- }
279
+ progress {
280
+ vertical-align: baseline;
281
+ }
281
282
 
282
- /**
283
+ /**
283
284
  * Remove the default vertical scrollbar in IE 10+.
284
285
  */
285
286
 
286
- textarea {
287
- overflow: auto;
288
- }
287
+ textarea {
288
+ overflow: auto;
289
+ }
289
290
 
290
- /**
291
+ /**
291
292
  * 1. Add the correct box sizing in IE 10.
292
293
  * 2. Remove the padding in IE 10.
293
294
  */
294
295
 
295
- [type='checkbox'],
296
- [type='radio'] {
297
- box-sizing: border-box;
298
- /* 1 */
299
- padding: 0;
300
- /* 2 */
301
- }
296
+ [type='checkbox'],
297
+ [type='radio'] {
298
+ box-sizing: border-box;
299
+ /* 1 */
300
+ padding: 0;
301
+ /* 2 */
302
+ }
302
303
 
303
- /**
304
+ /**
304
305
  * Correct the cursor style of increment and decrement buttons in Chrome.
305
306
  */
306
307
 
307
- [type='number']::-webkit-inner-spin-button,
308
- [type='number']::-webkit-outer-spin-button {
309
- height: auto;
310
- }
308
+ [type='number']::-webkit-inner-spin-button,
309
+ [type='number']::-webkit-outer-spin-button {
310
+ height: auto;
311
+ }
311
312
 
312
- /**
313
+ /**
313
314
  * 1. Correct the odd appearance in Chrome and Safari.
314
315
  * 2. Correct the outline style in Safari.
315
316
  */
316
317
 
317
- [type='search'] {
318
- -webkit-appearance: textfield;
319
- /* 1 */
320
- outline-offset: -2px;
321
- /* 2 */
322
- }
318
+ [type='search'] {
319
+ -webkit-appearance: textfield;
320
+ /* 1 */
321
+ outline-offset: -2px;
322
+ /* 2 */
323
+ }
323
324
 
324
- /**
325
+ /**
325
326
  * Remove the inner padding in Chrome and Safari on macOS.
326
327
  */
327
328
 
328
- [type='search']::-webkit-search-decoration {
329
- -webkit-appearance: none;
330
- }
329
+ [type='search']::-webkit-search-decoration {
330
+ -webkit-appearance: none;
331
+ }
331
332
 
332
- /**
333
+ /**
333
334
  * 1. Correct the inability to style clickable types in iOS and Safari.
334
335
  * 2. Change font properties to `inherit` in Safari.
335
336
  */
336
337
 
337
- ::-webkit-file-upload-button {
338
- -webkit-appearance: button;
339
- /* 1 */
340
- font: inherit;
341
- /* 2 */
342
- }
338
+ ::-webkit-file-upload-button {
339
+ -webkit-appearance: button;
340
+ /* 1 */
341
+ font: inherit;
342
+ /* 2 */
343
+ }
343
344
 
344
- /* Interactive
345
+ /* Interactive
345
346
  ========================================================================== */
346
347
 
347
- /*
348
+ /*
348
349
  * Add the correct display in Edge, IE 10+, and Firefox.
349
350
  */
350
351
 
351
- details {
352
- display: block;
353
- }
352
+ details {
353
+ display: block;
354
+ }
354
355
 
355
- /*
356
+ /*
356
357
  * Add the correct display in all browsers.
357
358
  */
358
359
 
359
- summary {
360
- display: list-item;
361
- }
360
+ summary {
361
+ display: list-item;
362
+ }
362
363
 
363
- /* Misc
364
+ /* Misc
364
365
  ========================================================================== */
365
366
 
366
- /**
367
+ /**
367
368
  * Add the correct display in IE 10+.
368
369
  */
369
370
 
370
- template {
371
- display: none;
372
- }
371
+ template {
372
+ display: none;
373
+ }
373
374
 
374
- /**
375
+ /**
375
376
  * Add the correct display in IE 10.
376
377
  */
377
378
 
378
- [hidden] {
379
- display: none;
380
- }
379
+ [hidden] {
380
+ display: none;
381
+ }
381
382
 
382
- /**
383
+ /**
383
384
  * Manually forked from SUIT CSS Base: https://github.com/suitcss/base
384
385
  * A thin layer on top of normalize.css that provides a starting point more
385
386
  * suitable for web applications.
386
387
  */
387
388
 
388
- /**
389
+ /**
389
390
  * 1. Prevent padding and border from affecting element width
390
391
  * https://goo.gl/pYtbK7
391
392
  * 2. Change the default font family in all browsers (opinionated)
392
393
  */
393
394
 
394
- html {
395
- box-sizing: border-box;
396
- /* 1 */
397
- font-family: sans-serif;
398
- /* 2 */
399
- }
395
+ html {
396
+ box-sizing: border-box;
397
+ /* 1 */
398
+ font-family: sans-serif;
399
+ /* 2 */
400
+ }
400
401
 
401
- *,
402
- *::before,
403
- *::after {
404
- box-sizing: inherit;
405
- }
402
+ *,
403
+ *::before,
404
+ *::after {
405
+ box-sizing: inherit;
406
+ }
406
407
 
407
- /**
408
+ /**
408
409
  * Removes the default spacing and border for appropriate elements.
409
410
  */
410
411
 
411
- blockquote,
412
- dl,
413
- dd,
414
- h1,
415
- h2,
416
- h3,
417
- h4,
418
- h5,
419
- h6,
420
- hr,
421
- figure,
422
- p,
423
- pre {
424
- margin: 0;
425
- }
426
-
427
- button {
428
- background: transparent;
429
- padding: 0;
430
- }
431
-
432
- /**
412
+ blockquote,
413
+ dl,
414
+ dd,
415
+ h1,
416
+ h2,
417
+ h3,
418
+ h4,
419
+ h5,
420
+ h6,
421
+ hr,
422
+ figure,
423
+ p,
424
+ pre {
425
+ margin: 0;
426
+ }
427
+
428
+ button {
429
+ background: transparent;
430
+ padding: 0;
431
+ }
432
+
433
+ /**
433
434
  * Work around a Firefox/IE bug where the transparent `button` background
434
435
  * results in a loss of the default `button` focus styles.
435
436
  */
436
437
 
437
- button:focus {
438
- outline: 1px dotted;
439
- outline: 5px auto -webkit-focus-ring-color;
440
- }
438
+ button:focus {
439
+ outline: 1px dotted;
440
+ outline: 5px auto -webkit-focus-ring-color;
441
+ }
441
442
 
442
- fieldset {
443
- margin: 0;
444
- padding: 0;
445
- }
443
+ fieldset {
444
+ margin: 0;
445
+ padding: 0;
446
+ }
446
447
 
447
- ol,
448
- ul {
449
- list-style: none;
450
- margin: 0;
451
- padding: 0;
452
- }
448
+ ol,
449
+ ul {
450
+ list-style: none;
451
+ margin: 0;
452
+ padding: 0;
453
+ }
453
454
 
454
- /**
455
+ /**
455
456
  * Tailwind custom reset styles
456
457
  */
457
458
 
458
- /**
459
+ /**
459
460
  * 1. Use the system font stack as a sane default.
460
461
  * 2. Use Tailwind's default "normal" line-height so the user isn't forced
461
462
  * to override it to ensure consistency even when using the default theme.
462
463
  */
463
464
 
464
- html {
465
- font-family:
466
- -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
467
- Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
468
- 'Segoe UI Symbol', 'Noto Color Emoji';
469
- /* 1 */
470
- line-height: 1.5;
471
- /* 2 */
472
- }
465
+ html {
466
+ font-family:
467
+ -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
468
+ Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
469
+ 'Segoe UI Symbol', 'Noto Color Emoji';
470
+ /* 1 */
471
+ line-height: 1.5;
472
+ /* 2 */
473
+ }
473
474
 
474
- /**
475
+ /**
475
476
  * The border reset (*, *::before, *::after { border-width: 0; border-style: solid; })
476
477
  * is handled by Tailwind v4's @layer base (via `@import 'tailwindcss'`).
477
478
  * Defining it here as unlayered CSS would override all @layer utilities,
478
479
  * breaking border utility classes like `border-r`, `border-t`, etc.
479
480
  */
480
481
 
481
- textarea {
482
- resize: vertical;
483
- }
484
-
485
- input:-ms-input-placeholder,
486
- textarea:-ms-input-placeholder {
487
- color: #a0aec0;
488
- }
489
-
490
- input::-ms-input-placeholder,
491
- textarea::-ms-input-placeholder {
492
- color: #a0aec0;
493
- }
494
-
495
- input::placeholder,
496
- textarea::placeholder {
497
- color: #a0aec0;
498
- }
499
-
500
- button:not([disabled]),
501
- [role='button']:not([disabled]) {
502
- cursor: pointer;
503
- }
504
-
505
- button[disabled],
506
- [role='button'][disabled] {
507
- cursor: not-allowed;
508
- }
509
-
510
- table {
511
- border-collapse: collapse;
512
- }
513
-
514
- h1,
515
- h2,
516
- h3,
517
- h4,
518
- h5,
519
- h6 {
520
- font-size: inherit;
521
- font-weight: inherit;
522
- }
523
-
524
- /**
482
+ textarea {
483
+ resize: vertical;
484
+ }
485
+
486
+ input:-ms-input-placeholder,
487
+ textarea:-ms-input-placeholder {
488
+ color: #a0aec0;
489
+ }
490
+
491
+ input::-ms-input-placeholder,
492
+ textarea::-ms-input-placeholder {
493
+ color: #a0aec0;
494
+ }
495
+
496
+ input::placeholder,
497
+ textarea::placeholder {
498
+ color: #a0aec0;
499
+ }
500
+
501
+ button:not([disabled]),
502
+ [role='button']:not([disabled]) {
503
+ cursor: pointer;
504
+ }
505
+
506
+ button[disabled],
507
+ [role='button'][disabled] {
508
+ cursor: not-allowed;
509
+ }
510
+
511
+ table {
512
+ border-collapse: collapse;
513
+ }
514
+
515
+ h1,
516
+ h2,
517
+ h3,
518
+ h4,
519
+ h5,
520
+ h6 {
521
+ font-size: inherit;
522
+ font-weight: inherit;
523
+ }
524
+
525
+ /**
525
526
  * Reset links to optimize for opt-in styling instead of
526
527
  * opt-out.
527
528
  */
528
529
 
529
- a {
530
- color: inherit;
531
- text-decoration: inherit;
532
- }
530
+ a {
531
+ color: inherit;
532
+ text-decoration: inherit;
533
+ }
533
534
 
534
- /**
535
+ /**
535
536
  * Reset form element properties that are easy to forget to
536
537
  * style explicitly so you don't inadvertently introduce
537
538
  * styles that deviate from your design system. These styles
@@ -539,32 +540,32 @@ a {
539
540
  * normalize.css.
540
541
  */
541
542
 
542
- button,
543
- input,
544
- optgroup,
545
- select,
546
- textarea {
547
- padding: 0;
548
- line-height: inherit;
549
- color: inherit;
550
- }
543
+ button,
544
+ input,
545
+ optgroup,
546
+ select,
547
+ textarea {
548
+ padding: 0;
549
+ line-height: inherit;
550
+ color: inherit;
551
+ }
551
552
 
552
- /**
553
+ /**
553
554
  * Use the configured 'mono' font family for elements that
554
555
  * are expected to be rendered with a monospace font, falling
555
556
  * back to the system monospace stack if there is no configured
556
557
  * 'mono' font family.
557
558
  */
558
559
 
559
- pre,
560
- code,
561
- kbd,
562
- samp {
563
- font-family:
564
- Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
565
- }
560
+ pre,
561
+ code,
562
+ kbd,
563
+ samp {
564
+ font-family:
565
+ Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
566
+ }
566
567
 
567
- /**
568
+ /**
568
569
  * Make replaced elements `display: block` by default as that's
569
570
  * the behavior you want almost all of the time. Inspired by
570
571
  * CSS Remedy, with `svg` added as well.
@@ -572,119 +573,120 @@ samp {
572
573
  * https://github.com/mozdevs/cssremedy/issues/14
573
574
  */
574
575
 
575
- img,
576
- svg,
577
- video,
578
- canvas,
579
- audio,
580
- iframe,
581
- embed,
582
- object {
583
- display: block;
584
- vertical-align: middle;
585
- }
576
+ img,
577
+ svg,
578
+ video,
579
+ canvas,
580
+ audio,
581
+ iframe,
582
+ embed,
583
+ object {
584
+ display: block;
585
+ vertical-align: middle;
586
+ }
586
587
 
587
- /**
588
+ /**
588
589
  * Constrain images and videos to the parent width and preserve
589
590
  * their instrinsic aspect ratio.
590
591
  *
591
592
  * https://github.com/mozdevs/cssremedy/issues/14
592
593
  */
593
594
 
594
- img,
595
- video {
596
- max-width: 100%;
597
- height: auto;
598
- }
599
-
600
- /* https://andy-bell.co.uk/a-more-modern-css-reset */
601
-
602
- /* Box sizing rules */
603
- *,
604
- *::before,
605
- *::after {
606
- box-sizing: border-box;
607
- }
608
-
609
- /* Prevent font size inflation */
610
- html {
611
- -moz-text-size-adjust: none;
612
- -webkit-text-size-adjust: none;
613
- text-size-adjust: none;
614
- }
615
-
616
- /* Remove default margin in favour of better control in authored CSS */
617
- body,
618
- h1,
619
- h2,
620
- h3,
621
- h4,
622
- p,
623
- figure,
624
- blockquote,
625
- dl,
626
- dd {
627
- margin: 0;
628
- }
629
-
630
- /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
631
- ul[role='list'],
632
- ol[role='list'] {
633
- list-style: none;
634
- }
635
-
636
- /* Set core body defaults */
637
- body {
638
- min-height: 100vh;
639
- line-height: 1.5;
640
- }
641
-
642
- /* Set shorter line heights on headings and interactive elements */
643
- h1,
644
- h2,
645
- h3,
646
- h4,
647
- button,
648
- input,
649
- label {
650
- line-height: 1.1;
651
- }
652
-
653
- /* Balance text wrapping on headings */
654
- h1,
655
- h2,
656
- h3,
657
- h4 {
658
- text-wrap: balance;
659
- }
660
-
661
- /* A elements that don't have a class get default styles */
662
- a:not([class]) {
663
- text-decoration-skip-ink: auto;
664
- color: currentColor;
665
- }
666
-
667
- /* Make images easier to work with */
668
- img,
669
- picture {
670
- max-width: 100%;
671
- display: block;
672
- }
673
-
674
- /* Inherit fonts for inputs and buttons */
675
- input,
676
- button,
677
- textarea,
678
- select {
679
- font: inherit;
680
- }
681
-
682
- /* Make sure textareas without a rows attribute are not tiny */
683
- textarea:not([rows]) {
684
- min-height: 10em;
685
- }
686
-
687
- /* Anything that has been anchored to should have extra scroll margin */
688
- :target {
689
- scroll-margin-block: 5ex;
690
- }
595
+ img,
596
+ video {
597
+ max-width: 100%;
598
+ height: auto;
599
+ }
600
+
601
+ /* https://andy-bell.co.uk/a-more-modern-css-reset */
602
+
603
+ /* Box sizing rules */
604
+ *,
605
+ *::before,
606
+ *::after {
607
+ box-sizing: border-box;
608
+ }
609
+
610
+ /* Prevent font size inflation */
611
+ html {
612
+ -moz-text-size-adjust: none;
613
+ -webkit-text-size-adjust: none;
614
+ text-size-adjust: none;
615
+ }
616
+
617
+ /* Remove default margin in favour of better control in authored CSS */
618
+ body,
619
+ h1,
620
+ h2,
621
+ h3,
622
+ h4,
623
+ p,
624
+ figure,
625
+ blockquote,
626
+ dl,
627
+ dd {
628
+ margin: 0;
629
+ }
630
+
631
+ /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
632
+ ul[role='list'],
633
+ ol[role='list'] {
634
+ list-style: none;
635
+ }
636
+
637
+ /* Set core body defaults */
638
+ body {
639
+ min-height: 100vh;
640
+ line-height: 1.5;
641
+ }
642
+
643
+ /* Set shorter line heights on headings and interactive elements */
644
+ h1,
645
+ h2,
646
+ h3,
647
+ h4,
648
+ button,
649
+ input,
650
+ label {
651
+ line-height: 1.1;
652
+ }
653
+
654
+ /* Balance text wrapping on headings */
655
+ h1,
656
+ h2,
657
+ h3,
658
+ h4 {
659
+ text-wrap: balance;
660
+ }
661
+
662
+ /* A elements that don't have a class get default styles */
663
+ a:not([class]) {
664
+ text-decoration-skip-ink: auto;
665
+ color: currentColor;
666
+ }
667
+
668
+ /* Make images easier to work with */
669
+ img,
670
+ picture {
671
+ max-width: 100%;
672
+ display: block;
673
+ }
674
+
675
+ /* Inherit fonts for inputs and buttons */
676
+ input,
677
+ button,
678
+ textarea,
679
+ select {
680
+ font: inherit;
681
+ }
682
+
683
+ /* Make sure textareas without a rows attribute are not tiny */
684
+ textarea:not([rows]) {
685
+ min-height: 10em;
686
+ }
687
+
688
+ /* Anything that has been anchored to should have extra scroll margin */
689
+ :target {
690
+ scroll-margin-block: 5ex;
691
+ }
692
+ } /* end @layer base */