@vectoriox/iox-ui 5.82.0 → 5.82.2
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/index.d.ts
CHANGED
|
@@ -1848,7 +1848,7 @@ type StateMaps = Record<string, Record<string, any> | undefined> | null | undefi
|
|
|
1848
1848
|
*/
|
|
1849
1849
|
declare function stateTransitionProperties(stateStyles: StateMaps, responsive?: Record<string, {
|
|
1850
1850
|
stateStyles?: StateMaps;
|
|
1851
|
-
} | undefined> | null): string[];
|
|
1851
|
+
} | undefined> | null, type?: string | null): string[];
|
|
1852
1852
|
/**
|
|
1853
1853
|
* `styleProps` as a renderer compiles them: a hovering node with no timing of its own takes the default hover timing,
|
|
1854
1854
|
* and a node whose transition names no properties gets the ones its states change. An author's own `transitionProperty`
|
|
@@ -1856,7 +1856,7 @@ declare function stateTransitionProperties(stateStyles: StateMaps, responsive?:
|
|
|
1856
1856
|
*/
|
|
1857
1857
|
declare function withStateTransitions(styleProps: Record<string, any>, stateStyles: StateMaps, elementStyle?: string | null, responsive?: Record<string, {
|
|
1858
1858
|
stateStyles?: StateMaps;
|
|
1859
|
-
} | undefined> | null): Record<string, any>;
|
|
1859
|
+
} | undefined> | null, type?: string | null): Record<string, any>;
|
|
1860
1860
|
/**
|
|
1861
1861
|
* Per-type default `width` that the builder applies from each component's config
|
|
1862
1862
|
* (NOT persisted in styleProps — see render-parity.md "saved node is not
|
package/package.json
CHANGED
package/styles/iox-design.css
CHANGED
|
@@ -127,7 +127,9 @@ iox-gallery.iox-es-media[data-iox-empty] > .iox-gallery {
|
|
|
127
127
|
as it is on every node — the lift, the shadow growth and the zoom read tokens that a NON-linked card zeroes here.
|
|
128
128
|
The picture zooms with the CARD's hover (its own hover is under the stretched link): `scale` composes with the
|
|
129
129
|
picture's own transform, on the look's slow duration; hover devices only (G1). */
|
|
130
|
-
|
|
130
|
+
/* "Wholly a link": the card is an <a> (a LinkedContainer on the live site), its canvas twin holds that <a> as its root
|
|
131
|
+
(`.linked-container-root`), or it holds Card v2's stretched title link. */
|
|
132
|
+
.iox-es-card:not(a):not(:has(> a.linked-container-root)):not(:has(.iox-card-link)) {
|
|
131
133
|
--iox-card-lift: 0px;
|
|
132
134
|
--iox-card-hover-x: 0px;
|
|
133
135
|
--iox-card-shadow-hover: var(--iox-card-shadow);
|
|
@@ -143,7 +145,7 @@ iox-gallery.iox-es-media[data-iox-empty] > .iox-gallery {
|
|
|
143
145
|
transition: transform var(--iox-dur-slow) var(--iox-ease-standard), scale var(--iox-dur-slow) var(--iox-ease-standard);
|
|
144
146
|
}
|
|
145
147
|
@media (hover: hover) and (pointer: fine) {
|
|
146
|
-
:is(a.iox-es-card, .iox-es-card:has(.iox-card-link)):hover .iox-es-media {
|
|
148
|
+
:is(a.iox-es-card, .iox-es-card:has(> a.linked-container-root), .iox-es-card:has(.iox-card-link)):hover .iox-es-media {
|
|
147
149
|
scale: var(--card-media-zoom);
|
|
148
150
|
}
|
|
149
151
|
}
|