@elevasis/ui 2.24.0 → 2.25.1

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 (103) hide show
  1. package/dist/app/index.css +11 -0
  2. package/dist/app/index.d.ts +457 -357
  3. package/dist/app/index.js +8 -7
  4. package/dist/auth/index.js +4 -4
  5. package/dist/charts/index.js +7 -7
  6. package/dist/{chunk-DDZOHLHB.js → chunk-26HQMR7S.js} +1 -1
  7. package/dist/{chunk-4NWNS7TX.js → chunk-3AHEHVJ6.js} +3 -3
  8. package/dist/{chunk-LJWV4TWV.js → chunk-4ZFBVND2.js} +2 -2
  9. package/dist/{chunk-FUEXGRFR.js → chunk-7LJUTTXU.js} +5 -5
  10. package/dist/{chunk-KCJ6VATY.js → chunk-AZQY7AJR.js} +13 -24
  11. package/dist/{chunk-BIWHHWCJ.js → chunk-DWK2QIAK.js} +2 -1
  12. package/dist/{chunk-ZDKQNQ4X.js → chunk-GESXCQWY.js} +1 -1
  13. package/dist/{chunk-Z6FAH4XV.js → chunk-HKBEURCV.js} +1 -1
  14. package/dist/{chunk-HC2KV6BU.js → chunk-HOIT677G.js} +1 -1
  15. package/dist/chunk-IS53MXE4.js +230 -0
  16. package/dist/{chunk-MTR6AN2C.js → chunk-IX7LWINC.js} +6 -5
  17. package/dist/{chunk-AXXTN44Z.js → chunk-IYIZYMIE.js} +2 -2
  18. package/dist/{chunk-VGNAV3TH.js → chunk-JDQSCEEF.js} +1237 -642
  19. package/dist/chunk-JMI7L7Y7.js +524 -0
  20. package/dist/{chunk-TSSKOQBX.js → chunk-KMAXFJPH.js} +2 -2
  21. package/dist/{chunk-HQ7M6PBW.js → chunk-KU7ZDWQ7.js} +1 -1
  22. package/dist/{chunk-YBZT7MJR.js → chunk-L4RT57WU.js} +7 -7
  23. package/dist/{chunk-2WZ635SS.js → chunk-MU4VPAMR.js} +2 -2
  24. package/dist/{chunk-3JCMO7SD.js → chunk-N55DVMAG.js} +1 -1
  25. package/dist/{chunk-EIOJNUPL.js → chunk-PNLJIPV5.js} +1 -1
  26. package/dist/{chunk-6Z3G4U2R.js → chunk-Q5BEODAT.js} +3 -2
  27. package/dist/{chunk-M2HWJY6O.js → chunk-QB2CC4VH.js} +2045 -243
  28. package/dist/{chunk-QULLZ5PE.js → chunk-RSG2O3HF.js} +893 -642
  29. package/dist/{chunk-M25JL54Z.js → chunk-RYTEQBAO.js} +1 -1
  30. package/dist/{chunk-XUYBOO32.js → chunk-U36X6NZM.js} +15 -7
  31. package/dist/{chunk-QSTH6T77.js → chunk-VKMNWHTL.js} +1 -1
  32. package/dist/{chunk-KLFIJDTD.js → chunk-VOVZLL23.js} +4 -4
  33. package/dist/{chunk-SLH2QLKV.js → chunk-WFTNY755.js} +1 -1
  34. package/dist/{chunk-DK2HVHCY.js → chunk-WKJ47GIW.js} +1 -1
  35. package/dist/chunk-X4WBGKJQ.js +138 -0
  36. package/dist/{chunk-QHSW4WHM.js → chunk-XTVZFT7U.js} +1 -1
  37. package/dist/components/index.css +11 -0
  38. package/dist/components/index.d.ts +478 -386
  39. package/dist/components/index.js +138 -267
  40. package/dist/components/navigation/index.css +11 -0
  41. package/dist/components/navigation/index.js +8 -8
  42. package/dist/features/auth/index.css +11 -0
  43. package/dist/features/auth/index.d.ts +369 -363
  44. package/dist/features/auth/index.js +7 -7
  45. package/dist/features/crm/index.css +11 -0
  46. package/dist/features/crm/index.d.ts +551 -360
  47. package/dist/features/crm/index.js +19 -19
  48. package/dist/features/dashboard/index.css +11 -0
  49. package/dist/features/dashboard/index.js +20 -20
  50. package/dist/features/delivery/index.css +11 -0
  51. package/dist/features/delivery/index.d.ts +363 -357
  52. package/dist/features/delivery/index.js +19 -19
  53. package/dist/features/lead-gen/index.css +11 -0
  54. package/dist/features/lead-gen/index.d.ts +174 -4
  55. package/dist/features/lead-gen/index.js +20 -20
  56. package/dist/features/monitoring/index.css +11 -0
  57. package/dist/features/monitoring/index.js +21 -21
  58. package/dist/features/monitoring/requests/index.css +11 -0
  59. package/dist/features/monitoring/requests/index.js +17 -17
  60. package/dist/features/operations/index.css +11 -0
  61. package/dist/features/operations/index.js +24 -24
  62. package/dist/features/seo/index.js +2 -2
  63. package/dist/features/settings/index.css +11 -0
  64. package/dist/features/settings/index.d.ts +369 -363
  65. package/dist/features/settings/index.js +19 -19
  66. package/dist/hooks/delivery/index.css +11 -0
  67. package/dist/hooks/delivery/index.d.ts +363 -357
  68. package/dist/hooks/delivery/index.js +2 -2
  69. package/dist/hooks/index.css +11 -0
  70. package/dist/hooks/index.d.ts +769 -401
  71. package/dist/hooks/index.js +17 -17
  72. package/dist/hooks/published.css +11 -0
  73. package/dist/hooks/published.d.ts +769 -401
  74. package/dist/hooks/published.js +17 -17
  75. package/dist/index.css +11 -0
  76. package/dist/index.d.ts +885 -383
  77. package/dist/index.js +17 -17
  78. package/dist/initialization/index.d.ts +369 -363
  79. package/dist/initialization/index.js +4 -4
  80. package/dist/layout/index.d.ts +6 -0
  81. package/dist/layout/index.js +5 -5
  82. package/dist/organization/index.css +11 -0
  83. package/dist/organization/index.js +4 -4
  84. package/dist/profile/index.d.ts +369 -363
  85. package/dist/profile/index.js +2 -2
  86. package/dist/provider/ElevasisServiceContext.d.ts +1 -0
  87. package/dist/provider/ElevasisServiceContext.js +1 -1
  88. package/dist/provider/index.css +11 -0
  89. package/dist/provider/index.d.ts +503 -362
  90. package/dist/provider/index.js +14 -14
  91. package/dist/provider/published.css +11 -0
  92. package/dist/provider/published.d.ts +494 -359
  93. package/dist/provider/published.js +12 -12
  94. package/dist/supabase/index.d.ts +369 -357
  95. package/dist/test-utils/index.js +1 -1
  96. package/dist/typeform/index.js +49 -20
  97. package/dist/types/index.d.ts +382 -363
  98. package/package.json +2 -2
  99. package/dist/chunk-CEWTOKE7.js +0 -109
  100. package/dist/chunk-OWHQ65EQ.js +0 -211
  101. package/dist/chunk-UDJE54WN.js +0 -209
  102. /package/dist/{chunk-IRW7JMQ4.js → chunk-5WWZXCS5.js} +0 -0
  103. /package/dist/{chunk-QJ2KCHKX.js → chunk-E565XMTQ.js} +0 -0
