fluency-v8-components 1.6.7 → 1.6.9

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.
@@ -15670,7 +15670,7 @@ const hX = { class: "flex" }, pX = { class: "flex-shrink-0" }, gX = { class: "ml
15670
15670
  const p = window.document.querySelectorAll("#headlessui-portal-root");
15671
15671
  o.value = p && p.length > 0 && p[0].childElementCount > 1, s.value = setTimeout(() => {
15672
15672
  A();
15673
- }, 3e3);
15673
+ }, 1e4);
15674
15674
  }
15675
15675
  function A() {
15676
15676
  n.value = !1;
@@ -15824,7 +15824,7 @@ const hX = { class: "flex" }, pX = { class: "flex-shrink-0" }, gX = { class: "ml
15824
15824
  const p = window.document.querySelectorAll("#headlessui-portal-root");
15825
15825
  o.value = p && p.length > 0 && p[0].childElementCount > 1, s.value = setTimeout(() => {
15826
15826
  A();
15827
- }, 5e3);
15827
+ }, 1e4);
15828
15828
  }
15829
15829
  function A() {
15830
15830
  n.value = !1;
@@ -23597,7 +23597,10 @@ const kre = { class: "flex justify-center" }, jEe = {
23597
23597
  a[1] || (a[1] = (s) => n("setTime", r.value))
23598
23598
  ],
23599
23599
  "no-input": "",
23600
- "disable-date": (s) => s > /* @__PURE__ */ new Date(),
23600
+ "disable-date": (s) => {
23601
+ const o = /* @__PURE__ */ new Date();
23602
+ return s > new Date(Date.UTC(o.getUTCFullYear(), o.getUTCMonth(), o.getUTCDate() + 1) - 1);
23603
+ },
23601
23604
  "as-single": "",
23602
23605
  "use-range": "",
23603
23606
  shortcuts: !1
@@ -63420,7 +63423,7 @@ function(e) {
63420
63423
  var A = l.getContext("2d");
63421
63424
  A.fillStyle = "#fff", A.fillRect(0, 0, l.width, l.height);
63422
63425
  var u = { ignoreMouse: !0, ignoreAnimation: !0, ignoreDimensions: !0 }, d = this;
63423
- return (Bn.canvg ? Promise.resolve(Bn.canvg) : import("./index.es-CDoe-SLx.mjs")).catch(function(f) {
63426
+ return (Bn.canvg ? Promise.resolve(Bn.canvg) : import("./index.es-BYHYSIfp.mjs")).catch(function(f) {
63424
63427
  return Promise.reject(new Error("Could not load canvg: " + f));
63425
63428
  }).then(function(f) {
63426
63429
  return f.default ? f.default : f;
@@ -1,4 +1,4 @@
1
- import { c as Da, _ as Va, g as il } from "./index-C1Nl9fvu.mjs";
1
+ import { c as Da, _ as Va, g as il } from "./index-BXQXxSSY.mjs";
2
2
  var fn = {}, cn = {}, cr, vn;
3
3
  function Q() {
4
4
  if (vn) return cr;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluency-v8-components",
3
- "version": "1.6.7",
3
+ "version": "1.6.9",
4
4
  "main": "dist/fluency-v8-components.umd.js",
5
5
  "module": "dist/fluency-v8-components.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -4,7 +4,7 @@
4
4
  @custom-variant dark (&:where(.dark, .dark *));
5
5
  @theme {
6
6
  --color-vtd-primary-50: var(--color-sky-50);
7
- --color-vtd-primary-100: var(--color-sky-100);
7
+ --color-vtd-primary-100: var(--color-sky-200);
8
8
  --color-vtd-primary-200: var(--color-sky-200);
9
9
  --color-vtd-primary-300: var(--color-sky-300);
10
10
  --color-vtd-primary-400: var(--color-sky-400);
@@ -15,7 +15,7 @@
15
15
  --color-vtd-primary-900: var(--color-sky-900);
16
16
 
17
17
  --color-vtd-secondary-50: var(--color-gray-50);
18
- --color-vtd-secondary-100: var(--color-gray-100);
18
+ --color-vtd-secondary-100: var(--color-gray-500);
19
19
  --color-vtd-secondary-200: var(--color-gray-200);
20
20
  --color-vtd-secondary-300: var(--color-gray-300);
21
21
  --color-vtd-secondary-400: var(--color-gray-400);
@@ -3,7 +3,7 @@
3
3
  <vue-tailwind-datepicker
4
4
  v-model="dateValue"
5
5
  no-input
6
- :disable-date="(date) => date > new Date()"
6
+ :disable-date="(date) => { const now = new Date(); return date > new Date(Date.UTC(now.getUTCFullYear(), now.getUTCMonth(), now.getUTCDate() + 1) - 1); }"
7
7
  as-single
8
8
  use-range
9
9
  :shortcuts="false"
@@ -109,7 +109,7 @@ function openModal(t: string, m: string, s: boolean) {
109
109
  // auto close the notification after 5 seconds
110
110
  refresh.value = setTimeout(() => {
111
111
  closeModal();
112
- }, 3000);
112
+ }, 10000);
113
113
  }
114
114
 
115
115
  function closeModal() {
@@ -117,7 +117,7 @@ function openModal(t: string, l: string, s: boolean) {
117
117
  // auto close the notification after 5 seconds
118
118
  refresh.value = setTimeout(() => {
119
119
  closeModal();
120
- }, 5000);
120
+ }, 10000);
121
121
  }
122
122
 
123
123
  function closeModal() {