@alfadocs/ui-kit 0.25.0 → 0.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.
Files changed (178) hide show
  1. package/dist/_chunks/{agenda-card-BmpaUG1h.js → agenda-card-CznB7K8e.js} +2 -2
  2. package/dist/_chunks/{agenda-tray-DiInnVqk.js → agenda-tray-C_bha7oK.js} +4 -4
  3. package/dist/_chunks/{ai-prompt-input-B5MdixzR.js → ai-prompt-input-Bka3jX3i.js} +2 -2
  4. package/dist/_chunks/{alia-sidebar-CUi2UCbY.js → alia-sidebar-CnvXq95r.js} +92 -109
  5. package/dist/_chunks/{audio-recorder-D4xM3H5i.js → audio-recorder-OB6IV9B1.js} +2 -2
  6. package/dist/_chunks/{autocomplete-C7xq06bP.js → autocomplete-CUh0f7Dj.js} +2 -2
  7. package/dist/_chunks/{avatar-BpFohgWG.js → avatar-D_H4emLo.js} +7 -7
  8. package/dist/_chunks/{benefit-card-DXmrAyfn.js → benefit-card-CjYM8vNr.js} +29 -29
  9. package/dist/_chunks/booking-CXngC-1u.js +1743 -0
  10. package/dist/_chunks/{calendar-zy0tUUVG.js → calendar-9eOXumpH.js} +113 -142
  11. package/dist/_chunks/{card-C353dU-H.js → card-DKTMLVrw.js} +11 -11
  12. package/dist/_chunks/{carousel.agent-DnPiqijR.js → carousel.agent-C9swH-Uf.js} +2 -2
  13. package/dist/_chunks/{chat-input-B3XmFGDw.js → chat-input-BfDcz1Yi.js} +2 -2
  14. package/dist/_chunks/{chat-message-W3k8rLOA.js → chat-message-fg221-yx.js} +2 -2
  15. package/dist/_chunks/{command-palette-DkL-aW4O.js → command-palette-11BieSNq.js} +2 -2
  16. package/dist/_chunks/{contact-card-CjG7c-1q.js → contact-card-CeEfEAxh.js} +2 -2
  17. package/dist/_chunks/{date-picker-BIoSLRly.js → date-picker-D0Ry1dMz.js} +26 -27
  18. package/dist/_chunks/{date-range-picker-9gANFNG9.js → date-range-picker-DYgHzMOo.js} +19 -20
  19. package/dist/_chunks/{date-time-picker-DG7BiGdb.js → date-time-picker-CGmGtcyc.js} +10 -11
  20. package/dist/_chunks/{description-list-Bsga4IW8.js → description-list-yl3y3QKg.js} +34 -24
  21. package/dist/_chunks/{dialog-DUomPCRS.js → dialog-BBXqpZIt.js} +2 -2
  22. package/dist/_chunks/{editable-currency-cell-renderer-DJB5MxAI.js → editable-currency-cell-renderer-DSReCae7.js} +7 -7
  23. package/dist/_chunks/{empty-state-3CLJIXSj.js → empty-state-BLy7tigq.js} +13 -33
  24. package/dist/_chunks/eye-LHlSU38h.js +21 -0
  25. package/dist/_chunks/{freemium-paywall-CM6V1zNf.js → freemium-paywall-B9c8Ylww.js} +11 -11
  26. package/dist/_chunks/{header-DqmKROIY.js → header-B8V_sNPy.js} +2 -2
  27. package/dist/_chunks/icon-button-BRHSSFmZ.js +70 -0
  28. package/dist/_chunks/{isSameDay-ecuM8PBB.js → isSameDay-DHG8Xade.js} +4 -4
  29. package/dist/_chunks/{key-value-pair-DBuOCtIc.js → key-value-pair-CqeKiP__.js} +2 -2
  30. package/dist/_chunks/{locale-picker-BxEUUPW7.js → locale-picker-BHxbTNmR.js} +297 -208
  31. package/dist/_chunks/{map-view-CcwycFQX.js → map-view-DyB8tr6c.js} +9 -9
  32. package/dist/_chunks/{matrix-rain-CRPMXcVx.js → matrix-rain-sDOUUwZp.js} +35 -35
  33. package/dist/_chunks/{message-card-i61k1TGc.js → message-card-DjRtA8GG.js} +3 -3
  34. package/dist/_chunks/{message-tray-DrV7G-wR.js → message-tray-DfsAMncP.js} +3 -3
  35. package/dist/_chunks/monitor-D-SFdbrU.js +16 -0
  36. package/dist/_chunks/{notification-card-ejOw5g6g.js → notification-card-B_847w5g.js} +3 -3
  37. package/dist/_chunks/{notification-tray-D_69dXFY.js → notification-tray-6f7smmT1.js} +22 -19
  38. package/dist/_chunks/patient-shell-Bq8CjRYF.js +173 -0
  39. package/dist/_chunks/{payment-form-F7uh0Rqr.js → payment-form-Ds3rxvad.js} +2 -2
  40. package/dist/_chunks/{pdf-viewer-CuYaVR1I.js → pdf-viewer-CIuaocnq.js} +2 -2
  41. package/dist/_chunks/{popover--derJ_wq.js → popover-D0slaBB9.js} +17 -13
  42. package/dist/_chunks/{privacy-lock-BKsI6ReN.js → privacy-lock-BI4vi9Ud.js} +2 -2
  43. package/dist/_chunks/{public-header.agent-BQ3r6Hgq.js → public-header.agent-5U3S9QiC.js} +49 -41
  44. package/dist/_chunks/react-day-picker-D3yzgvDB.js +3127 -0
  45. package/dist/_chunks/{recaptcha-widget-Kp1XntuE.js → recaptcha-widget-BtBNb6tB.js} +2 -2
  46. package/dist/_chunks/{search-bar-DORSAzNt.js → search-bar-BRMW1-WG.js} +2 -2
  47. package/dist/_chunks/{search-input-BtEJAJHa.js → search-input-CIA6pPfn.js} +2 -2
  48. package/dist/_chunks/{sheet-BT0izeoI.js → sheet-D8M8hf8B.js} +2 -2
  49. package/dist/_chunks/{sign-in-with-alfadocs-button-4zZC-I6y.js → sign-in-with-alfadocs-button-BI0fVonM.js} +2 -2
  50. package/dist/_chunks/{slot-grid-CgpYgBkW.js → slot-grid-DoodeQGZ.js} +4 -4
  51. package/dist/_chunks/sparkles-CuYXqQLg.js +23 -0
  52. package/dist/_chunks/{spinner-DirtWZNG.js → spinner-CCByyvcb.js} +2 -2
  53. package/dist/_chunks/stepper-accordion-BfS6lUB9.js +257 -0
  54. package/dist/_chunks/stepper-accordion.agent-C4quJ-MD.js +71 -0
  55. package/dist/_chunks/stethoscope-B8kpbtjh.js +35 -0
  56. package/dist/_chunks/{sun-Eweh5fvi.js → sun-BuXE0xUS.js} +3 -15
  57. package/dist/_chunks/{task-tray-B3A2fRGR.js → task-tray-Bcmrrs8m.js} +3 -3
  58. package/dist/_chunks/{theme-toggle-FrotC2VI.js → theme-toggle-nPzb378f.js} +37 -36
  59. package/dist/_chunks/{timeline-jmd7lfDf.js → timeline-CR7HjZCK.js} +3 -3
  60. package/dist/_chunks/{toast.agent-32WNQ-_x.js → toast.agent-CTF6nIj5.js} +2 -2
  61. package/dist/_chunks/{transcript-panel-DUrjx5sa.js → transcript-panel-QUQ9XJmf.js} +2 -2
  62. package/dist/_chunks/{use-password-requirements-C9vKBSVn.js → use-password-requirements-E0sSfx5X.js} +38 -53
  63. package/dist/_chunks/use-theme-C2dHKUAN.js +145 -0
  64. package/dist/_chunks/{workflow-map-BR6txfFX.js → workflow-map-BKsKdYvZ.js} +5 -5
  65. package/dist/agent-catalog.json +56 -51
  66. package/dist/components/agenda-card/index.js +1 -1
  67. package/dist/components/agenda-tray/index.js +1 -1
  68. package/dist/components/ai-prompt-input/index.js +1 -1
  69. package/dist/components/audio-recorder/index.js +1 -1
  70. package/dist/components/autocomplete/index.js +1 -1
  71. package/dist/components/avatar/index.js +1 -1
  72. package/dist/components/benefit-card/index.js +1 -1
  73. package/dist/components/booking/booking.agent.d.ts +4 -0
  74. package/dist/components/booking/booking.d.ts +91 -0
  75. package/dist/components/booking/index.d.ts +4 -0
  76. package/dist/components/booking/index.js +6 -0
  77. package/dist/components/button/index.js +1 -1
  78. package/dist/components/calendar/index.js +1 -1
  79. package/dist/components/card/index.js +1 -1
  80. package/dist/components/carousel/index.js +1 -1
  81. package/dist/components/chat-input/index.js +1 -1
  82. package/dist/components/chat-message/index.js +1 -1
  83. package/dist/components/command-palette/index.js +1 -1
  84. package/dist/components/contact-card/index.js +1 -1
  85. package/dist/components/data-table/index.js +1 -1
  86. package/dist/components/date-picker/index.js +1 -1
  87. package/dist/components/date-range-picker/index.js +1 -1
  88. package/dist/components/date-time-picker/index.js +1 -1
  89. package/dist/components/description-list/index.js +1 -1
  90. package/dist/components/dialog/index.js +1 -1
  91. package/dist/components/empty-state/index.js +1 -1
  92. package/dist/components/freemium-paywall/index.js +1 -1
  93. package/dist/components/header/index.js +1 -1
  94. package/dist/components/header-settings/index.js +60 -48
  95. package/dist/components/icon-button/index.js +1 -1
  96. package/dist/components/index.d.ts +1 -1
  97. package/dist/components/key-value-pair/index.js +1 -1
  98. package/dist/components/locale-picker/index.js +1 -1
  99. package/dist/components/map-view/index.js +1 -1
  100. package/dist/components/matrix-rain/index.js +1 -1
  101. package/dist/components/message-card/index.js +1 -1
  102. package/dist/components/message-tray/index.js +1 -1
  103. package/dist/components/notification-card/index.js +1 -1
  104. package/dist/components/notification-tray/index.js +1 -1
  105. package/dist/components/password-input/index.js +1 -1
  106. package/dist/components/payment-form/index.js +1 -1
  107. package/dist/components/pdf-viewer/index.js +1 -1
  108. package/dist/components/popover/index.js +1 -1
  109. package/dist/components/privacy-lock/index.js +1 -1
  110. package/dist/components/public-header/index.js +1 -1
  111. package/dist/components/recaptcha-widget/index.js +1 -1
  112. package/dist/components/search-bar/index.js +1 -1
  113. package/dist/components/search-input/index.js +1 -1
  114. package/dist/components/sheet/index.js +1 -1
  115. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  116. package/dist/components/slot-grid/index.js +1 -1
  117. package/dist/components/spinner/index.js +1 -1
  118. package/dist/components/stepper-accordion/index.js +4 -3
  119. package/dist/components/task-tray/index.js +1 -1
  120. package/dist/components/theme-toggle/index.js +1 -1
  121. package/dist/components/timeline/index.js +1 -1
  122. package/dist/components/toast/index.js +1 -1
  123. package/dist/components/transcript-panel/index.js +1 -1
  124. package/dist/components/workflow/index.js +1 -1
  125. package/dist/hooks/index.js +1 -1
  126. package/dist/i18n/config.js +1090 -46
  127. package/dist/i18n/locales/ar.d.ts +58 -0
  128. package/dist/i18n/locales/de.d.ts +58 -0
  129. package/dist/i18n/locales/el.d.ts +58 -0
  130. package/dist/i18n/locales/es.d.ts +58 -0
  131. package/dist/i18n/locales/fr.d.ts +58 -0
  132. package/dist/i18n/locales/hi.d.ts +58 -0
  133. package/dist/i18n/locales/ja.d.ts +58 -0
  134. package/dist/i18n/locales/nl.d.ts +58 -0
  135. package/dist/i18n/locales/pl.d.ts +58 -0
  136. package/dist/i18n/locales/pt.d.ts +58 -0
  137. package/dist/i18n/locales/ro.d.ts +58 -0
  138. package/dist/i18n/locales/ru.d.ts +58 -0
  139. package/dist/i18n/locales/sq.d.ts +58 -0
  140. package/dist/i18n/locales/sv.d.ts +58 -0
  141. package/dist/i18n/locales/tr.d.ts +58 -0
  142. package/dist/i18n/locales/zh.d.ts +58 -0
  143. package/dist/i18n/resources.d.ts +116 -0
  144. package/dist/index.js +270 -269
  145. package/dist/locales/ar.json +59 -1
  146. package/dist/locales/de.json +59 -1
  147. package/dist/locales/el.json +59 -1
  148. package/dist/locales/en.json +59 -1
  149. package/dist/locales/es.json +59 -1
  150. package/dist/locales/fr.json +59 -1
  151. package/dist/locales/hi.json +59 -1
  152. package/dist/locales/it.json +59 -1
  153. package/dist/locales/ja.json +59 -1
  154. package/dist/locales/nl.json +59 -1
  155. package/dist/locales/pl.json +59 -1
  156. package/dist/locales/pt.json +59 -1
  157. package/dist/locales/ro.json +59 -1
  158. package/dist/locales/ru.json +59 -1
  159. package/dist/locales/sq.json +59 -1
  160. package/dist/locales/sv.json +59 -1
  161. package/dist/locales/tr.json +59 -1
  162. package/dist/locales/zh.json +59 -1
  163. package/dist/patterns/alia-assistant/index.js +1 -1
  164. package/dist/patterns/patient-shell/index.js +1 -1
  165. package/dist/tokens.css +1 -1
  166. package/package.json +5 -1
  167. package/dist/_chunks/icon-button-C4CGcYuz.js +0 -54
  168. package/dist/_chunks/isSameMonth-5wNF2f4I.js +0 -1307
  169. package/dist/_chunks/patient-shell-B164drIa.js +0 -173
  170. package/dist/_chunks/react-day-picker-C5F3-TTX.js +0 -1827
  171. package/dist/_chunks/stepper-C-sIpRRU.js +0 -7
  172. package/dist/_chunks/stepper-accordion.agent-ckKYZCIP.js +0 -322
  173. package/dist/_chunks/stepper-calendar-BLOJUE0-.js +0 -648
  174. package/dist/_chunks/use-theme-B1cwAXJR.js +0 -145
  175. package/dist/components/stepper-calendar/index.d.ts +0 -4
  176. package/dist/components/stepper-calendar/index.js +0 -6
  177. package/dist/components/stepper-calendar/stepper-calendar.agent.d.ts +0 -4
  178. package/dist/components/stepper-calendar/stepper-calendar.d.ts +0 -62
