@fewangsit/wangsvue-presets 1.0.103-alpha.1 → 1.0.103

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.
Files changed (45) hide show
  1. package/fixedasset/calendar/index.js +3 -3
  2. package/fixedasset/colors.config.json +73 -73
  3. package/fixedasset/index.es.js +25 -25
  4. package/fixedasset/index.system.js +2 -2
  5. package/fixedasset/inputbadge/index.js +3 -3
  6. package/fixedasset/inputcurrency/index.d.ts +4 -4
  7. package/fixedasset/inputgroup/index.js +3 -3
  8. package/fixedasset/inputphonenumber/index.d.ts +8 -8
  9. package/fixedasset/inputphonenumber/index.js +2 -2
  10. package/fixedasset/style.css +9 -9
  11. package/fixedasset/toggleswitch/index.js +2 -2
  12. package/globalsettings/calendar/index.js +3 -3
  13. package/globalsettings/colors.config.json +97 -97
  14. package/globalsettings/index.es.js +20 -20
  15. package/globalsettings/index.system.js +2 -2
  16. package/globalsettings/inputbadge/index.js +3 -3
  17. package/globalsettings/inputcurrency/index.d.ts +4 -4
  18. package/globalsettings/inputgroup/index.js +3 -3
  19. package/globalsettings/inputphonenumber/index.d.ts +8 -8
  20. package/globalsettings/inputphonenumber/index.js +2 -2
  21. package/globalsettings/style.css +10 -10
  22. package/globalsettings/toggleswitch/index.js +2 -2
  23. package/package.json +13 -13
  24. package/supplyasset/calendar/index.js +3 -3
  25. package/supplyasset/colors.config.json +97 -97
  26. package/supplyasset/index.es.js +18 -18
  27. package/supplyasset/index.system.js +2 -2
  28. package/supplyasset/inputbadge/index.js +3 -3
  29. package/supplyasset/inputcurrency/index.d.ts +4 -4
  30. package/supplyasset/inputgroup/index.js +3 -3
  31. package/supplyasset/inputphonenumber/index.d.ts +8 -8
  32. package/supplyasset/inputphonenumber/index.js +2 -2
  33. package/supplyasset/style.css +10 -10
  34. package/supplyasset/toggleswitch/index.js +2 -2
  35. package/wangsvue/calendar/index.js +3 -3
  36. package/wangsvue/colors.config.json +76 -76
  37. package/wangsvue/index.es.js +21 -21
  38. package/wangsvue/index.system.js +2 -2
  39. package/wangsvue/inputbadge/index.js +3 -3
  40. package/wangsvue/inputcurrency/index.d.ts +4 -4
  41. package/wangsvue/inputgroup/index.js +3 -3
  42. package/wangsvue/inputphonenumber/index.d.ts +8 -8
  43. package/wangsvue/inputphonenumber/index.js +2 -2
  44. package/wangsvue/style.css +9 -9
  45. package/wangsvue/toggleswitch/index.js +2 -2
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- var isFirefoxBased = navigator.userAgent.includes('Firefox');
3
+ var isChromeBased = navigator.userAgent.includes('Chrome');
4
4
  var preset = {
5
5
  root: function (_a) {
6
6
  var props = _a.props;
@@ -482,8 +482,8 @@ var preset = {
482
482
  class: [
483
483
  'w-[39px] h-[26px] flex justify-center items-center ring-general-200 rounded',
484
484
  {
485
- 'ring-1': isFirefoxBased,
486
- 'ring-[0.5px]': !isFirefoxBased,
485
+ 'ring-1': !isChromeBased,
486
+ 'ring-[0.5px]': isChromeBased,
487
487
  },
488
488
  ],
489
489
  },
@@ -1,73 +1,73 @@
1
- {
2
- "primary-50": "#e5f0ff",
3
- "primary-100": "#cce0ff",
4
- "primary-200": "#94bfff",
5
- "primary-300": "#61a0ff",
6
- "primary-400": "#2e82ff",
7
- "primary-500": "#0063f7",
8
- "primary-600": "#0050c7",
9
- "primary-700": "#003b94",
10
- "primary-800": "#002761",
11
- "primary-900": "#001433",
12
- "primary-950": "#000a19",
13
-
14
- "danger-50": "#ffe5e9",
15
- "danger-100": "#ffccd3",
16
- "danger-200": "#ff99a7",
17
- "danger-300": "#ff667a",
18
- "danger-400": "#ff334e",
19
- "danger-500": "#ff0022",
20
- "danger-600": "#cc001b",
21
- "danger-700": "#990014",
22
- "danger-800": "#66000e",
23
- "danger-900": "#330007",
24
- "danger-950": "#190003",
25
-
26
- "warning-50": "#fff9e5",
27
- "warning-100": "#fff4cc",
28
- "warning-200": "#ffe999",
29
- "warning-300": "#ffde66",
30
- "warning-400": "#ffd333",
31
- "warning-500": "#ffc700",
32
- "warning-600": "#cca000",
33
- "warning-700": "#997800",
34
- "warning-800": "#665000",
35
- "warning-900": "#332800",
36
- "warning-950": "#191400",
37
-
38
- "success-50": "#dbffee",
39
- "success-100": "#b8ffdc",
40
- "success-200": "#75ffbc",
41
- "success-300": "#2eff9a",
42
- "success-400": "#00eb79",
43
- "success-500": "#00a455",
44
- "success-600": "#008545",
45
- "success-700": "#006132",
46
- "success-800": "#004222",
47
- "success-900": "#001f10",
48
- "success-950": "#000f08",
49
-
50
- "grayscale-50": "#f7f7f7",
51
- "grayscale-100": "#f2f2f2",
52
- "grayscale-200": "#e5e6e6",
53
- "grayscale-300": "#d8d9d9",
54
- "grayscale-400": "#cbcccd",
55
- "grayscale-500": "#bdbebf",
56
- "grayscale-600": "#97999b",
57
- "grayscale-700": "#717374",
58
- "grayscale-800": "#4b4d4e",
59
- "grayscale-900": "#262627",
60
- "grayscale-950": "#121212",
61
-
62
- "general-50": "#ebeaf0",
63
- "general-100": "#dad9e3",
64
- "general-200": "#b5b3c7",
65
- "general-300": "#908cab",
66
- "general-400": "#6c688d",
67
- "general-500": "#4e4b66",
68
- "general-600": "#3f3c52",
69
- "general-700": "#2f2d3e",
70
- "general-800": "#201e29",
71
- "general-900": "#100f15",
72
- "general-950": "#070609"
73
- }
1
+ {
2
+ "primary-50": "#e5f0ff",
3
+ "primary-100": "#cce0ff",
4
+ "primary-200": "#94bfff",
5
+ "primary-300": "#61a0ff",
6
+ "primary-400": "#2e82ff",
7
+ "primary-500": "#0063f7",
8
+ "primary-600": "#0050c7",
9
+ "primary-700": "#003b94",
10
+ "primary-800": "#002761",
11
+ "primary-900": "#001433",
12
+ "primary-950": "#000a19",
13
+
14
+ "danger-50": "#ffe5e9",
15
+ "danger-100": "#ffccd3",
16
+ "danger-200": "#ff99a7",
17
+ "danger-300": "#ff667a",
18
+ "danger-400": "#ff334e",
19
+ "danger-500": "#ff0022",
20
+ "danger-600": "#cc001b",
21
+ "danger-700": "#990014",
22
+ "danger-800": "#66000e",
23
+ "danger-900": "#330007",
24
+ "danger-950": "#190003",
25
+
26
+ "warning-50": "#fff9e5",
27
+ "warning-100": "#fff4cc",
28
+ "warning-200": "#ffe999",
29
+ "warning-300": "#ffde66",
30
+ "warning-400": "#ffd333",
31
+ "warning-500": "#ffc700",
32
+ "warning-600": "#cca000",
33
+ "warning-700": "#997800",
34
+ "warning-800": "#665000",
35
+ "warning-900": "#332800",
36
+ "warning-950": "#191400",
37
+
38
+ "success-50": "#dbffee",
39
+ "success-100": "#b8ffdc",
40
+ "success-200": "#75ffbc",
41
+ "success-300": "#2eff9a",
42
+ "success-400": "#00eb79",
43
+ "success-500": "#00a455",
44
+ "success-600": "#008545",
45
+ "success-700": "#006132",
46
+ "success-800": "#004222",
47
+ "success-900": "#001f10",
48
+ "success-950": "#000f08",
49
+
50
+ "grayscale-50": "#f7f7f7",
51
+ "grayscale-100": "#f2f2f2",
52
+ "grayscale-200": "#e5e6e6",
53
+ "grayscale-300": "#d8d9d9",
54
+ "grayscale-400": "#cbcccd",
55
+ "grayscale-500": "#bdbebf",
56
+ "grayscale-600": "#97999b",
57
+ "grayscale-700": "#717374",
58
+ "grayscale-800": "#4b4d4e",
59
+ "grayscale-900": "#262627",
60
+ "grayscale-950": "#121212",
61
+
62
+ "general-50": "#ebeaf0",
63
+ "general-100": "#dad9e3",
64
+ "general-200": "#b5b3c7",
65
+ "general-300": "#908cab",
66
+ "general-400": "#6c688d",
67
+ "general-500": "#4e4b66",
68
+ "general-600": "#3f3c52",
69
+ "general-700": "#2f2d3e",
70
+ "general-800": "#201e29",
71
+ "general-900": "#100f15",
72
+ "general-950": "#070609"
73
+ }
@@ -384,7 +384,7 @@ const T = {
384
384
  "icon-class": "w-[10px] h-[10px] !text-[10px]",
385
385
  "data-wv-section": "removebutton"
386
386
  })
387
- }, F = {
387
+ }, S = {
388
388
  root: ({ context: e }) => ({
389
389
  class: [
390
390
  // Font
@@ -422,7 +422,7 @@ const T = {
422
422
  }
423
423
  ]
424
424
  })
425
- }, S = {
425
+ }, P = {
426
426
  root: ({ props: e, context: t }) => ({
427
427
  class: [
428
428
  "relative",
@@ -717,7 +717,7 @@ const T = {
717
717
  }
718
718
  ]
719
719
  })
720
- }, P = {
720
+ }, F = {
721
721
  root: ({ props: e }) => ({
722
722
  class: [
723
723
  "rounded ring-1 ring-success-500 p-[5px] ring-inset",
@@ -809,7 +809,7 @@ const T = {
809
809
  "data-ts-section": "button-split"
810
810
  },
811
811
  menuButton: "!rounded-ss-none !rounded-es-none"
812
- }, x = navigator.userAgent.includes("Firefox"), B = {
812
+ }, x = navigator.userAgent.includes("Chrome"), B = {
813
813
  root: ({ props: e }) => ({
814
814
  class: [
815
815
  // Display and Position
@@ -1267,8 +1267,8 @@ const T = {
1267
1267
  class: [
1268
1268
  "w-[39px] h-[26px] flex justify-center items-center ring-general-200 rounded",
1269
1269
  {
1270
- "ring-1": x,
1271
- "ring-[0.5px]": !x
1270
+ "ring-1": !x,
1271
+ "ring-[0.5px]": x
1272
1272
  }
1273
1273
  ]
1274
1274
  },
@@ -3940,15 +3940,15 @@ const T = {
3940
3940
  ]
3941
3941
  };
3942
3942
  }
3943
- }, v = navigator.userAgent.includes("Firefox"), ce = {
3943
+ }, v = navigator.userAgent.includes("Chrome"), ce = {
3944
3944
  root: ({ context: e }) => ({
3945
3945
  class: [
3946
3946
  "flex flex-wrap gap-x-0.5 gap-y-[5px] items-center",
3947
3947
  "min-h-[26px] h-fit w-full",
3948
3948
  "ring-inset rounded px-[12px] py-[3px]",
3949
3949
  {
3950
- "ring-[1px]": v,
3951
- "ring-[0.5px]": !v
3950
+ "ring-[1px]": !v,
3951
+ "ring-[0.5px]": v
3952
3952
  },
3953
3953
  { "!ring-danger-500 !dark:ring-danger-500": e.invalidInput },
3954
3954
  { "!ring-general-200 !dark:ring-general-200": !e.invalidInput },
@@ -3973,7 +3973,7 @@ const T = {
3973
3973
  erroroverlaypanel: {
3974
3974
  class: ["px-3 py-1 text-[12px] text-general-800"]
3975
3975
  }
3976
- }, h = navigator.userAgent.includes("Firefox"), de = {
3976
+ }, h = navigator.userAgent.includes("Chrome"), de = {
3977
3977
  root: ({ props: e }) => ({
3978
3978
  class: [
3979
3979
  {
@@ -3985,8 +3985,8 @@ const T = {
3985
3985
  "[&:has(:focus)]:!ring-primary-500 [&:has(:focus)_.inputgroupaddon]:!ring-primary-500": e.ring !== "none"
3986
3986
  },
3987
3987
  {
3988
- "ring-[1px] [&_.inputgroupaddon]:ring-[1px]": h && e.ring !== "none",
3989
- "ring-[0.5px] [&_.inputgroupaddon]:ring-[0.5px]": !h && e.ring !== "none"
3988
+ "ring-[1px] [&_.inputgroupaddon]:ring-[1px]": !h && e.ring !== "none",
3989
+ "ring-[0.5px] [&_.inputgroupaddon]:ring-[0.5px]": h && e.ring !== "none"
3990
3990
  },
3991
3991
  "[&_.inputgroupaddon[data-addon-variant=plain]]:!ring-[0px]",
3992
3992
  "[&:has(input)]:cursor-text",
@@ -4480,8 +4480,8 @@ const me = m("WANGS-INPUT-OTP", {
4480
4480
  "transition-colors duration-200"
4481
4481
  ]
4482
4482
  })
4483
- }), f = ({ isFirefoxBased: e, invalidInput: t }) => [
4484
- { "ring-[1px]": e, "ring-[0.5px]": !e },
4483
+ }), f = ({ isChromeBased: e, invalidInput: t }) => [
4484
+ { "ring-[1px]": !e, "ring-[0.5px]": e },
4485
4485
  { "!ring-danger-500": t },
4486
4486
  "ring-inset",
4487
4487
  "ring-general-200",
@@ -6948,7 +6948,7 @@ const me = m("WANGS-INPUT-OTP", {
6948
6948
  }
6949
6949
  ]
6950
6950
  })
6951
- }, k = navigator.userAgent.includes("Firefox"), u = {
6951
+ }, k = navigator.userAgent.includes("Chrome"), u = {
6952
6952
  root: ({ props: e }) => ({
6953
6953
  class: [
6954
6954
  // Alignments
@@ -6988,7 +6988,7 @@ const me = m("WANGS-INPUT-OTP", {
6988
6988
  },
6989
6989
  // Colors
6990
6990
  "ring-1",
6991
- { "ring-1": k, "ring-[0.5px]": !k },
6991
+ { "ring-1": !k, "ring-[0.5px]": k },
6992
6992
  {
6993
6993
  "before:bg-white": e.modelValue == e.trueValue,
6994
6994
  "before:bg-general-100": e.modelValue !== e.trueValue,
@@ -7062,7 +7062,7 @@ const me = m("WANGS-INPUT-OTP", {
7062
7062
  tooltipicon: {
7063
7063
  class: "text-primary-500 w-[10px] h-[10px]"
7064
7064
  }
7065
- }, Fe = {
7065
+ }, Se = {
7066
7066
  root: ({ props: e, state: t }) => ({
7067
7067
  class: [
7068
7068
  "relative",
@@ -7144,7 +7144,7 @@ const me = m("WANGS-INPUT-OTP", {
7144
7144
  label: u.label,
7145
7145
  labeltext: u.labeltext,
7146
7146
  tooltipicon: u.tooltipicon
7147
- }, Se = {
7147
+ }, Pe = {
7148
7148
  root: ({ props: e }) => ({
7149
7149
  class: [
7150
7150
  "relative",
@@ -7214,7 +7214,7 @@ const me = m("WANGS-INPUT-OTP", {
7214
7214
  "transition duration-200 ease-in"
7215
7215
  ]
7216
7216
  })
7217
- }, Pe = {
7217
+ }, Fe = {
7218
7218
  root: {
7219
7219
  class: ["block absolute bg-surface-0/50 rounded-full pointer-events-none"],
7220
7220
  style: "transform: scale(0)"
@@ -9876,8 +9876,8 @@ const me = m("WANGS-INPUT-OTP", {
9876
9876
  }
9877
9877
  }
9878
9878
  }, gt = {
9879
- badge: F,
9880
- ripple: Pe,
9879
+ badge: S,
9880
+ ripple: Fe,
9881
9881
  tooltip: Ze
9882
9882
  }, bt = {
9883
9883
  global: ae,
@@ -9895,11 +9895,11 @@ const me = m("WANGS-INPUT-OTP", {
9895
9895
  inputbadge: ce,
9896
9896
  calendar: B,
9897
9897
  checkbox: d,
9898
- buttonradio: Fe,
9898
+ buttonradio: Se,
9899
9899
  selectbutton: Ee,
9900
9900
  slider: $e,
9901
9901
  chips: M,
9902
- rating: Se,
9902
+ rating: Pe,
9903
9903
  multiselect: s,
9904
9904
  togglebutton: Je,
9905
9905
  toggleswitch: u,
@@ -9918,8 +9918,8 @@ const me = m("WANGS-INPUT-OTP", {
9918
9918
  fileupload: ot,
9919
9919
  fieldwrapper: lt,
9920
9920
  // Buttons
9921
- button: S,
9922
- buttondownload: P,
9921
+ button: P,
9922
+ buttondownload: F,
9923
9923
  buttonbulkaction: it,
9924
9924
  buttonsearch: U,
9925
9925
  buttonsplit: E,