@cloudscape-design/components-themeable 3.0.1261 → 3.0.1263

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.
Files changed (183) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/cards/styles.scss +4 -4
  3. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +160 -155
  4. package/lib/internal/scss/{internal/components/card → item-card}/motion.scss +2 -2
  5. package/lib/internal/scss/item-card/styles.scss +166 -0
  6. package/lib/internal/scss/item-card/test-classes/styles.scss +24 -0
  7. package/lib/internal/template/alert/styles.css.js +27 -27
  8. package/lib/internal/template/alert/styles.scoped.css +50 -50
  9. package/lib/internal/template/alert/styles.selectors.js +27 -27
  10. package/lib/internal/template/annotation-context/annotation/styles.css.js +13 -13
  11. package/lib/internal/template/annotation-context/annotation/styles.scoped.css +21 -21
  12. package/lib/internal/template/annotation-context/annotation/styles.selectors.js +13 -13
  13. package/lib/internal/template/app-layout/notifications/styles.css.js +3 -3
  14. package/lib/internal/template/app-layout/notifications/styles.scoped.css +7 -7
  15. package/lib/internal/template/app-layout/notifications/styles.selectors.js +3 -3
  16. package/lib/internal/template/app-layout/visual-refresh/styles.css.js +86 -86
  17. package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +258 -258
  18. package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +86 -86
  19. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.css.js +32 -32
  20. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +89 -89
  21. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +32 -32
  22. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.css.js +4 -4
  23. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +7 -7
  24. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +4 -4
  25. package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +27 -27
  26. package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +54 -54
  27. package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +27 -27
  28. package/lib/internal/template/attribute-editor/styles.css.js +15 -15
  29. package/lib/internal/template/attribute-editor/styles.scoped.css +28 -28
  30. package/lib/internal/template/attribute-editor/styles.selectors.js +15 -15
  31. package/lib/internal/template/breadcrumb-group/item/styles.css.js +7 -7
  32. package/lib/internal/template/breadcrumb-group/item/styles.scoped.css +28 -28
  33. package/lib/internal/template/breadcrumb-group/item/styles.selectors.js +7 -7
  34. package/lib/internal/template/button/styles.css.js +22 -22
  35. package/lib/internal/template/button/styles.scoped.css +256 -256
  36. package/lib/internal/template/button/styles.selectors.js +22 -22
  37. package/lib/internal/template/button-dropdown/item-element/styles.css.js +21 -21
  38. package/lib/internal/template/button-dropdown/item-element/styles.scoped.css +37 -37
  39. package/lib/internal/template/button-dropdown/item-element/styles.selectors.js +21 -21
  40. package/lib/internal/template/cards/index.js +2 -2
  41. package/lib/internal/template/cards/index.js.map +1 -1
  42. package/lib/internal/template/cards/styles.css.js +38 -38
  43. package/lib/internal/template/cards/styles.scoped.css +43 -43
  44. package/lib/internal/template/cards/styles.selectors.js +38 -38
  45. package/lib/internal/template/checkbox/styles.css.js +3 -3
  46. package/lib/internal/template/checkbox/styles.scoped.css +11 -11
  47. package/lib/internal/template/checkbox/styles.selectors.js +3 -3
  48. package/lib/internal/template/content-layout/styles.css.js +14 -14
  49. package/lib/internal/template/content-layout/styles.scoped.css +27 -27
  50. package/lib/internal/template/content-layout/styles.selectors.js +14 -14
  51. package/lib/internal/template/dropdown/styles.css.js +20 -20
  52. package/lib/internal/template/dropdown/styles.scoped.css +49 -49
  53. package/lib/internal/template/dropdown/styles.selectors.js +20 -20
  54. package/lib/internal/template/file-token-group/styles.css.js +23 -23
  55. package/lib/internal/template/file-token-group/styles.scoped.css +36 -36
  56. package/lib/internal/template/file-token-group/styles.selectors.js +23 -23
  57. package/lib/internal/template/flashbar/styles.css.js +50 -50
  58. package/lib/internal/template/flashbar/styles.scoped.css +187 -187
  59. package/lib/internal/template/flashbar/styles.selectors.js +50 -50
  60. package/lib/internal/template/help-panel/styles.css.js +6 -6
  61. package/lib/internal/template/help-panel/styles.scoped.css +73 -73
  62. package/lib/internal/template/help-panel/styles.selectors.js +6 -6
  63. package/lib/internal/template/index.d.ts +1 -0
  64. package/lib/internal/template/index.d.ts.map +1 -1
  65. package/lib/internal/template/index.js +1 -0
  66. package/lib/internal/template/index.js.map +1 -1
  67. package/lib/internal/template/input/styles.css.js +13 -13
  68. package/lib/internal/template/input/styles.scoped.css +74 -74
  69. package/lib/internal/template/input/styles.selectors.js +13 -13
  70. package/lib/internal/template/internal/base-component/styles.scoped.css +54 -7
  71. package/lib/internal/template/internal/components/drag-handle-wrapper/styles.css.js +30 -30
  72. package/lib/internal/template/internal/components/drag-handle-wrapper/styles.scoped.css +58 -58
  73. package/lib/internal/template/internal/components/drag-handle-wrapper/styles.selectors.js +30 -30
  74. package/lib/internal/template/internal/components/radio-button/styles.css.js +7 -7
  75. package/lib/internal/template/internal/components/radio-button/styles.scoped.css +18 -18
  76. package/lib/internal/template/internal/components/radio-button/styles.selectors.js +7 -7
  77. package/lib/internal/template/internal/components/token-list/styles.css.js +10 -10
  78. package/lib/internal/template/internal/components/token-list/styles.scoped.css +25 -25
  79. package/lib/internal/template/internal/components/token-list/styles.selectors.js +10 -10
  80. package/lib/internal/template/internal/environment.js +2 -2
  81. package/lib/internal/template/internal/environment.json +2 -2
  82. package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts +5 -0
  83. package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts.map +1 -1
  84. package/lib/internal/template/internal/generated/custom-css-properties/index.js +159 -154
  85. package/lib/internal/template/internal/generated/custom-css-properties/index.js.map +1 -1
  86. package/lib/internal/template/internal/generated/styles/tokens.d.ts +12 -2
  87. package/lib/internal/template/internal/generated/styles/tokens.js +12 -2
  88. package/lib/internal/template/internal/generated/theming/index.cjs +152 -10
  89. package/lib/internal/template/internal/generated/theming/index.cjs.d.ts +18 -0
  90. package/lib/internal/template/internal/generated/theming/index.d.ts +18 -0
  91. package/lib/internal/template/internal/generated/theming/index.js +152 -10
  92. package/lib/internal/template/item-card/index.d.ts +5 -0
  93. package/lib/internal/template/item-card/index.d.ts.map +1 -0
  94. package/lib/internal/template/item-card/index.js +23 -0
  95. package/lib/internal/template/item-card/index.js.map +1 -0
  96. package/lib/internal/template/item-card/interfaces.d.ts +123 -0
  97. package/lib/internal/template/item-card/interfaces.d.ts.map +1 -0
  98. package/lib/internal/template/item-card/interfaces.js.map +1 -0
  99. package/lib/internal/template/item-card/internal.d.ts +3 -0
  100. package/lib/internal/template/item-card/internal.d.ts.map +1 -0
  101. package/lib/internal/template/item-card/internal.js +29 -0
  102. package/lib/internal/template/item-card/internal.js.map +1 -0
  103. package/lib/internal/template/item-card/style.d.ts +21 -0
  104. package/lib/internal/template/item-card/style.d.ts.map +1 -0
  105. package/lib/internal/template/item-card/style.js +55 -0
  106. package/lib/internal/template/item-card/style.js.map +1 -0
  107. package/lib/internal/template/item-card/styles.css.js +19 -0
  108. package/lib/internal/template/item-card/styles.scoped.css +361 -0
  109. package/lib/internal/template/item-card/styles.selectors.js +20 -0
  110. package/lib/internal/template/item-card/test-classes/styles.css.js +10 -0
  111. package/lib/internal/template/item-card/test-classes/styles.scoped.css +23 -0
  112. package/lib/internal/template/item-card/test-classes/styles.selectors.js +11 -0
  113. package/lib/internal/template/link/styles.css.js +20 -20
  114. package/lib/internal/template/link/styles.scoped.css +103 -103
  115. package/lib/internal/template/link/styles.selectors.js +20 -20
  116. package/lib/internal/template/modal/styles.css.js +31 -31
  117. package/lib/internal/template/modal/styles.scoped.css +48 -48
  118. package/lib/internal/template/modal/styles.selectors.js +31 -31
  119. package/lib/internal/template/package.json +1 -0
  120. package/lib/internal/template/progress-bar/styles.css.js +18 -18
  121. package/lib/internal/template/progress-bar/styles.scoped.css +48 -48
  122. package/lib/internal/template/progress-bar/styles.selectors.js +18 -18
  123. package/lib/internal/template/prompt-input/styles.css.js +17 -17
  124. package/lib/internal/template/prompt-input/styles.scoped.css +79 -79
  125. package/lib/internal/template/prompt-input/styles.selectors.js +17 -17
  126. package/lib/internal/template/segmented-control/styles.css.js +16 -16
  127. package/lib/internal/template/segmented-control/styles.scoped.css +46 -46
  128. package/lib/internal/template/segmented-control/styles.selectors.js +16 -16
  129. package/lib/internal/template/slider/styles.css.js +26 -26
  130. package/lib/internal/template/slider/styles.scoped.css +165 -165
  131. package/lib/internal/template/slider/styles.selectors.js +26 -26
  132. package/lib/internal/template/spinner/styles.css.js +13 -13
  133. package/lib/internal/template/spinner/styles.scoped.css +39 -39
  134. package/lib/internal/template/spinner/styles.selectors.js +13 -13
  135. package/lib/internal/template/tabs/styles.css.js +30 -30
  136. package/lib/internal/template/tabs/styles.scoped.css +76 -76
  137. package/lib/internal/template/tabs/styles.selectors.js +30 -30
  138. package/lib/internal/template/tag-editor/styles.css.js +3 -3
  139. package/lib/internal/template/tag-editor/styles.scoped.css +13 -13
  140. package/lib/internal/template/tag-editor/styles.selectors.js +3 -3
  141. package/lib/internal/template/test-utils/dom/flashbar/index.d.ts +6 -0
  142. package/lib/internal/template/test-utils/dom/flashbar/index.js +9 -0
  143. package/lib/internal/template/test-utils/dom/flashbar/index.js.map +1 -1
  144. package/lib/internal/template/test-utils/dom/index.d.ts +28 -0
  145. package/lib/internal/template/test-utils/dom/index.js +21 -2
  146. package/lib/internal/template/test-utils/dom/index.js.map +1 -1
  147. package/lib/internal/template/test-utils/dom/item-card/index.d.ts +28 -0
  148. package/lib/internal/template/test-utils/dom/item-card/index.js +49 -0
  149. package/lib/internal/template/test-utils/dom/item-card/index.js.map +1 -0
  150. package/lib/internal/template/test-utils/selectors/flashbar/index.d.ts +6 -0
  151. package/lib/internal/template/test-utils/selectors/flashbar/index.js +9 -0
  152. package/lib/internal/template/test-utils/selectors/flashbar/index.js.map +1 -1
  153. package/lib/internal/template/test-utils/selectors/index.d.ts +18 -0
  154. package/lib/internal/template/test-utils/selectors/index.js +16 -2
  155. package/lib/internal/template/test-utils/selectors/index.js.map +1 -1
  156. package/lib/internal/template/test-utils/selectors/item-card/index.d.ts +28 -0
  157. package/lib/internal/template/test-utils/selectors/item-card/index.js +49 -0
  158. package/lib/internal/template/test-utils/selectors/item-card/index.js.map +1 -0
  159. package/lib/internal/template/text-content/styles.css.js +1 -1
  160. package/lib/internal/template/text-content/styles.scoped.css +66 -66
  161. package/lib/internal/template/text-content/styles.selectors.js +1 -1
  162. package/lib/internal/template/textarea/styles.css.js +5 -5
  163. package/lib/internal/template/textarea/styles.scoped.css +45 -45
  164. package/lib/internal/template/textarea/styles.selectors.js +5 -5
  165. package/lib/internal/template/toggle/styles.css.js +10 -10
  166. package/lib/internal/template/toggle/styles.scoped.css +23 -23
  167. package/lib/internal/template/toggle/styles.selectors.js +10 -10
  168. package/lib/internal/template/token/styles.css.js +14 -14
  169. package/lib/internal/template/token/styles.scoped.css +48 -48
  170. package/lib/internal/template/token/styles.selectors.js +14 -14
  171. package/package.json +1 -1
  172. package/lib/internal/scss/internal/components/card/styles.scss +0 -113
  173. package/lib/internal/template/internal/components/card/index.d.ts +0 -3
  174. package/lib/internal/template/internal/components/card/index.d.ts.map +0 -1
  175. package/lib/internal/template/internal/components/card/index.js +0 -16
  176. package/lib/internal/template/internal/components/card/index.js.map +0 -1
  177. package/lib/internal/template/internal/components/card/interfaces.d.ts +0 -45
  178. package/lib/internal/template/internal/components/card/interfaces.d.ts.map +0 -1
  179. package/lib/internal/template/internal/components/card/interfaces.js.map +0 -1
  180. package/lib/internal/template/internal/components/card/styles.css.js +0 -16
  181. package/lib/internal/template/internal/components/card/styles.scoped.css +0 -318
  182. package/lib/internal/template/internal/components/card/styles.selectors.js +0 -17
  183. /package/lib/internal/template/{internal/components/card → item-card}/interfaces.js +0 -0
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "8b4eaf960cf44bc078056a9b4b5471bd16f602ec"
2
+ "commit": "33f2523c55fe0f0cf46e67e6a21043494f41ac82"
3
3
  }
