@scalewing/react 1.64.0 → 1.66.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 (42) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +24 -1
  3. package/dist/components/Checkbox.d.ts +13 -1
  4. package/dist/components/Checkbox.js +6 -2
  5. package/dist/components/Field.js +1 -0
  6. package/dist/components/RadioGroup.d.ts +12 -1
  7. package/dist/components/RadioGroup.js +6 -2
  8. package/dist/components/SiteHeader.d.ts +8 -4
  9. package/dist/components/SiteHeader.js +10 -5
  10. package/dist/components/TaskList.d.ts +21 -2
  11. package/dist/components/TaskList.js +11 -6
  12. package/dist/components/checkbox/checkbox-appearance.d.ts +12 -0
  13. package/dist/components/checkbox/checkbox-appearance.js +16 -0
  14. package/dist/components/field/field-checks.d.ts +1 -1
  15. package/dist/components/field/field-checks.js +18 -1
  16. package/dist/components/field/field-props.d.ts +8 -0
  17. package/dist/components/radio-group/radio-group-description-layout.d.ts +9 -0
  18. package/dist/components/radio-group/radio-group-description-layout.js +11 -0
  19. package/dist/components/site-header/SiteHeaderSearch.d.ts +16 -0
  20. package/dist/components/site-header/SiteHeaderSearch.js +19 -0
  21. package/dist/components/site-header/types.d.ts +24 -0
  22. package/dist/components/site-header/validate.d.ts +1 -1
  23. package/dist/components/site-header/validate.js +22 -1
  24. package/dist/components/task-list/assert-task-list.d.ts +3 -0
  25. package/dist/components/task-list/assert-task-list.js +7 -0
  26. package/dist/css/css-checkbox-tile.d.ts +2 -0
  27. package/dist/css/css-checkbox-tile.js +67 -0
  28. package/dist/css/css-checkbox.js +4 -0
  29. package/dist/css/css-field-read-only.d.ts +2 -0
  30. package/dist/css/css-field-read-only.js +26 -0
  31. package/dist/css/css-field.js +4 -0
  32. package/dist/css/css-radio-group.js +5 -1
  33. package/dist/css/css-site-header-search.d.ts +2 -0
  34. package/dist/css/css-site-header-search.js +336 -0
  35. package/dist/css/css-site-header.js +6 -1
  36. package/dist/css/css-task-list-layout.d.ts +6 -0
  37. package/dist/css/css-task-list-layout.js +67 -0
  38. package/dist/css/css-task-list.js +5 -1
  39. package/dist/index.d.ts +3 -3
  40. package/dist/index.js +2 -2
  41. package/dist/styles.css +378 -0
  42. package/package.json +1 -1
@@ -1,5 +1,6 @@
1
1
  import { typographyVariants } from '@scalewing/tokens';
2
2
  import { checkStrokeIn } from './chevron.js';
3
+ import { cssTaskListLayoutClasses, taskListLayoutClassCatalog, } from './css-task-list-layout.js';
3
4
  const body = typographyVariants.body;
4
5
  const caption = typographyVariants.caption;
5
6
  const label = typographyVariants.label;
@@ -163,7 +164,9 @@ export function cssTaskListClasses() {
163
164
 
164
165
  ${markerRules()}
165
166
 
166
- ${forcedColorRules()}`;
167
+ ${forcedColorRules()}
168
+
169
+ ${cssTaskListLayoutClasses()}`;
167
170
  }
