@scattered-light/loomiere-mojave 0.13.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.
@@ -1100,6 +1100,8 @@
1100
1100
  --sl-app-bar-border-color: var(--sl-rule-color);
1101
1101
  --sl-app-bar-divider-color: var(--sl-border-strong);
1102
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);
1103
1105
  --sl-collection-disclosure-color: var(--sl-text-primary);
1104
1106
  --sl-description-list-row-border-color: var(--sl-border-subtle);
1105
1107
  --sl-description-list-label-color: var(--sl-text-secondary);
@@ -1287,6 +1289,8 @@
1287
1289
  --sl-app-bar-border-color: var(--sl-rule-color);
1288
1290
  --sl-app-bar-divider-color: var(--sl-border-strong);
1289
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);
1290
1294
  --sl-collection-disclosure-color: var(--sl-text-primary);
1291
1295
  --sl-description-list-row-border-color: var(--sl-border-subtle);
1292
1296
  --sl-description-list-label-color: var(--sl-text-secondary);
@@ -1474,6 +1478,8 @@
1474
1478
  --sl-app-bar-border-color: var(--sl-rule-color);
1475
1479
  --sl-app-bar-divider-color: var(--sl-border-strong);
1476
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);
1477
1483
  --sl-collection-disclosure-color: var(--sl-text-primary);
1478
1484
  --sl-description-list-row-border-color: var(--sl-border-subtle);
1479
1485
  --sl-description-list-label-color: var(--sl-text-secondary);
@@ -12198,6 +12198,16 @@
12198
12198
  "$value": "{border.strong}",
12199
12199
  "$description": "The elbow connector from a child row back to its parent, with treeLines."
12200
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
+ },
12201
12211
  "disclosure-size-small": {
12202
12212
  "$value": "{space.5}",
12203
12213
  "$description": "The expand and collapse button when a table sets disclosure=\"small\", small enough that a parent row keeps its siblings' height."
@@ -12456,6 +12466,11 @@
12456
12466
  "$value": "{space.3-5}",
12457
12467
  "$description": "Space either side of the tab label's text."
12458
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
+ },
12459
12474
  "tab-radius": {
12460
12475
  "$value": "{radius.sm}",
12461
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. */
@@ -2419,6 +2420,7 @@
2419
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. */
2420
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. */
2421
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. */
2422
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. */
2423
2425
  --sl-sheet-tab-color: var(--sl-text-on-inverse-surface); /** Text on the tab label. */
2424
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. */
@@ -2427,6 +2429,7 @@
2427
2429
  --sl-toggle-group-segmented-pressed-color: var(--sl-text-on-inverse); /** Text on the pressed toggle. */
2428
2430
  --sl-check-background: var(--sl-field-background); /** Empty box, the same fill as a field so it reads as something to fill in. */
2429
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. */
2430
2433
  }
2431
2434
 
2432
2435
  /* Look: Classic (data-look='classic'). */
@@ -5913,6 +5916,8 @@
5913
5916
  --sl-app-bar-border-color: var(--sl-rule-color);
5914
5917
  --sl-app-bar-divider-color: var(--sl-border-strong);
5915
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);
5916
5921
  --sl-collection-disclosure-color: var(--sl-text-primary);
5917
5922
  --sl-description-list-row-border-color: var(--sl-border-subtle);
5918
5923
  --sl-description-list-label-color: var(--sl-text-secondary);
@@ -6100,6 +6105,8 @@
6100
6105
  --sl-app-bar-border-color: var(--sl-rule-color);
6101
6106
  --sl-app-bar-divider-color: var(--sl-border-strong);
6102
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);
6103
6110
  --sl-collection-disclosure-color: var(--sl-text-primary);
6104
6111
  --sl-description-list-row-border-color: var(--sl-border-subtle);
6105
6112
  --sl-description-list-label-color: var(--sl-text-secondary);
