@cloudscape-design/components 3.0.1255 → 3.0.1256

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 (170) hide show
  1. package/alert/styles.css.js +27 -27
  2. package/alert/styles.scoped.css +50 -50
  3. package/alert/styles.selectors.js +27 -27
  4. package/annotation-context/annotation/styles.css.js +13 -13
  5. package/annotation-context/annotation/styles.scoped.css +21 -21
  6. package/annotation-context/annotation/styles.selectors.js +13 -13
  7. package/app-layout/notifications/styles.css.js +3 -3
  8. package/app-layout/notifications/styles.scoped.css +7 -7
  9. package/app-layout/notifications/styles.selectors.js +3 -3
  10. package/app-layout/visual-refresh/styles.css.js +86 -86
  11. package/app-layout/visual-refresh/styles.scoped.css +258 -258
  12. package/app-layout/visual-refresh/styles.selectors.js +86 -86
  13. package/app-layout/visual-refresh-toolbar/drawer/styles.css.js +32 -32
  14. package/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +89 -89
  15. package/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +32 -32
  16. package/app-layout/visual-refresh-toolbar/navigation/styles.css.js +4 -4
  17. package/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +7 -7
  18. package/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +4 -4
  19. package/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +27 -27
  20. package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +54 -54
  21. package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +27 -27
  22. package/attribute-editor/styles.css.js +15 -15
  23. package/attribute-editor/styles.scoped.css +28 -28
  24. package/attribute-editor/styles.selectors.js +15 -15
  25. package/breadcrumb-group/item/styles.css.js +7 -7
  26. package/breadcrumb-group/item/styles.scoped.css +28 -28
  27. package/breadcrumb-group/item/styles.selectors.js +7 -7
  28. package/button/styles.css.js +22 -22
  29. package/button/styles.scoped.css +256 -256
  30. package/button/styles.selectors.js +22 -22
  31. package/button-dropdown/item-element/styles.css.js +21 -21
  32. package/button-dropdown/item-element/styles.scoped.css +37 -37
  33. package/button-dropdown/item-element/styles.selectors.js +21 -21
  34. package/cards/index.js +2 -2
  35. package/cards/index.js.map +1 -1
  36. package/cards/styles.css.js +38 -38
  37. package/cards/styles.scoped.css +43 -43
  38. package/cards/styles.selectors.js +38 -38
  39. package/checkbox/styles.css.js +3 -3
  40. package/checkbox/styles.scoped.css +11 -11
  41. package/checkbox/styles.selectors.js +3 -3
  42. package/content-layout/styles.css.js +14 -14
  43. package/content-layout/styles.scoped.css +27 -27
  44. package/content-layout/styles.selectors.js +14 -14
  45. package/dropdown/styles.css.js +20 -20
  46. package/dropdown/styles.scoped.css +49 -49
  47. package/dropdown/styles.selectors.js +20 -20
  48. package/file-token-group/styles.css.js +23 -23
  49. package/file-token-group/styles.scoped.css +36 -36
  50. package/file-token-group/styles.selectors.js +23 -23
  51. package/flashbar/styles.css.js +50 -50
  52. package/flashbar/styles.scoped.css +187 -187
  53. package/flashbar/styles.selectors.js +50 -50
  54. package/help-panel/styles.css.js +6 -6
  55. package/help-panel/styles.scoped.css +73 -73
  56. package/help-panel/styles.selectors.js +6 -6
  57. package/index.d.ts +1 -0
  58. package/index.d.ts.map +1 -1
  59. package/index.js +1 -0
  60. package/index.js.map +1 -1
  61. package/input/styles.css.js +13 -13
  62. package/input/styles.scoped.css +74 -74
  63. package/input/styles.selectors.js +13 -13
  64. package/internal/base-component/styles.scoped.css +29 -5
  65. package/internal/components/drag-handle-wrapper/styles.css.js +30 -30
  66. package/internal/components/drag-handle-wrapper/styles.scoped.css +58 -58
  67. package/internal/components/drag-handle-wrapper/styles.selectors.js +30 -30
  68. package/internal/components/radio-button/styles.css.js +7 -7
  69. package/internal/components/radio-button/styles.scoped.css +18 -18
  70. package/internal/components/radio-button/styles.selectors.js +7 -7
  71. package/internal/components/token-list/styles.css.js +10 -10
  72. package/internal/components/token-list/styles.scoped.css +25 -25
  73. package/internal/components/token-list/styles.selectors.js +10 -10
  74. package/internal/environment.js +2 -2
  75. package/internal/environment.json +2 -2
  76. package/internal/generated/custom-css-properties/index.d.ts +5 -0
  77. package/internal/generated/custom-css-properties/index.d.ts.map +1 -1
  78. package/internal/generated/custom-css-properties/index.js +159 -154
  79. package/internal/generated/custom-css-properties/index.js.map +1 -1
  80. package/internal/generated/styles/tokens.d.ts +12 -2
  81. package/internal/generated/styles/tokens.js +12 -2
  82. package/internal/generated/theming/index.cjs +152 -10
  83. package/internal/generated/theming/index.cjs.d.ts +18 -0
  84. package/internal/generated/theming/index.d.ts +18 -0
  85. package/internal/generated/theming/index.js +152 -10
  86. package/internal/manifest.json +1 -1
  87. package/item-card/index.d.ts +10 -0
  88. package/item-card/index.d.ts.map +1 -0
  89. package/item-card/index.js +23 -0
  90. package/item-card/index.js.map +1 -0
  91. package/item-card/interfaces.d.ts +122 -0
  92. package/item-card/interfaces.d.ts.map +1 -0
  93. package/item-card/interfaces.js.map +1 -0
  94. package/item-card/internal.d.ts +22 -0
  95. package/item-card/internal.d.ts.map +1 -0
  96. package/item-card/internal.js +29 -0
  97. package/item-card/internal.js.map +1 -0
  98. package/item-card/style.d.ts +20 -0
  99. package/item-card/style.d.ts.map +1 -0
  100. package/item-card/style.js +55 -0
  101. package/item-card/style.js.map +1 -0
  102. package/item-card/styles.css.js +19 -0
  103. package/item-card/styles.scoped.css +361 -0
  104. package/item-card/styles.selectors.js +20 -0
  105. package/item-card/test-classes/styles.css.js +10 -0
  106. package/item-card/test-classes/styles.scoped.css +23 -0
  107. package/item-card/test-classes/styles.selectors.js +11 -0
  108. package/link/styles.css.js +20 -20
  109. package/link/styles.scoped.css +103 -103
  110. package/link/styles.selectors.js +20 -20
  111. package/modal/styles.css.js +31 -31
  112. package/modal/styles.scoped.css +48 -48
  113. package/modal/styles.selectors.js +31 -31
  114. package/package.json +2 -1
  115. package/progress-bar/styles.css.js +18 -18
  116. package/progress-bar/styles.scoped.css +48 -48
  117. package/progress-bar/styles.selectors.js +18 -18
  118. package/prompt-input/styles.css.js +17 -17
  119. package/prompt-input/styles.scoped.css +79 -79
  120. package/prompt-input/styles.selectors.js +17 -17
  121. package/segmented-control/styles.css.js +16 -16
  122. package/segmented-control/styles.scoped.css +46 -46
  123. package/segmented-control/styles.selectors.js +16 -16
  124. package/slider/styles.css.js +26 -26
  125. package/slider/styles.scoped.css +165 -165
  126. package/slider/styles.selectors.js +26 -26
  127. package/spinner/styles.css.js +13 -13
  128. package/spinner/styles.scoped.css +39 -39
  129. package/spinner/styles.selectors.js +13 -13
  130. package/tabs/styles.css.js +30 -30
  131. package/tabs/styles.scoped.css +76 -76
  132. package/tabs/styles.selectors.js +30 -30
  133. package/tag-editor/styles.css.js +3 -3
  134. package/tag-editor/styles.scoped.css +13 -13
  135. package/tag-editor/styles.selectors.js +3 -3
  136. package/test-utils/dom/index.d.ts +28 -0
  137. package/test-utils/dom/index.js +21 -2
  138. package/test-utils/dom/index.js.map +1 -1
  139. package/test-utils/dom/item-card/index.d.ts +28 -0
  140. package/test-utils/dom/item-card/index.js +49 -0
  141. package/test-utils/dom/item-card/index.js.map +1 -0
  142. package/test-utils/selectors/index.d.ts +18 -0
  143. package/test-utils/selectors/index.js +16 -2
  144. package/test-utils/selectors/index.js.map +1 -1
  145. package/test-utils/selectors/item-card/index.d.ts +28 -0
  146. package/test-utils/selectors/item-card/index.js +49 -0
  147. package/test-utils/selectors/item-card/index.js.map +1 -0
  148. package/text-content/styles.css.js +1 -1
  149. package/text-content/styles.scoped.css +66 -66
  150. package/text-content/styles.selectors.js +1 -1
  151. package/textarea/styles.css.js +5 -5
  152. package/textarea/styles.scoped.css +45 -45
  153. package/textarea/styles.selectors.js +5 -5
  154. package/toggle/styles.css.js +10 -10
  155. package/toggle/styles.scoped.css +23 -23
  156. package/toggle/styles.selectors.js +10 -10
  157. package/token/styles.css.js +14 -14
  158. package/token/styles.scoped.css +48 -48
  159. package/token/styles.selectors.js +14 -14
  160. package/internal/components/card/index.d.ts +0 -14
  161. package/internal/components/card/index.d.ts.map +0 -1
  162. package/internal/components/card/index.js +0 -16
  163. package/internal/components/card/index.js.map +0 -1
  164. package/internal/components/card/interfaces.d.ts +0 -44
  165. package/internal/components/card/interfaces.d.ts.map +0 -1
  166. package/internal/components/card/interfaces.js.map +0 -1
  167. package/internal/components/card/styles.css.js +0 -16
  168. package/internal/components/card/styles.scoped.css +0 -318
  169. package/internal/components/card/styles.selectors.js +0 -17
  170. /package/{internal/components/card → item-card}/interfaces.js +0 -0
