@datatechsolutions/ui 3.13.0 → 3.14.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.
Files changed (135) hide show
  1. package/dist/astrlabe/graph-node.js +6 -6
  2. package/dist/astrlabe/graph-node.mjs +2 -2
  3. package/dist/astrlabe/index.js +114 -114
  4. package/dist/astrlabe/index.mjs +6 -6
  5. package/dist/astrlabe/workflow-canvas.js +6 -6
  6. package/dist/astrlabe/workflow-canvas.mjs +5 -5
  7. package/dist/{chunk-AMCFAGK3.js → chunk-2II2NLAZ.js} +42 -41
  8. package/dist/chunk-2II2NLAZ.js.map +1 -0
  9. package/dist/{chunk-WR55H7DH.mjs → chunk-2SBVFLPZ.mjs} +19 -2
  10. package/dist/chunk-2SBVFLPZ.mjs.map +1 -0
  11. package/dist/{chunk-UXHJS2SH.mjs → chunk-33ZWFDVG.mjs} +282 -331
  12. package/dist/chunk-33ZWFDVG.mjs.map +1 -0
  13. package/dist/{chunk-2ECLDHAT.js → chunk-4HZ55YKZ.js} +9 -9
  14. package/dist/{chunk-2ECLDHAT.js.map → chunk-4HZ55YKZ.js.map} +1 -1
  15. package/dist/{chunk-VI4IUTMX.js → chunk-4P72IJOM.js} +6 -6
  16. package/dist/{chunk-VI4IUTMX.js.map → chunk-4P72IJOM.js.map} +1 -1
  17. package/dist/{chunk-D5OTZGA2.js → chunk-5SCZB5UI.js} +382 -431
  18. package/dist/chunk-5SCZB5UI.js.map +1 -0
  19. package/dist/{chunk-4VHFGW7I.mjs → chunk-5YCH7FHT.mjs} +3 -3
  20. package/dist/{chunk-4VHFGW7I.mjs.map → chunk-5YCH7FHT.mjs.map} +1 -1
  21. package/dist/{chunk-P4RVGMZL.js → chunk-6NBQTIXX.js} +9 -37
  22. package/dist/chunk-6NBQTIXX.js.map +1 -0
  23. package/dist/{chunk-EZQ2D47U.js → chunk-6NEESZVO.js} +4 -4
  24. package/dist/{chunk-EZQ2D47U.js.map → chunk-6NEESZVO.js.map} +1 -1
  25. package/dist/{chunk-N4YT3QA5.js → chunk-72XZ7DSF.js} +13 -13
  26. package/dist/{chunk-N4YT3QA5.js.map → chunk-72XZ7DSF.js.map} +1 -1
  27. package/dist/{chunk-QGRTV35L.mjs → chunk-7NHJSD4A.mjs} +6 -6
  28. package/dist/{chunk-QGRTV35L.mjs.map → chunk-7NHJSD4A.mjs.map} +1 -1
  29. package/dist/{chunk-PPIUMCUZ.js → chunk-7SDB2VC2.js} +4 -4
  30. package/dist/{chunk-PPIUMCUZ.js.map → chunk-7SDB2VC2.js.map} +1 -1
  31. package/dist/{chunk-QGLGQXJE.js → chunk-A5OMGPMR.js} +10 -10
  32. package/dist/chunk-A5OMGPMR.js.map +1 -0
  33. package/dist/{chunk-K5567JM5.js → chunk-AUCS2KF4.js} +26 -26
  34. package/dist/{chunk-K5567JM5.js.map → chunk-AUCS2KF4.js.map} +1 -1
  35. package/dist/{chunk-MSKKNPRE.mjs → chunk-F4KHAKTP.mjs} +172 -116
  36. package/dist/chunk-F4KHAKTP.mjs.map +1 -0
  37. package/dist/{chunk-SDYKXLCU.js → chunk-FHGWXWVZ.js} +67 -67
  38. package/dist/{chunk-SDYKXLCU.js.map → chunk-FHGWXWVZ.js.map} +1 -1
  39. package/dist/{chunk-5ETT54QS.js → chunk-FZUV7GNB.js} +241 -184
  40. package/dist/chunk-FZUV7GNB.js.map +1 -0
  41. package/dist/{chunk-6KDTVSZT.mjs → chunk-HQNIETHV.mjs} +11 -10
  42. package/dist/chunk-HQNIETHV.mjs.map +1 -0
  43. package/dist/{chunk-PLTLRL2V.mjs → chunk-KDDXDQR2.mjs} +3 -3
  44. package/dist/{chunk-PLTLRL2V.mjs.map → chunk-KDDXDQR2.mjs.map} +1 -1
  45. package/dist/{chunk-6YTYD4P5.js → chunk-LJGPMMKB.js} +156 -193
  46. package/dist/chunk-LJGPMMKB.js.map +1 -0
  47. package/dist/{chunk-BHOT22QL.js → chunk-MXQ2EYG2.js} +19 -2
  48. package/dist/chunk-MXQ2EYG2.js.map +1 -0
  49. package/dist/{chunk-ANFSQJNI.mjs → chunk-N6SGVUTR.mjs} +17 -20
  50. package/dist/chunk-N6SGVUTR.mjs.map +1 -0
  51. package/dist/{chunk-IIRS5XZY.js → chunk-NIZSQJRW.js} +33 -33
  52. package/dist/{chunk-IIRS5XZY.js.map → chunk-NIZSQJRW.js.map} +1 -1
  53. package/dist/{chunk-AKWCT53S.mjs → chunk-NXWIT4YQ.mjs} +47 -50
  54. package/dist/chunk-NXWIT4YQ.mjs.map +1 -0
  55. package/dist/{chunk-OC4AOYU5.mjs → chunk-OTQXU4WG.mjs} +83 -120
  56. package/dist/chunk-OTQXU4WG.mjs.map +1 -0
  57. package/dist/{chunk-CSOMZ5UM.mjs → chunk-PO66V2PN.mjs} +9 -9
  58. package/dist/{chunk-CSOMZ5UM.mjs.map → chunk-PO66V2PN.mjs.map} +1 -1
  59. package/dist/{chunk-OY5HUZSD.js → chunk-PXGESUKI.js} +94 -97
  60. package/dist/chunk-PXGESUKI.js.map +1 -0
  61. package/dist/{chunk-7TYNV6SY.mjs → chunk-Q2FUNDCP.mjs} +14 -14
  62. package/dist/{chunk-7TYNV6SY.mjs.map → chunk-Q2FUNDCP.mjs.map} +1 -1
  63. package/dist/{chunk-KWH7JIRP.mjs → chunk-Q5TZTA6H.mjs} +9 -8
  64. package/dist/chunk-Q5TZTA6H.mjs.map +1 -0
  65. package/dist/{chunk-ZRCXDKBE.mjs → chunk-T7DROKWJ.mjs} +4 -4
  66. package/dist/{chunk-ZRCXDKBE.mjs.map → chunk-T7DROKWJ.mjs.map} +1 -1
  67. package/dist/{chunk-3VYD7QL2.mjs → chunk-TQADF23S.mjs} +9 -9
  68. package/dist/chunk-TQADF23S.mjs.map +1 -0
  69. package/dist/{chunk-VIB42VMZ.mjs → chunk-U7VMFQFN.mjs} +5 -5
  70. package/dist/{chunk-VIB42VMZ.mjs.map → chunk-U7VMFQFN.mjs.map} +1 -1
  71. package/dist/{chunk-AHNH2PMI.mjs → chunk-WE35EV7J.mjs} +3 -3
  72. package/dist/{chunk-AHNH2PMI.mjs.map → chunk-WE35EV7J.mjs.map} +1 -1
  73. package/dist/{chunk-UPYACFZJ.mjs → chunk-WTSMTLSP.mjs} +303 -347
  74. package/dist/chunk-WTSMTLSP.mjs.map +1 -0
  75. package/dist/{chunk-WOTKBKS6.js → chunk-YFMMZHL5.js} +47 -50
  76. package/dist/chunk-YFMMZHL5.js.map +1 -0
  77. package/dist/{chunk-DJ33CSGJ.mjs → chunk-ZBX7UCAP.mjs} +9 -37
  78. package/dist/chunk-ZBX7UCAP.mjs.map +1 -0
  79. package/dist/{chunk-NF5DDM5V.js → chunk-ZE6U4N4Q.js} +44 -43
  80. package/dist/chunk-ZE6U4N4Q.js.map +1 -0
  81. package/dist/{chunk-MQDCUBVW.js → chunk-ZIRD3X6G.js} +459 -503
  82. package/dist/chunk-ZIRD3X6G.js.map +1 -0
  83. package/dist/index.d.mts +77 -7
  84. package/dist/index.d.ts +77 -7
  85. package/dist/index.js +708 -704
  86. package/dist/index.mjs +3 -3
  87. package/dist/platform/admin/index.js +12 -12
  88. package/dist/platform/admin/index.mjs +6 -6
  89. package/dist/platform/agents-workspace.js +9 -9
  90. package/dist/platform/agents-workspace.mjs +8 -8
  91. package/dist/platform/app-shell.js +5 -5
  92. package/dist/platform/app-shell.mjs +4 -4
  93. package/dist/platform/auth/index.js +29 -29
  94. package/dist/platform/auth/index.mjs +6 -6
  95. package/dist/platform/billing/index.js +7 -7
  96. package/dist/platform/billing/index.mjs +5 -5
  97. package/dist/platform/impersonation/index.js +5 -5
  98. package/dist/platform/impersonation/index.mjs +4 -4
  99. package/dist/platform/index.js +99 -99
  100. package/dist/platform/index.js.map +1 -1
  101. package/dist/platform/index.mjs +30 -30
  102. package/dist/platform/index.mjs.map +1 -1
  103. package/dist/platform/pages/index.d.mts +115 -3
  104. package/dist/platform/pages/index.d.ts +115 -3
  105. package/dist/platform/pages/index.js +966 -519
  106. package/dist/platform/pages/index.js.map +1 -1
  107. package/dist/platform/pages/index.mjs +562 -121
  108. package/dist/platform/pages/index.mjs.map +1 -1
  109. package/dist/platform/settings/index.js +9 -9
  110. package/dist/platform/settings/index.mjs +8 -8
  111. package/dist/platform/workflow-canvas-shell.js +7 -7
  112. package/dist/platform/workflow-canvas-shell.mjs +6 -6
  113. package/package.json +1 -1
  114. package/dist/chunk-3VYD7QL2.mjs.map +0 -1
  115. package/dist/chunk-5ETT54QS.js.map +0 -1
  116. package/dist/chunk-6KDTVSZT.mjs.map +0 -1
  117. package/dist/chunk-6YTYD4P5.js.map +0 -1
  118. package/dist/chunk-AKWCT53S.mjs.map +0 -1
  119. package/dist/chunk-AMCFAGK3.js.map +0 -1
  120. package/dist/chunk-ANFSQJNI.mjs.map +0 -1
  121. package/dist/chunk-BHOT22QL.js.map +0 -1
  122. package/dist/chunk-D5OTZGA2.js.map +0 -1
  123. package/dist/chunk-DJ33CSGJ.mjs.map +0 -1
  124. package/dist/chunk-KWH7JIRP.mjs.map +0 -1
  125. package/dist/chunk-MQDCUBVW.js.map +0 -1
  126. package/dist/chunk-MSKKNPRE.mjs.map +0 -1
  127. package/dist/chunk-NF5DDM5V.js.map +0 -1
  128. package/dist/chunk-OC4AOYU5.mjs.map +0 -1
  129. package/dist/chunk-OY5HUZSD.js.map +0 -1
  130. package/dist/chunk-P4RVGMZL.js.map +0 -1
  131. package/dist/chunk-QGLGQXJE.js.map +0 -1
  132. package/dist/chunk-UPYACFZJ.mjs.map +0 -1
  133. package/dist/chunk-UXHJS2SH.mjs.map +0 -1
  134. package/dist/chunk-WOTKBKS6.js.map +0 -1
  135. package/dist/chunk-WR55H7DH.mjs.map +0 -1
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { OtpInput, SocialLoginButtons, AuthLayout, PasswordStrengthMeter } from './chunk-3VYD7QL2.mjs';
3
- import { useAuth, SegmentedControl, Spinner, Input, Card, useSocialProviders, PasswordInput, FormCheckbox, EmptyState, BaseForm, CardContent, Avatar, ListCard, ListCardItem, InlineSpinner, DynamicIslandConfirm } from './chunk-MSKKNPRE.mjs';
2
+ import { OtpInput, SocialLoginButtons, AuthLayout, PasswordStrengthMeter } from './chunk-TQADF23S.mjs';
3
+ import { useAuth, SegmentedControl, Spinner, Input, Text, TextLink, Card, useSocialProviders, PasswordInput, FormCheckbox, EmptyState, BaseForm, CardContent, Avatar, ListCard, ListCardItem, InlineSpinner, DynamicIslandConfirm } from './chunk-F4KHAKTP.mjs';
4
4
  import { useTranslations } from './chunk-ZEFNBGYI.mjs';
