@elevasis/ui 2.25.0 → 2.25.2
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.
- package/dist/app/index.css +14 -2
- package/dist/app/index.d.ts +457 -357
- package/dist/app/index.js +8 -7
- package/dist/auth/index.js +4 -4
- package/dist/charts/index.js +7 -7
- package/dist/{chunk-DDZOHLHB.js → chunk-26HQMR7S.js} +1 -1
- package/dist/{chunk-ZMXZ476Y.js → chunk-3AHEHVJ6.js} +3 -3
- package/dist/{chunk-LJWV4TWV.js → chunk-4ZFBVND2.js} +2 -2
- package/dist/{chunk-7D2HSSIW.js → chunk-7LJUTTXU.js} +5 -5
- package/dist/{chunk-ABV5LDDC.js → chunk-AZQY7AJR.js} +13 -24
- package/dist/{chunk-BIWHHWCJ.js → chunk-DWK2QIAK.js} +2 -1
- package/dist/{chunk-ZDKQNQ4X.js → chunk-GESXCQWY.js} +1 -1
- package/dist/{chunk-Z6FAH4XV.js → chunk-HKBEURCV.js} +1 -1
- package/dist/{chunk-HC2KV6BU.js → chunk-HOIT677G.js} +1 -1
- package/dist/chunk-IS53MXE4.js +230 -0
- package/dist/{chunk-WSC5LU3U.js → chunk-IX7LWINC.js} +6 -5
- package/dist/{chunk-AXXTN44Z.js → chunk-IYIZYMIE.js} +2 -2
- package/dist/{chunk-WWVSPOJY.js → chunk-JDQSCEEF.js} +1237 -642
- package/dist/{chunk-AZXSFDG2.js → chunk-JMI7L7Y7.js} +113 -63
- package/dist/{chunk-TSSKOQBX.js → chunk-KMAXFJPH.js} +2 -2
- package/dist/{chunk-HQ7M6PBW.js → chunk-KU7ZDWQ7.js} +1 -1
- package/dist/{chunk-ZGZZIR6K.js → chunk-L4RT57WU.js} +7 -7
- package/dist/{chunk-LK4MPIMK.js → chunk-MU4VPAMR.js} +2 -2
- package/dist/{chunk-3JCMO7SD.js → chunk-N55DVMAG.js} +1 -1
- package/dist/{chunk-EIOJNUPL.js → chunk-PNLJIPV5.js} +1 -1
- package/dist/{chunk-6Z3G4U2R.js → chunk-Q5BEODAT.js} +3 -2
- package/dist/{chunk-HVC2BTFO.js → chunk-QB2CC4VH.js} +1979 -257
- package/dist/{chunk-QJLRDTYS.js → chunk-RSG2O3HF.js} +932 -707
- package/dist/{chunk-M25JL54Z.js → chunk-RYTEQBAO.js} +1 -1
- package/dist/{chunk-XUYBOO32.js → chunk-U36X6NZM.js} +15 -7
- package/dist/{chunk-QSTH6T77.js → chunk-VKMNWHTL.js} +1 -1
- package/dist/{chunk-V3UOW2HG.js → chunk-VOVZLL23.js} +4 -4
- package/dist/{chunk-SLH2QLKV.js → chunk-WFTNY755.js} +1 -1
- package/dist/{chunk-DK2HVHCY.js → chunk-WKJ47GIW.js} +1 -1
- package/dist/chunk-X4WBGKJQ.js +138 -0
- package/dist/{chunk-QHSW4WHM.js → chunk-XTVZFT7U.js} +1 -1
- package/dist/components/index.css +14 -2
- package/dist/components/index.d.ts +478 -386
- package/dist/components/index.js +138 -336
- package/dist/components/navigation/index.css +14 -2
- package/dist/components/navigation/index.js +8 -8
- package/dist/features/auth/index.css +14 -2
- package/dist/features/auth/index.d.ts +369 -363
- package/dist/features/auth/index.js +7 -7
- package/dist/features/crm/index.css +14 -2
- package/dist/features/crm/index.d.ts +551 -360
- package/dist/features/crm/index.js +19 -19
- package/dist/features/dashboard/index.css +14 -2
- package/dist/features/dashboard/index.js +20 -20
- package/dist/features/delivery/index.css +14 -2
- package/dist/features/delivery/index.d.ts +363 -357
- package/dist/features/delivery/index.js +19 -19
- package/dist/features/lead-gen/index.css +14 -2
- package/dist/features/lead-gen/index.d.ts +160 -2
- package/dist/features/lead-gen/index.js +20 -19
- package/dist/features/monitoring/index.css +14 -2
- package/dist/features/monitoring/index.js +21 -21
- package/dist/features/monitoring/requests/index.css +14 -2
- package/dist/features/monitoring/requests/index.js +17 -17
- package/dist/features/operations/index.css +14 -2
- package/dist/features/operations/index.js +24 -23
- package/dist/features/seo/index.js +2 -2
- package/dist/features/settings/index.css +14 -2
- package/dist/features/settings/index.d.ts +369 -363
- package/dist/features/settings/index.js +19 -19
- package/dist/hooks/delivery/index.css +14 -2
- package/dist/hooks/delivery/index.d.ts +363 -357
- package/dist/hooks/delivery/index.js +2 -2
- package/dist/hooks/index.css +14 -2
- package/dist/hooks/index.d.ts +746 -399
- package/dist/hooks/index.js +17 -17
- package/dist/hooks/published.css +14 -2
- package/dist/hooks/published.d.ts +746 -399
- package/dist/hooks/published.js +17 -17
- package/dist/index.css +14 -2
- package/dist/index.d.ts +862 -381
- package/dist/index.js +17 -17
- package/dist/initialization/index.d.ts +369 -363
- package/dist/initialization/index.js +4 -4
- package/dist/layout/index.d.ts +6 -0
- package/dist/layout/index.js +5 -5
- package/dist/organization/index.css +14 -2
- package/dist/organization/index.js +4 -4
- package/dist/profile/index.d.ts +369 -363
- package/dist/profile/index.js +2 -2
- package/dist/provider/ElevasisServiceContext.d.ts +1 -0
- package/dist/provider/ElevasisServiceContext.js +1 -1
- package/dist/provider/index.css +14 -2
- package/dist/provider/index.d.ts +503 -362
- package/dist/provider/index.js +14 -14
- package/dist/provider/published.css +14 -2
- package/dist/provider/published.d.ts +494 -359
- package/dist/provider/published.js +12 -12
- package/dist/supabase/index.d.ts +369 -357
- package/dist/test-utils/index.js +1 -1
- package/dist/typeform/index.js +49 -20
- package/dist/types/index.d.ts +382 -363
- package/package.json +4 -4
- package/dist/chunk-CEWTOKE7.js +0 -109
- /package/dist/{chunk-IRW7JMQ4.js → chunk-5WWZXCS5.js} +0 -0
- /package/dist/{chunk-QJ2KCHKX.js → chunk-E565XMTQ.js} +0 -0
package/dist/test-utils/index.js
CHANGED
|
@@ -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-
|
|
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';
|
package/dist/typeform/index.js
CHANGED
|
@@ -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
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
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
|
|
1842
|
+
// Selected card - solid blue fill, no glow
|
|
1813
1843
|
cardSelected: {
|
|
1814
|
-
backgroundColor: "rgba(0, 153, 255, 0.
|
|
1815
|
-
border: "1px solid rgba(0, 153, 255, 0.
|
|
1816
|
-
boxShadow: "
|
|
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: {
|