@cloudscape-design/components-themeable 3.0.1355 → 3.0.1356
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/lib/internal/manifest.json +1 -1
- package/lib/internal/scss/expandable-section/styles.scss +12 -8
- package/lib/internal/scss/icon/hover-motion.scss +1151 -124
- package/lib/internal/scss/icon/mixins.scss +4 -0
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
- package/lib/internal/scss/link/styles.scss +2 -0
- package/lib/internal/template/expandable-section/styles.css.js +43 -43
- package/lib/internal/template/expandable-section/styles.scoped.css +89 -88
- package/lib/internal/template/expandable-section/styles.selectors.js +43 -43
- package/lib/internal/template/icon/generated/icons.js +126 -58
- package/lib/internal/template/icon/generated/icons.js.map +1 -1
- package/lib/internal/template/icon/styles.css.js +41 -41
- package/lib/internal/template/icon/styles.scoped.css +109 -91
- package/lib/internal/template/icon/styles.selectors.js +41 -41
- package/lib/internal/template/internal/base-component/styles.scoped.css +7 -7
- package/lib/internal/template/internal/base-theme/styles.scoped.css +6 -6
- package/lib/internal/template/internal/environment.js +2 -2
- package/lib/internal/template/internal/environment.json +2 -2
- package/lib/internal/template/internal/generated/styles/tokens.js +4 -4
- package/lib/internal/template/internal/generated/theming/index.cjs +12 -12
- package/lib/internal/template/internal/generated/theming/index.js +12 -12
- package/package.json +1 -1
|
@@ -352,12 +352,14 @@ $nav-caret-pad-one-theme: 12px; // 24px minus the one-theme x-small (12px) icon
|
|
|
352
352
|
.content-inner {
|
|
353
353
|
/* this comment keeps the class in the style sheet */
|
|
354
354
|
@include theming.one-theme-only {
|
|
355
|
-
//
|
|
356
|
-
//
|
|
357
|
-
|
|
358
|
-
// overflow: clip (not hidden, which would coerce x-axis to auto) still lets the grid-row track collapse.
|
|
355
|
+
// Grid item of .content above. `clip` rather than `hidden`: `hidden` coerces the inline axis
|
|
356
|
+
// to `auto`, making this a scroll container on both axes, where `clip` leaves the inline axis
|
|
357
|
+
// `visible` so content that paints outside the box (focus rings, inline popovers) survives.
|
|
359
358
|
overflow-y: clip;
|
|
360
359
|
min-block-size: 0;
|
|
360
|
+
// A grid item's automatic minimum size is content-based on this axis too, so content that
|
|
361
|
+
// manages its own inline overflow (e.g. a table) would stretch the box out of the container.
|
|
362
|
+
min-inline-size: 0;
|
|
361
363
|
opacity: 0;
|
|
362
364
|
|
|
363
365
|
// HIDE (collapsed state): quick opacity collapse, no delay.
|
|
@@ -541,12 +543,14 @@ $nav-caret-pad-one-theme: 12px; // 24px minus the one-theme x-small (12px) icon
|
|
|
541
543
|
}
|
|
542
544
|
}
|
|
543
545
|
|
|
544
|
-
//
|
|
545
|
-
//
|
|
546
|
-
//
|
|
547
|
-
//
|
|
546
|
+
// Side-navigation makes this box a grid item (its section wrapper sets display: grid with
|
|
547
|
+
// grid-template-rows: 0fr to collapse), and a grid item's automatic minimum size is content-based on
|
|
548
|
+
// both axes: zero the block axis so the header collapses to zero, zero the inline axis so wide content
|
|
549
|
+
// cannot stretch it past the track. It belongs here rather than on side-navigation's grid container,
|
|
550
|
+
// because a container's min-size does not participate in track sizing.
|
|
548
551
|
.header-content {
|
|
549
552
|
min-block-size: 0;
|
|
553
|
+
min-inline-size: 0;
|
|
550
554
|
}
|
|
551
555
|
|
|
552
556
|
// In the end-icon layout, header content elements must shrink without overflowing.
|