5
- import { Button, Badge } from './chunk-WR55H7DH.mjs';
5
+ import { Button, Badge } from './chunk-2SBVFLPZ.mjs';
6
6
  import { triggerHaptic } from './chunk-D2JF6C3E.mjs';
7
7
  import { useState, useCallback, useEffect, Fragment as Fragment$1 } from 'react';
8
8
  import { EnvelopeIcon, UserIcon, LockClosedIcon, CheckCircleIcon, DevicePhoneMobileIcon, PaperAirplaneIcon, ShieldExclamationIcon, BuildingOffice2Icon } from '@heroicons/react/24/outline';
@@ -130,15 +130,15 @@ function MfaChallenge({
130
130
  }
131
131
  )
132
132
  ] }),
133
- onCancel && /* @__PURE__ */ jsx("div", { className: "text-center", children: /* @__PURE__ */ jsx(
134
- "button",
133
+ onCancel && /* @__PURE__ */ jsx(Text, { className: "text-center", children: /* @__PURE__ */ jsx(
134
+ TextLink,
135
135
  {
136
- type: "button",
137
- onClick: () => {
136
+ href: "#",
137
+ onClick: (event) => {
138
+ event.preventDefault();
138
139
  triggerHaptic("light");
139
140
  onCancel();
140
141
  },
141
- className: "text-sm text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200 transition-colors",
142
142
  children: t("mfa.challenge.useDifferentAccount")
143
143
  }
144
144
  ) })
@@ -206,8 +206,8 @@ function SignIn({
206
206
  }
207
207
  const content = /* @__PURE__ */ jsxs("div", { className: "space-y-5", children: [
208
208
  /* @__PURE__ */ jsxs("div", { className: "text-center", children: [
209
- /* @__PURE__ */ jsx("h2", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: t("signInTitle") }),
210
- /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-gray-500 dark:text-gray-400", children: t("signInSubtitle") })
209
+ /* @__PURE__ */ jsx("h2", { className: "text-2xl font-bold text-slate-900 dark:text-white", children: t("signInTitle") }),
210
+ /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-slate-500 dark:text-slate-400", children: t("signInSubtitle") })
211
211
  ] }),
212
212
  error && /* @__PURE__ */ jsx("div", { className: "rounded-xl bg-red-50 dark:bg-red-900/20 px-4 py-3 text-sm text-ios-red", role: "alert", children: error }),
213
213
  /* @__PURE__ */ jsxs("form", { onSubmit: handleSubmit, className: "space-y-4", children: [
@@ -236,15 +236,7 @@ function SignIn({
236
236
  required: true
237
237
  }
238
238
  ),
239
- onForgotPassword && /* @__PURE__ */ jsx("div", { className: "flex justify-end", children: /* @__PURE__ */ jsx(
240
- "button",
241
- {
242
- type: "button",
243
- onClick: onForgotPassword,
244
- className: "text-sm font-medium text-ios-blue hover:text-blue-700 dark:hover:text-blue-400 transition-colors",
245
- children: t("forgotPassword")
246
- }
247
- ) }),
239
+ onForgotPassword && /* @__PURE__ */ jsx("div", { className: "flex justify-end", children: /* @__PURE__ */ jsx(Button, { type: "button", plain: true, size: "sm", onClick: onForgotPassword, children: t("forgotPassword") }) }),
248
240
  /* @__PURE__ */ jsx(
249
241
  Button,
250
242
  {
@@ -260,8 +252,8 @@ function SignIn({
260
252
  ] }),
261
253
  effectiveSocialProviders.length > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
262
254
  /* @__PURE__ */ jsxs("div", { className: "relative", children: [
263
- /* @__PURE__ */ jsx("div", { className: "absolute inset-0 flex items-center", children: /* @__PURE__ */ jsx("div", { className: "w-full border-t border-gray-200/60 dark:border-white/10" }) }),
264
- /* @__PURE__ */ jsx("div", { className: "relative flex justify-center text-xs", children: /* @__PURE__ */ jsx("span", { className: "bg-white/80 px-3 text-gray-400 dark:bg-gray-900/80 dark:text-gray-500", children: t("orContinueWith") }) })
255
+ /* @__PURE__ */ jsx("div", { className: "absolute inset-0 flex items-center", children: /* @__PURE__ */ jsx("div", { className: "w-full border-t border-slate-200/60 dark:border-white/10" }) }),
256
+ /* @__PURE__ */ jsx("div", { className: "relative flex justify-center text-xs", children: /* @__PURE__ */ jsx("span", { className: "bg-white/80 px-3 text-slate-400 dark:bg-slate-900/80 dark:text-slate-500", children: t("orContinueWith") }) })
265
257
  ] }),
266
258
  /* @__PURE__ */ jsx(
267
259
  SocialLoginButtons,
@@ -287,18 +279,13 @@ function SignIn({
287
279
  ]
288
280
  }
289
281
  ),
290
- onSignUp && /* @__PURE__ */ jsxs("p", { className: "text-center text-sm text-gray-500 dark:text-gray-400", children: [
282
+ onSignUp && /* @__PURE__ */ jsxs(Text, { className: "text-center", children: [
291
283
  t("noAccount"),
292
284
  " ",
293
- /* @__PURE__ */ jsx(
294
- "button",
295
- {
296
- type: "button",
297
- onClick: onSignUp,
298
- className: "font-medium text-ios-blue hover:text-blue-700 dark:hover:text-blue-400 transition-colors",
299
- children: t("signUpLink")
300
- }
301
- )
285
+ /* @__PURE__ */ jsx(TextLink, { href: "#", onClick: (event) => {
286
+ event.preventDefault();
287
+ onSignUp();
288
+ }, children: t("signUpLink") })
302
289
  ] })
303
290
  ] });
304
291
  if (embedded) return content;
@@ -458,8 +445,8 @@ function SignUp({
458
445
  const isFormValid = name.trim() !== "" && email.trim() !== "" && password !== "" && termsAccepted;
459
446
  const content = /* @__PURE__ */ jsxs("div", { className: "space-y-5", children: [
460
447
  /* @__PURE__ */ jsxs("div", { className: "text-center", children: [
461
- /* @__PURE__ */ jsx("h2", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: t("signUpTitle") }),
462
- /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-gray-500 dark:text-gray-400", children: t("signUpSubtitle") })
448
+ /* @__PURE__ */ jsx("h2", { className: "text-2xl font-bold text-slate-900 dark:text-white", children: t("signUpTitle") }),
449
+ /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-slate-500 dark:text-slate-400", children: t("signUpSubtitle") })
463
450
  ] }),
464
451
  error && /* @__PURE__ */ jsx("div", { className: "rounded-xl bg-red-50 dark:bg-red-900/20 px-4 py-3 text-sm text-ios-red", role: "alert", children: error }),
465
452
  /* @__PURE__ */ jsxs("form", { onSubmit: handleSubmit, className: "space-y-4", children: [
@@ -538,8 +525,8 @@ function SignUp({
538
525
  ] }),
539
526
  effectiveSocialProviders.length > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
540
527
  /* @__PURE__ */ jsxs("div", { className: "relative", children: [
541
- /* @__PURE__ */ jsx("div", { className: "absolute inset-0 flex items-center", children: /* @__PURE__ */ jsx("div", { className: "w-full border-t border-gray-200 dark:border-white/10" }) }),
542
- /* @__PURE__ */ jsx("div", { className: "relative flex justify-center text-xs", children: /* @__PURE__ */ jsx("span", { className: "bg-white dark:bg-gray-900 px-3 text-gray-400 dark:text-gray-500", children: t("orContinueWith") }) })
528
+ /* @__PURE__ */ jsx("div", { className: "absolute inset-0 flex items-center", children: /* @__PURE__ */ jsx("div", { className: "w-full border-t border-slate-200 dark:border-white/10" }) }),
529
+ /* @__PURE__ */ jsx("div", { className: "relative flex justify-center text-xs", children: /* @__PURE__ */ jsx("span", { className: "bg-white dark:bg-slate-900 px-3 text-slate-400 dark:text-slate-500", children: t("orContinueWith") }) })
543
530
  ] }),
544
531
  /* @__PURE__ */ jsx(
545
532
  SocialLoginButtons,
@@ -551,18 +538,13 @@ function SignUp({
551
538
  }
552
539
  )
553
540
  ] }),
554
- onSignIn && /* @__PURE__ */ jsxs("p", { className: "text-center text-sm text-gray-500 dark:text-gray-400", children: [
541
+ onSignIn && /* @__PURE__ */ jsxs(Text, { className: "text-center", children: [
555
542
  t("alreadyHaveAccount"),
556
543
  " ",
557
- /* @__PURE__ */ jsx(
558
- "button",
559
- {
560
- type: "button",
561
- onClick: onSignIn,
562
- className: "font-medium text-ios-blue hover:text-blue-700 dark:hover:text-blue-400 transition-colors",
563
- children: t("signInLink")
564
- }
565
- )
544
+ /* @__PURE__ */ jsx(TextLink, { href: "#", onClick: (event) => {
545
+ event.preventDefault();
546
+ onSignIn();
547
+ }, children: t("signInLink") })
566
548
  ] })
567
549
  ] });
568
550
  if (embedded) return content;
@@ -607,15 +589,10 @@ function ForgotPassword({
607
589
  description: t("forgotPasswordSuccessDescription", { email })
608
590
  }
609
591
  ),
610
- onBack && /* @__PURE__ */ jsx("div", { className: "text-center", children: /* @__PURE__ */ jsx(
611
- "button",
612
- {
613
- type: "button",
614
- onClick: onBack,
615
- className: "text-sm font-medium text-ios-blue hover:text-blue-700 dark:hover:text-blue-400 transition-colors",
616
- children: t("backToSignIn")
617
- }
618
- ) })
592
+ onBack && /* @__PURE__ */ jsx(Text, { className: "text-center", children: /* @__PURE__ */ jsx(TextLink, { href: "#", onClick: (event) => {
593
+ event.preventDefault();
594
+ onBack();
595
+ }, children: t("backToSignIn") }) })
619
596
  ] });
620
597
  const formContent = /* @__PURE__ */ jsxs("div", { className: "space-y-5", children: [
621
598
  /* @__PURE__ */ jsxs("div", { className: "text-center", children: [
@@ -652,15 +629,10 @@ function ForgotPassword({
652
629
  )
653
630
  }
654
631
  ),
655
- onBack && /* @__PURE__ */ jsx("div", { className: "text-center", children: /* @__PURE__ */ jsx(
656
- "button",
657
- {
658
- type: "button",
659
- onClick: onBack,
660
- className: "text-sm text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200 transition-colors",
661
- children: t("backToSignIn")
662
- }
663
- ) })
632
+ onBack && /* @__PURE__ */ jsx(Text, { className: "text-center", children: /* @__PURE__ */ jsx(TextLink, { href: "#", onClick: (event) => {
633
+ event.preventDefault();
634
+ onBack();
635
+ }, children: t("backToSignIn") }) })
664
636
  ] });
665
637
  const activeContent = phase === "sent" ? sentContent : formContent;
666
638
  if (embedded) return activeContent;
@@ -829,8 +801,8 @@ function PasswordlessSignIn({
829
801
  );
830
802
  const inputContent = /* @__PURE__ */ jsxs("div", { className: "space-y-6", children: [
831
803
  /* @__PURE__ */ jsxs("div", { className: "text-center", children: [
832
- /* @__PURE__ */ jsx("h2", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: t("passwordlessTitle") }),
833
- /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-gray-500 dark:text-gray-400", children: t("passwordlessSubtitle") })
804
+ /* @__PURE__ */ jsx("h2", { className: "text-2xl font-bold text-slate-900 dark:text-white", children: t("passwordlessTitle") }),
805
+ /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-slate-500 dark:text-slate-400", children: t("passwordlessSubtitle") })
834
806
  ] }),
835
807
  allowedChannels.length > 1 && /* @__PURE__ */ jsx("div", { className: "flex justify-center", children: /* @__PURE__ */ jsx(
836
808
  SegmentedControl,
@@ -872,15 +844,10 @@ function PasswordlessSignIn({
872
844
  children: t("passwordlessSendButton")
873
845
  }
874
846
  ),
875
- onBack && /* @__PURE__ */ jsx("div", { className: "text-center", children: /* @__PURE__ */ jsx(
876
- "button",
877
- {
878
- type: "button",
879
- onClick: onBack,
880
- className: "text-sm text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200 transition-colors",
881
- children: t("backToSignIn")
882
- }
883
- ) })
847
+ onBack && /* @__PURE__ */ jsx(Text, { className: "text-center", children: /* @__PURE__ */ jsx(TextLink, { href: "#", onClick: (event) => {
848
+ event.preventDefault();
849
+ onBack();
850
+ }, children: t("backToSignIn") }) })
884
851
  ] });
885
852
  const sentContent = /* @__PURE__ */ jsxs("div", { className: "space-y-6", children: [
886
853
  /* @__PURE__ */ jsx(
@@ -896,8 +863,8 @@ function PasswordlessSignIn({
896
863
  ] });
897
864
  const verifyContent = /* @__PURE__ */ jsxs("div", { className: "space-y-6", children: [
898
865
  /* @__PURE__ */ jsxs("div", { className: "text-center", children: [
899
- /* @__PURE__ */ jsx("h2", { className: "text-xl font-bold text-gray-900 dark:text-white", children: t("passwordlessEnterCodeTitle") }),
900
- /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-gray-500 dark:text-gray-400", children: channel === "email" ? t("passwordlessEnterCodeEmailSubtitle", { email: identifier }) : t("passwordlessEnterCodeSmsSubtitle", { phone: identifier }) })
866
+ /* @__PURE__ */ jsx("h2", { className: "text-xl font-bold text-slate-900 dark:text-white", children: t("passwordlessEnterCodeTitle") }),
867
+ /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-slate-500 dark:text-slate-400", children: channel === "email" ? t("passwordlessEnterCodeEmailSubtitle", { email: identifier }) : t("passwordlessEnterCodeSmsSubtitle", { phone: identifier }) })
901
868
  ] }),
902
869
  error && /* @__PURE__ */ jsx("div", { className: "rounded-xl bg-red-50 dark:bg-red-900/20 px-4 py-3 text-sm text-ios-red text-center", role: "alert", children: error }),
903
870
  /* @__PURE__ */ jsx(
@@ -912,31 +879,32 @@ function PasswordlessSignIn({
912
879
  }
913
880
  ),
914
881
  isVerifying && /* @__PURE__ */ jsx("div", { className: "flex justify-center", children: /* @__PURE__ */ jsx(Spinner, {}) }),
915
- /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between text-sm", children: [
916
- /* @__PURE__ */ jsx(
917
- "button",
882
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
883
+ /* @__PURE__ */ jsx(Text, { children: /* @__PURE__ */ jsx(
884
+ TextLink,
918
885
  {
919
- type: "button",
920
- onClick: () => {
886
+ href: "#",
887
+ onClick: (event) => {
888
+ event.preventDefault();
921
889
  setStep("input");
922
890
  setCode("");
923
891
  setError(null);
924
892
  },
925
- className: "text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200 transition-colors",
926
893
  children: t("passwordlessChangeIdentifier")
927
894
  }
928
- ),
895
+ ) }),
929
896
  /* @__PURE__ */ jsx(
930
- "button",
897
+ Button,
931
898
  {
932
899
  type: "button",
900
+ plain: true,
901
+ size: "sm",
933
902
  onClick: () => {
934
903
  setCode("");
935
904
  setError(null);
936
905
  handleSendCode();
937
906
  },
938
907
  disabled: isSending,
939
- className: "font-medium text-ios-blue hover:text-blue-700 dark:hover:text-blue-400 transition-colors disabled:opacity-50",
940
908
  children: t("resendEmailButton")
941
909
  }
942
910
  )
@@ -990,11 +958,11 @@ function ConsentScreen({
990
958
  ),
991
959
  /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
992
960
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-center gap-2", children: [
993
- /* @__PURE__ */ jsx("span", { className: "text-lg font-semibold text-gray-900 dark:text-white", children: application.name }),
961
+ /* @__PURE__ */ jsx("span", { className: "text-lg font-semibold text-slate-900 dark:text-white", children: application.name }),
994
962
  application.verified ? /* @__PURE__ */ jsx(Badge, { color: "green", children: t("consent.verified") }) : /* @__PURE__ */ jsx(Badge, { color: "amber", children: t("consent.unverified") })
995
963
  ] }),
996
- application.url && /* @__PURE__ */ jsx("p", { className: "text-xs text-gray-500 dark:text-gray-400", children: application.url }),
997
- /* @__PURE__ */ jsx("p", { className: "text-sm text-gray-600 dark:text-gray-300", children: t("consent.wantsAccess") })
964
+ application.url && /* @__PURE__ */ jsx("p", { className: "text-xs text-slate-500 dark:text-slate-400", children: application.url }),
965
+ /* @__PURE__ */ jsx("p", { className: "text-sm text-slate-600 dark:text-slate-300", children: t("consent.wantsAccess") })
998
966
  ] })
999
967
  ] }),
1000
968
  !application.verified && /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-3 rounded-xl border border-amber-500/30 bg-amber-500/10 p-3", children: [
@@ -1002,7 +970,7 @@ function ConsentScreen({
1002
970
  /* @__PURE__ */ jsx("p", { className: "text-sm text-amber-700 dark:text-amber-300", children: t("consent.unverifiedWarning", { name: application.name }) })
1003
971
  ] }),
1004
972
  /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
1005
- /* @__PURE__ */ jsx("p", { className: "text-xs font-medium uppercase tracking-wide text-gray-500 dark:text-gray-400", children: t("consent.permissionsLabel") }),
973
+ /* @__PURE__ */ jsx("p", { className: "text-xs font-medium uppercase tracking-wide text-slate-500 dark:text-slate-400", children: t("consent.permissionsLabel") }),
1006
974
  /* @__PURE__ */ jsx(ListCard, { children: scopes.map((scope) => /* @__PURE__ */ jsx(
1007
975
  ListCardItem,
1008
976
  {
@@ -1016,8 +984,8 @@ function ConsentScreen({
1016
984
  ),
1017
985
  onClick: () => handleScopeToggle(scope.id, !checkedScopes.has(scope.id)),
1018
986
  children: /* @__PURE__ */ jsxs("div", { children: [
1019
- /* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-gray-900 dark:text-white", children: scope.name }),
1020
- /* @__PURE__ */ jsx("p", { className: "text-xs text-gray-500 dark:text-gray-400", children: scope.description })
987
+ /* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-slate-900 dark:text-white", children: scope.name }),
988
+ /* @__PURE__ */ jsx("p", { className: "text-xs text-slate-500 dark:text-slate-400", children: scope.description })
1021
989
  ] })
1022
990
  },
1023
991
  scope.id
@@ -1046,19 +1014,19 @@ function ConsentScreen({
1046
1014
  }
1047
1015
  )
1048
1016
  ] }),
1049
- /* @__PURE__ */ jsx("p", { className: "text-center text-xs text-gray-400 dark:text-gray-500", children: t("consent.footerNote") })
1017
+ /* @__PURE__ */ jsx("p", { className: "text-center text-xs text-slate-400 dark:text-slate-500", children: t("consent.footerNote") })
1050
1018
  ] }) }) });
1051
1019
  }
1052
1020
  function SsoConnectorList({ connectors, onSelect, loading = false }) {
1053
1021
  const t = useTranslations("windsock");
1054
1022
  if (loading) {
1055
- return /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-center gap-2 py-8 text-sm text-gray-500 dark:text-gray-400", children: [
1023
+ return /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-center gap-2 py-8 text-sm text-slate-500 dark:text-slate-400", children: [
1056
1024
  /* @__PURE__ */ jsx(InlineSpinner, {}),
1057
1025
  /* @__PURE__ */ jsx("span", { children: t("sso.connectorList.loading") })
1058
1026
  ] });
1059
1027
  }
1060
1028
  if (connectors.length === 0) {
1061
- return /* @__PURE__ */ jsx("p", { className: "py-6 text-center text-sm text-gray-500 dark:text-gray-400", children: t("sso.connectorList.empty") });
1029
+ return /* @__PURE__ */ jsx("p", { className: "py-6 text-center text-sm text-slate-500 dark:text-slate-400", children: t("sso.connectorList.empty") });
1062
1030
  }
1063
1031
  return /* @__PURE__ */ jsx(ListCard, { children: connectors.map((connector) => {
1064
1032
  const initials = connector.name.split(" ").map((word) => word[0]).join("").slice(0, 2).toUpperCase();
@@ -1075,12 +1043,12 @@ function SsoConnectorList({ connectors, onSelect, loading = false }) {
1075
1043
  ),
1076
1044
  trailing: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
1077
1045
  /* @__PURE__ */ jsx(Badge, { color: "zinc", children: connector.type === "saml" ? t("sso.connectorList.typeSaml") : t("sso.connectorList.typeOidc") }),
1078
- /* @__PURE__ */ jsx(ChevronRightIcon, { className: "h-4 w-4 text-gray-400" })
1046
+ /* @__PURE__ */ jsx(ChevronRightIcon, { className: "h-4 w-4 text-slate-400" })
1079
1047
  ] }),
1080
1048
  onClick: () => onSelect(connector),
1081
1049
  children: /* @__PURE__ */ jsxs("div", { children: [
1082
- /* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-gray-900 dark:text-white", children: connector.name }),
1083
- connector.domain && /* @__PURE__ */ jsx("p", { className: "text-xs text-gray-500 dark:text-gray-400", children: connector.domain })
1050
+ /* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-slate-900 dark:text-white", children: connector.name }),
1051
+ connector.domain && /* @__PURE__ */ jsx("p", { className: "text-xs text-slate-500 dark:text-slate-400", children: connector.domain })
1084
1052
  ] })
1085
1053
  },
1086
1054
  connector.id
@@ -1138,8 +1106,8 @@ function SsoEmailForm({
1138
1106
  if (phase === "connectors") {
1139
1107
  const connectorsContent = /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
1140
1108
  /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
1141
- /* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-gray-900 dark:text-white", children: t("sso.emailForm.connectorsTitle") }),
1142
- /* @__PURE__ */ jsx("p", { className: "text-xs text-gray-500 dark:text-gray-400", children: t("sso.emailForm.connectorsSubtitle", { email }) })
1109
+ /* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-slate-900 dark:text-white", children: t("sso.emailForm.connectorsTitle") }),
1110
+ /* @__PURE__ */ jsx("p", { className: "text-xs text-slate-500 dark:text-slate-400", children: t("sso.emailForm.connectorsSubtitle", { email }) })
1143
1111
  ] }),
1144
1112
  /* @__PURE__ */ jsx(
1145
1113
  SsoConnectorList,
@@ -1149,23 +1117,18 @@ function SsoEmailForm({
1149
1117
  loading: loadingConnectors
1150
1118
  }
1151
1119
  ),
1152
- /* @__PURE__ */ jsx("div", { className: "text-center", children: /* @__PURE__ */ jsx(
1153
- "button",
1154
- {
1155
- type: "button",
1156
- onClick: handleBackToEmail,
1157
- className: "text-sm text-gray-500 transition-colors hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200",
1158
- children: t("sso.emailForm.backButton")
1159
- }
1160
- ) })
1120
+ /* @__PURE__ */ jsx(Text, { className: "text-center", children: /* @__PURE__ */ jsx(TextLink, { href: "#", onClick: (event) => {
1121
+ event.preventDefault();
1122
+ handleBackToEmail();
1123
+ }, children: t("sso.emailForm.backButton") }) })
1161
1124
  ] });
1162
1125
  if (embedded) return connectorsContent;
1163
1126
  return /* @__PURE__ */ jsx(Card, { variant: "glass", className: "mx-auto w-full max-w-md", children: /* @__PURE__ */ jsx(CardContent, { className: "p-6 sm:p-8", children: connectorsContent }) });
1164
1127
  }
1165
1128
  const emailContent = /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
1166
1129
  /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
1167
- /* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-gray-900 dark:text-white", children: t("sso.emailForm.title") }),
1168
- /* @__PURE__ */ jsx("p", { className: "text-xs text-gray-500 dark:text-gray-400", children: t("sso.emailForm.subtitle") })
1130
+ /* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-slate-900 dark:text-white", children: t("sso.emailForm.title") }),
1131
+ /* @__PURE__ */ jsx("p", { className: "text-xs text-slate-500 dark:text-slate-400", children: t("sso.emailForm.subtitle") })
1169
1132
  ] }),
1170
1133
  /* @__PURE__ */ jsxs(BaseForm, { onSubmit: handleEmailSubmit, submitLabel: t("sso.emailForm.continueButton"), showFooter: false, children: [
1171
1134
  /* @__PURE__ */ jsx(
@@ -1252,7 +1215,7 @@ function UserButton({ menuItems = [], onSignOut, avatarUrl, labels }) {
1252
1215
  alt: user?.name ?? user?.email ?? resolvedLabels.userAlt
1253
1216
  }
1254
1217
  ),
1255
- /* @__PURE__ */ jsx(ChevronUpDownIcon, { className: "h-4 w-4 text-gray-500 dark:text-gray-400" })
1218
+ /* @__PURE__ */ jsx(ChevronUpDownIcon, { className: "h-4 w-4 text-slate-500 dark:text-slate-400" })
1256
1219
  ]
1257
1220
  }
1258
1221
  ),
@@ -1267,7 +1230,7 @@ function UserButton({ menuItems = [], onSignOut, avatarUrl, labels }) {
1267
1230
  leaveFrom: "transform opacity-100 scale-100",
1268
1231
  leaveTo: "transform opacity-0 scale-95",
1269
1232
  children: /* @__PURE__ */ jsxs(Menu.Items, { className: "liquid-surface absolute right-0 z-50 mt-2 w-60 origin-top-right rounded-2xl shadow-lg ring-1 ring-black/5 focus:outline-none dark:ring-white/10", children: [
1270
- /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 border-b border-gray-200/60 px-4 py-3 dark:border-white/10", children: [
1233
+ /* @__PURE__ */ jsxs("div", { className: "liquid-divider flex items-center gap-3 px-4 py-3", children: [
1271
1234
  /* @__PURE__ */ jsx(
1272
1235
  Avatar,
1273
1236
  {
@@ -1277,8 +1240,8 @@ function UserButton({ menuItems = [], onSignOut, avatarUrl, labels }) {
1277
1240
  }
1278
1241
  ),
1279
1242
  /* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
1280
- user?.name && /* @__PURE__ */ jsx("p", { className: "truncate text-sm font-medium text-gray-900 dark:text-white", children: user.name }),
1281
- user?.email && /* @__PURE__ */ jsx("p", { className: "truncate text-xs text-gray-500 dark:text-gray-400", children: user.email })
1243
+ user?.name && /* @__PURE__ */ jsx("p", { className: "truncate text-sm font-medium text-slate-900 dark:text-white", children: user.name }),
1244
+ user?.email && /* @__PURE__ */ jsx("p", { className: "truncate text-xs text-slate-500 dark:text-slate-400", children: user.email })
1282
1245
  ] })
1283
1246
  ] }),
1284
1247
  menuItems.length > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -1290,16 +1253,16 @@ function UserButton({ menuItems = [], onSignOut, avatarUrl, labels }) {
1290
1253
  triggerHaptic("light");
1291
1254
  item.onClick();
1292
1255
  },
1293
- className: `flex w-full items-center gap-2 rounded-xl px-3 py-2 text-sm transition-colors ${active ? "bg-gray-100 text-gray-900 dark:bg-white/10 dark:text-white" : "text-gray-700 dark:text-gray-300"}`,
1256
+ className: `flex w-full items-center gap-2 rounded-xl px-3 py-2 text-sm transition-colors ${active ? "bg-slate-100 text-slate-900 dark:bg-white/10 dark:text-white" : "text-slate-700 dark:text-slate-300"}`,
1294
1257
  children: [
1295
- item.icon ? /* @__PURE__ */ jsx("span", { className: "h-4 w-4 shrink-0 text-gray-400", children: item.icon }) : null,
1258
+ item.icon ? /* @__PURE__ */ jsx("span", { className: "h-4 w-4 shrink-0 text-slate-400", children: item.icon }) : null,
1296
1259
  item.label
1297
1260
  ]
1298
1261
  }
1299
1262
  ) }, index)) }),