@@ -7,7 +7,7 @@ import { ApiClientProvider } from '../chunk-T6INEVX6.js';
7
7
  import '../chunk-SGXXJE52.js';
8
8
  import '../chunk-KRWALB24.js';
9
9
  import '../chunk-DD3CCMCZ.js';
10
- import { ElevasisServiceProvider } from '../chunk-IRW7JMQ4.js';
10
+ import { ElevasisServiceProvider } from '../chunk-5WWZXCS5.js';
11
11
  import { __export, __reExport } from '../chunk-I2KLQ2HA.js';
12
12
  import { MantineProvider } from '@mantine/core';
13
13
  import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
@@ -780,17 +780,41 @@ function TypeformPageWrapper({
780
780
  function useCardStyle() {
781
781
  const { config, styles } = useTypeformContext();
782
782
  const theme = config.theme;
783
- const getCardStyle = (isSelected, isHovered) => ({
784
- display: "block",
785
- width: "100%",
786
- padding: "var(--mantine-spacing-sm) var(--mantine-spacing-md)",
787
- borderRadius: "var(--mantine-radius-md)",
788
- border: isSelected ? "var(--active-border)" : "1px solid var(--color-border)",
789
- transition: "background-color 200ms ease, border-color 200ms ease",
790
- ...styles?.card,
791
- // Selection styling - must come after styles?.card to take precedence
792
- backgroundColor: isSelected ? "var(--active-background)" : isHovered ? "var(--color-surface)" : "transparent"
793
- });
783
+ const getCardStyle = (isSelected, isHovered) => {
784
+ const base = {
785
+ display: "block",
786
+ width: "100%",
787
+ padding: "var(--mantine-spacing-sm) var(--mantine-spacing-md)",
788
+ borderRadius: "var(--mantine-radius-md)",
789
+ border: "1px solid var(--color-border)",
790
+ backgroundColor: "transparent",
791
+ ...styles?.card,
792
+ // Force-disable any preset transition (instant state changes)
793
+ transition: "none"
794
+ };
795
+ const fallbackSelected = {
796
+ border: "var(--active-border)",
797
+ backgroundColor: "var(--active-background)"
798
+ };
799
+ const fallbackHovered = {
800
+ backgroundColor: "var(--color-surface)"
801
+ };
802
+ if (isSelected) {
803
+ return {
804
+ ...base,
805
+ ...fallbackSelected,
806
+ ...styles?.cardSelected
807
+ };
808
+ }
809
+ if (isHovered) {
810
+ return {
811
+ ...base,
812
+ ...fallbackHovered,
813
+ ...styles?.cardHovered
814
+ };
815
+ }
816
+ return base;
817
+ };
794
818
  const getKeyStyle = (isSelected, isHovered) => ({
795
819
  minWidth: 24,
796
820
  height: 24,
@@ -799,10 +823,12 @@ function useCardStyle() {
799
823
  justifyContent: "center",
800
824
  fontSize: "var(--mantine-font-size-xs)",
801
825
  backgroundColor: isSelected || isHovered ? "var(--color-primary)" : "var(--mantine-color-dark-5)",
826
+ color: isSelected || isHovered ? "#ffffff" : void 0,
802
827
  border: "none",
803
- transition: "background-color 200ms ease",
804
828
  flexShrink: 0,
805
- ...styles?.cardKey
829
+ ...styles?.cardKey,
830
+ transition: "none",
831
+ ...isSelected || isHovered ? { backgroundColor: "var(--color-primary)", color: "#ffffff" } : null
806
832
  });
807
833
  return { getCardStyle, getKeyStyle, theme, styles };
808
834
  }
@@ -1643,6 +1669,10 @@ function TypeformSurvey({ config, className, styles, hideProgress }) {
1643
1669
  window.addEventListener("keydown", handleKeyDown);
1644
1670
  return () => window.removeEventListener("keydown", handleKeyDown);
1645
1671
  }, [handleKeyDown]);
1672
+ useEffect(() => {
1673
+ if (typeof window === "undefined") return;
1674
+ window.scrollTo({ top: 0, left: 0, behavior: "auto" });
1675
+ }, [currentPageIndex]);
1646
1676
  if (isComplete) {
1647
1677
  return /* @__PURE__ */ jsx(Box, { className, style: styles?.container, children: /* @__PURE__ */ jsx(
1648
1678
  Center,
@@ -1809,17 +1839,16 @@ var brochureStyles = {
1809
1839
  boxShadow: "0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.03)",
1810
1840
  transition: "all 300ms cubic-bezier(0.4, 0, 0.2, 1)"
1811
1841
  },
1812
- // Selected card - blue glow effect
1842
+ // Selected card - solid blue fill, no glow
1813
1843
  cardSelected: {
1814
- backgroundColor: "rgba(0, 153, 255, 0.08)",
1815
- border: "1px solid rgba(0, 153, 255, 0.3)",
1816
- boxShadow: "0 8px 32px rgba(0, 0, 0, 0.3), 0 0 60px -15px rgba(0, 153, 255, 0.25), inset 0 1px 0 rgba(0, 153, 255, 0.1)"
1844
+ backgroundColor: "rgba(0, 153, 255, 0.32)",
1845
+ border: "1px solid rgba(0, 153, 255, 0.85)",
1846
+ boxShadow: "none"
1817
1847
  },
1818
- // Hovered card - subtle lift
1848
+ // Hovered card - instant subtle highlight (no transform/lift)
1819
1849
  cardHovered: {
1820
1850
  backgroundColor: "rgba(24, 24, 27, 0.6)",
1821
- border: "1px solid rgba(255, 255, 255, 0.12)",
1822
- transform: "translateY(-2px)"
1851
+ border: "1px solid rgba(255, 255, 255, 0.12)"
1823
1852
  },
1824
1853
  // Card label text - more readable
1825
1854
  cardLabel: {