@cloudscape-design/components-themeable 3.0.1325 → 3.0.1326

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 (57) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/badge/styles.scss +4 -4
  3. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
  4. package/lib/internal/scss/link/constants.scss +2 -2
  5. package/lib/internal/scss/side-navigation/styles.scss +6 -0
  6. package/lib/internal/template/badge/styles.css.js +10 -10
  7. package/lib/internal/template/badge/styles.scoped.css +14 -14
  8. package/lib/internal/template/badge/styles.selectors.js +10 -10
  9. package/lib/internal/template/code-editor/interfaces.js.map +1 -1
  10. package/lib/internal/template/help-panel/styles.css.js +6 -6
  11. package/lib/internal/template/help-panel/styles.scoped.css +69 -69
  12. package/lib/internal/template/help-panel/styles.selectors.js +6 -6
  13. package/lib/internal/template/icon/generated/icons.d.ts +1 -0
  14. package/lib/internal/template/icon/generated/icons.d.ts.map +1 -1
  15. package/lib/internal/template/icon/generated/icons.js +2 -0
  16. package/lib/internal/template/icon/generated/icons.js.map +1 -1
  17. package/lib/internal/template/icon-provider/interfaces.d.ts +1 -1
  18. package/lib/internal/template/icon-provider/interfaces.d.ts.map +1 -1
  19. package/lib/internal/template/icon-provider/interfaces.js.map +1 -1
  20. package/lib/internal/template/internal/base-component/styles.scoped.css +17 -1
  21. package/lib/internal/template/internal/components/token-list/styles.css.js +10 -10
  22. package/lib/internal/template/internal/components/token-list/styles.scoped.css +24 -24
  23. package/lib/internal/template/internal/components/token-list/styles.selectors.js +10 -10
  24. package/lib/internal/template/internal/environment.js +2 -2
  25. package/lib/internal/template/internal/environment.json +2 -2
  26. package/lib/internal/template/internal/generated/styles/tokens.d.ts +8 -0
  27. package/lib/internal/template/internal/generated/styles/tokens.js +8 -0
  28. package/lib/internal/template/internal/generated/theming/index.cjs +176 -0
  29. package/lib/internal/template/internal/generated/theming/index.cjs.d.ts +45 -0
  30. package/lib/internal/template/internal/generated/theming/index.d.ts +45 -0
  31. package/lib/internal/template/internal/generated/theming/index.js +176 -0
  32. package/lib/internal/template/internal/utils/external-props.js +7 -5
  33. package/lib/internal/template/internal/utils/external-props.js.map +1 -1
  34. package/lib/internal/template/link/styles.css.js +21 -21
  35. package/lib/internal/template/link/styles.scoped.css +86 -86
  36. package/lib/internal/template/link/styles.selectors.js +21 -21
  37. package/lib/internal/template/pagination/internal.d.ts.map +1 -1
  38. package/lib/internal/template/pagination/internal.js +2 -2
  39. package/lib/internal/template/pagination/internal.js.map +1 -1
  40. package/lib/internal/template/select/utils/connect-options.d.ts.map +1 -1
  41. package/lib/internal/template/select/utils/connect-options.js +11 -7
  42. package/lib/internal/template/select/utils/connect-options.js.map +1 -1
  43. package/lib/internal/template/select/utils/use-select.d.ts.map +1 -1
  44. package/lib/internal/template/select/utils/use-select.js +5 -4
  45. package/lib/internal/template/select/utils/use-select.js.map +1 -1
  46. package/lib/internal/template/side-navigation/parts.js +4 -3
  47. package/lib/internal/template/side-navigation/parts.js.map +1 -1
  48. package/lib/internal/template/side-navigation/styles.css.js +47 -46
  49. package/lib/internal/template/side-navigation/styles.scoped.css +76 -70
  50. package/lib/internal/template/side-navigation/styles.selectors.js +47 -46
  51. package/lib/internal/template/test-utils/dom/pagination/index.d.ts +9 -6
  52. package/lib/internal/template/test-utils/dom/pagination/index.js +15 -5
  53. package/lib/internal/template/test-utils/dom/pagination/index.js.map +1 -1
  54. package/lib/internal/template/test-utils/selectors/pagination/index.d.ts +8 -6
  55. package/lib/internal/template/test-utils/selectors/pagination/index.js +9 -5
  56. package/lib/internal/template/test-utils/selectors/pagination/index.js.map +1 -1
  57. package/package.json +1 -1
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "45502c04e248f53271215aeb14362cf0f2551cc1"
2
+ "commit": "83708957b95f02bdbbdd4a0e59f8d57955569f25"
3
3
  }
@@ -24,25 +24,25 @@
24
24
  color: awsui.$color-text-notification-default;
25
25
 
26
26
  &.badge-color-grey {
27
- background-color: awsui.$color-background-notification-grey;
27
+ background-color: awsui.$color-background-badge-grey;
28
28
  border-color: awsui.$color-border-badge-grey;
29
29
  color: awsui.$color-text-badge-grey;
30
30
  }
31
31
 
32
32
  &.badge-color-green {
33
- background-color: awsui.$color-background-notification-green;
33
+ background-color: awsui.$color-background-badge-green;
34
34
  border-color: awsui.$color-border-badge-green;
35
35
  color: awsui.$color-text-badge-green;
36
36
  }
37
37
 
38
38
  &.badge-color-blue {
39
- background-color: awsui.$color-background-notification-blue;
39
+ background-color: awsui.$color-background-badge-blue;
40
40
  border-color: awsui.$color-border-badge-blue;
41
41
  color: awsui.$color-text-badge-blue;
42
42
  }
43
43
 
44
44
  &.badge-color-red {
45
- background-color: awsui.$color-background-notification-red;
45
+ background-color: awsui.$color-background-badge-red;
46
46
  border-color: awsui.$color-border-badge-red;
47
47
  color: awsui.$color-text-badge-red;
48
48
  }
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Build environment
3
- $awsui-commit-hash: "45502c04";
3
+ $awsui-commit-hash: "83708957";
4
4
  // Manually managed CSS-variables
5
5
  $maxContentWidth: --awsui-max-content-width-6b9ypa;
6
6
  $minContentWidth: --awsui-min-content-width-6b9ypa;
@@ -63,10 +63,10 @@ $link-variants: (
63
63
  'text-color-default': awsui.$color-text-link-secondary-default,
64
64
  'text-color-hover': awsui.$color-text-link-secondary-hover,
65
65
  'text-color-active': awsui.$color-text-link-secondary-hover,
66
- 'font-weight': inherit,
66
+ 'font-weight': awsui.$font-weight-link-secondary,
67
67
  'decoration-line': none,
68
68
  'decoration-color': transparent,
69
- 'decoration-color-hover': currentColor,
69
+ 'decoration-color-hover': awsui.$color-text-link-decoration-hover,
70
70
  'letter-spacing': normal,
71
71
  ),
72
72
  'primary': (
@@ -250,6 +250,12 @@ $expandable-icon-negative-margin: awsui.$space-l;
250
250
  }
251
251
  }
252
252
 
