@cloudscape-design/components 3.0.658 → 3.0.659

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.
@@ -20,6 +20,6 @@ interface StatusBarProps {
20
20
  onPreferencesOpen: () => void;
21
21
  onHeightChange?: (height: number | null) => void;
22
22
  }
23
- export declare const StatusBar: ({ errorsTabRef, warningsTabRef, ...restProps }: StatusBarProps) => JSX.Element;
23
+ export declare function StatusBar({ languageLabel, cursorPosition, paneStatus, onErrorPaneToggle, onWarningPaneToggle, onTabFocus, onTabBlur, errorsTabRef, warningsTabRef, isTabFocused, paneId, onPreferencesOpen, i18nStrings, errorCount, warningCount, isRefresh, }: StatusBarProps): JSX.Element;
24
24
  export {};
25
25
  //# sourceMappingURL=status-bar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"status-bar.d.ts","sourceRoot":"","sources":["../../../src/code-editor/status-bar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAG/C,OAAO,EAAqB,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEvD,UAAU,cAAc;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,UAAU,CAAC;IACvB,YAAY,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IAEnB,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAClD,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAEpD,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC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,CAAC,iBAAiB,CAAC,CAAC;IACvD,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAClD;AAED,wBAAgB,SAAS,CAAC,EACxB,aAAa,EACb,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,UAAU,EACV,SAAS,EACT,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,MAAM,EACN,iBAAiB,EACjB,WAAW,EACX,UAAU,EACV,YAAY,EACZ,SAAS,GACV,EAAE,cAAc,eAgFhB"}
@@ -1,4 +1,3 @@
1
- import { __rest } from "tslib";
2
1
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
2
  // SPDX-License-Identifier: Apache-2.0
4
3
  import React from 'react';
@@ -8,28 +7,23 @@ import LiveRegion from '../internal/components/live-region/index';
8
7
  import { TabButton } from './tab-button';
9
8
  import { InternalButton } from '../button/internal';
10
9
  import { useInternalI18n } from '../i18n/context.js';
11
- import { useContainerQuery } from '@cloudscape-design/component-toolkit';
12
10
  import { getStatusButtonId } from './util';