168
171
  export function taskListClassCatalog() {
169
172
  return [
@@ -178,5 +181,6 @@ export function taskListClassCatalog() {
178
181
  'sw-task-list-title',
179
182
  'sw-task-list-detail',
180
183
  'sw-task-list-action',
184
+ ...taskListLayoutClassCatalog(),
181
185
  ];
182
186
  }
package/dist/index.d.ts CHANGED
@@ -14,7 +14,7 @@ export { inspectMarkdown, markdownOmissionKinds, MarkdownView, type MarkdownHead
14
14
  export { ListRow, type ListRowProps } from './components/ListRow.js';
15
15
  export { listGroupVariants, listRowTitleAppearances, listRowTones, listRowValueTones, type ListGroupMaxHeight, type ListGroupVariant, type ListRowTitleAppearance, type ListRowTone, type ListRowValueTone, } from './list-options.js';
16
16
  export { listTileColumnCounts, type ListGroupTileColumns, } from './css/css-list-tiles.js';
17
- export { Checkbox, type CheckboxProps } from './components/Checkbox.js';
17
+ export { Checkbox, checkboxAppearances, type CheckboxAppearance, type CheckboxProps, } from './components/Checkbox.js';
18
18
  export { PasteRows, type PasteRowsColumn, type PasteRowsProps, } from './components/PasteRows.js';
19
19
  export { parsePastedRows, type PastedRows, type PastedRowsDelimiter, pastedRowsDelimiters, } from './components/paste-rows/parse-pasted-rows.js';
20
20
  export { Spinner, type SpinnerProps, type SpinnerSize, } from './components/Spinner.js';
@@ -26,7 +26,7 @@ export { Notice, noticeTones, noticeVariants, type NoticeProps, type NoticeRole,
26
26
  export { Progress, progressTones, type ProgressProps, type ProgressTone, } from './components/Progress.js';
27
27
  export { Tooltip, type TooltipProps, type TooltipRelationship, } from './components/Tooltip.js';
28
28
  export { InfoTip, type InfoTipProps } from './components/InfoTip.js';
29
- export { RadioGroup, type RadioGroupOption, type RadioGroupProps, } from './components/RadioGroup.js';
29
+ export { RadioGroup, radioGroupDescriptionLayouts, type RadioGroupDescriptionLayout, type RadioGroupOption, type RadioGroupProps, } from './components/RadioGroup.js';
30
30
  export { AppHeader, appHeaderAppearances, type AppHeaderAppearance, type AppHeaderProps, } from './components/AppHeader.js';
31
31
  export { Badge, type BadgeProps, type BadgeSize, type BadgeTone, badgeSizes, badgeTones, } from './components/Badge.js';
32
32
  export { BarChart, barChartAppearances, type BarChartAppearance, type BarChartItem, type BarChartProps, type BarChartTone, barChartTones, } from './components/BarChart.js';
@@ -91,7 +91,7 @@ export type { BandElement, BandProps, BandTone, BandWidth, } from './components/
91
91
  export { SiteHeader } from './components/SiteHeader.js';
92
92
  export { DocsLayout } from './components/DocsLayout.js';
93
93
  export type { DocsLayoutGroup, DocsLayoutItem, DocsLayoutLabels, DocsLayoutProps, } from './components/DocsLayout.js';
94
- export type { SiteHeaderItem, SiteHeaderLabels, SiteHeaderProps, SiteHeaderSkipLink, } from './components/SiteHeader.js';
94
+ export type { SiteHeaderItem, SiteHeaderLabels, SiteHeaderProps, SiteHeaderSearchOptions, SiteHeaderSkipLink, } from './components/SiteHeader.js';
95
95
  export { ScreenPreview, screenPreviewFrames, } from './components/ScreenPreview.js';
96
96
  export type { ScreenPreviewFrame, ScreenPreviewProps, } from './components/ScreenPreview.js';
97
97
  export { PreviewGroup } from './components/screen-preview/PreviewGroup.js';
package/dist/index.js CHANGED
@@ -13,7 +13,7 @@ export { inspectMarkdown, markdownOmissionKinds, MarkdownView, } from './compone
13
13
  export { ListRow } from './components/ListRow.js';
14
14
  export { listGroupVariants, listRowTitleAppearances, listRowTones, listRowValueTones, } from './list-options.js';
15
15
  export { listTileColumnCounts, } from './css/css-list-tiles.js';
16
- export { Checkbox } from './components/Checkbox.js';
16
+ export { Checkbox, checkboxAppearances, } from './components/Checkbox.js';
17
17
  export { PasteRows, } from './components/PasteRows.js';
18
18
  export { parsePastedRows, pastedRowsDelimiters, } from './components/paste-rows/parse-pasted-rows.js';
19
19
  export { Spinner, } from './components/Spinner.js';
@@ -25,7 +25,7 @@ export { Notice, noticeTones, noticeVariants, } from './components/Notice.js';
25
25
  export { Progress, progressTones, } from './components/Progress.js';
26
26
  export { Tooltip, } from './components/Tooltip.js';
27
27
  export { InfoTip } from './components/InfoTip.js';
28
- export { RadioGroup, } from './components/RadioGroup.js';
28
+ export { RadioGroup, radioGroupDescriptionLayouts, } from './components/RadioGroup.js';
29
29
  export { AppHeader, appHeaderAppearances, } from './components/AppHeader.js';
30
30
  export { Badge, badgeSizes, badgeTones, } from './components/Badge.js';
31
31
  export { BarChart, barChartAppearances, barChartTones, } from './components/BarChart.js';
package/dist/styles.css CHANGED
@@ -1296,6 +1296,50 @@ body {
1296
1296
  .sw-checkbox-error { color: var(--sw-color-danger); }
1297
1297
  .sw-checkbox-error:empty { position: absolute; }
1298
1298
 
1299
+ .sw-checkbox-tile {
1300
+ border: 1px solid var(--sw-color-border);
1301
+ border-radius: var(--sw-radius-md);
1302
+ box-sizing: border-box;
1303
+ gap: 0;
1304
+ padding: var(--sw-space-2) var(--sw-space-3);
1305
+ position: relative;
1306
+ width: 100%;
1307
+ }
1308
+
1309
+ .sw-checkbox-tile .sw-checkbox-label {
1310
+ min-height: var(--sw-control-sm-min-height);
1311
+ width: 100%;
1312
+ }
1313
+
1314
+ .sw-checkbox-tile .sw-checkbox-label::after {
1315
+ border-radius: inherit;
1316
+ content: '';
1317
+ inset: 0;
1318
+ position: absolute;
1319
+ }
1320
+
1321
+ .sw-checkbox-tile :is(.sw-checkbox-description, .sw-checkbox-error) {
1322
+ padding-inline-start: calc(var(--sw-space-5) + var(--sw-space-2));
1323
+ }
1324
+
1325
+ .sw-checkbox-tile-checked {
1326
+ border-color: var(--sw-color-accent);
1327
+ box-shadow: inset 0 0 0 1px var(--sw-color-accent);
1328
+ }
1329
+
1330
+ .sw-checkbox-tile-invalid {
1331
+ border-color: var(--sw-color-danger);
1332
+ box-shadow: inset 0 0 0 1px var(--sw-color-danger);
1333
+ }
1334
+
1335
+ .sw-checkbox-tile:has(.sw-checkbox-input:disabled) { cursor: not-allowed; }
1336
+
1337
+ @media (forced-colors: active) {
1338
+ .sw-checkbox-tile { border-color: CanvasText; }
1339
+ .sw-checkbox-tile-checked { border-color: Highlight; box-shadow: inset 0 0 0 1px Highlight; }
1340
+ .sw-checkbox-tile-invalid { border-color: Mark; box-shadow: inset 0 0 0 1px Mark; }
1341
+ }
1342
+
1299
1343
  @media (prefers-reduced-transparency: reduce) {
1300
1344
  .sw-checkbox-mark { background: var(--sw-color-surface); }
1301
1345
  .sw-checkbox-input:is(:checked, :indeterminate) + .sw-checkbox-mark { background: var(--sw-color-accent); }
@@ -1462,6 +1506,9 @@ body {
1462
1506
  .sw-radio-group-option-description { flex-basis: 100%; }
1463
1507
  }
1464
1508
 
1509
+ /* Stacked: every description on its own line under its label, at any width. */
1510
+ .sw-radio-group-stacked .sw-radio-group-option-description { flex-basis: 100%; }
1511
+
1465
1512
  .sw-radio-group-description,
1466
1513
  .sw-radio-group-error {
1467
1514
  font-family: var(--sw-font-sans);
@@ -6019,6 +6066,291 @@ html:has(.sw-site-header-sticky) {
6019
6066
  }
6020
6067
  }
6021
6068
 
6069
+ .sw-site-header-search-button,
6070
+ .sw-site-header-search-close {
6071
+ align-items: center;
6072
+ appearance: none;
6073
+ background: transparent;
6074
+ border: 0;
6075
+ border-radius: var(--sw-radius-pill);
6076
+ box-sizing: border-box;
6077
+ color: var(--sw-color-text);
6078
+ cursor: pointer;
6079
+ display: inline-flex;
6080
+ flex: none;
6081
+ height: var(--sw-control-md-min-height);
6082
+ justify-content: center;
6083
+ margin: 0;
6084
+ padding: 0;
6085
+ width: var(--sw-control-md-min-height);
6086
+ }
6087
+
6088
+ .sw-site-header-search-button {
6089
+ margin-inline-start: auto;
6090
+ margin-inline-end: calc(-1 * var(--sw-space-4));
6091
+ }
6092
+
6093
+ .sw-site-header-search-button:hover,
6094
+ .sw-site-header-search-close:hover {
6095
+ background: color-mix(in srgb, var(--sw-color-muted) 16%, transparent);
6096
+ }
6097
+
6098
+ .sw-site-header-search-button:focus-visible,
6099
+ .sw-site-header-search-close:focus-visible {
6100
+ outline: var(--sw-focus-ring-width) solid var(--sw-color-accent);
6101
+ outline-offset: calc(-1 * var(--sw-focus-ring-width));
6102
+ }
6103
+
6104
+ .sw-site-header-bar:has(.sw-site-header-menu[open]) > .sw-site-header-search-button {
6105
+ display: none;
6106
+ }
6107
+
6108
+ /*
6109
+ * With no popover support the closed search would show in the bar below
6110
+ * `lg`, so only the field from `lg` is drawn there.
6111
+ */
6112
+ @supports not selector(:popover-open) {
6113
+ .sw-site-header-search-button,
6114
+ .sw-site-header-search {
6115
+ display: none;
6116
+ }
6117
+
6118
+ @media (min-width: 64rem) {
6119
+ .sw-site-header-search {
6120
+ display: block;
6121
+ flex: 0 1 16rem;
6122
+ margin-inline: auto 0;
6123
+ min-width: 10rem;
6124
+ position: relative;
6125
+ }
6126
+ }
6127
+ }
6128
+
6129
+ .sw-site-header-search:popover-open {
6130
+ background: var(--sw-color-surface);
6131
+ border: 0;
6132
+ box-sizing: border-box;
6133
+ color: var(--sw-color-text);
6134
+ display: flex;
6135
+ flex-direction: column;
6136
+ font-family: var(--sw-font-sans);
6137
+ height: 100dvh;
6138
+ inset: 0;
6139
+ margin: 0;
6140
+ max-height: none;
6141
+ max-width: none;
6142
+ overflow: hidden;
6143
+ padding: env(safe-area-inset-top, 0px) 0 0;
6144
+ width: 100%;
6145
+ }
6146
+
6147
+ .sw-site-header-search-form {
6148
+ align-items: center;
6149
+ border-bottom: 1px solid var(--sw-color-border);
6150
+ box-sizing: border-box;
6151
+ display: flex;
6152
+ flex: none;
6153
+ gap: var(--sw-space-2);
6154
+ margin: 0;
6155
+ min-height: calc(var(--sw-control-md-min-height) + var(--sw-space-3));
6156
+ padding-inline: var(--sw-space-4) var(--sw-space-2);
6157
+ }
6158
+
6159
+ .sw-site-header-search-field {
6160
+ align-items: center;
6161
+ background: color-mix(in srgb, var(--sw-color-muted) 16%, transparent);
6162
+ border: 1px solid transparent;
6163
+ border-radius: var(--sw-radius-pill);
6164
+ box-sizing: border-box;
6165
+ color: var(--sw-color-muted);
6166
+ display: flex;
6167
+ flex: 1 1 auto;
6168
+ gap: var(--sw-space-2);
6169
+ min-height: var(--sw-control-md-min-height);
6170
+ min-width: 0;
6171
+ padding-inline: var(--sw-space-3);
6172
+ }
6173
+
6174
+ .sw-site-header-search-field:focus-within {
6175
+ outline: var(--sw-focus-ring-width) solid var(--sw-color-accent);
6176
+ outline-offset: var(--sw-focus-ring-offset);
6177
+ }
6178
+
6179
+ .sw-site-header-search-icon {
6180
+ display: inline-flex;
6181
+ flex: none;
6182
+ }
6183
+
6184
+ [data-theme] input.sw-site-header-search-input {
6185
+ appearance: none;
6186
+ background: transparent;
6187
+ border: 0;
6188
+ color: var(--sw-color-text);
6189
+ flex: 1 1 auto;
6190
+ font-family: inherit;
6191
+ font-size: 17px;
6192
+ line-height: 25px;
6193
+ margin: 0;
6194
+ min-width: 0;
6195
+ outline: none;
6196
+ padding: 0;
6197
+ }
6198
+
6199
+ [data-theme] input.sw-site-header-search-input:focus-visible {
6200
+ outline: none;
6201
+ }
6202
+
6203
+ [data-theme] input.sw-site-header-search-input::placeholder {
6204
+ color: var(--sw-color-muted);
6205
+ opacity: 1;
6206
+ }
6207
+
6208
+ .sw-site-header-search-results:not([hidden]) {
6209
+ box-sizing: border-box;
6210
+ display: flex;
6211
+ flex: 1 1 auto;
6212
+ flex-direction: column;
6213
+ min-height: 0;
6214
+ overflow-y: auto;
6215
+ padding: var(--sw-space-2) var(--sw-space-4) var(--sw-space-6);
6216
+ }
6217
+
6218
+ .sw-site-header-search-status {
6219
+ color: var(--sw-color-muted);
6220
+ font-size: 13px;
6221
+ line-height: 18px;
6222
+ margin: 0;
6223
+ padding-block: var(--sw-space-2);
6224
+ }
6225
+
6226
+ .sw-site-header-search-status:empty {
6227
+ padding: 0;
6228
+ }
6229
+
6230
+ .sw-site-header-search-list {
6231
+ list-style: none;
6232
+ margin: 0;
6233
+ padding: 0;
6234
+ }
6235
+
6236
+ [data-theme] .sw-site-header-search-result {
6237
+ border-bottom: 1px solid var(--sw-color-border);
6238
+ color: var(--sw-color-text);
6239
+ display: flex;
6240
+ flex-direction: column;
6241
+ gap: var(--sw-space-1);
6242
+ min-height: var(--sw-control-md-min-height);
6243
+ padding-block: var(--sw-space-3);
6244
+ text-decoration: none;
6245
+ }
6246
+
6247
+ [data-theme] .sw-site-header-search-result:focus-visible {
6248
+ outline: var(--sw-focus-ring-width) solid var(--sw-color-accent);
6249
+ outline-offset: calc(-1 * var(--sw-focus-ring-width));
6250
+ }
6251
+
6252
+ .sw-site-header-search-result-title {
6253
+ font-size: 15px;
6254
+ font-weight: 600;
6255
+ letter-spacing: -0.2px;
6256
+ line-height: 20px;
6257
+ }
6258
+
6259
+ .sw-site-header-search-result-text {
6260
+ color: var(--sw-color-muted);
6261
+ font-size: 13px;
6262
+ line-height: 18px;
6263
+ }
6264
+
6265
+ @media (min-width: 64rem) {
6266
+ .sw-site-header-search-button,
6267
+ .sw-site-header-search-close {
6268
+ display: none;
6269
+ }
6270
+
6271
+ .sw-site-header-search[popover]:not(:popover-open) {
6272
+ background: transparent;
6273
+ border: 0;
6274
+ color: inherit;
6275
+ display: block;
6276
+ flex: 0 1 16rem;
6277
+ height: auto;
6278
+ min-width: 10rem;
6279
+ inset: auto;
6280
+ margin-inline: auto 0;
6281
+ max-height: none;
6282
+ max-width: none;
6283
+ overflow: visible;
6284
+ padding: 0;
6285
+ position: relative;
6286
+ width: auto;
6287
+ }
6288
+
6289
+ .sw-site-header-search-form {
6290
+ border: 0;
6291
+ min-height: 0;
6292
+ padding: 0;
6293
+ }
6294
+
6295
+ .sw-site-header-search-field {
6296
+ background: var(--sw-color-surface);
6297
+ border-color: var(--sw-color-border);
6298
+ min-height: var(--sw-control-sm-min-height);
6299
+ }
6300
+
6301
+ [data-theme] input.sw-site-header-search-input {
6302
+ font-size: 15px;
6303
+ line-height: 20px;
6304
+ }
6305
+
6306
+ .sw-site-header-search-results:not([hidden]) {
6307
+ background: var(--sw-color-surface);
6308
+ border: 1px solid var(--sw-color-border);
6309
+ border-radius: var(--sw-radius-lg);
6310
+ box-shadow: var(--sw-elevation-md);
6311
+ inset-inline-end: 0;
6312
+ max-height: min(70vh, 32rem);
6313
+ padding: var(--sw-space-2);
6314
+ position: absolute;
6315
+ top: calc(100% + var(--sw-space-2));
6316
+ width: min(28rem, calc(100vw - 2 * var(--sw-space-5)));
6317
+ z-index: 10;
6318
+ }
6319
+
6320
+ .sw-site-header-search-status {
6321
+ padding-inline: var(--sw-space-3);
6322
+ }
6323
+
6324
+ [data-theme] .sw-site-header-search-result {
6325
+ border: 0;
6326
+ border-radius: var(--sw-radius-md);
6327
+ min-height: 0;
6328
+ padding: var(--sw-space-2) var(--sw-space-3);
6329
+ }
6330
+
6331
+ [data-theme] .sw-site-header-search-result:hover {
6332
+ background: color-mix(in srgb, var(--sw-color-muted) 16%, transparent);
6333
+ }
6334
+ }
6335
+
6336
+ @media (min-width: 64rem) and (pointer: coarse) {
6337
+ .sw-site-header-search-field { min-height: var(--sw-control-md-min-height); }
6338
+ }
6339
+
6340
+ @media (forced-colors: active) {
6341
+ .sw-site-header-search-field,
6342
+ .sw-site-header-search-results:not([hidden]) {
6343
+ border: 1px solid CanvasText;
6344
+ }
6345
+
6346
+ .sw-site-header-search-button,
6347
+ .sw-site-header-search-close {
6348
+ border: 1px solid ButtonText;
6349
+ }
6350
+
6351
+ [data-theme] .sw-site-header-search-result { color: LinkText; }
6352
+ }
6353
+
6022
6354
  /*
6023
6355
  * Forced colours drop box shadows, so the current destination's bar is a
6024
6356
  * thick underline there.
@@ -10262,6 +10594,20 @@ html:has(.sw-site-header-sticky) .sw-docs-layout {
10262
10594
 
10263
10595
  [data-theme] .sw-field-adorned > input:disabled { background: transparent; }
10264
10596
 
10597
+ [data-theme] .sw-field-read-only > :is(input, textarea) {
10598
+ background-color: var(--sw-color-subtle);
10599
+ border-color: transparent;
10600
+ color: var(--sw-color-text);
10601
+ cursor: default;
10602
+ }
10603
+
10604
+ @media (forced-colors: active) {
10605
+ [data-theme] .sw-field-read-only > :is(input, textarea) {
10606
+ border-color: CanvasText;
10607
+ border-style: dotted;
10608
+ }
10609
+ }
10610
+
10265
10611
  .sw-field-adorned.sw-field-search {
10266
10612
  gap: var(--sw-space-2);
10267
10613
  padding-inline-end: 0;
@@ -10948,6 +11294,38 @@ html:has(.sw-site-header-sticky) .sw-docs-layout {
10948
11294
  .sw-task-list-item-waiting .sw-task-list-title { color: GrayText; }
10949
11295
  }
10950
11296
 
11297
+ .sw-task-list-numbered :is(.sw-task-list-item-todo, .sw-task-list-item-next) .sw-task-list-marker {
11298
+ font-family: var(--sw-font-sans);
11299
+ font-size: 13px;
11300
+ font-weight: 600;
11301
+ line-height: 1;
11302
+ }
11303
+
11304
+ .sw-task-list-numbered .sw-task-list-item-todo .sw-task-list-marker {
11305
+ color: var(--sw-color-muted);
11306
+ }
11307
+
11308
+ .sw-task-list-numbered .sw-task-list-item-next .sw-task-list-marker {
11309
+ color: var(--sw-color-accent);
11310
+ }
11311
+
11312
+ .sw-task-list-numbered .sw-task-list-item-next .sw-task-list-marker::after {
11313
+ content: none;
11314
+ }
11315
+
11316
+ @media (forced-colors: active) {
11317
+ .sw-task-list-numbered :is(.sw-task-list-item-todo, .sw-task-list-item-next) .sw-task-list-marker { color: CanvasText; }
11318
+ }
11319
+
11320
+ @media not all and (min-width: 48rem) {
11321
+ .sw-task-list-action-below-md .sw-task-list-action {
11322
+ display: flex;
11323
+ flex-basis: calc(100% - calc(var(--sw-space-5) + var(--sw-space-3)));
11324
+ margin-inline-start: calc(var(--sw-space-5) + var(--sw-space-3));
11325
+ }
11326
+ .sw-task-list-action-below-md .sw-task-list-action > * { flex: 1 1 auto; }
11327
+ }
11328
+
10951
11329
  .sw-split {
10952
11330
  align-items: stretch;
10953
11331
  align-self: start;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scalewing/react",
3
- "version": "1.64.0",
3
+ "version": "1.66.0",
4
4
  "description": "Scalewing DOM components and package-owned CSS utilities.",
5
5
  "type": "module",
6
6
  "license": "MIT",