@cloudscape-design/components 3.0.704 → 3.0.706
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/expandable-section/expandable-section-header.d.ts.map +1 -1
- package/expandable-section/expandable-section-header.js +9 -5
- package/expandable-section/expandable-section-header.js.map +1 -1
- package/expandable-section/interfaces.d.ts +1 -1
- package/expandable-section/interfaces.js.map +1 -1
- package/expandable-section/styles.css.js +32 -32
- package/expandable-section/styles.scoped.css +71 -64
- package/expandable-section/styles.selectors.js +32 -32
- package/expandable-section/utils.d.ts +2 -1
- package/expandable-section/utils.d.ts.map +1 -1
- package/expandable-section/utils.js +4 -1
- package/expandable-section/utils.js.map +1 -1
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/manifest.json +1 -1
- package/package.json +1 -1
- package/test-utils/dom/pagination/index.d.ts +1 -0
- package/test-utils/dom/pagination/index.js +13 -1
- package/test-utils/dom/pagination/index.js.map +1 -1
- package/test-utils/tsconfig.tsbuildinfo +1 -1
|
@@ -2,37 +2,37 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"content-enter": "awsui_content-
|
|
6
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
7
|
-
"trigger-expanded": "awsui_trigger-
|
|
8
|
-
"icon": "
|
|
9
|
-
"root": "
|
|
10
|
-
"expand-button": "awsui_expand-
|
|
11
|
-
"expanded": "
|
|
12
|
-
"icon-container": "awsui_icon-
|
|
13
|
-
"icon-container-container": "awsui_icon-container-
|
|
14
|
-
"wrapper": "
|
|
15
|
-
"wrapper-default": "awsui_wrapper-
|
|
16
|
-
"wrapper-footer": "awsui_wrapper-
|
|
17
|
-
"wrapper-navigation": "awsui_wrapper-
|
|
18
|
-
"wrapper-container": "awsui_wrapper-
|
|
19
|
-
"wrapper-compact": "awsui_wrapper-
|
|
20
|
-
"header-deprecated": "awsui_header-
|
|
21
|
-
"wrapper-expanded": "awsui_wrapper-
|
|
22
|
-
"header": "
|
|
23
|
-
"header-wrapper": "awsui_header-
|
|
24
|
-
"header-actions-wrapper": "awsui_header-actions-
|
|
25
|
-
"header-button": "awsui_header-
|
|
26
|
-
"header-container-button": "awsui_header-container-
|
|
27
|
-
"header-container": "awsui_header-
|
|
28
|
-
"header-navigation": "awsui_header-
|
|
29
|
-
"header-text": "awsui_header-
|
|
30
|
-
"content": "
|
|
31
|
-
"content-default": "awsui_content-
|
|
32
|
-
"content-footer": "awsui_content-
|
|
33
|
-
"content-expanded": "awsui_content-
|
|
34
|
-
"content-compact": "awsui_content-
|
|
35
|
-
"focusable": "
|
|
36
|
-
"click-target": "awsui_click-
|
|
5
|
+
"content-enter": "awsui_content-enter_gwq0h_16fk7_101",
|
|
6
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_gwq0h_16fk7_1",
|
|
7
|
+
"trigger-expanded": "awsui_trigger-expanded_gwq0h_16fk7_123",
|
|
8
|
+
"icon": "awsui_icon_gwq0h_16fk7_137",
|
|
9
|
+
"root": "awsui_root_gwq0h_16fk7_155",
|
|
10
|
+
"expand-button": "awsui_expand-button_gwq0h_16fk7_193",
|
|
11
|
+
"expanded": "awsui_expanded_gwq0h_16fk7_201",
|
|
12
|
+
"icon-container": "awsui_icon-container_gwq0h_16fk7_211",
|
|
13
|
+
"icon-container-container": "awsui_icon-container-container_gwq0h_16fk7_215",
|
|
14
|
+
"wrapper": "awsui_wrapper_gwq0h_16fk7_219",
|
|
15
|
+
"wrapper-default": "awsui_wrapper-default_gwq0h_16fk7_227",
|
|
16
|
+
"wrapper-footer": "awsui_wrapper-footer_gwq0h_16fk7_227",
|
|
17
|
+
"wrapper-navigation": "awsui_wrapper-navigation_gwq0h_16fk7_231",
|
|
18
|
+
"wrapper-container": "awsui_wrapper-container_gwq0h_16fk7_234",
|
|
19
|
+
"wrapper-compact": "awsui_wrapper-compact_gwq0h_16fk7_238",
|
|
20
|
+
"header-deprecated": "awsui_header-deprecated_gwq0h_16fk7_251",
|
|
21
|
+
"wrapper-expanded": "awsui_wrapper-expanded_gwq0h_16fk7_273",
|
|
22
|
+
"header": "awsui_header_gwq0h_16fk7_251",
|
|
23
|
+
"header-wrapper": "awsui_header-wrapper_gwq0h_16fk7_293",
|
|
24
|
+
"header-actions-wrapper": "awsui_header-actions-wrapper_gwq0h_16fk7_305",
|
|
25
|
+
"header-button": "awsui_header-button_gwq0h_16fk7_311",
|
|
26
|
+
"header-container-button": "awsui_header-container-button_gwq0h_16fk7_311",
|
|
27
|
+
"header-container": "awsui_header-container_gwq0h_16fk7_311",
|
|
28
|
+
"header-navigation": "awsui_header-navigation_gwq0h_16fk7_346",
|
|
29
|
+
"header-text": "awsui_header-text_gwq0h_16fk7_383",
|
|
30
|
+
"content": "awsui_content_gwq0h_16fk7_101",
|
|
31
|
+
"content-default": "awsui_content-default_gwq0h_16fk7_396",
|
|
32
|
+
"content-footer": "awsui_content-footer_gwq0h_16fk7_400",
|
|
33
|
+
"content-expanded": "awsui_content-expanded_gwq0h_16fk7_404",
|
|
34
|
+
"content-compact": "awsui_content-compact_gwq0h_16fk7_407",
|
|
35
|
+
"focusable": "awsui_focusable_gwq0h_16fk7_411",
|
|
36
|
+
"click-target": "awsui_click-target_gwq0h_16fk7_426"
|
|
37
37
|
};
|
|
38
38
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { InternalVariant } from './interfaces';
|
|
2
2
|
export declare function variantSupportsDescription(variant: InternalVariant): boolean;
|
|
3
|
-
export declare function
|
|
3
|
+
export declare function variantSupportsActions(variant: InternalVariant): boolean;
|
|
4
|
+
export declare function variantSupportsInfoLink(variant: InternalVariant): boolean;
|
|
4
5
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/expandable-section/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,eAAe,WAElE;AAED,wBAAgB,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/expandable-section/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,eAAe,WAElE;AAED,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,eAAe,WAE9D;AAED,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,eAAe,WAE/D"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
export function variantSupportsDescription(variant) {
|
|
2
2
|
return ['container', 'default', 'footer'].includes(variant);
|
|
3
3
|
}
|
|
4
|
-
export function
|
|
4
|
+
export function variantSupportsActions(variant) {
|
|
5
|
+
return ['container', 'compact', 'default'].includes(variant);
|
|
6
|
+
}
|
|
7
|
+
export function variantSupportsInfoLink(variant) {
|
|
5
8
|
return ['container', 'compact'].includes(variant);
|
|
6
9
|
}
|
|
7
10
|
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/expandable-section/utils.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,0BAA0B,CAAC,OAAwB;IACjE,OAAO,CAAC,WAAW,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AAC9D,CAAC;AAED,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/expandable-section/utils.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,0BAA0B,CAAC,OAAwB;IACjE,OAAO,CAAC,WAAW,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AAC9D,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,OAAwB;IAC7D,OAAO,CAAC,WAAW,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AAC/D,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,OAAwB;IAC9D,OAAO,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AACpD,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { InternalVariant } from './interfaces';\n\nexport function variantSupportsDescription(variant: InternalVariant) {\n return ['container', 'default', 'footer'].includes(variant);\n}\n\nexport function variantSupportsActions(variant: InternalVariant) {\n return ['container', 'compact', 'default'].includes(variant);\n}\n\nexport function variantSupportsInfoLink(variant: InternalVariant) {\n return ['container', 'compact'].includes(variant);\n}\n"]}
|
package/internal/environment.js
CHANGED
package/internal/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
2
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
9
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
4
10
|
// SPDX-License-Identifier: Apache-2.0
|
|
@@ -27,7 +33,13 @@ class PaginationWrapper extends dom_1.ComponentWrapper {
|
|
|
27
33
|
findNextPageButton() {
|
|
28
34
|
return this.find(`li:last-child .${styles_selectors_js_1.default.button}`);
|
|
29
35
|
}
|
|
36
|
+
isDisabled() {
|
|
37
|
+
return this.element.classList.contains(styles_selectors_js_1.default['root-disabled']);
|
|
38
|
+
}
|
|
30
39
|
}
|
|
31
|
-
exports.default = PaginationWrapper;
|
|
32
40
|
PaginationWrapper.rootSelector = styles_selectors_js_1.default.root;
|
|
41
|
+
__decorate([
|
|
42
|
+
dom_1.usesDom
|
|
43
|
+
], PaginationWrapper.prototype, "isDisabled", null);
|
|
44
|
+
exports.default = PaginationWrapper;
|
|
33
45
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/pagination/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/pagination/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,gEAAmG;AAEnG,iFAA6D;AAE7D,MAAqB,iBAAkB,SAAQ,sBAAgB;IAG7D,eAAe;QACb,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,gBAAgB,CAAC,CAAE,CAAC;IACzD,CAAC;IAED,eAAe;QACb,OAAO,IAAI,CAAC,kBAAkB,CAAC,6BAAM,CAAC,aAAa,CAAC,CAAC,CAAC;IACxD,CAAC;IAED;;;;OAIG;IACH,qBAAqB,CAAC,KAAa;QACjC,6CAA6C;QAC7C,MAAM,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;QAC5B,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,SAAS,MAAM,6BAAM,CAAC,MAAM,EAAE,CAAC,CAAC;IACnE,CAAC;IAED,sBAAsB;QACpB,OAAO,IAAI,CAAC,IAAI,CAAC,mBAAmB,6BAAM,CAAC,MAAM,EAAE,CAAE,CAAC;IACxD,CAAC;IAED,kBAAkB;QAChB,OAAO,IAAI,CAAC,IAAI,CAAC,kBAAkB,6BAAM,CAAC,MAAM,EAAE,CAAE,CAAC;IACvD,CAAC;IAGD,UAAU;QACR,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,6BAAM,CAAC,eAAe,CAAC,CAAC,CAAC;IAClE,CAAC;;AAhCM,8BAAY,GAAG,6BAAM,CAAC,IAAI,CAAC;AA8BlC;IADC,aAAO;mDAGP;AAjCH,oCAkCC"}
|