@cloudscape-design/components-themeable 3.0.1360 → 3.0.1361

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 (189) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/alert/styles.scss +13 -12
  3. package/lib/internal/scss/badge/styles.scss +38 -49
  4. package/lib/internal/scss/button/styles.scss +51 -51
  5. package/lib/internal/scss/cards/styles.scss +4 -0
  6. package/lib/internal/scss/container/styles.scss +2 -0
  7. package/lib/internal/scss/icon/hover-motion.scss +24 -12
  8. package/lib/internal/scss/input/styles.scss +4 -0
  9. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +175 -174
  10. package/lib/internal/scss/internal/styles/forms/mixins.scss +11 -2
  11. package/lib/internal/scss/internal/styles/style-api.scss +60 -10
  12. package/lib/internal/scss/pagination/styles.scss +3 -1
  13. package/lib/internal/scss/table/styles.scss +5 -0
  14. package/lib/internal/template/alert/styles.css.js +27 -27
  15. package/lib/internal/template/alert/styles.scoped.css +50 -50
  16. package/lib/internal/template/alert/styles.selectors.js +27 -27
  17. package/lib/internal/template/annotation-context/annotation/styles.css.js +13 -13
  18. package/lib/internal/template/annotation-context/annotation/styles.scoped.css +21 -21
  19. package/lib/internal/template/annotation-context/annotation/styles.selectors.js +13 -13
  20. package/lib/internal/template/app-layout/notifications/styles.css.js +3 -3
  21. package/lib/internal/template/app-layout/notifications/styles.scoped.css +7 -7
  22. package/lib/internal/template/app-layout/notifications/styles.selectors.js +3 -3
  23. package/lib/internal/template/app-layout/visual-refresh/styles.css.js +86 -86
  24. package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +258 -258
  25. package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +86 -86
  26. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.css.js +32 -32
  27. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +89 -89
  28. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +32 -32
  29. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.css.js +6 -6
  30. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +13 -13
  31. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +6 -6
  32. package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +30 -30
  33. package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +68 -68
  34. package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +30 -30
  35. package/lib/internal/template/attribute-editor/styles.css.js +15 -15
  36. package/lib/internal/template/attribute-editor/styles.scoped.css +28 -28
  37. package/lib/internal/template/attribute-editor/styles.selectors.js +15 -15
  38. package/lib/internal/template/breadcrumb-group/item/styles.css.js +7 -7
  39. package/lib/internal/template/breadcrumb-group/item/styles.scoped.css +28 -28
  40. package/lib/internal/template/breadcrumb-group/item/styles.selectors.js +7 -7
  41. package/lib/internal/template/button/styles.css.js +23 -23
  42. package/lib/internal/template/button/styles.scoped.css +261 -261
  43. package/lib/internal/template/button/styles.selectors.js +23 -23
  44. package/lib/internal/template/button-dropdown/filter.d.ts +1 -1
  45. package/lib/internal/template/button-dropdown/filter.d.ts.map +1 -1
  46. package/lib/internal/template/button-dropdown/internal.d.ts.map +1 -1
  47. package/lib/internal/template/button-dropdown/internal.js +9 -3
  48. package/lib/internal/template/button-dropdown/internal.js.map +1 -1
  49. package/lib/internal/template/button-dropdown/item-element/styles.css.js +21 -21
  50. package/lib/internal/template/button-dropdown/item-element/styles.scoped.css +37 -37
  51. package/lib/internal/template/button-dropdown/item-element/styles.selectors.js +21 -21
  52. package/lib/internal/template/button-dropdown/utils/use-button-dropdown.d.ts +5 -3
  53. package/lib/internal/template/button-dropdown/utils/use-button-dropdown.d.ts.map +1 -1
  54. package/lib/internal/template/button-dropdown/utils/use-button-dropdown.js +14 -2
  55. package/lib/internal/template/button-dropdown/utils/use-button-dropdown.js.map +1 -1
  56. package/lib/internal/template/cards/styles.css.js +39 -38
  57. package/lib/internal/template/cards/styles.scoped.css +42 -39
  58. package/lib/internal/template/cards/styles.selectors.js +39 -38
  59. package/lib/internal/template/checkbox/styles.css.js +3 -3
  60. package/lib/internal/template/checkbox/styles.scoped.css +11 -11
  61. package/lib/internal/template/checkbox/styles.selectors.js +3 -3
  62. package/lib/internal/template/container/styles.css.js +33 -33
  63. package/lib/internal/template/container/styles.scoped.css +57 -56
  64. package/lib/internal/template/container/styles.selectors.js +33 -33
  65. package/lib/internal/template/content-layout/styles.css.js +14 -14
  66. package/lib/internal/template/content-layout/styles.scoped.css +27 -27
  67. package/lib/internal/template/content-layout/styles.selectors.js +14 -14
  68. package/lib/internal/template/dropdown/styles.css.js +20 -20
  69. package/lib/internal/template/dropdown/styles.scoped.css +49 -49
  70. package/lib/internal/template/dropdown/styles.selectors.js +20 -20
  71. package/lib/internal/template/file-token-group/styles.css.js +23 -23
  72. package/lib/internal/template/file-token-group/styles.scoped.css +36 -36
  73. package/lib/internal/template/file-token-group/styles.selectors.js +23 -23
  74. package/lib/internal/template/flashbar/styles.css.js +50 -50
  75. package/lib/internal/template/flashbar/styles.scoped.css +192 -192
  76. package/lib/internal/template/flashbar/styles.selectors.js +50 -50
  77. package/lib/internal/template/help-panel/styles.css.js +6 -6
  78. package/lib/internal/template/help-panel/styles.scoped.css +72 -72
  79. package/lib/internal/template/help-panel/styles.selectors.js +6 -6
  80. package/lib/internal/template/input/index.d.ts.map +1 -1
  81. package/lib/internal/template/input/index.js +3 -2
  82. package/lib/internal/template/input/index.js.map +1 -1
  83. package/lib/internal/template/input/interfaces.d.ts +6 -0
  84. package/lib/internal/template/input/interfaces.d.ts.map +1 -1
  85. package/lib/internal/template/input/interfaces.js.map +1 -1
  86. package/lib/internal/template/input/internal.d.ts +0 -1
  87. package/lib/internal/template/input/internal.d.ts.map +1 -1
  88. package/lib/internal/template/input/internal.js +26 -12
  89. package/lib/internal/template/input/internal.js.map +1 -1
  90. package/lib/internal/template/input/styles.css.js +29 -28
  91. package/lib/internal/template/input/styles.scoped.css +134 -131
  92. package/lib/internal/template/input/styles.selectors.js +29 -28
  93. package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
  94. package/lib/internal/template/internal/components/drag-handle-wrapper/index.d.ts.map +1 -1
  95. package/lib/internal/template/internal/components/drag-handle-wrapper/index.js +2 -1
  96. package/lib/internal/template/internal/components/drag-handle-wrapper/index.js.map +1 -1
  97. package/lib/internal/template/internal/components/drag-handle-wrapper/styles.css.js +30 -30
  98. package/lib/internal/template/internal/components/drag-handle-wrapper/styles.scoped.css +58 -58
  99. package/lib/internal/template/internal/components/drag-handle-wrapper/styles.selectors.js +30 -30
  100. package/lib/internal/template/internal/components/option/styles.css.js +17 -17
  101. package/lib/internal/template/internal/components/option/styles.scoped.css +31 -31
  102. package/lib/internal/template/internal/components/option/styles.selectors.js +17 -17
  103. package/lib/internal/template/internal/components/radio-button/styles.css.js +7 -7
  104. package/lib/internal/template/internal/components/radio-button/styles.scoped.css +18 -18
  105. package/lib/internal/template/internal/components/radio-button/styles.selectors.js +7 -7
  106. package/lib/internal/template/internal/components/selectable-item/styles.css.js +22 -22
  107. package/lib/internal/template/internal/components/selectable-item/styles.scoped.css +57 -57
  108. package/lib/internal/template/internal/components/selectable-item/styles.selectors.js +22 -22
  109. package/lib/internal/template/internal/components/token-list/styles.css.js +10 -10
  110. package/lib/internal/template/internal/components/token-list/styles.scoped.css +25 -25
  111. package/lib/internal/template/internal/components/token-list/styles.selectors.js +10 -10
  112. package/lib/internal/template/internal/environment.js +2 -2
  113. package/lib/internal/template/internal/environment.json +2 -2
  114. package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts +1 -0
  115. package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts.map +1 -1
  116. package/lib/internal/template/internal/generated/custom-css-properties/index.js +174 -173
  117. package/lib/internal/template/internal/generated/custom-css-properties/index.js.map +1 -1
  118. package/lib/internal/template/internal/generated/styles/tokens.js +200 -200
  119. package/lib/internal/template/internal/generated/theming/index.cjs +200 -200
  120. package/lib/internal/template/internal/generated/theming/index.js +200 -200
  121. package/lib/internal/template/internal/utils/focus-visible.d.ts +15 -0
  122. package/lib/internal/template/internal/utils/focus-visible.d.ts.map +1 -0
  123. package/lib/internal/template/internal/utils/focus-visible.js +21 -0
  124. package/lib/internal/template/internal/utils/focus-visible.js.map +1 -0
  125. package/lib/internal/template/item-card/styles.css.js +14 -14
  126. package/lib/internal/template/item-card/styles.scoped.css +63 -63
  127. package/lib/internal/template/item-card/styles.selectors.js +14 -14
  128. package/lib/internal/template/link/styles.css.js +21 -21
  129. package/lib/internal/template/link/styles.scoped.css +104 -104
  130. package/lib/internal/template/link/styles.selectors.js +21 -21
  131. package/lib/internal/template/modal/styles.css.js +31 -31
  132. package/lib/internal/template/modal/styles.scoped.css +48 -48
  133. package/lib/internal/template/modal/styles.selectors.js +31 -31
  134. package/lib/internal/template/pagination/internal.js +1 -1
  135. package/lib/internal/template/pagination/internal.js.map +1 -1
  136. package/lib/internal/template/pagination/styles.css.js +12 -12
  137. package/lib/internal/template/pagination/styles.scoped.css +31 -31
  138. package/lib/internal/template/pagination/styles.selectors.js +12 -12
  139. package/lib/internal/template/progress-bar/styles.css.js +19 -19
  140. package/lib/internal/template/progress-bar/styles.scoped.css +58 -58
  141. package/lib/internal/template/progress-bar/styles.selectors.js +19 -19
  142. package/lib/internal/template/prompt-input/styles.css.js +26 -26
  143. package/lib/internal/template/prompt-input/styles.scoped.css +105 -105
  144. package/lib/internal/template/prompt-input/styles.selectors.js +26 -26
  145. package/lib/internal/template/segmented-control/styles.css.js +16 -16
  146. package/lib/internal/template/segmented-control/styles.scoped.css +46 -46
  147. package/lib/internal/template/segmented-control/styles.selectors.js +16 -16
  148. package/lib/internal/template/select/parts/filter.d.ts +1 -1
  149. package/lib/internal/template/select/parts/filter.d.ts.map +1 -1
  150. package/lib/internal/template/select/parts/styles.css.js +21 -21
  151. package/lib/internal/template/select/parts/styles.scoped.css +24 -24
  152. package/lib/internal/template/select/parts/styles.selectors.js +21 -21
  153. package/lib/internal/template/side-navigation/styles.css.js +64 -64
  154. package/lib/internal/template/side-navigation/styles.scoped.css +111 -111
  155. package/lib/internal/template/side-navigation/styles.selectors.js +64 -64
  156. package/lib/internal/template/slider/styles.css.js +26 -26
  157. package/lib/internal/template/slider/styles.scoped.css +165 -165
  158. package/lib/internal/template/slider/styles.selectors.js +26 -26
  159. package/lib/internal/template/spinner/styles.css.js +14 -14
  160. package/lib/internal/template/spinner/styles.scoped.css +40 -40
  161. package/lib/internal/template/spinner/styles.selectors.js +14 -14
  162. package/lib/internal/template/table/styles.css.js +37 -37
  163. package/lib/internal/template/table/styles.scoped.css +47 -44
  164. package/lib/internal/template/table/styles.selectors.js +37 -37
  165. package/lib/internal/template/tabs/styles.css.js +30 -30
  166. package/lib/internal/template/tabs/styles.scoped.css +76 -76
  167. package/lib/internal/template/tabs/styles.selectors.js +30 -30
  168. package/lib/internal/template/tag-editor/styles.css.js +3 -3
  169. package/lib/internal/template/tag-editor/styles.scoped.css +13 -13
  170. package/lib/internal/template/tag-editor/styles.selectors.js +3 -3
  171. package/lib/internal/template/test-utils/dom/input/index.d.ts +1 -0
  172. package/lib/internal/template/test-utils/dom/input/index.js +3 -0
  173. package/lib/internal/template/test-utils/dom/input/index.js.map +1 -1
  174. package/lib/internal/template/test-utils/selectors/input/index.d.ts +1 -0
  175. package/lib/internal/template/test-utils/selectors/input/index.js +3 -0
  176. package/lib/internal/template/test-utils/selectors/input/index.js.map +1 -1
  177. package/lib/internal/template/text-content/styles.css.js +1 -1
  178. package/lib/internal/template/text-content/styles.scoped.css +66 -66
  179. package/lib/internal/template/text-content/styles.selectors.js +1 -1
  180. package/lib/internal/template/textarea/styles.css.js +9 -9
  181. package/lib/internal/template/textarea/styles.scoped.css +51 -51
  182. package/lib/internal/template/textarea/styles.selectors.js +9 -9
  183. package/lib/internal/template/toggle/styles.css.js +10 -10
  184. package/lib/internal/template/toggle/styles.scoped.css +23 -23
  185. package/lib/internal/template/toggle/styles.selectors.js +10 -10
  186. package/lib/internal/template/token/styles.css.js +14 -14
  187. package/lib/internal/template/token/styles.scoped.css +46 -46
  188. package/lib/internal/template/token/styles.selectors.js +14 -14
  189. package/package.json +1 -1
