@cloudscape-design/components-themeable 3.0.596 → 3.0.598

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 (40) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/box/layout.scss +2 -4
  3. package/lib/internal/scss/box/spacing.scss +6 -5
  4. package/lib/internal/scss/column-layout/styles.scss +3 -3
  5. package/lib/internal/scss/expandable-section/styles.scss +8 -0
  6. package/lib/internal/scss/link/styles.scss +5 -0
  7. package/lib/internal/scss/select/parts/styles.scss +4 -0
  8. package/lib/internal/scss/toggle/styles.scss +4 -0
  9. package/lib/internal/template/anchor-navigation/internal.js +1 -1
  10. package/lib/internal/template/anchor-navigation/internal.js.map +1 -1
  11. package/lib/internal/template/box/styles.css.js +190 -190
  12. package/lib/internal/template/box/styles.scoped.css +357 -339
  13. package/lib/internal/template/box/styles.selectors.js +190 -190
  14. package/lib/internal/template/column-layout/styles.css.js +13 -13
  15. package/lib/internal/template/column-layout/styles.scoped.css +63 -63
  16. package/lib/internal/template/column-layout/styles.selectors.js +13 -13
  17. package/lib/internal/template/expandable-section/styles.css.js +32 -32
  18. package/lib/internal/template/expandable-section/styles.scoped.css +68 -62
  19. package/lib/internal/template/expandable-section/styles.selectors.js +32 -32
  20. package/lib/internal/template/internal/environment.js +1 -1
  21. package/lib/internal/template/internal/environment.json +1 -1
  22. package/lib/internal/template/link/styles.css.js +20 -20
  23. package/lib/internal/template/link/styles.scoped.css +75 -71
  24. package/lib/internal/template/link/styles.selectors.js +20 -20
  25. package/lib/internal/template/select/internal.js +1 -1
  26. package/lib/internal/template/select/internal.js.map +1 -1
  27. package/lib/internal/template/select/parts/styles.css.js +16 -16
  28. package/lib/internal/template/select/parts/styles.scoped.css +20 -16
  29. package/lib/internal/template/select/parts/styles.selectors.js +16 -16
  30. package/lib/internal/template/select/utils/use-native-search.d.ts +1 -2
  31. package/lib/internal/template/select/utils/use-native-search.d.ts.map +1 -1
  32. package/lib/internal/template/select/utils/use-native-search.js +3 -7
  33. package/lib/internal/template/select/utils/use-native-search.js.map +1 -1
  34. package/lib/internal/template/tiles/styles.css.js +29 -29
  35. package/lib/internal/template/tiles/styles.scoped.css +90 -90
  36. package/lib/internal/template/tiles/styles.selectors.js +29 -29
  37. package/lib/internal/template/toggle/styles.css.js +8 -8
  38. package/lib/internal/template/toggle/styles.scoped.css +16 -13
  39. package/lib/internal/template/toggle/styles.selectors.js +8 -8
  40. package/package.json +1 -1
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "6e53e52d0a9869aebc15da3ae421268e021ef8c4"
2
+ "commit": "db8df67a8fb08edbfc28306518bc51827c0bef64"
3
3
  }
@@ -24,11 +24,9 @@
24
24
  }
25
25
  }
26
26
 
27
- /* stylelint-disable csstools/use-logical */
28
27
  .f-left {
29
- float: left;
28
+ float: inline-start;
30
29
  }
31
30
  .f-right {
32
- float: right;
31
+ float: inline-end;
33
32
  }
34
- /* stylelint-enable csstools/use-logical */
@@ -35,10 +35,10 @@ $size-prefixes-vertical: (
35
35
  );
36
36
 
37
37
  $side-suffixes: (
38
- 'top': '-top',
39
- 'right': '-right',
40
- 'bottom': '-bottom',
41
- 'left': '-left',
38
+ 'top': '-block-start',
39
+ 'right': '-inline-end',
40
+ 'bottom': '-block-end',
41
+ 'left': '-inline-start',
42
42
  );
43
43
 
44
44
  $sides: (('top', 'vertical'), ('right', 'horizontal'), ('bottom', 'vertical'), ('left', 'horizontal'));
