@vectoriox/iox-ui 5.108.1 → 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 +12 -4
package/styles/iox-design.css
CHANGED
|
@@ -93,10 +93,18 @@ iox-gallery.iox-es-media[data-iox-empty] > .iox-gallery {
|
|
|
93
93
|
|
|
94
94
|
/* LI1: a masonry wall — CSS columns over the Repeater's rows, as many as the room holds (a column is never narrower
|
|
95
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
|
-
|
|
98
|
-
|
|
99
|
-
|
|
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
|
+
) > * {
|
|
100
108
|
break-inside: avoid;
|
|
101
109
|
margin-block-end: var(--iox-space-gap);
|
|
102
110
|
}
|