253
+ .section-header {
254
+ display: contents;
255
+ font-size: awsui.$font-side-navigation-section-header-size;
256
+ font-weight: awsui.$font-side-navigation-section-header-weight;
257
+ }
258
+
253
259
  // ==========================================================================
254
260
  // Section groups
255
261
  // ==========================================================================
@@ -1,15 +1,15 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "badge": "awsui_badge_1yjyg_zpkv4_145",
5
- "badge-color-grey": "awsui_badge-color-grey_1yjyg_zpkv4_191",
6
- "badge-color-green": "awsui_badge-color-green_1yjyg_zpkv4_196",
7
- "badge-color-blue": "awsui_badge-color-blue_1yjyg_zpkv4_201",
8
- "badge-color-red": "awsui_badge-color-red_1yjyg_zpkv4_206",
9
- "badge-color-severity-critical": "awsui_badge-color-severity-critical_1yjyg_zpkv4_211",
10
- "badge-color-severity-high": "awsui_badge-color-severity-high_1yjyg_zpkv4_216",
11
- "badge-color-severity-medium": "awsui_badge-color-severity-medium_1yjyg_zpkv4_221",
12
- "badge-color-severity-low": "awsui_badge-color-severity-low_1yjyg_zpkv4_226",
13
- "badge-color-severity-neutral": "awsui_badge-color-severity-neutral_1yjyg_zpkv4_231"
4
+ "badge": "awsui_badge_1yjyg_10cmu_145",
5
+ "badge-color-grey": "awsui_badge-color-grey_1yjyg_10cmu_191",
6
+ "badge-color-green": "awsui_badge-color-green_1yjyg_10cmu_196",
7
+ "badge-color-blue": "awsui_badge-color-blue_1yjyg_10cmu_201",
8
+ "badge-color-red": "awsui_badge-color-red_1yjyg_10cmu_206",
9
+ "badge-color-severity-critical": "awsui_badge-color-severity-critical_1yjyg_10cmu_211",
10
+ "badge-color-severity-high": "awsui_badge-color-severity-high_1yjyg_10cmu_216",
11
+ "badge-color-severity-medium": "awsui_badge-color-severity-medium_1yjyg_10cmu_221",
12
+ "badge-color-severity-low": "awsui_badge-color-severity-low_1yjyg_10cmu_226",
13
+ "badge-color-severity-neutral": "awsui_badge-color-severity-neutral_1yjyg_10cmu_231"
14
14
  };
15
15
 
@@ -142,7 +142,7 @@
142
142
  */