@@ -6287,6 +6294,8 @@
6287
6294
  --sl-app-bar-border-color: var(--sl-rule-color);
6288
6295
  --sl-app-bar-divider-color: var(--sl-border-strong);
6289
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);
6290
6299
  --sl-collection-disclosure-color: var(--sl-text-primary);
6291
6300
  --sl-description-list-row-border-color: var(--sl-border-subtle);
6292
6301
  --sl-description-list-label-color: var(--sl-text-secondary);
package/dist/tokens.d.ts CHANGED
@@ -2771,6 +2771,8 @@ declare const tokens: {
2771
2771
  readonly "header-height-md": string;
2772
2772
  readonly "tree-indent": string;
2773
2773
  readonly "tree-line-color": string;
2774
+ readonly "tree-parent-row-background": string;
2775
+ readonly "tree-parent-row-hover": string;
2774
2776
  readonly "disclosure-size-small": string;
2775
2777
  readonly "tree-line-offset": string;
2776
2778
  readonly "tree-row-height-parent": string;
@@ -2846,6 +2848,7 @@ declare const tokens: {
2846
2848
  readonly "tab-color": string;
2847
2849
  readonly "tab-height": string;
2848
2850
  readonly "tab-padding-inline": string;
2851
+ readonly "tab-text-offset": string;
2849
2852
  readonly "tab-radius": string;
2850
2853
  readonly "header-gap": string;
2851
2854
  };
package/dist/tokens.js CHANGED
@@ -2771,6 +2771,8 @@ const tokens = {
2771
2771
  "header-height-md": "3.25rem",
2772
2772
  "tree-indent": "1rem",
2773
2773
  "tree-line-color": "#7c8980",
2774
+ "tree-parent-row-background": "#ffffff",
2775
+ "tree-parent-row-hover": "#f4e7ff",
2774
2776
  "disclosure-size-small": "1.25rem",
2775
2777
  "tree-line-offset": "0.5rem",
2776
2778
  "tree-row-height-parent": "2.25rem",
@@ -2846,6 +2848,7 @@ const tokens = {
2846
2848
  "tab-color": "#f8fbf9",
2847
2849
  "tab-height": "1.75rem",
2848
2850
  "tab-padding-inline": "0.875rem",
2851
+ "tab-text-offset": "0px",
2849
2852
  "tab-radius": "0.125rem",
2850
2853
  "header-gap": "0.75rem"
2851
2854
  },
package/dist/tokens.json CHANGED
@@ -20307,6 +20307,24 @@
20307
20307
  "references": "{border.strong}",
20308
20308
  "description": "The elbow connector from a child row back to its parent, with treeLines."
20309
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
+ },
20310
20328
  {
20311
20329
  "name": "--sl-collection-disclosure-size-small",
20312
20330
  "path": "collection.disclosure-size-small",
@@ -20763,6 +20781,14 @@
20763
20781
  "references": "{space.3-5}",
20764
20782
  "description": "Space either side of the tab label's text."
20765
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
+ },
20766
20792
  {
20767
20793
  "name": "--sl-sheet-tab-radius",
20768
20794
  "path": "sheet.tab-radius",
@@ -23882,6 +23908,7 @@
23882
23908
  "--sl-avatar-initials-font-size-xl": "clamp(1.26rem, 1.176rem + 0.42vw, 1.512rem)",
23883
23909
  "--sl-button-radius": "0.0938rem",
23884
23910
  "--sl-collection-tree-line-color": "#6b8d99",
23911
+ "--sl-collection-tree-parent-row-hover": "#fedfd7",
23885
23912
  "--sl-collection-disclosure-color": "#203d48",
23886
23913
  "--sl-description-list-row-border-color": "#def6ff",
23887
23914
  "--sl-description-list-label-color": "#3c5a66",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scattered-light/loomiere-mojave",
3
- "version": "0.13.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.13.0"
65
+ "@scattered-light/loomiere": "0.14.0"
66
66
  }
67
67
  }