@tensor_1/tokens 2.34.0 → 2.35.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": "@tensor_1/tokens",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.35.0",
|
|
4
4
|
"description": "UIx v2 design tokens — the --uix-* contract for house products (Tensor, POSx, SHOPx). One DTCG source -> CSS variables, Tailwind theme, and typed TS constants.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
.uix-list__item { display: flex; align-items: center; gap: var(--uix-space-3); padding: var(--uix-space-4) var(--uix-space-5); border-bottom: 1px solid var(--uix-border); }
|
|
5
5
|
.uix-list__item:last-child { border-bottom: 0; }
|
|
6
6
|
.uix-list__item:hover { background: var(--uix-bg-hover); }
|
|
7
|
+
/* roving list: the items take focus one at a time; the ring is inset because the list clips */
|
|
8
|
+
.uix-list--roving > .uix-list__item:focus-visible { outline-offset: -2px; }
|
|
9
|
+
.uix-list--roving > .uix-list__item[tabindex] { cursor: default; }
|
|
7
10
|
.uix-list__title { display: block; font-weight: 500; }
|
|
8
11
|
.uix-list__meta { display: block; font-size: var(--uix-text-meta); color: var(--uix-text-muted); }
|
|
9
12
|
.uix-list__trail { margin-left: auto; display: flex; align-items: center; gap: var(--uix-space-2); }
|
|
@@ -109,6 +109,24 @@
|
|
|
109
109
|
:is(.uix-scheduling-calendar__entry,.uix-scheduling-calendar__swatch)[data-band="high"]:is([data-status="tentative"],[data-status="dead"],[data-status="done"]) { border-color:var(--calendar-band-high-text); }
|
|
110
110
|
.uix-scheduling-calendar__entry[data-band="high"]:focus-visible { outline-color:var(--calendar-band-high-text); }
|
|
111
111
|
|
|
112
|
+
/* emphasis (HAR-1527): an item the consumer brings forward or sets back. Weight and
|
|
113
|
+
quietness only, and it leaves the other channels alone: a highlight is a heavier edge all
|
|
114
|
+
round in the text colour, also round the fill of the high band (a medium band keeps a
|
|
115
|
+
thicker leading edge still), a dimmed item is quieter text. The line style of the state
|
|
116
|
+
stays as it is: on the fill a dashed or dotted edge keeps the colour that shows on the fill.
|
|
117
|
+
A dimmed item of the filled band gives the fill up and keeps the band on its edge. */
|
|
118
|
+
.uix-scheduling-calendar__entry[data-highlight] { border-width:2px; border-color:var(--calendar-chrome-text); font-weight:600; }
|
|
119
|
+
.uix-scheduling-calendar__entry[data-highlight] .uix-scheduling-calendar__title { font-weight:600; }
|
|
120
|
+
.uix-scheduling-calendar__entry[data-band="medium"][data-highlight] { border-left-width:5px; }
|
|
121
|
+
.uix-scheduling-calendar__entry[data-dim] { color:var(--calendar-chrome-text-quiet); }
|
|
122
|
+
.uix-scheduling-calendar__entry[data-dim] .uix-scheduling-calendar__title { font-weight:400; }
|
|
123
|
+
.uix-scheduling-calendar__entry[data-band="high"][data-dim] { border-color:var(--calendar-band-high-fill); border-left-width:4px; background:var(--calendar-chrome-surface); color:var(--calendar-chrome-text-quiet); }
|
|
124
|
+
/* in the agendas the heavier edge is the leading one, drawn inside the row so nothing in it moves */
|
|
125
|
+
:is(.uix-scheduling-calendar__agenda-row,.uix-scheduling-calendar__agenda > ol > li > button)[data-highlight] { box-shadow:inset 3px 0 0 var(--calendar-chrome-text); font-weight:600; }
|
|
126
|
+
.uix-scheduling-calendar__agenda-row[data-highlight] .uix-scheduling-calendar__title { font-weight:600; }
|
|
127
|
+
:is(.uix-scheduling-calendar__agenda-row,.uix-scheduling-calendar__agenda > ol > li > button)[data-dim] { color:var(--calendar-chrome-text-quiet); }
|
|
128
|
+
.uix-scheduling-calendar__agenda-row[data-dim] .uix-scheduling-calendar__title,.uix-scheduling-calendar__agenda > ol > li > button[data-dim] strong { font-weight:400; }
|
|
129
|
+
|
|
112
130
|
/* spans and windows: placed in the week row by the layout, one lane each */
|
|
113
131
|
.uix-scheduling-calendar__span,.uix-scheduling-calendar__window,.uix-scheduling-calendar__rowmore { grid-row:1; align-self:start; height:calc(var(--calendar-lane) - var(--calendar-gap)); margin-top:calc(var(--calendar-pad) + var(--calendar-head) + var(--uix-scheduling-calendar-lane,0) * var(--calendar-lane)); margin-inline:var(--calendar-pad-inline); }
|
|
114
132
|
:is(.uix-scheduling-calendar__span,.uix-scheduling-calendar__window)[data-continues-before] { margin-left:0; border-left-style:dashed; border-top-left-radius:0; border-bottom-left-radius:0; }
|