@@ -48,7 +48,8 @@ $prefixes: 'n', 'xxxs', 'xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl', 'xxxl';
48
48
  @mixin create-spacing($name, $css_property, $parent-selector) {
49
49
  @each $p in $prefixes {
50
50
  #{$parent-selector}.#{$name}#{$p} {
51
- #{$css_property}: #{map.get($size-prefixes-vertical, $p)} #{map.get($size-prefixes-horizontal, $p)};
51
+ #{$css_property}-block: #{map.get($size-prefixes-vertical, $p)};
52
+ #{$css_property}-inline: #{map.get($size-prefixes-horizontal, $p)};
52
53
  }
53
54
  // creates sides and horizontal(h)/vertical(v) padding classes
54
55
  @each $side_a, $side_b in $sides {
@@ -54,7 +54,7 @@ $column-breakpoint-spans: (
54
54
 
55
55
  @mixin remove-useless-vertical-borders($col-size, $direction) {
56
56
  $items-per-row: math.div($grid-columns, $col-size);
57
- $items-modifier: if($direction == 'left', '+1', '');
57
+ $items-modifier: if($direction == 'inline-start', '+1', '');
58
58
  > *:nth-child(#{$items-per-row}n#{$items-modifier}) {
59
59
  border-#{$direction}-width: 0;
60
60
  }
@@ -112,7 +112,7 @@ div.column-layout {
112
112
  }
113
113
 
114
114
  &.grid-variant-text-grid {
115
- @include make-vertical-borders('left');
115
+ @include make-vertical-borders('inline-start');
116
116
  margin-block: calc(-1 * #{$grid-gutter-width} / 2);
117
117
  margin-inline: calc(-1 * #{$grid-gutter-width});
118
118
  }
@@ -131,7 +131,7 @@ div.column-layout {
131
131
  }
132
132
 
133
133
  &.grid-vertical-borders {
134
- @include make-vertical-borders('right');
134
+ @include make-vertical-borders('inline-end');
135
135
  }
136
136
  &.grid-horizontal-borders {
137
137
  @include make-horizontal-borders;
@@ -36,6 +36,14 @@ $icon-total-space-medium: calc(#{$icon-width-medium} + #{$icon-margin-left} + #{
36
36
  &.expanded {
37
37
  transform: rotate(0deg);
38
38
  }
39
+
40
+ @include styles.with-direction('rtl') {
41
+ transform: rotate(90deg);
42
+
43
+ &.expanded {
44
+ transform: rotate(0deg);
45
+ }
46
+ }
39
47
  }
40
48
 
41
49
  .icon-container {
@@ -54,6 +54,11 @@
54
54
  @include styles.link-font-size-style(map.get(constants.$link-font-sizes, $font-size));
55
55
  }
56
56
  }
57
+
58
+ @include styles.with-direction('rtl') {
59
+ align-items: center;
60
+ display: inline-flex;
61
+ }
57
62
  }
58
63
 
59
64
  .icon-wrapper {
@@ -77,6 +77,10 @@ $checkbox-size: awsui.$size-control;
77
77
  // Fade out any overflow tokens
78
78
  mask-image: linear-gradient(270deg, transparent, white 20px, white);
79
79
 
80
+ @include styles.with-direction('rtl') {
81
+ mask-image: linear-gradient(-270deg, transparent, white 20px, white);
82
+ }
83
+
80
84
  > .inline-token {
81
85
  display: flex;
82
86
  align-items: center;
@@ -59,6 +59,10 @@ $shadow-color: rgba(0, 0, 0, 0.25);
59
59
 
60
60
  &-checked {
61
61
  transform: translateX(0.8 * styles.$base-size);
62
+
63
+ @include styles.with-direction('rtl') {
64
+ transform: translateX(-0.8 * styles.$base-size);
65
+ }
62
66
  }
63
67
 
64
68
  &-disabled {
@@ -42,7 +42,7 @@ const Anchor = ({ anchor, onFollow, isActive, index }) => {
42
42
  const activeItemClasses = clsx(styles['anchor-item--active'], testUtilsStyles['anchor-item--active']);
43
43
  return (React.createElement("li", { "data-itemid": `anchor-item-${index + 1}`, className: clsx(styles['anchor-item'], isActive && activeItemClasses) },
44
44
  React.createElement("a", Object.assign({ onClick: onClick, className: clsx(styles['anchor-link'], testUtilsStyles['anchor-link'], isActive && styles['anchor-link--active']) }, (isActive ? { 'aria-current': true } : {}), { href: anchor.href }),
45
- React.createElement("span", { className: clsx(styles['anchor-link-text'], testUtilsStyles['anchor-link-text']), style: { paddingLeft: `${anchor.level * 16 + 2}px` } }, anchor.text),
45
+ React.createElement("span", { className: clsx(styles['anchor-link-text'], testUtilsStyles['anchor-link-text']), style: { paddingInlineStart: `${anchor.level * 16 + 2}px` } }, anchor.text),
46
46
  anchor.info && (React.createElement("span", { className: clsx(styles['anchor-link-info'], testUtilsStyles['anchor-link-info']) }, anchor.info)))));
47
47
  };
48
48
  //# sourceMappingURL=internal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/anchor-navigation/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,IAAI,MAAM,MAAM,CAAC;AACx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AAI,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,QAAQ,IAAI,iBAAiB,CAAC;QAChH,yCACE,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,IAAI,CACb,MAAM,CAAC,aAAa,CAAC,EACrB,eAAe,CAAC,aAAa,CAAC,EAC9B,QAAQ,IAAI,MAAM,CAAC,qBAAqB,CAAC,CAC1C,IACG,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,IAC9C,IAAI,EAAE,MAAM,CAAC,IAAI;YAEjB,8BACE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,EAAE,eAAe,CAAC,kBAAkB,CAAC,CAAC,EAChF,KAAK,EAAE,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC,KAAK,GAAG,EAAE,GAAG,CAAC,IAAI,EAAE,IAEnD,MAAM,CAAC,IAAI,CACP;YACN,MAAM,CAAC,IAAI,IAAI,CACd,8BAAM,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,EAAE,eAAe,CAAC,kBAAkB,CAAC,CAAC,IAAG,MAAM,CAAC,IAAI,CAAQ,CAC7G,CACC,CACD,CACN,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useCallback, useEffect, useMemo } from 'react';\nimport clsx from 'clsx';\nimport styles from './styles.css.js';\nimport testUtilsStyles from './test-classes/styles.css.js';\nimport { AnchorNavigationProps } from './interfaces';\nimport { checkSafeUrl } from '../internal/utils/check-safe-url';\nimport useScrollSpy from './use-scroll-spy.js';\nimport { fireCancelableEvent, fireNonCancelableEvent, isPlainLeftClick } from '../internal/events/index';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component/index.js';\nimport { getBaseProps } from '../internal/base-component/index.js';\n\nexport default function InternalAnchorNavigation({\n anchors,\n ariaLabelledby,\n onFollow,\n onActiveHrefChange,\n activeHref = '',\n __internalRootRef = null,\n scrollSpyOffset = 0,\n ...props\n}: AnchorNavigationProps & InternalBaseComponentProps) {\n const baseProps = getBaseProps(props);\n\n const hrefs = useMemo(() => anchors.map(anchor => anchor.href), [anchors]);\n\n const onFollowHandler = useCallback(\n (anchor: AnchorNavigationProps.Anchor, sourceEvent: React.SyntheticEvent | Event) => {\n fireCancelableEvent(onFollow, anchor, sourceEvent);\n },\n [onFollow]\n );\n\n const currentActiveHref = useScrollSpy({\n hrefs,\n scrollSpyOffset,\n activeHref,\n });\n\n useEffect(() => {\n if (currentActiveHref) {\n const newActiveAnchor = anchors.find(anchor => anchor.href === currentActiveHref);\n fireNonCancelableEvent(onActiveHrefChange, newActiveAnchor);\n }\n }, [onActiveHrefChange, anchors, currentActiveHref]);\n\n return (\n <nav\n {...baseProps}\n ref={__internalRootRef}\n aria-labelledby={ariaLabelledby}\n className={clsx(baseProps.className, styles.root, testUtilsStyles.root)}\n >\n <ol className={clsx(styles['anchor-list'], testUtilsStyles['anchor-list'])}>\n {anchors.map((anchor, index) => {\n return (\n <Anchor\n onFollow={onFollowHandler}\n isActive={anchor.href === currentActiveHref}\n key={index}\n index={index}\n anchor={anchor}\n />\n );\n })}\n </ol>\n </nav>\n );\n}\n\ninterface AnchorProps {\n anchor: AnchorNavigationProps.Anchor;\n onFollow: (anchor: AnchorNavigationProps.Anchor, event: React.SyntheticEvent | Event) => void;\n isActive: boolean;\n index: number;\n}\n\nconst Anchor = ({ anchor, onFollow, isActive, index }: AnchorProps) => {\n checkSafeUrl('SideNavigation', anchor.href);\n\n const onClick = useCallback(\n (event: React.MouseEvent) => {\n if (isPlainLeftClick(event)) {\n onFollow(anchor, event);\n }\n },\n [onFollow, anchor]\n );\n\n const activeItemClasses = clsx(styles['anchor-item--active'], testUtilsStyles['anchor-item--active']);\n\n return (\n <li data-itemid={`anchor-item-${index + 1}`} className={clsx(styles['anchor-item'], isActive && activeItemClasses)}>\n <a\n onClick={onClick}\n className={clsx(\n styles['anchor-link'],\n testUtilsStyles['anchor-link'],\n isActive && styles['anchor-link--active']\n )}\n {...(isActive ? { 'aria-current': true } : {})}\n href={anchor.href}\n >\n <span\n className={clsx(styles['anchor-link-text'], testUtilsStyles['anchor-link-text'])}\n style={{ paddingLeft: `${anchor.level * 16 + 2}px` }}\n >\n {anchor.text}\n </span>\n {anchor.info && (\n <span className={clsx(styles['anchor-link-info'], testUtilsStyles['anchor-link-info'])}>{anchor.info}</span>\n )}\n </a>\n </li>\n );\n};\n"]}
1
+ {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/anchor-navigation/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,eAAe,MAAM,8BAA8B,CAAC;AAE3D,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,YAAY,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEzG,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAEnE,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,EASI;QATJ,EAC/C,OAAO,EACP,cAAc,EACd,QAAQ,EACR,kBAAkB,EAClB,UAAU,GAAG,EAAE,EACf,iBAAiB,GAAG,IAAI,EACxB,eAAe,GAAG,CAAC,OAEgC,EADhD,KAAK,cARuC,qHAShD,CADS;IAER,MAAM,SAAS,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC;IAEtC,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,C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AAS,EAAE,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,EAAE,eAAe,CAAC,kBAAkB,CAAC,CAAC,IAAG,MAAM,CAAC,IAAI,CAAQ,CAC7G,CACC,CACD,CACN,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useCallback, useEffect, useMemo } from 'react';\nimport clsx from 'clsx';\nimport styles from './styles.css.js';\nimport testUtilsStyles from './test-classes/styles.css.js';\nimport { AnchorNavigationProps } from './interfaces';\nimport { checkSafeUrl } from '../internal/utils/check-safe-url';\nimport useScrollSpy from './use-scroll-spy.js';\nimport { fireCancelableEvent, fireNonCancelableEvent, isPlainLeftClick } from '../internal/events/index';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component/index.js';\nimport { getBaseProps } from '../internal/base-component/index.js';\n\nexport default function InternalAnchorNavigation({\n anchors,\n ariaLabelledby,\n onFollow,\n onActiveHrefChange,\n activeHref = '',\n __internalRootRef = null,\n scrollSpyOffset = 0,\n ...props\n}: AnchorNavigationProps & InternalBaseComponentProps) {\n const baseProps = getBaseProps(props);\n\n const hrefs = useMemo(() => anchors.map(anchor => anchor.href), [anchors]);\n\n const onFollowHandler = useCallback(\n (anchor: AnchorNavigationProps.Anchor, sourceEvent: React.SyntheticEvent | Event) => {\n fireCancelableEvent(onFollow, anchor, sourceEvent);\n },\n [onFollow]\n );\n\n const currentActiveHref = useScrollSpy({\n hrefs,\n scrollSpyOffset,\n activeHref,\n });\n\n useEffect(() => {\n if (currentActiveHref) {\n const newActiveAnchor = anchors.find(anchor => anchor.href === currentActiveHref);\n fireNonCancelableEvent(onActiveHrefChange, newActiveAnchor);\n }\n }, [onActiveHrefChange, anchors, currentActiveHref]);\n\n return (\n <nav\n {...baseProps}\n ref={__internalRootRef}\n aria-labelledby={ariaLabelledby}\n className={clsx(baseProps.className, styles.root, testUtilsStyles.root)}\n >\n <ol className={clsx(styles['anchor-list'], testUtilsStyles['anchor-list'])}>\n {anchors.map((anchor, index) => {\n return (\n <Anchor\n onFollow={onFollowHandler}\n isActive={anchor.href === currentActiveHref}\n key={index}\n index={index}\n anchor={anchor}\n />\n );\n })}\n </ol>\n </nav>\n );\n}\n\ninterface AnchorProps {\n anchor: AnchorNavigationProps.Anchor;\n onFollow: (anchor: AnchorNavigationProps.Anchor, event: React.SyntheticEvent | Event) => void;\n isActive: boolean;\n index: number;\n}\n\nconst Anchor = ({ anchor, onFollow, isActive, index }: AnchorProps) => {\n checkSafeUrl('SideNavigation', anchor.href);\n\n const onClick = useCallback(\n (event: React.MouseEvent) => {\n if (isPlainLeftClick(event)) {\n onFollow(anchor, event);\n }\n },\n [onFollow, anchor]\n );\n\n const activeItemClasses = clsx(styles['anchor-item--active'], testUtilsStyles['anchor-item--active']);\n\n return (\n <li data-itemid={`anchor-item-${index + 1}`} className={clsx(styles['anchor-item'], isActive && activeItemClasses)}>\n <a\n onClick={onClick}\n className={clsx(\n styles['anchor-link'],\n testUtilsStyles['anchor-link'],\n isActive && styles['anchor-link--active']\n )}\n {...(isActive ? { 'aria-current': true } : {})}\n href={anchor.href}\n >\n <span\n className={clsx(styles['anchor-link-text'], testUtilsStyles['anchor-link-text'])}\n style={{ paddingInlineStart: `${anchor.level * 16 + 2}px` }}\n >\n {anchor.text}\n </span>\n {anchor.info && (\n <span className={clsx(styles['anchor-link-info'], testUtilsStyles['anchor-link-info'])}>{anchor.info}</span>\n )}\n </a>\n </li>\n );\n};\n"]}
@@ -1,195 +1,195 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_18wu0_1880m_99",
5
- "box": "awsui_box_18wu0_1880m_219",
6
- "p-variant": "awsui_p-variant_18wu0_1880m_219",
7
- "color-default": "awsui_color-default_18wu0_1880m_219",
8
- "b-variant": "awsui_b-variant_18wu0_1880m_219",
9
- "strong-variant": "awsui_strong-variant_18wu0_1880m_219",
10
- "code-variant": "awsui_code-variant_18wu0_1880m_219",
11
- "pre-variant": "awsui_pre-variant_18wu0_1880m_219",
12
- "samp-variant": "awsui_samp-variant_18wu0_1880m_219",
13
- "h1-variant": "awsui_h1-variant_18wu0_1880m_223",
14
- "h2-variant": "awsui_h2-variant_18wu0_1880m_223",
15
- "h3-variant": "awsui_h3-variant_18wu0_1880m_223",
16
- "h4-variant": "awsui_h4-variant_18wu0_1880m_223",
17
- "h5-variant": "awsui_h5-variant_18wu0_1880m_223",
18
- "small-variant": "awsui_small-variant_18wu0_1880m_227",
19
- "a-variant": "awsui_a-variant_18wu0_1880m_231",
20
- "font-size-default": "awsui_font-size-default_18wu0_1880m_235",
21
- "font-weight-default": "awsui_font-weight-default_18wu0_1880m_275",
22
- "key-label-variant": "awsui_key-label-variant_18wu0_1880m_317",
23
- "value-large-variant": "awsui_value-large-variant_18wu0_1880m_324",
24
- "font-weight-heavy": "awsui_font-weight-heavy_18wu0_1880m_331",
25
- "color-inverted": "awsui_color-inverted_18wu0_1880m_336",
26
- "color-text-label": "awsui_color-text-label_18wu0_1880m_339",
27
- "color-text-body-secondary": "awsui_color-text-body-secondary_18wu0_1880m_342",
28
- "color-text-status-error": "awsui_color-text-status-error_18wu0_1880m_345",
29
- "color-text-status-success": "awsui_color-text-status-success_18wu0_1880m_348",
30
- "color-text-status-info": "awsui_color-text-status-info_18wu0_1880m_351",
31
- "color-text-status-inactive": "awsui_color-text-status-inactive_18wu0_1880m_354",
32
- "color-text-status-warning": "awsui_color-text-status-warning_18wu0_1880m_357",
33
- "color-inherit": "awsui_color-inherit_18wu0_1880m_360",
34
- "font-size-body-s": "awsui_font-size-body-s_18wu0_1880m_363",
35
- "font-size-body-m": "awsui_font-size-body-m_18wu0_1880m_368",
36
- "font-size-heading-xs": "awsui_font-size-heading-xs_18wu0_1880m_372",
37
- "font-size-heading-s": "awsui_font-size-heading-s_18wu0_1880m_376",
38
- "font-size-heading-m": "awsui_font-size-heading-m_18wu0_1880m_381",
39
- "font-size-heading-l": "awsui_font-size-heading-l_18wu0_1880m_386",
40
- "font-size-heading-xl": "awsui_font-size-heading-xl_18wu0_1880m_391",
41
- "font-size-display-l": "awsui_font-size-display-l_18wu0_1880m_396",
42
- "font-weight-light": "awsui_font-weight-light_18wu0_1880m_401",
43
- "font-weight-normal": "awsui_font-weight-normal_18wu0_1880m_404",
44
- "font-weight-bold": "awsui_font-weight-bold_18wu0_1880m_407",
45
- "t-left": "awsui_t-left_18wu0_1880m_414",
46
- "t-right": "awsui_t-right_18wu0_1880m_418",
47
- "t-center": "awsui_t-center_18wu0_1880m_422",
48
- "p-n": "awsui_p-n_18wu0_1880m_529",
49
- "p-top-n": "awsui_p-top-n_18wu0_1880m_533",
50
- "p-vertical-n": "awsui_p-vertical-n_18wu0_1880m_534",
51
- "p-right-n": "awsui_p-right-n_18wu0_1880m_538",
52
- "p-horizontal-n": "awsui_p-horizontal-n_18wu0_1880m_539",
53
- "p-bottom-n": "awsui_p-bottom-n_18wu0_1880m_543",
54
- "p-left-n": "awsui_p-left-n_18wu0_1880m_548",
55
- "p-xxxs": "awsui_p-xxxs_18wu0_1880m_553",
56
- "p-top-xxxs": "awsui_p-top-xxxs_18wu0_1880m_557",
57
- "p-vertical-xxxs": "awsui_p-vertical-xxxs_18wu0_1880m_558",
58
- "p-right-xxxs": "awsui_p-right-xxxs_18wu0_1880m_562",
59
- "p-horizontal-xxxs": "awsui_p-horizontal-xxxs_18wu0_1880m_563",
60
- "p-bottom-xxxs": "awsui_p-bottom-xxxs_18wu0_1880m_567",
61
- "p-left-xxxs": "awsui_p-left-xxxs_18wu0_1880m_572",
62
- "p-xxs": "awsui_p-xxs_18wu0_1880m_577",
63
- "p-top-xxs": "awsui_p-top-xxs_18wu0_1880m_581",
64
- "p-vertical-xxs": "awsui_p-vertical-xxs_18wu0_1880m_582",
65
- "p-right-xxs": "awsui_p-right-xxs_18wu0_1880m_586",
66
- "p-horizontal-xxs": "awsui_p-horizontal-xxs_18wu0_1880m_587",
67
- "p-bottom-xxs": "awsui_p-bottom-xxs_18wu0_1880m_591",
68
- "p-left-xxs": "awsui_p-left-xxs_18wu0_1880m_596",
69
- "p-xs": "awsui_p-xs_18wu0_1880m_601",
70
- "p-top-xs": "awsui_p-top-xs_18wu0_1880m_605",
71
- "p-vertical-xs": "awsui_p-vertical-xs_18wu0_1880m_606",
72
- "p-right-xs": "awsui_p-right-xs_18wu0_1880m_610",
73
- "p-horizontal-xs": "awsui_p-horizontal-xs_18wu0_1880m_611",
74
- "p-bottom-xs": "awsui_p-bottom-xs_18wu0_1880m_615",
75
- "p-left-xs": "awsui_p-left-xs_18wu0_1880m_620",
76
- "p-s": "awsui_p-s_18wu0_1880m_625",
77
- "p-top-s": "awsui_p-top-s_18wu0_1880m_629",
78
- "p-vertical-s": "awsui_p-vertical-s_18wu0_1880m_630",
79
- "p-right-s": "awsui_p-right-s_18wu0_1880m_634",
80
- "p-horizontal-s": "awsui_p-horizontal-s_18wu0_1880m_635",
81
- "p-bottom-s": "awsui_p-bottom-s_18wu0_1880m_639",
82
- "p-left-s": "awsui_p-left-s_18wu0_1880m_644",
83
- "p-m": "awsui_p-m_18wu0_1880m_649",
84
- "p-top-m": "awsui_p-top-m_18wu0_1880m_653",
85
- "p-vertical-m": "awsui_p-vertical-m_18wu0_1880m_654",
86
- "p-right-m": "awsui_p-right-m_18wu0_1880m_658",
87
- "p-horizontal-m": "awsui_p-horizontal-m_18wu0_1880m_659",
88
- "p-bottom-m": "awsui_p-bottom-m_18wu0_1880m_663",
89
- "p-left-m": "awsui_p-left-m_18wu0_1880m_668",
90
- "p-l": "awsui_p-l_18wu0_1880m_548",
91
- "p-top-l": "awsui_p-top-l_18wu0_1880m_677",
92
- "p-vertical-l": "awsui_p-vertical-l_18wu0_1880m_678",
93
- "p-right-l": "awsui_p-right-l_18wu0_1880m_682",
94
- "p-horizontal-l": "awsui_p-horizontal-l_18wu0_1880m_683",
95
- "p-bottom-l": "awsui_p-bottom-l_18wu0_1880m_687",
96
- "p-left-l": "awsui_p-left-l_18wu0_1880m_692",
97
- "p-xl": "awsui_p-xl_18wu0_1880m_697",
98
- "p-top-xl": "awsui_p-top-xl_18wu0_1880m_701",
99
- "p-vertical-xl": "awsui_p-vertical-xl_18wu0_1880m_702",
100
- "p-right-xl": "awsui_p-right-xl_18wu0_1880m_706",
101
- "p-horizontal-xl": "awsui_p-horizontal-xl_18wu0_1880m_707",
102
- "p-bottom-xl": "awsui_p-bottom-xl_18wu0_1880m_711",
103
- "p-left-xl": "awsui_p-left-xl_18wu0_1880m_716",
104
- "p-xxl": "awsui_p-xxl_18wu0_1880m_721",
105
- "p-top-xxl": "awsui_p-top-xxl_18wu0_1880m_725",
106
- "p-vertical-xxl": "awsui_p-vertical-xxl_18wu0_1880m_726",
107
- "p-right-xxl": "awsui_p-right-xxl_18wu0_1880m_730",
108
- "p-horizontal-xxl": "awsui_p-horizontal-xxl_18wu0_1880m_731",
109
- "p-bottom-xxl": "awsui_p-bottom-xxl_18wu0_1880m_735",
110
- "p-left-xxl": "awsui_p-left-xxl_18wu0_1880m_740",
111
- "p-xxxl": "awsui_p-xxxl_18wu0_1880m_745",
112
- "p-top-xxxl": "awsui_p-top-xxxl_18wu0_1880m_749",
113
- "p-vertical-xxxl": "awsui_p-vertical-xxxl_18wu0_1880m_750",
114
- "p-right-xxxl": "awsui_p-right-xxxl_18wu0_1880m_754",
115
- "p-horizontal-xxxl": "awsui_p-horizontal-xxxl_18wu0_1880m_755",
116
- "p-bottom-xxxl": "awsui_p-bottom-xxxl_18wu0_1880m_759",
117
- "p-left-xxxl": "awsui_p-left-xxxl_18wu0_1880m_764",
118
- "m-n": "awsui_m-n_18wu0_1880m_769",
119
- "m-top-n": "awsui_m-top-n_18wu0_1880m_773",
120
- "m-vertical-n": "awsui_m-vertical-n_18wu0_1880m_774",
121
- "m-right-n": "awsui_m-right-n_18wu0_1880m_778",
122
- "m-horizontal-n": "awsui_m-horizontal-n_18wu0_1880m_779",
123
- "m-bottom-n": "awsui_m-bottom-n_18wu0_1880m_783",
124
- "m-left-n": "awsui_m-left-n_18wu0_1880m_788",
125
- "m-xxxs": "awsui_m-xxxs_18wu0_1880m_793",
126
- "m-top-xxxs": "awsui_m-top-xxxs_18wu0_1880m_797",
127
- "m-vertical-xxxs": "awsui_m-vertical-xxxs_18wu0_1880m_798",
128
- "m-right-xxxs": "awsui_m-right-xxxs_18wu0_1880m_802",
129
- "m-horizontal-xxxs": "awsui_m-horizontal-xxxs_18wu0_1880m_803",
130
- "m-bottom-xxxs": "awsui_m-bottom-xxxs_18wu0_1880m_807",
131
- "m-left-xxxs": "awsui_m-left-xxxs_18wu0_1880m_812",
132
- "m-xxs": "awsui_m-xxs_18wu0_1880m_817",
133
- "m-top-xxs": "awsui_m-top-xxs_18wu0_1880m_821",
134
- "m-vertical-xxs": "awsui_m-vertical-xxs_18wu0_1880m_822",
135
- "m-right-xxs": "awsui_m-right-xxs_18wu0_1880m_826",
136
- "m-horizontal-xxs": "awsui_m-horizontal-xxs_18wu0_1880m_827",
137
- "m-bottom-xxs": "awsui_m-bottom-xxs_18wu0_1880m_831",
138
- "m-left-xxs": "awsui_m-left-xxs_18wu0_1880m_836",
139
- "m-xs": "awsui_m-xs_18wu0_1880m_841",
140
- "m-top-xs": "awsui_m-top-xs_18wu0_1880m_845",
141
- "m-vertical-xs": "awsui_m-vertical-xs_18wu0_1880m_846",
142
- "m-right-xs": "awsui_m-right-xs_18wu0_1880m_850",
143
- "m-horizontal-xs": "awsui_m-horizontal-xs_18wu0_1880m_851",
144
- "m-bottom-xs": "awsui_m-bottom-xs_18wu0_1880m_855",
145
- "m-left-xs": "awsui_m-left-xs_18wu0_1880m_860",
146
- "m-s": "awsui_m-s_18wu0_1880m_865",
147
- "m-top-s": "awsui_m-top-s_18wu0_1880m_869",
148
- "m-vertical-s": "awsui_m-vertical-s_18wu0_1880m_870",
149
- "m-right-s": "awsui_m-right-s_18wu0_1880m_874",
150
- "m-horizontal-s": "awsui_m-horizontal-s_18wu0_1880m_875",
151
- "m-bottom-s": "awsui_m-bottom-s_18wu0_1880m_879",
152
- "m-left-s": "awsui_m-left-s_18wu0_1880m_884",
153
- "m-m": "awsui_m-m_18wu0_1880m_889",
154
- "m-top-m": "awsui_m-top-m_18wu0_1880m_893",
155
- "m-vertical-m": "awsui_m-vertical-m_18wu0_1880m_894",
156
- "m-right-m": "awsui_m-right-m_18wu0_1880m_898",
157
- "m-horizontal-m": "awsui_m-horizontal-m_18wu0_1880m_899",
158
- "m-bottom-m": "awsui_m-bottom-m_18wu0_1880m_903",
159
- "m-left-m": "awsui_m-left-m_18wu0_1880m_908",
160
- "m-l": "awsui_m-l_18wu0_1880m_788",
161
- "m-top-l": "awsui_m-top-l_18wu0_1880m_917",
162
- "m-vertical-l": "awsui_m-vertical-l_18wu0_1880m_918",
163
- "m-right-l": "awsui_m-right-l_18wu0_1880m_922",
164
- "m-horizontal-l": "awsui_m-horizontal-l_18wu0_1880m_923",
165
- "m-bottom-l": "awsui_m-bottom-l_18wu0_1880m_927",
166
- "m-left-l": "awsui_m-left-l_18wu0_1880m_932",
167
- "m-xl": "awsui_m-xl_18wu0_1880m_937",
168
- "m-top-xl": "awsui_m-top-xl_18wu0_1880m_941",
169
- "m-vertical-xl": "awsui_m-vertical-xl_18wu0_1880m_942",
170
- "m-right-xl": "awsui_m-right-xl_18wu0_1880m_946",
171
- "m-horizontal-xl": "awsui_m-horizontal-xl_18wu0_1880m_947",
172
- "m-bottom-xl": "awsui_m-bottom-xl_18wu0_1880m_951",
173
- "m-left-xl": "awsui_m-left-xl_18wu0_1880m_956",
174
- "m-xxl": "awsui_m-xxl_18wu0_1880m_961",
175
- "m-top-xxl": "awsui_m-top-xxl_18wu0_1880m_965",
176
- "m-vertical-xxl": "awsui_m-vertical-xxl_18wu0_1880m_966",
177
- "m-right-xxl": "awsui_m-right-xxl_18wu0_1880m_970",
178
- "m-horizontal-xxl": "awsui_m-horizontal-xxl_18wu0_1880m_971",
179
- "m-bottom-xxl": "awsui_m-bottom-xxl_18wu0_1880m_975",
180
- "m-left-xxl": "awsui_m-left-xxl_18wu0_1880m_980",
181
- "m-xxxl": "awsui_m-xxxl_18wu0_1880m_985",
182
- "m-top-xxxl": "awsui_m-top-xxxl_18wu0_1880m_989",
183
- "m-vertical-xxxl": "awsui_m-vertical-xxxl_18wu0_1880m_990",
184
- "m-right-xxxl": "awsui_m-right-xxxl_18wu0_1880m_994",
185
- "m-horizontal-xxxl": "awsui_m-horizontal-xxxl_18wu0_1880m_995",
186
- "m-bottom-xxxl": "awsui_m-bottom-xxxl_18wu0_1880m_999",
187
- "m-left-xxxl": "awsui_m-left-xxxl_18wu0_1880m_1004",
188
- "d-block": "awsui_d-block_18wu0_1880m_1009",
189
- "d-inline": "awsui_d-inline_18wu0_1880m_1012",
190
- "d-inline-block": "awsui_d-inline-block_18wu0_1880m_1015",
191
- "d-none": "awsui_d-none_18wu0_1880m_1018",
192
- "f-left": "awsui_f-left_18wu0_1880m_1023",
193
- "f-right": "awsui_f-right_18wu0_1880m_1027"
4
+ "root": "awsui_root_18wu0_12wc1_99",
5
+ "box": "awsui_box_18wu0_12wc1_219",
6
+ "p-variant": "awsui_p-variant_18wu0_12wc1_219",
7
+ "color-default": "awsui_color-default_18wu0_12wc1_219",
8
+ "b-variant": "awsui_b-variant_18wu0_12wc1_219",
9
+ "strong-variant": "awsui_strong-variant_18wu0_12wc1_219",
10
+ "code-variant": "awsui_code-variant_18wu0_12wc1_219",
11
+ "pre-variant": "awsui_pre-variant_18wu0_12wc1_219",
12
+ "samp-variant": "awsui_samp-variant_18wu0_12wc1_219",
13
+ "h1-variant": "awsui_h1-variant_18wu0_12wc1_223",
14
+ "h2-variant": "awsui_h2-variant_18wu0_12wc1_223",
15
+ "h3-variant": "awsui_h3-variant_18wu0_12wc1_223",
16
+ "h4-variant": "awsui_h4-variant_18wu0_12wc1_223",
17
+ "h5-variant": "awsui_h5-variant_18wu0_12wc1_223",
18
+ "small-variant": "awsui_small-variant_18wu0_12wc1_227",
19
+ "a-variant": "awsui_a-variant_18wu0_12wc1_231",
20
+ "font-size-default": "awsui_font-size-default_18wu0_12wc1_235",
21
+ "font-weight-default": "awsui_font-weight-default_18wu0_12wc1_275",
22
+ "key-label-variant": "awsui_key-label-variant_18wu0_12wc1_317",
23
+ "value-large-variant": "awsui_value-large-variant_18wu0_12wc1_324",
24
+ "font-weight-heavy": "awsui_font-weight-heavy_18wu0_12wc1_331",
25
+ "color-inverted": "awsui_color-inverted_18wu0_12wc1_336",
26
+ "color-text-label": "awsui_color-text-label_18wu0_12wc1_339",
27
+ "color-text-body-secondary": "awsui_color-text-body-secondary_18wu0_12wc1_342",
28
+ "color-text-status-error": "awsui_color-text-status-error_18wu0_12wc1_345",
29
+ "color-text-status-success": "awsui_color-text-status-success_18wu0_12wc1_348",
30
+ "color-text-status-info": "awsui_color-text-status-info_18wu0_12wc1_351",
31
+ "color-text-status-inactive": "awsui_color-text-status-inactive_18wu0_12wc1_354",
32
+ "color-text-status-warning": "awsui_color-text-status-warning_18wu0_12wc1_357",
33
+ "color-inherit": "awsui_color-inherit_18wu0_12wc1_360",
34
+ "font-size-body-s": "awsui_font-size-body-s_18wu0_12wc1_363",
35
+ "font-size-body-m": "awsui_font-size-body-m_18wu0_12wc1_368",
36
+ "font-size-heading-xs": "awsui_font-size-heading-xs_18wu0_12wc1_372",
37
+ "font-size-heading-s": "awsui_font-size-heading-s_18wu0_12wc1_376",
38
+ "font-size-heading-m": "awsui_font-size-heading-m_18wu0_12wc1_381",
39
+ "font-size-heading-l": "awsui_font-size-heading-l_18wu0_12wc1_386",
40
+ "font-size-heading-xl": "awsui_font-size-heading-xl_18wu0_12wc1_391",
41
+ "font-size-display-l": "awsui_font-size-display-l_18wu0_12wc1_396",
42
+ "font-weight-light": "awsui_font-weight-light_18wu0_12wc1_401",
43
+ "font-weight-normal": "awsui_font-weight-normal_18wu0_12wc1_404",
44
+ "font-weight-bold": "awsui_font-weight-bold_18wu0_12wc1_407",
45
+ "t-left": "awsui_t-left_18wu0_12wc1_414",
46
+ "t-right": "awsui_t-right_18wu0_12wc1_418",
47
+ "t-center": "awsui_t-center_18wu0_12wc1_422",
48
+ "p-n": "awsui_p-n_18wu0_12wc1_529",
49
+ "p-top-n": "awsui_p-top-n_18wu0_12wc1_534",
50
+ "p-vertical-n": "awsui_p-vertical-n_18wu0_12wc1_535",
51
+ "p-right-n": "awsui_p-right-n_18wu0_12wc1_539",
52
+ "p-horizontal-n": "awsui_p-horizontal-n_18wu0_12wc1_540",
53
+ "p-bottom-n": "awsui_p-bottom-n_18wu0_12wc1_544",
54
+ "p-left-n": "awsui_p-left-n_18wu0_12wc1_549",
55
+ "p-xxxs": "awsui_p-xxxs_18wu0_12wc1_554",
56
+ "p-top-xxxs": "awsui_p-top-xxxs_18wu0_12wc1_559",
57
+ "p-vertical-xxxs": "awsui_p-vertical-xxxs_18wu0_12wc1_560",
58
+ "p-right-xxxs": "awsui_p-right-xxxs_18wu0_12wc1_564",
59
+ "p-horizontal-xxxs": "awsui_p-horizontal-xxxs_18wu0_12wc1_565",
60
+ "p-bottom-xxxs": "awsui_p-bottom-xxxs_18wu0_12wc1_569",
61
+ "p-left-xxxs": "awsui_p-left-xxxs_18wu0_12wc1_574",
62
+ "p-xxs": "awsui_p-xxs_18wu0_12wc1_579",
63
+ "p-top-xxs": "awsui_p-top-xxs_18wu0_12wc1_584",
64
+ "p-vertical-xxs": "awsui_p-vertical-xxs_18wu0_12wc1_585",
65
+ "p-right-xxs": "awsui_p-right-xxs_18wu0_12wc1_589",
66
+ "p-horizontal-xxs": "awsui_p-horizontal-xxs_18wu0_12wc1_590",
67
+ "p-bottom-xxs": "awsui_p-bottom-xxs_18wu0_12wc1_594",
68
+ "p-left-xxs": "awsui_p-left-xxs_18wu0_12wc1_599",
69
+ "p-xs": "awsui_p-xs_18wu0_12wc1_604",
70
+ "p-top-xs": "awsui_p-top-xs_18wu0_12wc1_609",
71
+ "p-vertical-xs": "awsui_p-vertical-xs_18wu0_12wc1_610",
72
+ "p-right-xs": "awsui_p-right-xs_18wu0_12wc1_614",
73
+ "p-horizontal-xs": "awsui_p-horizontal-xs_18wu0_12wc1_615",
74
+ "p-bottom-xs": "awsui_p-bottom-xs_18wu0_12wc1_619",
75
+ "p-left-xs": "awsui_p-left-xs_18wu0_12wc1_624",
76
+ "p-s": "awsui_p-s_18wu0_12wc1_629",
77
+ "p-top-s": "awsui_p-top-s_18wu0_12wc1_634",
78
+ "p-vertical-s": "awsui_p-vertical-s_18wu0_12wc1_635",
79
+ "p-right-s": "awsui_p-right-s_18wu0_12wc1_639",
80
+ "p-horizontal-s": "awsui_p-horizontal-s_18wu0_12wc1_640",
81
+ "p-bottom-s": "awsui_p-bottom-s_18wu0_12wc1_644",
82
+ "p-left-s": "awsui_p-left-s_18wu0_12wc1_649",
83
+ "p-m": "awsui_p-m_18wu0_12wc1_654",
84
+ "p-top-m": "awsui_p-top-m_18wu0_12wc1_659",
85
+ "p-vertical-m": "awsui_p-vertical-m_18wu0_12wc1_660",
86
+ "p-right-m": "awsui_p-right-m_18wu0_12wc1_664",
87
+ "p-horizontal-m": "awsui_p-horizontal-m_18wu0_12wc1_665",
88
+ "p-bottom-m": "awsui_p-bottom-m_18wu0_12wc1_669",
89
+ "p-left-m": "awsui_p-left-m_18wu0_12wc1_674",
90
+ "p-l": "awsui_p-l_18wu0_12wc1_549",
91
+ "p-top-l": "awsui_p-top-l_18wu0_12wc1_684",
92
+ "p-vertical-l": "awsui_p-vertical-l_18wu0_12wc1_685",
93
+ "p-right-l": "awsui_p-right-l_18wu0_12wc1_689",
94
+ "p-horizontal-l": "awsui_p-horizontal-l_18wu0_12wc1_690",
95
+ "p-bottom-l": "awsui_p-bottom-l_18wu0_12wc1_694",
96
+ "p-left-l": "awsui_p-left-l_18wu0_12wc1_699",
97
+ "p-xl": "awsui_p-xl_18wu0_12wc1_704",
98
+ "p-top-xl": "awsui_p-top-xl_18wu0_12wc1_709",
99
+ "p-vertical-xl": "awsui_p-vertical-xl_18wu0_12wc1_710",
100
+ "p-right-xl": "awsui_p-right-xl_18wu0_12wc1_714",
101
+ "p-horizontal-xl": "awsui_p-horizontal-xl_18wu0_12wc1_715",
102
+ "p-bottom-xl": "awsui_p-bottom-xl_18wu0_12wc1_719",
103
+ "p-left-xl": "awsui_p-left-xl_18wu0_12wc1_724",
104
+ "p-xxl": "awsui_p-xxl_18wu0_12wc1_729",
105
+ "p-top-xxl": "awsui_p-top-xxl_18wu0_12wc1_734",
106
+ "p-vertical-xxl": "awsui_p-vertical-xxl_18wu0_12wc1_735",
107
+ "p-right-xxl": "awsui_p-right-xxl_18wu0_12wc1_739",
108
+ "p-horizontal-xxl": "awsui_p-horizontal-xxl_18wu0_12wc1_740",
109
+ "p-bottom-xxl": "awsui_p-bottom-xxl_18wu0_12wc1_744",
110
+ "p-left-xxl": "awsui_p-left-xxl_18wu0_12wc1_749",
111
+ "p-xxxl": "awsui_p-xxxl_18wu0_12wc1_754",
112
+ "p-top-xxxl": "awsui_p-top-xxxl_18wu0_12wc1_759",
113
+ "p-vertical-xxxl": "awsui_p-vertical-xxxl_18wu0_12wc1_760",
114
+ "p-right-xxxl": "awsui_p-right-xxxl_18wu0_12wc1_764",
115
+ "p-horizontal-xxxl": "awsui_p-horizontal-xxxl_18wu0_12wc1_765",
116
+ "p-bottom-xxxl": "awsui_p-bottom-xxxl_18wu0_12wc1_769",
117
+ "p-left-xxxl": "awsui_p-left-xxxl_18wu0_12wc1_774",
118
+ "m-n": "awsui_m-n_18wu0_12wc1_779",
119
+ "m-top-n": "awsui_m-top-n_18wu0_12wc1_784",
120
+ "m-vertical-n": "awsui_m-vertical-n_18wu0_12wc1_785",
121
+ "m-right-n": "awsui_m-right-n_18wu0_12wc1_789",
122
+ "m-horizontal-n": "awsui_m-horizontal-n_18wu0_12wc1_790",
123
+ "m-bottom-n": "awsui_m-bottom-n_18wu0_12wc1_794",
124
+ "m-left-n": "awsui_m-left-n_18wu0_12wc1_799",
125
+ "m-xxxs": "awsui_m-xxxs_18wu0_12wc1_804",
126
+ "m-top-xxxs": "awsui_m-top-xxxs_18wu0_12wc1_809",
127
+ "m-vertical-xxxs": "awsui_m-vertical-xxxs_18wu0_12wc1_810",
128
+ "m-right-xxxs": "awsui_m-right-xxxs_18wu0_12wc1_814",
129
+ "m-horizontal-xxxs": "awsui_m-horizontal-xxxs_18wu0_12wc1_815",
130
+ "m-bottom-xxxs": "awsui_m-bottom-xxxs_18wu0_12wc1_819",
131
+ "m-left-xxxs": "awsui_m-left-xxxs_18wu0_12wc1_824",
132
+ "m-xxs": "awsui_m-xxs_18wu0_12wc1_829",
133
+ "m-top-xxs": "awsui_m-top-xxs_18wu0_12wc1_834",
134
+ "m-vertical-xxs": "awsui_m-vertical-xxs_18wu0_12wc1_835",
135
+ "m-right-xxs": "awsui_m-right-xxs_18wu0_12wc1_839",
136
+ "m-horizontal-xxs": "awsui_m-horizontal-xxs_18wu0_12wc1_840",
137
+ "m-bottom-xxs": "awsui_m-bottom-xxs_18wu0_12wc1_844",
138
+ "m-left-xxs": "awsui_m-left-xxs_18wu0_12wc1_849",
139
+ "m-xs": "awsui_m-xs_18wu0_12wc1_854",
140
+ "m-top-xs": "awsui_m-top-xs_18wu0_12wc1_859",
141
+ "m-vertical-xs": "awsui_m-vertical-xs_18wu0_12wc1_860",
142
+ "m-right-xs": "awsui_m-right-xs_18wu0_12wc1_864",
143
+ "m-horizontal-xs": "awsui_m-horizontal-xs_18wu0_12wc1_865",
144
+ "m-bottom-xs": "awsui_m-bottom-xs_18wu0_12wc1_869",
145
+ "m-left-xs": "awsui_m-left-xs_18wu0_12wc1_874",
146
+ "m-s": "awsui_m-s_18wu0_12wc1_879",
147
+ "m-top-s": "awsui_m-top-s_18wu0_12wc1_884",
148
+ "m-vertical-s": "awsui_m-vertical-s_18wu0_12wc1_885",
149
+ "m-right-s": "awsui_m-right-s_18wu0_12wc1_889",
150
+ "m-horizontal-s": "awsui_m-horizontal-s_18wu0_12wc1_890",
151
+ "m-bottom-s": "awsui_m-bottom-s_18wu0_12wc1_894",
152
+ "m-left-s": "awsui_m-left-s_18wu0_12wc1_899",
153
+ "m-m": "awsui_m-m_18wu0_12wc1_904",
154
+ "m-top-m": "awsui_m-top-m_18wu0_12wc1_909",
155
+ "m-vertical-m": "awsui_m-vertical-m_18wu0_12wc1_910",
156
+ "m-right-m": "awsui_m-right-m_18wu0_12wc1_914",
157
+ "m-horizontal-m": "awsui_m-horizontal-m_18wu0_12wc1_915",
158
+ "m-bottom-m": "awsui_m-bottom-m_18wu0_12wc1_919",
159
+ "m-left-m": "awsui_m-left-m_18wu0_12wc1_924",
160
+ "m-l": "awsui_m-l_18wu0_12wc1_799",
161
+ "m-top-l": "awsui_m-top-l_18wu0_12wc1_934",
162
+ "m-vertical-l": "awsui_m-vertical-l_18wu0_12wc1_935",
163
+ "m-right-l": "awsui_m-right-l_18wu0_12wc1_939",
164
+ "m-horizontal-l": "awsui_m-horizontal-l_18wu0_12wc1_940",
165
+ "m-bottom-l": "awsui_m-bottom-l_18wu0_12wc1_944",
166
+ "m-left-l": "awsui_m-left-l_18wu0_12wc1_949",
167
+ "m-xl": "awsui_m-xl_18wu0_12wc1_954",
168
+ "m-top-xl": "awsui_m-top-xl_18wu0_12wc1_959",
169
+ "m-vertical-xl": "awsui_m-vertical-xl_18wu0_12wc1_960",
170
+ "m-right-xl": "awsui_m-right-xl_18wu0_12wc1_964",
171
+ "m-horizontal-xl": "awsui_m-horizontal-xl_18wu0_12wc1_965",
172
+ "m-bottom-xl": "awsui_m-bottom-xl_18wu0_12wc1_969",
173
+ "m-left-xl": "awsui_m-left-xl_18wu0_12wc1_974",
174
+ "m-xxl": "awsui_m-xxl_18wu0_12wc1_979",
175
+ "m-top-xxl": "awsui_m-top-xxl_18wu0_12wc1_984",
176
+ "m-vertical-xxl": "awsui_m-vertical-xxl_18wu0_12wc1_985",
177
+ "m-right-xxl": "awsui_m-right-xxl_18wu0_12wc1_989",
178
+ "m-horizontal-xxl": "awsui_m-horizontal-xxl_18wu0_12wc1_990",
179
+ "m-bottom-xxl": "awsui_m-bottom-xxl_18wu0_12wc1_994",
180
+ "m-left-xxl": "awsui_m-left-xxl_18wu0_12wc1_999",
181
+ "m-xxxl": "awsui_m-xxxl_18wu0_12wc1_1004",
182
+ "m-top-xxxl": "awsui_m-top-xxxl_18wu0_12wc1_1009",
183
+ "m-vertical-xxxl": "awsui_m-vertical-xxxl_18wu0_12wc1_1010",
184
+ "m-right-xxxl": "awsui_m-right-xxxl_18wu0_12wc1_1014",
185
+ "m-horizontal-xxxl": "awsui_m-horizontal-xxxl_18wu0_12wc1_1015",
186
+ "m-bottom-xxxl": "awsui_m-bottom-xxxl_18wu0_12wc1_1019",
187
+ "m-left-xxxl": "awsui_m-left-xxxl_18wu0_12wc1_1024",
188
+ "d-block": "awsui_d-block_18wu0_12wc1_1029",
189
+ "d-inline": "awsui_d-inline_18wu0_12wc1_1032",
190
+ "d-inline-block": "awsui_d-inline-block_18wu0_12wc1_1035",
191
+ "d-none": "awsui_d-none_18wu0_12wc1_1038",
192
+ "f-left": "awsui_f-left_18wu0_12wc1_1042",
193
+ "f-right": "awsui_f-right_18wu0_12wc1_1046"
194
194
  };
195
195