@vectoriox/iox-ui 5.108.0 → 5.109.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/fesm2022/vectoriox-iox-ui-generation-core.mjs +235 -15
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/generation-core/index.d.ts +50 -14
- package/package.json +1 -1
- package/src/generation-core/check-layout.ts +14 -1
- package/src/generation-core/check-list.ts +168 -0
- package/src/generation-core/compose-layout.ts +3 -0
- package/src/generation-core/compose-site.ts +2 -14
- package/src/generation-core/layout-fingerprint.ts +37 -2
- package/src/generation-core/layout-language.ts +18 -1
- package/src/generation-core/public-api.ts +1 -0
- package/src/generation-core/serialized-node.ts +3 -1
- package/styles/iox-design.css +18 -0
package/styles/iox-design.css
CHANGED
|
@@ -91,6 +91,24 @@ iox-gallery.iox-es-media[data-iox-empty] > .iox-gallery {
|
|
|
91
91
|
.iox-role-card-quote::before { content: open-quote; }
|
|
92
92
|
.iox-role-card-quote::after { content: close-quote; }
|
|
93
93
|
|
|
94
|
+
/* LI1: a masonry wall — CSS columns over the Repeater's rows, as many as the room holds (a column is never narrower
|
|
95
|
+
than 260px; `two-up` keeps two on a phone). Widths, never a breakpoint, so the canvas's frame and the live page agree.
|
|
96
|
+
A row never breaks across two columns; the gap below a row is the look's gap.
|
|
97
|
+
The columns go on the element that HOLDS the rows: a Repeater's role class sits on its host, and its rows sit in its
|
|
98
|
+
`.repeater-root` (the engine's host > root; the canvas's host > .repeater-wrapper > root) — columns on the host would
|
|
99
|
+
split its one child. */
|
|
100
|
+
:is(.iox-role-list-masonry, .iox-role-list-masonry > .repeater-wrapper) > .repeater-root,
|
|
101
|
+
.iox-role-list-masonry:not(:has(.repeater-root)) { columns: 3 260px; column-gap: var(--iox-space-gap); }
|
|
102
|
+
:is(.iox-role-list-masonry-two, .iox-role-list-masonry-two > .repeater-wrapper) > .repeater-root,
|
|
103
|
+
.iox-role-list-masonry-two:not(:has(.repeater-root)) { columns: 3 140px; column-gap: var(--iox-space-gap); }
|
|
104
|
+
:where(
|
|
105
|
+
:is(.iox-role-list-masonry, .iox-role-list-masonry-two, .iox-role-list-masonry > .repeater-wrapper, .iox-role-list-masonry-two > .repeater-wrapper) > .repeater-root,
|
|
106
|
+
.iox-role-list-masonry:not(:has(.repeater-root)), .iox-role-list-masonry-two:not(:has(.repeater-root))
|
|
107
|
+
) > * {
|
|
108
|
+
break-inside: avoid;
|
|
109
|
+
margin-block-end: var(--iox-space-gap);
|
|
110
|
+
}
|
|
111
|
+
|
|
94
112
|
/* LI1: a list whose mix says `dim` (its frame plays `list.dim`) — when the visitor points at one item, the others rest at
|
|
95
113
|
the look's list-rest-opacity. A mouse only (Emil G1). The item's PARTS fade, never the item itself: an item's own
|
|
96
114
|
transition (a linked card's lift and shadow) is the element style's, and naming opacity on it would replace that list.
|