@simpli-route/apollo-ds 0.1.53 → 0.1.54

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 (82) hide show
  1. package/dist/components/InvisibleDatepicker/types.d.ts +4 -0
  2. package/dist/index.cjs106.js +1 -1
  3. package/dist/index.cjs107.js +1 -1
  4. package/dist/index.cjs108.js +1 -1
  5. package/dist/index.cjs109.js +1 -1
  6. package/dist/index.cjs110.js +1 -1
  7. package/dist/index.cjs111.js +1 -1
  8. package/dist/index.cjs112.js +1 -1
  9. package/dist/index.cjs12.js +1 -1
  10. package/dist/index.cjs22.js +1 -1
  11. package/dist/index.cjs24.js +1 -1
  12. package/dist/index.cjs27.js +1 -1
  13. package/dist/index.cjs29.js +1 -1
  14. package/dist/index.cjs33.js +1 -1
  15. package/dist/index.cjs34.js +1 -1
  16. package/dist/index.cjs35.js +1 -1
  17. package/dist/index.cjs36.js +1 -1
  18. package/dist/index.cjs52.js +1 -1
  19. package/dist/index.cjs6.js +1 -1
  20. package/dist/index.cjs63.js +1 -1
  21. package/dist/index.cjs64.js +1 -1
  22. package/dist/index.cjs65.js +1 -1
  23. package/dist/index.cjs66.js +1 -1
  24. package/dist/index.cjs68.js +1 -1
  25. package/dist/index.cjs69.js +1 -1
  26. package/dist/index.cjs70.js +1 -1
  27. package/dist/index.cjs71.js +1 -1
  28. package/dist/index.cjs72.js +1 -1
  29. package/dist/index.cjs74.js +1 -1
  30. package/dist/index.cjs75.js +1 -1
  31. package/dist/index.cjs76.js +1 -1
  32. package/dist/index.cjs77.js +1 -1
  33. package/dist/index.cjs78.js +1 -1
  34. package/dist/index.cjs79.js +1 -1
  35. package/dist/index.cjs8.js +1 -1
  36. package/dist/index.cjs80.js +1 -1
  37. package/dist/index.cjs81.js +1 -1
  38. package/dist/index.cjs82.js +1 -1
  39. package/dist/index.cjs83.js +1 -1
  40. package/dist/index.cjs84.js +1 -1
  41. package/dist/index.es106.js +57 -4
  42. package/dist/index.es107.js +6 -28
  43. package/dist/index.es108.js +28 -4
  44. package/dist/index.es109.js +2 -8
  45. package/dist/index.es110.js +8 -340
  46. package/dist/index.es111.js +336 -162
  47. package/dist/index.es112.js +161 -52
  48. package/dist/index.es12.js +1 -1
  49. package/dist/index.es22.js +1 -1
  50. package/dist/index.es24.js +2 -2
  51. package/dist/index.es27.js +1 -1
  52. package/dist/index.es29.js +2 -2
  53. package/dist/index.es33.js +3 -3
  54. package/dist/index.es34.js +2 -2
  55. package/dist/index.es35.js +3 -3
  56. package/dist/index.es36.js +1 -1
  57. package/dist/index.es52.js +12 -7
  58. package/dist/index.es6.js +1 -1
  59. package/dist/index.es63.js +28 -16
  60. package/dist/index.es64.js +15 -14
  61. package/dist/index.es65.js +14 -13
  62. package/dist/index.es66.js +14 -28
  63. package/dist/index.es68.js +163 -10
  64. package/dist/index.es69.js +10 -10
  65. package/dist/index.es70.js +13 -12
  66. package/dist/index.es71.js +10 -13
  67. package/dist/index.es72.js +12 -163
  68. package/dist/index.es74.js +97 -36
  69. package/dist/index.es75.js +13 -7
  70. package/dist/index.es76.js +7 -18
  71. package/dist/index.es77.js +15 -146
  72. package/dist/index.es78.js +144 -96
  73. package/dist/index.es79.js +19 -13
  74. package/dist/index.es8.js +3 -3
  75. package/dist/index.es80.js +20 -19
  76. package/dist/index.es81.js +10 -20
  77. package/dist/index.es82.js +9 -9
  78. package/dist/index.es83.js +45 -10
  79. package/dist/index.es84.js +25 -30
  80. package/dist/stories/Datepicker.stories.d.ts +1 -0
  81. package/dist/style.css +9 -0
  82. package/package.json +1 -1