@@ -47,11 +47,11 @@
47
47
  .selection-control {
48
48
  position: absolute;
49
49
  box-sizing: border-box;
50
- inline-size: calc(#{awsui.$size-control} + (2 * #{awsui.$space-card-horizontal}));
50
+ inline-size: calc(#{awsui.$size-control} + (2 * #{awsui.$space-card-horizontal-default}));
51
51
  inset-block-start: 0;
52
52
  inset-inline-end: 0;
53
- padding-block: awsui.$space-card-vertical;
54
- padding-inline: awsui.$space-card-horizontal;
53
+ padding-block: awsui.$space-card-vertical-default;
54
+ padding-inline: awsui.$space-card-horizontal-default;
55
55
  }
56
56
 
57
57
  .loading,
@@ -87,7 +87,7 @@
87
87
  &-header {
88
88
  @include styles.font-heading-m;
89
89
  &-inner {
90
- padding-block-start: styles.$control-padding-vertical;
90
+ /* used in test-utils */
91
91
  &-selectable {
92
92
  inline-size: 90%;
93
93
  }
@@ -1,159 +1,164 @@
1
1
 
2
2
  // Build environment
3
- $awsui-commit-hash: "8b4eaf96";
3
+ $awsui-commit-hash: "33f2523c";
4
4
  // Manually managed CSS-variables
5
- $maxContentWidth: --awsui-max-content-width-u09ddc;
6
- $minContentWidth: --awsui-min-content-width-u09ddc;
7
- $breadcrumbsGap: --awsui-breadcrumbs-gap-u09ddc;
8
- $contentGapLeft: --awsui-content-gap-left-u09ddc;
9
- $contentGapRight: --awsui-content-gap-right-u09ddc;
10
- $contentHeight: --awsui-content-height-u09ddc;
11
- $contentLayoutDefaultHorizontalPadding: --awsui-content-layout-default-horizontal-padding-u09ddc;
12
- $contentLayoutMaxContentWidth: --awsui-content-layout-max-content-width-u09ddc;
13
- $contentLayoutMainGap: --awsui-content-layout-main-gap-u09ddc;
14
- $defaultMaxContentWidth: --awsui-default-max-content-width-u09ddc;
15
- $defaultMinContentWidth: --awsui-default-min-content-width-u09ddc;
16
- $drawerSize: --awsui-drawer-size-u09ddc;
17
- $drawerMinSize: --awsui-drawer-min-size-u09ddc;
18
- $bottomDrawerSize: --awsui-bottom-drawer-size-u09ddc;
19
- $footerHeight: --awsui-footer-height-u09ddc;
20
- $headerGap: --awsui-header-gap-u09ddc;
21
- $headerHeight: --awsui-header-height-u09ddc;
22
- $layoutWidth: --awsui-layout-width-u09ddc;
23
- $mainGap: --awsui-main-gap-u09ddc;
24
- $mainOffsetLeft: --awsui-main-offset-left-u09ddc;
25
- $mainTemplateRows: --awsui-main-template-rows-u09ddc;
26
- $mobileBarHeight: --awsui-mobile-bar-height-u09ddc;
27
- $notificationsHeight: --awsui-notifications-height-u09ddc;
28
- $offsetTop: --awsui-offset-top-u09ddc;
29
- $overlapHeight: --awsui-overlap-height-u09ddc;
30
- $navigationWidth: --awsui-navigation-width-u09ddc;
31
- $splitPanelReportedHeaderSize: --awsui-split-panel-reported-header-size-u09ddc;
32
- $splitPanelReportedSize: --awsui-split-panel-reported-size-u09ddc;
33
- $splitPanelHeight: --awsui-split-panel-height-u09ddc;
34
- $splitPanelMinWidth: --awsui-split-panel-min-width-u09ddc;
35
- $splitPanelMaxWidth: --awsui-split-panel-max-width-u09ddc;
36
- $toolsMaxWidth: --awsui-tools-max-width-u09ddc;
37
- $toolsWidth: --awsui-tools-width-u09ddc;
38
- $toolsAnimationStartingOpacity: --awsui-tools-animation-starting-opacity-u09ddc;
39
- $contentScrollMargin: --awsui-content-scroll-margin-u09ddc;
40
- $flashbarStackDepth: --awsui-flashbar-stack-depth-u09ddc;
41
- $flashbarStackIndex: --awsui-flashbar-stack-index-u09ddc;
42
- $flashbarStickyBottomMargin: --awsui-flashbar-sticky-bottom-margin-u09ddc;
43
- $stackedNotificationsBottomMargin: --awsui-stacked-notifications-bottom-margin-u09ddc;
44
- $stackedNotificationsDefaultBottomMargin: --awsui-stacked-notifications-default-bottom-margin-u09ddc;
45
- $dropdownDefaultMaxWidth: --awsui-dropdown-default-max-width-u09ddc;
46
- $dropdownDefaultMinWidth: --awsui-dropdown-default-min-width-u09ddc;
47
- $dropdownContentBorderColor: --awsui-dropdown-content-border-color-u09ddc;
48
- $dropdownContentBorderWidth: --awsui-dropdown-content-border-width-u09ddc;
49
- $dropdownContentBorderRadius: --awsui-dropdown-content-border-radius-u09ddc;
50
- $modalCustomWidth: --awsui-modal-custom-width-u09ddc;
51
- $modalCustomHeight: --awsui-modal-custom-height-u09ddc;
52
- $spinnerRotatorFrom: --awsui-spinner-rotator-from-u09ddc;
53
- $spinnerRotatorTo: --awsui-spinner-rotator-to-u09ddc;
54
- $spinnerLineLeftFrom: --awsui-spinner-line-left-from-u09ddc;
55
- $spinnerLineLeftTo: --awsui-spinner-line-left-to-u09ddc;
56
- $spinnerLineRightFrom: --awsui-spinner-line-right-from-u09ddc;
57
- $spinnerLineRightTo: --awsui-spinner-line-right-to-u09ddc;
58
- $sliderLabelCount: --awsui-slider-label-count-u09ddc;
59
- $sliderTickCount: --awsui-slider-tick-count-u09ddc;
60
- $sliderReferenceColumn: --awsui-slider-reference-column-u09ddc;
61
- $sliderNextReferenceColumn: --awsui-slider-next-reference-column-u09ddc;
62
- $sliderMaxStart: --awsui-slider-max-start-u09ddc;
63
- $sliderMinEnd: --awsui-slider-min-end-u09ddc;
64
- $sliderRangeInlineSize: --awsui-slider-range-inline-size-u09ddc;
65
- $sliderTooltipPosition: --awsui-slider-tooltip-position-u09ddc;
66
- $togglesLeftWidth: --awsui-toggles-left-width-u09ddc;
67
- $togglesRightWidth: --awsui-toggles-right-width-u09ddc;
68
- $promptInputMaxRows: --awsui-prompt-input-max-rows-u09ddc;
69
- $promptInputScrollHeight: --awsui-prompt-input-scroll-height-u09ddc;
70
- $dragHandleAnimationInlineOffset: --awsui-drag-handle-animation-inline-offset-u09ddc;
71
- $dragHandleAnimationBlockOffset: --awsui-drag-handle-animation-block-offset-u09ddc;
72
- $styleBackgroundActive: --awsui-style-background-active-u09ddc;
73
- $styleBackgroundDefault: --awsui-style-background-default-u09ddc;
74
- $styleBackgroundDisabled: --awsui-style-background-disabled-u09ddc;
75
- $styleBackgroundHover: --awsui-style-background-hover-u09ddc;
76
- $styleBorderColorActive: --awsui-style-border-color-active-u09ddc;
77
- $styleBorderColorDefault: --awsui-style-border-color-default-u09ddc;
78
- $styleBorderColorDisabled: --awsui-style-border-color-disabled-u09ddc;
79
- $styleBorderColorHover: --awsui-style-border-color-hover-u09ddc;
80
- $styleColorActive: --awsui-style-color-active-u09ddc;
81
- $styleColorDefault: --awsui-style-color-default-u09ddc;
82
- $styleColorDisabled: --awsui-style-color-disabled-u09ddc;
83
- $styleColorHover: --awsui-style-color-hover-u09ddc;
84
- $styleFocusRingBorderColor: --awsui-style-focus-ring-border-color-u09ddc;
85
- $styleFocusRingBorderRadius: --awsui-style-focus-ring-border-radius-u09ddc;
86
- $styleFocusRingBorderWidth: --awsui-style-focus-ring-border-width-u09ddc;
87
- $styleFocusRingBoxShadow: --awsui-style-focus-ring-box-shadow-u09ddc;
88
- $styleBoxShadowActive: --awsui-style-box-shadow-active-u09ddc;
89
- $styleBoxShadowDefault: --awsui-style-box-shadow-default-u09ddc;
90
- $styleBoxShadowDisabled: --awsui-style-box-shadow-disabled-u09ddc;
91
- $styleBoxShadowHover: --awsui-style-box-shadow-hover-u09ddc;
92
- $styleBackgroundReadonly: --awsui-style-background-readonly-u09ddc;
93
- $styleBorderColorReadonly: --awsui-style-border-color-readonly-u09ddc;
94
- $styleBoxShadowReadonly: --awsui-style-box-shadow-readonly-u09ddc;
95
- $styleColorReadonly: --awsui-style-color-readonly-u09ddc;
96
- $styleBackgroundFocus: --awsui-style-background-focus-u09ddc;
97
- $styleBorderColorFocus: --awsui-style-border-color-focus-u09ddc;
98
- $styleBoxShadowFocus: --awsui-style-box-shadow-focus-u09ddc;
99
- $styleColorFocus: --awsui-style-color-focus-u09ddc;
100
- $stylePlaceholderColor: --awsui-style-placeholder-color-u09ddc;
101
- $stylePlaceholderFontSize: --awsui-style-placeholder-font-size-u09ddc;
102
- $stylePlaceholderFontStyle: --awsui-style-placeholder-font-style-u09ddc;
103
- $stylePlaceholderFontWeight: --awsui-style-placeholder-font-weight-u09ddc;
104
- $styleTabsActiveIndicatorColor: --awsui-style-tabs-active-indicator-color-u09ddc;
105
- $styleTabsActiveIndicatorWidth: --awsui-style-tabs-active-indicator-width-u09ddc;
106
- $styleTabsActiveIndicatorBorderRadius: --awsui-style-tabs-active-indicator-border-radius-u09ddc;
107
- $styleTabsSeparatorColor: --awsui-style-tabs-separator-color-u09ddc;
108
- $styleTabsSeparatorWidth: --awsui-style-tabs-separator-width-u09ddc;
109
- $alertFocusRingBorderColor: --awsui-alert-focus-ring-border-color-u09ddc;
110
- $alertFocusRingBorderRadius: --awsui-alert-focus-ring-border-radius-u09ddc;
111
- $alertFocusRingBorderWidth: --awsui-alert-focus-ring-border-width-u09ddc;
112
- $alertFocusRingBoxShadow: --awsui-alert-focus-ring-box-shadow-u09ddc;
113
- $alertIconColor: --awsui-alert-icon-color-u09ddc;
114
- $promptInputStyleBackgroundDefault: --awsui-prompt-input-style-background-default-u09ddc;
115
- $promptInputStyleBackgroundDisabled: --awsui-prompt-input-style-background-disabled-u09ddc;
116
- $promptInputStyleBackgroundFocus: --awsui-prompt-input-style-background-focus-u09ddc;
117
- $promptInputStyleBackgroundHover: --awsui-prompt-input-style-background-hover-u09ddc;
118
- $promptInputStyleBackgroundReadonly: --awsui-prompt-input-style-background-readonly-u09ddc;
119
- $promptInputStyleBorderColorDefault: --awsui-prompt-input-style-border-color-default-u09ddc;
120
- $promptInputStyleBorderColorDisabled: --awsui-prompt-input-style-border-color-disabled-u09ddc;
121
- $promptInputStyleBorderColorFocus: --awsui-prompt-input-style-border-color-focus-u09ddc;
122
- $promptInputStyleBorderColorHover: --awsui-prompt-input-style-border-color-hover-u09ddc;
123
- $promptInputStyleBorderColorReadonly: --awsui-prompt-input-style-border-color-readonly-u09ddc;
124
- $promptInputStyleBoxShadowDefault: --awsui-prompt-input-style-box-shadow-default-u09ddc;
125
- $promptInputStyleBoxShadowDisabled: --awsui-prompt-input-style-box-shadow-disabled-u09ddc;
126
- $promptInputStyleBoxShadowFocus: --awsui-prompt-input-style-box-shadow-focus-u09ddc;
127
- $promptInputStyleBoxShadowHover: --awsui-prompt-input-style-box-shadow-hover-u09ddc;
128
- $promptInputStyleBoxShadowReadonly: --awsui-prompt-input-style-box-shadow-readonly-u09ddc;
129
- $promptInputStyleColorDefault: --awsui-prompt-input-style-color-default-u09ddc;
130
- $promptInputStyleColorDisabled: --awsui-prompt-input-style-color-disabled-u09ddc;
131
- $promptInputStyleColorFocus: --awsui-prompt-input-style-color-focus-u09ddc;
132
- $promptInputStyleColorHover: --awsui-prompt-input-style-color-hover-u09ddc;
133
- $promptInputStyleColorReadonly: --awsui-prompt-input-style-color-readonly-u09ddc;
134
- $promptInputStylePlaceholderColor: --awsui-prompt-input-style-placeholder-color-u09ddc;
135
- $promptInputStylePlaceholderFontSize: --awsui-prompt-input-style-placeholder-font-size-u09ddc;
136
- $promptInputStylePlaceholderFontStyle: --awsui-prompt-input-style-placeholder-font-style-u09ddc;
137
- $promptInputStylePlaceholderFontWeight: --awsui-prompt-input-style-placeholder-font-weight-u09ddc;
138
- $progressBarBackgroundColor: --awsui-progress-bar-background-color-u09ddc;
139
- $progressBarBorderRadius: --awsui-progress-bar-border-radius-u09ddc;
140
- $progressBarHeight: --awsui-progress-bar-height-u09ddc;
141
- $progressValueBackgroundColor: --awsui-progress-value-background-color-u09ddc;
142
- $styleSliderTrackBackgroundColor: --awsui-style-slider-track-background-color-u09ddc;
143
- $styleSliderRangeBackgroundDefault: --awsui-style-slider-range-background-default-u09ddc;
144
- $styleSliderRangeBackgroundActive: --awsui-style-slider-range-background-active-u09ddc;
145
- $styleSliderHandleBackgroundDefault: --awsui-style-slider-handle-background-default-u09ddc;
146
- $styleSliderHandleBackgroundHover: --awsui-style-slider-handle-background-hover-u09ddc;
147
- $styleSliderHandleBackgroundActive: --awsui-style-slider-handle-background-active-u09ddc;
148
- $styleSliderHandleBorderRadius: --awsui-style-slider-handle-border-radius-u09ddc;
149
- $tokenStyleBackgroundDefault: --awsui-token-style-background-default-u09ddc;
150
- $tokenStyleBackgroundDisabled: --awsui-token-style-background-disabled-u09ddc;
151
- $tokenStyleBackgroundReadOnly: --awsui-token-style-background-read-only-u09ddc;
152
- $tokenStyleBorderColorDefault: --awsui-token-style-border-color-default-u09ddc;
153
- $tokenStyleBorderColorDisabled: --awsui-token-style-border-color-disabled-u09ddc;
154
- $tokenStyleBorderColorReadOnly: --awsui-token-style-border-color-read-only-u09ddc;
155
- $tokenStyleDismissColorDefault: --awsui-token-style-dismiss-color-default-u09ddc;
156
- $tokenStyleDismissColorDisabled: --awsui-token-style-dismiss-color-disabled-u09ddc;
157
- $tokenStyleDismissColorHover: --awsui-token-style-dismiss-color-hover-u09ddc;
158
- $tokenStyleDismissColorReadOnly: --awsui-token-style-dismiss-color-read-only-u09ddc;
5
+ $maxContentWidth: --awsui-max-content-width-6b9ypa;
6
+ $minContentWidth: --awsui-min-content-width-6b9ypa;
7
+ $breadcrumbsGap: --awsui-breadcrumbs-gap-6b9ypa;
8
+ $contentGapLeft: --awsui-content-gap-left-6b9ypa;
9
+ $contentGapRight: --awsui-content-gap-right-6b9ypa;
10
+ $contentHeight: --awsui-content-height-6b9ypa;
11
+ $contentLayoutDefaultHorizontalPadding: --awsui-content-layout-default-horizontal-padding-6b9ypa;
12
+ $contentLayoutMaxContentWidth: --awsui-content-layout-max-content-width-6b9ypa;
13
+ $contentLayoutMainGap: --awsui-content-layout-main-gap-6b9ypa;
14
+ $defaultMaxContentWidth: --awsui-default-max-content-width-6b9ypa;
15
+ $defaultMinContentWidth: --awsui-default-min-content-width-6b9ypa;
16
+ $drawerSize: --awsui-drawer-size-6b9ypa;
17
+ $drawerMinSize: --awsui-drawer-min-size-6b9ypa;
18
+ $bottomDrawerSize: --awsui-bottom-drawer-size-6b9ypa;
19
+ $footerHeight: --awsui-footer-height-6b9ypa;
20
+ $headerGap: --awsui-header-gap-6b9ypa;
21
+ $headerHeight: --awsui-header-height-6b9ypa;
22
+ $layoutWidth: --awsui-layout-width-6b9ypa;
23
+ $mainGap: --awsui-main-gap-6b9ypa;
24
+ $mainOffsetLeft: --awsui-main-offset-left-6b9ypa;
25
+ $mainTemplateRows: --awsui-main-template-rows-6b9ypa;
26
+ $mobileBarHeight: --awsui-mobile-bar-height-6b9ypa;
27
+ $notificationsHeight: --awsui-notifications-height-6b9ypa;
28
+ $offsetTop: --awsui-offset-top-6b9ypa;
29
+ $overlapHeight: --awsui-overlap-height-6b9ypa;
30
+ $navigationWidth: --awsui-navigation-width-6b9ypa;
31
+ $splitPanelReportedHeaderSize: --awsui-split-panel-reported-header-size-6b9ypa;
32
+ $splitPanelReportedSize: --awsui-split-panel-reported-size-6b9ypa;
33
+ $splitPanelHeight: --awsui-split-panel-height-6b9ypa;
34
+ $splitPanelMinWidth: --awsui-split-panel-min-width-6b9ypa;
35
+ $splitPanelMaxWidth: --awsui-split-panel-max-width-6b9ypa;
36
+ $toolsMaxWidth: --awsui-tools-max-width-6b9ypa;
37
+ $toolsWidth: --awsui-tools-width-6b9ypa;
38
+ $toolsAnimationStartingOpacity: --awsui-tools-animation-starting-opacity-6b9ypa;
39
+ $contentScrollMargin: --awsui-content-scroll-margin-6b9ypa;
40
+ $flashbarStackDepth: --awsui-flashbar-stack-depth-6b9ypa;
41
+ $flashbarStackIndex: --awsui-flashbar-stack-index-6b9ypa;
42
+ $flashbarStickyBottomMargin: --awsui-flashbar-sticky-bottom-margin-6b9ypa;
43
+ $stackedNotificationsBottomMargin: --awsui-stacked-notifications-bottom-margin-6b9ypa;
44
+ $stackedNotificationsDefaultBottomMargin: --awsui-stacked-notifications-default-bottom-margin-6b9ypa;
45
+ $dropdownDefaultMaxWidth: --awsui-dropdown-default-max-width-6b9ypa;
46
+ $dropdownDefaultMinWidth: --awsui-dropdown-default-min-width-6b9ypa;
47
+ $dropdownContentBorderColor: --awsui-dropdown-content-border-color-6b9ypa;
48
+ $dropdownContentBorderWidth: --awsui-dropdown-content-border-width-6b9ypa;
49
+ $dropdownContentBorderRadius: --awsui-dropdown-content-border-radius-6b9ypa;
50
+ $modalCustomWidth: --awsui-modal-custom-width-6b9ypa;
51
+ $modalCustomHeight: --awsui-modal-custom-height-6b9ypa;
52
+ $spinnerRotatorFrom: --awsui-spinner-rotator-from-6b9ypa;
53
+ $spinnerRotatorTo: --awsui-spinner-rotator-to-6b9ypa;
54
+ $spinnerLineLeftFrom: --awsui-spinner-line-left-from-6b9ypa;
55
+ $spinnerLineLeftTo: --awsui-spinner-line-left-to-6b9ypa;
56
+ $spinnerLineRightFrom: --awsui-spinner-line-right-from-6b9ypa;
57
+ $spinnerLineRightTo: --awsui-spinner-line-right-to-6b9ypa;
58
+ $sliderLabelCount: --awsui-slider-label-count-6b9ypa;
59
+ $sliderTickCount: --awsui-slider-tick-count-6b9ypa;
60
+ $sliderReferenceColumn: --awsui-slider-reference-column-6b9ypa;
61
+ $sliderNextReferenceColumn: --awsui-slider-next-reference-column-6b9ypa;
62
+ $sliderMaxStart: --awsui-slider-max-start-6b9ypa;
63
+ $sliderMinEnd: --awsui-slider-min-end-6b9ypa;
64
+ $sliderRangeInlineSize: --awsui-slider-range-inline-size-6b9ypa;
65
+ $sliderTooltipPosition: --awsui-slider-tooltip-position-6b9ypa;
66
+ $togglesLeftWidth: --awsui-toggles-left-width-6b9ypa;
67
+ $togglesRightWidth: --awsui-toggles-right-width-6b9ypa;
68
+ $promptInputMaxRows: --awsui-prompt-input-max-rows-6b9ypa;
69
+ $promptInputScrollHeight: --awsui-prompt-input-scroll-height-6b9ypa;
70
+ $dragHandleAnimationInlineOffset: --awsui-drag-handle-animation-inline-offset-6b9ypa;
71
+ $dragHandleAnimationBlockOffset: --awsui-drag-handle-animation-block-offset-6b9ypa;
72
+ $styleBackgroundActive: --awsui-style-background-active-6b9ypa;
73
+ $styleBackgroundDefault: --awsui-style-background-default-6b9ypa;
74
+ $styleBackgroundDisabled: --awsui-style-background-disabled-6b9ypa;
75
+ $styleBackgroundHover: --awsui-style-background-hover-6b9ypa;
76
+ $styleBorderColorActive: --awsui-style-border-color-active-6b9ypa;
77
+ $styleBorderColorDefault: --awsui-style-border-color-default-6b9ypa;
78
+ $styleBorderColorDisabled: --awsui-style-border-color-disabled-6b9ypa;
79
+ $styleBorderColorHover: --awsui-style-border-color-hover-6b9ypa;
80
+ $styleColorActive: --awsui-style-color-active-6b9ypa;
81
+ $styleColorDefault: --awsui-style-color-default-6b9ypa;
82
+ $styleColorDisabled: --awsui-style-color-disabled-6b9ypa;
83
+ $styleColorHover: --awsui-style-color-hover-6b9ypa;
84
+ $styleFocusRingBorderColor: --awsui-style-focus-ring-border-color-6b9ypa;
85
+ $styleFocusRingBorderRadius: --awsui-style-focus-ring-border-radius-6b9ypa;
86
+ $styleFocusRingBorderWidth: --awsui-style-focus-ring-border-width-6b9ypa;
87
+ $styleFocusRingBoxShadow: --awsui-style-focus-ring-box-shadow-6b9ypa;
88
+ $styleBoxShadowActive: --awsui-style-box-shadow-active-6b9ypa;
89
+ $styleBoxShadowDefault: --awsui-style-box-shadow-default-6b9ypa;
90
+ $styleBoxShadowDisabled: --awsui-style-box-shadow-disabled-6b9ypa;
91
+ $styleBoxShadowHover: --awsui-style-box-shadow-hover-6b9ypa;
92
+ $styleBackgroundReadonly: --awsui-style-background-readonly-6b9ypa;
93
+ $styleBorderColorReadonly: --awsui-style-border-color-readonly-6b9ypa;
94
+ $styleBoxShadowReadonly: --awsui-style-box-shadow-readonly-6b9ypa;
95
+ $styleColorReadonly: --awsui-style-color-readonly-6b9ypa;
96
+ $styleBackgroundFocus: --awsui-style-background-focus-6b9ypa;
97
+ $styleBorderColorFocus: --awsui-style-border-color-focus-6b9ypa;
98
+ $styleBoxShadowFocus: --awsui-style-box-shadow-focus-6b9ypa;
99
+ $styleColorFocus: --awsui-style-color-focus-6b9ypa;
100
+ $stylePlaceholderColor: --awsui-style-placeholder-color-6b9ypa;
101
+ $stylePlaceholderFontSize: --awsui-style-placeholder-font-size-6b9ypa;
102
+ $stylePlaceholderFontStyle: --awsui-style-placeholder-font-style-6b9ypa;
103
+ $stylePlaceholderFontWeight: --awsui-style-placeholder-font-weight-6b9ypa;
104
+ $styleTabsActiveIndicatorColor: --awsui-style-tabs-active-indicator-color-6b9ypa;
105
+ $styleTabsActiveIndicatorWidth: --awsui-style-tabs-active-indicator-width-6b9ypa;
106
+ $styleTabsActiveIndicatorBorderRadius: --awsui-style-tabs-active-indicator-border-radius-6b9ypa;
107
+ $styleTabsSeparatorColor: --awsui-style-tabs-separator-color-6b9ypa;
108
+ $styleTabsSeparatorWidth: --awsui-style-tabs-separator-width-6b9ypa;
109
+ $alertFocusRingBorderColor: --awsui-alert-focus-ring-border-color-6b9ypa;
110
+ $alertFocusRingBorderRadius: --awsui-alert-focus-ring-border-radius-6b9ypa;
111
+ $alertFocusRingBorderWidth: --awsui-alert-focus-ring-border-width-6b9ypa;
112
+ $alertFocusRingBoxShadow: --awsui-alert-focus-ring-box-shadow-6b9ypa;
113
+ $alertIconColor: --awsui-alert-icon-color-6b9ypa;
114
+ $promptInputStyleBackgroundDefault: --awsui-prompt-input-style-background-default-6b9ypa;
115
+ $promptInputStyleBackgroundDisabled: --awsui-prompt-input-style-background-disabled-6b9ypa;
116
+ $promptInputStyleBackgroundFocus: --awsui-prompt-input-style-background-focus-6b9ypa;
117
+ $promptInputStyleBackgroundHover: --awsui-prompt-input-style-background-hover-6b9ypa;
118
+ $promptInputStyleBackgroundReadonly: --awsui-prompt-input-style-background-readonly-6b9ypa;
119
+ $promptInputStyleBorderColorDefault: --awsui-prompt-input-style-border-color-default-6b9ypa;
120
+ $promptInputStyleBorderColorDisabled: --awsui-prompt-input-style-border-color-disabled-6b9ypa;
121
+ $promptInputStyleBorderColorFocus: --awsui-prompt-input-style-border-color-focus-6b9ypa;
122
+ $promptInputStyleBorderColorHover: --awsui-prompt-input-style-border-color-hover-6b9ypa;
123
+ $promptInputStyleBorderColorReadonly: --awsui-prompt-input-style-border-color-readonly-6b9ypa;
124
+ $promptInputStyleBoxShadowDefault: --awsui-prompt-input-style-box-shadow-default-6b9ypa;
125
+ $promptInputStyleBoxShadowDisabled: --awsui-prompt-input-style-box-shadow-disabled-6b9ypa;
126
+ $promptInputStyleBoxShadowFocus: --awsui-prompt-input-style-box-shadow-focus-6b9ypa;
127
+ $promptInputStyleBoxShadowHover: --awsui-prompt-input-style-box-shadow-hover-6b9ypa;
128
+ $promptInputStyleBoxShadowReadonly: --awsui-prompt-input-style-box-shadow-readonly-6b9ypa;
129
+ $promptInputStyleColorDefault: --awsui-prompt-input-style-color-default-6b9ypa;
130
+ $promptInputStyleColorDisabled: --awsui-prompt-input-style-color-disabled-6b9ypa;
131
+ $promptInputStyleColorFocus: --awsui-prompt-input-style-color-focus-6b9ypa;
132
+ $promptInputStyleColorHover: --awsui-prompt-input-style-color-hover-6b9ypa;
133
+ $promptInputStyleColorReadonly: --awsui-prompt-input-style-color-readonly-6b9ypa;
134
+ $promptInputStylePlaceholderColor: --awsui-prompt-input-style-placeholder-color-6b9ypa;
135
+ $promptInputStylePlaceholderFontSize: --awsui-prompt-input-style-placeholder-font-size-6b9ypa;
136
+ $promptInputStylePlaceholderFontStyle: --awsui-prompt-input-style-placeholder-font-style-6b9ypa;
137
+ $promptInputStylePlaceholderFontWeight: --awsui-prompt-input-style-placeholder-font-weight-6b9ypa;
138
+ $progressBarBackgroundColor: --awsui-progress-bar-background-color-6b9ypa;
139
+ $progressBarBorderRadius: --awsui-progress-bar-border-radius-6b9ypa;
140
+ $progressBarHeight: --awsui-progress-bar-height-6b9ypa;
141
+ $progressValueBackgroundColor: --awsui-progress-value-background-color-6b9ypa;
142
+ $styleSliderTrackBackgroundColor: --awsui-style-slider-track-background-color-6b9ypa;
143
+ $styleSliderRangeBackgroundDefault: --awsui-style-slider-range-background-default-6b9ypa;
144
+ $styleSliderRangeBackgroundActive: --awsui-style-slider-range-background-active-6b9ypa;
145
+ $styleSliderHandleBackgroundDefault: --awsui-style-slider-handle-background-default-6b9ypa;
146
+ $styleSliderHandleBackgroundHover: --awsui-style-slider-handle-background-hover-6b9ypa;
147
+ $styleSliderHandleBackgroundActive: --awsui-style-slider-handle-background-active-6b9ypa;
148
+ $styleSliderHandleBorderRadius: --awsui-style-slider-handle-border-radius-6b9ypa;
149
+ $tokenStyleBackgroundDefault: --awsui-token-style-background-default-6b9ypa;
150
+ $tokenStyleBackgroundDisabled: --awsui-token-style-background-disabled-6b9ypa;
151
+ $tokenStyleBackgroundReadOnly: --awsui-token-style-background-read-only-6b9ypa;
152
+ $tokenStyleBorderColorDefault: --awsui-token-style-border-color-default-6b9ypa;
153
+ $tokenStyleBorderColorDisabled: --awsui-token-style-border-color-disabled-6b9ypa;
154
+ $tokenStyleBorderColorReadOnly: --awsui-token-style-border-color-read-only-6b9ypa;
155
+ $tokenStyleDismissColorDefault: --awsui-token-style-dismiss-color-default-6b9ypa;
156
+ $tokenStyleDismissColorDisabled: --awsui-token-style-dismiss-color-disabled-6b9ypa;
157
+ $tokenStyleDismissColorHover: --awsui-token-style-dismiss-color-hover-6b9ypa;
158
+ $tokenStyleDismissColorReadOnly: --awsui-token-style-dismiss-color-read-only-6b9ypa;
159
+ $styleItemCardBackgroundDefault: --awsui-style-item-card-background-default-6b9ypa;
160
+ $styleItemCardBorderColorDefault: --awsui-style-item-card-border-color-default-6b9ypa;
161
+ $styleItemCardBorderRadius: --awsui-style-item-card-border-radius-6b9ypa;
162
+ $styleItemCardBorderWidthDefault: --awsui-style-item-card-border-width-default-6b9ypa;
163
+ $styleItemCardBoxShadowDefault: --awsui-style-item-card-box-shadow-default-6b9ypa;
159
164
 
@@ -3,8 +3,8 @@
3
3
  SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
 
6
- @use '../../styles' as styles;
7
- @use '../../styles/tokens' as awsui;
6
+ @use '../internal/styles' as styles;
7
+ @use '../internal/styles/tokens' as awsui;
8
8
 
9
9
  .root {
10
10
  @include styles.with-motion {
@@ -0,0 +1,166 @@
1
+ /*
2
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ SPDX-License-Identifier: Apache-2.0
4
+ */
5
+
6
+ @use 'sass:map';
7
+ @use 'sass:math';
8
+
9
+ @use '../internal/styles' as styles;
10
+ @use '../internal/styles/tokens' as awsui;
11
+ @use '../internal/generated/custom-css-properties/index.scss' as custom-props;
12
+ @use './motion';
13
+
14
+ // Variant configuration maps — adjust values here for easy customization
15
+ $variant-border-radius: (
16
+ 'embedded': awsui.$border-radius-card-embedded,
17
+ 'default': awsui.$border-radius-card-default,
18
+ );
19
+
20
+ $variant-padding-block: (
21
+ 'embedded': awsui.$space-card-vertical-embedded,
22
+ 'default': awsui.$space-card-vertical-default,
23
+ );
24
+
25
+ $variant-padding-inline: (
26
+ 'embedded': awsui.$space-card-horizontal-embedded,
27
+ 'default': awsui.$space-card-horizontal-default,
28
+ );
29
+
30
+ $action-padding-vertical: styles.$control-padding-vertical;
31
+ $action-padding-horizontal: awsui.$space-xxs;
32
+
33
+ @mixin apply-border-radius($variant: 'default') {
34
+ $radius: map.get($variant-border-radius, $variant);
35
+ border-start-start-radius: var(#{custom-props.$styleItemCardBorderRadius}, $radius);
36
+ border-start-end-radius: var(#{custom-props.$styleItemCardBorderRadius}, $radius);
37
+ border-end-start-radius: var(#{custom-props.$styleItemCardBorderRadius}, $radius);
38
+ border-end-end-radius: var(#{custom-props.$styleItemCardBorderRadius}, $radius);
39
+ }
40
+
41
+ .header {
42
+ &-inner {
43
+ @include styles.font-heading-s;
44
+ }
45
+ &:not(:has(+ .body)) {
46
+ flex: 1;
47
+ }
48
+ }
49
+
50
+ .body {
51
+ flex: 1;
52
+ }
53
+
54
+ .footer {
55
+ &:first-child {
56
+ margin-block-start: auto;
57
+ }
58
+ }
59
+
60
+ .root {
61
+ @include styles.styles-reset();
62
+ box-sizing: border-box;
63
+ position: relative;
64
+ background-color: var(#{custom-props.$styleItemCardBackgroundDefault}, awsui.$color-background-card);
65
+ min-inline-size: 0;
66
+ box-shadow: var(#{custom-props.$styleItemCardBoxShadowDefault}, awsui.$shadow-card);
67
+
68
+ &:before {
69
+ @include styles.base-pseudo-element;
70
+ box-shadow: none;
71
+ border-color: transparent;
72
+ border-block: solid var(#{custom-props.$styleItemCardBorderWidthDefault}, awsui.$border-width-card)
73
+ var(#{custom-props.$styleItemCardBorderColorDefault}, awsui.$color-border-card);
74
+ border-inline: solid var(#{custom-props.$styleItemCardBorderWidthDefault}, awsui.$border-width-card)
75
+ var(#{custom-props.$styleItemCardBorderColorDefault}, awsui.$color-border-card);
76
+ }
77
+
78
+ &::after {
79
+ @include styles.base-pseudo-element;
80
+ }
81
+
82
+ &:not(.refresh)::before {
83
+ border-block-start: solid var(#{custom-props.$styleItemCardBorderWidthDefault}, awsui.$border-container-top-width)
84
+ var(#{custom-props.$styleItemCardBorderColorDefault}, awsui.$color-border-container-top);
85
+ }
86
+
87
+ &.highlighted {
88
+ background-color: awsui.$color-background-item-selected;
89
+
90
+ &:before {
91
+ border-block: solid awsui.$border-width-card-highlighted awsui.$color-border-card-highlighted;
92
+ border-inline: solid awsui.$border-width-card-highlighted awsui.$color-border-card-highlighted;
93
+ }
94
+ }
95
+
96
+ &.variant-embedded,
97
+ &.variant-default {
98
+ > .inner-card {
99
+ display: flex;
100
+ flex-direction: column;
101
+ block-size: 100%;
102
+ inline-size: 100%;
103
+
104
+ > .header + .body,
105
+ > .header + .footer,
106
+ > .body + .footer {
107
+ &:not(.no-padding) {
108
+ padding-block-start: awsui.$space-xxs;
109
+ }
110
+ }
111
+
112
+ > .header,
113
+ > .body {
114
+ &:not(.no-padding):has(+ .body, + .footer) {
115
+ padding-block-end: awsui.$space-xxs;
116
+ }
117
+ }
118
+ }
119
+ }
120
+
121
+ // Generate variant styles from the configuration maps
122
+ @each $variant in ('embedded', 'default') {
123
+ &.variant-#{$variant} {
124
+ &,
125
+ &:before,
126
+ &::after,
127
+ > .inner-card {
128
+ @include apply-border-radius($variant);
129
+ }
130
+
131
+ $padding-block: map.get($variant-padding-block, $variant);
132
+ $padding-inline: map.get($variant-padding-inline, $variant);
133
+
134
+ > .inner-card > .header,
135
+ > .inner-card > .body,
136
+ > .inner-card > .footer {
137
+ &:not(.no-padding) {
138
+ padding-block: $padding-block;
139
+ padding-inline-start: $padding-inline;
140
+ &:not(.with-actions) {
141
+ padding-inline-end: $padding-inline;
142
+ }
143
+ &.with-actions {
144
+ padding-inline-end: calc($padding-inline - $action-padding-horizontal);
145
+ }
146
+ }
147
+ }
148
+
149
+ > .inner-card > .header:not(.no-padding).with-actions {
150
+ padding-block: calc($padding-block - $action-padding-vertical);
151
+ &:has(+ .body, + .footer) {
152
+ padding-block-end: awsui.$space-xxs;
153
+ }
154
+ }
155
+ }
156
+ }
157
+ }
158
+
159
+ .full-height {
160
+ block-size: 100%;
161
+ }
162
+
163
+ .description {
164
+ color: awsui.$color-text-heading-secondary;
165
+ @include styles.font-body-s;
166
+ }
@@ -0,0 +1,24 @@
1
+ /*
2
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ SPDX-License-Identifier: Apache-2.0
4
+ */
5
+
6
+ .icon {
7
+ /* used in test-utils */
8
+ }
9
+
10
+ .body {
11
+ /* used in test-utils */
12
+ }
13
+
14
+ .description {
15
+ /* used in test-utils */
16
+ }
17
+
18
+ .header {
19
+ /* used in test-utils */
20
+ }
21
+
22
+ .footer {
23
+ /* used in test-utils */
24
+ }
@@ -1,32 +1,32 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "alert": "awsui_alert_mx3cw_1grb4_193",
5
- "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_mx3cw_1grb4_1",
6
- "root": "awsui_root_mx3cw_1grb4_215",
7
- "hidden": "awsui_hidden_mx3cw_1grb4_250",
8
- "alert-wrapper": "awsui_alert-wrapper_mx3cw_1grb4_299",
9
- "initial-hidden": "awsui_initial-hidden_mx3cw_1grb4_311",
10
- "header": "awsui_header_mx3cw_1grb4_316",
11
- "header-replacement": "awsui_header-replacement_mx3cw_1grb4_317",
12
- "action": "awsui_action_mx3cw_1grb4_321",
13
- "action-slot": "awsui_action-slot_mx3cw_1grb4_325",
14
- "action-button": "awsui_action-button_mx3cw_1grb4_326",
15
- "alert-focus-wrapper": "awsui_alert-focus-wrapper_mx3cw_1grb4_330",
16
- "text": "awsui_text_mx3cw_1grb4_361",
17
- "icon": "awsui_icon_mx3cw_1grb4_368",
18
- "message": "awsui_message_mx3cw_1grb4_371",
19
- "action-wrapped": "awsui_action-wrapped_mx3cw_1grb4_375",
20
- "icon-size-medium": "awsui_icon-size-medium_mx3cw_1grb4_379",
21
- "icon-size-big": "awsui_icon-size-big_mx3cw_1grb4_383",
22
- "icon-size-normal": "awsui_icon-size-normal_mx3cw_1grb4_387",
23
- "content": "awsui_content_mx3cw_1grb4_391",
24
- "content-replacement": "awsui_content-replacement_mx3cw_1grb4_392",
25
- "dismiss": "awsui_dismiss_mx3cw_1grb4_396",
26
- "dismiss-button": "awsui_dismiss-button_mx3cw_1grb4_401",
27
- "type-error": "awsui_type-error_mx3cw_1grb4_405",
28
- "type-warning": "awsui_type-warning_mx3cw_1grb4_413",
29
- "type-success": "awsui_type-success_mx3cw_1grb4_421",
30
- "type-info": "awsui_type-info_mx3cw_1grb4_429"
4
+ "alert": "awsui_alert_mx3cw_14rjb_193",
5
+ "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_mx3cw_14rjb_1",
6
+ "root": "awsui_root_mx3cw_14rjb_215",
7
+ "hidden": "awsui_hidden_mx3cw_14rjb_250",
8
+ "alert-wrapper": "awsui_alert-wrapper_mx3cw_14rjb_299",
9
+ "initial-hidden": "awsui_initial-hidden_mx3cw_14rjb_311",
10
+ "header": "awsui_header_mx3cw_14rjb_316",
11
+ "header-replacement": "awsui_header-replacement_mx3cw_14rjb_317",
12
+ "action": "awsui_action_mx3cw_14rjb_321",
13
+ "action-slot": "awsui_action-slot_mx3cw_14rjb_325",
14
+ "action-button": "awsui_action-button_mx3cw_14rjb_326",
15
+ "alert-focus-wrapper": "awsui_alert-focus-wrapper_mx3cw_14rjb_330",
16
+ "text": "awsui_text_mx3cw_14rjb_361",
17
+ "icon": "awsui_icon_mx3cw_14rjb_368",
18
+ "message": "awsui_message_mx3cw_14rjb_371",
19
+ "action-wrapped": "awsui_action-wrapped_mx3cw_14rjb_375",
20
+ "icon-size-medium": "awsui_icon-size-medium_mx3cw_14rjb_379",
21
+ "icon-size-big": "awsui_icon-size-big_mx3cw_14rjb_383",
22
+ "icon-size-normal": "awsui_icon-size-normal_mx3cw_14rjb_387",
23
+ "content": "awsui_content_mx3cw_14rjb_391",
24
+ "content-replacement": "awsui_content-replacement_mx3cw_14rjb_392",
25
+ "dismiss": "awsui_dismiss_mx3cw_14rjb_396",
26
+ "dismiss-button": "awsui_dismiss-button_mx3cw_14rjb_401",
27
+ "type-error": "awsui_type-error_mx3cw_14rjb_405",
28
+ "type-warning": "awsui_type-warning_mx3cw_14rjb_413",
29
+ "type-success": "awsui_type-success_mx3cw_14rjb_421",
30
+ "type-info": "awsui_type-info_mx3cw_14rjb_429"
31
31
  };
32
32