@cloudscape-design/components-themeable 3.0.1223 → 3.0.1225

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
  3. package/lib/internal/scss/internal/styles/typography/mixins.scss +1 -0
  4. package/lib/internal/scss/prompt-input/styles.scss +1 -0
  5. package/lib/internal/template/app-layout/interfaces.d.ts +1 -1
  6. package/lib/internal/template/app-layout/interfaces.js.map +1 -1
  7. package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.js +1 -1
  8. package/lib/internal/template/app-layout/visual-refresh-toolbar/toolbar/index.js.map +1 -1
  9. package/lib/internal/template/box/styles.css.js +192 -192
  10. package/lib/internal/template/box/styles.scoped.css +239 -237
  11. package/lib/internal/template/box/styles.selectors.js +192 -192
  12. package/lib/internal/template/button/internal.js +1 -1
  13. package/lib/internal/template/button/internal.js.map +1 -1
  14. package/lib/internal/template/file-input/internal.d.ts.map +1 -1
  15. package/lib/internal/template/file-input/internal.js +6 -1
  16. package/lib/internal/template/file-input/internal.js.map +1 -1
  17. package/lib/internal/template/help-panel/styles.css.js +6 -6
  18. package/lib/internal/template/help-panel/styles.scoped.css +68 -67
  19. package/lib/internal/template/help-panel/styles.selectors.js +6 -6
  20. package/lib/internal/template/internal/base-component/styles.scoped.css +2 -1
  21. package/lib/internal/template/internal/environment.js +2 -2
  22. package/lib/internal/template/internal/environment.json +2 -2
  23. package/lib/internal/template/internal/generated/styles/tokens.d.ts +1 -0
  24. package/lib/internal/template/internal/generated/styles/tokens.js +1 -0
  25. package/lib/internal/template/internal/generated/theming/index.cjs +13 -0
  26. package/lib/internal/template/internal/generated/theming/index.cjs.d.ts +45 -0
  27. package/lib/internal/template/internal/generated/theming/index.d.ts +45 -0
  28. package/lib/internal/template/internal/generated/theming/index.js +13 -0
  29. package/lib/internal/template/link/interfaces.d.ts +6 -6
  30. package/lib/internal/template/link/interfaces.js.map +1 -1
  31. package/lib/internal/template/link/styles.css.js +20 -20
  32. package/lib/internal/template/link/styles.scoped.css +72 -71
  33. package/lib/internal/template/link/styles.selectors.js +20 -20
  34. package/lib/internal/template/popover/styles.css.js +57 -57
  35. package/lib/internal/template/popover/styles.scoped.css +91 -89
  36. package/lib/internal/template/popover/styles.selectors.js +57 -57
  37. package/lib/internal/template/prompt-input/styles.css.js +17 -17
  38. package/lib/internal/template/prompt-input/styles.scoped.css +40 -39
  39. package/lib/internal/template/prompt-input/styles.selectors.js +17 -17
  40. package/lib/internal/template/property-filter/controller.d.ts.map +1 -1
  41. package/lib/internal/template/property-filter/controller.js +2 -2
  42. package/lib/internal/template/property-filter/controller.js.map +1 -1
  43. package/lib/internal/template/property-filter/filter-options.js +2 -1
  44. package/lib/internal/template/property-filter/filter-options.js.map +1 -1
  45. package/lib/internal/template/property-filter/internal.d.ts.map +1 -1
  46. package/lib/internal/template/property-filter/internal.js +5 -1
  47. package/lib/internal/template/property-filter/internal.js.map +1 -1
  48. package/lib/internal/template/property-filter/token.d.ts.map +1 -1
  49. package/lib/internal/template/property-filter/token.js +8 -4
  50. package/lib/internal/template/property-filter/token.js.map +1 -1
  51. package/lib/internal/template/property-filter/utils.d.ts +3 -1
  52. package/lib/internal/template/property-filter/utils.d.ts.map +1 -1
  53. package/lib/internal/template/property-filter/utils.js +14 -2
  54. package/lib/internal/template/property-filter/utils.js.map +1 -1
  55. package/lib/internal/template/text-content/styles.css.js +1 -1
  56. package/lib/internal/template/text-content/styles.scoped.css +61 -60
  57. package/lib/internal/template/text-content/styles.selectors.js +1 -1
  58. package/package.json +1 -1
