@cloudscape-design/components-themeable 3.0.673 → 3.0.674
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/internal/manifest.json +1 -1
- package/lib/internal/scss/code-editor/styles.scss +31 -10
- package/lib/internal/template/code-editor/status-bar.d.ts +1 -1
- package/lib/internal/template/code-editor/status-bar.d.ts.map +1 -1
- package/lib/internal/template/code-editor/status-bar.js +9 -26
- package/lib/internal/template/code-editor/status-bar.js.map +1 -1
- package/lib/internal/template/code-editor/styles.css.js +33 -32
- package/lib/internal/template/code-editor/styles.scoped.css +204 -185
- package/lib/internal/template/code-editor/styles.selectors.js +33 -32
- package/lib/internal/template/code-editor/tab-button.d.ts +1 -0
- package/lib/internal/template/code-editor/tab-button.d.ts.map +1 -1
- package/lib/internal/template/code-editor/tab-button.js +3 -3
- package/lib/internal/template/code-editor/tab-button.js.map +1 -1
- package/lib/internal/template/internal/environment.js +1 -1
- package/lib/internal/template/internal/environment.json +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
6
|
-
"code-editor": "awsui_code-
|
|
7
|
-
"pane": "
|
|
8
|
-
"pane__close-container": "awsui_pane__close-
|
|
9
|
-
"pane__list": "
|
|
10
|
-
"pane__table": "
|
|
11
|
-
"pane__item": "
|
|
12
|
-
"pane__cell": "
|
|
13
|
-
"pane__item--highlighted": "awsui_pane__item--
|
|
14
|
-
"pane__location": "
|
|
15
|
-
"pane__description": "
|
|
16
|
-
"focus-lock": "awsui_focus-
|
|
17
|
-
"editor": "
|
|
18
|
-
"editor-refresh": "awsui_editor-
|
|
19
|
-
"status-bar": "awsui_status-
|
|
20
|
-
"status-bar-with-hidden-pane": "awsui_status-bar-with-hidden-
|
|
21
|
-
"status-bar__left": "awsui_status-
|
|
22
|
-
"status-
|
|
23
|
-
"status-
|
|
24
|
-
"status-
|
|
25
|
-
"status-
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"tab-button": "awsui_tab-
|
|
29
|
-
"tab-button--
|
|
30
|
-
"tab-button--
|
|
31
|
-
"tab-button--
|
|
32
|
-
"tab-button--
|
|
33
|
-
"tab-button--
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
5
|
+
"code-editor-refresh": "awsui_code-editor-refresh_1gl9c_1kyah_102",
|
|
6
|
+
"code-editor": "awsui_code-editor_1gl9c_1kyah_102",
|
|
7
|
+
"pane": "awsui_pane_1gl9c_1kyah_640",
|
|
8
|
+
"pane__close-container": "awsui_pane__close-container_1gl9c_1kyah_651",
|
|
9
|
+
"pane__list": "awsui_pane__list_1gl9c_1kyah_656",
|
|
10
|
+
"pane__table": "awsui_pane__table_1gl9c_1kyah_663",
|
|
11
|
+
"pane__item": "awsui_pane__item_1gl9c_1kyah_669",
|
|
12
|
+
"pane__cell": "awsui_pane__cell_1gl9c_1kyah_669",
|
|
13
|
+
"pane__item--highlighted": "awsui_pane__item--highlighted_1gl9c_1kyah_683",
|
|
14
|
+
"pane__location": "awsui_pane__location_1gl9c_1kyah_704",
|
|
15
|
+
"pane__description": "awsui_pane__description_1gl9c_1kyah_704",
|
|
16
|
+
"focus-lock": "awsui_focus-lock_1gl9c_1kyah_719",
|
|
17
|
+
"editor": "awsui_editor_1gl9c_1kyah_770",
|
|
18
|
+
"editor-refresh": "awsui_editor-refresh_1gl9c_1kyah_798",
|
|
19
|
+
"status-bar": "awsui_status-bar_1gl9c_1kyah_803",
|
|
20
|
+
"status-bar-with-hidden-pane": "awsui_status-bar-with-hidden-pane_1gl9c_1kyah_812",
|
|
21
|
+
"status-bar__left": "awsui_status-bar__left_1gl9c_1kyah_816",
|
|
22
|
+
"status-bar__right": "awsui_status-bar__right_1gl9c_1kyah_823",
|
|
23
|
+
"status-bar__language-mode": "awsui_status-bar__language-mode_1gl9c_1kyah_827",
|
|
24
|
+
"status-bar__cursor-position": "awsui_status-bar__cursor-position_1gl9c_1kyah_827",
|
|
25
|
+
"status-bar__cog-button": "awsui_status-bar__cog-button_1gl9c_1kyah_833",
|
|
26
|
+
"tab-list": "awsui_tab-list_1gl9c_1kyah_838",
|
|
27
|
+
"tab-button": "awsui_tab-button_1gl9c_1kyah_843",
|
|
28
|
+
"tab-button--refresh": "awsui_tab-button--refresh_1gl9c_1kyah_876",
|
|
29
|
+
"tab-button--warnings": "awsui_tab-button--warnings_1gl9c_1kyah_879",
|
|
30
|
+
"tab-button--active": "awsui_tab-button--active_1gl9c_1kyah_888",
|
|
31
|
+
"tab-button--disabled": "awsui_tab-button--disabled_1gl9c_1kyah_904",
|
|
32
|
+
"tab-button--divider": "awsui_tab-button--divider_1gl9c_1kyah_937",
|
|
33
|
+
"tab-button--errors": "awsui_tab-button--errors_1gl9c_1kyah_944",
|
|
34
|
+
"count": "awsui_count_1gl9c_1kyah_953",
|
|
35
|
+
"text": "awsui_text_1gl9c_1kyah_956",
|
|
36
|
+
"loading-screen": "awsui_loading-screen_1gl9c_1kyah_970",
|
|
37
|
+
"error-screen": "awsui_error-screen_1gl9c_1kyah_971"
|
|
37
38
|
};
|
|
38
39
|
|
|
@@ -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,QAAQ,EAAE,SAAS,CAAC,IAAI,CAAC;IACzB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IAC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 '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;
|
|
1
|
+
{"version":3,"file":"tab-button.js","sourceRoot":"","sources":["../../../src/code-editor/tab-button.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC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.\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"]}
|