143
143
  /* Style used for links in slots/components that are text heavy, to help links stand out among
144
144
  surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
145
- .awsui_badge_1yjyg_zpkv4_145:not(#\9) {
145
+ .awsui_badge_1yjyg_10cmu_145:not(#\9) {
146
146
  border-collapse: separate;
147
147
  border-spacing: 0;
148
148
  box-sizing: border-box;
@@ -188,47 +188,47 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
188
188
  padding-inline: var(--space-xs-kw7k3v, 8px);
189
189
  color: var(--color-text-notification-default-fmebm4, #fafafa);
190
190
  }
191
- .awsui_badge_1yjyg_zpkv4_145.awsui_badge-color-grey_1yjyg_zpkv4_191:not(#\9) {
192
- background-color: var(--color-background-notification-grey-yzex9c, #545b64);
191
+ .awsui_badge_1yjyg_10cmu_145.awsui_badge-color-grey_1yjyg_10cmu_191:not(#\9) {
192
+ background-color: var(--color-background-badge-grey-0gre59, #545b64);
193
193
  border-color: var(--color-border-badge-grey-7x1xit, transparent);
194
194
  color: var(--color-text-badge-grey-5hljh0, #fafafa);
195
195
  }
196
- .awsui_badge_1yjyg_zpkv4_145.awsui_badge-color-green_1yjyg_zpkv4_196:not(#\9) {
197
- background-color: var(--color-background-notification-green-7yuv70, #1d8102);
196
+ .awsui_badge_1yjyg_10cmu_145.awsui_badge-color-green_1yjyg_10cmu_196:not(#\9) {
197
+ background-color: var(--color-background-badge-green-aahq3n, #1d8102);
198
198
  border-color: var(--color-border-badge-green-t7n2iz, transparent);
199
199
  color: var(--color-text-badge-green-i688l8, #fafafa);
200
200
  }
201
- .awsui_badge_1yjyg_zpkv4_145.awsui_badge-color-blue_1yjyg_zpkv4_201:not(#\9) {
202
- background-color: var(--color-background-notification-blue-jgc5fr, #0073bb);
201
+ .awsui_badge_1yjyg_10cmu_145.awsui_badge-color-blue_1yjyg_10cmu_201:not(#\9) {
202
+ background-color: var(--color-background-badge-blue-89he01, #0073bb);
203
203
  border-color: var(--color-border-badge-blue-p28tag, transparent);
204
204
  color: var(--color-text-badge-blue-pfnjhv, #fafafa);
205
205
  }
206
- .awsui_badge_1yjyg_zpkv4_145.awsui_badge-color-red_1yjyg_zpkv4_206:not(#\9) {
207
- background-color: var(--color-background-notification-red-k51keq, #d13212);
206
+ .awsui_badge_1yjyg_10cmu_145.awsui_badge-color-red_1yjyg_10cmu_206:not(#\9) {
207
+ background-color: var(--color-background-badge-red-lfiebe, #d13212);
208
208
  border-color: var(--color-border-badge-red-w6mok2, transparent);
209
209
  color: var(--color-text-badge-red-e7xtdk, #fafafa);
210
210
  }
211
- .awsui_badge_1yjyg_zpkv4_145.awsui_badge-color-severity-critical_1yjyg_zpkv4_211:not(#\9) {
211
+ .awsui_badge_1yjyg_10cmu_145.awsui_badge-color-severity-critical_1yjyg_10cmu_211:not(#\9) {
212
212
  background-color: var(--color-background-notification-severity-critical-gsxtat, #870303);
213
213
  color: var(--color-text-badge-severity-critical-9m2t9l, #fafafa);
214
214
  border-color: var(--color-border-badge-severity-critical-afw1t4, transparent);
215
215
  }
216
- .awsui_badge_1yjyg_zpkv4_145.awsui_badge-color-severity-high_1yjyg_zpkv4_216:not(#\9) {
216
+ .awsui_badge_1yjyg_10cmu_145.awsui_badge-color-severity-high_1yjyg_10cmu_216:not(#\9) {
217
217
  background-color: var(--color-background-notification-severity-high-hz1dy0, #ce3311);
218
218
  color: var(--color-text-badge-severity-high-yhnb3j, #fafafa);
219
219
  border-color: var(--color-border-badge-severity-high-xpyb3z, transparent);
220
220
  }
221
- .awsui_badge_1yjyg_zpkv4_145.awsui_badge-color-severity-medium_1yjyg_zpkv4_221:not(#\9) {
221
+ .awsui_badge_1yjyg_10cmu_145.awsui_badge-color-severity-medium_1yjyg_10cmu_221:not(#\9) {
222
222
  background-color: var(--color-background-notification-severity-medium-f2pwwo, #f89256);
223
223
  color: var(--color-text-badge-severity-medium-seazfm, #000000);
224
224
  border-color: var(--color-border-badge-severity-medium-lglq87, transparent);
225
225
  }
226
- .awsui_badge_1yjyg_zpkv4_145.awsui_badge-color-severity-low_1yjyg_zpkv4_226:not(#\9) {
226
+ .awsui_badge_1yjyg_10cmu_145.awsui_badge-color-severity-low_1yjyg_10cmu_226:not(#\9) {
227
227
  background-color: var(--color-background-notification-severity-low-11rcv3, #f2cd54);
228
228
  color: var(--color-text-badge-severity-low-ixtax4, #16191f);
229
229
  border-color: var(--color-border-badge-severity-low-w6znea, transparent);
230
230
  }
231
- .awsui_badge_1yjyg_zpkv4_145.awsui_badge-color-severity-neutral_1yjyg_zpkv4_231:not(#\9) {
231
+ .awsui_badge_1yjyg_10cmu_145.awsui_badge-color-severity-neutral_1yjyg_10cmu_231:not(#\9) {
232
232
  background-color: var(--color-background-notification-severity-neutral-1tqomh, #687078);
233
233
  color: var(--color-text-badge-severity-neutral-vfdy0w, #fafafa);
234
234
  border-color: var(--color-border-badge-severity-neutral-kdj4l5, transparent);
@@ -2,15 +2,15 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "badge": "awsui_badge_1yjyg_zpkv4_145",
6
- "badge-color-grey": "awsui_badge-color-grey_1yjyg_zpkv4_191",
7
- "badge-color-green": "awsui_badge-color-green_1yjyg_zpkv4_196",
8
- "badge-color-blue": "awsui_badge-color-blue_1yjyg_zpkv4_201",
9
- "badge-color-red": "awsui_badge-color-red_1yjyg_zpkv4_206",
10
- "badge-color-severity-critical": "awsui_badge-color-severity-critical_1yjyg_zpkv4_211",
11
- "badge-color-severity-high": "awsui_badge-color-severity-high_1yjyg_zpkv4_216",
12
- "badge-color-severity-medium": "awsui_badge-color-severity-medium_1yjyg_zpkv4_221",
13
- "badge-color-severity-low": "awsui_badge-color-severity-low_1yjyg_zpkv4_226",
14
- "badge-color-severity-neutral": "awsui_badge-color-severity-neutral_1yjyg_zpkv4_231"
5
+ "badge": "awsui_badge_1yjyg_10cmu_145",
6
+ "badge-color-grey": "awsui_badge-color-grey_1yjyg_10cmu_191",
7
+ "badge-color-green": "awsui_badge-color-green_1yjyg_10cmu_196",
8
+ "badge-color-blue": "awsui_badge-color-blue_1yjyg_10cmu_201",
9
+ "badge-color-red": "awsui_badge-color-red_1yjyg_10cmu_206",
10
+ "badge-color-severity-critical": "awsui_badge-color-severity-critical_1yjyg_10cmu_211",
11
+ "badge-color-severity-high": "awsui_badge-color-severity-high_1yjyg_10cmu_216",
12
+ "badge-color-severity-medium": "awsui_badge-color-severity-medium_1yjyg_10cmu_221",
13
+ "badge-color-severity-low": "awsui_badge-color-severity-low_1yjyg_10cmu_226",
14
+ "badge-color-severity-neutral": "awsui_badge-color-severity-neutral_1yjyg_10cmu_231"
15
15
  };
16
16
 
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/code-editor/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { Ace } from 'ace-builds';\n\nimport { BaseModalProps } from '../modal/interfaces';\nimport { BaseComponentProps } from '../types/base-component';\nimport { NonCancelableEventHandler } from '../types/events';\nimport { FormFieldControlProps } from '../types/form-field';\n// eslint-disable-next-line @cloudscape-design/components/no-internal-in-public-interfaces -- runtime constant; the available Ace modes are the single source of truth for the derived public language types.\nimport { AceModes } from './ace-modes';\n// eslint-disable-next-line @cloudscape-design/components/no-internal-in-public-interfaces -- runtime constants; the available Ace themes are the single source of truth for the derived public theme types.\nimport { DarkThemes, LightThemes } from './ace-themes';\n\nexport interface CodeEditorProps extends BaseComponentProps, FormFieldControlProps, BaseModalProps {\n /**\n * The ace object.\n */\n ace: any;\n\n /**\n * Specifies the content that's displayed in the code editor.\n */\n value: string;\n\n /**\n * Specifies the programming language. You can use any of the programming languages supported by the `ace` object that you provide.\n * Alternatively, this can be used to set a language that is not supported by the default `language` list. Make sure you've added the highlighting support for this language to the Ace instance.\n * For more info on custom languages, see the [Code editor API](/components/code-editor?tabId=api) page.\n */\n language: CodeEditorProps.Language;\n\n /**\n * Specifies a custom label language. If set, it overrides the default language label.\n */\n languageLabel?: string;\n\n /**\n * An event handler called when the value changes.\n * The event `detail` contains the current value of the code editor content.\n * **Deprecated** Replaced by `onDelayedChange`.\n */\n onChange?: NonCancelableEventHandler<CodeEditorProps.ChangeDetail>;\n\n /**\n * An event handler called when the value changes.\n * The event `detail` contains the current value of the code editor content.\n * A user interaction can cause multiple change events to be emitted by the Ace editor. They are batched together into a single `onDelayedChange` event to avoid bugs when controlling the `value` field.\n */\n onDelayedChange?: NonCancelableEventHandler<CodeEditorProps.ChangeDetail>;\n\n /**\n * Annotations returned from Ace syntax checker after code validation.\n */\n onValidate?: NonCancelableEventHandler<CodeEditorProps.ValidateDetail>;\n\n /**\n * Specifies the component preferences.\n *\n * If set to `undefined`, the component uses the following default value:\n *\n * ```\n * {\n * wrapLines: true,\n * theme: 'dawn'\n * }\n * ```\n *\n * You can use any theme provided by Ace.\n */\n preferences?: Partial<CodeEditorProps.Preferences>;\n\n /**\n * List of Ace themes available for selection in preferences dialog. Make sure you include at least one light and at\n * least one dark theme. If not set explicitly, it will render all Ace themes available for selection, except\n * \"cloud_editor\" and \"cloud_editor_dark\".\n */\n themes?: CodeEditorProps.AvailableThemes;\n\n /**\n * Called when any of the preferences change.\n * The event `detail` contains the value of all the preferences as submitted by the user.\n *\n */\n onPreferencesChange: NonCancelableEventHandler<CodeEditorProps.Preferences>;\n\n /**\n * Renders the code editor in a loading state.\n */\n loading?: boolean;\n\n /**\n * Called when the user clicks the recovery button in the error state.\n * Use this to retry loading the code editor or to provide another option for the user to recover from the error.\n */\n onRecoveryClick?: NonCancelableEventHandler<void>;\n\n /**\n * An object containing all the necessary localized strings required by the component.\n * The object should contain, among others:\n *\n * * `loadingState` - Specifies the text to display while the component is loading.\n * * `errorState` - Specifies the text to display if there is an error loading Ace.\n * * `errorStateRecovery`: Specifies the text for the recovery button that's displayed next to the error text.\n * Use the `recoveryClick` event to do a recovery action (for example, retrying the request).\n * @i18n\n */\n i18nStrings?: CodeEditorProps.I18nStrings;\n\n /**\n * Specifies the height of the code editor document.\n */\n editorContentHeight?: number;\n\n /**\n * Called when the user resizes the editor by dragging the resize icon.\n * The event `detail` contains the new height of the editor in pixels.\n */\n onEditorContentResize?: NonCancelableEventHandler<CodeEditorProps.ResizeDetail>;\n\n /**\n * Adds `aria-label` to the code editor's textarea element.\n */\n ariaLabel?: string;\n}\n\n// Prevents typescript from collapsing a string union type into a string type while still allowing any string.\n// This leads to more helpful editor suggestions for known values.\n// See: https://github.com/microsoft/TypeScript/issues/29729\ntype LiteralUnion<LiteralType, BaseType extends string> = LiteralType | (BaseType & { _?: never });\n\ntype BuiltInLanguage = (typeof AceModes)[number]['value'];\n\nexport namespace CodeEditorProps {\n export type Language = LiteralUnion<BuiltInLanguage, string>;\n export type Theme = (typeof LightThemes)[number]['value'] | (typeof DarkThemes)[number]['value'];\n\n export interface AvailableThemes {\n light: ReadonlyArray<string>;\n dark: ReadonlyArray<string>;\n }\n\n export interface Preferences {\n wrapLines: boolean;\n theme: Theme;\n }\n\n export interface I18nStrings {\n loadingState?: string;\n errorState?: string;\n errorStateRecovery?: string;\n\n editorGroupAriaLabel?: string;\n statusBarGroupAriaLabel?: string;\n\n cursorPosition?: (row: number, column: number) => string;\n errorsTab?: string;\n warningsTab?: string;\n preferencesButtonAriaLabel?: string;\n paneCloseButtonAriaLabel?: string;\n\n preferencesModalHeader?: string;\n preferencesModalCancel?: string;\n preferencesModalConfirm?: string;\n preferencesModalCloseAriaLabel?: string;\n preferencesModalWrapLines?: string;\n preferencesModalTheme?: string;\n preferencesModalLightThemes?: string;\n preferencesModalDarkThemes?: string;\n\n preferencesModalThemeFilteringPlaceholder?: string;\n preferencesModalThemeFilteringAriaLabel?: string;\n preferencesModalThemeFilteringClearAriaLabel?: string;\n\n resizeHandleAriaLabel?: string;\n resizeHandleTooltipText?: string;\n }\n export interface ResizeDetail {\n height: number;\n }\n export interface ChangeDetail {\n value: string;\n }\n\n export interface ValidateDetail {\n annotations: Ace.Annotation[];\n }\n\n export interface Ref {\n /**\n * Sets input focus onto the code editor control.\n */\n focus(): void;\n }\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/code-editor/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { Ace } from 'ace-builds';\n\nimport { BaseModalProps } from '../modal/interfaces';\nimport { BaseComponentProps } from '../types/base-component';\nimport { NonCancelableEventHandler } from '../types/events';\nimport { FormFieldControlProps } from '../types/form-field';\n// eslint-disable-next-line @cloudscape-design/build-tools/no-internal-in-public-interfaces -- runtime constant; the available Ace modes are the single source of truth for the derived public language types.\nimport { AceModes } from './ace-modes';\n// eslint-disable-next-line @cloudscape-design/build-tools/no-internal-in-public-interfaces -- runtime constants; the available Ace themes are the single source of truth for the derived public theme types.\nimport { DarkThemes, LightThemes } from './ace-themes';\n\nexport interface CodeEditorProps extends BaseComponentProps, FormFieldControlProps, BaseModalProps {\n /**\n * The ace object.\n */\n ace: any;\n\n /**\n * Specifies the content that's displayed in the code editor.\n */\n value: string;\n\n /**\n * Specifies the programming language. You can use any of the programming languages supported by the `ace` object that you provide.\n * Alternatively, this can be used to set a language that is not supported by the default `language` list. Make sure you've added the highlighting support for this language to the Ace instance.\n * For more info on custom languages, see the [Code editor API](/components/code-editor?tabId=api) page.\n */\n language: CodeEditorProps.Language;\n\n /**\n * Specifies a custom label language. If set, it overrides the default language label.\n */\n languageLabel?: string;\n\n /**\n * An event handler called when the value changes.\n * The event `detail` contains the current value of the code editor content.\n * **Deprecated** Replaced by `onDelayedChange`.\n */\n onChange?: NonCancelableEventHandler<CodeEditorProps.ChangeDetail>;\n\n /**\n * An event handler called when the value changes.\n * The event `detail` contains the current value of the code editor content.\n * A user interaction can cause multiple change events to be emitted by the Ace editor. They are batched together into a single `onDelayedChange` event to avoid bugs when controlling the `value` field.\n */\n onDelayedChange?: NonCancelableEventHandler<CodeEditorProps.ChangeDetail>;\n\n /**\n * Annotations returned from Ace syntax checker after code validation.\n */\n onValidate?: NonCancelableEventHandler<CodeEditorProps.ValidateDetail>;\n\n /**\n * Specifies the component preferences.\n *\n * If set to `undefined`, the component uses the following default value:\n *\n * ```\n * {\n * wrapLines: true,\n * theme: 'dawn'\n * }\n * ```\n *\n * You can use any theme provided by Ace.\n */\n preferences?: Partial<CodeEditorProps.Preferences>;\n\n /**\n * List of Ace themes available for selection in preferences dialog. Make sure you include at least one light and at\n * least one dark theme. If not set explicitly, it will render all Ace themes available for selection, except\n * \"cloud_editor\" and \"cloud_editor_dark\".\n */\n themes?: CodeEditorProps.AvailableThemes;\n\n /**\n * Called when any of the preferences change.\n * The event `detail` contains the value of all the preferences as submitted by the user.\n *\n */\n onPreferencesChange: NonCancelableEventHandler<CodeEditorProps.Preferences>;\n\n /**\n * Renders the code editor in a loading state.\n */\n loading?: boolean;\n\n /**\n * Called when the user clicks the recovery button in the error state.\n * Use this to retry loading the code editor or to provide another option for the user to recover from the error.\n */\n onRecoveryClick?: NonCancelableEventHandler<void>;\n\n /**\n * An object containing all the necessary localized strings required by the component.\n * The object should contain, among others:\n *\n * * `loadingState` - Specifies the text to display while the component is loading.\n * * `errorState` - Specifies the text to display if there is an error loading Ace.\n * * `errorStateRecovery`: Specifies the text for the recovery button that's displayed next to the error text.\n * Use the `recoveryClick` event to do a recovery action (for example, retrying the request).\n * @i18n\n */\n i18nStrings?: CodeEditorProps.I18nStrings;\n\n /**\n * Specifies the height of the code editor document.\n */\n editorContentHeight?: number;\n\n /**\n * Called when the user resizes the editor by dragging the resize icon.\n * The event `detail` contains the new height of the editor in pixels.\n */\n onEditorContentResize?: NonCancelableEventHandler<CodeEditorProps.ResizeDetail>;\n\n /**\n * Adds `aria-label` to the code editor's textarea element.\n */\n ariaLabel?: string;\n}\n\n// Prevents typescript from collapsing a string union type into a string type while still allowing any string.\n// This leads to more helpful editor suggestions for known values.\n// See: https://github.com/microsoft/TypeScript/issues/29729\ntype LiteralUnion<LiteralType, BaseType extends string> = LiteralType | (BaseType & { _?: never });\n\ntype BuiltInLanguage = (typeof AceModes)[number]['value'];\n\nexport namespace CodeEditorProps {\n export type Language = LiteralUnion<BuiltInLanguage, string>;\n export type Theme = (typeof LightThemes)[number]['value'] | (typeof DarkThemes)[number]['value'];\n\n export interface AvailableThemes {\n light: ReadonlyArray<string>;\n dark: ReadonlyArray<string>;\n }\n\n export interface Preferences {\n wrapLines: boolean;\n theme: Theme;\n }\n\n export interface I18nStrings {\n loadingState?: string;\n errorState?: string;\n errorStateRecovery?: string;\n\n editorGroupAriaLabel?: string;\n statusBarGroupAriaLabel?: string;\n\n cursorPosition?: (row: number, column: number) => string;\n errorsTab?: string;\n warningsTab?: string;\n preferencesButtonAriaLabel?: string;\n paneCloseButtonAriaLabel?: string;\n\n preferencesModalHeader?: string;\n preferencesModalCancel?: string;\n preferencesModalConfirm?: string;\n preferencesModalCloseAriaLabel?: string;\n preferencesModalWrapLines?: string;\n preferencesModalTheme?: string;\n preferencesModalLightThemes?: string;\n preferencesModalDarkThemes?: string;\n\n preferencesModalThemeFilteringPlaceholder?: string;\n preferencesModalThemeFilteringAriaLabel?: string;\n preferencesModalThemeFilteringClearAriaLabel?: string;\n\n resizeHandleAriaLabel?: string;\n resizeHandleTooltipText?: string;\n }\n export interface ResizeDetail {\n height: number;\n }\n export interface ChangeDetail {\n value: string;\n }\n\n export interface ValidateDetail {\n annotations: Ace.Annotation[];\n }\n\n export interface Ref {\n /**\n * Sets input focus onto the code editor control.\n */\n focus(): void;\n }\n}\n"]}
@@ -1,11 +1,11 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "help-panel": "awsui_help-panel_1d237_usjt5_181",
5
- "loading": "awsui_loading_1d237_usjt5_354",
6
- "header": "awsui_header_1d237_usjt5_359",
7
- "with-toolbar": "awsui_with-toolbar_1d237_usjt5_377",
8
- "content": "awsui_content_1d237_usjt5_396",
9
- "footer": "awsui_footer_1d237_usjt5_448"
4
+ "help-panel": "awsui_help-panel_1d237_w9ngm_181",
5
+ "loading": "awsui_loading_1d237_w9ngm_354",
6
+ "header": "awsui_header_1d237_w9ngm_359",
7
+ "with-toolbar": "awsui_with-toolbar_1d237_w9ngm_377",
8
+ "content": "awsui_content_1d237_w9ngm_396",
9
+ "footer": "awsui_footer_1d237_w9ngm_448"
10
10
  };
