@cloudscape-design/board-components 3.0.109 → 3.0.111

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.
@@ -1,10 +1,10 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "placeholder": "awsui_placeholder_1h7dk_13ms3_5",
5
- "placeholder--active": "awsui_placeholder--active_1h7dk_13ms3_9",
6
- "placeholder--hover": "awsui_placeholder--hover_1h7dk_13ms3_12",
7
- "root": "awsui_root_1h7dk_13ms3_16",
8
- "empty": "awsui_empty_1h7dk_13ms3_20"
4
+ "placeholder": "awsui_placeholder_1h7dk_1qq5q_5",
5
+ "placeholder--active": "awsui_placeholder--active_1h7dk_1qq5q_9",
6
+ "placeholder--hover": "awsui_placeholder--hover_1h7dk_1qq5q_12",
7
+ "root": "awsui_root_1h7dk_1qq5q_16",
8
+ "empty": "awsui_empty_1h7dk_1qq5q_20"
9
9
  };
10
10
 
@@ -2,28 +2,28 @@
2
2
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
3
  SPDX-License-Identifier: Apache-2.0
4
4
  */
5
- .awsui_placeholder_1h7dk_13ms3_5:not(#\9) {
5
+ .awsui_placeholder_1h7dk_1qq5q_5:not(#\9) {
6
6
  border-radius: var(--border-radius-container-nsfwmm, 16px);
7
7
  block-size: 100%;
8
8
  }
9
- .awsui_placeholder--active_1h7dk_13ms3_9:not(#\9) {
10
- background-color: var(--color-board-placeholder-active-3nv7j5, #ebebf0);
9
+ .awsui_placeholder--active_1h7dk_1qq5q_9:not(#\9) {
10
+ background-color: var(--color-board-placeholder-active-x6yfem, #ebebf0);
11
11
  }
12
- .awsui_placeholder--hover_1h7dk_13ms3_12:not(#\9) {
13
- background-color: var(--color-board-placeholder-hover-1hv3br, #d1f1ff);
12
+ .awsui_placeholder--hover_1h7dk_1qq5q_12:not(#\9) {
13
+ background-color: var(--color-board-placeholder-hover-5nov9c, #d1f1ff);
14
14
  }
15
15
 
16
- .awsui_root_1h7dk_13ms3_16:not(#\9) {
16
+ .awsui_root_1h7dk_1qq5q_16:not(#\9) {
17
17
  /* used in test-utils */
18
18
  }
19
19
 
20
- .awsui_empty_1h7dk_13ms3_20:not(#\9) {
20
+ .awsui_empty_1h7dk_1qq5q_20:not(#\9) {
21
21
  box-sizing: border-box;
22
22
  inline-size: 100%;
23
23
  padding-block-start: var(--space-scaled-m-m892r9, 16px);
24
24
  padding-block-end: var(--space-scaled-l-sej05l, 20px);
25
25
  padding-inline: var(--space-scaled-l-sej05l, 20px);
26
- color: var(--color-text-empty-68xc4n, #656871);
26
+ color: var(--color-text-empty-tlohug, #656871);
27
27
  display: flex;
28
28
  justify-content: center;
29
29
  }
@@ -2,10 +2,10 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "placeholder": "awsui_placeholder_1h7dk_13ms3_5",
6
- "placeholder--active": "awsui_placeholder--active_1h7dk_13ms3_9",
7
- "placeholder--hover": "awsui_placeholder--hover_1h7dk_13ms3_12",
8
- "root": "awsui_root_1h7dk_13ms3_16",
9
- "empty": "awsui_empty_1h7dk_13ms3_20"
5
+ "placeholder": "awsui_placeholder_1h7dk_1qq5q_5",
6
+ "placeholder--active": "awsui_placeholder--active_1h7dk_1qq5q_9",
7
+ "placeholder--hover": "awsui_placeholder--hover_1h7dk_1qq5q_12",
8
+ "root": "awsui_root_1h7dk_1qq5q_16",
9
+ "empty": "awsui_empty_1h7dk_1qq5q_20"
10
10
  };
11
11
 
@@ -1,16 +1,16 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_9ckv7_1kyj0_9",
5
- "container-override": "awsui_container-override_9ckv7_1kyj0_14",
6
- "active": "awsui_active_9ckv7_1kyj0_14",
7
- "header": "awsui_header_9ckv7_1kyj0_36",
8
- "flexible": "awsui_flexible_9ckv7_1kyj0_43",
9
- "handle": "awsui_handle_9ckv7_1kyj0_47",
10
- "refresh": "awsui_refresh_9ckv7_1kyj0_50",
11
- "header-content": "awsui_header-content_9ckv7_1kyj0_54",
12
- "settings": "awsui_settings_9ckv7_1kyj0_58",
13
- "fixed": "awsui_fixed_9ckv7_1kyj0_66",
14
- "resizer": "awsui_resizer_9ckv7_1kyj0_70"
4
+ "root": "awsui_root_9ckv7_zpa7v_9",
5
+ "container-override": "awsui_container-override_9ckv7_zpa7v_14",
6
+ "active": "awsui_active_9ckv7_zpa7v_14",
7
+ "header": "awsui_header_9ckv7_zpa7v_36",
8
+ "flexible": "awsui_flexible_9ckv7_zpa7v_43",
9
+ "handle": "awsui_handle_9ckv7_zpa7v_47",
10
+ "refresh": "awsui_refresh_9ckv7_zpa7v_50",
11
+ "header-content": "awsui_header-content_9ckv7_zpa7v_54",
12
+ "settings": "awsui_settings_9ckv7_zpa7v_58",
13
+ "fixed": "awsui_fixed_9ckv7_zpa7v_66",
14
+ "resizer": "awsui_resizer_9ckv7_zpa7v_70"
15
15
  };
16
16
 
@@ -6,21 +6,21 @@
6
6
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
7
7
  SPDX-License-Identifier: Apache-2.0
8
8
  */
9
- .awsui_root_9ckv7_1kyj0_9:not(#\9) {
9
+ .awsui_root_9ckv7_zpa7v_9:not(#\9) {
10
10
  display: contents;
11
11
  }
12
12
 
13
13
  /* TODO: use container API instead of styles override */
14
- .awsui_container-override_9ckv7_1kyj0_14.awsui_active_9ckv7_1kyj0_14:not(#\9) {
14
+ .awsui_container-override_9ckv7_zpa7v_14.awsui_active_9ckv7_zpa7v_14:not(#\9) {
15
15
  box-shadow: var(--shadow-container-active-ypjjoc, 0px 1px 1px 1px #e9ebed, 0px 6px 36px rgba(0, 7, 22, 0.1019607843));
16
16
  }
17
- [data-awsui-focus-visible] .awsui_container-override_9ckv7_1kyj0_14.awsui_active_9ckv7_1kyj0_14:not(#\9) {
17
+ [data-awsui-focus-visible] .awsui_container-override_9ckv7_zpa7v_14.awsui_active_9ckv7_zpa7v_14:not(#\9) {
18
18
  position: relative;
19
19
  box-sizing: border-box;
20
20
  outline: 2px dotted transparent;
21
21
  outline-offset: -1px;
22
22
  }
23
- [data-awsui-focus-visible] .awsui_container-override_9ckv7_1kyj0_14.awsui_active_9ckv7_1kyj0_14:not(#\9)::before {
23
+ [data-awsui-focus-visible] .awsui_container-override_9ckv7_zpa7v_14.awsui_active_9ckv7_zpa7v_14:not(#\9)::before {
24
24
  content: " ";
25
25
  display: block;
26
26
  position: absolute;
@@ -30,44 +30,44 @@
30
30
  inline-size: calc(100% + 2 * 0px);
31
31
  block-size: calc(100% + 2 * 0px);
32
32
  border-radius: var(--border-radius-container-nsfwmm, 16px);
33
- border: 2px solid var(--color-border-item-focused-8bi903, #006ce0);
33
+ border: 2px solid var(--color-border-item-focused-uk47pl, #006ce0);
34
34
  }
35
35
 
36
- .awsui_header_9ckv7_1kyj0_36:not(#\9) {
36
+ .awsui_header_9ckv7_zpa7v_36:not(#\9) {
37
37
  display: flex;
38
38
  justify-items: center;
39
39
  padding-block: var(--space-scaled-s-8ozaad, 12px);
40
40
  padding-inline: calc(var(--space-container-horizontal-nqrzyh, 20px) - var(--space-scaled-xs-xwoogq, 8px));
41
41
  }
42
42
 
43
- .awsui_flexible_9ckv7_1kyj0_43:not(#\9) {
43
+ .awsui_flexible_9ckv7_zpa7v_43:not(#\9) {
44
44
  flex: 1 1 min-content;
45
45
  }
46
46
 
47
- .awsui_handle_9ckv7_1kyj0_47:not(#\9) {
47
+ .awsui_handle_9ckv7_zpa7v_47:not(#\9) {
48
48
  margin-block-start: calc(var(--space-scaled-xxs-pfm1nx, 4px) + 1px);
49
49
  }
50
- .awsui_refresh_9ckv7_1kyj0_50 > .awsui_handle_9ckv7_1kyj0_47:not(#\9) {
50
+ .awsui_refresh_9ckv7_zpa7v_50 > .awsui_handle_9ckv7_zpa7v_47:not(#\9) {
51
51
  margin-block-start: calc(var(--space-static-xxxs-yidks1, 2px) + 1px);
52
52
  }
53
53
 
54
- .awsui_header-content_9ckv7_1kyj0_54:not(#\9) {
54
+ .awsui_header-content_9ckv7_zpa7v_54:not(#\9) {
55
55
  margin-inline-start: var(--space-scaled-xxs-pfm1nx, 4px);
56
56
  }
57
57
 
58
- .awsui_settings_9ckv7_1kyj0_58:not(#\9) {
58
+ .awsui_settings_9ckv7_zpa7v_58:not(#\9) {
59
59
  margin-block-start: calc(var(--space-scaled-xxxs-oo06c7, 2px) + 1px);
60
60
  margin-inline-start: var(--space-static-xs-gnm0mz, 8px);
61
61
  }
62
- .awsui_refresh_9ckv7_1kyj0_50 > .awsui_settings_9ckv7_1kyj0_58:not(#\9) {
62
+ .awsui_refresh_9ckv7_zpa7v_50 > .awsui_settings_9ckv7_zpa7v_58:not(#\9) {
63
63
  margin-block-start: 0px;
64
64
  }
65
65
 
66
- .awsui_fixed_9ckv7_1kyj0_66:not(#\9) {
66
+ .awsui_fixed_9ckv7_zpa7v_66:not(#\9) {
67
67
  flex: 0 0 auto;
68
68
  }
69
69
 
70
- .awsui_resizer_9ckv7_1kyj0_70:not(#\9) {
70
+ .awsui_resizer_9ckv7_zpa7v_70:not(#\9) {
71
71
  position: absolute;
72
72
  inset-block-end: calc(var(--space-static-xs-gnm0mz, 8px) - var(--space-static-xxxs-yidks1, 2px));
73
73
  inset-inline-end: calc(var(--space-static-xs-gnm0mz, 8px) - var(--space-static-xxxs-yidks1, 2px));
@@ -2,16 +2,16 @@
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_9ckv7_1kyj0_9",
6
- "container-override": "awsui_container-override_9ckv7_1kyj0_14",
7
- "active": "awsui_active_9ckv7_1kyj0_14",
8
- "header": "awsui_header_9ckv7_1kyj0_36",
9
- "flexible": "awsui_flexible_9ckv7_1kyj0_43",
10
- "handle": "awsui_handle_9ckv7_1kyj0_47",
11
- "refresh": "awsui_refresh_9ckv7_1kyj0_50",
12
- "header-content": "awsui_header-content_9ckv7_1kyj0_54",
13
- "settings": "awsui_settings_9ckv7_1kyj0_58",
14
- "fixed": "awsui_fixed_9ckv7_1kyj0_66",
15
- "resizer": "awsui_resizer_9ckv7_1kyj0_70"
5
+ "root": "awsui_root_9ckv7_zpa7v_9",
6
+ "container-override": "awsui_container-override_9ckv7_zpa7v_14",
7
+ "active": "awsui_active_9ckv7_zpa7v_14",
8
+ "header": "awsui_header_9ckv7_zpa7v_36",
9
+ "flexible": "awsui_flexible_9ckv7_zpa7v_43",
10
+ "handle": "awsui_handle_9ckv7_zpa7v_47",
11
+ "refresh": "awsui_refresh_9ckv7_zpa7v_50",
12
+ "header-content": "awsui_header-content_9ckv7_zpa7v_54",
13
+ "settings": "awsui_settings_9ckv7_zpa7v_58",
14
+ "fixed": "awsui_fixed_9ckv7_zpa7v_66",
15
+ "resizer": "awsui_resizer_9ckv7_zpa7v_70"
16
16
  };
17
17
 
@@ -0,0 +1,3 @@
1
+ import { ComponentDefinition } from './interfaces';
2
+ declare const definitions: Record<string, ComponentDefinition>;
3
+ export = definitions;
@@ -0,0 +1,80 @@
1
+ export interface ComponentDefinition {
2
+ name: string;
3
+ dashCaseName: string;
4
+ /** @deprecated */
5
+ releaseStatus: string;
6
+ /** @deprecated */
7
+ version?: string;
8
+ /** @deprecated */
9
+ description?: string;
10
+ systemTags?: Array<string>;
11
+ properties: ComponentProperty[];
12
+ regions: ComponentRegion[];
13
+ functions: ComponentFunction[];
14
+ events: EventHandler[];
15
+ }
16
+ interface Taggable {
17
+ deprecatedTag?: string;
18
+ visualRefreshTag?: string;
19
+ i18nTag?: true | undefined;
20
+ systemTags?: Array<string>;
21
+ }
22
+ export interface ValueDescription {
23
+ systemTags: Array<string>;
24
+ }
25
+ export interface ComponentProperty extends Taggable {
26
+ name: string;
27
+ description?: string;
28
+ optional: boolean;
29
+ type: string;
30
+ inlineType?: TypeDefinition;
31
+ defaultValue?: string;
32
+ analyticsTag?: string;
33
+ }
34
+ export interface ComponentRegion extends Taggable {
35
+ name: string;
36
+ description?: string;
37
+ displayName?: string;
38
+ isDefault: boolean;
39
+ }
40
+ export interface ComponentFunction {
41
+ name: string;
42
+ description?: string;
43
+ parameters: FunctionParameter[];
44
+ returnType: string;
45
+ }
46
+ export type TypeDefinition = ObjectDefinition | FunctionDefinition | UnionTypeDefinition;
47
+ export interface ObjectDefinition {
48
+ name: string;
49
+ type: 'object';
50
+ properties: ObjectDefinitionProperty[];
51
+ }
52
+ export interface ObjectDefinitionProperty {
53
+ name: string;
54
+ optional: boolean;
55
+ type: string;
56
+ }
57
+ export interface FunctionDefinition {
58
+ name: string;
59
+ type: 'function';
60
+ returnType: string;
61
+ parameters: FunctionParameter[];
62
+ }
63
+ export interface FunctionParameter {
64
+ name: string;
65
+ type: string;
66
+ }
67
+ export interface UnionTypeDefinition {
68
+ name: string;
69
+ type: 'union';
70
+ valueDescriptions?: Record<string, ValueDescription>;
71
+ values: string[];
72
+ }
73
+ export interface EventHandler extends Taggable {
74
+ name: string;
75
+ description?: string;
76
+ detailType?: string;
77
+ detailInlineType?: TypeDefinition;
78
+ cancelable: boolean;
79
+ }
80
+ export {};
@@ -1,7 +1,7 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "handle": "awsui_handle_umbhe_10muf_9",
5
- "active": "awsui_active_umbhe_10muf_17"
4
+ "handle": "awsui_handle_umbhe_t9qqw_9",
5
+ "active": "awsui_active_umbhe_t9qqw_17"
6
6
  };
7
7
 
@@ -6,21 +6,21 @@
6
6
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
7
7
  SPDX-License-Identifier: Apache-2.0
8
8
  */
9
- .awsui_handle_umbhe_10muf_9:not(#\9) {
9
+ .awsui_handle_umbhe_t9qqw_9:not(#\9) {
10
10
  cursor: grab;
11
11
  }
12
12
 
13
- .awsui_handle_umbhe_10muf_9:not(#\9):active {
13
+ .awsui_handle_umbhe_t9qqw_9:not(#\9):active {
14
14
  cursor: grabbing;
15
15
  }
16
16
 
17
- .awsui_handle_umbhe_10muf_9:not(#\9):not(.awsui_active_umbhe_10muf_17):focus-visible {
17
+ .awsui_handle_umbhe_t9qqw_9:not(#\9):not(.awsui_active_umbhe_t9qqw_17):focus-visible {
18
18
  position: relative;
19
19
  box-sizing: border-box;
20
20
  outline: 2px dotted transparent;
21
21
  outline-offset: 3px;
22
22
  }
23
- .awsui_handle_umbhe_10muf_9:not(#\9):not(.awsui_active_umbhe_10muf_17):focus-visible::before {
23
+ .awsui_handle_umbhe_t9qqw_9:not(#\9):not(.awsui_active_umbhe_t9qqw_17):focus-visible::before {
24
24
  content: " ";
25
25
  display: block;
26
26
  position: absolute;
@@ -30,9 +30,9 @@
30
30
  inline-size: calc(100% + 2 * 4px);
31
31
  block-size: calc(100% + 2 * 4px);
32
32
  border-radius: var(--border-radius-control-default-focus-ring-1uabki, 4px);
33
- border: 2px solid var(--color-border-item-focused-8bi903, #006ce0);
33
+ border: 2px solid var(--color-border-item-focused-uk47pl, #006ce0);
34
34
  }
35
35
 
36
- .awsui_active_umbhe_10muf_17:not(#\9) {
36
+ .awsui_active_umbhe_t9qqw_17:not(#\9) {
37
37
  outline: none;
38
38
  }
@@ -2,7 +2,7 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "handle": "awsui_handle_umbhe_10muf_9",
6
- "active": "awsui_active_umbhe_10muf_17"
5
+ "handle": "awsui_handle_umbhe_t9qqw_9",
6
+ "active": "awsui_active_umbhe_t9qqw_17"
7
7
  };
8
8
 
@@ -1,4 +1,4 @@
1
1
  export var PACKAGE_SOURCE = "board-components";
2
- export var PACKAGE_VERSION = "3.0.0 (8071ba6f)";
2
+ export var PACKAGE_VERSION = "3.0.0 (af44212e)";
3
3
  export var THEME = "open-source-visual-refresh";
4
4
  export var ALWAYS_VISUAL_REFRESH = true;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "PACKAGE_SOURCE": "board-components",
3
- "PACKAGE_VERSION": "3.0.0 (8071ba6f)",
3
+ "PACKAGE_VERSION": "3.0.0 (af44212e)",
4
4
  "THEME": "open-source-visual-refresh",
5
5
  "ALWAYS_VISUAL_REFRESH": true
6
6
  }