13
- function InternalStatusBar({ languageLabel, cursorPosition, paneStatus, onErrorPaneToggle, onWarningPaneToggle, onTabFocus, onTabBlur, errorsTabRef, warningsTabRef, isTabFocused, paneId, onPreferencesOpen, i18nStrings, errorCount, warningCount, leftBarRef, isVirtual, minifyCounters, isRefresh, }) {
11
+ export function StatusBar({ languageLabel, cursorPosition, paneStatus, onErrorPaneToggle, onWarningPaneToggle, onTabFocus, onTabBlur, errorsTabRef, warningsTabRef, isTabFocused, paneId, onPreferencesOpen, i18nStrings, errorCount, warningCount, isRefresh, }) {
14
12
  const i18n = useInternalI18n('code-editor');
15
13
  const errorText = `${i18n('i18nStrings.errorsTab', i18nStrings === null || i18nStrings === void 0 ? void 0 : i18nStrings.errorsTab)}: ${errorCount}`;
16
14
  const warningText = `${i18n('i18nStrings.warningsTab', i18nStrings === null || i18nStrings === void 0 ? void 0 : i18nStrings.warningsTab)}: ${warningCount}`;
17
- const errorButtonId = !isVirtual ? getStatusButtonId({ paneId, paneStatus: 'error' }) : undefined;
18
- const warningButtonId = !isVirtual ? getStatusButtonId({ paneId, paneStatus: 'warning' }) : undefined;
19
- // Virtual status bar is inaccessible for screen readers and keyboard interactions.
15
+ const errorButtonId = getStatusButtonId({ paneId, paneStatus: 'error' });
16
+ const warningButtonId = getStatusButtonId({ paneId, paneStatus: 'warning' });
20
17
  return (React.createElement("div", { className: clsx(styles['status-bar'], {
21
18
  [styles['status-bar-with-hidden-pane']]: paneStatus === 'hidden',
22
- [styles['status-bar-virtual']]: isVirtual,
23
- }), "aria-hidden": isVirtual },
24
- React.createElement("div", { className: clsx(styles['status-bar__left'], {
25
- [styles['status-bar__left-virtual']]: isVirtual,
26
- }), ref: leftBarRef },
19
+ }) },
20
+ React.createElement("div", { className: clsx(styles['status-bar__left']) },
27
21
  React.createElement("span", { className: styles['status-bar__language-mode'] }, languageLabel),
28
22
  React.createElement("span", { className: styles['status-bar__cursor-position'] }, cursorPosition),
29
- React.createElement("div", { role: "tablist" },
30
- React.createElement(TabButton, { id: errorButtonId, text: minifyCounters ? ` ${errorCount}` : errorText, className: styles['tab-button--errors'], iconName: "status-negative", disabled: errorCount === 0 || isVirtual, active: paneStatus === 'error', onClick: onErrorPaneToggle, onFocus: onTabFocus, onBlur: onTabBlur, ref: errorsTabRef, ariaLabel: errorText, paneId: paneId, isRefresh: isRefresh }),
23
+ React.createElement("div", { className: styles['tab-list'], role: "tablist" },
24
+ React.createElement(TabButton, { id: errorButtonId, count: errorCount, text: errorText, className: styles['tab-button--errors'], iconName: "status-negative", disabled: errorCount === 0, active: paneStatus === 'error', onClick: onErrorPaneToggle, onFocus: onTabFocus, onBlur: onTabBlur, ref: errorsTabRef, ariaLabel: errorText, paneId: paneId, isRefresh: isRefresh }),
31
25
  React.createElement("span", { className: styles['tab-button--divider'] }),
32
- React.createElement(TabButton, { id: warningButtonId, text: minifyCounters ? ` ${warningCount}` : warningText, className: styles['tab-button--warnings'], iconName: "status-warning", disabled: warningCount === 0 || isVirtual, active: paneStatus === 'warning', onClick: onWarningPaneToggle, onFocus: onTabFocus, onBlur: onTabBlur, ref: warningsTabRef, tabIndex: paneStatus === 'error' && isTabFocused ? -1 : undefined, ariaHidden: paneStatus === 'error' && isTabFocused ? true : undefined, ariaLabel: warningText, paneId: paneId, isRefresh: isRefresh })),
26
+ React.createElement(TabButton, { id: warningButtonId, count: warningCount, text: warningText, className: styles['tab-button--warnings'], iconName: "status-warning", disabled: warningCount === 0, active: paneStatus === 'warning', onClick: onWarningPaneToggle, onFocus: onTabFocus, onBlur: onTabBlur, ref: warningsTabRef, tabIndex: paneStatus === 'error' && isTabFocused ? -1 : undefined, ariaHidden: paneStatus === 'error' && isTabFocused ? true : undefined, ariaLabel: warningText, paneId: paneId, isRefresh: isRefresh })),
33
27
  React.createElement(LiveRegion, { assertive: true },
34
28
  React.createElement("span", null,
35
29
  errorText,
@@ -37,20 +31,9 @@ function InternalStatusBar({ languageLabel, cursorPosition, paneStatus, onErrorP
37
31
  React.createElement("span", null, warningText))),
38
32
  React.createElement("div", { className: styles['status-bar__right'] },
39
33
  React.createElement("div", { className: styles['status-bar__cog-button'] },
40
- React.createElement(InternalButton, { disabled: isVirtual, formAction: "none", variant: "icon", iconName: "settings", iconAlt: "Settings", ariaLabel: i18n('i18nStrings.preferencesButtonAriaLabel', i18nStrings === null || i18nStrings === void 0 ? void 0 : i18nStrings.preferencesButtonAriaLabel), onClick: onPreferencesOpen, __nativeAttributes: {
34
+ React.createElement(InternalButton, { formAction: "none", variant: "icon", iconName: "settings", iconAlt: "Settings", ariaLabel: i18n('i18nStrings.preferencesButtonAriaLabel', i18nStrings === null || i18nStrings === void 0 ? void 0 : i18nStrings.preferencesButtonAriaLabel), onClick: onPreferencesOpen, __nativeAttributes: {
41
35
  tabIndex: paneStatus !== 'hidden' && isTabFocused ? -1 : undefined,
42
36
  'aria-hidden': paneStatus !== 'hidden' && isTabFocused ? true : undefined,
43
37
  } })))));
44
38
  }
45
- export const StatusBar = (_a) => {
46
- var { errorsTabRef, warningsTabRef } = _a, restProps = __rest(_a, ["errorsTabRef", "warningsTabRef"]);
47
- // create a virtual status bar, in order to calculate the width with full tab button text
48
- // and decide if tab button text needs to be reduced
49
- const [realWidth, statusLeftBarRef] = useContainerQuery(rect => rect.contentBoxWidth);
50
- const [virtualWidth, virtualStatusLeftBarRef] = useContainerQuery(rect => rect.contentBoxWidth);
51
- const minifyCounters = virtualWidth !== null && realWidth !== null && virtualWidth > realWidth;
52
- return (React.createElement(React.Fragment, null,
53
- React.createElement(InternalStatusBar, Object.assign({}, restProps, { isVirtual: false, leftBarRef: statusLeftBarRef, errorsTabRef: errorsTabRef, warningsTabRef: warningsTabRef, minifyCounters: minifyCounters })),
54
- React.createElement(InternalStatusBar, Object.assign({}, restProps, { isVirtual: true, leftBarRef: virtualStatusLeftBarRef, minifyCounters: false }))));
55
- };
56
39
  //# sourceMappingURL=status-bar.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"status-bar.js","sourceRoot":"","sources":["../../../src/code-editor/status-bar.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,UAAU,MAAM,0CAA0C,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAc,MAAM,QAAQ,CAAC;AA8BvD,SAAS,iBAAiB,CAAC,EACzB,aAAa,EACb,cAAc,E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EAAE,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;IAEhG,MAAM,cAAc,GAAG,YAAY,KAAK,IAAI,IAAI,SAAS,KAAK,IAAI,IAAI,YAAY,GAAG,SAAS,CAAC;IAE/F,OAAO,CACL;QACE,oBAAC,iBAAiB,oBACZ,SAAS,IACb,SAAS,EAAE,KAAK,EAChB,UAAU,EAAE,gBAAgB,EAC5B,YAAY,EAAE,YAAY,EAC1B,cAAc,EAAE,cAAc,EAC9B,cAAc,EAAE,cAAc,IAC9B;QACF,oBAAC,iBAAiB,oBAAK,SAAS,IAAE,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE,uBAAuB,EAAE,cAAc,EAAE,KAAK,IAAI,CAChH,CACJ,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\nimport styles from './styles.css.js';\nimport LiveRegion from '../internal/components/live-region/index';\nimport { TabButton } from './tab-button';\nimport { InternalButton } from '../button/internal';\nimport { CodeEditorProps } from './interfaces';\nimport { useInternalI18n } from '../i18n/context.js';\nimport { useContainerQuery } from '@cloudscape-design/component-toolkit';\nimport { getStatusButtonId, PaneStatus } from './util';\n\ninterface StatusBarProps {\n languageLabel: string;\n cursorPosition?: string;\n paneStatus: PaneStatus;\n isTabFocused: boolean;\n paneId?: string;\n i18nStrings?: CodeEditorProps.I18nStrings;\n errorCount: number;\n warningCount: number;\n isRefresh: boolean;\n\n errorsTabRef?: React.RefObject<HTMLButtonElement>;\n warningsTabRef?: React.RefObject<HTMLButtonElement>;\n\n onErrorPaneToggle: () => void;\n onWarningPaneToggle: () => void;\n onTabFocus?: React.FocusEventHandler<HTMLButtonElement>;\n onTabBlur?: React.FocusEventHandler<HTMLButtonElement>;\n onPreferencesOpen: () => void;\n onHeightChange?: (height: number | null) => void;\n}\n\ntype InternalStatusBarProps = StatusBarProps & {\n leftBarRef: React.Ref<HTMLDivElement>;\n isVirtual: boolean;\n minifyCounters: boolean;\n};\n\nfunction InternalStatusBar({\n languageLabel,\n cursorPosition,\n paneStatus,\n onErrorPaneToggle,\n onWarningPaneToggle,\n onTabFocus,\n onTabBlur,\n errorsTabRef,\n warningsTabRef,\n isTabFocused,\n paneId,\n onPreferencesOpen,\n i18nStrings,\n errorCount,\n warningCount,\n leftBarRef,\n isVirtual,\n minifyCounters,\n isRefresh,\n}: InternalStatusBarProps) {\n const i18n = useInternalI18n('code-editor');\n const errorText = `${i18n('i18nStrings.errorsTab', i18nStrings?.errorsTab)}: ${errorCount}`;\n const warningText = `${i18n('i18nStrings.warningsTab', i18nStrings?.warningsTab)}: ${warningCount}`;\n const errorButtonId = !isVirtual ? getStatusButtonId({ paneId, paneStatus: 'error' }) : undefined;\n const warningButtonId = !isVirtual ? getStatusButtonId({ paneId, paneStatus: 'warning' }) : undefined;\n\n // Virtual status bar is inaccessible for screen readers and keyboard interactions.\n\n return (\n <div\n className={clsx(styles['status-bar'], {\n [styles['status-bar-with-hidden-pane']]: paneStatus === 'hidden',\n [styles['status-bar-virtual']]: isVirtual,\n })}\n aria-hidden={isVirtual}\n >\n <div\n className={clsx(styles['status-bar__left'], {\n [styles['status-bar__left-virtual']]: isVirtual,\n })}\n ref={leftBarRef}\n >\n <span className={styles['status-bar__language-mode']}>{languageLabel}</span>\n <span className={styles['status-bar__cursor-position']}>{cursorPosition}</span>\n\n <div role=\"tablist\">\n <TabButton\n id={errorButtonId}\n text={minifyCounters ? ` ${errorCount}` : errorText}\n className={styles['tab-button--errors']}\n iconName=\"status-negative\"\n disabled={errorCount === 0 || isVirtual}\n active={paneStatus === 'error'}\n onClick={onErrorPaneToggle}\n onFocus={onTabFocus}\n onBlur={onTabBlur}\n ref={errorsTabRef}\n ariaLabel={errorText}\n paneId={paneId}\n isRefresh={isRefresh}\n />\n <span className={styles['tab-button--divider']}></span>\n <TabButton\n id={warningButtonId}\n text={minifyCounters ? ` ${warningCount}` : warningText}\n className={styles['tab-button--warnings']}\n iconName=\"status-warning\"\n disabled={warningCount === 0 || isVirtual}\n active={paneStatus === 'warning'}\n onClick={onWarningPaneToggle}\n onFocus={onTabFocus}\n onBlur={onTabBlur}\n ref={warningsTabRef}\n tabIndex={paneStatus === 'error' && isTabFocused ? -1 : undefined}\n ariaHidden={paneStatus === 'error' && isTabFocused ? true : undefined}\n ariaLabel={warningText}\n paneId={paneId}\n isRefresh={isRefresh}\n />\n </div>\n <LiveRegion assertive={true}>\n <span>{errorText} </span>\n <span>{warningText}</span>\n </LiveRegion>\n </div>\n\n <div className={styles['status-bar__right']}>\n <div className={styles['status-bar__cog-button']}>\n <InternalButton\n disabled={isVirtual}\n formAction=\"none\"\n variant=\"icon\"\n iconName=\"settings\"\n iconAlt=\"Settings\"\n ariaLabel={i18n('i18nStrings.preferencesButtonAriaLabel', i18nStrings?.preferencesButtonAriaLabel)}\n onClick={onPreferencesOpen}\n __nativeAttributes={{\n tabIndex: paneStatus !== 'hidden' && isTabFocused ? -1 : undefined,\n 'aria-hidden': paneStatus !== 'hidden' && isTabFocused ? true : undefined,\n }}\n />\n </div>\n </div>\n </div>\n );\n}\n\nexport const StatusBar = ({ errorsTabRef, warningsTabRef, ...restProps }: StatusBarProps) => {\n // create a virtual status bar, in order to calculate the width with full tab button text\n // and decide if tab button text needs to be reduced\n const [realWidth, statusLeftBarRef] = useContainerQuery(rect => rect.contentBoxWidth);\n const [virtualWidth, virtualStatusLeftBarRef] = useContainerQuery(rect => rect.contentBoxWidth);\n\n const minifyCounters = virtualWidth !== null && realWidth !== null && virtualWidth > realWidth;\n\n return (\n <>\n <InternalStatusBar\n {...restProps}\n isVirtual={false}\n leftBarRef={statusLeftBarRef}\n errorsTabRef={errorsTabRef}\n warningsTabRef={warningsTabRef}\n minifyCounters={minifyCounters}\n />\n <InternalStatusBar {...restProps} isVirtual={true} leftBarRef={virtualStatusLeftBarRef} minifyCounters={false} />\n </>\n );\n};\n"]}
1
+ {"version":3,"file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K,OAAO,IAAI,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,EACjE,UAAU,EAAE,UAAU,KAAK,OAAO,IAAI,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EACrE,SAAS,EAAE,WAAW,EACtB,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,SAAS,GACpB,CACE;YACN,oBAAC,UAAU,IAAC,SAAS,EAAE,IAAI;gBACzB;oBAAO,SAAS;wBAAS;gBACzB,kCAAO,WAAW,CAAQ,CACf,CACT;QAEN,6BAAK,SAAS,EAAE,MAAM,CAAC,mBAAmB,CAAC;YACzC,6BAAK,SAAS,EAAE,MAAM,CAAC,wBAAwB,CAAC;gBAC9C,oBAAC,cAAc,IACb,UAAU,EAAC,MAAM,EACjB,OAAO,EAAC,MAAM,EACd,QAAQ,EAAC,UAAU,EACnB,OAAO,EAAC,UAAU,EAClB,SAAS,EAAE,IAAI,CAAC,wCAAwC,EAAE,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,0BAA0B,CAAC,EAClG,OAAO,EAAE,iBAAiB,EAC1B,kBAAkB,EAAE;wBAClB,QAAQ,EAAE,UAAU,KAAK,QAAQ,IAAI,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;wBAClE,aAAa,EAAE,UAAU,KAAK,QAAQ,IAAI,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS;qBAC1E,GACD,CACE,CACF,CACF,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\nimport styles from './styles.css.js';\nimport LiveRegion from '../internal/components/live-region/index';\nimport { TabButton } from './tab-button';\nimport { InternalButton } from '../button/internal';\nimport { CodeEditorProps } from './interfaces';\nimport { useInternalI18n } from '../i18n/context.js';\nimport { getStatusButtonId, PaneStatus } from './util';\n\ninterface StatusBarProps {\n languageLabel: string;\n cursorPosition?: string;\n paneStatus: PaneStatus;\n isTabFocused: boolean;\n paneId?: string;\n i18nStrings?: CodeEditorProps.I18nStrings;\n errorCount: number;\n warningCount: number;\n isRefresh: boolean;\n\n errorsTabRef?: React.RefObject<HTMLButtonElement>;\n warningsTabRef?: React.RefObject<HTMLButtonElement>;\n\n onErrorPaneToggle: () => void;\n onWarningPaneToggle: () => void;\n onTabFocus?: React.FocusEventHandler<HTMLButtonElement>;\n onTabBlur?: React.FocusEventHandler<HTMLButtonElement>;\n onPreferencesOpen: () => void;\n onHeightChange?: (height: number | null) => void;\n}\n\nexport function StatusBar({\n languageLabel,\n cursorPosition,\n paneStatus,\n onErrorPaneToggle,\n onWarningPaneToggle,\n onTabFocus,\n onTabBlur,\n errorsTabRef,\n warningsTabRef,\n isTabFocused,\n paneId,\n onPreferencesOpen,\n i18nStrings,\n errorCount,\n warningCount,\n isRefresh,\n}: StatusBarProps) {\n const i18n = useInternalI18n('code-editor');\n const errorText = `${i18n('i18nStrings.errorsTab', i18nStrings?.errorsTab)}: ${errorCount}`;\n const warningText = `${i18n('i18nStrings.warningsTab', i18nStrings?.warningsTab)}: ${warningCount}`;\n const errorButtonId = getStatusButtonId({ paneId, paneStatus: 'error' });\n const warningButtonId = getStatusButtonId({ paneId, paneStatus: 'warning' });\n\n return (\n <div\n className={clsx(styles['status-bar'], {\n [styles['status-bar-with-hidden-pane']]: paneStatus === 'hidden',\n })}\n >\n <div className={clsx(styles['status-bar__left'])}>\n <span className={styles['status-bar__language-mode']}>{languageLabel}</span>\n <span className={styles['status-bar__cursor-position']}>{cursorPosition}</span>\n\n <div className={styles['tab-list']} role=\"tablist\">\n <TabButton\n id={errorButtonId}\n count={errorCount}\n text={errorText}\n className={styles['tab-button--errors']}\n iconName=\"status-negative\"\n disabled={errorCount === 0}\n active={paneStatus === 'error'}\n onClick={onErrorPaneToggle}\n onFocus={onTabFocus}\n onBlur={onTabBlur}\n ref={errorsTabRef}\n ariaLabel={errorText}\n paneId={paneId}\n isRefresh={isRefresh}\n />\n\n <span className={styles['tab-button--divider']}></span>\n\n <TabButton\n id={warningButtonId}\n count={warningCount}\n text={warningText}\n className={styles['tab-button--warnings']}\n iconName=\"status-warning\"\n disabled={warningCount === 0}\n active={paneStatus === 'warning'}\n onClick={onWarningPaneToggle}\n onFocus={onTabFocus}\n onBlur={onTabBlur}\n ref={warningsTabRef}\n tabIndex={paneStatus === 'error' && isTabFocused ? -1 : undefined}\n ariaHidden={paneStatus === 'error' && isTabFocused ? true : undefined}\n ariaLabel={warningText}\n paneId={paneId}\n isRefresh={isRefresh}\n />\n </div>\n <LiveRegion assertive={true}>\n <span>{errorText} </span>\n <span>{warningText}</span>\n </LiveRegion>\n </div>\n\n <div className={styles['status-bar__right']}>\n <div className={styles['status-bar__cog-button']}>\n <InternalButton\n formAction=\"none\"\n variant=\"icon\"\n iconName=\"settings\"\n iconAlt=\"Settings\"\n ariaLabel={i18n('i18nStrings.preferencesButtonAriaLabel', i18nStrings?.preferencesButtonAriaLabel)}\n onClick={onPreferencesOpen}\n __nativeAttributes={{\n tabIndex: paneStatus !== 'hidden' && isTabFocused ? -1 : undefined,\n 'aria-hidden': paneStatus !== 'hidden' && isTabFocused ? true : undefined,\n }}\n />\n </div>\n </div>\n </div>\n );\n}\n"]}
@@ -1,37 +1,38 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "code-editor-refresh": "awsui_code-editor-refresh_1gl9c_1f76o_102",
5
- "code-editor": "awsui_code-editor_1gl9c_1f76o_102",
6
- "pane": "awsui_pane_1gl9c_1f76o_432",
7
- "pane__close-container": "awsui_pane__close-container_1gl9c_1f76o_443",
8
- "pane__list": "awsui_pane__list_1gl9c_1f76o_448",
9
- "pane__table": "awsui_pane__table_1gl9c_1f76o_455",
10
- "pane__item": "awsui_pane__item_1gl9c_1f76o_461",
11
- "pane__cell": "awsui_pane__cell_1gl9c_1f76o_461",
12
- "pane__item--highlighted": "awsui_pane__item--highlighted_1gl9c_1f76o_475",
13
- "pane__location": "awsui_pane__location_1gl9c_1f76o_496",
14
- "pane__description": "awsui_pane__description_1gl9c_1f76o_496",
15
- "focus-lock": "awsui_focus-lock_1gl9c_1f76o_511",
16
- "editor": "awsui_editor_1gl9c_1f76o_562",
17
- "editor-refresh": "awsui_editor-refresh_1gl9c_1f76o_590",
18
- "status-bar": "awsui_status-bar_1gl9c_1f76o_595",
19
- "status-bar-with-hidden-pane": "awsui_status-bar-with-hidden-pane_1gl9c_1f76o_603",
20
- "status-bar__left": "awsui_status-bar__left_1gl9c_1f76o_607",
21
- "status-bar__left-virtual": "awsui_status-bar__left-virtual_1gl9c_1f76o_614",
22
- "status-bar__right": "awsui_status-bar__right_1gl9c_1f76o_618",
23
- "status-bar__language-mode": "awsui_status-bar__language-mode_1gl9c_1f76o_622",
24
- "status-bar__cursor-position": "awsui_status-bar__cursor-position_1gl9c_1f76o_622",
25
- "status-bar__cog-button": "awsui_status-bar__cog-button_1gl9c_1f76o_628",
26
- "status-bar-virtual": "awsui_status-bar-virtual_1gl9c_1f76o_633",
27
- "tab-button": "awsui_tab-button_1gl9c_1f76o_639",
28
- "tab-button--refresh": "awsui_tab-button--refresh_1gl9c_1f76o_671",
29
- "tab-button--warnings": "awsui_tab-button--warnings_1gl9c_1f76o_674",
30
- "tab-button--active": "awsui_tab-button--active_1gl9c_1f76o_683",
31
- "tab-button--disabled": "awsui_tab-button--disabled_1gl9c_1f76o_699",
32
- "tab-button--divider": "awsui_tab-button--divider_1gl9c_1f76o_732",
33
- "tab-button--errors": "awsui_tab-button--errors_1gl9c_1f76o_739",
34
- "loading-screen": "awsui_loading-screen_1gl9c_1f76o_743",
35
- "error-screen": "awsui_error-screen_1gl9c_1f76o_744"
4
+ "code-editor-refresh": "awsui_code-editor-refresh_1gl9c_1l3ke_102",
5
+ "code-editor": "awsui_code-editor_1gl9c_1l3ke_102",
6
+ "pane": "awsui_pane_1gl9c_1l3ke_432",
7
+ "pane__close-container": "awsui_pane__close-container_1gl9c_1l3ke_443",
8
+ "pane__list": "awsui_pane__list_1gl9c_1l3ke_448",
9
+ "pane__table": "awsui_pane__table_1gl9c_1l3ke_455",
10
+ "pane__item": "awsui_pane__item_1gl9c_1l3ke_461",
11
+ "pane__cell": "awsui_pane__cell_1gl9c_1l3ke_461",
12
+ "pane__item--highlighted": "awsui_pane__item--highlighted_1gl9c_1l3ke_475",
13
+ "pane__location": "awsui_pane__location_1gl9c_1l3ke_496",
14
+ "pane__description": "awsui_pane__description_1gl9c_1l3ke_496",
15
+ "focus-lock": "awsui_focus-lock_1gl9c_1l3ke_511",
16
+ "editor": "awsui_editor_1gl9c_1l3ke_562",
17
+ "editor-refresh": "awsui_editor-refresh_1gl9c_1l3ke_590",
18
+ "status-bar": "awsui_status-bar_1gl9c_1l3ke_595",
19
+ "status-bar-with-hidden-pane": "awsui_status-bar-with-hidden-pane_1gl9c_1l3ke_604",
20
+ "status-bar__left": "awsui_status-bar__left_1gl9c_1l3ke_608",
21
+ "status-bar__right": "awsui_status-bar__right_1gl9c_1l3ke_615",
22
+ "status-bar__language-mode": "awsui_status-bar__language-mode_1gl9c_1l3ke_619",
23
+ "status-bar__cursor-position": "awsui_status-bar__cursor-position_1gl9c_1l3ke_619",
24
+ "status-bar__cog-button": "awsui_status-bar__cog-button_1gl9c_1l3ke_625",
25
+ "tab-list": "awsui_tab-list_1gl9c_1l3ke_630",
26
+ "tab-button": "awsui_tab-button_1gl9c_1l3ke_635",
27
+ "tab-button--refresh": "awsui_tab-button--refresh_1gl9c_1l3ke_668",
28
+ "tab-button--warnings": "awsui_tab-button--warnings_1gl9c_1l3ke_671",
29
+ "tab-button--active": "awsui_tab-button--active_1gl9c_1l3ke_680",
30
+ "tab-button--disabled": "awsui_tab-button--disabled_1gl9c_1l3ke_696",
31
+ "tab-button--divider": "awsui_tab-button--divider_1gl9c_1l3ke_729",
32
+ "tab-button--errors": "awsui_tab-button--errors_1gl9c_1l3ke_736",
33
+ "count": "awsui_count_1gl9c_1l3ke_745",
34
+ "text": "awsui_text_1gl9c_1l3ke_748",
35
+ "loading-screen": "awsui_loading-screen_1gl9c_1l3ke_762",
36
+ "error-screen": "awsui_error-screen_1gl9c_1l3ke_763"
36
37
  };
37
38
 
@@ -99,59 +99,59 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
99
99
  SPDX-License-Identifier: Apache-2.0
100
100
  */
101
101
  /* stylelint-disable selector-combinator-disallowed-list, @cloudscape-design/no-implicit-descendant */
102
- .awsui_code-editor-refresh_1gl9c_1f76o_102 .ace_editor .ace_gutter:not(#\9) {
102
+ .awsui_code-editor-refresh_1gl9c_1l3ke_102 .ace_editor .ace_gutter:not(#\9) {
103
103
  border-start-start-radius: calc(var(--border-radius-code-editor-qvw11o, 8px) - var(--border-item-width-yel47s, 2px));
104
104
  }
105
- .awsui_code-editor-refresh_1gl9c_1f76o_102 .ace_editor .ace_scroller:not(#\9) {
105
+ .awsui_code-editor-refresh_1gl9c_1l3ke_102 .ace_editor .ace_scroller:not(#\9) {
106
106
  border-start-end-radius: calc(var(--border-radius-code-editor-qvw11o, 8px) - var(--border-item-width-yel47s, 2px));
107
107
  }
108
108
 
109
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor:not(#\9) {
109
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor:not(#\9) {
110
110
  font-family: Monaco, Menlo, Consolas, "Courier Prime", Courier, "Courier New", monospace;
111
111
  font-size: 14px;
112
112
  line-height: 20px;
113
113
  }
114
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-cell.ace_error:not(#\9),
115
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-cell.ace_warning:not(#\9) {
114
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-cell.ace_error:not(#\9),
115
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-cell.ace_warning:not(#\9) {
116
116
  cursor: pointer;
117
117
  background-repeat: no-repeat;
118
118
  background-size: 16px 16px;
119
119
  background-position: 4px 2px;
120
120
  }
121
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-cell.ace_info:not(#\9) {
121
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-cell.ace_info:not(#\9) {
122
122
  background-image: none;
123
123
  }
124
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-cell.ace_error:not(#\9) {
124
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-cell.ace_error:not(#\9) {
125
125
  color: var(--color-text-status-error-wdvepn, #d91515);
126
126
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23d91515' fill-opacity='0' stroke-width='2' stroke-linejoin='round'%3E %3Ccircle cx='8' cy='8' r='7'/%3E %3Cpath d='M10.828 5.172l-5.656 5.656M10.828 10.828L5.172 5.172'/%3E %3C/svg%3E");
127
127
  }
128
128
  @supports (--css-variable-support-check: #000) {
129
129
  @media not print {
130
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-cell.ace_error:not(#\9) {
130
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-cell.ace_error:not(#\9) {
131
131
  /* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
132
132
  }
133
- .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-cell.ace_error:not(#\9), .awsui-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-cell.ace_error:not(#\9) {
133
+ .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-cell.ace_error:not(#\9), .awsui-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-cell.ace_error:not(#\9) {
134
134
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23eb6f6f' fill-opacity='0' stroke-width='2' stroke-linejoin='round'%3E %3Ccircle cx='8' cy='8' r='7'/%3E %3Cpath d='M10.828 5.172l-5.656 5.656M10.828 10.828L5.172 5.172'/%3E %3C/svg%3E");
135
135
  }
136
136
  }
137
137
  }
138
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-cell.ace_warning:not(#\9) {
138
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-cell.ace_warning:not(#\9) {
139
139
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%238d6605' fill-opacity='0' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M8 1l7 14H1L8 1z'/%3E %3Cpath d='M7.99 12H8v.01h-.01zM8 6v4'/%3E %3C/svg%3E");
140
140
  }
141
141
  @supports (--css-variable-support-check: #000) {
142
142
  @media not print {
143
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-cell.ace_warning:not(#\9) {
143
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-cell.ace_warning:not(#\9) {
144
144
  /* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
145
145
  }
146
- .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-cell.ace_warning:not(#\9), .awsui-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-cell.ace_warning:not(#\9) {
146
+ .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-cell.ace_warning:not(#\9), .awsui-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-cell.ace_warning:not(#\9) {
147
147
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23e0ca57' fill-opacity='0' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M8 1l7 14H1L8 1z'/%3E %3Cpath d='M7.99 12H8v.01h-.01zM8 6v4'/%3E %3C/svg%3E");
148
148
  }
149
149
  }
150
150
  }
151
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-cell:not(#\9) {
151
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-cell:not(#\9) {
152
152
  padding-inline: 24px 16px;
153
153
  }
154
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_fold-widget:not(#\9) {
154
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_fold-widget:not(#\9) {
155
155
  /* A good test case for disabled folds
156
156
  <<html<<<<
157
157
  </html>
@@ -162,24 +162,24 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
162
162
  border-block: none;
163
163
  border-inline: none;
164
164
  }
165
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter_annotation:not(#\9) {
165
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter_annotation:not(#\9) {
166
166
  margin-inline-start: -21px;
167
167
  }
168
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_fold-widget:not(#\9),
169
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter_annotation:not(#\9) {
168
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_fold-widget:not(#\9),
169
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter_annotation:not(#\9) {
170
170
  box-shadow: none;
171
171
  }
172
- body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_fold-widget:not(#\9):focus,
173
- body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter_annotation:not(#\9):focus {
172
+ body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_fold-widget:not(#\9):focus,
173
+ body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter_annotation:not(#\9):focus {
174
174
  position: relative;
175
175
  }
176
- body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_fold-widget:not(#\9):focus,
177
- body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter_annotation:not(#\9):focus {
176
+ body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_fold-widget:not(#\9):focus,
177
+ body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter_annotation:not(#\9):focus {
178
178
  outline: 2px dotted transparent;
179
179
  outline-offset: calc(-1px - 1px);
180
180
  }
181
- body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_fold-widget:not(#\9):focus::before,
182
- body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter_annotation:not(#\9):focus::before {
181
+ body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_fold-widget:not(#\9):focus::before,
182
+ body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter_annotation:not(#\9):focus::before {
183
183
  content: " ";
184
184
  display: block;
185
185
  position: absolute;
@@ -193,91 +193,91 @@ body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1f76o_102 .ace_edit
193
193
  border-end-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
194
194
  box-shadow: 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
195
195
  }
196
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_marker-layer > .ace_active-line:not(#\9) {
196
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_marker-layer > .ace_active-line:not(#\9) {
197
197
  background: transparent;
198
198
  box-sizing: border-box;
199
199
  border-block-start: 1px solid var(--color-border-code-editor-ace-active-line-light-theme-37hmmo, #d1d5db);
200
200
  border-block-end: 1px solid var(--color-border-code-editor-ace-active-line-light-theme-37hmmo, #d1d5db);
201
201
  }
202
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor.ace_dark .ace_marker-layer > .ace_active-line:not(#\9) {
202
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor.ace_dark .ace_marker-layer > .ace_active-line:not(#\9) {
203
203
  border-block-start: 1px solid var(--color-border-code-editor-ace-active-line-dark-theme-5oxz8x, #5f6b7a);
204
204
  border-block-end: 1px solid var(--color-border-code-editor-ace-active-line-dark-theme-5oxz8x, #5f6b7a);
205
205
  }
206
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter:not(#\9) {
206
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter:not(#\9) {
207
207
  background-color: var(--color-background-code-editor-gutter-default-om1nsh, #f4f4f4);
208
208
  color: var(--color-text-code-editor-gutter-default-n16krn, #000716);
209
209
  }
210
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter:not(#\9):focus,
211
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_scroller:not(#\9):focus {
210
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter:not(#\9):focus,
211
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_scroller:not(#\9):focus {
212
212
  box-shadow: inset 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
213
213
  }
214
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_fold-widget.ace_open:not(#\9) {
214
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_fold-widget.ace_open:not(#\9) {
215
215
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23414d5c' fill='%23414d5c' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
216
216
  }
217
217
  @supports (--css-variable-support-check: #000) {
218
218
  @media not print {
219
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_fold-widget.ace_open:not(#\9) {
219
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_fold-widget.ace_open:not(#\9) {
220
220
  /* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
221
221
  }
222
- .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_fold-widget.ace_open:not(#\9), .awsui-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_fold-widget.ace_open:not(#\9) {
222
+ .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_fold-widget.ace_open:not(#\9), .awsui-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_fold-widget.ace_open:not(#\9) {
223
223
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23d1d5db' fill='%23d1d5db' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
224
224
  }
225
225
  }
226
226
  }
227
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_fold-widget.ace_open:not(#\9):hover {
227
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_fold-widget.ace_open:not(#\9):hover {
228
228
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23000716' fill='%23000716' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
229
229
  }
230
230
  @supports (--css-variable-support-check: #000) {
231
231
  @media not print {
232
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_fold-widget.ace_open:not(#\9):hover {
232
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_fold-widget.ace_open:not(#\9):hover {
233
233
  /* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
234
234
  }
235
- .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_fold-widget.ace_open:not(#\9):hover, .awsui-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_fold-widget.ace_open:not(#\9):hover {
235
+ .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_fold-widget.ace_open:not(#\9):hover, .awsui-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_fold-widget.ace_open:not(#\9):hover {
236
236
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23fbfbfb' fill='%23fbfbfb' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
237
237
  }
238
238
  }
239
239
  }
240
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_fold-widget.ace_closed:not(#\9) {
240
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_fold-widget.ace_closed:not(#\9) {
241
241
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23414d5c' fill='%23414d5c' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
242
242
  }
243
243
  @supports (--css-variable-support-check: #000) {
244
244
  @media not print {
245
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_fold-widget.ace_closed:not(#\9) {
245
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_fold-widget.ace_closed:not(#\9) {
246
246
  /* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
247
247
  }
248
- .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_fold-widget.ace_closed:not(#\9), .awsui-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_fold-widget.ace_closed:not(#\9) {
248
+ .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_fold-widget.ace_closed:not(#\9), .awsui-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_fold-widget.ace_closed:not(#\9) {
249
249
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23d1d5db' fill='%23d1d5db' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
250
250
  }
251
251
  }
252
252
  }
253
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_fold-widget.ace_closed:not(#\9):hover {
253
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_fold-widget.ace_closed:not(#\9):hover {
254
254
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23000716' fill='%23000716' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
255
255
  }
256
256
  @supports (--css-variable-support-check: #000) {
257
257
  @media not print {
258
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_fold-widget.ace_closed:not(#\9):hover {
258
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_fold-widget.ace_closed:not(#\9):hover {
259
259
  /* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
260
260
  }
261
- .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_fold-widget.ace_closed:not(#\9):hover, .awsui-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_fold-widget.ace_closed:not(#\9):hover {
261
+ .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_fold-widget.ace_closed:not(#\9):hover, .awsui-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_fold-widget.ace_closed:not(#\9):hover {
262
262
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23fbfbfb' fill='%23fbfbfb' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
263
263
  }
264
264
  }
265
265
  }
266
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line:not(#\9) {
266
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line:not(#\9) {
267
267
  background-color: var(--color-background-code-editor-gutter-active-line-default-n2dsul, #5f6b7a);
268
268
  color: var(--color-text-code-editor-gutter-active-line-zmlu0u, #ffffff);
269
269
  }
270
- body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line .ace_fold-widget:not(#\9):focus,
271
- body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line .ace_gutter_annotation:not(#\9):focus {
270
+ body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line .ace_fold-widget:not(#\9):focus,
271
+ body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line .ace_gutter_annotation:not(#\9):focus {
272
272
  position: relative;
273
273
  }
274
- body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line .ace_fold-widget:not(#\9):focus,
275
- body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line .ace_gutter_annotation:not(#\9):focus {
274
+ body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line .ace_fold-widget:not(#\9):focus,
275
+ body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line .ace_gutter_annotation:not(#\9):focus {
276
276
  outline: 2px dotted transparent;
277
277
  outline-offset: calc(-2px - 1px);
278
278
  }
279
- body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line .ace_fold-widget:not(#\9):focus::before,
280
- body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line .ace_gutter_annotation:not(#\9):focus::before {
279
+ body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line .ace_fold-widget:not(#\9):focus::before,
280
+ body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line .ace_gutter_annotation:not(#\9):focus::before {
281
281
  content: " ";
282
282
  display: block;
283
283
  position: absolute;
@@ -291,134 +291,134 @@ body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1f76o_102 .ace_edit
291
291
  border-end-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
292
292
  box-shadow: 0 0 0 2px var(--color-text-code-editor-gutter-active-line-zmlu0u, #ffffff);
293
293
  }
294
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open:not(#\9) {
294
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open:not(#\9) {
295
295
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23d1d5db' fill='%23d1d5db' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
296
296
  }
297
297
  @supports (--css-variable-support-check: #000) {
298
298
  @media not print {
299
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open:not(#\9) {
299
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open:not(#\9) {
300
300
  /* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
301
301
  }
302
- .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open:not(#\9), .awsui-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open:not(#\9) {
302
+ .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open:not(#\9), .awsui-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open:not(#\9) {
303
303
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23192534' fill='%23192534' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
304
304
  }
305
305
  }
306
306
  }
307
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open:not(#\9):hover {
307
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open:not(#\9):hover {
308
308
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23fbfbfb' fill='%23fbfbfb' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
309
309
  }
310
310
  @supports (--css-variable-support-check: #000) {
311
311
  @media not print {
312
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open:not(#\9):hover {
312
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open:not(#\9):hover {
313
313
  /* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
314
314
  }
315
- .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open:not(#\9):hover, .awsui-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open:not(#\9):hover {
315
+ .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open:not(#\9):hover, .awsui-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open:not(#\9):hover {
316
316
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23000716' fill='%23000716' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
317
317
  }
318
318
  }
319
319
  }
320
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed:not(#\9) {
320
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed:not(#\9) {
321
321
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23d1d5db' fill='%23d1d5db' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
322
322
  }
323
323
  @supports (--css-variable-support-check: #000) {
324
324
  @media not print {
325
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed:not(#\9) {
325
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed:not(#\9) {
326
326
  /* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
327
327
  }
328
- .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed:not(#\9), .awsui-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed:not(#\9) {
328
+ .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed:not(#\9), .awsui-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed:not(#\9) {
329
329
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23192534' fill='%23192534' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
330
330
  }
331
331
  }
332
332
  }
333
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed:not(#\9):hover {
333
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed:not(#\9):hover {
334
334
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23fbfbfb' fill='%23fbfbfb' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
335
335
  }
336
336
  @supports (--css-variable-support-check: #000) {
337
337
  @media not print {
338
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed:not(#\9):hover {
338
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed:not(#\9):hover {
339
339
  /* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
340
340
  }
341
- .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed:not(#\9):hover, .awsui-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed:not(#\9):hover {
341
+ .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed:not(#\9):hover, .awsui-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed:not(#\9):hover {
342
342
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23000716' fill='%23000716' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
343
343
  }
344
344
  }
345
345
  }
346
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_error:not(#\9) {
346
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_error:not(#\9) {
347
347
  color: var(--color-text-code-editor-gutter-active-line-zmlu0u, #ffffff);
348
348
  background-color: var(--color-background-code-editor-gutter-active-line-error-ov6y7a, #d91515);
349
349
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23ffffff' fill-opacity='0' stroke-width='2' stroke-linejoin='round'%3E %3Ccircle cx='8' cy='8' r='7'/%3E %3Cpath d='M10.828 5.172l-5.656 5.656M10.828 10.828L5.172 5.172'/%3E %3C/svg%3E");
350
350
  }
351
351
  @supports (--css-variable-support-check: #000) {
352
352
  @media not print {
353
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_error:not(#\9) {
353
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_error:not(#\9) {
354
354
  /* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
355
355
  }
356
- .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_error:not(#\9), .awsui-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_error:not(#\9) {
356
+ .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_error:not(#\9), .awsui-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_error:not(#\9) {
357
357
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23000716' fill-opacity='0' stroke-width='2' stroke-linejoin='round'%3E %3Ccircle cx='8' cy='8' r='7'/%3E %3Cpath d='M10.828 5.172l-5.656 5.656M10.828 10.828L5.172 5.172'/%3E %3C/svg%3E");
358
358
  }
359
359
  }
360
360
  }
361
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_warning:not(#\9) {
361
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_warning:not(#\9) {
362
362
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23ffffff' fill-opacity='0' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M8 1l7 14H1L8 1z'/%3E %3Cpath d='M7.99 12H8v.01h-.01zM8 6v4'/%3E %3C/svg%3E");
363
363
  }
364
364
  @supports (--css-variable-support-check: #000) {
365
365
  @media not print {
366
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_warning:not(#\9) {
366
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_warning:not(#\9) {
367
367
  /* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
368
368
  }
369
- .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_warning:not(#\9), .awsui-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_warning:not(#\9) {
369
+ .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_warning:not(#\9), .awsui-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_warning:not(#\9) {
370
370
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23000716' fill-opacity='0' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M8 1l7 14H1L8 1z'/%3E %3Cpath d='M7.99 12H8v.01h-.01zM8 6v4'/%3E %3C/svg%3E");
371
371
  }
372
372
  }
373
373
  }
374
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open:not(#\9), .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open:not(#\9) {
374
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open:not(#\9), .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open:not(#\9) {
375
375
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23d1d5db' fill='%23d1d5db' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
376
376
  }
377
377
  @supports (--css-variable-support-check: #000) {
378
378
  @media not print {
379
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open:not(#\9), .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open:not(#\9) {
379
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open:not(#\9), .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open:not(#\9) {
380
380
  /* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
381
381
  }
382
- .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open:not(#\9), .awsui-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open:not(#\9), .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open:not(#\9), .awsui-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open:not(#\9) {
382
+ .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open:not(#\9), .awsui-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open:not(#\9), .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open:not(#\9), .awsui-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open:not(#\9) {
383
383
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23192534' fill='%23192534' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
384
384
  }
385
385
  }
386
386
  }
387
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open:not(#\9):hover, .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open:not(#\9):hover {
387
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open:not(#\9):hover, .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open:not(#\9):hover {
388
388
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23fbfbfb' fill='%23fbfbfb' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
389
389
  }
390
390
  @supports (--css-variable-support-check: #000) {
391
391
  @media not print {
392
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open:not(#\9):hover, .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open:not(#\9):hover {
392
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open:not(#\9):hover, .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open:not(#\9):hover {
393
393
  /* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
394
394
  }
395
- .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open:not(#\9):hover, .awsui-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open:not(#\9):hover, .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open:not(#\9):hover, .awsui-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open:not(#\9):hover {
395
+ .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open:not(#\9):hover, .awsui-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open:not(#\9):hover, .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open:not(#\9):hover, .awsui-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open:not(#\9):hover {
396
396
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23000716' fill='%23000716' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
397
397
  }
398
398
  }
399
399
  }
400
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed:not(#\9), .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed:not(#\9) {
400
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed:not(#\9), .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed:not(#\9) {
401
401
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23d1d5db' fill='%23d1d5db' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
402
402
  }
403
403
  @supports (--css-variable-support-check: #000) {
404
404
  @media not print {
405
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed:not(#\9), .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed:not(#\9) {
405
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed:not(#\9), .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed:not(#\9) {
406
406
  /* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
407
407
  }
408
- .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed:not(#\9), .awsui-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed:not(#\9), .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed:not(#\9), .awsui-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed:not(#\9) {
408
+ .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed:not(#\9), .awsui-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed:not(#\9), .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed:not(#\9), .awsui-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed:not(#\9) {
409
409
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23192534' fill='%23192534' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
410
410
  }
411
411
  }
412
412
  }
413
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed:not(#\9):hover, .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed:not(#\9):hover {
413
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed:not(#\9):hover, .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed:not(#\9):hover {
414
414
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23fbfbfb' fill='%23fbfbfb' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
415
415
  }
416
416
  @supports (--css-variable-support-check: #000) {
417
417
  @media not print {
418
- .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed:not(#\9):hover, .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed:not(#\9):hover {
418
+ .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed:not(#\9):hover, .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed:not(#\9):hover {
419
419
  /* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
420
420
  }
421
- .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed:not(#\9):hover, .awsui-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed:not(#\9):hover, .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed:not(#\9):hover, .awsui-dark-mode .awsui_code-editor_1gl9c_1f76o_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed:not(#\9):hover {
421
+ .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed:not(#\9):hover, .awsui-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed:not(#\9):hover, .awsui-polaris-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed:not(#\9):hover, .awsui-dark-mode .awsui_code-editor_1gl9c_1l3ke_102 .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed:not(#\9):hover {
422
422
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23000716' fill='%23000716' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
423
423
  }
424
424
  }
@@ -429,7 +429,7 @@ body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1f76o_102 .ace_edit
429
429
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
430
430
  SPDX-License-Identifier: Apache-2.0
431
431
  */
432
- .awsui_pane_1gl9c_1f76o_432:not(#\9) {
432
+ .awsui_pane_1gl9c_1l3ke_432:not(#\9) {
433
433
  display: flex;
434
434
  position: relative;
435
435
  flex-direction: row;
@@ -440,75 +440,75 @@ body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1f76o_102 .ace_edit
440
440
  background: var(--color-background-code-editor-status-bar-x8dalt, #f4f4f4);
441
441
  color: var(--color-text-body-default-at06ol, #000716);
442
442
  }
443
- .awsui_pane__close-container_1gl9c_1f76o_443:not(#\9) {
443
+ .awsui_pane__close-container_1gl9c_1l3ke_443:not(#\9) {
444
444
  position: absolute;
445
445
  inset-block-start: 0;
446
446
  inset-inline-end: calc(var(--space-s-34lx8l, 12px) / 2);
447
447
  }
448
- .awsui_pane__list_1gl9c_1f76o_448:not(#\9) {
448
+ .awsui_pane__list_1gl9c_1l3ke_448:not(#\9) {
449
449
  flex: 1;
450
450
  overflow: auto;
451
451
  max-block-size: 100%;
452
452
  box-sizing: border-box;
453
453
  margin-inline-end: calc(var(--line-height-body-m-30ar75, 20px) + 2 * var(--space-xs-zb16t3, 8px));
454
454
  }
455
- .awsui_pane__table_1gl9c_1f76o_455:not(#\9) {
455
+ .awsui_pane__table_1gl9c_1l3ke_455:not(#\9) {
456
456
  inline-size: 100%;
457
457
  border-spacing: 0;
458
458
  margin-block: var(--space-s-34lx8l, 12px);
459
459
  margin-inline: 0;
460
460
  }
461
- .awsui_pane__item_1gl9c_1f76o_461 > .awsui_pane__cell_1gl9c_1f76o_461:not(#\9) {
461
+ .awsui_pane__item_1gl9c_1l3ke_461 > .awsui_pane__cell_1gl9c_1l3ke_461:not(#\9) {
462
462
  border-block-start: var(--border-item-width-yel47s, 2px) solid var(--color-transparent-0ltpn5, transparent);
463
463
  border-block-end: var(--border-item-width-yel47s, 2px) solid var(--color-transparent-0ltpn5, transparent);
464
464
  }
465
- .awsui_pane__item_1gl9c_1f76o_461 > .awsui_pane__cell_1gl9c_1f76o_461:not(#\9):first-child {
465
+ .awsui_pane__item_1gl9c_1l3ke_461 > .awsui_pane__cell_1gl9c_1l3ke_461:not(#\9):first-child {
466
466
  border-inline-start: var(--border-item-width-yel47s, 2px) solid var(--color-transparent-0ltpn5, transparent);
467
467
  border-start-start-radius: var(--border-radius-item-05df9h, 8px);
468
468
  border-end-start-radius: var(--border-radius-item-05df9h, 8px);
469
469
  }
470
- .awsui_pane__item_1gl9c_1f76o_461 > .awsui_pane__cell_1gl9c_1f76o_461:not(#\9):last-child {
470
+ .awsui_pane__item_1gl9c_1l3ke_461 > .awsui_pane__cell_1gl9c_1l3ke_461:not(#\9):last-child {
471
471
  border-inline-end: var(--border-item-width-yel47s, 2px) solid var(--color-transparent-0ltpn5, transparent);
472
472
  border-start-end-radius: var(--border-radius-item-05df9h, 8px);
473
473
  border-end-end-radius: var(--border-radius-item-05df9h, 8px);
474
474
  }
475
- .awsui_pane__item--highlighted_1gl9c_1f76o_475:not(#\9), .awsui_pane__item_1gl9c_1f76o_461:not(#\9):hover, .awsui_pane__item_1gl9c_1f76o_461:not(#\9):focus {
475
+ .awsui_pane__item--highlighted_1gl9c_1l3ke_475:not(#\9), .awsui_pane__item_1gl9c_1l3ke_461:not(#\9):hover, .awsui_pane__item_1gl9c_1l3ke_461:not(#\9):focus {
476
476
  cursor: pointer;
477
477
  outline: none;
478
478
  }
479
- .awsui_pane__item--highlighted_1gl9c_1f76o_475 > .awsui_pane__cell_1gl9c_1f76o_461:not(#\9), .awsui_pane__item_1gl9c_1f76o_461:not(#\9):hover > .awsui_pane__cell_1gl9c_1f76o_461, .awsui_pane__item_1gl9c_1f76o_461:not(#\9):focus > .awsui_pane__cell_1gl9c_1f76o_461 {
479
+ .awsui_pane__item--highlighted_1gl9c_1l3ke_475 > .awsui_pane__cell_1gl9c_1l3ke_461:not(#\9), .awsui_pane__item_1gl9c_1l3ke_461:not(#\9):hover > .awsui_pane__cell_1gl9c_1l3ke_461, .awsui_pane__item_1gl9c_1l3ke_461:not(#\9):focus > .awsui_pane__cell_1gl9c_1l3ke_461 {
480
480
  background-color: var(--color-background-code-editor-pane-item-hover-7wgkyr, #e9ebed);
481
481
  }
482
- .awsui_pane__item--highlighted_1gl9c_1f76o_475 > .awsui_pane__cell_1gl9c_1f76o_461:not(#\9), .awsui_pane__item_1gl9c_1f76o_461:not(#\9):hover > .awsui_pane__cell_1gl9c_1f76o_461, .awsui_pane__item_1gl9c_1f76o_461:not(#\9):focus > .awsui_pane__cell_1gl9c_1f76o_461 {
482
+ .awsui_pane__item--highlighted_1gl9c_1l3ke_475 > .awsui_pane__cell_1gl9c_1l3ke_461:not(#\9), .awsui_pane__item_1gl9c_1l3ke_461:not(#\9):hover > .awsui_pane__cell_1gl9c_1l3ke_461, .awsui_pane__item_1gl9c_1l3ke_461:not(#\9):focus > .awsui_pane__cell_1gl9c_1l3ke_461 {
483
483
  border-block-start: var(--border-item-width-yel47s, 2px) solid var(--color-border-code-editor-pane-item-hover-std69p, #7d8998);
484
484
  border-block-end: var(--border-item-width-yel47s, 2px) solid var(--color-border-code-editor-pane-item-hover-std69p, #7d8998);
485
485
  }
486
- .awsui_pane__item--highlighted_1gl9c_1f76o_475 > .awsui_pane__cell_1gl9c_1f76o_461:not(#\9):first-child, .awsui_pane__item_1gl9c_1f76o_461:not(#\9):hover > .awsui_pane__cell_1gl9c_1f76o_461:first-child, .awsui_pane__item_1gl9c_1f76o_461:not(#\9):focus > .awsui_pane__cell_1gl9c_1f76o_461:first-child {
486
+ .awsui_pane__item--highlighted_1gl9c_1l3ke_475 > .awsui_pane__cell_1gl9c_1l3ke_461:not(#\9):first-child, .awsui_pane__item_1gl9c_1l3ke_461:not(#\9):hover > .awsui_pane__cell_1gl9c_1l3ke_461:first-child, .awsui_pane__item_1gl9c_1l3ke_461:not(#\9):focus > .awsui_pane__cell_1gl9c_1l3ke_461:first-child {
487
487
  border-inline-start: var(--border-item-width-yel47s, 2px) solid var(--color-border-code-editor-pane-item-hover-std69p, #7d8998);
488
488
  border-start-start-radius: var(--border-radius-item-05df9h, 8px);
489
489
  border-end-start-radius: var(--border-radius-item-05df9h, 8px);
490
490
  }
491
- .awsui_pane__item--highlighted_1gl9c_1f76o_475 > .awsui_pane__cell_1gl9c_1f76o_461:not(#\9):last-child, .awsui_pane__item_1gl9c_1f76o_461:not(#\9):hover > .awsui_pane__cell_1gl9c_1f76o_461:last-child, .awsui_pane__item_1gl9c_1f76o_461:not(#\9):focus > .awsui_pane__cell_1gl9c_1f76o_461:last-child {
491
+ .awsui_pane__item--highlighted_1gl9c_1l3ke_475 > .awsui_pane__cell_1gl9c_1l3ke_461:not(#\9):last-child, .awsui_pane__item_1gl9c_1l3ke_461:not(#\9):hover > .awsui_pane__cell_1gl9c_1l3ke_461:last-child, .awsui_pane__item_1gl9c_1l3ke_461:not(#\9):focus > .awsui_pane__cell_1gl9c_1l3ke_461:last-child {
492
492
  border-inline-end: var(--border-item-width-yel47s, 2px) solid var(--color-border-code-editor-pane-item-hover-std69p, #7d8998);
493
493
  border-start-end-radius: var(--border-radius-item-05df9h, 8px);
494
494
  border-end-end-radius: var(--border-radius-item-05df9h, 8px);
495
495
  }
496
- .awsui_pane__location_1gl9c_1f76o_496:not(#\9), .awsui_pane__description_1gl9c_1f76o_496:not(#\9) {
496
+ .awsui_pane__location_1gl9c_1l3ke_496:not(#\9), .awsui_pane__description_1gl9c_1l3ke_496:not(#\9) {
497
497
  padding-block: var(--space-xxs-p8yyaw, 4px);
498
498
  padding-inline: var(--space-s-34lx8l, 12px);
499
499
  }
500
- .awsui_pane__location_1gl9c_1f76o_496:not(#\9) {
500
+ .awsui_pane__location_1gl9c_1l3ke_496:not(#\9) {
501
501
  vertical-align: baseline;
502
502
  white-space: nowrap;
503
503
  padding-inline-start: calc(var(--space-l-t419sm, 20px) + var(--space-s-34lx8l, 12px));
504
504
  }
505
- .awsui_pane__description_1gl9c_1f76o_496:not(#\9) {
505
+ .awsui_pane__description_1gl9c_1l3ke_496:not(#\9) {
506
506
  padding-inline-end: 0;
507
507
  min-inline-size: 0;
508
508
  word-break: break-word;
509
509
  }
510
510
 
511
- .awsui_focus-lock_1gl9c_1f76o_511:not(#\9) {
511
+ .awsui_focus-lock_1gl9c_1l3ke_511:not(#\9) {
512
512
  block-size: 100%;
513
513
  }
514
514
 
@@ -516,7 +516,7 @@ body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1f76o_102 .ace_edit
516
516
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
517
517
  SPDX-License-Identifier: Apache-2.0
518
518
  */
519
- .awsui_code-editor_1gl9c_1f76o_102:not(#\9) {
519
+ .awsui_code-editor_1gl9c_1l3ke_102:not(#\9) {
520
520
  border-collapse: separate;
521
521
  border-spacing: 0;
522
522
  box-sizing: border-box;
@@ -550,7 +550,7 @@ body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1f76o_102 .ace_edit
550
550
  font-family: var(--font-family-base-dnvic8, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
551
551
  -webkit-font-smoothing: auto;
552
552
  -moz-osx-font-smoothing: auto;
553
- display: inline-block;
553
+ display: block;
554
554
  border-block: var(--border-item-width-yel47s, 2px) solid var(--color-border-code-editor-default-c1jpix, #d1d5db);
555
555
  border-inline: var(--border-item-width-yel47s, 2px) solid var(--color-border-code-editor-default-c1jpix, #d1d5db);
556
556
  border-start-start-radius: var(--border-radius-code-editor-qvw11o, 8px);
@@ -560,20 +560,20 @@ body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1f76o_102 .ace_edit
560
560
  inline-size: 100%;
561
561
  }
562
562
 
563
- .awsui_editor_1gl9c_1f76o_562:not(#\9) {
563
+ .awsui_editor_1gl9c_1l3ke_562:not(#\9) {
564
564
  position: absolute;
565
565
  inset: 0;
566
566
  }
567
- .awsui_editor_1gl9c_1f76o_562:not(#\9):focus {
567
+ .awsui_editor_1gl9c_1l3ke_562:not(#\9):focus {
568
568
  position: relative;
569
569
  position: absolute;
570
570
  overflow: visible;
571
571
  }
572
- .awsui_editor_1gl9c_1f76o_562:not(#\9):focus {
572
+ .awsui_editor_1gl9c_1l3ke_562:not(#\9):focus {
573
573
  outline: 2px dotted transparent;
574
574
  outline-offset: calc(3px - 1px);
575
575
  }
576
- .awsui_editor_1gl9c_1f76o_562:not(#\9):focus::before {
576
+ .awsui_editor_1gl9c_1l3ke_562:not(#\9):focus::before {
577
577
  content: " ";
578
578
  display: block;
579
579
  position: absolute;
@@ -588,12 +588,13 @@ body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1f76o_102 .ace_edit
588
588
  box-shadow: 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
589
589
  }
590
590
 
591
- .awsui_editor-refresh_1gl9c_1f76o_590:not(#\9) {
591
+ .awsui_editor-refresh_1gl9c_1l3ke_590:not(#\9) {
592
592
  border-start-start-radius: calc(var(--border-radius-code-editor-qvw11o, 8px) - var(--border-item-width-yel47s, 2px));
593
593
  border-start-end-radius: calc(var(--border-radius-code-editor-qvw11o, 8px) - var(--border-item-width-yel47s, 2px));
594
594
  }
595
595
 
596
- .awsui_status-bar_1gl9c_1f76o_595:not(#\9) {
596
+ .awsui_status-bar_1gl9c_1l3ke_595:not(#\9) {
597
+ container-type: inline-size;
597
598
  display: flex;
598
599
  vertical-align: middle;
599
600
  border-block-start: var(--border-item-width-yel47s, 2px) solid var(--color-border-code-editor-default-c1jpix, #d1d5db);
@@ -601,45 +602,41 @@ body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1f76o_102 .ace_edit
601
602
  min-inline-size: 0;
602
603
  word-break: break-word;
603
604
  }
604
- .awsui_status-bar-with-hidden-pane_1gl9c_1f76o_603:not(#\9) {
605
+ .awsui_status-bar-with-hidden-pane_1gl9c_1l3ke_604:not(#\9) {
605
606
  border-end-start-radius: var(--border-radius-code-editor-qvw11o, 8px);
606
607
  border-end-end-radius: var(--border-radius-code-editor-qvw11o, 8px);
607
608
  }
608
- .awsui_status-bar__left_1gl9c_1f76o_607:not(#\9) {
609
+ .awsui_status-bar__left_1gl9c_1l3ke_608:not(#\9) {
609
610
  flex: 1;
610
611
  display: flex;
611
612
  flex-wrap: wrap;
612
613
  padding-inline-start: var(--space-l-t419sm, 20px);
613
614
  border-inline-end: var(--border-item-width-yel47s, 2px) solid var(--color-border-code-editor-default-c1jpix, #d1d5db);
614
615
  }
615
- .awsui_status-bar__left-virtual_1gl9c_1f76o_614:not(#\9) {
616
- flex-wrap: nowrap;
617
- white-space: nowrap;
618
- }
619
- .awsui_status-bar__right_1gl9c_1f76o_618:not(#\9) {
616
+ .awsui_status-bar__right_1gl9c_1l3ke_615:not(#\9) {
620
617
  display: flex;
621
618
  align-items: center;
622
619
  }
623
- .awsui_status-bar__language-mode_1gl9c_1f76o_622:not(#\9), .awsui_status-bar__cursor-position_1gl9c_1f76o_622:not(#\9) {
620
+ .awsui_status-bar__language-mode_1gl9c_1l3ke_619:not(#\9), .awsui_status-bar__cursor-position_1gl9c_1l3ke_619:not(#\9) {
624
621
  display: inline-block;
625
622
  color: var(--color-text-body-default-at06ol, #000716);
626
623
  padding-block: var(--space-scaled-xs-26e2du, 8px);
627
624
  padding-inline: var(--space-s-34lx8l, 12px);
628
625
  }
629
- .awsui_status-bar__cog-button_1gl9c_1f76o_628:not(#\9) {
626
+ .awsui_status-bar__cog-button_1gl9c_1l3ke_625:not(#\9) {
630
627
  padding-block: calc(var(--space-scaled-xxs-7597g1, 4px) - 1px);
631
628
  padding-inline: calc(var(--space-xs-zb16t3, 8px) - 2px);
632
629
  }
633
630
 
634
- .awsui_status-bar-virtual_1gl9c_1f76o_633:not(#\9) {
635
- position: absolute !important;
636
- inset-block-start: -9999px !important;
637
- inset-inline-start: -9999px !important;
631
+ .awsui_tab-list_1gl9c_1l3ke_630:not(#\9) {
632
+ align-items: center;
633
+ display: inline-flex;
638
634
  }
639
635
 
640
- .awsui_tab-button_1gl9c_1f76o_639:not(#\9) {
636
+ .awsui_tab-button_1gl9c_1l3ke_635:not(#\9) {
641
637
  position: relative;
642
- display: inline-block;
638
+ display: inline-flex;
639
+ gap: var(--space-xxs-p8yyaw, 4px);
643
640
  padding-block: var(--space-scaled-xs-26e2du, 8px);
644
641
  padding-inline: var(--space-s-34lx8l, 12px);
645
642
  line-height: inherit;
@@ -652,11 +649,11 @@ body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1f76o_102 .ace_edit
652
649
  cursor: pointer;
653
650
  z-index: 1;
654
651
  }
655
- .awsui_tab-button_1gl9c_1f76o_639:not(#\9):hover {
652
+ .awsui_tab-button_1gl9c_1l3ke_635:not(#\9):hover {
656
653
  color: var(--color-text-code-editor-tab-button-error-5ax346, #ffffff);
657
654
  background: var(--color-text-status-error-wdvepn, #d91515);
658
655
  }
659
- .awsui_tab-button_1gl9c_1f76o_639:not(#\9)::after {
656
+ .awsui_tab-button_1gl9c_1l3ke_635:not(#\9)::after {
660
657
  content: "";
661
658
  position: absolute;
662
659
  inset-inline: 0;
@@ -669,54 +666,54 @@ body[data-awsui-focus-visible=true] .awsui_code-editor_1gl9c_1f76o_102 .ace_edit
669
666
  background: var(--color-text-status-error-wdvepn, #d91515);
670
667
  opacity: 0;
671
668
  }
672
- .awsui_tab-button--refresh_1gl9c_1f76o_671:not(#\9) {
669
+ .awsui_tab-button--refresh_1gl9c_1l3ke_668:not(#\9) {
673
670
  padding-block-end: calc(var(--space-scaled-xs-26e2du, 8px) + var(--border-active-width-9dmqf4, 4px) - 2px);
674
671
  }
675
- .awsui_tab-button--warnings_1gl9c_1f76o_674:not(#\9) {
672
+ .awsui_tab-button--warnings_1gl9c_1l3ke_671:not(#\9) {
676
673
  color: var(--color-text-status-warning-yik8vi, #8d6605);
677
674
  }
678
- .awsui_tab-button--warnings_1gl9c_1f76o_674:not(#\9):hover {
675
+ .awsui_tab-button--warnings_1gl9c_1l3ke_671:not(#\9):hover {
679
676
  background: var(--color-text-status-warning-yik8vi, #8d6605);
680
677
  }
681
- .awsui_tab-button--warnings_1gl9c_1f76o_674:not(#\9)::after {
678
+ .awsui_tab-button--warnings_1gl9c_1l3ke_671:not(#\9)::after {
682
679
  background: var(--color-text-status-warning-yik8vi, #8d6605);
683
680
  }
684
- .awsui_tab-button--active_1gl9c_1f76o_683:not(#\9)::after {
681
+ .awsui_tab-button--active_1gl9c_1l3ke_680:not(#\9)::after {
685
682
  opacity: 1;
686
683
  }
687
- .awsui_tab-button--refresh_1gl9c_1f76o_671:not(#\9)::after {
684
+ .awsui_tab-button--refresh_1gl9c_1l3ke_668:not(#\9)::after {
688
685
  transition: opacity var(--motion-duration-refresh-only-medium-nf6485, 165ms) var(--motion-easing-refresh-only-c-vg1m9h, cubic-bezier(0.84, 0, 0.16, 1));
689
686
  }
690
687
  @media (prefers-reduced-motion: reduce) {
691
- .awsui_tab-button--refresh_1gl9c_1f76o_671:not(#\9)::after {
688
+ .awsui_tab-button--refresh_1gl9c_1l3ke_668:not(#\9)::after {
692
689
  animation: none;
693
690
  transition: none;
694
691
  }
695
692
  }
696
- .awsui-motion-disabled .awsui_tab-button--refresh_1gl9c_1f76o_671:not(#\9)::after, .awsui-mode-entering .awsui_tab-button--refresh_1gl9c_1f76o_671:not(#\9)::after {
693
+ .awsui-motion-disabled .awsui_tab-button--refresh_1gl9c_1l3ke_668:not(#\9)::after, .awsui-mode-entering .awsui_tab-button--refresh_1gl9c_1l3ke_668:not(#\9)::after {
697
694
  animation: none;
698
695
  transition: none;
699
696
  }
700
- .awsui_tab-button--disabled_1gl9c_1f76o_699:not(#\9) {
697
+ .awsui_tab-button--disabled_1gl9c_1l3ke_696:not(#\9) {
701
698
  font-weight: normal;
702
699
  color: var(--color-text-code-editor-status-bar-disabled-mrlsxh, #7d8998);
703
700
  cursor: default;
704
701
  }
705
- .awsui_tab-button--disabled_1gl9c_1f76o_699:not(#\9):hover {
702
+ .awsui_tab-button--disabled_1gl9c_1l3ke_696:not(#\9):hover {
706
703
  color: var(--color-text-code-editor-status-bar-disabled-mrlsxh, #7d8998);
707
704
  background: transparent;
708
705
  }
709
- .awsui_tab-button--disabled_1gl9c_1f76o_699:not(#\9)::after {
706
+ .awsui_tab-button--disabled_1gl9c_1l3ke_696:not(#\9)::after {
710
707
  display: none;
711
708
  }
712
- body[data-awsui-focus-visible=true] .awsui_tab-button_1gl9c_1f76o_639:not(#\9):focus {
709
+ body[data-awsui-focus-visible=true] .awsui_tab-button_1gl9c_1l3ke_635:not(#\9):focus {
713
710
  position: relative;
714
711
  }
715
- body[data-awsui-focus-visible=true] .awsui_tab-button_1gl9c_1f76o_639:not(#\9):focus {
712
+ body[data-awsui-focus-visible=true] .awsui_tab-button_1gl9c_1l3ke_635:not(#\9):focus {
716
713
  outline: 2px dotted transparent;
717
714
  outline-offset: calc(var(--space-code-editor-status-focus-outline-gutter-dqxswe, -7px) - 1px);
718
715
  }
719
- body[data-awsui-focus-visible=true] .awsui_tab-button_1gl9c_1f76o_639:not(#\9):focus::before {
716
+ body[data-awsui-focus-visible=true] .awsui_tab-button_1gl9c_1l3ke_635:not(#\9):focus::before {
720
717
  content: " ";
721
718
  display: block;
722
719
  position: absolute;
@@ -730,19 +727,41 @@ body[data-awsui-focus-visible=true] .awsui_tab-button_1gl9c_1f76o_639:not(#\9):f
730
727
  border-end-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
731
728
  box-shadow: 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
732
729
  }
733
- .awsui_tab-button--divider_1gl9c_1f76o_732:not(#\9) {
730
+ .awsui_tab-button--divider_1gl9c_1l3ke_729:not(#\9) {
734
731
  display: inline-block;
735
732
  block-size: var(--line-height-body-m-30ar75, 20px);
736
733
  inline-size: var(--border-code-editor-status-divider-width-tf47q3, 1px);
737
734
  background: var(--color-border-tabs-divider-6vpso4, #b6bec9);
738
735
  vertical-align: middle;
739
736
  }
740
- .awsui_tab-button--errors_1gl9c_1f76o_739:not(#\9) {
737
+ .awsui_tab-button--errors_1gl9c_1l3ke_736:not(#\9) {
741
738
  /* used in test-utils */
742
739
  }
740
+ @supports (contain: inline-size) {
741
+ .awsui_tab-button_1gl9c_1l3ke_635:not(#\9) {
742
+ /* stylelint-disable plugin/no-unsupported-browser-features */
743
+ /* stylelint-enable plugin/no-unsupported-browser-features */
744
+ }
745
+ @container not (max-width: 500px) {
746
+ .awsui_tab-button_1gl9c_1l3ke_635 > .awsui_count_1gl9c_1l3ke_745:not(#\9) {
747
+ display: none;
748
+ }
749
+ .awsui_tab-button_1gl9c_1l3ke_635 > .awsui_text_1gl9c_1l3ke_748:not(#\9) {
750
+ display: inline;
751
+ }
752
+ }
753
+ @container (max-width: 500px) {
754
+ .awsui_tab-button_1gl9c_1l3ke_635 > .awsui_count_1gl9c_1l3ke_745:not(#\9) {
755
+ display: inline;
756
+ }
757
+ .awsui_tab-button_1gl9c_1l3ke_635 > .awsui_text_1gl9c_1l3ke_748:not(#\9) {
758
+ display: none;
759
+ }
760
+ }
761
+ }
743
762
 
744
- .awsui_loading-screen_1gl9c_1f76o_743:not(#\9),
745
- .awsui_error-screen_1gl9c_1f76o_744:not(#\9) {
763
+ .awsui_loading-screen_1gl9c_1l3ke_762:not(#\9),
764
+ .awsui_error-screen_1gl9c_1l3ke_763:not(#\9) {
746
765
  display: flex;
747
766
  align-items: center;
748
767
  justify-content: center;
@@ -755,6 +774,6 @@ body[data-awsui-focus-visible=true] .awsui_tab-button_1gl9c_1f76o_639:not(#\9):f
755
774
  border-end-end-radius: var(--border-radius-code-editor-qvw11o, 8px);
756
775
  }
757
776
 
758
- .awsui_error-screen_1gl9c_1f76o_744:not(#\9) {
777
+ .awsui_error-screen_1gl9c_1l3ke_763:not(#\9) {
759
778
  color: var(--color-text-status-error-wdvepn, #d91515);
760
779
  }
@@ -2,37 +2,38 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "code-editor-refresh": "awsui_code-editor-refresh_1gl9c_1f76o_102",
6
- "code-editor": "awsui_code-editor_1gl9c_1f76o_102",
7
- "pane": "awsui_pane_1gl9c_1f76o_432",
8
- "pane__close-container": "awsui_pane__close-container_1gl9c_1f76o_443",
9
- "pane__list": "awsui_pane__list_1gl9c_1f76o_448",
10
- "pane__table": "awsui_pane__table_1gl9c_1f76o_455",
11
- "pane__item": "awsui_pane__item_1gl9c_1f76o_461",
12
- "pane__cell": "awsui_pane__cell_1gl9c_1f76o_461",
13
- "pane__item--highlighted": "awsui_pane__item--highlighted_1gl9c_1f76o_475",
14
- "pane__location": "awsui_pane__location_1gl9c_1f76o_496",
15
- "pane__description": "awsui_pane__description_1gl9c_1f76o_496",
16
- "focus-lock": "awsui_focus-lock_1gl9c_1f76o_511",
17
- "editor": "awsui_editor_1gl9c_1f76o_562",
18
- "editor-refresh": "awsui_editor-refresh_1gl9c_1f76o_590",
19
- "status-bar": "awsui_status-bar_1gl9c_1f76o_595",
20
- "status-bar-with-hidden-pane": "awsui_status-bar-with-hidden-pane_1gl9c_1f76o_603",
21
- "status-bar__left": "awsui_status-bar__left_1gl9c_1f76o_607",
22
- "status-bar__left-virtual": "awsui_status-bar__left-virtual_1gl9c_1f76o_614",
23
- "status-bar__right": "awsui_status-bar__right_1gl9c_1f76o_618",
24
- "status-bar__language-mode": "awsui_status-bar__language-mode_1gl9c_1f76o_622",
25
- "status-bar__cursor-position": "awsui_status-bar__cursor-position_1gl9c_1f76o_622",
26
- "status-bar__cog-button": "awsui_status-bar__cog-button_1gl9c_1f76o_628",
27
- "status-bar-virtual": "awsui_status-bar-virtual_1gl9c_1f76o_633",
28
- "tab-button": "awsui_tab-button_1gl9c_1f76o_639",
29
- "tab-button--refresh": "awsui_tab-button--refresh_1gl9c_1f76o_671",
30
- "tab-button--warnings": "awsui_tab-button--warnings_1gl9c_1f76o_674",
31
- "tab-button--active": "awsui_tab-button--active_1gl9c_1f76o_683",
32
- "tab-button--disabled": "awsui_tab-button--disabled_1gl9c_1f76o_699",
33
- "tab-button--divider": "awsui_tab-button--divider_1gl9c_1f76o_732",
34
- "tab-button--errors": "awsui_tab-button--errors_1gl9c_1f76o_739",
35
- "loading-screen": "awsui_loading-screen_1gl9c_1f76o_743",
36
- "error-screen": "awsui_error-screen_1gl9c_1f76o_744"
5
+ "code-editor-refresh": "awsui_code-editor-refresh_1gl9c_1l3ke_102",
6
+ "code-editor": "awsui_code-editor_1gl9c_1l3ke_102",
7
+ "pane": "awsui_pane_1gl9c_1l3ke_432",
8
+ "pane__close-container": "awsui_pane__close-container_1gl9c_1l3ke_443",
9
+ "pane__list": "awsui_pane__list_1gl9c_1l3ke_448",
10
+ "pane__table": "awsui_pane__table_1gl9c_1l3ke_455",
11
+ "pane__item": "awsui_pane__item_1gl9c_1l3ke_461",
12
+ "pane__cell": "awsui_pane__cell_1gl9c_1l3ke_461",
13
+ "pane__item--highlighted": "awsui_pane__item--highlighted_1gl9c_1l3ke_475",
14
+ "pane__location": "awsui_pane__location_1gl9c_1l3ke_496",
15
+ "pane__description": "awsui_pane__description_1gl9c_1l3ke_496",
16
+ "focus-lock": "awsui_focus-lock_1gl9c_1l3ke_511",
17
+ "editor": "awsui_editor_1gl9c_1l3ke_562",
18
+ "editor-refresh": "awsui_editor-refresh_1gl9c_1l3ke_590",
19
+ "status-bar": "awsui_status-bar_1gl9c_1l3ke_595",
20
+ "status-bar-with-hidden-pane": "awsui_status-bar-with-hidden-pane_1gl9c_1l3ke_604",
21
+ "status-bar__left": "awsui_status-bar__left_1gl9c_1l3ke_608",
22
+ "status-bar__right": "awsui_status-bar__right_1gl9c_1l3ke_615",
23
+ "status-bar__language-mode": "awsui_status-bar__language-mode_1gl9c_1l3ke_619",
24
+ "status-bar__cursor-position": "awsui_status-bar__cursor-position_1gl9c_1l3ke_619",
25
+ "status-bar__cog-button": "awsui_status-bar__cog-button_1gl9c_1l3ke_625",
26
+ "tab-list": "awsui_tab-list_1gl9c_1l3ke_630",
27
+ "tab-button": "awsui_tab-button_1gl9c_1l3ke_635",
28
+ "tab-button--refresh": "awsui_tab-button--refresh_1gl9c_1l3ke_668",
29
+ "tab-button--warnings": "awsui_tab-button--warnings_1gl9c_1l3ke_671",
30
+ "tab-button--active": "awsui_tab-button--active_1gl9c_1l3ke_680",
31
+ "tab-button--disabled": "awsui_tab-button--disabled_1gl9c_1l3ke_696",
32
+ "tab-button--divider": "awsui_tab-button--divider_1gl9c_1l3ke_729",
33
+ "tab-button--errors": "awsui_tab-button--errors_1gl9c_1l3ke_736",
34
+ "count": "awsui_count_1gl9c_1l3ke_745",
35
+ "text": "awsui_text_1gl9c_1l3ke_748",
36
+ "loading-screen": "awsui_loading-screen_1gl9c_1l3ke_762",
37
+ "error-screen": "awsui_error-screen_1gl9c_1l3ke_763"
37
38
  };
38
39
 
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { IconProps } from '../icon/interfaces';
3
3
  interface TabButtonProps {
4
+ count: number;
4
5
  text: string;
5
6
  iconName: IconProps.Name;
6
7
  active: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"tab-button.d.ts","sourceRoot":"","sources":["../../../src/code-editor/tab-button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAK/C,UAAU,cAAc;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,Q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C,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IACrD,MAAM,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;CACrD;AAED,eAAO,MAAM,SAAS,0FAgDrB,CAAC"}
@@ -4,14 +4,14 @@ import React from 'react';
4
4
  import clsx from 'clsx';
5
5
  import InternalIcon from '../icon/internal';
6
6
  import styles from './styles.css.js';
7
- export const TabButton = React.forwardRef(({ active, disabled, iconName, onClick, onFocus, onBlur, tabIndex, ariaHidden, ariaLabel, paneId, isRefresh, text, className, id, }, ref) => {
7
+ export const TabButton = React.forwardRef(({ active, disabled, iconName, onClick, onFocus, onBlur, tabIndex, ariaHidden, ariaLabel, paneId, isRefresh, count, text, className, id, }, ref) => {
8
8
  return (React.createElement("button", { className: clsx([styles['tab-button'], className], {
9
9
  [styles['tab-button--active']]: active,
10
10
  [styles['tab-button--disabled']]: disabled,
11
11
  [styles['tab-button--refresh']]: isRefresh,
12
12
  }), id: id, type: "button", onClick: onClick, onFocus: onFocus, onBlur: onBlur, disabled: disabled, ref: ref, tabIndex: tabIndex, role: "tab", "aria-selected": active, "aria-controls": paneId, "aria-hidden": ariaHidden, "aria-label": ariaLabel },
13
13
  React.createElement(InternalIcon, { name: iconName }),
14
- " ",
15
- text));
14
+ React.createElement("span", { className: styles.count }, count),
15
+ React.createElement("span", { className: styles.text }, text)));
16
16
  });
17
17
  //# sourceMappingURL=tab-button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tab-button.js","sourceRoot":"","sources":["../../../src/code-editor/tab-button.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAGxB,OAAO,YAAY,MAAM,kBAAkB,CAAC;AAE5C,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAqBrC,MAAM,CAAC,MAAM,SAAS,GAAG,KAAK,CAAC,UAAU,CACvC,CACE,EACE,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,OAAO,EACP,MAAM,EACN,QAAQ,EACR,UAAU,EACV,SAAS,EACT,MAAM,EACN,SAAS,EACT,IAAI,EACJ,SAAS,EACT,EAAE,GACa,EACjB,GAAiC,EACjC,EAAE;IACF,OAAO,CACL,gCACE,SAAS,EAAE,IAAI,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE,SAAS,CAAC,EAAE;YACjD,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC,EAAE,MAAM;YACtC,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,EAAE,QAAQ;YAC1C,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC,EAAE,SAAS;SAC3C,CAAC,EACF,EAAE,EAAE,EAAE,EACN,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,GAAG,EAAE,GAAG,EACR,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAC,KAAK,mBACK,MAAM,mBACN,MAAM,iBACR,UAAU,gBACX,SAAS;QAErB,oBAAC,YAAY,IAAC,IAAI,EAAE,QAAQ,GAAI;;QAAE,IAAI,CAC/B,CACV,CAAC;AACJ,CAAC,CACF,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport { IconProps } from '../icon/interfaces';\nimport InternalIcon from '../icon/internal';\n\nimport styles from './styles.css.js';\n\ninterface TabButtonProps {\n text: string;\n iconName: IconProps.Name;\n active: boolean;\n disabled: boolean;\n tabIndex?: number;\n ariaHidden?: boolean;\n ariaLabel?: string;\n paneId?: string;\n isRefresh: boolean;\n\n className: string;\n id?: string;\n\n onClick: () => void;\n onFocus?: React.FocusEventHandler<HTMLButtonElement>;\n onBlur?: React.FocusEventHandler<HTMLButtonElement>;\n}\n\nexport const TabButton = React.forwardRef(\n (\n {\n active,\n disabled,\n iconName,\n onClick,\n onFocus,\n onBlur,\n tabIndex,\n ariaHidden,\n ariaLabel,\n paneId,\n isRefresh,\n text,\n className,\n id,\n }: TabButtonProps,\n ref: React.Ref<HTMLButtonElement>\n ) => {\n return (\n <button\n className={clsx([styles['tab-button'], className], {\n [styles['tab-button--active']]: active,\n [styles['tab-button--disabled']]: disabled,\n [styles['tab-button--refresh']]: isRefresh,\n })}\n id={id}\n type=\"button\"\n onClick={onClick}\n onFocus={onFocus}\n onBlur={onBlur}\n disabled={disabled}\n ref={ref}\n tabIndex={tabIndex}\n role=\"tab\"\n aria-selected={active}\n aria-controls={paneId}\n aria-hidden={ariaHidden}\n aria-label={ariaLabel}\n >\n <InternalIcon name={iconName} /> {text}\n </button>\n );\n }\n);\n"]}
1
+ {"version":3,"file":"tab-button.js","sourceRoot":"","sources":["../../../src/code-editor/tab-button.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAGxB,OAAO,YAAY,MAAM,kBAAkB,CAAC;AAE5C,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAsBrC,MAAM,CAAC,MAAM,SAAS,GAAG,KAAK,CAAC,UAAU,CACvC,CACE,EACE,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,OAAO,EACP,MAAM,EACN,QAAQ,EACR,UAAU,EACV,SAAS,EACT,MAAM,EACN,SAAS,EACT,KAAK,EACL,IAAI,EACJ,SAAS,EACT,EAAE,GACa,EACjB,GAAiC,EACjC,EAAE;IACF,OAAO,CACL,gCACE,SAAS,EAAE,IAAI,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE,SAAS,CAAC,EAAE;YACjD,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC,EAAE,MAAM;YACtC,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,EAAE,QAAQ;YAC1C,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC,EAAE,SAAS;SAC3C,CAAC,EACF,EAAE,EAAE,EAAE,EACN,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,GAAG,EAAE,GAAG,EACR,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAC,KAAK,mBACK,MAAM,mBACN,MAAM,iBACR,UAAU,gBACX,SAAS;QAErB,oBAAC,YAAY,IAAC,IAAI,EAAE,QAAQ,GAAI;QAChC,8BAAM,SAAS,EAAE,MAAM,CAAC,KAAK,IAAG,KAAK,CAAQ;QAC7C,8BAAM,SAAS,EAAE,MAAM,CAAC,IAAI,IAAG,IAAI,CAAQ,CACpC,CACV,CAAC;AACJ,CAAC,CACF,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport { IconProps } from '../icon/interfaces';\nimport InternalIcon from '../icon/internal';\n\nimport styles from './styles.css.js';\n\ninterface TabButtonProps {\n count: number;\n text: string;\n iconName: IconProps.Name;\n active: boolean;\n disabled: boolean;\n tabIndex?: number;\n ariaHidden?: boolean;\n ariaLabel?: string;\n paneId?: string;\n isRefresh: boolean;\n\n className: string;\n id?: string;\n\n onClick: () => void;\n onFocus?: React.FocusEventHandler<HTMLButtonElement>;\n onBlur?: React.FocusEventHandler<HTMLButtonElement>;\n}\n\nexport const TabButton = React.forwardRef(\n (\n {\n active,\n disabled,\n iconName,\n onClick,\n onFocus,\n onBlur,\n tabIndex,\n ariaHidden,\n ariaLabel,\n paneId,\n isRefresh,\n count,\n text,\n className,\n id,\n }: TabButtonProps,\n ref: React.Ref<HTMLButtonElement>\n ) => {\n return (\n <button\n className={clsx([styles['tab-button'], className], {\n [styles['tab-button--active']]: active,\n [styles['tab-button--disabled']]: disabled,\n [styles['tab-button--refresh']]: isRefresh,\n })}\n id={id}\n type=\"button\"\n onClick={onClick}\n onFocus={onFocus}\n onBlur={onBlur}\n disabled={disabled}\n ref={ref}\n tabIndex={tabIndex}\n role=\"tab\"\n aria-selected={active}\n aria-controls={paneId}\n aria-hidden={ariaHidden}\n aria-label={ariaLabel}\n >\n <InternalIcon name={iconName} />\n <span className={styles.count}>{count}</span>\n <span className={styles.text}>{text}</span>\n </button>\n );\n }\n);\n"]}
@@ -1,4 +1,4 @@
1
1
  export var PACKAGE_SOURCE = "components";
2
- export var PACKAGE_VERSION = "3.0.0 (dfa46e92)";
2
+ export var PACKAGE_VERSION = "3.0.0 (1c2a3ff0)";
3
3
  export var THEME = "open-source-visual-refresh";
4
4
  export var ALWAYS_VISUAL_REFRESH = true;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "PACKAGE_SOURCE": "components",
3
- "PACKAGE_VERSION": "3.0.0 (dfa46e92)",
3
+ "PACKAGE_VERSION": "3.0.0 (1c2a3ff0)",
4
4
  "THEME": "default",
5
5
  "ALWAYS_VISUAL_REFRESH": false
6
6
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "dfa46e925f8637dc360a37ba6c2dc5340db6ea47"
2
+ "commit": "1c2a3ff0dd8510717783d161f5a07ec871317a0f"
3
3
  }
package/package.json CHANGED
@@ -117,7 +117,7 @@
117
117
  "./internal/base-component/index.js",
118
118
  "./internal/base-component/styles.css.js"
119
119
  ],
120
- "version": "3.0.658",
120
+ "version": "3.0.659",
121
121
  "repository": {
122
122
  "type": "git",
123
123
  "url": "https://github.com/cloudscape-design/components.git"