@zazz-ui/core 0.5.2 → 0.5.4
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/AUTHORING.md +2 -2
- package/CHANGELOG.md +18 -0
- package/README.md +2 -2
- package/dist/sri.json +10 -10
- package/dist/zazz.css +1 -1
- package/editor/zazz.css-data.json +4 -0
- package/package.json +1 -1
- package/src/base/_properties.css +3 -0
- package/src/base/_reset.css +2 -33
- package/src/base/_typography.css +3 -3
- package/src/base/_utilities-box.css +8 -0
- package/src/base/_utilities-tier-stuck.css +1 -1
- package/src/base/_view-transitions.css +7 -9
- package/src/base/navigation.d.ts.map +1 -1
- package/src/base/navigation.js +4 -3
- package/src/base/navigation.ts +4 -3
- package/src/base/utilities.d.ts.map +1 -1
- package/src/base/utilities.js +1 -0
- package/src/base/utilities.ts +1 -0
- package/src/primitives/lightbox/lightbox.css +1 -1
|
@@ -114108,6 +114108,10 @@
|
|
|
114108
114108
|
}
|
|
114109
114109
|
]
|
|
114110
114110
|
},
|
|
114111
|
+
{
|
|
114112
|
+
"name": "--object-position",
|
|
114113
|
+
"description": "object-position — any value; box family."
|
|
114114
|
+
},
|
|
114111
114115
|
{
|
|
114112
114116
|
"name": "--divide",
|
|
114113
114117
|
"description": "border shorthand — a color (1px wide), a number (that many px), or a length (in --color-border); --border-width and --border-color win; box family.",
|
package/package.json
CHANGED
package/src/base/_properties.css
CHANGED
|
@@ -439,6 +439,9 @@
|
|
|
439
439
|
@property --object-fit { syntax: "*"; inherits: false; }
|
|
440
440
|
@property --_object-fit { syntax: "*"; inherits: false; }
|
|
441
441
|
@property --_object-fit-resolved { syntax: "*"; inherits: false; }
|
|
442
|
+
@property --object-position { syntax: "*"; inherits: false; }
|
|
443
|
+
@property --_object-position { syntax: "*"; inherits: false; }
|
|
444
|
+
@property --_object-position-resolved { syntax: "*"; inherits: false; }
|
|
442
445
|
@property --divide { syntax: "*"; inherits: false; }
|
|
443
446
|
@property --_divide { syntax: "*"; inherits: false; }
|
|
444
447
|
@property --_divide-resolved { syntax: "*"; inherits: false; }
|
package/src/base/_reset.css
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* @requires _layers.css, _properties.css, _variables.css
|
|
6
6
|
* @uses appearance: none — select chevron reset
|
|
7
7
|
* @uses ::details-content — accordion open/close (see accordion.css for :where(ui-accordion, [data-ui~="accordion"]))
|
|
8
|
-
* @uses container-type —
|
|
9
|
-
*
|
|
8
|
+
* @uses container-type — html is the page's inline-size container, the one breakpoint
|
|
9
|
+
* tiers read when nothing closer is (layout children and data-ui="container" are closer)
|
|
10
10
|
* @uses view-transition-name via the <main> tag - main-content and [data-transition-layer] —
|
|
11
11
|
* global (animated in _view-transitions.css)
|
|
12
12
|
* @uses text-box — vertical trim on headings
|
|
@@ -81,9 +81,6 @@
|
|
|
81
81
|
line-height: var(--leading-md);
|
|
82
82
|
letter-spacing: var(--tracking-md);
|
|
83
83
|
font-synthesis-weight: none;
|
|
84
|
-
|
|
85
|
-
container-type: inline-size;
|
|
86
|
-
container-name: body;
|
|
87
84
|
}
|
|
88
85
|
|
|
89
86
|
:where(:focus-visible) {
|
|
@@ -97,8 +94,6 @@
|
|
|
97
94
|
}
|
|
98
95
|
|
|
99
96
|
:where(main) {
|
|
100
|
-
--_container-type: inline-size;
|
|
101
|
-
--_container-name: main;
|
|
102
97
|
--_view-transition-name: main-content;
|
|
103
98
|
|
|
104
99
|
/* predictable z-indexing */
|
|
@@ -110,9 +105,6 @@
|
|
|
110
105
|
flex: 1 0 auto;
|
|
111
106
|
overflow: clip;
|
|
112
107
|
|
|
113
|
-
container-type: var(--_container-type);
|
|
114
|
-
container-name: var(--_container-name);
|
|
115
|
-
|
|
116
108
|
/* isolated so it can animate independently of header/footer */
|
|
117
109
|
view-transition-name: var(--_view-transition-name);
|
|
118
110
|
}
|
|
@@ -125,31 +117,8 @@
|
|
|
125
117
|
view-transition-name: global-footer;
|
|
126
118
|
}
|
|
127
119
|
|
|
128
|
-
:where(header) {
|
|
129
|
-
--_container-name: header;
|
|
130
|
-
--_container-type: inline-size;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
:where(footer) {
|
|
134
|
-
--_container-name: footer;
|
|
135
|
-
--_container-type: inline-size;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
:where(section) {
|
|
139
|
-
--_container-name: section;
|
|
140
|
-
--_container-type: inline-size;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
:where(article) {
|
|
144
|
-
--_container-name: article;
|
|
145
|
-
--_container-type: inline-size;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
120
|
:where(header, footer, section, article) {
|
|
149
121
|
position: relative;
|
|
150
|
-
|
|
151
|
-
container-type: var(--_container-type);
|
|
152
|
-
container-name: var(--_container-name, layout);
|
|
153
122
|
}
|
|
154
123
|
|
|
155
124
|
:where(pre) {
|
package/src/base/_typography.css
CHANGED
|
@@ -343,7 +343,7 @@
|
|
|
343
343
|
line-height: var(--leading-h4);
|
|
344
344
|
font-weight: var(--font-weight-heading);
|
|
345
345
|
letter-spacing: var(--tracking-h4);
|
|
346
|
-
text-wrap: var(--text-wrap-heading,
|
|
346
|
+
text-wrap: var(--text-wrap-heading, pretty);
|
|
347
347
|
font-feature-settings: var(--font-feature-heading);
|
|
348
348
|
font-kerning: var(--font-kerning-heading);
|
|
349
349
|
font-language-override: var(--font-language-heading);
|
|
@@ -365,7 +365,7 @@
|
|
|
365
365
|
line-height: var(--leading-h5);
|
|
366
366
|
font-weight: var(--font-weight-heading);
|
|
367
367
|
letter-spacing: var(--tracking-h5);
|
|
368
|
-
text-wrap: var(--text-wrap-heading,
|
|
368
|
+
text-wrap: var(--text-wrap-heading, pretty);
|
|
369
369
|
font-feature-settings: var(--font-feature-heading);
|
|
370
370
|
font-kerning: var(--font-kerning-heading);
|
|
371
371
|
font-language-override: var(--font-language-heading);
|
|
@@ -387,7 +387,7 @@
|
|
|
387
387
|
line-height: var(--leading-h6);
|
|
388
388
|
font-weight: var(--font-weight-heading);
|
|
389
389
|
letter-spacing: var(--tracking-h6);
|
|
390
|
-
text-wrap: var(--text-wrap-heading,
|
|
390
|
+
text-wrap: var(--text-wrap-heading, pretty);
|
|
391
391
|
font-feature-settings: var(--font-feature-heading);
|
|
392
392
|
font-kerning: var(--font-kerning-heading);
|
|
393
393
|
font-language-override: var(--font-language-heading);
|
|
@@ -104,6 +104,14 @@
|
|
|
104
104
|
object-fit: var(--_object-fit-resolved);
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
+
:where([style*="--object-position:"], [style*="--object-position--"]) {
|
|
108
|
+
--_object-position-resolved: var(--_object-position);
|
|
109
|
+
}
|
|
110
|
+
:where([style*="--object-position:"]) {
|
|
111
|
+
--_object-position: var(--object-position);
|
|
112
|
+
object-position: var(--_object-position-resolved);
|
|
113
|
+
}
|
|
114
|
+
|
|
107
115
|
:where([style*="--divide:"], [style*="--divide--"]) {
|
|
108
116
|
--_divide-resolved: var(--_divide);
|
|
109
117
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
container-type: scroll-state;
|
|
8
8
|
--_stuck-side: var(--stuck-state, top);
|
|
9
9
|
}
|
|
10
|
-
:where(
|
|
10
|
+
:where(ui-layout > *, [data-ui~="layout"] > *):where([style*=": sticky"], [style*="--stuck-state:"]) {
|
|
11
11
|
container-type: inline-size scroll-state;
|
|
12
12
|
}
|
|
13
13
|
@container scroll-state(stuck: top) and style(--_stuck-side: top) {
|
|
@@ -1,22 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* _view-transitions.css —
|
|
2
|
+
* _view-transitions.css — How view transitions animate
|
|
3
|
+
*
|
|
4
|
+
* Cross-document transitions are opt-in: the kit never declares @view-transition,
|
|
5
|
+
* because an at-rule cannot be scoped and would animate every same-origin navigation
|
|
6
|
+
* on a page that loads the kit. A site enables them in its own CSS with
|
|
7
|
+
* `@view-transition { navigation: auto; }`, and these rules style them.
|
|
3
8
|
*
|
|
4
9
|
* @layer variables, utilities
|
|
5
10
|
* @requires _layers.css, _variables.css, _reset.css ([data-transition-layer] names)
|
|
6
|
-
* @uses ::view-transition-old/new — cross-document
|
|
7
|
-
* @uses @view-transition { navigation: auto } — enabled here, behind @supports
|
|
11
|
+
* @uses ::view-transition-old/new — page transitions, cross-document and swap navigation
|
|
8
12
|
* @uses ::view-transition-group(toaster) — frozen group; excludes the toast
|
|
9
13
|
* stack (named in toaster.css) from transition repaints
|
|
10
14
|
* @tokens --view-transition-* (@layer variables)
|
|
11
15
|
*/
|
|
12
16
|
|
|
13
17
|
@layer variables {
|
|
14
|
-
@supports at-rule(@view-transition) and (navigation: auto) {
|
|
15
|
-
@view-transition {
|
|
16
|
-
navigation: auto;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
18
|
:root {
|
|
21
19
|
--view-transition-duration: 0ms;
|
|
22
20
|
--view-transition-ease: var(--bezier-easing);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["navigation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["navigation.ts"],"names":[],"mappings":"AAsFA;;;;;;;;;GASG;AACH,iBAAS,QAAQ,CAAC,IAAI,EAAE,WAAW,GAAG,WAAW,CAgDhD;AA2ID,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
package/src/base/navigation.js
CHANGED
|
@@ -22,9 +22,10 @@ import { refreshAll } from "./zazz-element.js";
|
|
|
22
22
|
* scrolls as the browser decides: to the top or the target for a new entry,
|
|
23
23
|
* restored on back/forward.
|
|
24
24
|
*
|
|
25
|
-
* Without the opt-in the browser navigates normally
|
|
26
|
-
* cross-document view transitions in
|
|
27
|
-
*
|
|
25
|
+
* Without the opt-in the browser navigates normally; a site animates those
|
|
26
|
+
* loads by enabling cross-document view transitions in its own CSS, which
|
|
27
|
+
* `_view-transitions.css` then styles. Reloads, hash changes, downloads and
|
|
28
|
+
* form posts are never intercepted.
|
|
28
29
|
*
|
|
29
30
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/Navigation_API
|
|
30
31
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/NavigateEvent/scroll
|
package/src/base/navigation.ts
CHANGED
|
@@ -24,9 +24,10 @@ import { refreshAll } from "./zazz-element.ts";
|
|
|
24
24
|
* scrolls as the browser decides: to the top or the target for a new entry,
|
|
25
25
|
* restored on back/forward.
|
|
26
26
|
*
|
|
27
|
-
* Without the opt-in the browser navigates normally
|
|
28
|
-
* cross-document view transitions in
|
|
29
|
-
*
|
|
27
|
+
* Without the opt-in the browser navigates normally; a site animates those
|
|
28
|
+
* loads by enabling cross-document view transitions in its own CSS, which
|
|
29
|
+
* `_view-transitions.css` then styles. Reloads, hash changes, downloads and
|
|
30
|
+
* form posts are never intercepted.
|
|
30
31
|
*
|
|
31
32
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/Navigation_API
|
|
32
33
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/NavigateEvent/scroll
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["utilities.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,qDAAqD;AACrD,eAAO,MAAM,WAAW,YAAI,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAU,CAAC;AACpE,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtD;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAMpD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAMjD,CAAC;AAEF,oDAAoD;AACpD,eAAO,MAAM,MAAM,YACjB,UAAU,EACV,UAAU,EACV,QAAQ,EACR,eAAe,EACf,cAAc,EACd,OA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AU,CAAC;AACzD,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAEvD,6DAA6D;AAC7D,wBAAgB,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,SAAS,MAAM,EAAE,CAM3D;AAED,qDAAqD;AACrD,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,IAAI,CAAC;CACd;AAID,sGAAsG;AACtG,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAyBzD"}
|
package/src/base/utilities.js
CHANGED
|
@@ -700,6 +700,7 @@ export const UTILITIES = [
|
|
|
700
700
|
{ name: "visibility", pseudo: true, properties: ["visibility"], mode: "keyword", family: "box" },
|
|
701
701
|
{ name: "z", pseudo: true, properties: ["z-index"], mode: "raw", family: "box", noBase: "auto" },
|
|
702
702
|
{ name: "object-fit", properties: ["object-fit"], mode: "keyword", family: "box" },
|
|
703
|
+
{ name: "object-position", properties: ["object-position"], mode: "raw", family: "box" },
|
|
703
704
|
// the divider between children for the divide-x / divide-y switches: the
|
|
704
705
|
// border shorthand's grammar, emitting only its (inherited) width and color channels
|
|
705
706
|
{ name: "divide", properties: [], mode: "raw", family: "box", emit: "border", inherits: true },
|
package/src/base/utilities.ts
CHANGED
|
@@ -804,6 +804,7 @@ export const UTILITIES: readonly Utility[] = [
|
|
|
804
804
|
{ name: "visibility", pseudo: true, properties: ["visibility"], mode: "keyword", family: "box" },
|
|
805
805
|
{ name: "z", pseudo: true, properties: ["z-index"], mode: "raw", family: "box", noBase: "auto" },
|
|
806
806
|
{ name: "object-fit", properties: ["object-fit"], mode: "keyword", family: "box" },
|
|
807
|
+
{ name: "object-position", properties: ["object-position"], mode: "raw", family: "box" },
|
|
807
808
|
// the divider between children for the divide-x / divide-y switches: the
|
|
808
809
|
// border shorthand's grammar, emitting only its (inherited) width and color channels
|
|
809
810
|
{ name: "divide", properties: [], mode: "raw", family: "box", emit: "border", inherits: true },
|