1300
- /* @__PURE__ */ jsx("div", { className: "border-t border-gray-200/60 dark:border-white/10" })
1263
+ /* @__PURE__ */ jsx("div", { className: "border-t border-slate-200/60 dark:border-white/10" })
1301
1264
  ] }),
1302
- /* @__PURE__ */ jsx("div", { className: "border-t border-gray-200/60 px-1 py-1 dark:border-white/10", children: /* @__PURE__ */ jsx(Menu.Item, { children: ({ active }) => /* @__PURE__ */ jsxs(
1265
+ /* @__PURE__ */ jsx("div", { className: "border-t border-slate-200/60 px-1 py-1 dark:border-white/10", children: /* @__PURE__ */ jsx(Menu.Item, { children: ({ active }) => /* @__PURE__ */ jsxs(
1303
1266
  "button",
1304
1267
  {
1305
1268
  type: "button",
@@ -1330,5 +1293,5 @@ function UserButton({ menuItems = [], onSignOut, avatarUrl, labels }) {
1330
1293
  }
1331
1294
 
1332
1295
  export { ConsentScreen, ForgotPassword, MfaChallenge, PasswordlessSignIn, ResetPassword, SignIn, SignUp, SsoConnectorList, SsoEmailForm, UserButton, VerifyEmail };
1333
- //# sourceMappingURL=chunk-OC4AOYU5.mjs.map
1334
- //# sourceMappingURL=chunk-OC4AOYU5.mjs.map
1296
+ //# sourceMappingURL=chunk-OTQXU4WG.mjs.map
1297
+ //# sourceMappingURL=chunk-OTQXU4WG.mjs.map