@scattered-light/loomiere 0.10.0 → 0.12.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scattered-light/loomiere",
3
- "version": "0.10.0",
3
+ "version": "0.12.0",
4
4
  "description": "Turns a small brand file into a full design token theme: OKLCH color ramps, a type scale, light, dark and high-contrast modes, plus Tailwind, MUI, Chakra, AG Grid and Figma exports.",
5
5
  "keywords": ["design-tokens", "theme", "style-dictionary", "dtcg", "oklch", "base-ui", "ag-grid", "tailwind"],
6
6
  "repository": {
@@ -21,6 +21,15 @@
21
21
  "$value": "{space.4}",
22
22
  "$description": "How far each deeper level steps in, so a child sits under its parent's text."
23
23
  },
24
+ "tree-line-color": {
25
+ "$value": "{border.strong}",
26
+ "$type": "color",
27
+ "$description": "The elbow connector from a child row back to its parent, with treeLines."
28
+ },
29
+ "disclosure-size-small": {
30
+ "$value": "{space.5}",
31
+ "$description": "The expand and collapse button when a table sets disclosure=\"small\", small enough that a parent row keeps its siblings' height."
32
+ },
24
33
  "list-row-padding-block": {
25
34
  "$value": "{space.3}",
26
35
  "$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."
@@ -76,27 +76,35 @@
76
76
  "$type": "color",
77
77
  "$description": "A group heading's caps label."
78
78
  },
79
- "toggle-size": {
79
+ "toggle-width": {
80
80
  "$value": "{space.6}",
81
- "$description": "The collapse button's width and height. It sits on the column's edge."
81
+ "$description": "The collapse handle's width. It straddles the column's edge."
82
+ },
83
+ "toggle-height": {
84
+ "$value": "{space.11}",
85
+ "$description": "The collapse handle's height, a tall tab on the column's edge."
86
+ },
87
+ "toggle-radius": {
88
+ "$value": "{radius.control}",
89
+ "$description": "The collapse handle's corners."
82
90
  },
83
91
  "toggle-offset": {
84
- "$value": "{space.4}",
92
+ "$value": "{space.7}",
85
93
  "$description": "Distance of the collapse button from the top of the column."
86
94
  },
87
95
  "toggle-background": {
88
96
  "$value": "{surface.raised}",
89
97
  "$type": "color",
90
- "$description": "The collapse button's fill."
98
+ "$description": "The collapse handle's fill."
91
99
  },
92
100
  "toggle-border-color": {
93
- "$value": "{border.strong}",
101
+ "$value": "{text.primary}",
94
102
  "$type": "color",
95
- "$description": "The collapse button's outline."
103
+ "$description": "The collapse handle's outline and chevron. It fills with this color on hover."
96
104
  },
97
105
  "collapsed-width": {
98
106
  "$value": "{space.11}",
99
- "$description": "Width of the column when it is collapsed, wide enough for the collapse button."
107
+ "$description": "Width of the column when it is collapsed, wide enough for the collapse handle."
100
108
  }
101
109
  }
102
110
  }