@@ -2,19 +2,19 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "root": "awsui_root_1i2wg_cs7po_161",
6
- "dismiss-button": "awsui_dismiss-button_1i2wg_cs7po_193",
7
- "dismiss-button-inline": "awsui_dismiss-button-inline_1i2wg_cs7po_234",
8
- "icon": "awsui_icon_1i2wg_cs7po_241",
9
- "icon-inline": "awsui_icon-inline_1i2wg_cs7po_247",
10
- "token-normal": "awsui_token-normal_1i2wg_cs7po_252",
11
- "token-inline": "awsui_token-inline_1i2wg_cs7po_259",
12
- "token-option-inline": "awsui_token-option-inline_1i2wg_cs7po_285",
13
- "token-box": "awsui_token-box_1i2wg_cs7po_289",
14
- "token-box-without-dismiss": "awsui_token-box-without-dismiss_1i2wg_cs7po_308",
15
- "token-box-inline": "awsui_token-box-inline_1i2wg_cs7po_312",
16
- "disable-padding": "awsui_disable-padding_1i2wg_cs7po_332",
17
- "token-box-readonly": "awsui_token-box-readonly_1i2wg_cs7po_339",
18
- "token-box-disabled": "awsui_token-box-disabled_1i2wg_cs7po_340"
5
+ "root": "awsui_root_1i2wg_ru6wz_161",
6
+ "dismiss-button": "awsui_dismiss-button_1i2wg_ru6wz_193",
7
+ "dismiss-button-inline": "awsui_dismiss-button-inline_1i2wg_ru6wz_234",
8
+ "icon": "awsui_icon_1i2wg_ru6wz_241",
9
+ "icon-inline": "awsui_icon-inline_1i2wg_ru6wz_247",
10
+ "token-normal": "awsui_token-normal_1i2wg_ru6wz_252",
11
+ "token-inline": "awsui_token-inline_1i2wg_ru6wz_259",
12
+ "token-option-inline": "awsui_token-option-inline_1i2wg_ru6wz_285",
13
+ "token-box": "awsui_token-box_1i2wg_ru6wz_289",
14
+ "token-box-without-dismiss": "awsui_token-box-without-dismiss_1i2wg_ru6wz_308",
15
+ "token-box-inline": "awsui_token-box-inline_1i2wg_ru6wz_312",
16
+ "disable-padding": "awsui_disable-padding_1i2wg_ru6wz_332",
17
+ "token-box-readonly": "awsui_token-box-readonly_1i2wg_ru6wz_339",
18
+ "token-box-disabled": "awsui_token-box-disabled_1i2wg_ru6wz_340"
19
19
  };