@@ -1,47 +1,42 @@
1
- import { cva as r } from "class-variance-authority";
2
- const t = r("flex h-full max-h-12", {
3
- variants: {
4
- orientation: {
5
- horizontal: "flex-col",
6
- vertical: "flex-row"
7
- }
8
- }
9
- }), a = r(
10
- "group inline-flex cursor-pointer items-center px-4 py-3 text-sm font-semibold focus-visible:outline-none",
1
+ import { cva as e } from "class-variance-authority";
2
+ const t = 'after:content-[""] after:absolute after:border-8 after:border-x-transparent', o = `${t} after:left-4 after:top-[100%] after:border-b-transparent`, a = `${t} after:left-1/2 after:top-[100%] after:-translate-x-1/2 after:border-b-transparent`, b = `${t} after:right-4 after:top-[100%] after:border-b-transparent`, l = `${t} after:left-4 after:bottom-[100%] after:border-t-transparent`, f = `${t} after:left-1/2 after:bottom-[100%] after:-translate-x-1/2 after:border-t-transparent`, n = `${t} after:right-4 after:bottom-[100%] after:border-t-transparent`, r = 'before:content-[""] before:absolute before:top-1/2 before:-translate-y-1/2 before:border-8 before:border-y-transparent', s = `${r} before:right-[100%] before:border-l-transparent`, p = `${r} before:left-[100%] before:border-r-transparent`, u = e(
3
+ "absolute z-20 w-max max-w-[250px] whitespace-normal break-words rounded-lg transition duration-150 ease-in-out shadow-[0px_2px_4px_-2px_#22242A0F,0px_4px_8px_-2px_#22242A1A] py-2 px-3",
11
4
  {
12
5
  variants: {
13
- isActive: {
14
- true: "bg-primary-50 text-primary-500 ",
15
- false: "text-primary-300 hover:text-primary-500 hover:border-primary-500"
6
+ mode: {
7
+ light: "bg-blue-50 text-neutral-900 after:border-t-blue-50 after:border-b-blue-50 before:border-r-blue-50 before:border-l-blue-50",
8
+ dark: "bg-blue-900 text-blue-50 after:border-t-blue-900 after:border-b-blue-900 before:border-r-blue-900 before:border-l-blue-900"
16
9
  },
17
- isDisabledTab: {
10
+ hasSupportText: {
18
11
  true: "",
19
12
  false: ""
20
13
  },
21
- orientation: {
22
- horizontal: "border-b-2 border-transparent",
23
- vertical: "border-r-2 border-transparent"
14
+ placement: {
15
+ none: "bottom-full left-1/2 mb-3 -translate-x-1/2",
16
+ "top-start": `bottom-full left-0 mb-3 ${o}`,
17
+ top: `bottom-full left-1/2 mb-3 -translate-x-1/2 ${a}`,
18
+ "top-end": `bottom-full right-0 mb-3 ${b}`,
19
+ right: `left-full top-1/2 ml-3 -translate-y-1/2 ${s}`,
20
+ "bottom-start": `left-0 top-full mt-3 ${l}`,
21
+ bottom: `left-1/2 top-full mt-3 -translate-x-1/2 ${f}`,
22
+ "bottom-end": `right-0 top-full mt-3 ${n}`,
23
+ left: `right-full top-1/2 mr-3 -translate-y-1/2 ${p}`
24
24
  }
25
25
  },
26
26
  compoundVariants: [
27
27
  {
28
- isDisabledTab: !0,
29
- orientation: "horizontal",
30
- class: "border-b-2 cursor-not-allowed !border-neutral-600 !text-neutral-600 bg-neutral-200"
28
+ hasSupportText: !0,
29
+ mode: "dark",
30
+ class: "text-[16px] text-blue-50 font-semibold leading-5"
31
31
  },
32
32
  {
33
- isDisabledTab: !0,
34
- orientation: "vertical",
35
- class: "border-r-2 cursor-not-allowed !border-neutral-600 !text-neutral-600 bg-neutral-200"
36
- },
37
- { isActive: !0, orientation: "horizontal", class: "border-b-2 border-primary-500" },
38
- { isActive: !1, orientation: "horizontal", class: "border-b-2 border-primary-300" },
39
- { isActive: !1, orientation: "vertical", class: "border-r-2 border-primary-200" },
40
- { isActive: !0, orientation: "vertical", class: "border-r-2 border-primary-500" }
33
+ hasSupportText: !0,
34
+ mode: "light",
35
+ class: "text-[16px] text-neutral-900 font-semibold leading-5"
36
+ }
41
37
  ]
42
38
  }
43
39
  );
44
40
  export {
45
- a as tabVariants,
46
- t as tabsVariants
41
+ u as tooltipVariants
47
42
  };
@@ -31,3 +31,4 @@ export declare const Disabled: Story;
31
31
  export declare const WithError: Story;
32
32
  export declare const WithErrorHorizontal: Story;
33
33
  export declare const SizeBodySm: Story;
34
+ export declare const MaxPast25Days: Story;
package/dist/style.css CHANGED
@@ -2305,6 +2305,9 @@ select {
2305
2305
  .opacity-100 {
2306
2306
  opacity: 1;
2307
2307
  }
2308
+ .opacity-30 {
2309
+ opacity: 0.3;
2310
+ }
2308
2311
  .opacity-50 {
2309
2312
  opacity: 0.5;
2310
2313
  }
@@ -2894,6 +2897,12 @@ select {
2894
2897
  .disabled\:opacity-40:disabled {
2895
2898
  opacity: 0.4;
2896
2899
  }
2900
+ .disabled\:opacity-50:disabled {
2901
+ opacity: 0.5;
2902
+ }
2903
+ .disabled\:hover\:bg-transparent:hover:disabled {
2904
+ background-color: transparent;
2905
+ }
2897
2906
  .group:hover .group-hover\:bg-primary-500 {
2898
2907
  --tw-bg-opacity: 1;
2899
2908
  background-color: rgb(76 59 239 / var(--tw-bg-opacity));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simpli-route/apollo-ds",
3
- "version": "0.1.53",
3
+ "version": "0.1.54",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"