@@ -1,178 +1,179 @@
1
1
 
2
2
  // Build environment
3
- $awsui-commit-hash: "0c1c9fd2";
3
+ $awsui-commit-hash: "74e4f3d0";
4
4
  // Manually managed CSS-variables
5
- $maxContentWidth: --awsui-max-content-width-esndbs;
6
- $minContentWidth: --awsui-min-content-width-esndbs;
7
- $breadcrumbsGap: --awsui-breadcrumbs-gap-esndbs;
8
- $contentGapLeft: --awsui-content-gap-left-esndbs;
9
- $contentGapRight: --awsui-content-gap-right-esndbs;
10
- $contentHeight: --awsui-content-height-esndbs;
11
- $contentLayoutDefaultHorizontalPadding: --awsui-content-layout-default-horizontal-padding-esndbs;
12
- $contentLayoutMaxContentWidth: --awsui-content-layout-max-content-width-esndbs;
13
- $contentLayoutMainGap: --awsui-content-layout-main-gap-esndbs;
14
- $defaultMaxContentWidth: --awsui-default-max-content-width-esndbs;
15
- $defaultMinContentWidth: --awsui-default-min-content-width-esndbs;
16
- $drawerSize: --awsui-drawer-size-esndbs;
17
- $drawerMinSize: --awsui-drawer-min-size-esndbs;
18
- $bottomDrawerSize: --awsui-bottom-drawer-size-esndbs;
19
- $footerHeight: --awsui-footer-height-esndbs;
20
- $headerGap: --awsui-header-gap-esndbs;
21
- $headerHeight: --awsui-header-height-esndbs;
22
- $layoutWidth: --awsui-layout-width-esndbs;
23
- $mainGap: --awsui-main-gap-esndbs;
24
- $mainOffsetLeft: --awsui-main-offset-left-esndbs;
25
- $mainTemplateRows: --awsui-main-template-rows-esndbs;
26
- $mobileBarHeight: --awsui-mobile-bar-height-esndbs;
27
- $notificationsHeight: --awsui-notifications-height-esndbs;
28
- $offsetTop: --awsui-offset-top-esndbs;
29
- $overlapHeight: --awsui-overlap-height-esndbs;
30
- $navigationWidth: --awsui-navigation-width-esndbs;
31
- $navigationCollapsedWidth: --awsui-navigation-collapsed-width-esndbs;
32
- $splitPanelReportedHeaderSize: --awsui-split-panel-reported-header-size-esndbs;
33
- $splitPanelReportedSize: --awsui-split-panel-reported-size-esndbs;
34
- $splitPanelHeight: --awsui-split-panel-height-esndbs;
35
- $splitPanelMinWidth: --awsui-split-panel-min-width-esndbs;
36
- $splitPanelMaxWidth: --awsui-split-panel-max-width-esndbs;
37
- $toolsMaxWidth: --awsui-tools-max-width-esndbs;
38
- $toolsWidth: --awsui-tools-width-esndbs;
39
- $toolsAnimationStartingOpacity: --awsui-tools-animation-starting-opacity-esndbs;
40
- $contentScrollMargin: --awsui-content-scroll-margin-esndbs;
41
- $flashbarStackDepth: --awsui-flashbar-stack-depth-esndbs;
42
- $flashbarStackIndex: --awsui-flashbar-stack-index-esndbs;
43
- $flashbarStickyBottomMargin: --awsui-flashbar-sticky-bottom-margin-esndbs;
44
- $stackedNotificationsBottomMargin: --awsui-stacked-notifications-bottom-margin-esndbs;
45
- $stackedNotificationsDefaultBottomMargin: --awsui-stacked-notifications-default-bottom-margin-esndbs;
46
- $dropdownDefaultMaxWidth: --awsui-dropdown-default-max-width-esndbs;
47
- $dropdownDefaultMinWidth: --awsui-dropdown-default-min-width-esndbs;
48
- $dropdownContentBorderColor: --awsui-dropdown-content-border-color-esndbs;
49
- $dropdownContentBorderWidth: --awsui-dropdown-content-border-width-esndbs;
50
- $dropdownContentBorderRadius: --awsui-dropdown-content-border-radius-esndbs;
51
- $modalCustomWidth: --awsui-modal-custom-width-esndbs;
52
- $modalCustomHeight: --awsui-modal-custom-height-esndbs;
53
- $spinnerRotatorFrom: --awsui-spinner-rotator-from-esndbs;
54
- $spinnerRotatorTo: --awsui-spinner-rotator-to-esndbs;
55
- $spinnerLineLeftFrom: --awsui-spinner-line-left-from-esndbs;
56
- $spinnerLineLeftTo: --awsui-spinner-line-left-to-esndbs;
57
- $spinnerLineRightFrom: --awsui-spinner-line-right-from-esndbs;
58
- $spinnerLineRightTo: --awsui-spinner-line-right-to-esndbs;
59
- $sliderLabelCount: --awsui-slider-label-count-esndbs;
60
- $sliderTickCount: --awsui-slider-tick-count-esndbs;
61
- $sliderReferenceColumn: --awsui-slider-reference-column-esndbs;
62
- $sliderNextReferenceColumn: --awsui-slider-next-reference-column-esndbs;
63
- $sliderMaxStart: --awsui-slider-max-start-esndbs;
64
- $sliderMinEnd: --awsui-slider-min-end-esndbs;
65
- $sliderRangeInlineSize: --awsui-slider-range-inline-size-esndbs;
66
- $sliderTooltipPosition: --awsui-slider-tooltip-position-esndbs;
67
- $togglesLeftWidth: --awsui-toggles-left-width-esndbs;
68
- $togglesRightWidth: --awsui-toggles-right-width-esndbs;
69
- $promptInputMaxRows: --awsui-prompt-input-max-rows-esndbs;
70
- $promptInputScrollHeight: --awsui-prompt-input-scroll-height-esndbs;
71
- $dragHandleAnimationInlineOffset: --awsui-drag-handle-animation-inline-offset-esndbs;
72
- $dragHandleAnimationBlockOffset: --awsui-drag-handle-animation-block-offset-esndbs;
73
- $styleBackgroundActive: --awsui-style-background-active-esndbs;
74
- $styleBackgroundDefault: --awsui-style-background-default-esndbs;
75
- $styleBackgroundDisabled: --awsui-style-background-disabled-esndbs;
76
- $styleBackgroundHover: --awsui-style-background-hover-esndbs;
77
- $styleBorderColorActive: --awsui-style-border-color-active-esndbs;
78
- $styleBorderColorDefault: --awsui-style-border-color-default-esndbs;
79
- $styleBorderColorDisabled: --awsui-style-border-color-disabled-esndbs;
80
- $styleBorderColorHover: --awsui-style-border-color-hover-esndbs;
81
- $styleColorActive: --awsui-style-color-active-esndbs;
82
- $styleColorDefault: --awsui-style-color-default-esndbs;
83
- $styleColorDisabled: --awsui-style-color-disabled-esndbs;
84
- $styleColorHover: --awsui-style-color-hover-esndbs;
85
- $styleFocusRingBorderColor: --awsui-style-focus-ring-border-color-esndbs;
86
- $styleFocusRingBorderRadius: --awsui-style-focus-ring-border-radius-esndbs;
87
- $styleFocusRingBorderWidth: --awsui-style-focus-ring-border-width-esndbs;
88
- $styleFocusRingBoxShadow: --awsui-style-focus-ring-box-shadow-esndbs;
89
- $styleBoxShadowActive: --awsui-style-box-shadow-active-esndbs;
90
- $styleBoxShadowDefault: --awsui-style-box-shadow-default-esndbs;
91
- $styleBoxShadowDisabled: --awsui-style-box-shadow-disabled-esndbs;
92
- $styleBoxShadowHover: --awsui-style-box-shadow-hover-esndbs;
93
- $styleBackgroundReadonly: --awsui-style-background-readonly-esndbs;
94
- $styleBorderColorReadonly: --awsui-style-border-color-readonly-esndbs;
95
- $styleBoxShadowReadonly: --awsui-style-box-shadow-readonly-esndbs;
96
- $styleColorReadonly: --awsui-style-color-readonly-esndbs;
97
- $styleBackgroundFocus: --awsui-style-background-focus-esndbs;
98
- $styleBorderColorFocus: --awsui-style-border-color-focus-esndbs;
99
- $styleBoxShadowFocus: --awsui-style-box-shadow-focus-esndbs;
100
- $styleColorFocus: --awsui-style-color-focus-esndbs;
101
- $stylePlaceholderColor: --awsui-style-placeholder-color-esndbs;
102
- $stylePlaceholderFontSize: --awsui-style-placeholder-font-size-esndbs;
103
- $stylePlaceholderFontStyle: --awsui-style-placeholder-font-style-esndbs;
104
- $stylePlaceholderFontWeight: --awsui-style-placeholder-font-weight-esndbs;
105
- $styleTabsActiveIndicatorColor: --awsui-style-tabs-active-indicator-color-esndbs;
106
- $styleTabsActiveIndicatorWidth: --awsui-style-tabs-active-indicator-width-esndbs;
107
- $styleTabsActiveIndicatorBorderRadius: --awsui-style-tabs-active-indicator-border-radius-esndbs;
108
- $styleTabsSeparatorColor: --awsui-style-tabs-separator-color-esndbs;
109
- $styleTabsSeparatorWidth: --awsui-style-tabs-separator-width-esndbs;
110
- $alertFocusRingBorderColor: --awsui-alert-focus-ring-border-color-esndbs;
111
- $alertFocusRingBorderRadius: --awsui-alert-focus-ring-border-radius-esndbs;
112
- $alertFocusRingBorderWidth: --awsui-alert-focus-ring-border-width-esndbs;
113
- $alertFocusRingBoxShadow: --awsui-alert-focus-ring-box-shadow-esndbs;
114
- $alertIconColor: --awsui-alert-icon-color-esndbs;
115
- $promptInputStyleBackgroundDefault: --awsui-prompt-input-style-background-default-esndbs;
116
- $promptInputStyleBackgroundDisabled: --awsui-prompt-input-style-background-disabled-esndbs;
117
- $promptInputStyleBackgroundFocus: --awsui-prompt-input-style-background-focus-esndbs;
118
- $promptInputStyleBackgroundHover: --awsui-prompt-input-style-background-hover-esndbs;
119
- $promptInputStyleBackgroundReadonly: --awsui-prompt-input-style-background-readonly-esndbs;
120
- $promptInputStyleBorderColorDefault: --awsui-prompt-input-style-border-color-default-esndbs;
121
- $promptInputStyleBorderColorDisabled: --awsui-prompt-input-style-border-color-disabled-esndbs;
122
- $promptInputStyleBorderColorFocus: --awsui-prompt-input-style-border-color-focus-esndbs;
123
- $promptInputStyleBorderColorHover: --awsui-prompt-input-style-border-color-hover-esndbs;
124
- $promptInputStyleBorderColorReadonly: --awsui-prompt-input-style-border-color-readonly-esndbs;
125
- $promptInputStyleBoxShadowDefault: --awsui-prompt-input-style-box-shadow-default-esndbs;
126
- $promptInputStyleBoxShadowDisabled: --awsui-prompt-input-style-box-shadow-disabled-esndbs;
127
- $promptInputStyleBoxShadowFocus: --awsui-prompt-input-style-box-shadow-focus-esndbs;
128
- $promptInputStyleBoxShadowHover: --awsui-prompt-input-style-box-shadow-hover-esndbs;
129
- $promptInputStyleBoxShadowReadonly: --awsui-prompt-input-style-box-shadow-readonly-esndbs;
130
- $promptInputStyleColorDefault: --awsui-prompt-input-style-color-default-esndbs;
131
- $promptInputStyleColorDisabled: --awsui-prompt-input-style-color-disabled-esndbs;
132
- $promptInputStyleColorFocus: --awsui-prompt-input-style-color-focus-esndbs;
133
- $promptInputStyleColorHover: --awsui-prompt-input-style-color-hover-esndbs;
134
- $promptInputStyleColorReadonly: --awsui-prompt-input-style-color-readonly-esndbs;
135
- $promptInputStylePlaceholderColor: --awsui-prompt-input-style-placeholder-color-esndbs;
136
- $promptInputStylePlaceholderFontSize: --awsui-prompt-input-style-placeholder-font-size-esndbs;
137
- $promptInputStylePlaceholderFontStyle: --awsui-prompt-input-style-placeholder-font-style-esndbs;
138
- $promptInputStylePlaceholderFontWeight: --awsui-prompt-input-style-placeholder-font-weight-esndbs;
139
- $promptInputMenuStyleBackgroundColor: --awsui-prompt-input-menu-style-background-color-esndbs;
140
- $promptInputMenuStyleBorderColor: --awsui-prompt-input-menu-style-border-color-esndbs;
141
- $promptInputMenuStyleBorderRadius: --awsui-prompt-input-menu-style-border-radius-esndbs;
142
- $promptInputMenuStyleBorderWidth: --awsui-prompt-input-menu-style-border-width-esndbs;
143
- $optionBackgroundDefault: --awsui-option-background-default-esndbs;
144
- $optionBackgroundHighlighted: --awsui-option-background-highlighted-esndbs;
145
- $optionBackgroundSelected: --awsui-option-background-selected-esndbs;
146
- $optionColorDefault: --awsui-option-color-default-esndbs;
147
- $optionColorHighlighted: --awsui-option-color-highlighted-esndbs;
148
- $optionColorDisabled: --awsui-option-color-disabled-esndbs;
149
- $optionGroupLabelColor: --awsui-option-group-label-color-esndbs;
150
- $optionFilterMatchBackground: --awsui-option-filter-match-background-esndbs;
151
- $optionFilterMatchColor: --awsui-option-filter-match-color-esndbs;
152
- $progressBarBackgroundColor: --awsui-progress-bar-background-color-esndbs;
153
- $progressBarBorderRadius: --awsui-progress-bar-border-radius-esndbs;
154
- $progressBarHeight: --awsui-progress-bar-height-esndbs;
155
- $progressValueBackgroundColor: --awsui-progress-value-background-color-esndbs;
156
- $styleSliderTrackBackgroundColor: --awsui-style-slider-track-background-color-esndbs;
157
- $styleSliderRangeBackgroundDefault: --awsui-style-slider-range-background-default-esndbs;
158
- $styleSliderRangeBackgroundActive: --awsui-style-slider-range-background-active-esndbs;
159
- $styleSliderHandleBackgroundDefault: --awsui-style-slider-handle-background-default-esndbs;
160
- $styleSliderHandleBackgroundHover: --awsui-style-slider-handle-background-hover-esndbs;
161
- $styleSliderHandleBackgroundActive: --awsui-style-slider-handle-background-active-esndbs;
162
- $styleSliderHandleBorderRadius: --awsui-style-slider-handle-border-radius-esndbs;
163
- $tokenStyleBackgroundDefault: --awsui-token-style-background-default-esndbs;
164
- $tokenStyleBackgroundDisabled: --awsui-token-style-background-disabled-esndbs;
165
- $tokenStyleBackgroundReadOnly: --awsui-token-style-background-read-only-esndbs;
166
- $tokenStyleBorderColorDefault: --awsui-token-style-border-color-default-esndbs;
167
- $tokenStyleBorderColorDisabled: --awsui-token-style-border-color-disabled-esndbs;
168
- $tokenStyleBorderColorReadOnly: --awsui-token-style-border-color-read-only-esndbs;
169
- $tokenStyleDismissColorDefault: --awsui-token-style-dismiss-color-default-esndbs;
170
- $tokenStyleDismissColorDisabled: --awsui-token-style-dismiss-color-disabled-esndbs;
171
- $tokenStyleDismissColorHover: --awsui-token-style-dismiss-color-hover-esndbs;
172
- $tokenStyleDismissColorReadOnly: --awsui-token-style-dismiss-color-read-only-esndbs;
173
- $styleItemCardBackgroundDefault: --awsui-style-item-card-background-default-esndbs;
174
- $styleItemCardBorderColorDefault: --awsui-style-item-card-border-color-default-esndbs;
175
- $styleItemCardBorderRadius: --awsui-style-item-card-border-radius-esndbs;
176
- $styleItemCardBorderWidthDefault: --awsui-style-item-card-border-width-default-esndbs;
177
- $styleItemCardBoxShadowDefault: --awsui-style-item-card-box-shadow-default-esndbs;
5
+ $maxContentWidth: --awsui-max-content-width-66120l;
6
+ $minContentWidth: --awsui-min-content-width-66120l;
7
+ $breadcrumbsGap: --awsui-breadcrumbs-gap-66120l;
8
+ $contentGapLeft: --awsui-content-gap-left-66120l;
9
+ $contentGapRight: --awsui-content-gap-right-66120l;
10
+ $contentHeight: --awsui-content-height-66120l;
11
+ $contentLayoutDefaultHorizontalPadding: --awsui-content-layout-default-horizontal-padding-66120l;
12
+ $contentLayoutMaxContentWidth: --awsui-content-layout-max-content-width-66120l;
13
+ $contentLayoutMainGap: --awsui-content-layout-main-gap-66120l;
14
+ $defaultMaxContentWidth: --awsui-default-max-content-width-66120l;
15
+ $defaultMinContentWidth: --awsui-default-min-content-width-66120l;
16
+ $drawerSize: --awsui-drawer-size-66120l;
17
+ $drawerMinSize: --awsui-drawer-min-size-66120l;
18
+ $bottomDrawerSize: --awsui-bottom-drawer-size-66120l;
19
+ $footerHeight: --awsui-footer-height-66120l;
20
+ $headerGap: --awsui-header-gap-66120l;
21
+ $headerHeight: --awsui-header-height-66120l;
22
+ $layoutWidth: --awsui-layout-width-66120l;
23
+ $mainGap: --awsui-main-gap-66120l;
24
+ $mainOffsetLeft: --awsui-main-offset-left-66120l;
25
+ $mainTemplateRows: --awsui-main-template-rows-66120l;
26
+ $mobileBarHeight: --awsui-mobile-bar-height-66120l;
27
+ $notificationsHeight: --awsui-notifications-height-66120l;
28
+ $offsetTop: --awsui-offset-top-66120l;
29
+ $overlapHeight: --awsui-overlap-height-66120l;
30
+ $navigationWidth: --awsui-navigation-width-66120l;
31
+ $navigationCollapsedWidth: --awsui-navigation-collapsed-width-66120l;
32
+ $splitPanelReportedHeaderSize: --awsui-split-panel-reported-header-size-66120l;
33
+ $splitPanelReportedSize: --awsui-split-panel-reported-size-66120l;
34
+ $splitPanelHeight: --awsui-split-panel-height-66120l;
35
+ $splitPanelMinWidth: --awsui-split-panel-min-width-66120l;
36
+ $splitPanelMaxWidth: --awsui-split-panel-max-width-66120l;
37
+ $toolsMaxWidth: --awsui-tools-max-width-66120l;
38
+ $toolsWidth: --awsui-tools-width-66120l;
39
+ $toolsAnimationStartingOpacity: --awsui-tools-animation-starting-opacity-66120l;
40
+ $contentScrollMargin: --awsui-content-scroll-margin-66120l;
41
+ $flashbarStackDepth: --awsui-flashbar-stack-depth-66120l;
42
+ $flashbarStackIndex: --awsui-flashbar-stack-index-66120l;
43
+ $flashbarStickyBottomMargin: --awsui-flashbar-sticky-bottom-margin-66120l;
44
+ $stackedNotificationsBottomMargin: --awsui-stacked-notifications-bottom-margin-66120l;
45
+ $stackedNotificationsDefaultBottomMargin: --awsui-stacked-notifications-default-bottom-margin-66120l;
46
+ $dropdownDefaultMaxWidth: --awsui-dropdown-default-max-width-66120l;
47
+ $dropdownDefaultMinWidth: --awsui-dropdown-default-min-width-66120l;
48
+ $dropdownContentBorderColor: --awsui-dropdown-content-border-color-66120l;
49
+ $dropdownContentBorderWidth: --awsui-dropdown-content-border-width-66120l;
50
+ $dropdownContentBorderRadius: --awsui-dropdown-content-border-radius-66120l;
51
+ $modalCustomWidth: --awsui-modal-custom-width-66120l;
52
+ $modalCustomHeight: --awsui-modal-custom-height-66120l;
53
+ $spinnerRotatorFrom: --awsui-spinner-rotator-from-66120l;
54
+ $spinnerRotatorTo: --awsui-spinner-rotator-to-66120l;
55
+ $spinnerLineLeftFrom: --awsui-spinner-line-left-from-66120l;
56
+ $spinnerLineLeftTo: --awsui-spinner-line-left-to-66120l;
57
+ $spinnerLineRightFrom: --awsui-spinner-line-right-from-66120l;
58
+ $spinnerLineRightTo: --awsui-spinner-line-right-to-66120l;
59
+ $sliderLabelCount: --awsui-slider-label-count-66120l;
60
+ $sliderTickCount: --awsui-slider-tick-count-66120l;
61
+ $sliderReferenceColumn: --awsui-slider-reference-column-66120l;
62
+ $sliderNextReferenceColumn: --awsui-slider-next-reference-column-66120l;
63
+ $sliderMaxStart: --awsui-slider-max-start-66120l;
64
+ $sliderMinEnd: --awsui-slider-min-end-66120l;
65
+ $sliderRangeInlineSize: --awsui-slider-range-inline-size-66120l;
66
+ $sliderTooltipPosition: --awsui-slider-tooltip-position-66120l;
67
+ $togglesLeftWidth: --awsui-toggles-left-width-66120l;
68
+ $togglesRightWidth: --awsui-toggles-right-width-66120l;
69
+ $promptInputMaxRows: --awsui-prompt-input-max-rows-66120l;
70
+ $promptInputScrollHeight: --awsui-prompt-input-scroll-height-66120l;
71
+ $dragHandleAnimationInlineOffset: --awsui-drag-handle-animation-inline-offset-66120l;
72
+ $dragHandleAnimationBlockOffset: --awsui-drag-handle-animation-block-offset-66120l;
73
+ $styleBackgroundActive: --awsui-style-background-active-66120l;
74
+ $styleBackgroundDefault: --awsui-style-background-default-66120l;
75
+ $styleBackgroundDisabled: --awsui-style-background-disabled-66120l;
76
+ $styleBackgroundHover: --awsui-style-background-hover-66120l;
77
+ $styleBorderColorActive: --awsui-style-border-color-active-66120l;
78
+ $styleBorderColorDefault: --awsui-style-border-color-default-66120l;
79
+ $styleBorderColorDisabled: --awsui-style-border-color-disabled-66120l;
80
+ $styleBorderColorHover: --awsui-style-border-color-hover-66120l;
81
+ $styleColorActive: --awsui-style-color-active-66120l;
82
+ $styleColorDefault: --awsui-style-color-default-66120l;
83
+ $styleColorDisabled: --awsui-style-color-disabled-66120l;
84
+ $styleColorHover: --awsui-style-color-hover-66120l;
85
+ $styleFocusRingBorderColor: --awsui-style-focus-ring-border-color-66120l;
86
+ $styleFocusRingBorderRadius: --awsui-style-focus-ring-border-radius-66120l;
87
+ $styleFocusRingBorderWidth: --awsui-style-focus-ring-border-width-66120l;
88
+ $styleFocusRingBoxShadow: --awsui-style-focus-ring-box-shadow-66120l;
89
+ $styleBoxShadowActive: --awsui-style-box-shadow-active-66120l;
90
+ $styleBoxShadowDefault: --awsui-style-box-shadow-default-66120l;
91
+ $styleBoxShadowDisabled: --awsui-style-box-shadow-disabled-66120l;
92
+ $styleBoxShadowHover: --awsui-style-box-shadow-hover-66120l;
93
+ $styleBackgroundReadonly: --awsui-style-background-readonly-66120l;
94
+ $styleBorderColorReadonly: --awsui-style-border-color-readonly-66120l;
95
+ $styleBoxShadowReadonly: --awsui-style-box-shadow-readonly-66120l;
96
+ $styleColorReadonly: --awsui-style-color-readonly-66120l;
97
+ $styleBackgroundFocus: --awsui-style-background-focus-66120l;
98
+ $styleBorderColorFocus: --awsui-style-border-color-focus-66120l;
99
+ $styleBoxShadowFocus: --awsui-style-box-shadow-focus-66120l;
100
+ $styleColorFocus: --awsui-style-color-focus-66120l;
101
+ $stylePlaceholderColor: --awsui-style-placeholder-color-66120l;
102
+ $stylePlaceholderFontSize: --awsui-style-placeholder-font-size-66120l;
103
+ $stylePlaceholderFontStyle: --awsui-style-placeholder-font-style-66120l;
104
+ $stylePlaceholderFontWeight: --awsui-style-placeholder-font-weight-66120l;
105
+ $styleTabsActiveIndicatorColor: --awsui-style-tabs-active-indicator-color-66120l;
106
+ $styleTabsActiveIndicatorWidth: --awsui-style-tabs-active-indicator-width-66120l;
107
+ $styleTabsActiveIndicatorBorderRadius: --awsui-style-tabs-active-indicator-border-radius-66120l;
108
+ $styleTabsSeparatorColor: --awsui-style-tabs-separator-color-66120l;
109
+ $styleTabsSeparatorWidth: --awsui-style-tabs-separator-width-66120l;
110
+ $alertFocusRingBorderColor: --awsui-alert-focus-ring-border-color-66120l;
111
+ $alertFocusRingBorderRadius: --awsui-alert-focus-ring-border-radius-66120l;
112
+ $alertFocusRingBorderWidth: --awsui-alert-focus-ring-border-width-66120l;
113
+ $alertFocusRingBoxShadow: --awsui-alert-focus-ring-box-shadow-66120l;
114
+ $alertIconColor: --awsui-alert-icon-color-66120l;
115
+ $promptInputStyleBackgroundDefault: --awsui-prompt-input-style-background-default-66120l;
116
+ $promptInputStyleBackgroundDisabled: --awsui-prompt-input-style-background-disabled-66120l;
117
+ $promptInputStyleBackgroundFocus: --awsui-prompt-input-style-background-focus-66120l;
118
+ $promptInputStyleBackgroundHover: --awsui-prompt-input-style-background-hover-66120l;
119
+ $promptInputStyleBackgroundReadonly: --awsui-prompt-input-style-background-readonly-66120l;
120
+ $promptInputStyleBorderColorDefault: --awsui-prompt-input-style-border-color-default-66120l;
121
+ $promptInputStyleBorderColorDisabled: --awsui-prompt-input-style-border-color-disabled-66120l;
122
+ $promptInputStyleBorderColorFocus: --awsui-prompt-input-style-border-color-focus-66120l;
123
+ $promptInputStyleBorderColorHover: --awsui-prompt-input-style-border-color-hover-66120l;
124
+ $promptInputStyleBorderColorReadonly: --awsui-prompt-input-style-border-color-readonly-66120l;
125
+ $promptInputStyleBoxShadowDefault: --awsui-prompt-input-style-box-shadow-default-66120l;
126
+ $promptInputStyleBoxShadowDisabled: --awsui-prompt-input-style-box-shadow-disabled-66120l;
127
+ $promptInputStyleBoxShadowFocus: --awsui-prompt-input-style-box-shadow-focus-66120l;
128
+ $promptInputStyleBoxShadowHover: --awsui-prompt-input-style-box-shadow-hover-66120l;
129
+ $promptInputStyleBoxShadowReadonly: --awsui-prompt-input-style-box-shadow-readonly-66120l;
130
+ $promptInputStyleColorDefault: --awsui-prompt-input-style-color-default-66120l;
131
+ $promptInputStyleColorDisabled: --awsui-prompt-input-style-color-disabled-66120l;
132
+ $promptInputStyleColorFocus: --awsui-prompt-input-style-color-focus-66120l;
133
+ $promptInputStyleColorHover: --awsui-prompt-input-style-color-hover-66120l;
134
+ $promptInputStyleColorReadonly: --awsui-prompt-input-style-color-readonly-66120l;
135
+ $promptInputStylePlaceholderColor: --awsui-prompt-input-style-placeholder-color-66120l;
136
+ $promptInputStylePlaceholderFontSize: --awsui-prompt-input-style-placeholder-font-size-66120l;
137
+ $promptInputStylePlaceholderFontStyle: --awsui-prompt-input-style-placeholder-font-style-66120l;
138
+ $promptInputStylePlaceholderFontWeight: --awsui-prompt-input-style-placeholder-font-weight-66120l;
139
+ $promptInputMenuStyleBackgroundColor: --awsui-prompt-input-menu-style-background-color-66120l;
140
+ $promptInputMenuStyleBorderColor: --awsui-prompt-input-menu-style-border-color-66120l;
141
+ $promptInputMenuStyleBorderRadius: --awsui-prompt-input-menu-style-border-radius-66120l;
142
+ $promptInputMenuStyleBorderWidth: --awsui-prompt-input-menu-style-border-width-66120l;
143
+ $optionBackgroundDefault: --awsui-option-background-default-66120l;
144
+ $optionBackgroundHighlighted: --awsui-option-background-highlighted-66120l;
145
+ $optionBackgroundSelected: --awsui-option-background-selected-66120l;
146
+ $optionColorDefault: --awsui-option-color-default-66120l;
147
+ $optionColorHighlighted: --awsui-option-color-highlighted-66120l;
148
+ $optionColorDisabled: --awsui-option-color-disabled-66120l;
149
+ $optionGroupLabelColor: --awsui-option-group-label-color-66120l;
150
+ $optionFilterMatchBackground: --awsui-option-filter-match-background-66120l;
151
+ $optionFilterMatchColor: --awsui-option-filter-match-color-66120l;
152
+ $progressBarBackgroundColor: --awsui-progress-bar-background-color-66120l;
153
+ $progressBarBorderRadius: --awsui-progress-bar-border-radius-66120l;
154
+ $progressBarHeight: --awsui-progress-bar-height-66120l;
155
+ $progressValueBackgroundColor: --awsui-progress-value-background-color-66120l;
156
+ $styleSliderTrackBackgroundColor: --awsui-style-slider-track-background-color-66120l;
157
+ $styleSliderRangeBackgroundDefault: --awsui-style-slider-range-background-default-66120l;
158
+ $styleSliderRangeBackgroundActive: --awsui-style-slider-range-background-active-66120l;
159
+ $styleSliderHandleBackgroundDefault: --awsui-style-slider-handle-background-default-66120l;
160
+ $styleSliderHandleBackgroundHover: --awsui-style-slider-handle-background-hover-66120l;
161
+ $styleSliderHandleBackgroundActive: --awsui-style-slider-handle-background-active-66120l;
162
+ $styleSliderHandleBorderRadius: --awsui-style-slider-handle-border-radius-66120l;
163
+ $tokenStyleBackgroundDefault: --awsui-token-style-background-default-66120l;
164
+ $tokenStyleBackgroundDisabled: --awsui-token-style-background-disabled-66120l;
165
+ $tokenStyleBackgroundReadOnly: --awsui-token-style-background-read-only-66120l;
166
+ $tokenStyleBorderColorDefault: --awsui-token-style-border-color-default-66120l;
167
+ $tokenStyleBorderColorDisabled: --awsui-token-style-border-color-disabled-66120l;
168
+ $tokenStyleBorderColorReadOnly: --awsui-token-style-border-color-read-only-66120l;
169
+ $tokenStyleDismissColorDefault: --awsui-token-style-dismiss-color-default-66120l;
170
+ $tokenStyleDismissColorDisabled: --awsui-token-style-dismiss-color-disabled-66120l;
171
+ $tokenStyleDismissColorHover: --awsui-token-style-dismiss-color-hover-66120l;
172
+ $tokenStyleDismissColorReadOnly: --awsui-token-style-dismiss-color-read-only-66120l;
173
+ $styleItemCardBackgroundDefault: --awsui-style-item-card-background-default-66120l;
174
+ $styleItemCardBorderColorDefault: --awsui-style-item-card-border-color-default-66120l;
175
+ $styleItemCardBorderRadius: --awsui-style-item-card-border-radius-66120l;
176
+ $styleItemCardBorderWidthDefault: --awsui-style-item-card-border-width-default-66120l;
177
+ $styleItemCardBoxShadowDefault: --awsui-style-item-card-box-shadow-default-66120l;
178
+ $inlineLabelBackgroundColor: --awsui-inline-label-background-color-66120l;
178
179
 
