@descope/web-components-ui 1.116.0 → 1.117.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/web-components-ui",
3
- "version": "1.116.0",
3
+ "version": "1.117.0",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -89,7 +89,7 @@
89
89
  "@descope-ui/descope-list": "0.0.1",
90
90
  "@descope-ui/descope-list-item": "0.0.1",
91
91
  "@descope-ui/descope-apps-list": "0.0.1",
92
- "@descope-ui/descope-outbound-apps": "0.0.4",
92
+ "@descope-ui/descope-outbound-apps": "0.0.5",
93
93
  "@descope-ui/descope-password-strength": "0.0.13",
94
94
  "@descope-ui/descope-collapsible-container": "0.0.18",
95
95
  "@descope-ui/descope-recovery-codes": "0.0.6",
@@ -80,7 +80,7 @@ class RawDateFieldClass extends BaseInputClass {
80
80
  if (!epochOrDate) {
81
81
  this.epoch = '';
82
82
  } else {
83
- this.epoch = newDate(epochOrDate).getTime();
83
+ this.epoch = dateToEpoch(newDate(epochOrDate), this.isUtcTime);
84
84
  }
85
85
  }
86
86
 
@@ -611,13 +611,13 @@ class RawDateFieldClass extends BaseInputClass {
611
611
  this.dateCounters.forEach((dc) => {
612
612
  switch (dc.id) {
613
613
  case counterConfig.MONTH.id:
614
- dc.set(date.getMonth() + 1);
614
+ dc.set(this.isUtcTime ? date.getUTCMonth() + 1 : date.getMonth() + 1);
615
615
  break;
616
616
  case counterConfig.YEAR.id:
617
- dc.set(date.getFullYear());
617
+ dc.set(this.isUtcTime ? date.getUTCFullYear() : date.getFullYear());
618
618
  break;
619
619
  case counterConfig.DAY.id:
620
- dc.set(date.getDate());
620
+ dc.set(this.isUtcTime ? date.getUTCDate() : date.getDate());
621
621
  break;
622
622
  default:
623
623
  break;
package/src/constants.js CHANGED
@@ -2,3 +2,5 @@ export const DESCOPE_PREFIX = 'descope';
2
2
  export const CSS_SELECTOR_SPECIFIER_MULTIPLY = 3;
3
3
  export const BASE_THEME_SECTION = 'host';
4
4
  export const PORTAL_THEME_PREFIX = '@';
5
+
6
+ export const TEST_CONST_FOR_RELEASE_TRIGGER = 'true';