@@ -245,6 +245,11 @@ export declare interface TypedOverride {
245
245
  fontWeightHeadingM?: GlobalValue;
246
246
  fontWeightHeadingS?: GlobalValue;
247
247
  fontWeightHeadingXs?: GlobalValue;
248
+ letterSpacingHeadingXl?: GlobalValue;
249
+ letterSpacingHeadingL?: GlobalValue;
250
+ letterSpacingHeadingM?: GlobalValue;
251
+ letterSpacingHeadingS?: GlobalValue;
252
+ letterSpacingHeadingXs?: GlobalValue;
248
253
  lineHeightBodyM?: GlobalValue;
249
254
  lineHeightBodyS?: GlobalValue;
250
255
  lineHeightDisplayL?: GlobalValue;
@@ -528,6 +533,11 @@ export declare interface TypedOverride {
528
533
  fontWeightHeadingM?: GlobalValue;
529
534
  fontWeightHeadingS?: GlobalValue;
530
535
  fontWeightHeadingXs?: GlobalValue;
536
+ letterSpacingHeadingXl?: GlobalValue;
537
+ letterSpacingHeadingL?: GlobalValue;
538
+ letterSpacingHeadingM?: GlobalValue;
539
+ letterSpacingHeadingS?: GlobalValue;
540
+ letterSpacingHeadingXs?: GlobalValue;
531
541
  lineHeightBodyM?: GlobalValue;
532
542
  lineHeightBodyS?: GlobalValue;
533
543
  lineHeightDisplayL?: GlobalValue;
@@ -811,6 +821,11 @@ export declare interface TypedOverride {
811
821
  fontWeightHeadingM?: GlobalValue;
812
822
  fontWeightHeadingS?: GlobalValue;
813
823
  fontWeightHeadingXs?: GlobalValue;
824
+ letterSpacingHeadingXl?: GlobalValue;
825
+ letterSpacingHeadingL?: GlobalValue;
826
+ letterSpacingHeadingM?: GlobalValue;
827
+ letterSpacingHeadingS?: GlobalValue;
828
+ letterSpacingHeadingXs?: GlobalValue;
814
829
  lineHeightBodyM?: GlobalValue;
815
830
  lineHeightBodyS?: GlobalValue;
816
831
  lineHeightDisplayL?: GlobalValue;
@@ -1094,6 +1109,11 @@ export declare interface TypedOverride {
1094
1109
  fontWeightHeadingM?: GlobalValue;
1095
1110
  fontWeightHeadingS?: GlobalValue;
1096
1111
  fontWeightHeadingXs?: GlobalValue;
1112
+ letterSpacingHeadingXl?: GlobalValue;
1113
+ letterSpacingHeadingL?: GlobalValue;
1114
+ letterSpacingHeadingM?: GlobalValue;
1115
+ letterSpacingHeadingS?: GlobalValue;
1116
+ letterSpacingHeadingXs?: GlobalValue;
1097
1117
  lineHeightBodyM?: GlobalValue;
1098
1118
  lineHeightBodyS?: GlobalValue;
1099
1119
  lineHeightDisplayL?: GlobalValue;
@@ -1377,6 +1397,11 @@ export declare interface TypedOverride {
1377
1397
  fontWeightHeadingM?: GlobalValue;
1378
1398
  fontWeightHeadingS?: GlobalValue;
1379
1399
  fontWeightHeadingXs?: GlobalValue;
1400
+ letterSpacingHeadingXl?: GlobalValue;
1401
+ letterSpacingHeadingL?: GlobalValue;
1402
+ letterSpacingHeadingM?: GlobalValue;
1403
+ letterSpacingHeadingS?: GlobalValue;
1404
+ letterSpacingHeadingXs?: GlobalValue;
1380
1405
  lineHeightBodyM?: GlobalValue;
1381
1406
  lineHeightBodyS?: GlobalValue;
1382
1407
  lineHeightDisplayL?: GlobalValue;
@@ -1660,6 +1685,11 @@ export declare interface TypedOverride {
1660
1685
  fontWeightHeadingM?: GlobalValue;
1661
1686
  fontWeightHeadingS?: GlobalValue;
1662
1687
  fontWeightHeadingXs?: GlobalValue;
1688
+ letterSpacingHeadingXl?: GlobalValue;
1689
+ letterSpacingHeadingL?: GlobalValue;
1690
+ letterSpacingHeadingM?: GlobalValue;
1691
+ letterSpacingHeadingS?: GlobalValue;
1692
+ letterSpacingHeadingXs?: GlobalValue;
1663
1693
  lineHeightBodyM?: GlobalValue;
1664
1694
  lineHeightBodyS?: GlobalValue;
1665
1695
  lineHeightDisplayL?: GlobalValue;
@@ -1943,6 +1973,11 @@ export declare interface TypedOverride {
1943
1973
  fontWeightHeadingM?: GlobalValue;
1944
1974
  fontWeightHeadingS?: GlobalValue;
1945
1975
  fontWeightHeadingXs?: GlobalValue;
1976
+ letterSpacingHeadingXl?: GlobalValue;
1977
+ letterSpacingHeadingL?: GlobalValue;
1978
+ letterSpacingHeadingM?: GlobalValue;
1979
+ letterSpacingHeadingS?: GlobalValue;
1980
+ letterSpacingHeadingXs?: GlobalValue;
1946
1981
  lineHeightBodyM?: GlobalValue;
1947
1982
  lineHeightBodyS?: GlobalValue;
1948
1983
  lineHeightDisplayL?: GlobalValue;
@@ -2226,6 +2261,11 @@ export declare interface TypedOverride {
2226
2261
  fontWeightHeadingM?: GlobalValue;
2227
2262
  fontWeightHeadingS?: GlobalValue;
2228
2263
  fontWeightHeadingXs?: GlobalValue;
2264
+ letterSpacingHeadingXl?: GlobalValue;
2265
+ letterSpacingHeadingL?: GlobalValue;
2266
+ letterSpacingHeadingM?: GlobalValue;
2267
+ letterSpacingHeadingS?: GlobalValue;
2268
+ letterSpacingHeadingXs?: GlobalValue;
2229
2269
  lineHeightBodyM?: GlobalValue;
2230
2270
  lineHeightBodyS?: GlobalValue;
2231
2271
  lineHeightDisplayL?: GlobalValue;
@@ -2509,6 +2549,11 @@ export declare interface TypedOverride {
2509
2549
  fontWeightHeadingM?: GlobalValue;
2510
2550
  fontWeightHeadingS?: GlobalValue;
2511
2551
  fontWeightHeadingXs?: GlobalValue;
2552
+ letterSpacingHeadingXl?: GlobalValue;
2553
+ letterSpacingHeadingL?: GlobalValue;
2554
+ letterSpacingHeadingM?: GlobalValue;
2555
+ letterSpacingHeadingS?: GlobalValue;
2556
+ letterSpacingHeadingXs?: GlobalValue;
2512
2557
  lineHeightBodyM?: GlobalValue;
2513
2558
  lineHeightBodyS?: GlobalValue;
2514
2559
  lineHeightDisplayL?: GlobalValue;
@@ -2296,6 +2296,7 @@ export var preset = {
2296
2296
  "letterSpacingHeadingL": "-0.015em",
2297
2297
  "letterSpacingHeadingM": "-0.010em",
2298
2298
  "letterSpacingHeadingS": "-0.005em",
2299
+ "letterSpacingHeadingXs": "normal",
2299
2300
  "lineHeightBodyM": "20px",
2300
2301
  "lineHeightBodyS": "16px",
2301
2302
  "lineHeightDisplayL": "48px",
@@ -11748,6 +11749,11 @@ export var preset = {
11748
11749
  "fontWeightHeadingM",
11749
11750
  "fontWeightHeadingS",
11750
11751
  "fontWeightHeadingXs",
11752
+ "letterSpacingHeadingXl",
11753
+ "letterSpacingHeadingL",
11754
+ "letterSpacingHeadingM",
11755
+ "letterSpacingHeadingS",
11756
+ "letterSpacingHeadingXs",
11751
11757
  "lineHeightBodyM",
11752
11758
  "lineHeightBodyS",
11753
11759
  "lineHeightDisplayL",
@@ -12127,6 +12133,11 @@ export var preset = {
12127
12133
  "fontWeightHeadingM",
12128
12134
  "fontWeightHeadingS",
12129
12135
  "fontWeightHeadingXs",
12136
+ "letterSpacingHeadingXl",
12137
+ "letterSpacingHeadingL",
12138
+ "letterSpacingHeadingM",
12139
+ "letterSpacingHeadingS",
12140
+ "letterSpacingHeadingXs",
12130
12141
  "lineHeightBodyM",
12131
12142
  "lineHeightBodyS",
12132
12143
  "lineHeightDisplayL",
@@ -12796,6 +12807,7 @@ export var preset = {
12796
12807
  "letterSpacingHeadingL": "letter-spacing-heading-l",
12797
12808
  "letterSpacingHeadingM": "letter-spacing-heading-m",
12798
12809
  "letterSpacingHeadingS": "letter-spacing-heading-s",
12810
+ "letterSpacingHeadingXs": "letter-spacing-heading-xs",
12799
12811
  "lineHeightBodyM": "line-height-body-m",
12800
12812
  "lineHeightBodyS": "line-height-body-s",
12801
12813
  "lineHeightDisplayL": "line-height-display-l",
@@ -13616,6 +13628,7 @@ export var preset = {
13616
13628
  "letterSpacingHeadingL": "--letter-spacing-heading-l-5v6ibv",
13617
13629
  "letterSpacingHeadingM": "--letter-spacing-heading-m-29ewnk",
13618
13630
  "letterSpacingHeadingS": "--letter-spacing-heading-s-4st9ep",
13631
+ "letterSpacingHeadingXs": "--letter-spacing-heading-xs-fgog7a",
13619
13632
  "lineHeightBodyM": "--line-height-body-m-2mh3ke",
13620
13633
  "lineHeightBodyS": "--line-height-body-s-nu5hx1",
13621
13634
  "lineHeightDisplayL": "--line-height-display-l-vwanzp",
@@ -9,12 +9,12 @@ export interface LinkProps extends BaseComponentProps {
9
9
  /**
10
10
  * Determines the visual style of the link as follows:
11
11
  *
12
- * - `primary` - Displays the link text with bold styling for sufficient contrast with surrounding text.
13
- * Use this for links where the context doesn't imply interactivity such as
14
- * "Learn more" links and links within paragraphs.
15
- * - `secondary` - Does not provide any additional indicators for interactivity (except for an underline when the user hovers over or focuses the link).
16
- * This can be used in cases where the interactivity is strongly implied by its context,
17
- * such as in a table or a list of external links.
12
+ * - `primary` - Displays the link text with an underline for sufficient contrast with surrounding text.
13
+ * Use this for links adjacent to other text, such as inside a paragraph, a "Learn more" link,
14
+ * an item ID in a table, a link in a key-value pair, or a link in an alert.
15
+ * - `secondary` - Uses regular font weight without additional interactivity indicators (except for an underline on hover).
16
+ * Use this where context implies interactivity and users can identify links easily,
17
+ * such as in a list of links inside a container.
18
18
  * - `info` - Use for "info" links that link to content in a help panel.
19
19
  *
20
20
  * The default is `secondary`, except inside the following components where it defaults to `primary`:
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/link/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport { BaseComponentProps } from '../internal/base-component';\nimport {\n BaseNavigationDetail,\n CancelableEventHandler,\n ClickDetail as _ClickDetail,\n NonCancelableEventHandler,\n} from '../internal/events';\n/**\n * @awsuiSystem core\n */\nimport { NativeAttributes } from '../internal/utils/with-native-attributes';\n\nexport interface LinkProps extends BaseComponentProps {\n /**\n * Determines the visual style of the link as follows:\n *\n * - `primary` - Displays the link text with bold styling for sufficient contrast with surrounding text.\n * Use this for links where the context doesn't imply interactivity such as\n * \"Learn more\" links and links within paragraphs.\n * - `secondary` - Does not provide any additional indicators for interactivity (except for an underline when the user hovers over or focuses the link).\n * This can be used in cases where the interactivity is strongly implied by its context,\n * such as in a table or a list of external links.\n * - `info` - Use for \"info\" links that link to content in a help panel.\n *\n * The default is `secondary`, except inside the following components where it defaults to `primary`:\n * - Table\n * - Cards\n * - Alert\n * - Popover\n * - Help Panel (main `content` only)\n */\n variant?: LinkProps.Variant;\n\n /**\n * Determines the font size and line height.\n * This property is overridden if the variant is `info`.\n */\n fontSize?: LinkProps.FontSize;\n\n /**\n * Determines the text color of the link and its icon.\n *\n * - `normal`: Use in most cases where a link is required.\n * - `inverted`: Use to style links inside Flashbars.\n *\n * This property is overridden if the variant is `info`.\n */\n color?: LinkProps.Color;\n\n /**\n * Marks the link as external by adding an icon after the text. If `href`\n * is provided, opens the link in a new tab when clicked.\n */\n external?: boolean;\n\n /**\n * Specifies where to open the linked URL. Set this to `_blank` to open the URL\n * in a new tab. If you set this property to `_blank`, the component\n * automatically adds `rel=\"noopener noreferrer\"` to avoid performance\n * and security issues.\n *\n * For other options see the documentation for <a> tag's\n * [target attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target).\n */\n target?: string;\n\n /**\n * The URL that the link points to.\n * If an `href` is not provided, the component will render using a\n * \"button\" role and `target` will not be used.\n */\n href?: string;\n\n /**\n * The text to render inside the link.\n */\n children?: React.ReactNode;\n\n /**\n * Adds an aria-label to the HTML element.\n */\n ariaLabel?: string;\n\n /**\n * Adds an aria-label to the external icon.\n * @i18n\n */\n externalIconAriaLabel?: string;\n\n /**\n * Called when a link is clicked without any modifier keys. If the link has no `href` provided, it will be called on\n * all clicks.\n *\n * If you want to implement client-side routing yourself, use this event and prevent default browser navigation\n * (by calling `preventDefault`).\n */\n onFollow?: CancelableEventHandler<LinkProps.FollowDetail>;\n\n /**\n * Called when the user clicks on the link. Do not use this handler for navigation, use the `onFollow` event instead.\n */\n onClick?: NonCancelableEventHandler<LinkProps.ClickDetail>;\n\n /**\n * Adds a `rel` attribute to the link. If the `rel` property is provided, it overrides the default behaviour.\n * By default, the component sets the `rel` attribute to \"noopener noreferrer\" when `external` is `true` or `target` is `\"_blank\"`.\n */\n rel?: string;\n\n /**\n * An object containing CSS properties to customize the link's visual appearance.\n * Refer to the [style](/components/link/?tabId=style) tab for more details.\n * @awsuiSystem core\n */\n style?: LinkProps.Style;\n\n /**\n * Attributes to add to the native element.\n * Some attributes will be automatically combined with internal attribute values:\n * - `className` will be appended.\n * - Event handlers will be chained, unless the default is prevented.\n *\n * We do not support using this attribute to apply custom styling.\n *\n * @awsuiSystem core\n */\n nativeAttributes?: NativeAttributes<React.AnchorHTMLAttributes<HTMLAnchorElement>>;\n}\n\nexport namespace LinkProps {\n export type Variant = 'primary' | 'secondary' | 'info' | 'awsui-value-large';\n export type FontSize =\n | 'body-s'\n | 'body-m'\n | 'heading-xs'\n | 'heading-s'\n | 'heading-m'\n | 'heading-l'\n | 'heading-xl'\n | 'display-l'\n | 'inherit';\n export type Color = 'normal' | 'inverted';\n\n export type FollowDetail = BaseNavigationDetail;\n\n export interface Ref {\n /**\n * Sets the browser focus on the anchor element.\n */\n focus(): void;\n }\n\n export type ClickDetail = _ClickDetail;\n export interface Style {\n root?: {\n color?: {\n active?: string;\n default?: string;\n hover?: string;\n };\n focusRing?: {\n borderColor?: string;\n borderRadius?: string;\n borderWidth?: string;\n };\n };\n }\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/link/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport { BaseComponentProps } from '../internal/base-component';\nimport {\n BaseNavigationDetail,\n CancelableEventHandler,\n ClickDetail as _ClickDetail,\n NonCancelableEventHandler,\n} from '../internal/events';\n/**\n * @awsuiSystem core\n */\nimport { NativeAttributes } from '../internal/utils/with-native-attributes';\n\nexport interface LinkProps extends BaseComponentProps {\n /**\n * Determines the visual style of the link as follows:\n *\n * - `primary` - Displays the link text with an underline for sufficient contrast with surrounding text.\n * Use this for links adjacent to other text, such as inside a paragraph, a \"Learn more\" link,\n * an item ID in a table, a link in a key-value pair, or a link in an alert.\n * - `secondary` - Uses regular font weight without additional interactivity indicators (except for an underline on hover).\n * Use this where context implies interactivity and users can identify links easily,\n * such as in a list of links inside a container.\n * - `info` - Use for \"info\" links that link to content in a help panel.\n *\n * The default is `secondary`, except inside the following components where it defaults to `primary`:\n * - Table\n * - Cards\n * - Alert\n * - Popover\n * - Help Panel (main `content` only)\n */\n variant?: LinkProps.Variant;\n\n /**\n * Determines the font size and line height.\n * This property is overridden if the variant is `info`.\n */\n fontSize?: LinkProps.FontSize;\n\n /**\n * Determines the text color of the link and its icon.\n *\n * - `normal`: Use in most cases where a link is required.\n * - `inverted`: Use to style links inside Flashbars.\n *\n * This property is overridden if the variant is `info`.\n */\n color?: LinkProps.Color;\n\n /**\n * Marks the link as external by adding an icon after the text. If `href`\n * is provided, opens the link in a new tab when clicked.\n */\n external?: boolean;\n\n /**\n * Specifies where to open the linked URL. Set this to `_blank` to open the URL\n * in a new tab. If you set this property to `_blank`, the component\n * automatically adds `rel=\"noopener noreferrer\"` to avoid performance\n * and security issues.\n *\n * For other options see the documentation for <a> tag's\n * [target attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target).\n */\n target?: string;\n\n /**\n * The URL that the link points to.\n * If an `href` is not provided, the component will render using a\n * \"button\" role and `target` will not be used.\n */\n href?: string;\n\n /**\n * The text to render inside the link.\n */\n children?: React.ReactNode;\n\n /**\n * Adds an aria-label to the HTML element.\n */\n ariaLabel?: string;\n\n /**\n * Adds an aria-label to the external icon.\n * @i18n\n */\n externalIconAriaLabel?: string;\n\n /**\n * Called when a link is clicked without any modifier keys. If the link has no `href` provided, it will be called on\n * all clicks.\n *\n * If you want to implement client-side routing yourself, use this event and prevent default browser navigation\n * (by calling `preventDefault`).\n */\n onFollow?: CancelableEventHandler<LinkProps.FollowDetail>;\n\n /**\n * Called when the user clicks on the link. Do not use this handler for navigation, use the `onFollow` event instead.\n */\n onClick?: NonCancelableEventHandler<LinkProps.ClickDetail>;\n\n /**\n * Adds a `rel` attribute to the link. If the `rel` property is provided, it overrides the default behaviour.\n * By default, the component sets the `rel` attribute to \"noopener noreferrer\" when `external` is `true` or `target` is `\"_blank\"`.\n */\n rel?: string;\n\n /**\n * An object containing CSS properties to customize the link's visual appearance.\n * Refer to the [style](/components/link/?tabId=style) tab for more details.\n * @awsuiSystem core\n */\n style?: LinkProps.Style;\n\n /**\n * Attributes to add to the native element.\n * Some attributes will be automatically combined with internal attribute values:\n * - `className` will be appended.\n * - Event handlers will be chained, unless the default is prevented.\n *\n * We do not support using this attribute to apply custom styling.\n *\n * @awsuiSystem core\n */\n nativeAttributes?: NativeAttributes<React.AnchorHTMLAttributes<HTMLAnchorElement>>;\n}\n\nexport namespace LinkProps {\n export type Variant = 'primary' | 'secondary' | 'info' | 'awsui-value-large';\n export type FontSize =\n | 'body-s'\n | 'body-m'\n | 'heading-xs'\n | 'heading-s'\n | 'heading-m'\n | 'heading-l'\n | 'heading-xl'\n | 'display-l'\n | 'inherit';\n export type Color = 'normal' | 'inverted';\n\n export type FollowDetail = BaseNavigationDetail;\n\n export interface Ref {\n /**\n * Sets the browser focus on the anchor element.\n */\n focus(): void;\n }\n\n export type ClickDetail = _ClickDetail;\n export interface Style {\n root?: {\n color?: {\n active?: string;\n default?: string;\n hover?: string;\n };\n focusRing?: {\n borderColor?: string;\n borderRadius?: string;\n borderWidth?: string;\n };\n };\n }\n}\n"]}
@@ -1,25 +1,25 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "link": "awsui_link_4c84z_1jvg2_145",
5
- "variant-secondary": "awsui_variant-secondary_4c84z_1jvg2_212",
6
- "variant-primary": "awsui_variant-primary_4c84z_1jvg2_247",
7
- "variant-info": "awsui_variant-info_4c84z_1jvg2_280",
8
- "variant-value-large": "awsui_variant-value-large_4c84z_1jvg2_315",
9
- "variant-top-navigation": "awsui_variant-top-navigation_4c84z_1jvg2_347",
10
- "variant-recovery": "awsui_variant-recovery_4c84z_1jvg2_382",
11
- "button": "awsui_button_4c84z_1jvg2_415",
12
- "color-inverted": "awsui_color-inverted_4c84z_1jvg2_450",
13
- "font-size-body-s": "awsui_font-size-body-s_4c84z_1jvg2_471",
14
- "font-size-body-m": "awsui_font-size-body-m_4c84z_1jvg2_478",
15
- "font-size-heading-xs": "awsui_font-size-heading-xs_4c84z_1jvg2_484",
16
- "font-size-heading-s": "awsui_font-size-heading-s_4c84z_1jvg2_490",
17
- "font-size-heading-m": "awsui_font-size-heading-m_4c84z_1jvg2_497",
18
- "font-size-heading-l": "awsui_font-size-heading-l_4c84z_1jvg2_504",
19
- "font-size-heading-xl": "awsui_font-size-heading-xl_4c84z_1jvg2_511",
20
- "font-size-display-l": "awsui_font-size-display-l_4c84z_1jvg2_518",
21
- "font-size-inherit": "awsui_font-size-inherit_4c84z_1jvg2_525",
22
- "icon-wrapper": "awsui_icon-wrapper_4c84z_1jvg2_533",
23
- "icon": "awsui_icon_4c84z_1jvg2_533"
4
+ "link": "awsui_link_4c84z_1js89_145",
5
+ "variant-secondary": "awsui_variant-secondary_4c84z_1js89_212",
6
+ "variant-primary": "awsui_variant-primary_4c84z_1js89_247",
7
+ "variant-info": "awsui_variant-info_4c84z_1js89_280",
8
+ "variant-value-large": "awsui_variant-value-large_4c84z_1js89_315",
9
+ "variant-top-navigation": "awsui_variant-top-navigation_4c84z_1js89_347",
10
+ "variant-recovery": "awsui_variant-recovery_4c84z_1js89_382",
11
+ "button": "awsui_button_4c84z_1js89_415",
12
+ "color-inverted": "awsui_color-inverted_4c84z_1js89_450",
13
+ "font-size-body-s": "awsui_font-size-body-s_4c84z_1js89_471",
14
+ "font-size-body-m": "awsui_font-size-body-m_4c84z_1js89_478",
15
+ "font-size-heading-xs": "awsui_font-size-heading-xs_4c84z_1js89_484",
16
+ "font-size-heading-s": "awsui_font-size-heading-s_4c84z_1js89_491",
17
+ "font-size-heading-m": "awsui_font-size-heading-m_4c84z_1js89_498",
18
+ "font-size-heading-l": "awsui_font-size-heading-l_4c84z_1js89_505",
19
+ "font-size-heading-xl": "awsui_font-size-heading-xl_4c84z_1js89_512",
20
+ "font-size-display-l": "awsui_font-size-display-l_4c84z_1js89_519",
21
+ "font-size-inherit": "awsui_font-size-inherit_4c84z_1js89_526",
22
+ "icon-wrapper": "awsui_icon-wrapper_4c84z_1js89_534",
23
+ "icon": "awsui_icon_4c84z_1js89_534"
24
24
  };
25
25