@elevasis/ui 1.24.3 → 1.25.0
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/charts/index.js +2 -2
- package/dist/{chunk-H3MU3WTM.js → chunk-3EVTCVKR.js} +2 -2
- package/dist/{chunk-ZDKC3V7C.js → chunk-7RS6VTAV.js} +56 -57
- package/dist/{chunk-TQBM3OEW.js → chunk-BS4J2LAW.js} +1 -1
- package/dist/{chunk-JR2C4XAN.js → chunk-CYXZHBP4.js} +202 -295
- package/dist/{chunk-OH74INP2.js → chunk-FEZZ3IDU.js} +434 -314
- package/dist/{chunk-IAZT3VO6.js → chunk-G25YWGUL.js} +4 -1
- package/dist/{chunk-BGTZFEKR.js → chunk-HYYI4ZFT.js} +6 -252
- package/dist/{chunk-CTF6FS2M.js → chunk-L3GVDMCA.js} +211 -1
- package/dist/{chunk-VMMNFRAO.js → chunk-QNABH7YG.js} +3 -3
- package/dist/{chunk-JTUX5FDC.js → chunk-R565P6XC.js} +691 -2
- package/dist/{chunk-WY5IJI37.js → chunk-RIL2CDFE.js} +2 -2
- package/dist/{chunk-TML32XBW.js → chunk-RMPXGBNI.js} +2 -2
- package/dist/{chunk-UG5565XQ.js → chunk-US4JUSI3.js} +3 -3
- package/dist/components/index.d.ts +3005 -192
- package/dist/components/index.js +1539 -24
- package/dist/features/auth/index.d.ts +108 -9
- package/dist/features/dashboard/index.js +7 -7
- package/dist/features/monitoring/index.js +8 -8
- package/dist/features/operations/index.d.ts +8 -2
- package/dist/features/operations/index.js +52 -55
- package/dist/features/settings/index.d.ts +108 -9
- package/dist/features/settings/index.js +27 -10
- package/dist/hooks/index.d.ts +3279 -185
- package/dist/hooks/index.js +4 -4
- package/dist/hooks/published.d.ts +108 -9
- package/dist/hooks/published.js +3 -3
- package/dist/index.d.ts +3285 -187
- package/dist/index.js +5 -5
- package/dist/initialization/index.d.ts +108 -9
- package/dist/layout/index.d.ts +60 -3
- package/dist/layout/index.js +2 -2
- package/dist/profile/index.d.ts +108 -9
- package/dist/provider/index.d.ts +6 -2
- package/dist/provider/index.js +3 -3
- package/dist/provider/published.d.ts +6 -2
- package/dist/supabase/index.d.ts +210 -18
- package/dist/theme/index.d.ts +6 -2
- package/dist/theme/index.js +3 -3
- package/dist/types/index.d.ts +108 -9
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { useAvailablePresets } from '../../chunk-
|
|
2
|
-
import { OrganizationMembershipsList, WebhookUrlDisplayModal, MembershipFeaturePanel, MembershipStatusBadge, getCredentialSchema, OAuthConnectModal, buildCredentialValue } from '../../chunk-
|
|
1
|
+
import { useAvailablePresets } from '../../chunk-BS4J2LAW.js';
|
|
2
|
+
import { OrganizationMembershipsList, WebhookUrlDisplayModal, MembershipFeaturePanel, MembershipStatusBadge, getCredentialSchema, OAuthConnectModal, buildCredentialValue } from '../../chunk-3EVTCVKR.js';
|
|
3
3
|
import '../../chunk-PDHTXPSF.js';
|
|
4
4
|
import { CustomModal } from '../../chunk-GBMNCNHX.js';
|
|
5
|
-
import { PageTitleCaption, EmptyState, CardHeader, ListSkeleton, StatCard } from '../../chunk-
|
|
5
|
+
import { PageTitleCaption, EmptyState, CardHeader, ListSkeleton, StatCard } from '../../chunk-G25YWGUL.js';
|
|
6
6
|
import '../../chunk-3KMDHCAR.js';
|
|
7
7
|
import '../../chunk-NNKKBSJN.js';
|
|
8
8
|
import { AppShellLoader } from '../../chunk-WWEMNIHW.js';
|
|
9
9
|
import '../../chunk-QJ2S46NI.js';
|
|
10
|
-
import { useUserMemberships, useUpdateWebhookEndpoint, useDeleteWebhookEndpoint, useCreateWebhookEndpoint, useListWebhookEndpoints, useUpdateMemberConfig, useOrganizationMembers, useUpdateCredential, CredentialSchemas } from '../../chunk-
|
|
10
|
+
import { useUserMemberships, useUpdateWebhookEndpoint, useDeleteWebhookEndpoint, useCreateWebhookEndpoint, useListWebhookEndpoints, useUpdateMemberConfig, useOrganizationMembers, useUpdateCredential, CredentialSchemas } from '../../chunk-R565P6XC.js';
|
|
11
11
|
import { useResources, showErrorNotification } from '../../chunk-QDO6NF2I.js';
|
|
12
12
|
import '../../chunk-NJJ3NQ7B.js';
|
|
13
13
|
import '../../chunk-LXHZYSMQ.js';
|
|
@@ -17,10 +17,10 @@ import '../../chunk-ELJIFLCB.js';
|
|
|
17
17
|
import '../../chunk-L4XXM55J.js';
|
|
18
18
|
import '../../chunk-SLVC5OJ2.js';
|
|
19
19
|
import '../../chunk-RNP5R5I3.js';
|
|
20
|
-
import '../../chunk-
|
|
20
|
+
import '../../chunk-RMPXGBNI.js';
|
|
21
21
|
import '../../chunk-SZHARWKU.js';
|
|
22
|
-
import '../../chunk-
|
|
23
|
-
import '../../chunk-
|
|
22
|
+
import '../../chunk-FEZZ3IDU.js';
|
|
23
|
+
import '../../chunk-CYXZHBP4.js';
|
|
24
24
|
import '../../chunk-R7WLWGPO.js';
|
|
25
25
|
import '../../chunk-NVOCKXUQ.js';
|
|
26
26
|
import '../../chunk-V7XHGJQZ.js';
|
|
@@ -38,7 +38,7 @@ import { IconUser, IconCheck, IconCopy, IconMail, IconRefresh, IconAlertCircle,
|
|
|
38
38
|
import { notifications } from '@mantine/notifications';
|
|
39
39
|
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
40
40
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
41
|
-
import { useRef, useEffect, useMemo,
|
|
41
|
+
import { useState, useRef, useEffect, useMemo, useCallback } from 'react';
|
|
42
42
|
import { create } from 'zustand';
|
|
43
43
|
import { useForm } from '@mantine/form';
|
|
44
44
|
|
|
@@ -262,6 +262,7 @@ function AppearanceSettings({ initialTheme, onThemeChange }) {
|
|
|
262
262
|
const { updateTheme } = useUpdateThemePreference();
|
|
263
263
|
const { setColorScheme: setMantineColorScheme } = useMantineColorScheme();
|
|
264
264
|
const availablePresets = useAvailablePresets();
|
|
265
|
+
const [modalOpen, setModalOpen] = useState(false);
|
|
265
266
|
const hydratedRef = useRef(false);
|
|
266
267
|
if (!hydratedRef.current) {
|
|
267
268
|
setInternalTheme(initialTheme);
|
|
@@ -390,7 +391,8 @@ function AppearanceSettings({ initialTheme, onThemeChange }) {
|
|
|
390
391
|
] }),
|
|
391
392
|
/* @__PURE__ */ jsxs(Group, { gap: "xs", children: [
|
|
392
393
|
/* @__PURE__ */ jsx(Button, { variant: "default", size: "xs", children: "Export" }),
|
|
393
|
-
/* @__PURE__ */ jsx(Button, { size: "xs", leftSection: /* @__PURE__ */ jsx(IconSparkles, { size: 14 }), children: "New Workflow" })
|
|
394
|
+
/* @__PURE__ */ jsx(Button, { size: "xs", leftSection: /* @__PURE__ */ jsx(IconSparkles, { size: 14 }), children: "New Workflow" }),
|
|
395
|
+
/* @__PURE__ */ jsx(Button, { variant: "light", size: "xs", onClick: () => setModalOpen(true), children: "Open Modal Preview" })
|
|
394
396
|
] })
|
|
395
397
|
] }),
|
|
396
398
|
/* @__PURE__ */ jsx(SimpleGrid, { cols: { base: 1, sm: 3 }, spacing: "sm", children: [
|
|
@@ -488,7 +490,22 @@ function AppearanceSettings({ initialTheme, onThemeChange }) {
|
|
|
488
490
|
/* @__PURE__ */ jsx(Alert, { variant: "light", color: "green", icon: /* @__PURE__ */ jsx(IconCheck, { size: 16 }), title: "Success", children: "Operation completed successfully." })
|
|
489
491
|
] })
|
|
490
492
|
] })
|
|
491
|
-
] })
|
|
493
|
+
] }),
|
|
494
|
+
/* @__PURE__ */ jsx(CustomModal, { opened: modalOpen, onClose: () => setModalOpen(false), size: "md", children: /* @__PURE__ */ jsxs(Stack, { gap: "md", p: "md", children: [
|
|
495
|
+
/* @__PURE__ */ jsx(Title, { order: 3, children: "Modal Preview" }),
|
|
496
|
+
/* @__PURE__ */ jsxs(Text, { size: "sm", children: [
|
|
497
|
+
"Modals should sit visibly above the page background. Elevation comes from the",
|
|
498
|
+
" ",
|
|
499
|
+
/* @__PURE__ */ jsx(Text, { span: true, ff: "monospace", size: "sm", children: "--color-elevated" }),
|
|
500
|
+
" ",
|
|
501
|
+
"token, which every preset defines as an opaque surface."
|
|
502
|
+
] }),
|
|
503
|
+
/* @__PURE__ */ jsx(TextInput, { label: "Example field", placeholder: "Type something...", size: "xs" }),
|
|
504
|
+
/* @__PURE__ */ jsxs(Group, { justify: "flex-end", children: [
|
|
505
|
+
/* @__PURE__ */ jsx(Button, { variant: "default", size: "xs", onClick: () => setModalOpen(false), children: "Cancel" }),
|
|
506
|
+
/* @__PURE__ */ jsx(Button, { size: "xs", onClick: () => setModalOpen(false), children: "Confirm" })
|
|
507
|
+
] })
|
|
508
|
+
] }) })
|
|
492
509
|
] });
|
|
493
510
|
}
|
|
494
511
|
function EditWebhookEndpointModal({ opened, endpoint, onClose }) {
|