@scattered-light/loomiere-mojave 0.12.0 → 0.14.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.
- package/dist/exports/design-system/components/CollectionToolbar/README.md +3 -1
- package/dist/exports/design-system/components/DataTable/preview.html +129 -129
- package/dist/exports/design-system/components/Table/README.md +1 -1
- package/dist/exports/design-system/components/bundle.css +165 -62
- package/dist/exports/design-system/components/bundle.js +6 -6
- package/dist/exports/design-system/tokens.json +5 -0
- package/dist/exports/figma.json +1 -1
- package/dist/exports/tailwind.css +13 -0
- package/dist/exports/tokens.dtcg.json +53 -0
- package/dist/tokens.css +24 -0
- package/dist/tokens.d.ts +12 -0
- package/dist/tokens.js +12 -0
- package/dist/tokens.json +103 -0
- package/package.json +2 -2
|
@@ -359,6 +359,7 @@
|
|
|
359
359
|
--color-table-border: var(--sl-table-border-color);
|
|
360
360
|
--color-table-row-border: var(--sl-table-row-border-color);
|
|
361
361
|
--color-table-row-hover: var(--sl-table-row-hover);
|
|
362
|
+
--color-table-row-hover-fg: var(--sl-table-row-hover-color);
|
|
362
363
|
--color-table-row-selected: var(--sl-table-row-selected);
|
|
363
364
|
--color-table-row-current: var(--sl-table-row-current);
|
|
364
365
|
--color-table-group-header: var(--sl-table-group-header-background);
|
|
@@ -1086,6 +1087,7 @@
|
|
|
1086
1087
|
--sl-table-border-color: var(--sl-border-default);
|
|
1087
1088
|
--sl-table-row-border-color: var(--sl-border-subtle);
|
|
1088
1089
|
--sl-table-row-hover: var(--sl-item-background-hover);
|
|
1090
|
+
--sl-table-row-hover-color: var(--sl-item-color-hover);
|
|
1089
1091
|
--sl-table-row-selected: var(--sl-item-background-selected);
|
|
1090
1092
|
--sl-table-row-current: var(--sl-surface-tray);
|
|
1091
1093
|
--sl-table-group-header-background: var(--sl-surface-tray);
|
|
@@ -1098,6 +1100,9 @@
|
|
|
1098
1100
|
--sl-app-bar-border-color: var(--sl-rule-color);
|
|
1099
1101
|
--sl-app-bar-divider-color: var(--sl-border-strong);
|
|
1100
1102
|
--sl-collection-tree-line-color: var(--sl-border-strong);
|
|
1103
|
+
--sl-collection-tree-parent-row-background: var(--sl-table-background);
|
|
1104
|
+
--sl-collection-tree-parent-row-hover: var(--sl-table-row-hover);
|
|
1105
|
+
--sl-collection-disclosure-color: var(--sl-text-primary);
|
|
1101
1106
|
--sl-description-list-row-border-color: var(--sl-border-subtle);
|
|
1102
1107
|
--sl-description-list-label-color: var(--sl-text-secondary);
|
|
1103
1108
|
--sl-description-list-value-color: var(--sl-text-primary);
|
|
@@ -1271,6 +1276,7 @@
|
|
|
1271
1276
|
--sl-table-border-color: var(--sl-border-default);
|
|
1272
1277
|
--sl-table-row-border-color: var(--sl-border-subtle);
|
|
1273
1278
|
--sl-table-row-hover: var(--sl-item-background-hover);
|
|
1279
|
+
--sl-table-row-hover-color: var(--sl-item-color-hover);
|
|
1274
1280
|
--sl-table-row-selected: var(--sl-item-background-selected);
|
|
1275
1281
|
--sl-table-row-current: var(--sl-surface-tray);
|
|
1276
1282
|
--sl-table-group-header-background: var(--sl-surface-tray);
|
|
@@ -1283,6 +1289,9 @@
|
|
|
1283
1289
|
--sl-app-bar-border-color: var(--sl-rule-color);
|
|
1284
1290
|
--sl-app-bar-divider-color: var(--sl-border-strong);
|
|
1285
1291
|
--sl-collection-tree-line-color: var(--sl-border-strong);
|
|
1292
|
+
--sl-collection-tree-parent-row-background: var(--sl-table-background);
|
|
1293
|
+
--sl-collection-tree-parent-row-hover: var(--sl-table-row-hover);
|
|
1294
|
+
--sl-collection-disclosure-color: var(--sl-text-primary);
|
|
1286
1295
|
--sl-description-list-row-border-color: var(--sl-border-subtle);
|
|
1287
1296
|
--sl-description-list-label-color: var(--sl-text-secondary);
|
|
1288
1297
|
--sl-description-list-value-color: var(--sl-text-primary);
|
|
@@ -1456,6 +1465,7 @@
|
|
|
1456
1465
|
--sl-table-border-color: var(--sl-border-default);
|
|
1457
1466
|
--sl-table-row-border-color: var(--sl-border-subtle);
|
|
1458
1467
|
--sl-table-row-hover: var(--sl-item-background-hover);
|
|
1468
|
+
--sl-table-row-hover-color: var(--sl-item-color-hover);
|
|
1459
1469
|
--sl-table-row-selected: var(--sl-item-background-selected);
|
|
1460
1470
|
--sl-table-row-current: var(--sl-surface-tray);
|
|
1461
1471
|
--sl-table-group-header-background: var(--sl-surface-tray);
|
|
@@ -1468,6 +1478,9 @@
|
|
|
1468
1478
|
--sl-app-bar-border-color: var(--sl-rule-color);
|
|
1469
1479
|
--sl-app-bar-divider-color: var(--sl-border-strong);
|
|
1470
1480
|
--sl-collection-tree-line-color: var(--sl-border-strong);
|
|
1481
|
+
--sl-collection-tree-parent-row-background: var(--sl-table-background);
|
|
1482
|
+
--sl-collection-tree-parent-row-hover: var(--sl-table-row-hover);
|
|
1483
|
+
--sl-collection-disclosure-color: var(--sl-text-primary);
|
|
1471
1484
|
--sl-description-list-row-border-color: var(--sl-border-subtle);
|
|
1472
1485
|
--sl-description-list-label-color: var(--sl-text-secondary);
|
|
1473
1486
|
--sl-description-list-value-color: var(--sl-text-primary);
|
|
@@ -8519,6 +8519,11 @@
|
|
|
8519
8519
|
"$value": "{item.background-hover}",
|
|
8520
8520
|
"$description": "Row under the pointer. Same tint as a highlighted menu row."
|
|
8521
8521
|
},
|
|
8522
|
+
"row-hover-color": {
|
|
8523
|
+
"$type": "color",
|
|
8524
|
+
"$value": "{item.color-hover}",
|
|
8525
|
+
"$description": "Text on the row under the pointer. A brand whose hover is only a light tint points it at text.primary so the text does not change."
|
|
8526
|
+
},
|
|
8522
8527
|
"row-selected": {
|
|
8523
8528
|
"$value": "{item.background-selected}",
|
|
8524
8529
|
"$description": "Selected rows. Same tint as the chosen menu row."
|
|
@@ -12193,10 +12198,53 @@
|
|
|
12193
12198
|
"$value": "{border.strong}",
|
|
12194
12199
|
"$description": "The elbow connector from a child row back to its parent, with treeLines."
|
|
12195
12200
|
},
|
|
12201
|
+
"tree-parent-row-background": {
|
|
12202
|
+
"$type": "color",
|
|
12203
|
+
"$value": "{table.background}",
|
|
12204
|
+
"$description": "Fill of a parent row in a tree with treeLines, so a parent reads a step off its children."
|
|
12205
|
+
},
|
|
12206
|
+
"tree-parent-row-hover": {
|
|
12207
|
+
"$type": "color",
|
|
12208
|
+
"$value": "{table.row-hover}",
|
|
12209
|
+
"$description": "A parent row under the pointer, with treeLines. A brand sets it a step darker than table.row-hover so a parent still stands out when hovered."
|
|
12210
|
+
},
|
|
12196
12211
|
"disclosure-size-small": {
|
|
12197
12212
|
"$value": "{space.5}",
|
|
12198
12213
|
"$description": "The expand and collapse button when a table sets disclosure=\"small\", small enough that a parent row keeps its siblings' height."
|
|
12199
12214
|
},
|
|
12215
|
+
"tree-line-offset": {
|
|
12216
|
+
"$value": "{space.2}",
|
|
12217
|
+
"$description": "Where a child's elbow starts, from the start of its level's indent. A brand with a wider tree-indent brings it closer to the parent's text."
|
|
12218
|
+
},
|
|
12219
|
+
"tree-row-height-parent": {
|
|
12220
|
+
"$value": "{collection.row-height-sm}",
|
|
12221
|
+
"$description": "A parent row's height in a table with treeLines, so a register can give its parents a little more room than the rows under them."
|
|
12222
|
+
},
|
|
12223
|
+
"tree-row-height-child": {
|
|
12224
|
+
"$value": "{collection.row-height-sm}",
|
|
12225
|
+
"$description": "A child row's height in a table with treeLines."
|
|
12226
|
+
},
|
|
12227
|
+
"total-row-height-subtotal": {
|
|
12228
|
+
"$value": "{collection.row-height-sm}",
|
|
12229
|
+
"$description": "A subtotal row's height in a table with treeLines."
|
|
12230
|
+
},
|
|
12231
|
+
"total-row-height-grand": {
|
|
12232
|
+
"$value": "{collection.row-height-sm}",
|
|
12233
|
+
"$description": "The grand-total row's height in a table with treeLines."
|
|
12234
|
+
},
|
|
12235
|
+
"disclosure-color": {
|
|
12236
|
+
"$type": "color",
|
|
12237
|
+
"$value": "{text.primary}",
|
|
12238
|
+
"$description": "The small expand button's chevron (disclosure=\"small\"). A brand points it at its accent."
|
|
12239
|
+
},
|
|
12240
|
+
"search-fixed-width": {
|
|
12241
|
+
"$value": "{space.80}",
|
|
12242
|
+
"$description": "The search field's width when the toolbar sets searchWidth=\"fixed\", the most it takes, so a count and a sort note can sit beside it."
|
|
12243
|
+
},
|
|
12244
|
+
"toolbar-frame-padding": {
|
|
12245
|
+
"$value": "{space.3}",
|
|
12246
|
+
"$description": "Padding around the toolbar when it is framed, inside a Sheet above a table that runs edge to edge."
|
|
12247
|
+
},
|
|
12200
12248
|
"list-row-padding-block": {
|
|
12201
12249
|
"$value": "{space.3}",
|
|
12202
12250
|
"$description": "Vertical padding of a list row. The row is not a fixed height, because a second line and an extra slot have to fit."
|
|
@@ -12418,6 +12466,11 @@
|
|
|
12418
12466
|
"$value": "{space.3-5}",
|
|
12419
12467
|
"$description": "Space either side of the tab label's text."
|
|
12420
12468
|
},
|
|
12469
|
+
"tab-text-offset": {
|
|
12470
|
+
"$type": "dimension",
|
|
12471
|
+
"$value": "0px",
|
|
12472
|
+
"$description": "Nudges the tab label down, for a typeface whose caps sit high in the line box. Zero centers the line box."
|
|
12473
|
+
},
|
|
12421
12474
|
"tab-radius": {
|
|
12422
12475
|
"$value": "{radius.sm}",
|
|
12423
12476
|
"$description": "The tab label's top corners. Its bottom corners stay square where it meets the rule."
|
package/dist/tokens.css
CHANGED
|
@@ -795,6 +795,7 @@
|
|
|
795
795
|
--sl-picker-button-max-width: 18rem; /** Widest the button grows. A longer choice is cut with an ellipsis; the label never is. */
|
|
796
796
|
--sl-preview-card-popup-min-width: 300px; /** Narrowest a preview card gets, so a short title still has room for its image. */
|
|
797
797
|
--sl-preview-card-popup-max-width: 450px; /** Widest a preview card gets, so its description keeps a comfortable line length. */
|
|
798
|
+
--sl-sheet-tab-text-offset: 0px; /** Nudges the tab label down, for a typeface whose caps sit high in the line box. Zero centers the line box. */
|
|
798
799
|
--sl-slider-vertical-height: 200px; /** Default length of a vertical slider. */
|
|
799
800
|
--sl-splitter-key-step: 5%; /** One arrow press moves the handle by 5% of the splitter. Dryden used 5%: a nudge you can see, not a jump. */
|
|
800
801
|
--sl-splitter-key-step-large: 10%; /** The Shift step. Twice the arrow step, so a few presses cross the panel without holding the key. */
|
|
@@ -1874,6 +1875,9 @@
|
|
|
1874
1875
|
--sl-badge-dot-base: var(--sl-space-2); /** 8px. The base badge is taller, but the dot stays a mark. */
|
|
1875
1876
|
--sl-collection-tree-indent: var(--sl-space-4); /** How far each deeper level steps in, so a child sits under its parent's text. */
|
|
1876
1877
|
--sl-collection-disclosure-size-small: var(--sl-space-5); /** The expand and collapse button when a table sets disclosure="small", small enough that a parent row keeps its siblings' height. */
|
|
1878
|
+
--sl-collection-tree-line-offset: var(--sl-space-2); /** Where a child's elbow starts, from the start of its level's indent. A brand with a wider tree-indent brings it closer to the parent's text. */
|
|
1879
|
+
--sl-collection-search-fixed-width: var(--sl-space-80); /** The search field's width when the toolbar sets searchWidth="fixed", the most it takes, so a count and a sort note can sit beside it. */
|
|
1880
|
+
--sl-collection-toolbar-frame-padding: var(--sl-space-3); /** Padding around the toolbar when it is framed, inside a Sheet above a table that runs edge to edge. */
|
|
1877
1881
|
--sl-collection-list-row-padding-block: var(--sl-space-3); /** Vertical padding of a list row. The row is not a fixed height, because a second line and an extra slot have to fit. */
|
|
1878
1882
|
--sl-collection-list-row-gap: var(--sl-space-2); /** Between the checkbox, the text, the amount and the actions in a list row. */
|
|
1879
1883
|
--sl-collection-toolbar-gap: var(--sl-space-2); /** Between the search, the filters and the actions. */
|
|
@@ -2278,6 +2282,11 @@
|
|
|
2278
2282
|
--sl-status-level-success-bold-fg: var(--sl-scope-success-on-solid); /** bold in success: solid in success */
|
|
2279
2283
|
--sl-status-level-warning-bold-fg: var(--sl-scope-warning-on-solid); /** bold in warning: solid in warning */
|
|
2280
2284
|
--sl-status-level-error-bold-fg: var(--sl-scope-error-on-solid); /** bold in error: solid in error */
|
|
2285
|
+
--sl-collection-tree-row-height-parent: var(--sl-collection-row-height-sm); /** A parent row's height in a table with treeLines, so a register can give its parents a little more room than the rows under them. */
|
|
2286
|
+
--sl-collection-tree-row-height-child: var(--sl-collection-row-height-sm); /** A child row's height in a table with treeLines. */
|
|
2287
|
+
--sl-collection-total-row-height-subtotal: var(--sl-collection-row-height-sm); /** A subtotal row's height in a table with treeLines. */
|
|
2288
|
+
--sl-collection-total-row-height-grand: var(--sl-collection-row-height-sm); /** The grand-total row's height in a table with treeLines. */
|
|
2289
|
+
--sl-collection-disclosure-color: var(--sl-text-primary); /** The small expand button's chevron (disclosure="small"). A brand points it at its accent. */
|
|
2281
2290
|
--sl-description-list-value-color: var(--sl-text-primary); /** Values. */
|
|
2282
2291
|
--sl-side-nav-item-color: var(--sl-text-primary); /** A row's text. */
|
|
2283
2292
|
--sl-side-nav-toggle-border-color: var(--sl-text-primary); /** The collapse handle's outline and chevron. It fills with this color on hover. */
|
|
@@ -2405,11 +2414,13 @@
|
|
|
2405
2414
|
--sl-popup-background: var(--sl-surface-base); /** Popup fill. */
|
|
2406
2415
|
--sl-popup-arrow-stroke: var(--sl-popup-border-color); /** Arrow edge, continuing the popup's border. */
|
|
2407
2416
|
--sl-table-row-hover: var(--sl-item-background-hover); /** Row under the pointer. Same tint as a highlighted menu row. */
|
|
2417
|
+
--sl-table-row-hover-color: var(--sl-item-color-hover); /** Text on the row under the pointer. A brand whose hover is only a light tint points it at text.primary so the text does not change. */
|
|
2408
2418
|
--sl-table-row-selected: var(--sl-item-background-selected); /** Selected rows. Same tint as the chosen menu row. */
|
|
2409
2419
|
--sl-table-range-border: var(--sl-focus-ring); /** Edge of a range selection and of the focused cell, the same color as every focus ring. */
|
|
2410
2420
|
--sl-table-total-rule-color: var(--sl-rule-color); /** The line above a subtotal or total row and the double line under a grand total. The working-paper rule color, so totals and sheet tops are ruled in the same ink. */
|
|
2411
2421
|
--sl-table-total-background: var(--sl-table-background); /** Fill of a subtotal or grand total row: the cell color, so the rules mark the total instead of a band. The footer's default totals row keeps the header tray. */
|
|
2412
2422
|
--sl-app-bar-border-color: var(--sl-rule-color); /** The line under the bar, in the rule color, so an ink rule brand gets an ink line here too. */
|
|
2423
|
+
--sl-collection-tree-parent-row-background: var(--sl-table-background); /** Fill of a parent row in a tree with treeLines, so a parent reads a step off its children. */
|
|
2413
2424
|
--sl-sheet-rule-color: var(--sl-rule-color); /** The top rule's color: the working-paper rule color, so sheets and ruled tables match. */
|
|
2414
2425
|
--sl-sheet-tab-color: var(--sl-text-on-inverse-surface); /** Text on the tab label. */
|
|
2415
2426
|
--sl-side-nav-indicator-color: var(--sl-rule-color); /** The current row's line: the working-paper rule color, so the nav and the sheets share one ink. */
|
|
@@ -2418,6 +2429,7 @@
|
|
|
2418
2429
|
--sl-toggle-group-segmented-pressed-color: var(--sl-text-on-inverse); /** Text on the pressed toggle. */
|
|
2419
2430
|
--sl-check-background: var(--sl-field-background); /** Empty box, the same fill as a field so it reads as something to fill in. */
|
|
2420
2431
|
--sl-popup-arrow-fill: var(--sl-popup-background); /** The arrow is part of the popup, so it takes the popup's fill. */
|
|
2432
|
+
--sl-collection-tree-parent-row-hover: var(--sl-table-row-hover); /** A parent row under the pointer, with treeLines. A brand sets it a step darker than table.row-hover so a parent still stands out when hovered. */
|
|
2421
2433
|
}
|
|
2422
2434
|
|
|
2423
2435
|
/* Look: Classic (data-look='classic'). */
|
|
@@ -5891,6 +5903,7 @@
|
|
|
5891
5903
|
--sl-table-border-color: var(--sl-border-default);
|
|
5892
5904
|
--sl-table-row-border-color: var(--sl-border-subtle);
|
|
5893
5905
|
--sl-table-row-hover: var(--sl-item-background-hover);
|
|
5906
|
+
--sl-table-row-hover-color: var(--sl-item-color-hover);
|
|
5894
5907
|
--sl-table-row-selected: var(--sl-item-background-selected);
|
|
5895
5908
|
--sl-table-row-current: var(--sl-surface-tray);
|
|
5896
5909
|
--sl-table-group-header-background: var(--sl-surface-tray);
|
|
@@ -5903,6 +5916,9 @@
|
|
|
5903
5916
|
--sl-app-bar-border-color: var(--sl-rule-color);
|
|
5904
5917
|
--sl-app-bar-divider-color: var(--sl-border-strong);
|
|
5905
5918
|
--sl-collection-tree-line-color: var(--sl-border-strong);
|
|
5919
|
+
--sl-collection-tree-parent-row-background: var(--sl-table-background);
|
|
5920
|
+
--sl-collection-tree-parent-row-hover: var(--sl-table-row-hover);
|
|
5921
|
+
--sl-collection-disclosure-color: var(--sl-text-primary);
|
|
5906
5922
|
--sl-description-list-row-border-color: var(--sl-border-subtle);
|
|
5907
5923
|
--sl-description-list-label-color: var(--sl-text-secondary);
|
|
5908
5924
|
--sl-description-list-value-color: var(--sl-text-primary);
|
|
@@ -6076,6 +6092,7 @@
|
|
|
6076
6092
|
--sl-table-border-color: var(--sl-border-default);
|
|
6077
6093
|
--sl-table-row-border-color: var(--sl-border-subtle);
|
|
6078
6094
|
--sl-table-row-hover: var(--sl-item-background-hover);
|
|
6095
|
+
--sl-table-row-hover-color: var(--sl-item-color-hover);
|
|
6079
6096
|
--sl-table-row-selected: var(--sl-item-background-selected);
|
|
6080
6097
|
--sl-table-row-current: var(--sl-surface-tray);
|
|
6081
6098
|
--sl-table-group-header-background: var(--sl-surface-tray);
|
|
@@ -6088,6 +6105,9 @@
|
|
|
6088
6105
|
--sl-app-bar-border-color: var(--sl-rule-color);
|
|
6089
6106
|
--sl-app-bar-divider-color: var(--sl-border-strong);
|
|
6090
6107
|
--sl-collection-tree-line-color: var(--sl-border-strong);
|
|
6108
|
+
--sl-collection-tree-parent-row-background: var(--sl-table-background);
|
|
6109
|
+
--sl-collection-tree-parent-row-hover: var(--sl-table-row-hover);
|
|
6110
|
+
--sl-collection-disclosure-color: var(--sl-text-primary);
|
|
6091
6111
|
--sl-description-list-row-border-color: var(--sl-border-subtle);
|
|
6092
6112
|
--sl-description-list-label-color: var(--sl-text-secondary);
|
|
6093
6113
|
--sl-description-list-value-color: var(--sl-text-primary);
|
|
@@ -6261,6 +6281,7 @@
|
|
|
6261
6281
|
--sl-table-border-color: var(--sl-border-default);
|
|
6262
6282
|
--sl-table-row-border-color: var(--sl-border-subtle);
|
|
6263
6283
|
--sl-table-row-hover: var(--sl-item-background-hover);
|
|
6284
|
+
--sl-table-row-hover-color: var(--sl-item-color-hover);
|
|
6264
6285
|
--sl-table-row-selected: var(--sl-item-background-selected);
|
|
6265
6286
|
--sl-table-row-current: var(--sl-surface-tray);
|
|
6266
6287
|
--sl-table-group-header-background: var(--sl-surface-tray);
|
|
@@ -6273,6 +6294,9 @@
|
|
|
6273
6294
|
--sl-app-bar-border-color: var(--sl-rule-color);
|
|
6274
6295
|
--sl-app-bar-divider-color: var(--sl-border-strong);
|
|
6275
6296
|
--sl-collection-tree-line-color: var(--sl-border-strong);
|
|
6297
|
+
--sl-collection-tree-parent-row-background: var(--sl-table-background);
|
|
6298
|
+
--sl-collection-tree-parent-row-hover: var(--sl-table-row-hover);
|
|
6299
|
+
--sl-collection-disclosure-color: var(--sl-text-primary);
|
|
6276
6300
|
--sl-description-list-row-border-color: var(--sl-border-subtle);
|
|
6277
6301
|
--sl-description-list-label-color: var(--sl-text-secondary);
|
|
6278
6302
|
--sl-description-list-value-color: var(--sl-text-primary);
|
package/dist/tokens.d.ts
CHANGED
|
@@ -2012,6 +2012,7 @@ declare const tokens: {
|
|
|
2012
2012
|
readonly "border-color": string;
|
|
2013
2013
|
readonly "row-border-color": string;
|
|
2014
2014
|
readonly "row-hover": string;
|
|
2015
|
+
readonly "row-hover-color": string;
|
|
2015
2016
|
readonly "row-selected": string;
|
|
2016
2017
|
readonly "row-current": string;
|
|
2017
2018
|
readonly "group-header-background": string;
|
|
@@ -2770,7 +2771,17 @@ declare const tokens: {
|
|
|
2770
2771
|
readonly "header-height-md": string;
|
|
2771
2772
|
readonly "tree-indent": string;
|
|
2772
2773
|
readonly "tree-line-color": string;
|
|
2774
|
+
readonly "tree-parent-row-background": string;
|
|
2775
|
+
readonly "tree-parent-row-hover": string;
|
|
2773
2776
|
readonly "disclosure-size-small": string;
|
|
2777
|
+
readonly "tree-line-offset": string;
|
|
2778
|
+
readonly "tree-row-height-parent": string;
|
|
2779
|
+
readonly "tree-row-height-child": string;
|
|
2780
|
+
readonly "total-row-height-subtotal": string;
|
|
2781
|
+
readonly "total-row-height-grand": string;
|
|
2782
|
+
readonly "disclosure-color": string;
|
|
2783
|
+
readonly "search-fixed-width": string;
|
|
2784
|
+
readonly "toolbar-frame-padding": string;
|
|
2774
2785
|
readonly "list-row-padding-block": string;
|
|
2775
2786
|
readonly "list-row-gap": string;
|
|
2776
2787
|
readonly "toolbar-gap": string;
|
|
@@ -2837,6 +2848,7 @@ declare const tokens: {
|
|
|
2837
2848
|
readonly "tab-color": string;
|
|
2838
2849
|
readonly "tab-height": string;
|
|
2839
2850
|
readonly "tab-padding-inline": string;
|
|
2851
|
+
readonly "tab-text-offset": string;
|
|
2840
2852
|
readonly "tab-radius": string;
|
|
2841
2853
|
readonly "header-gap": string;
|
|
2842
2854
|
};
|
package/dist/tokens.js
CHANGED
|
@@ -2012,6 +2012,7 @@ const tokens = {
|
|
|
2012
2012
|
"border-color": "#e7ece4",
|
|
2013
2013
|
"row-border-color": "#eff3ee",
|
|
2014
2014
|
"row-hover": "#f4e7ff",
|
|
2015
|
+
"row-hover-color": "#542775",
|
|
2015
2016
|
"row-selected": "#e6c6ff",
|
|
2016
2017
|
"row-current": "#f8fbf9",
|
|
2017
2018
|
"group-header-background": "#f8fbf9",
|
|
@@ -2770,7 +2771,17 @@ const tokens = {
|
|
|
2770
2771
|
"header-height-md": "3.25rem",
|
|
2771
2772
|
"tree-indent": "1rem",
|
|
2772
2773
|
"tree-line-color": "#7c8980",
|
|
2774
|
+
"tree-parent-row-background": "#ffffff",
|
|
2775
|
+
"tree-parent-row-hover": "#f4e7ff",
|
|
2773
2776
|
"disclosure-size-small": "1.25rem",
|
|
2777
|
+
"tree-line-offset": "0.5rem",
|
|
2778
|
+
"tree-row-height-parent": "2.25rem",
|
|
2779
|
+
"tree-row-height-child": "2.25rem",
|
|
2780
|
+
"total-row-height-subtotal": "2.25rem",
|
|
2781
|
+
"total-row-height-grand": "2.25rem",
|
|
2782
|
+
"disclosure-color": "#221928",
|
|
2783
|
+
"search-fixed-width": "20rem",
|
|
2784
|
+
"toolbar-frame-padding": "0.75rem",
|
|
2774
2785
|
"list-row-padding-block": "0.75rem",
|
|
2775
2786
|
"list-row-gap": "0.5rem",
|
|
2776
2787
|
"toolbar-gap": "0.5rem",
|
|
@@ -2837,6 +2848,7 @@ const tokens = {
|
|
|
2837
2848
|
"tab-color": "#f8fbf9",
|
|
2838
2849
|
"tab-height": "1.75rem",
|
|
2839
2850
|
"tab-padding-inline": "0.875rem",
|
|
2851
|
+
"tab-text-offset": "0px",
|
|
2840
2852
|
"tab-radius": "0.125rem",
|
|
2841
2853
|
"header-gap": "0.75rem"
|
|
2842
2854
|
},
|
package/dist/tokens.json
CHANGED
|
@@ -14271,6 +14271,15 @@
|
|
|
14271
14271
|
"references": "{item.background-hover}",
|
|
14272
14272
|
"description": "Row under the pointer. Same tint as a highlighted menu row."
|
|
14273
14273
|
},
|
|
14274
|
+
{
|
|
14275
|
+
"name": "--sl-table-row-hover-color",
|
|
14276
|
+
"path": "table.row-hover-color",
|
|
14277
|
+
"layer": "semantic",
|
|
14278
|
+
"type": "color",
|
|
14279
|
+
"value": "#542775",
|
|
14280
|
+
"references": "{item.color-hover}",
|
|
14281
|
+
"description": "Text on the row under the pointer. A brand whose hover is only a light tint points it at text.primary so the text does not change."
|
|
14282
|
+
},
|
|
14274
14283
|
{
|
|
14275
14284
|
"name": "--sl-table-row-selected",
|
|
14276
14285
|
"path": "table.row-selected",
|
|
@@ -20298,6 +20307,24 @@
|
|
|
20298
20307
|
"references": "{border.strong}",
|
|
20299
20308
|
"description": "The elbow connector from a child row back to its parent, with treeLines."
|
|
20300
20309
|
},
|
|
20310
|
+
{
|
|
20311
|
+
"name": "--sl-collection-tree-parent-row-background",
|
|
20312
|
+
"path": "collection.tree-parent-row-background",
|
|
20313
|
+
"layer": "component",
|
|
20314
|
+
"type": "color",
|
|
20315
|
+
"value": "#ffffff",
|
|
20316
|
+
"references": "{table.background}",
|
|
20317
|
+
"description": "Fill of a parent row in a tree with treeLines, so a parent reads a step off its children."
|
|
20318
|
+
},
|
|
20319
|
+
{
|
|
20320
|
+
"name": "--sl-collection-tree-parent-row-hover",
|
|
20321
|
+
"path": "collection.tree-parent-row-hover",
|
|
20322
|
+
"layer": "component",
|
|
20323
|
+
"type": "color",
|
|
20324
|
+
"value": "#f4e7ff",
|
|
20325
|
+
"references": "{table.row-hover}",
|
|
20326
|
+
"description": "A parent row under the pointer, with treeLines. A brand sets it a step darker than table.row-hover so a parent still stands out when hovered."
|
|
20327
|
+
},
|
|
20301
20328
|
{
|
|
20302
20329
|
"name": "--sl-collection-disclosure-size-small",
|
|
20303
20330
|
"path": "collection.disclosure-size-small",
|
|
@@ -20306,6 +20333,71 @@
|
|
|
20306
20333
|
"references": "{space.5}",
|
|
20307
20334
|
"description": "The expand and collapse button when a table sets disclosure=\"small\", small enough that a parent row keeps its siblings' height."
|
|
20308
20335
|
},
|
|
20336
|
+
{
|
|
20337
|
+
"name": "--sl-collection-tree-line-offset",
|
|
20338
|
+
"path": "collection.tree-line-offset",
|
|
20339
|
+
"layer": "component",
|
|
20340
|
+
"value": "0.5rem",
|
|
20341
|
+
"references": "{space.2}",
|
|
20342
|
+
"description": "Where a child's elbow starts, from the start of its level's indent. A brand with a wider tree-indent brings it closer to the parent's text."
|
|
20343
|
+
},
|
|
20344
|
+
{
|
|
20345
|
+
"name": "--sl-collection-tree-row-height-parent",
|
|
20346
|
+
"path": "collection.tree-row-height-parent",
|
|
20347
|
+
"layer": "component",
|
|
20348
|
+
"value": "2.25rem",
|
|
20349
|
+
"references": "{collection.row-height-sm}",
|
|
20350
|
+
"description": "A parent row's height in a table with treeLines, so a register can give its parents a little more room than the rows under them."
|
|
20351
|
+
},
|
|
20352
|
+
{
|
|
20353
|
+
"name": "--sl-collection-tree-row-height-child",
|
|
20354
|
+
"path": "collection.tree-row-height-child",
|
|
20355
|
+
"layer": "component",
|
|
20356
|
+
"value": "2.25rem",
|
|
20357
|
+
"references": "{collection.row-height-sm}",
|
|
20358
|
+
"description": "A child row's height in a table with treeLines."
|
|
20359
|
+
},
|
|
20360
|
+
{
|
|
20361
|
+
"name": "--sl-collection-total-row-height-subtotal",
|
|
20362
|
+
"path": "collection.total-row-height-subtotal",
|
|
20363
|
+
"layer": "component",
|
|
20364
|
+
"value": "2.25rem",
|
|
20365
|
+
"references": "{collection.row-height-sm}",
|
|
20366
|
+
"description": "A subtotal row's height in a table with treeLines."
|
|
20367
|
+
},
|
|
20368
|
+
{
|
|
20369
|
+
"name": "--sl-collection-total-row-height-grand",
|
|
20370
|
+
"path": "collection.total-row-height-grand",
|
|
20371
|
+
"layer": "component",
|
|
20372
|
+
"value": "2.25rem",
|
|
20373
|
+
"references": "{collection.row-height-sm}",
|
|
20374
|
+
"description": "The grand-total row's height in a table with treeLines."
|
|
20375
|
+
},
|
|
20376
|
+
{
|
|
20377
|
+
"name": "--sl-collection-disclosure-color",
|
|
20378
|
+
"path": "collection.disclosure-color",
|
|
20379
|
+
"layer": "component",
|
|
20380
|
+
"type": "color",
|
|
20381
|
+
"value": "#221928",
|
|
20382
|
+
"references": "{text.primary}",
|
|
20383
|
+
"description": "The small expand button's chevron (disclosure=\"small\"). A brand points it at its accent."
|
|
20384
|
+
},
|
|
20385
|
+
{
|
|
20386
|
+
"name": "--sl-collection-search-fixed-width",
|
|
20387
|
+
"path": "collection.search-fixed-width",
|
|
20388
|
+
"layer": "component",
|
|
20389
|
+
"value": "20rem",
|
|
20390
|
+
"references": "{space.80}",
|
|
20391
|
+
"description": "The search field's width when the toolbar sets searchWidth=\"fixed\", the most it takes, so a count and a sort note can sit beside it."
|
|
20392
|
+
},
|
|
20393
|
+
{
|
|
20394
|
+
"name": "--sl-collection-toolbar-frame-padding",
|
|
20395
|
+
"path": "collection.toolbar-frame-padding",
|
|
20396
|
+
"layer": "component",
|
|
20397
|
+
"value": "0.75rem",
|
|
20398
|
+
"references": "{space.3}",
|
|
20399
|
+
"description": "Padding around the toolbar when it is framed, inside a Sheet above a table that runs edge to edge."
|
|
20400
|
+
},
|
|
20309
20401
|
{
|
|
20310
20402
|
"name": "--sl-collection-list-row-padding-block",
|
|
20311
20403
|
"path": "collection.list-row-padding-block",
|
|
@@ -20689,6 +20781,14 @@
|
|
|
20689
20781
|
"references": "{space.3-5}",
|
|
20690
20782
|
"description": "Space either side of the tab label's text."
|
|
20691
20783
|
},
|
|
20784
|
+
{
|
|
20785
|
+
"name": "--sl-sheet-tab-text-offset",
|
|
20786
|
+
"path": "sheet.tab-text-offset",
|
|
20787
|
+
"layer": "component",
|
|
20788
|
+
"type": "dimension",
|
|
20789
|
+
"value": "0px",
|
|
20790
|
+
"description": "Nudges the tab label down, for a typeface whose caps sit high in the line box. Zero centers the line box."
|
|
20791
|
+
},
|
|
20692
20792
|
{
|
|
20693
20793
|
"name": "--sl-sheet-tab-radius",
|
|
20694
20794
|
"path": "sheet.tab-radius",
|
|
@@ -22565,6 +22665,7 @@
|
|
|
22565
22665
|
"--sl-table-border-color": "#d1f3ff",
|
|
22566
22666
|
"--sl-table-row-border-color": "#def6ff",
|
|
22567
22667
|
"--sl-table-row-hover": "#fedfd7",
|
|
22668
|
+
"--sl-table-row-hover-color": "#54352d",
|
|
22568
22669
|
"--sl-table-row-selected": "#fedfd7",
|
|
22569
22670
|
"--sl-table-row-current": "#f3fcff",
|
|
22570
22671
|
"--sl-table-group-header-background": "#f3fcff",
|
|
@@ -23807,6 +23908,8 @@
|
|
|
23807
23908
|
"--sl-avatar-initials-font-size-xl": "clamp(1.26rem, 1.176rem + 0.42vw, 1.512rem)",
|
|
23808
23909
|
"--sl-button-radius": "0.0938rem",
|
|
23809
23910
|
"--sl-collection-tree-line-color": "#6b8d99",
|
|
23911
|
+
"--sl-collection-tree-parent-row-hover": "#fedfd7",
|
|
23912
|
+
"--sl-collection-disclosure-color": "#203d48",
|
|
23810
23913
|
"--sl-description-list-row-border-color": "#def6ff",
|
|
23811
23914
|
"--sl-description-list-label-color": "#3c5a66",
|
|
23812
23915
|
"--sl-description-list-value-color": "#203d48",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scattered-light/loomiere-mojave",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "Mojave, the demo theme for Loomiere: desert stone and purple, built from one brand file.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -62,6 +62,6 @@
|
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@scattered-light/loomiere": "0.
|
|
65
|
+
"@scattered-light/loomiere": "0.14.0"
|
|
66
66
|
}
|
|
67
67
|
}
|