fluency-v8-components 1.6.6 → 1.6.8

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,4 +1,4 @@
1
- import { c as Da, _ as Va, g as il } from "./index-Cyr3_A8-.mjs";
1
+ import { c as Da, _ as Va, g as il } from "./index-ZjKXuOcc.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.6",
3
+ "version": "1.6.8",
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);
@@ -297,11 +297,15 @@ export default {
297
297
  })
298
298
  );
299
299
  });
300
- const totalLength = lines.node()?.getTotalLength() || 0;
301
300
  const totalDuration = 1200;
302
301
  lines
303
- .attr("stroke-dasharray", totalLength + " " + totalLength)
304
- .attr("stroke-dashoffset", totalLength)
302
+ .attr("stroke-dasharray", function () {
303
+ const len = this.getTotalLength();
304
+ return len + " " + len;
305
+ })
306
+ .attr("stroke-dashoffset", function () {
307
+ return this.getTotalLength();
308
+ })
305
309
  .transition()
306
310
  .duration(totalDuration)
307
311
  .ease(d3.easeLinear)
@@ -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() {