20
20
 
@@ -1,14 +0,0 @@
1
- import { InternalCardProps } from './interfaces';
2
- export default function Card({
3
- actions,
4
- selected,
5
- children,
6
- className,
7
- header,
8
- description,
9
- icon,
10
- metadataAttributes,
11
- onClick,
12
- disableHeaderPaddings,
13
- disableContentPaddings
14
- }: InternalCardProps): JSX.Element;
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/card/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAIjD,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAC3B,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,MAAM,EACN,WAAW,EACX,IAAI,EACJ,kBAAkB,EAClB,OAAO,EACP,qBAAqB,EACrB,sBAAsB,GACvB,EAAE,iBAAiB,eAqCnB"}
@@ -1,16 +0,0 @@
1
- // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- // SPDX-License-Identifier: Apache-2.0
3
- import React from 'react';
4
- import clsx from 'clsx';
5
- import { useVisualRefresh } from '../../hooks/use-visual-mode';
6
- import InternalStructuredItem from '../structured-item';
7
- import styles from './styles.css.js';
8
- export default function Card({ actions, selected, children, className, header, description, icon, metadataAttributes, onClick, disableHeaderPaddings, disableContentPaddings, }) {
9
- const isRefresh = useVisualRefresh();
10
- const headerRowEmpty = !header && !description && !icon && !actions;
11
- return (React.createElement("div", { className: clsx(className, styles.root, selected && styles.selected, headerRowEmpty && styles['no-header'], !children && styles['no-content'], isRefresh && styles.refresh), ...metadataAttributes, onClick: onClick },
12
- React.createElement("div", { className: clsx(styles.header, disableHeaderPaddings && styles['no-padding'], !!actions && styles['with-actions']) },
13
- React.createElement(InternalStructuredItem, { content: header && React.createElement("div", { className: styles['header-inner'] }, header), secondaryContent: description && React.createElement("div", { className: styles.description }, description), icon: icon, actions: actions, disablePaddings: disableHeaderPaddings, wrapActions: false })),
14
- React.createElement("div", { className: clsx(styles.body, disableContentPaddings && styles['no-padding']) }, children)));
15
- }
16
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/card/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,sBAAsB,MAAM,oBAAoB,CAAC;AAGxD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAC3B,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,MAAM,EACN,WAAW,EACX,IAAI,EACJ,kBAAkB,EAClB,OAAO,EACP,qBAAqB,EACrB,sBAAsB,GACJ;IAClB,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IAErC,MAAM,cAAc,GAAG,CAAC,MAAM,IAAI,CAAC,WAAW,IAAI,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC;IAEpE,OAAO,CACL,6BACE,SAAS,EAAE,IAAI,CACb,SAAS,EACT,MAAM,CAAC,IAAI,EACX,QAAQ,IAAI,MAAM,CAAC,QAAQ,EAC3B,cAAc,IAAI,MAAM,CAAC,WAAW,CAAC,EACrC,CAAC,QAAQ,IAAI,MAAM,CAAC,YAAY,CAAC,EACjC,SAAS,IAAI,MAAM,CAAC,OAAO,CAC5B,KACG,kBAAkB,EACtB,OAAO,EAAE,OAAO;QAEhB,6BACE,SAAS,EAAE,IAAI,CACb,MAAM,CAAC,MAAM,EACb,qBAAqB,IAAI,MAAM,CAAC,YAAY,CAAC,EAC7C,CAAC,CAAC,OAAO,IAAI,MAAM,CAAC,cAAc,CAAC,CACpC;YAED,oBAAC,sBAAsB,IACrB,OAAO,EAAE,MAAM,IAAI,6BAAK,SAAS,EAAE,MAAM,CAAC,cAAc,CAAC,IAAG,MAAM,CAAO,EACzE,gBAAgB,EAAE,WAAW,IAAI,6BAAK,SAAS,EAAE,MAAM,CAAC,WAAW,IAAG,WAAW,CAAO,EACxF,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAChB,eAAe,EAAE,qBAAqB,EACtC,WAAW,EAAE,KAAK,GAClB,CACE;QACN,6BAAK,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,sBAAsB,IAAI,MAAM,CAAC,YAAY,CAAC,CAAC,IAAG,QAAQ,CAAO,CAC/F,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';\n\nimport { useVisualRefresh } from '../../hooks/use-visual-mode';\nimport InternalStructuredItem from '../structured-item';\nimport { InternalCardProps } from './interfaces';\n\nimport styles from './styles.css.js';\n\nexport default function Card({\n actions,\n selected,\n children,\n className,\n header,\n description,\n icon,\n metadataAttributes,\n onClick,\n disableHeaderPaddings,\n disableContentPaddings,\n}: InternalCardProps) {\n const isRefresh = useVisualRefresh();\n\n const headerRowEmpty = !header && !description && !icon && !actions;\n\n return (\n <div\n className={clsx(\n className,\n styles.root,\n selected && styles.selected,\n headerRowEmpty && styles['no-header'],\n !children && styles['no-content'],\n isRefresh && styles.refresh\n )}\n {...metadataAttributes}\n onClick={onClick}\n >\n <div\n className={clsx(\n styles.header,\n disableHeaderPaddings && styles['no-padding'],\n !!actions && styles['with-actions']\n )}\n >\n <InternalStructuredItem\n content={header && <div className={styles['header-inner']}>{header}</div>}\n secondaryContent={description && <div className={styles.description}>{description}</div>}\n icon={icon}\n actions={actions}\n disablePaddings={disableHeaderPaddings}\n wrapActions={false}\n />\n </div>\n <div className={clsx(styles.body, disableContentPaddings && styles['no-padding'])}>{children}</div>\n </div>\n );\n}\n"]}
@@ -1,44 +0,0 @@
1
- import React from 'react';
2
- import { BaseComponentProps } from '../../base-component';
3
- export interface BaseCardProps extends BaseComponentProps {
4
- /**
5
- * Heading text.
6
- */
7
- header?: React.ReactNode;
8
- /**
9
- * Supplementary text below the heading.
10
- */
11
- description?: React.ReactNode;
12
- /**
13
- * Specifies actions for the card.
14
- */
15
- actions?: React.ReactNode;
16
- /**
17
- * Primary content displayed in the card.
18
- */
19
- children?: React.ReactNode;
20
- /**
21
- * Icon which will be displayed at the top of the card,
22
- * aligned with the start of the content.
23
- */
24
- icon?: React.ReactNode;
25
- /**
26
- * Determines whether the card header has padding. If `true`, removes the default padding from the header.
27
- */
28
- disableHeaderPaddings?: boolean;
29
- /**
30
- * Determines whether the card content has padding. If `true`, removes the default padding from the content area.
31
- */
32
- disableContentPaddings?: boolean;
33
- }
34
- export interface InternalCardProps extends BaseCardProps {
35
- /**
36
- * Called when the user clicks on the card.
37
- */
38
- onClick?: React.MouseEventHandler<HTMLElement>;
39
- /**
40
- * Specifies whether the card is in active state.
41
- */
42
- selected?: boolean;
43
- metadataAttributes?: Record<string, string | undefined>;
44
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/card/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,WAAW,aAAc,SAAQ,kBAAkB;IACvD;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE9B;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;;OAGG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEvB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC;AAED,MAAM,WAAW,iBAAkB,SAAQ,aAAa;IACtD;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC;IAE/C;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;CACzD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../src/internal/components/card/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 '../../base-component';\n\nexport interface BaseCardProps extends BaseComponentProps {\n /**\n * Heading text.\n */\n header?: React.ReactNode;\n\n /**\n * Supplementary text below the heading.\n */\n description?: React.ReactNode;\n\n /**\n * Specifies actions for the card.\n */\n actions?: React.ReactNode;\n\n /**\n * Primary content displayed in the card.\n */\n children?: React.ReactNode;\n\n /**\n * Icon which will be displayed at the top of the card,\n * aligned with the start of the content.\n */\n icon?: React.ReactNode;\n\n /**\n * Determines whether the card header has padding. If `true`, removes the default padding from the header.\n */\n disableHeaderPaddings?: boolean;\n\n /**\n * Determines whether the card content has padding. If `true`, removes the default padding from the content area.\n */\n disableContentPaddings?: boolean;\n}\n\nexport interface InternalCardProps extends BaseCardProps {\n /**\n * Called when the user clicks on the card.\n */\n onClick?: React.MouseEventHandler<HTMLElement>;\n\n /**\n * Specifies whether the card is in active state.\n */\n selected?: boolean;\n\n metadataAttributes?: Record<string, string | undefined>;\n}\n"]}
@@ -1,16 +0,0 @@
1
-
2
- import './styles.scoped.css';
3
- export default {
4
- "root": "awsui_root_1xxz5_1b0qe_153",
5
- "refresh": "awsui_refresh_1xxz5_1b0qe_259",
6
- "header": "awsui_header_1xxz5_1b0qe_267",
7
- "no-padding": "awsui_no-padding_1xxz5_1b0qe_267",
8
- "with-actions": "awsui_with-actions_1xxz5_1b0qe_271",
9
- "header-inner": "awsui_header-inner_1xxz5_1b0qe_279",
10
- "body": "awsui_body_1xxz5_1b0qe_289",
11
- "no-header": "awsui_no-header_1xxz5_1b0qe_299",
12
- "no-content": "awsui_no-content_1xxz5_1b0qe_300",
13
- "selected": "awsui_selected_1xxz5_1b0qe_308",
14
- "description": "awsui_description_1xxz5_1b0qe_316"
15
- };
16
-
@@ -1,318 +0,0 @@
1
- /*
2
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- SPDX-License-Identifier: Apache-2.0
4
- */
5
- /*
6
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
7
- SPDX-License-Identifier: Apache-2.0
8
- */
9
- /*
10
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
11
- SPDX-License-Identifier: Apache-2.0
12
- */
13
- /*
14
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
15
- SPDX-License-Identifier: Apache-2.0
16
- */
17
- /*
18
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
19
- SPDX-License-Identifier: Apache-2.0
20
- */
21
- /*
22
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
23
- SPDX-License-Identifier: Apache-2.0
24
- */
25
- /*
26
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
27
- SPDX-License-Identifier: Apache-2.0
28
- */
29
- /*
30
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
31
- SPDX-License-Identifier: Apache-2.0
32
- */
33
- /*
34
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
35
- SPDX-License-Identifier: Apache-2.0
36
- */
37
- /*
38
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
39
- SPDX-License-Identifier: Apache-2.0
40
- */
41
- /*
42
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
43
- SPDX-License-Identifier: Apache-2.0
44
- */
45
- /*
46
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
47
- SPDX-License-Identifier: Apache-2.0
48
- */
49
- /*
50
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
51
- SPDX-License-Identifier: Apache-2.0
52
- */
53
- /*
54
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
55
- SPDX-License-Identifier: Apache-2.0
56
- */
57
- /*
58
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
59
- SPDX-License-Identifier: Apache-2.0
60
- */
61
- /*
62
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
63
- SPDX-License-Identifier: Apache-2.0
64
- */
65
- /*
66
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
67
- SPDX-License-Identifier: Apache-2.0
68
- */
69
- /*
70
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
71
- SPDX-License-Identifier: Apache-2.0
72
- */
73
- /*
74
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
75
- SPDX-License-Identifier: Apache-2.0
76
- */
77
- /*
78
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
79
- SPDX-License-Identifier: Apache-2.0
80
- */
81
- /*
82
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
83
- SPDX-License-Identifier: Apache-2.0
84
- */
85
- /*
86
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
87
- SPDX-License-Identifier: Apache-2.0
88
- */
89
- /*
90
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
91
- SPDX-License-Identifier: Apache-2.0
92
- */
93
- /*
94
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
95
- SPDX-License-Identifier: Apache-2.0
96
- */
97
- /*
98
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
99
- SPDX-License-Identifier: Apache-2.0
100
- */
101
- /*
102
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
103
- SPDX-License-Identifier: Apache-2.0
104
- */
105
- /*
106
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
107
- SPDX-License-Identifier: Apache-2.0
108
- */
109
- /*
110
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
111
- SPDX-License-Identifier: Apache-2.0
112
- */
113
- /* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
114
- /* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
115
- /*
116
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
117
- SPDX-License-Identifier: Apache-2.0
118
- */
119
- /*
120
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
121
- SPDX-License-Identifier: Apache-2.0
122
- */
123
- /*
124
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
125
- SPDX-License-Identifier: Apache-2.0
126
- */
127
- /*
128
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
129
- SPDX-License-Identifier: Apache-2.0
130
- */
131
- /*
132
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
133
- SPDX-License-Identifier: Apache-2.0
134
- */
135
- /*
136
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
137
- SPDX-License-Identifier: Apache-2.0
138
- */
139
- /*
140
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
141
- SPDX-License-Identifier: Apache-2.0
142
- */
143
- /* Style used for links in slots/components that are text heavy, to help links stand out among
144
- surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
145
- /*
146
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
147
- SPDX-License-Identifier: Apache-2.0
148
- */
149
- /*
150
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
151
- SPDX-License-Identifier: Apache-2.0
152
- */
153
- .awsui_root_1xxz5_1b0qe_153:not(#\9) {
154
- transition-property: background-color;
155
- transition-duration: var(--motion-duration-transition-show-paced-t8d1os, 180ms);
156
- transition-timing-function: var(--motion-easing-transition-show-paced-x2k7uh, ease-out);
157
- }
158
- @media (prefers-reduced-motion: reduce) {
159
- .awsui_root_1xxz5_1b0qe_153:not(#\9) {
160
- animation: none;
161
- transition: none;
162
- }
163
- }
164
- .awsui-motion-disabled .awsui_root_1xxz5_1b0qe_153:not(#\9), .awsui-mode-entering .awsui_root_1xxz5_1b0qe_153:not(#\9) {
165
- animation: none;
166
- transition: none;
167
- }
168
-
169
- .awsui_root_1xxz5_1b0qe_153:not(#\9)::before {
170
- transition-property: border-top-color, border-right-color, border-bottom-color, border-left-color;
171
- transition-duration: var(--motion-duration-transition-show-paced-t8d1os, 180ms);
172
- transition-timing-function: var(--motion-easing-transition-show-paced-x2k7uh, ease-out);
173
- }
174
- @media (prefers-reduced-motion: reduce) {
175
- .awsui_root_1xxz5_1b0qe_153:not(#\9)::before {
176
- animation: none;
177
- transition: none;
178
- }
179
- }
180
- .awsui-motion-disabled .awsui_root_1xxz5_1b0qe_153:not(#\9)::before, .awsui-mode-entering .awsui_root_1xxz5_1b0qe_153:not(#\9)::before {
181
- animation: none;
182
- transition: none;
183
- }
184
-
185
- .awsui_root_1xxz5_1b0qe_153:not(#\9) {
186
- border-collapse: separate;
187
- border-spacing: 0;
188
- box-sizing: border-box;
189
- caption-side: top;
190
- cursor: auto;
191
- direction: inherit;
192
- empty-cells: show;
193
- font-family: serif;
194
- font-style: normal;
195
- font-variant: normal;
196
- font-stretch: normal;
197
- hyphens: none;
198
- letter-spacing: normal;
199
- list-style: disc outside none;
200
- tab-size: 8;
201
- text-align: start;
202
- text-indent: 0;
203
- text-shadow: none;
204
- text-transform: none;
205
- visibility: visible;
206
- white-space: normal;
207
- word-spacing: normal;
208
- font-size: var(--font-size-body-m-a7nh2n, 14px);
209
- line-height: var(--line-height-body-m-2mh3ke, 20px);
210
- color: var(--color-text-body-default-vvtq8u, #0f141a);
211
- font-weight: 400;
212
- font-family: var(--font-family-base-gmnpzl, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
213
- -webkit-font-smoothing: auto;
214
- -moz-osx-font-smoothing: auto;
215
- box-sizing: border-box;
216
- position: relative;
217
- background-color: var(--color-background-container-content-6u8rvp, #ffffff);
218
- min-inline-size: 0;
219
- border-start-start-radius: var(--border-radius-container-nsfwmm, 16px);
220
- border-start-end-radius: var(--border-radius-container-nsfwmm, 16px);
221
- border-end-start-radius: var(--border-radius-container-nsfwmm, 16px);
222
- border-end-end-radius: var(--border-radius-container-nsfwmm, 16px);
223
- box-sizing: border-box;
224
- block-size: 100%;
225
- }
226
- .awsui_root_1xxz5_1b0qe_153:not(#\9)::before {
227
- content: "";
228
- position: absolute;
229
- inset-inline-start: 0px;
230
- inset-block-start: 0px;
231
- inline-size: 100%;
232
- block-size: 100%;
233
- pointer-events: none;
234
- background: transparent;
235
- box-sizing: border-box;
236
- border-color: transparent;
237
- border-block-start: var(--border-container-top-width-n1eke6, 0px) solid var(--color-border-container-top-k3vmoz, transparent);
238
- border-start-start-radius: var(--border-radius-container-nsfwmm, 16px);
239
- border-start-end-radius: var(--border-radius-container-nsfwmm, 16px);
240
- border-end-start-radius: var(--border-radius-container-nsfwmm, 16px);
241
- border-end-end-radius: var(--border-radius-container-nsfwmm, 16px);
242
- z-index: 1;
243
- }
244
- .awsui_root_1xxz5_1b0qe_153:not(#\9)::after {
245
- content: "";
246
- position: absolute;
247
- inset-inline-start: 0px;
248
- inset-block-start: 0px;
249
- inline-size: 100%;
250
- block-size: 100%;
251
- pointer-events: none;
252
- background: transparent;
253
- box-sizing: border-box;
254
- border-start-start-radius: var(--border-radius-container-nsfwmm, 16px);
255
- border-start-end-radius: var(--border-radius-container-nsfwmm, 16px);
256
- border-end-start-radius: var(--border-radius-container-nsfwmm, 16px);
257
- border-end-end-radius: var(--border-radius-container-nsfwmm, 16px);
258
- }
259
- .awsui_root_1xxz5_1b0qe_153:not(#\9):not(.awsui_refresh_1xxz5_1b0qe_259)::after {
260
- box-shadow: var(--shadow-container-53ltfv, 0px 0px 1px 1px #e9ebed, 0px 1px 8px 2px rgba(0, 7, 22, 0.12));
261
- }
262
- .awsui_root_1xxz5_1b0qe_153.awsui_refresh_1xxz5_1b0qe_259:not(#\9)::after {
263
- border-block: solid var(--border-divider-section-width-uwo8my, 1px) var(--color-border-divider-default-nr68jt, #c6c6cd);
264
- border-inline: solid var(--border-divider-section-width-uwo8my, 1px) var(--color-border-divider-default-nr68jt, #c6c6cd);
265
- }
266
-
267
- .awsui_header_1xxz5_1b0qe_267:not(#\9):not(.awsui_no-padding_1xxz5_1b0qe_267) {
268
- padding-block-end: var(--space-xxs-hwfkai, 4px);
269
- padding-inline-start: var(--space-card-horizontal-8o8t31, 20px);
270
- }
271
- .awsui_header_1xxz5_1b0qe_267:not(#\9):not(.awsui_no-padding_1xxz5_1b0qe_267):not(.awsui_with-actions_1xxz5_1b0qe_271) {
272
- padding-block-start: calc(var(--space-card-vertical-uad0cc, 16px) - var(--space-scaled-xxs-pfm1nx, 4px));
273
- padding-inline-end: var(--space-card-horizontal-8o8t31, 20px);
274
- }
275
- .awsui_header_1xxz5_1b0qe_267:not(#\9):not(.awsui_no-padding_1xxz5_1b0qe_267).awsui_with-actions_1xxz5_1b0qe_271 {
276
- padding-block-start: calc(var(--space-card-vertical-uad0cc, 16px) - var(--space-scaled-xxs-pfm1nx, 4px) - var(--space-scaled-xxs-pfm1nx, 4px));
277
- padding-inline-end: calc(var(--space-card-horizontal-8o8t31, 20px) - var(--space-xxs-hwfkai, 4px));
278
- }
279
- .awsui_header-inner_1xxz5_1b0qe_279:not(#\9) {
280
- font-family: var(--font-family-heading-ugphat, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
281
- font-size: var(--font-size-heading-s-zp08en, 16px);
282
- line-height: var(--line-height-heading-s-hmi4vc, 20px);
283
- letter-spacing: var(--letter-spacing-heading-s-4st9ep, -0.005em);
284
- font-weight: var(--font-weight-heading-s-lcx0ai, 700);
285
- -webkit-font-smoothing: var(--font-smoothing-webkit-oemolo, antialiased);
286
- -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-hbm0aq, grayscale);
287
- }
288
-
289
- .awsui_body_1xxz5_1b0qe_289:not(#\9):not(.awsui_no-padding_1xxz5_1b0qe_267) {
290
- padding-block-start: var(--space-xxs-hwfkai, 4px);
291
- padding-block-end: var(--space-card-vertical-uad0cc, 16px);
292
- padding-inline: var(--space-card-horizontal-8o8t31, 20px);
293
- }
294
- .awsui_body_1xxz5_1b0qe_289.awsui_no-padding_1xxz5_1b0qe_267:not(#\9) {
295
- border-end-start-radius: var(--border-radius-container-nsfwmm, 16px);
296
- border-end-end-radius: var(--border-radius-container-nsfwmm, 16px);
297
- }
298
-
299
- .awsui_no-header_1xxz5_1b0qe_299 > .awsui_header_1xxz5_1b0qe_267:not(#\9):not(.awsui_no-padding_1xxz5_1b0qe_267),
300
- .awsui_no-content_1xxz5_1b0qe_300 > .awsui_header_1xxz5_1b0qe_267:not(#\9):not(.awsui_no-padding_1xxz5_1b0qe_267) {
301
- padding-block-end: 0;
302
- }
303
- .awsui_no-header_1xxz5_1b0qe_299 > .awsui_body_1xxz5_1b0qe_289:not(#\9):not(.awsui_no-padding_1xxz5_1b0qe_267),
304
- .awsui_no-content_1xxz5_1b0qe_300 > .awsui_body_1xxz5_1b0qe_289:not(#\9):not(.awsui_no-padding_1xxz5_1b0qe_267) {
305
- padding-block-start: 0;
306
- }
307
-
308
- .awsui_selected_1xxz5_1b0qe_308:not(#\9) {
309
- background-color: var(--color-background-item-selected-9gppru, #f0fbff);
310
- }
311
- .awsui_selected_1xxz5_1b0qe_308:not(#\9)::before {
312
- border-block: var(--border-item-width-miijiw, 2px) solid var(--color-border-item-selected-wl5ttm, #006ce0);
313
- border-inline: var(--border-item-width-miijiw, 2px) solid var(--color-border-item-selected-wl5ttm, #006ce0);
314
- }
315
-
316
- .awsui_description_1xxz5_1b0qe_316:not(#\9) {
317
- color: var(--color-text-heading-secondary-iwtvf6, #424650);
318
- }
@@ -1,17 +0,0 @@
1
-
2
- // es-module interop with Babel and Typescript
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- module.exports.default = {
5
- "root": "awsui_root_1xxz5_1b0qe_153",
6
- "refresh": "awsui_refresh_1xxz5_1b0qe_259",
7
- "header": "awsui_header_1xxz5_1b0qe_267",
8
- "no-padding": "awsui_no-padding_1xxz5_1b0qe_267",
9
- "with-actions": "awsui_with-actions_1xxz5_1b0qe_271",
10
- "header-inner": "awsui_header-inner_1xxz5_1b0qe_279",
11
- "body": "awsui_body_1xxz5_1b0qe_289",
12
- "no-header": "awsui_no-header_1xxz5_1b0qe_299",
13
- "no-content": "awsui_no-content_1xxz5_1b0qe_300",
14
- "selected": "awsui_selected_1xxz5_1b0qe_308",
15
- "description": "awsui_description_1xxz5_1b0qe_316"
16
- };
17
-