11
11
 
@@ -178,7 +178,7 @@
178
178
  */
179
179
  /* Style used for links in slots/components that are text heavy, to help links stand out among
180
180
  surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
181
- .awsui_help-panel_1d237_usjt5_181:not(#\9) {
181
+ .awsui_help-panel_1d237_w9ngm_181:not(#\9) {
182
182
  border-collapse: separate;
183
183
  border-spacing: 0;
184
184
  box-sizing: border-box;
@@ -214,36 +214,36 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
214
214
  /* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
215
215
  /* stylelint-enable @cloudscape-design/no-implicit-descendant, selector-max-type */
216
216
  }
217
- .awsui_help-panel_1d237_usjt5_181 hr:not(#\9) {
217
+ .awsui_help-panel_1d237_w9ngm_181 hr:not(#\9) {
218
218
  border-block: none;
219
219
  border-inline: none;
220
220
  border-block-start: var(--border-divider-section-width-sznrdy, 1px) solid var(--color-border-divider-default-ipvpev, #eaeded);
221
221
  margin-block: var(--space-scaled-xl-nxtcbc, 24px);
222
222
  margin-inline: calc(-1 * var(--space-panel-divider-margin-horizontal-6msb21, 12px));
223
223
  }
224
- .awsui_help-panel_1d237_usjt5_181 ol:not(#\9),
225
- .awsui_help-panel_1d237_usjt5_181 ul:not(#\9) {
224
+ .awsui_help-panel_1d237_w9ngm_181 ol:not(#\9),
225
+ .awsui_help-panel_1d237_w9ngm_181 ul:not(#\9) {
226
226
  padding-inline-start: var(--space-l-3cws6j, 20px);
227
227
  list-style-position: outside;
228
228
  margin-block: var(--space-s-4a5hs8, 12px);
229
229
  margin-inline: 0;
230
230
  }
231
- .awsui_help-panel_1d237_usjt5_181 li:not(#\9) {
231
+ .awsui_help-panel_1d237_w9ngm_181 li:not(#\9) {
232
232
  margin-block: var(--space-scaled-xxs-jatbiv, 4px);
233
233
  margin-inline: 0;
234
234
  }
235
- .awsui_help-panel_1d237_usjt5_181 a:not(#\9),
236
- .awsui_help-panel_1d237_usjt5_181 h2:not(#\9),
237
- .awsui_help-panel_1d237_usjt5_181 h3:not(#\9),
238
- .awsui_help-panel_1d237_usjt5_181 h4:not(#\9),
239
- .awsui_help-panel_1d237_usjt5_181 h5:not(#\9),
240
- .awsui_help-panel_1d237_usjt5_181 pre:not(#\9),
241
- .awsui_help-panel_1d237_usjt5_181 code:not(#\9) {
235
+ .awsui_help-panel_1d237_w9ngm_181 a:not(#\9),
236
+ .awsui_help-panel_1d237_w9ngm_181 h2:not(#\9),
237
+ .awsui_help-panel_1d237_w9ngm_181 h3:not(#\9),
238
+ .awsui_help-panel_1d237_w9ngm_181 h4:not(#\9),
239
+ .awsui_help-panel_1d237_w9ngm_181 h5:not(#\9),
240
+ .awsui_help-panel_1d237_w9ngm_181 pre:not(#\9),
241
+ .awsui_help-panel_1d237_w9ngm_181 code:not(#\9) {
242
242
  margin-block: var(--space-xs-kw7k3v, 8px);
243
243
  margin-inline: 0;
244
244
  padding-block: 0;
245
245
  }
246
- .awsui_help-panel_1d237_usjt5_181 code:not(#\9) {
246
+ .awsui_help-panel_1d237_w9ngm_181 code:not(#\9) {
247
247
  font-size: var(--font-size-body-s-psgqn2, 12px);
248
248
  line-height: var(--line-height-body-s-otgtsr, 16px);
249
249
  letter-spacing: var(--letter-spacing-body-s-egrcsd, normal);
@@ -254,7 +254,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
254
254
  word-wrap: break-word;
255
255
  white-space: pre-wrap;
256
256
  }
257
- .awsui_help-panel_1d237_usjt5_181 pre:not(#\9) {
257
+ .awsui_help-panel_1d237_w9ngm_181 pre:not(#\9) {
258
258
  font-size: var(--font-size-body-s-psgqn2, 12px);
259
259
  line-height: var(--line-height-body-s-otgtsr, 16px);
260
260
  letter-spacing: var(--letter-spacing-body-s-egrcsd, normal);
@@ -267,41 +267,41 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
267
267
  padding-block: var(--space-xxs-jnczic, 4px);
268
268
  padding-inline: var(--space-xxs-jnczic, 4px);
269
269
  }
270
- .awsui_help-panel_1d237_usjt5_181 dl:not(#\9) {
270
+ .awsui_help-panel_1d237_w9ngm_181 dl:not(#\9) {
271
271
  margin-block: var(--space-s-4a5hs8, 12px);
272
272
  margin-inline: 0;
273
273
  /* stylelint-disable-next-line selector-max-universal */
274
274
  }
275
- .awsui_help-panel_1d237_usjt5_181 dl *:not(#\9) {
275
+ .awsui_help-panel_1d237_w9ngm_181 dl *:not(#\9) {
276
276
  margin-block: 0;
277
277
  }
278
- .awsui_help-panel_1d237_usjt5_181 dt:not(#\9) {
278
+ .awsui_help-panel_1d237_w9ngm_181 dt:not(#\9) {
279
279
  margin-block-start: var(--space-xs-kw7k3v, 8px);
280
280
  font-weight: var(--font-weight-bold-p16d06, 700);
281
281
  }
282
- .awsui_help-panel_1d237_usjt5_181 dd:not(#\9) {
282
+ .awsui_help-panel_1d237_w9ngm_181 dd:not(#\9) {
283
283
  margin-block-start: 0;
284
284
  margin-block-end: var(--space-xs-kw7k3v, 8px);
285
285
  margin-inline: 0;
286
286
  }
287
- .awsui_help-panel_1d237_usjt5_181 h2:not(#\9),
288
- .awsui_help-panel_1d237_usjt5_181 h3:not(#\9),
289
- .awsui_help-panel_1d237_usjt5_181 h4:not(#\9),
290
- .awsui_help-panel_1d237_usjt5_181 h5:not(#\9),
291
- .awsui_help-panel_1d237_usjt5_181 h6:not(#\9) {
287
+ .awsui_help-panel_1d237_w9ngm_181 h2:not(#\9),
288
+ .awsui_help-panel_1d237_w9ngm_181 h3:not(#\9),
289
+ .awsui_help-panel_1d237_w9ngm_181 h4:not(#\9),
290
+ .awsui_help-panel_1d237_w9ngm_181 h5:not(#\9),
291
+ .awsui_help-panel_1d237_w9ngm_181 h6:not(#\9) {
292
292
  margin-block-start: var(--space-xl-4dmkh1, 24px);
293
293
  color: var(--color-text-heading-default-wlau07, #16191f);
294
294
  }
295
- .awsui_help-panel_1d237_usjt5_181 > :not(#\9):last-child {
295
+ .awsui_help-panel_1d237_w9ngm_181 > :not(#\9):last-child {
296
296
  margin-block-end: var(--space-panel-content-bottom-igtxf0, 40px);
297
297
  }
298
- .awsui_help-panel_1d237_usjt5_181 p:not(#\9) {
298
+ .awsui_help-panel_1d237_w9ngm_181 p:not(#\9) {
299
299
  color: inherit;
300
300
  text-decoration: none;
301
301
  margin-block: var(--space-s-4a5hs8, 12px);
302
302
  margin-inline: 0;
303
303
  }
304
- .awsui_help-panel_1d237_usjt5_181 h1:not(#\9) {
304
+ .awsui_help-panel_1d237_w9ngm_181 h1:not(#\9) {
305
305
  font-family: var(--font-family-heading-gnchto, "Noto Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
306
306
  font-size: var(--font-size-heading-xl-w5di2k, 28px);
307
307
  line-height: var(--line-height-heading-xl-vs1f23, 36px);
@@ -310,7 +310,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
310
310
  -webkit-font-smoothing: var(--font-smoothing-webkit-px4az4, auto);
311
311
  -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-ev3sgf, auto);
312
312
  }
313
- .awsui_help-panel_1d237_usjt5_181 h2:not(#\9) {
313
+ .awsui_help-panel_1d237_w9ngm_181 h2:not(#\9) {
314
314
  font-family: var(--font-family-heading-gnchto, "Noto Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
315
315
  font-size: var(--font-size-heading-l-qgg2za, 18px);
316
316
  line-height: var(--line-height-heading-l-vhgtnq, 22px);
@@ -319,7 +319,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
319
319
  -webkit-font-smoothing: var(--font-smoothing-webkit-px4az4, auto);
320
320
  -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-ev3sgf, auto);
321
321
  }
322
- .awsui_help-panel_1d237_usjt5_181 h3:not(#\9) {
322
+ .awsui_help-panel_1d237_w9ngm_181 h3:not(#\9) {
323
323
  font-family: var(--font-family-heading-gnchto, "Noto Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
324
324
  font-size: var(--font-size-heading-m-56jjln, 18px);
325
325
  line-height: var(--line-height-heading-m-irezqt, 22px);
@@ -328,7 +328,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
328
328
  -webkit-font-smoothing: var(--font-smoothing-webkit-px4az4, auto);
329
329
  -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-ev3sgf, auto);
330
330
  }
331
- .awsui_help-panel_1d237_usjt5_181 h4:not(#\9) {
331
+ .awsui_help-panel_1d237_w9ngm_181 h4:not(#\9) {
332
332
  font-family: var(--font-family-heading-gnchto, "Noto Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
333
333
  font-size: var(--font-size-heading-s-yde02v, 16px);
334
334
  line-height: var(--line-height-heading-s-j2axh8, 20px);
@@ -337,7 +337,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
337
337
  -webkit-font-smoothing: var(--font-smoothing-webkit-px4az4, auto);
338
338
  -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-ev3sgf, auto);
339
339
  }
340
- .awsui_help-panel_1d237_usjt5_181 h5:not(#\9) {
340
+ .awsui_help-panel_1d237_w9ngm_181 h5:not(#\9) {
341
341
  font-family: var(--font-family-heading-gnchto, "Noto Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
342
342
  font-size: var(--font-size-heading-xs-c20ika, 16px);
343
343
  line-height: var(--line-height-heading-xs-fuzanp, 20px);
@@ -346,17 +346,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
346
346
  -webkit-font-smoothing: var(--font-smoothing-webkit-px4az4, auto);
347
347
  -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-ev3sgf, auto);
348
348
  }
349
- .awsui_help-panel_1d237_usjt5_181 b:not(#\9),
350
- .awsui_help-panel_1d237_usjt5_181 strong:not(#\9) {
349
+ .awsui_help-panel_1d237_w9ngm_181 b:not(#\9),
350
+ .awsui_help-panel_1d237_w9ngm_181 strong:not(#\9) {
351
351
  font-weight: var(--font-weight-bold-p16d06, 700);
352
352
  }
353
353
 
354
- .awsui_loading_1d237_usjt5_354:not(#\9) {
354
+ .awsui_loading_1d237_w9ngm_354:not(#\9) {
355
355
  padding-inline-start: var(--space-panel-side-left-07kpj4, 32px);
356
356
  padding-inline-end: var(--space-panel-side-right-b77xx0, 32px);
357
357
  }
358
358
 
359
- .awsui_header_1d237_usjt5_359:not(#\9) {
359
+ .awsui_header_1d237_w9ngm_359:not(#\9) {
360
360
  font-size: var(--font-panel-header-size-i1j838, 18px);
361
361
  letter-spacing: var(--letter-spacing-heading-m-93y02s, normal);
362
362
  line-height: var(--font-panel-header-line-height-z3wpa5, 22px);
@@ -374,15 +374,15 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
374
374
  /* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
375
375
  /* stylelint-enable @cloudscape-design/no-implicit-descendant, selector-max-type */
376
376
  }
377
- .awsui_with-toolbar_1d237_usjt5_377 > .awsui_header_1d237_usjt5_359:not(#\9) {
377
+ .awsui_with-toolbar_1d237_w9ngm_377 > .awsui_header_1d237_w9ngm_359:not(#\9) {
378
378
  border-color: transparent;
379
379
  margin-block-end: 0px;
380
380
  }
381
- .awsui_header_1d237_usjt5_359 h2:not(#\9),
382
- .awsui_header_1d237_usjt5_359 h3:not(#\9),
383
- .awsui_header_1d237_usjt5_359 h4:not(#\9),
384
- .awsui_header_1d237_usjt5_359 h5:not(#\9),
385
- .awsui_header_1d237_usjt5_359 h6:not(#\9) {
381
+ .awsui_header_1d237_w9ngm_359 h2:not(#\9),
382
+ .awsui_header_1d237_w9ngm_359 h3:not(#\9),
383
+ .awsui_header_1d237_w9ngm_359 h4:not(#\9),
384
+ .awsui_header_1d237_w9ngm_359 h5:not(#\9),
385
+ .awsui_header_1d237_w9ngm_359 h6:not(#\9) {
386
386
  font-size: var(--font-panel-header-size-i1j838, 18px);
387
387
  letter-spacing: var(--letter-spacing-heading-m-93y02s, normal);
388
388
  line-height: var(--font-panel-header-line-height-z3wpa5, 22px);
@@ -393,22 +393,22 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
393
393
  margin-block: 0;
394
394
  }
395
395
 
396
- .awsui_content_1d237_usjt5_396:not(#\9) {
396
+ .awsui_content_1d237_w9ngm_396:not(#\9) {
397
397
  color: var(--color-text-body-secondary-gaft81, #545b64);
398
398
  padding-inline-start: var(--space-panel-side-left-07kpj4, 32px);
399
399
  padding-inline-end: var(--space-panel-side-right-b77xx0, 32px);
400
400
  /* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
401
401
  /* stylelint-enable @cloudscape-design/no-implicit-descendant, selector-max-type */
402
402
  }
403
- .awsui_content_1d237_usjt5_396 h2:not(#\9):first-child,
404
- .awsui_content_1d237_usjt5_396 h3:not(#\9):first-child,
405
- .awsui_content_1d237_usjt5_396 h4:not(#\9):first-child,
406
- .awsui_content_1d237_usjt5_396 h5:not(#\9):first-child,
407
- .awsui_content_1d237_usjt5_396 h6:not(#\9):first-child,
408
- .awsui_content_1d237_usjt5_396 p:not(#\9):first-child {
403
+ .awsui_content_1d237_w9ngm_396 h2:not(#\9):first-child,
404
+ .awsui_content_1d237_w9ngm_396 h3:not(#\9):first-child,
405
+ .awsui_content_1d237_w9ngm_396 h4:not(#\9):first-child,
406
+ .awsui_content_1d237_w9ngm_396 h5:not(#\9):first-child,
407
+ .awsui_content_1d237_w9ngm_396 h6:not(#\9):first-child,
408
+ .awsui_content_1d237_w9ngm_396 p:not(#\9):first-child {
409
409
  margin-block-start: 0;
410
410
  }
411
- .awsui_content_1d237_usjt5_396 a:not(#\9) {
411
+ .awsui_content_1d237_w9ngm_396 a:not(#\9) {
412
412
  text-underline-offset: 0.25em;
413
413
  text-decoration-thickness: var(--font-decoration-thickness-link-4tl2vi, 1px);
414
414
  text-decoration-style: var(--font-decoration-style-link-7y21z4, solid);
@@ -423,31 +423,31 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
423
423
  transition-duration: var(--motion-duration-refresh-only-medium-h3wrr6, 0ms);
424
424
  }
425
425
  @media (prefers-reduced-motion: reduce) {
426
- .awsui_content_1d237_usjt5_396 a:not(#\9) {
426
+ .awsui_content_1d237_w9ngm_396 a:not(#\9) {
427
427
  animation: none;
428
428
  transition: none;
429
429
  }
430
430
  }
431
- .awsui-motion-disabled .awsui_content_1d237_usjt5_396 a:not(#\9), .awsui-mode-entering .awsui_content_1d237_usjt5_396 a:not(#\9) {
431
+ .awsui-motion-disabled .awsui_content_1d237_w9ngm_396 a:not(#\9), .awsui-mode-entering .awsui_content_1d237_w9ngm_396 a:not(#\9) {
432
432
  animation: none;
433
433
  transition: none;
434
434
  }
435
- .awsui_content_1d237_usjt5_396 a:not(#\9):hover {
435
+ .awsui_content_1d237_w9ngm_396 a:not(#\9):hover {
436
436
  cursor: pointer;
437
437
  color: var(--awsui-style-color-hover-6b9ypa, var(--color-text-link-hover-pqxtsy, #0a4a74));
438
438
  }
439
- .awsui_content_1d237_usjt5_396 a:not(#\9):focus {
439
+ .awsui_content_1d237_w9ngm_396 a:not(#\9):focus {
440
440
  outline: none;
441
441
  }
442
- .awsui_content_1d237_usjt5_396 a:not(#\9):active {
442
+ .awsui_content_1d237_w9ngm_396 a:not(#\9):active {
443
443
  color: var(--awsui-style-color-active-6b9ypa, var(--color-text-link-hover-pqxtsy, #0a4a74));
444
444
  }
445
- .awsui_content_1d237_usjt5_396 a:not(#\9):active, .awsui_content_1d237_usjt5_396 a:not(#\9):focus, .awsui_content_1d237_usjt5_396 a:not(#\9):hover {
445
+ .awsui_content_1d237_w9ngm_396 a:not(#\9):active, .awsui_content_1d237_w9ngm_396 a:not(#\9):focus, .awsui_content_1d237_w9ngm_396 a:not(#\9):hover {
446
446
  text-decoration-line: underline;
447
447
  text-decoration-color: var(--color-text-link-decoration-hover-jnu2g9, currentColor);
448
448
  }
449
449
 
450
- .awsui_footer_1d237_usjt5_448:not(#\9) {
450
+ .awsui_footer_1d237_w9ngm_448:not(#\9) {
451
451
  color: var(--color-text-body-secondary-gaft81, #545b64);
452
452
  padding-block: 0;
453
453
  padding-inline-start: var(--space-panel-side-left-07kpj4, 32px);
@@ -455,16 +455,16 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
455
455
  /* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
456
456
  /* stylelint-enable @cloudscape-design/no-implicit-descendant, selector-max-type */
457
457
  }
458
- .awsui_footer_1d237_usjt5_448 ul:not(#\9) {
458
+ .awsui_footer_1d237_w9ngm_448 ul:not(#\9) {
459
459
  list-style: none;
460
460
  padding-inline-start: 0;
461
461
  }
462
- .awsui_footer_1d237_usjt5_448 a:not(#\9) {
462
+ .awsui_footer_1d237_w9ngm_448 a:not(#\9) {
463
463
  text-underline-offset: 0.25em;
464
464
  text-decoration-thickness: var(--font-decoration-thickness-link-4tl2vi, 1px);
465
465
  text-decoration-style: var(--font-decoration-style-link-7y21z4, solid);
466
466
  color: var(--awsui-style-color-default-6b9ypa, var(--color-text-link-secondary-default-6w6hsr, #0073bb));
467
- font-weight: inherit;
467
+ font-weight: var(--font-weight-link-secondary-clvuxr, inherit);
468
468
  letter-spacing: normal;
469
469
  text-decoration-line: none;
470
470
  text-decoration-color: transparent;
@@ -474,37 +474,37 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
474
474
  transition-duration: var(--motion-duration-refresh-only-medium-h3wrr6, 0ms);
475
475
  }
476
476
  @media (prefers-reduced-motion: reduce) {
477
- .awsui_footer_1d237_usjt5_448 a:not(#\9) {
477
+ .awsui_footer_1d237_w9ngm_448 a:not(#\9) {
478
478
  animation: none;
479
479
  transition: none;
480
480
  }
481
481
  }
482
- .awsui-motion-disabled .awsui_footer_1d237_usjt5_448 a:not(#\9), .awsui-mode-entering .awsui_footer_1d237_usjt5_448 a:not(#\9) {
482
+ .awsui-motion-disabled .awsui_footer_1d237_w9ngm_448 a:not(#\9), .awsui-mode-entering .awsui_footer_1d237_w9ngm_448 a:not(#\9) {
483
483
  animation: none;
484
484
  transition: none;
485
485
  }
486
- .awsui_footer_1d237_usjt5_448 a:not(#\9):hover {
486
+ .awsui_footer_1d237_w9ngm_448 a:not(#\9):hover {
487
487
  cursor: pointer;
488
488
  color: var(--awsui-style-color-hover-6b9ypa, var(--color-text-link-secondary-hover-c3snug, #0a4a74));
489
489
  }
490
- .awsui_footer_1d237_usjt5_448 a:not(#\9):focus {
490
+ .awsui_footer_1d237_w9ngm_448 a:not(#\9):focus {
491
491
  outline: none;
492
492
  }
493
- .awsui_footer_1d237_usjt5_448 a:not(#\9):active {
493
+ .awsui_footer_1d237_w9ngm_448 a:not(#\9):active {
494
494
  color: var(--awsui-style-color-active-6b9ypa, var(--color-text-link-secondary-hover-c3snug, #0a4a74));
495
495
  }
496
- .awsui_footer_1d237_usjt5_448 a:not(#\9):active, .awsui_footer_1d237_usjt5_448 a:not(#\9):focus, .awsui_footer_1d237_usjt5_448 a:not(#\9):hover {
496
+ .awsui_footer_1d237_w9ngm_448 a:not(#\9):active, .awsui_footer_1d237_w9ngm_448 a:not(#\9):focus, .awsui_footer_1d237_w9ngm_448 a:not(#\9):hover {
497
497
  text-decoration-line: underline;
498
- text-decoration-color: currentColor;
498
+ text-decoration-color: var(--color-text-link-decoration-hover-jnu2g9, currentColor);
499
499
  }
500
500
 
501
- .awsui_content_1d237_usjt5_396:not(#\9),
502
- .awsui_footer_1d237_usjt5_448:not(#\9) {
501
+ .awsui_content_1d237_w9ngm_396:not(#\9),
502
+ .awsui_footer_1d237_w9ngm_448:not(#\9) {
503
503
  /* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
504
504
  /* stylelint-enable @cloudscape-design/no-implicit-descendant, selector-max-type */
505
505
  }
506
- .awsui_content_1d237_usjt5_396 a:not(#\9):focus,
507
- .awsui_footer_1d237_usjt5_448 a:not(#\9):focus {
506
+ .awsui_content_1d237_w9ngm_396 a:not(#\9):focus,
507
+ .awsui_footer_1d237_w9ngm_448 a:not(#\9):focus {
508
508
  outline: thin dotted;
509
509
  outline: var(--border-link-focus-ring-outline-c5423y, 5px auto Highlight);
510
510
  outline-offset: 2px;
@@ -2,11 +2,11 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "help-panel": "awsui_help-panel_1d237_usjt5_181",
6
- "loading": "awsui_loading_1d237_usjt5_354",
7
- "header": "awsui_header_1d237_usjt5_359",
8
- "with-toolbar": "awsui_with-toolbar_1d237_usjt5_377",
9
- "content": "awsui_content_1d237_usjt5_396",
10
- "footer": "awsui_footer_1d237_usjt5_448"
5
+ "help-panel": "awsui_help-panel_1d237_w9ngm_181",
6
+ "loading": "awsui_loading_1d237_w9ngm_354",
7
+ "header": "awsui_header_1d237_w9ngm_359",
8
+ "with-toolbar": "awsui_with-toolbar_1d237_w9ngm_377",
9
+ "content": "awsui_content_1d237_w9ngm_396",
10
+ "footer": "awsui_footer_1d237_w9ngm_448"
11
11
  };
12
12
 
@@ -96,6 +96,7 @@ declare const icons: {
96
96
  share: JSX.Element;
97
97
  shrink: JSX.Element;
98
98
  "side-bar": JSX.Element;
99
+ "sign-out": JSX.Element;
99
100
  "slash-divider": JSX.Element;
100
101
  slash: JSX.Element;
101
102
  "star-filled": JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../src/icon/generated/icons.tsx"],"names":[],"mappings":"AACE,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8IV,CAAC;AACF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../src/icon/generated/icons.tsx"],"names":[],"mappings":"AACE,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+IV,CAAC;AACF,eAAe,KAAK,CAAC"}