@@ -1,8 +1,8 @@
1
1
  import { jsx as e, jsxs as V } from "react/jsx-runtime";
2
- import { forwardRef as c, useMemo as x, Children as C, isValidElement as T, useContext as R, useState as y, useCallback as j, createContext as P } from "react";
2
+ import { forwardRef as c, useMemo as x, Children as C, isValidElement as T, useContext as R, useState as b, useCallback as j, createContext as P } from "react";
3
3
  import { c as m } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as z } from "react-i18next";
5
- import { I as A } from "./icon-button-C4CGcYuz.js";
5
+ import { I as A } from "./icon-button-BRHSSFmZ.js";
6
6
  import { C as S } from "./check-DPdL_Sm7.js";
7
7
  import { C as B } from "./copy-B00HK7tj.js";
8
8
  function E(s) {
@@ -11,7 +11,7 @@ function E(s) {
11
11
  function M(s) {
12
12
  return s === "fixed" ? "minmax(0,2fr)" : "minmax(0,1fr)";
13
13
  }
14
- const b = P({
14
+ const y = P({
15
15
  layout: "inline",
16
16
  density: "default",
17
17
  divider: "none",
@@ -65,26 +65,36 @@ const b = P({
65
65
  layout: "inline",
66
66
  hasIcons: !1,
67
67
  copyable: !1,
68
- className: "ds:grid ds:grid-cols-[var(--description-list-label-track)_var(--description-list-value-track)] ds:gap-[var(--spacing-md)] ds:items-start"
68
+ className: "ds:grid ds:grid-cols-[var(--description-list-label-track)_var(--description-list-value-track)] ds:gap-[var(--spacing-md)] ds:items-baseline"
69
69
  },
70
70
  {
71
71
  layout: "inline",
72
72
  hasIcons: !1,
73
73
  copyable: !0,
74
- className: "ds:grid ds:grid-cols-[var(--description-list-label-track)_var(--description-list-value-track)_auto] ds:gap-[var(--spacing-md)] ds:items-start ds:[&>button]:col-start-3"
74
+ className: "ds:grid ds:grid-cols-[var(--description-list-label-track)_var(--description-list-value-track)_auto] ds:gap-[var(--spacing-md)] ds:items-baseline ds:[&>button]:col-start-3 ds:[&>button]:self-start"
75
75
  },
76
- /* ----- inline / with icons ----- */
76
+ /* ----- inline / with icons -----
77
+ `items-baseline` aligns Term (`type-label` 14 px / 1.4 lh) and
78
+ Detail (`type-body` 16 px / 1.6 lh) by their text baselines so
79
+ their cap-heights line up — without it Detail's larger
80
+ line-box pushed plain-text values visibly below the label.
81
+ Per-cell overrides keep the icon at row-top (with the
82
+ `mt-[5px]` cap-height nudge intact) and the copy button at
83
+ row-start too. Chip cells (Badges / Tags inside the Detail
84
+ column) baseline-align via their internal text baseline; the
85
+ shift is sub-pixel and the chip rows remain visually anchored
86
+ with the row's label. */
77
87
  {
78
88
  layout: "inline",
79
89
  hasIcons: !0,
80
90
  copyable: !1,
81
- className: "ds:grid ds:grid-cols-[auto_var(--description-list-label-track)_var(--description-list-value-track)] ds:gap-[var(--spacing-md)] ds:items-start"
91
+ className: "ds:grid ds:grid-cols-[auto_var(--description-list-label-track)_var(--description-list-value-track)] ds:gap-[var(--spacing-md)] ds:items-baseline ds:[&>[data-dl-icon-slot]]:self-start"
82
92
  },
83
93
  {
84
94
  layout: "inline",
85
95
  hasIcons: !0,
86
96
  copyable: !0,
87
- className: "ds:grid ds:grid-cols-[auto_var(--description-list-label-track)_var(--description-list-value-track)_auto] ds:gap-[var(--spacing-md)] ds:items-start ds:[&>button]:col-start-4"
97
+ className: "ds:grid ds:grid-cols-[auto_var(--description-list-label-track)_var(--description-list-value-track)_auto] ds:gap-[var(--spacing-md)] ds:items-baseline ds:[&>[data-dl-icon-slot]]:self-start ds:[&>button]:col-start-4 ds:[&>button]:self-start"
88
98
  },
89
99
  /* ----- stacked / no icons / no copyable ----- */
90
100
  {
@@ -122,26 +132,26 @@ const b = P({
122
132
  layout: "responsive",
123
133
  hasIcons: !1,
124
134
  copyable: !1,
125
- className: "ds:grid ds:grid-cols-[var(--description-list-label-track)_var(--description-list-value-track)] ds:gap-[var(--spacing-md)] ds:items-start ds:max-sm:flex ds:max-sm:flex-col ds:max-sm:gap-[var(--spacing-xs)]"
135
+ className: "ds:grid ds:grid-cols-[var(--description-list-label-track)_var(--description-list-value-track)] ds:gap-[var(--spacing-md)] ds:items-baseline ds:max-sm:flex ds:max-sm:flex-col ds:max-sm:gap-[var(--spacing-xs)]"
126
136
  },
127
137
  {
128
138
  layout: "responsive",
129
139
  hasIcons: !1,
130
140
  copyable: !0,
131
- className: "ds:grid ds:grid-cols-[var(--description-list-label-track)_var(--description-list-value-track)_auto] ds:gap-[var(--spacing-md)] ds:items-start ds:[&>button]:col-start-3 ds:max-sm:flex ds:max-sm:flex-col ds:max-sm:gap-[var(--spacing-xs)]"
141
+ className: "ds:grid ds:grid-cols-[var(--description-list-label-track)_var(--description-list-value-track)_auto] ds:gap-[var(--spacing-md)] ds:items-baseline ds:[&>button]:col-start-3 ds:[&>button]:self-start ds:max-sm:flex ds:max-sm:flex-col ds:max-sm:gap-[var(--spacing-xs)]"
132
142
  },
133
143
  /* ----- responsive / with icons ----- */
134
144
  {
135
145
  layout: "responsive",
136
146
  hasIcons: !0,
137
147
  copyable: !1,
138
- className: "ds:grid ds:grid-cols-[auto_var(--description-list-label-track)_var(--description-list-value-track)] ds:gap-[var(--spacing-md)] ds:items-start ds:max-sm:grid-cols-[auto_minmax(0,1fr)] ds:max-sm:gap-x-[var(--spacing-sm)] ds:max-sm:gap-y-[var(--spacing-xs)] ds:max-sm:[&>dt]:col-start-2 ds:max-sm:[&>dd]:col-start-2 ds:max-sm:[&>[data-dl-icon-slot]]:row-span-full"
148
+ className: "ds:grid ds:grid-cols-[auto_var(--description-list-label-track)_var(--description-list-value-track)] ds:gap-[var(--spacing-md)] ds:items-baseline ds:[&>[data-dl-icon-slot]]:self-start ds:max-sm:grid-cols-[auto_minmax(0,1fr)] ds:max-sm:gap-x-[var(--spacing-sm)] ds:max-sm:gap-y-[var(--spacing-xs)] ds:max-sm:[&>dt]:col-start-2 ds:max-sm:[&>dd]:col-start-2 ds:max-sm:[&>[data-dl-icon-slot]]:row-span-full"
139
149
  },
140
150
  {
141
151
  layout: "responsive",
142
152
  hasIcons: !0,
143
153
  copyable: !0,
144
- className: "ds:grid ds:grid-cols-[auto_var(--description-list-label-track)_var(--description-list-value-track)_auto] ds:gap-[var(--spacing-md)] ds:items-start ds:[&>button]:col-start-4 ds:max-sm:grid-cols-[auto_minmax(0,1fr)_auto] ds:max-sm:gap-x-[var(--spacing-sm)] ds:max-sm:gap-y-[var(--spacing-xs)] ds:max-sm:[&>dt]:col-start-2 ds:max-sm:[&>dd]:col-start-2 ds:max-sm:[&>[data-dl-icon-slot]]:row-span-full ds:max-sm:[&>button]:col-start-3 ds:max-sm:[&>button]:row-span-full"
154
+ className: "ds:grid ds:grid-cols-[auto_var(--description-list-label-track)_var(--description-list-value-track)_auto] ds:gap-[var(--spacing-md)] ds:items-baseline ds:[&>[data-dl-icon-slot]]:self-start ds:[&>button]:col-start-4 ds:[&>button]:self-start ds:max-sm:grid-cols-[auto_minmax(0,1fr)_auto] ds:max-sm:gap-x-[var(--spacing-sm)] ds:max-sm:gap-y-[var(--spacing-xs)] ds:max-sm:[&>dt]:col-start-2 ds:max-sm:[&>dd]:col-start-2 ds:max-sm:[&>[data-dl-icon-slot]]:row-span-full ds:max-sm:[&>button]:col-start-3 ds:max-sm:[&>button]:row-span-full"
145
155
  }
146
156
  ],
147
157
  defaultVariants: {
@@ -160,8 +170,8 @@ const b = P({
160
170
  children: o,
161
171
  style: d,
162
172
  ...u
163
- }, v) => {
164
- const g = x(
173
+ }, f) => {
174
+ const v = x(
165
175
  () => C.toArray(o).some(
166
176
  (i) => T(i) && i.props.icon != null
167
177
  ),
@@ -175,13 +185,13 @@ const b = P({
175
185
  [d, t]
176
186
  );
177
187
  return /* @__PURE__ */ e(
178
- b.Provider,
188
+ y.Provider,
179
189
  {
180
- value: { layout: s, density: a, divider: r, hasIcons: g },
190
+ value: { layout: s, density: a, divider: r, hasIcons: v },
181
191
  children: /* @__PURE__ */ e(
182
192
  "dl",
183
193
  {
184
- ref: v,
194
+ ref: f,
185
195
  className: O({
186
196
  layout: s,
187
197
  density: a,
@@ -210,11 +220,11 @@ const w = c(
210
220
  children: o,
211
221
  ...d
212
222
  }, u) => {
213
- const { layout: v, divider: g, hasIcons: l } = R(b), { t: i } = z(), [h, f] = y(!1), [I, n] = y(""), L = j(async () => {
223
+ const { layout: f, divider: v, hasIcons: l } = R(y), { t: i } = z(), [h, g] = b(!1), [I, n] = b(""), L = j(async () => {
214
224
  if (a)
215
225
  try {
216
- await navigator.clipboard.writeText(a), f(!0), n(i("keyValuePair.copied")), setTimeout(() => {
217
- f(!1), n("");
226
+ await navigator.clipboard.writeText(a), g(!0), n(i("keyValuePair.copied")), setTimeout(() => {
227
+ g(!1), n("");
218
228
  }, 2e3);
219
229
  } catch {
220
230
  n(i("keyValuePair.notAvailable")), setTimeout(() => n(""), 3e3);
@@ -227,8 +237,8 @@ const w = c(
227
237
  {
228
238
  ref: u,
229
239
  className: q({
230
- layout: v,
231
- divider: g,
240
+ layout: f,
241
+ divider: v,
232
242
  copyable: s,
233
243
  hasIcons: l,
234
244
  className: p
@@ -240,7 +250,7 @@ const w = c(
240
250
  {
241
251
  "data-dl-icon-slot": !0,
242
252
  "aria-hidden": "true",
243
- className: "ds:inline-flex ds:size-4 ds:shrink-0 ds:mt-0.5 ds:items-center ds:justify-center ds:[&_svg]:size-4 ds:text-[color:var(--description-list-icon-color)]",
253
+ className: "ds:inline-flex ds:size-4 ds:shrink-0 ds:mt-[5px] ds:items-center ds:justify-center ds:[&_svg]:size-4 ds:text-[color:var(--description-list-icon-color)]",
244
254
  children: t
245
255
  }
246
256
  ),
@@ -306,4 +316,4 @@ const Z = Object.assign(k, {
306
316
  export {
307
317
  Z as D
308
318
  };
309
- //# sourceMappingURL=description-list-Bsga4IW8.js.map
319
+ //# sourceMappingURL=description-list-yl3y3QKg.js.map
@@ -3,7 +3,7 @@ import { useRef as R, useEffect as T, useMemo as O, forwardRef as d, useContext
3
3
  import * as t from "@radix-ui/react-dialog";
4
4
  import { c as k } from "./index-D2ZczOXr.js";
5
5
  import { useTranslation as E } from "react-i18next";
6
- import { I } from "./icon-button-C4CGcYuz.js";
6
+ import { I } from "./icon-button-BRHSSFmZ.js";
7
7
  import { u as B } from "./use-controllable-state-BiY4xTzM.js";
8
8
  import { u as S } from "./registry-C9nwlNyL.js";
9
9
  import { X as A } from "./x-CCcI3eJp.js";
@@ -212,4 +212,4 @@ export {
212
212
  J as D,
213
213
  H as d
214
214
  };
215
- //# sourceMappingURL=dialog-DUomPCRS.js.map
215
+ //# sourceMappingURL=dialog-BBXqpZIt.js.map
@@ -1,14 +1,14 @@
1
1
  import { jsx as s, jsxs as E } from "react/jsx-runtime";
2
2
  import { useMemo as I, forwardRef as j, useState as R, useCallback as M, useEffect as P, useRef as X, createContext as Ne, useContext as Se, isValidElement as we, cloneElement as Fe, useImperativeHandle as yt, useLayoutEffect as Tt } from "react";
3
3
  import { S as xt } from "./skeleton-CZbwyJAA.js";
4
- import { E as Ct } from "./empty-state-3CLJIXSj.js";
4
+ import { E as Ct } from "./empty-state-BLy7tigq.js";
5
5
  import { c as Nt } from "./index-D2ZczOXr.js";
6
6
  import { useTranslation as F } from "react-i18next";
7
7
  import { useGridFilter as J, AgGridReact as St } from "ag-grid-react";
8
8
  import { ModuleRegistry as wt, AllCommunityModule as Ft } from "ag-grid-community";
9
9
  import { B as _ } from "./button-DD_0Xdmr.js";
10
- import { I as B } from "./icon-button-C4CGcYuz.js";
11
- import { P as Z } from "./popover--derJ_wq.js";
10
+ import { I as B } from "./icon-button-BRHSSFmZ.js";
11
+ import { P as Z } from "./popover-D0slaBB9.js";
12
12
  import { C as Re } from "./checkbox-mwbrPZDY.js";
13
13
  import { T as fe } from "./text-input-CakysYnD.js";
14
14
  import { T as ae } from "./tag-CQmHRM4Y.js";
@@ -23,12 +23,12 @@ import { F as kt } from "./file-spreadsheet-zUkY8rJ2.js";
23
23
  import Et from "i18next";
24
24
  import { S as Ee } from "./select-C92AT_OZ.js";
25
25
  import { u as It } from "./registry-C9nwlNyL.js";
26
- import { D as Ie } from "./date-range-picker-9gANFNG9.js";
26
+ import { D as Ie } from "./date-range-picker-DYgHzMOo.js";
27
27
  import { M as zt } from "./multi-select-CyspR5ZF.js";
28
- import { A as ze } from "./autocomplete-C7xq06bP.js";
28
+ import { A as ze } from "./autocomplete-CUh0f7Dj.js";
29
29
  import { N as ee } from "./number-input-BZXu6bPY.js";
30
30
  import { B as At } from "./badge-cLYVGlMh.js";
31
- import { A as Ae } from "./avatar-BpFohgWG.js";
31
+ import { A as Ae } from "./avatar-D_H4emLo.js";
32
32
  import { T as Pt } from "./tooltip-DHik5yRI.js";
33
33
  import { T as he } from "./timestamp-BV2lC-wV.js";
34
34
  import { S as Ot } from "./square-check-big-Jr-0202D.js";
@@ -2346,4 +2346,4 @@ export {
2346
2346
  Ve as q,
2347
2347
  gn as u
2348
2348
  };
2349
- //# sourceMappingURL=editable-currency-cell-renderer-DJB5MxAI.js.map
2349
+ //# sourceMappingURL=editable-currency-cell-renderer-DSReCae7.js.map
@@ -1,5 +1,5 @@
1
1
  import { jsx as e, jsxs as d, Fragment as U } from "react/jsx-runtime";
2
- import { forwardRef as u, useId as H, useRef as F, useState as P, useCallback as N, useEffect as q, useContext as v, createContext as M } from "react";
2
+ import { forwardRef as u, useId as H, useRef as F, useState as P, useCallback as N, useEffect as q, useContext as g, createContext as M } from "react";
3
3
  import { c as m } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as Z } from "react-i18next";
5
5
  import { B as x } from "./button-DD_0Xdmr.js";
@@ -74,33 +74,13 @@ function Y() {
74
74
  cx: "60",
75
75
  cy: "60",
76
76
  r: "50",
77
- fill: "var(--color-violet-50)",
78
- stroke: "var(--color-violet-200)",
77
+ fill: "var(--muted)",
78
+ stroke: "var(--muted-foreground)",
79
79
  strokeWidth: "2"
80
80
  }
81
81
  ),
82
- /* @__PURE__ */ e(
83
- "rect",
84
- {
85
- x: "55",
86
- y: "30",
87
- width: "10",
88
- height: "60",
89
- rx: "5",
90
- fill: "var(--color-violet-400)"
91
- }
92
- ),
93
- /* @__PURE__ */ e(
94
- "rect",
95
- {
96
- x: "30",
97
- y: "55",
98
- width: "60",
99
- height: "10",
100
- rx: "5",
101
- fill: "var(--color-purple-400)"
102
- }
103
- )
82
+ /* @__PURE__ */ e("rect", { x: "55", y: "30", width: "10", height: "60", rx: "5", fill: "var(--primary)" }),
83
+ /* @__PURE__ */ e("rect", { x: "30", y: "55", width: "60", height: "10", rx: "5", fill: "var(--accent)" })
104
84
  ]
105
85
  }
106
86
  );
@@ -192,8 +172,8 @@ function $() {
192
172
  }
193
173
  );
194
174
  }
195
- const g = u(({ children: t, className: s, ...a }, r) => {
196
- const { size: i } = v(h);
175
+ const v = u(({ children: t, className: s, ...a }, r) => {
176
+ const { size: i } = g(h);
197
177
  return /* @__PURE__ */ e(
198
178
  "div",
199
179
  {
@@ -205,9 +185,9 @@ const g = u(({ children: t, className: s, ...a }, r) => {
205
185
  }
206
186
  );
207
187
  });
208
- g.displayName = "EmptyState.Illustration";
188
+ v.displayName = "EmptyState.Illustration";
209
189
  const w = u(({ children: t, className: s, ...a }, r) => {
210
- const { size: i, titleId: l, registerTitle: p } = v(h), f = N(
190
+ const { size: i, titleId: l, registerTitle: p } = g(h), f = N(
211
191
  (c) => {
212
192
  c && p(), typeof r == "function" ? r(c) : r && (r.current = c);
213
193
  },
@@ -226,7 +206,7 @@ const w = u(({ children: t, className: s, ...a }, r) => {
226
206
  });
227
207
  w.displayName = "EmptyState.Title";
228
208
  const S = u(({ children: t, className: s, ...a }, r) => {
229
- const { size: i } = v(h);
209
+ const { size: i } = g(h);
230
210
  return /* @__PURE__ */ e(
231
211
  "p",
232
212
  {
@@ -281,7 +261,7 @@ const C = u(
281
261
  "data-component": "empty-state",
282
262
  ...I,
283
263
  children: f ?? /* @__PURE__ */ d(U, { children: [
284
- /* @__PURE__ */ d(g, { children: [
264
+ /* @__PURE__ */ d(v, { children: [
285
265
  t === "first-use" && /* @__PURE__ */ e(Y, {}),
286
266
  t === "no-results" && /* @__PURE__ */ e(_, {}),
287
267
  t === "error" && /* @__PURE__ */ e($, {})
@@ -324,7 +304,7 @@ const C = u(
324
304
  );
325
305
  C.displayName = "EmptyState";
326
306
  const lt = Object.assign(C, {
327
- Illustration: g,
307
+ Illustration: v,
328
308
  Title: w,
329
309
  Description: S,
330
310
  Actions: k
@@ -332,4 +312,4 @@ const lt = Object.assign(C, {
332
312
  export {
333
313
  lt as E
334
314
  };
335
- //# sourceMappingURL=empty-state-3CLJIXSj.js.map
315
+ //# sourceMappingURL=empty-state-BLy7tigq.js.map
@@ -0,0 +1,21 @@
1
+ import { c } from "./createLucideIcon-CrFbzy84.js";
2
+ /**
3
+ * @license lucide-react v1.8.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const e = [
9
+ [
10
+ "path",
11
+ {
12
+ d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",
13
+ key: "1nclc0"
14
+ }
15
+ ],
16
+ ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
17
+ ], r = c("eye", e);
18
+ export {
19
+ r as E
20
+ };
21
+ //# sourceMappingURL=eye-LHlSU38h.js.map
@@ -1,14 +1,14 @@
1
1
  import { jsx as e, jsxs as d } from "react/jsx-runtime";
2
2
  import { forwardRef as G, useId as P, useRef as c, useImperativeHandle as E, useMemo as J } from "react";
3
3
  import * as i from "@radix-ui/react-alert-dialog";
4
- import * as I from "@radix-ui/react-radio-group";
4
+ import * as k from "@radix-ui/react-radio-group";
5
5
  import { c as Q } from "./index-D2ZczOXr.js";
6
6
  import { useTranslation as W } from "react-i18next";
7
7
  import { u as X } from "./use-controllable-state-BiY4xTzM.js";
8
8
  import { u as Y } from "./registry-C9nwlNyL.js";
9
- import { B as R } from "./button-DD_0Xdmr.js";
9
+ import { B as I } from "./button-DD_0Xdmr.js";
10
10
  import { P as Z } from "./progress-B-PSO5OS.js";
11
- import { f as $ } from "./payment-form-F7uh0Rqr.js";
11
+ import { f as $ } from "./payment-form-Ds3rxvad.js";
12
12
  import { T as ee } from "./triangle-alert-CBPUIzQo.js";
13
13
  import { C as se } from "./check-DPdL_Sm7.js";
14
14
  const ae = {
@@ -86,7 +86,7 @@ const ae = {
86
86
  open: a,
87
87
  onOpenChange: m,
88
88
  plans: p,
89
- selectedPlanId: k,
89
+ selectedPlanId: R,
90
90
  defaultSelectedPlanId: C,
91
91
  onSelectedPlanChange: K,
92
92
  usage: r,
@@ -100,7 +100,7 @@ const ae = {
100
100
  }, M) => {
101
101
  var x;
102
102
  const { t: s, i18n: O } = W(), u = P(), f = P(), [L, V] = X({
103
- value: k,
103
+ value: R,
104
104
  defaultValue: C ?? ((x = p[0]) == null ? void 0 : x.id) ?? "",
105
105
  onChange: K
106
106
  }), l = L ?? "", v = () => {
@@ -134,7 +134,7 @@ const ae = {
134
134
  {
135
135
  className: [
136
136
  "ds:fixed ds:inset-0 ds:z-[var(--z-modal-backdrop)]",
137
- "ds:bg-[color:var(--foreground)]/40",
137
+ "ds:bg-[color:var(--background)]/70",
138
138
  "ds:motion-safe:data-[state=open]:animate-in ds:motion-safe:data-[state=closed]:animate-out",
139
139
  "ds:[.theme-accessible_&]:animate-none"
140
140
  ].join(" ")
@@ -188,7 +188,7 @@ const ae = {
188
188
  )
189
189
  ] }) : null,
190
190
  /* @__PURE__ */ e(
191
- I.Root,
191
+ k.Root,
192
192
  {
193
193
  value: l,
194
194
  onValueChange: V,
@@ -201,7 +201,7 @@ const ae = {
201
201
  O.language
202
202
  ), N = t.perKey ? s(t.perKey) : void 0, U = N ? s("paywall.pricePer", { price: w, period: N }) : w, B = s(t.nameKey);
203
203
  return /* @__PURE__ */ d(
204
- I.Item,
204
+ k.Item,
205
205
  {
206
206
  value: t.id,
207
207
  className: [
@@ -251,8 +251,8 @@ const ae = {
251
251
  }
252
252
  ),
253
253
  /* @__PURE__ */ d("div", { className: "ds:mt-[var(--spacing-lg)] ds:flex ds:items-center ds:gap-[var(--spacing-sm)] ds:justify-end", children: [
254
- /* @__PURE__ */ e(i.Cancel, { asChild: !0, children: /* @__PURE__ */ e(R, { intent: "outline", onClick: v, children: s("paywall.notNow") }) }),
255
- /* @__PURE__ */ e(i.Action, { asChild: !0, children: /* @__PURE__ */ e(R, { intent: "primary", onClick: g, children: s("paywall.upgrade") }) })
254
+ /* @__PURE__ */ e(i.Cancel, { asChild: !0, children: /* @__PURE__ */ e(I, { intent: "outline", onClick: v, children: s("paywall.notNow") }) }),
255
+ /* @__PURE__ */ e(i.Action, { asChild: !0, children: /* @__PURE__ */ e(I, { intent: "primary", onClick: g, children: s("paywall.upgrade") }) })
256
256
  ] })
257
257
  ]
258
258
  }
@@ -265,4 +265,4 @@ export {
265
265
  te as F,
266
266
  ae as f
267
267
  };
268
- //# sourceMappingURL=freemium-paywall-CM6V1zNf.js.map
268
+ //# sourceMappingURL=freemium-paywall-B9c8Ylww.js.map
@@ -2,7 +2,7 @@ import { jsxs as m, Fragment as _, jsx as s } from "react/jsx-runtime";
2
2
  import { forwardRef as t, useRef as k, useState as N, useEffect as j } from "react";
3
3
  import { c as o } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as l } from "react-i18next";
5
- import { I as H } from "./icon-button-C4CGcYuz.js";
5
+ import { I as H } from "./icon-button-BRHSSFmZ.js";
6
6
  import { M as w } from "./menu-XRhW3_99.js";
7
7
  const B = o(
8
8
  [
@@ -299,4 +299,4 @@ export {
299
299
  P as f,
300
300
  R as g
301
301
  };
302
- //# sourceMappingURL=header-DqmKROIY.js.map
302
+ //# sourceMappingURL=header-B8V_sNPy.js.map
@@ -0,0 +1,70 @@
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { forwardRef as f } from "react";
3
+ import { B as p } from "./button-DD_0Xdmr.js";
4
+ import { c as b } from "./index-D2ZczOXr.js";
5
+ import { T as h } from "./tooltip-DHik5yRI.js";
6
+ const g = b(
7
+ [
8
+ "ds:p-0",
9
+ // Active-state styling when an IconButton participates in an
10
+ // IconButtonGroup's `toggle-single` / `toggle-multi` mode. The
11
+ // group sets `aria-checked="true"` (radiogroup) or
12
+ // `aria-pressed="true"` (toolbar/group) on the selected child;
13
+ // without these utility classes the selection wouldn't read at a
14
+ // glance — see HeaderSettings' Appearance row + ThemeToggle's
15
+ // split variant.
16
+ "ds:aria-checked:bg-muted ds:aria-checked:text-foreground",
17
+ "ds:aria-checked:border-primary",
18
+ "ds:aria-pressed:bg-muted ds:aria-pressed:text-foreground",
19
+ "ds:aria-pressed:border-primary"
20
+ ].join(" "),
21
+ {
22
+ variants: {
23
+ size: {
24
+ sm: "ds:w-8 ds:h-8",
25
+ md: "ds:w-10 ds:h-10",
26
+ lg: "ds:w-12 ds:h-12"
27
+ }
28
+ },
29
+ defaultVariants: {
30
+ size: "md"
31
+ }
32
+ }
33
+ ), x = f(
34
+ ({
35
+ icon: d,
36
+ size: s,
37
+ intent: i = "outline",
38
+ className: n,
39
+ tooltip: r,
40
+ flipIconInRtl: o = !1,
41
+ ...e
42
+ }, c) => {
43
+ const m = e["aria-label"] || r, l = s === "sm" ? "ds:size-4" : s === "lg" ? "ds:size-5" : "ds:size-[18px]", u = o ? "ds:rtl:rotate-180" : "", t = /* @__PURE__ */ a(
44
+ p,
45
+ {
46
+ ref: c,
47
+ size: s,
48
+ intent: i,
49
+ className: g({ size: s, className: n }),
50
+ "aria-label": m,
51
+ "data-component": "icon-button",
52
+ ...e,
53
+ children: /* @__PURE__ */ a(
54
+ "span",
55
+ {
56
+ "aria-hidden": "true",
57
+ className: `ds:inline-flex ds:items-center ds:justify-center ${l} ${u}`.trim(),
58
+ children: d
59
+ }
60
+ )
61
+ }
62
+ );
63
+ return r ? /* @__PURE__ */ a(h, { label: r, children: t }) : t;
64
+ }
65
+ );
66
+ x.displayName = "IconButton";
67
+ export {
68
+ x as I
69
+ };
70
+ //# sourceMappingURL=icon-button-BRHSSFmZ.js.map
@@ -26,14 +26,14 @@ function b(n, t, c) {
26
26
  }
27
27
  export {
28
28
  l as a,
29
- m as b,
29
+ D as b,
30
30
  o as c,
31
- a as d,
32
- D as e,
31
+ m as d,
32
+ a as e,
33
33
  b as i,
34
34
  y as m,
35
35
  f as n,
36
36
  e as s,
37
37
  u as t
38
38
  };
39
- //# sourceMappingURL=isSameDay-ecuM8PBB.js.map
39
+ //# sourceMappingURL=isSameDay-DHG8Xade.js.map
@@ -2,7 +2,7 @@ import { jsxs as t, Fragment as p, jsx as s } from "react/jsx-runtime";
2
2
  import { forwardRef as z, useState as f, useCallback as b } from "react";
3
3
  import { c as P } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as I } from "react-i18next";
5
- import { I as T } from "./icon-button-C4CGcYuz.js";
5
+ import { I as T } from "./icon-button-BRHSSFmZ.js";
6
6
  import { C as j } from "./check-DPdL_Sm7.js";
7
7
  import { C as K } from "./copy-B00HK7tj.js";
8
8
  const A = P("ds:flex", {
@@ -95,4 +95,4 @@ B.displayName = "KeyValuePair";
95
95
  export {
96
96
  B as K
97
97
  };
98
- //# sourceMappingURL=key-value-pair-DBuOCtIc.js.map
98
+ //# sourceMappingURL=key-value-pair-CqeKiP__.js.map