@@ -8,6 +8,7 @@
8
8
  @use '../foundation' as foundation;
9
9
  @use '../utils' as utils;
10
10
  @use './constants' as constants;
11
+ @use '../../generated/custom-css-properties/index.scss' as custom-props;
11
12
 
12
13
  @mixin link-focus(
13
14
  $border-color: awsui.$color-border-item-focused,
@@ -329,7 +330,11 @@ $inline-label-border-radius: 2px;
329
330
  }
330
331
 
331
332
  @mixin inline-label {
332
- background: linear-gradient(to bottom, awsui.$color-background-layout-main, awsui.$color-background-input-default);
333
+ background: linear-gradient(
334
+ to bottom,
335
+ var(#{custom-props.$inlineLabelBackgroundColor}, awsui.$color-background-layout-main),
336
+ awsui.$color-background-input-default
337
+ );
333
338
  border-start-start-radius: $inline-label-border-radius;
334
339
  border-start-end-radius: $inline-label-border-radius;
335
340
  border-end-start-radius: $inline-label-border-radius;
@@ -351,5 +356,9 @@ $inline-label-border-radius: 2px;
351
356
  }
352
357
 
353
358
  @mixin inline-label-disabled {
354
- background: linear-gradient(to bottom, awsui.$color-background-layout-main, awsui.$color-background-input-disabled);
359
+ background: linear-gradient(
360
+ to bottom,
361
+ var(#{custom-props.$inlineLabelBackgroundColor}, awsui.$color-background-layout-main),
362
+ awsui.$color-background-input-disabled
363
+ );
355
364
  }
@@ -1,9 +1,10 @@
1
1
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
- @forward '@cloudscape-design/component-toolkit/internal/style-api';
4
+ @forward '@cloudscape-design/component-toolkit/internal/style-api' show combine, resolve;
5
5
 
6
6
  @use '@cloudscape-design/component-toolkit/internal/style-api' as toolkit;
7
+ @use 'awsui:environment' as env;
7
8
  @use './tokens' as awsui;
8
9
  @use './foundation' as foundation;
9
10
  @use './forms/mixins' as forms;
@@ -23,6 +24,44 @@ $focus-ring: (focus-ring-color, focus-ring-width, focus-ring-radius, focus-ring-
23
24
  // carriers (re-anchored by carriers() on the component root), so the ring below reaches ::before.
24
25
  $_focus-ring-carriers: toolkit.resolve($focus-ring, carrier);
25
26
 
27
+ @function enabled() {
28
+ @return env.$system != 'console';
29
+ }
30
+
31
+ // Emits `var(<carrier>, <fallback>)` when enabled, or just `<fallback>` when disabled — so a read
32
+ // leaves no trace in the compiled CSS for gated-off systems.
33
+ @function value($tokens, $token, $fallback) {
34
+ @if not enabled() {
35
+ @return $fallback;
36
+ }
37
+ @return var(#{toolkit.read($tokens, $token)}, #{$fallback});
38
+ }
39
+
40
+ // Gated wrappers around the toolkit's CSS-emitting mixins — same signatures, no-op when disabled.
41
+ @mixin register($maps...) {
42
+ @if enabled() {
43
+ @include toolkit.register($maps...);
44
+ }
45
+ }
46
+
47
+ @mixin carriers($map) {
48
+ @if enabled() {
49
+ @include toolkit.carriers($map);
50
+ }
51
+ }
52
+
53
+ @mixin docs($name, $map) {
54
+ @if enabled() {
55
+ @include toolkit.docs($name, $map);
56
+ }
57
+ }
58
+
59
+ @mixin docs-forward($name, $component, $slot) {
60
+ @if enabled() {
61
+ @include toolkit.docs-forward($name, $component, $slot);
62
+ }
63
+ }
64
+
26
65
  // A wrapper for forms.focus-highlight with style API integration.
27
66
  @mixin focus-highlight(
28
67
  $gutter-block: awsui.$space-button-focus-outline-gutter,
@@ -31,13 +70,24 @@ $_focus-ring-carriers: toolkit.resolve($focus-ring, carrier);
31
70
  $width: foundation.$box-shadow-focused-width,
32
71
  $color: awsui.$color-border-item-focused
33
72
  ) {
34
- @include forms.focus-highlight(
35
- $gutter: (
36
- 'vertical': var(#{toolkit.read($_focus-ring-carriers, focus-ring-gutter-block)}, #{$gutter-block}),
37
- 'horizontal': var(#{toolkit.read($_focus-ring-carriers, focus-ring-gutter-inline)}, #{$gutter-inline}),
38
- ),
39
- $border-radius: var(#{toolkit.read($_focus-ring-carriers, focus-ring-radius)}, #{$radius}),
40
- $box-shadow: 0 0 0 var(#{toolkit.read($_focus-ring-carriers, focus-ring-width)}, #{$width})
41
- var(#{toolkit.read($_focus-ring-carriers, focus-ring-color)}, #{$color})
42
- );
73
+ @if enabled() {
74
+ @include forms.focus-highlight(
75
+ $gutter: (
76
+ 'vertical': var(#{toolkit.read($_focus-ring-carriers, focus-ring-gutter-block)}, #{$gutter-block}),
77
+ 'horizontal': var(#{toolkit.read($_focus-ring-carriers, focus-ring-gutter-inline)}, #{$gutter-inline}),
78
+ ),
79
+ $border-radius: var(#{toolkit.read($_focus-ring-carriers, focus-ring-radius)}, #{$radius}),
80
+ $box-shadow: 0 0 0 var(#{toolkit.read($_focus-ring-carriers, focus-ring-width)}, #{$width})
81
+ var(#{toolkit.read($_focus-ring-carriers, focus-ring-color)}, #{$color})
82
+ );
83
+ } @else {
84
+ @include forms.focus-highlight(
85
+ $gutter: (
86
+ 'vertical': $gutter-block,
87
+ 'horizontal': $gutter-inline,
88
+ ),
89
+ $border-radius: $radius,
90
+ $box-shadow: 0 0 0 $width $color
91
+ );
92
+ }
43
93
  }
@@ -89,7 +89,9 @@
89
89
 
90
90
  &-input {
91
91
  inline-size: 87px;
92
- margin-block-start: -0.6em;
92
+ // This element contains the inline label and the HTML input element.
93
+ // Push it upwards to let the HTML input element look vertically centered.
94
+ margin-block-start: calc(-2 * #{awsui.$space-scaled-xs});
93
95
  overflow: visible;
94
96
  }
95
97
  }
@@ -7,6 +7,7 @@
7
7
  @use '../internal/styles/tokens' as awsui;
8
8
  @use '@cloudscape-design/component-toolkit/internal/focus-visible' as focus-visible;
9
9
  @use '../container/shared' as container;
10
+ @use '../internal/generated/custom-css-properties/index.scss' as custom-props;
10
11
 
11
12
  .root {
12
13
  @include styles.default-text-style;
@@ -194,6 +195,10 @@ filter search icon.
194
195
  .header-controls {
195
196
  padding-block: awsui.$space-container-header-top awsui.$space-container-header-bottom;
196
197
 
198
+ &:not(.variant-full-page) {
199
+ #{custom-props.$inlineLabelBackgroundColor}: awsui.$color-background-table-header;
200
+ }
201
+
197
202
  &.variant-full-page {
198
203
  padding-block: 0 calc(#{awsui.$space-container-header-bottom} + #{awsui.$space-table-header-tools-full-page-bottom});
199
204
  }
@@ -1,32 +1,32 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "alert": "awsui_alert_mx3cw_1l3uv_13",
5
- "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_mx3cw_1l3uv_1",
6
- "root": "awsui_root_mx3cw_1l3uv_84",
7
- "hidden": "awsui_hidden_mx3cw_1l3uv_119",
8
- "alert-wrapper": "awsui_alert-wrapper_mx3cw_1l3uv_182",
9
- "initial-hidden": "awsui_initial-hidden_mx3cw_1l3uv_194",
10
- "header": "awsui_header_mx3cw_1l3uv_199",
11
- "header-replacement": "awsui_header-replacement_mx3cw_1l3uv_200",
12
- "action": "awsui_action_mx3cw_1l3uv_204",
13
- "action-slot": "awsui_action-slot_mx3cw_1l3uv_208",
14
- "action-button": "awsui_action-button_mx3cw_1l3uv_209",
15
- "alert-focus-wrapper": "awsui_alert-focus-wrapper_mx3cw_1l3uv_213",
16
- "icon": "awsui_icon_mx3cw_1l3uv_245",
17
- "text": "awsui_text_mx3cw_1l3uv_249",
18
- "message": "awsui_message_mx3cw_1l3uv_259",
19
- "action-wrapped": "awsui_action-wrapped_mx3cw_1l3uv_263",
20
- "icon-size-medium": "awsui_icon-size-medium_mx3cw_1l3uv_267",
21
- "icon-size-big": "awsui_icon-size-big_mx3cw_1l3uv_271",
22
- "icon-size-normal": "awsui_icon-size-normal_mx3cw_1l3uv_275",
23
- "content": "awsui_content_mx3cw_1l3uv_279",
24
- "content-replacement": "awsui_content-replacement_mx3cw_1l3uv_280",
25
- "dismiss": "awsui_dismiss_mx3cw_1l3uv_284",
26
- "dismiss-button": "awsui_dismiss-button_mx3cw_1l3uv_290",
27
- "type-error": "awsui_type-error_mx3cw_1l3uv_294",
28
- "type-warning": "awsui_type-warning_mx3cw_1l3uv_302",
29
- "type-success": "awsui_type-success_mx3cw_1l3uv_310",
30
- "type-info": "awsui_type-info_mx3cw_1l3uv_318"
4
+ "alert": "awsui_alert_mx3cw_18uda_13",
5
+ "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_mx3cw_18uda_1",
6
+ "root": "awsui_root_mx3cw_18uda_84",
7
+ "hidden": "awsui_hidden_mx3cw_18uda_119",
8
+ "alert-wrapper": "awsui_alert-wrapper_mx3cw_18uda_182",
9
+ "initial-hidden": "awsui_initial-hidden_mx3cw_18uda_194",
10
+ "header": "awsui_header_mx3cw_18uda_199",
11
+ "header-replacement": "awsui_header-replacement_mx3cw_18uda_200",
12
+ "action": "awsui_action_mx3cw_18uda_204",
13
+ "action-slot": "awsui_action-slot_mx3cw_18uda_208",
14
+ "action-button": "awsui_action-button_mx3cw_18uda_209",
15
+ "alert-focus-wrapper": "awsui_alert-focus-wrapper_mx3cw_18uda_213",
16
+ "icon": "awsui_icon_mx3cw_18uda_245",
17
+ "text": "awsui_text_mx3cw_18uda_249",
18
+ "message": "awsui_message_mx3cw_18uda_259",
19
+ "action-wrapped": "awsui_action-wrapped_mx3cw_18uda_263",
20
+ "icon-size-medium": "awsui_icon-size-medium_mx3cw_18uda_267",
21
+ "icon-size-big": "awsui_icon-size-big_mx3cw_18uda_271",
22
+ "icon-size-normal": "awsui_icon-size-normal_mx3cw_18uda_275",
23
+ "content": "awsui_content_mx3cw_18uda_279",
24
+ "content-replacement": "awsui_content-replacement_mx3cw_18uda_280",
25
+ "dismiss": "awsui_dismiss_mx3cw_18uda_284",
26
+ "dismiss-button": "awsui_dismiss-button_mx3cw_18uda_290",
27
+ "type-error": "awsui_type-error_mx3cw_18uda_294",
28
+ "type-warning": "awsui_type-warning_mx3cw_18uda_302",
29
+ "type-success": "awsui_type-success_mx3cw_18uda_310",
30
+ "type-info": "awsui_type-info_mx3cw_18uda_318"
31
31
  };
32
32