@cloudscape-design/components-themeable 3.0.1041 → 3.0.1043

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,3 +1,3 @@
1
1
  {
2
- "commit": "57a3f88f6607996841bcea85650ad6c18622ebb3"
2
+ "commit": "f8cc805ab13b7f7807e7d1a2c1fc1ef97f40ecd3"
3
3
  }
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Build environment
3
- $awsui-commit-hash: "57a3f88f";
3
+ $awsui-commit-hash: "f8cc805a";
4
4
  // Manually managed CSS-variables
5
5
  $maxContentWidth: --awsui-max-content-width-kcc2gu;
6
6
  $minContentWidth: --awsui-min-content-width-kcc2gu;
@@ -3892,5 +3892,5 @@
3892
3892
  }
3893
3893
  }
3894
3894
  :root {
3895
- --awsui-version-info-57a3f88f: true;
3895
+ --awsui-version-info-f8cc805a: true;
3896
3896
  }
@@ -1,6 +1,6 @@
1
1
  export var PACKAGE_SOURCE = "components";
2
- export var PACKAGE_VERSION = "3.0.0 (57a3f88f)";
3
- export var GIT_SHA = "57a3f88f";
2
+ export var PACKAGE_VERSION = "3.0.0 (f8cc805a)";
3
+ export var GIT_SHA = "f8cc805a";
4
4
  export var THEME = "open-source-visual-refresh";
5
5
  export var SYSTEM = "console";
6
6
  export var ALWAYS_VISUAL_REFRESH = true;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "PACKAGE_SOURCE": "components",
3
- "PACKAGE_VERSION": "3.0.0 (57a3f88f)",
4
- "GIT_SHA": "57a3f88f",
3
+ "PACKAGE_VERSION": "3.0.0 (f8cc805a)",
4
+ "GIT_SHA": "f8cc805a",
5
5
  "THEME": "default",
6
6
  "SYSTEM": "core",
7
7
  "ALWAYS_VISUAL_REFRESH": false
@@ -1,4 +1,12 @@
1
1
  import BaseInputWrapper from '../input/base-input';
2
2
  export default class DateInputWrapper extends BaseInputWrapper {
3
3
  static rootSelector: string;
4
+ /**
5
+ * Sets the value of the component and calls the `onChange` handler.
6
+ * The value needs to use the "YYYY/MM/DD" format,
7
+ * but the subsequent `onChange` handler will contain the value in the "YYYY-MM-DD" format.
8
+ *
9
+ * @param value The value the input is set to, using the "YYYY/MM/DD" format.
10
+ */
11
+ setInputValue(value: string): void;
4
12
  }
@@ -1,11 +1,31 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
2
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
3
  // SPDX-License-Identifier: Apache-2.0
4
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
5
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
6
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7
+ 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;
8
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
9
+ };
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ const dom_1 = require("@cloudscape-design/test-utils-core/dom");
5
12
  const base_input_1 = require("../input/base-input");
6
13
  const styles_selectors_js_1 = require("../../../date-input/styles.selectors.js");
7
14
  class DateInputWrapper extends base_input_1.default {
15
+ /**
16
+ * Sets the value of the component and calls the `onChange` handler.
17
+ * The value needs to use the "YYYY/MM/DD" format,
18
+ * but the subsequent `onChange` handler will contain the value in the "YYYY-MM-DD" format.
19
+ *
20
+ * @param value The value the input is set to, using the "YYYY/MM/DD" format.
21
+ */
22
+ setInputValue(value) {
23
+ return super.setInputValue(value);
24
+ }
8
25
  }
9
- exports.default = DateInputWrapper;
10
26
  DateInputWrapper.rootSelector = styles_selectors_js_1.default.root;
27
+ __decorate([
28
+ dom_1.usesDom
29
+ ], DateInputWrapper.prototype, "setInputValue", null);
30
+ exports.default = DateInputWrapper;
11
31
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/date-input/index.ts"],"names":[],"mappings":";;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,oDAAmD;AAEnD,iFAAgE;AAEhE,MAAqB,gBAAiB,SAAQ,oBAAgB;;AAA9D,mCAEC;AADQ,6BAAY,GAAW,6BAAS,CAAC,IAAI,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/date-input/index.ts"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;;;;;;;;AAEtC,gEAAiE;AAEjE,oDAAmD;AAEnD,iFAAgE;AAEhE,MAAqB,gBAAiB,SAAQ,oBAAgB;IAG5D;;;;;;OAMG;IACM,aAAa,CAAC,KAAa;QAClC,OAAO,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;;AAXM,6BAAY,GAAW,6BAAS,CAAC,IAAI,CAAC;AASpC;IAAR,aAAO;qDAEP;AAZH,mCAaC"}
@@ -1,3 +1,4 @@
1
+ import "@cloudscape-design/test-utils-core/selectors";
1
2
  import BaseInputWrapper from '../input/base-input';
2
3
  export default class DateInputWrapper extends BaseInputWrapper {
3
4
  static rootSelector: string;
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
2
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
3
  // SPDX-License-Identifier: Apache-2.0
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ require("@cloudscape-design/test-utils-core/selectors");
5
6
  const base_input_1 = require("../input/base-input");
6
7
  const styles_selectors_js_1 = require("../../../date-input/styles.selectors.js");
7
8
  class DateInputWrapper extends base_input_1.default {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/selectors/date-input/index.ts"],"names":[],"mappings":";;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,oDAAmD;AACnD,iFAAgE;AAChE,MAAqB,gBAAiB,SAAQ,oBAAgB;;AAA9D,mCAEC;AADQ,6BAAY,GAAW,6BAAS,CAAC,IAAI,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/selectors/date-input/index.ts"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;;AAEtC,wDAAsD;AACtD,oDAAmD;AACnD,iFAAgE;AAChE,MAAqB,gBAAiB,SAAQ,oBAAgB;;AAA9D,mCAUC;AATQ,6BAAY,GAAW,6BAAS,CAAC,IAAI,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudscape-design/components-themeable",
3
- "version": "3.0.1041",
3
+ "version": "3.0.1043",
4
4
  "files": [
5
5
  "lib"
6
6
  ],