@alfadocs/ui-kit 1.150.0 → 1.151.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/_chunks/{address-autocomplete-_LeOFdM7.js → address-autocomplete-Bt1nwxyn.js} +2 -2
- package/dist/_chunks/{address-fields-C4khof4C.js → address-fields-COumFRSX.js} +2 -2
- package/dist/_chunks/{agenda-tray-NgxPuAAz.js → agenda-tray-CmfcYQhc.js} +2 -2
- package/dist/_chunks/{ai-summary-panel-D-RNe-_n.js → ai-summary-panel-DyAHCqaj.js} +2 -2
- package/dist/_chunks/{alia-sidebar-Bjuxk8mU.js → alia-sidebar-BqZjnVoF.js} +2 -2
- package/dist/_chunks/{anamnesis-card-G0qzw0Oi.js → anamnesis-card-CoiG7vDj.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-CE-i9j-s.js → anamnesis-summary-rows-CFpaA1GP.js} +3 -3
- package/dist/_chunks/{app-frame-DUPEwu4E.js → app-frame-XEjLsLGY.js} +2 -2
- package/dist/_chunks/{appointment-details-panel.history-BO31ZFQp.js → appointment-details-panel.history-FSsTXj1t.js} +84 -71
- package/dist/_chunks/{appointment-details-panel.identity-C9kWtC6m.js → appointment-details-panel.identity-9hRo85Lx.js} +4 -4
- package/dist/_chunks/appointment-peek-CmQM4wvx.js +223 -0
- package/dist/_chunks/{appointment-timeline-ynFqcw0S.js → appointment-timeline-COfoHpoJ.js} +2 -2
- package/dist/_chunks/{appointment-tray-Dx5VDREk.js → appointment-tray-BlKwDJKi.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-DiyJQcmA.js → balance-badge-cell-OghXENKK.js} +3 -3
- package/dist/_chunks/{bill-line-table-B8Cc2pTH.js → bill-line-table-DxV5_Dmq.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-BfoEpFVx.js → calendar-appointment-editor-dialog-BPAfWtm9.js} +337 -334
- package/dist/_chunks/{calendar-editor-discard-host-DO506cJu.js → calendar-editor-discard-host-BudLsUZO.js} +3 -3
- package/dist/_chunks/{calendar-waiting-list-panel-CyMTv2y3.js → calendar-waiting-list-panel-DukgSOPH.js} +7 -7
- package/dist/_chunks/{calendar-workspace.model-X3aXbDTo.js → calendar-workspace.model-BulUpy0I.js} +2 -2
- package/dist/_chunks/{calendar.sheets-C8x8kPb4.js → calendar.sheets-OmTiQdCg.js} +8 -8
- package/dist/_chunks/{calls-panel-Bpemmnpd.js → calls-panel-eohONLia.js} +3 -3
- package/dist/_chunks/code-BfU9G1ZM.js +15 -0
- package/dist/_chunks/{communications-panel-Cd0TBEhL.js → communications-panel-CqiFs8BH.js} +3 -3
- package/dist/_chunks/{connection-status-Bi6KPTlh.js → connection-status-C13KmOPL.js} +2 -2
- package/dist/_chunks/control-room-rail-BmpTKtL1.js +456 -0
- package/dist/_chunks/{data-grid-CkzbCZSo.js → data-grid-DTAwrOiq.js} +3 -3
- package/dist/_chunks/{data-table-DFAYYsSc.js → data-table-CgpHO6EZ.js} +2 -2
- package/dist/_chunks/{default-tabs-C45FVzsG.js → default-tabs-CZaDDf1G.js} +4 -4
- package/dist/_chunks/{description-list-DA4TgL_I.js → description-list-DaldSpGy.js} +29 -26
- package/dist/_chunks/dev-bypass-button-DFcNpCQj.js +24 -0
- package/dist/_chunks/{document-preview-Zws6CHhK.js → document-preview-TbwhY_eK.js} +3 -3
- package/dist/_chunks/{editable-currency-cell-renderer-DXJI0fnU.js → editable-currency-cell-renderer-a3CrwNKm.js} +143 -168
- package/dist/_chunks/{empty-state-5REM7oDM.js → empty-state-qHtpcasr.js} +65 -77
- package/dist/_chunks/{error-boundary-BQ5mRqEd.js → error-boundary-BDS1XStO.js} +2 -2
- package/dist/_chunks/{error-page-CdNGIezW.js → error-page-3gWV-Vmj.js} +2 -2
- package/dist/_chunks/{error-page-illustration-BdJLuMdV.js → error-page-illustration-CJCjLk_-.js} +125 -149
- package/dist/_chunks/{face-scheme-BC2whb1S.js → face-scheme-DRYGaszs.js} +255 -264
- package/dist/_chunks/{feature-preview-switch-PKeLaFry.js → feature-preview-switch-B_8JTya_.js} +2 -2
- package/dist/_chunks/{file-manager-DzOCQBAO.js → file-manager-DMvYx-Gq.js} +4 -4
- package/dist/_chunks/{folder-CH9PJHou.js → folder-DvNxod7_.js} +3 -3
- package/dist/_chunks/{heatmap-DvsZ-mcL.js → heatmap-BZNkPkDD.js} +4 -4
- package/dist/_chunks/{help-me-write-templates-B_wMJ82X.js → help-me-write-templates-VnvlK87x.js} +2 -2
- package/dist/_chunks/{info-tip-cCppV1fD.js → info-tip-DkVISvo-.js} +2 -2
- package/dist/_chunks/{invoice-upload-list-BReimsvV.js → invoice-upload-list-DutydbjC.js} +3 -3
- package/dist/_chunks/{link-cell-renderer-CWLArl5e.js → link-cell-renderer-DTunki79.js} +3 -3
- package/dist/_chunks/{login-dev-card-DqUNJcd7.js → login-dev-card-CQz9yhrU.js} +2 -2
- package/dist/_chunks/{map-view-n6GiDRWM.js → map-view-B67HXWPR.js} +2 -2
- package/dist/_chunks/mark-adrift-LBqHvZwv.js +42 -0
- package/dist/_chunks/{marketplace-app-shell-CGA-R-zt.js → marketplace-app-shell-CclaaAvb.js} +3 -3
- package/dist/_chunks/{message-tray-Dx2HPcKB.js → message-tray-DysT-DPS.js} +2 -2
- package/dist/_chunks/{note-timeline-BbjHMhkL.js → note-timeline-CS5j2OKD.js} +86 -77
- package/dist/_chunks/notebook-text-spVSekMN.js +21 -0
- package/dist/_chunks/{notes-panel-BguRX8VC.js → notes-panel-d0I3hOEY.js} +162 -173
- package/dist/_chunks/{notification-tray-BnC5OItw.js → notification-tray-CjGDlwLg.js} +2 -2
- package/dist/_chunks/{optical-prescription-BzGnlIjq.js → optical-prescription-CAnXavjq.js} +2 -2
- package/dist/_chunks/panel-right-CnMHSvLU.js +15 -0
- package/dist/_chunks/{panel-subview-Om_yZvFG.js → panel-subview-B5hnQwfQ.js} +2 -2
- package/dist/_chunks/{patient-account-settings-YKnBzmwE.js → patient-account-settings-DQx_9CYV.js} +3 -3
- package/dist/_chunks/{patient-check-in-resume-DERfQbp5.js → patient-check-in-resume-BOHcm9hT.js} +5 -5
- package/dist/_chunks/{patient-details-BUD0UbmT.js → patient-details-wFIzTz7N.js} +3 -3
- package/dist/_chunks/{patient-field-row-DytaHdGw.js → patient-field-row-BDgfYLgz.js} +2 -2
- package/dist/_chunks/{patient-summary-card-7Werxl48.js → patient-summary-card-ZunOre3Q.js} +162 -155
- package/dist/_chunks/{payment-request-card-BF3rakTQ.js → payment-request-card-BSSfKrcc.js} +2 -2
- package/dist/_chunks/{portal-details-C1QQGPQf.js → portal-details-R-lwrisO.js} +4 -4
- package/dist/_chunks/{portal-documents-CzEuCaqv.js → portal-documents-C6XlWpEl.js} +3 -3
- package/dist/_chunks/{portal-parts-BMW4t57s.js → portal-parts-DlvSUZFX.js} +2 -2
- package/dist/_chunks/{practice-results-D0TAgL8v.js → practice-results-CqoB5YAv.js} +5 -5
- package/dist/_chunks/{prescription-history-CQuJmd4H.js → prescription-history-CxBM3gnm.js} +4 -4
- package/dist/_chunks/{privacy-mask-CrjD5PYW.js → privacy-mask-CaLBAxzj.js} +2 -2
- package/dist/_chunks/{product-hub-panel-NVpRuJeW.js → product-hub-panel-RJzrDcGp.js} +3 -3
- package/dist/_chunks/{public-header.agent-Dzo6ujrE.js → public-header.agent-B2CqVq4s.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-Kl1M0dtT.js → radiograph-panel.agent-kgCmmgZk.js} +2 -2
- package/dist/_chunks/{registration-form-AtRCt8n5.js → registration-form-Dbe1sFZb.js} +2 -2
- package/dist/_chunks/{registry-connection-panel-kdKbGQE6.js → registry-connection-panel-BkPPA3Fj.js} +3 -3
- package/dist/_chunks/{reserved.agent-CW0frsMv.js → reserved.agent-C-sMq0pb.js} +4 -4
- package/dist/_chunks/{reviews-panel-54AFY6uy.js → reviews-panel-jIz5aP2X.js} +3 -3
- package/dist/_chunks/rich-text-editor-DTadvKa7.js +4716 -0
- package/dist/_chunks/{scroll-area-CY5SLYNw.js → scroll-area-RQtcKkHf.js} +84 -79
- package/dist/_chunks/{sheet-CZDjW9Q-.js → sheet-1LXzej6Q.js} +2 -2
- package/dist/_chunks/{sidebar-D5DFYN5K.js → sidebar-BV9JCgS4.js} +2 -2
- package/dist/_chunks/{signed-out-frame-CC25CgKo.js → signed-out-frame-CKA8SSbU.js} +2 -2
- package/dist/_chunks/{signing-end-screen-Bq6tkFE6.js → signing-end-screen-HXkalppf.js} +2 -2
- package/dist/_chunks/{slot-grid-khIpy8Gx.js → slot-grid-DdqeF6PW.js} +2 -2
- package/dist/_chunks/{sync-tray-BQD-HuA4.js → sync-tray-CSVGzuur.js} +2 -2
- package/dist/_chunks/{task-editor-CIHQQRtP.js → task-editor-aXjGMwYA.js} +4 -4
- package/dist/_chunks/{task-tray-CxxcGGgx.js → task-tray-C48Vq8nt.js} +2 -2
- package/dist/_chunks/{tasks-panel-Bc_odkQN.js → tasks-panel-BdxHb-fX.js} +2 -2
- package/dist/_chunks/{tool-rail-CJBtqzMs.js → tool-rail-B4p6MmxA.js} +253 -250
- package/dist/_chunks/{toolbar-B9oh9XY9.js → toolbar-B2JJ_XDT.js} +2 -2
- package/dist/_chunks/tooth-chip-DOv925IH.js +41 -0
- package/dist/_chunks/{treatment-receipt-B6m47Jie.js → treatment-receipt-CZQV1NkJ.js} +45 -46
- package/dist/_chunks/{use-appointment-details-read-HVHbR0Zl.js → use-appointment-details-read-BR3TQOHx.js} +878 -809
- package/dist/_chunks/user-round-DZxRG9zq.js +15 -0
- package/dist/_chunks/{week-availability-D0tTll4q.js → week-availability-D00rMjsX.js} +2 -2
- package/dist/_chunks/{workflow-map-F7OThorL.js → workflow-map-DLUTUZ27.js} +2 -2
- package/dist/agent-catalog.json +1 -1
- package/dist/appointment-editor-panel/index.js +3 -3
- package/dist/booking-tools-data/index.js +1 -1
- package/dist/browser-support.js +1 -1
- package/dist/calendar-action-buttons/index.js +1 -1
- package/dist/components/_shared/mark-adrift.d.ts +12 -0
- package/dist/components/_shared/safe-html.d.ts +6 -0
- package/dist/components/_shared/tooth-chip.d.ts +21 -0
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-summary-panel/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/app-frame/index.js +1 -1
- package/dist/components/appointment-card/index.js +1 -1
- package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +9 -2
- package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +9 -2
- package/dist/components/appointment-details-panel/description-length.d.ts +18 -0
- package/dist/components/appointment-details-panel/index.d.ts +1 -0
- package/dist/components/appointment-details-panel/index.js +7 -6
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/bill-line-table/index.js +1 -1
- package/dist/components/bill-table/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calls-panel/index.js +1 -1
- package/dist/components/communications-panel/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/control-room-rail/control-room-rail.d.ts +24 -0
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/data-grid/index.js +2 -2
- package/dist/components/data-table/index.js +3 -3
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dev-bypass-button/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/error-boundary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/feature-preview-switch/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/invoice-upload-list/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/note-timeline/note-timeline.d.ts +8 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notes-panel/notes-panel.d.ts +18 -7
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/panel-subview/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/registry-connection-panel/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/editor-toolbar.d.ts +16 -6
- package/dist/components/rich-text-editor/index.d.ts +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/rich-text-editor/link-bar.d.ts +8 -0
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +25 -3
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/scroll-area/scroll-area.d.ts +6 -0
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/sync-tray/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tool-rail/tool-rail.d.ts +11 -0
- package/dist/components/treatment-receipt/index.js +1 -1
- package/dist/components/treatment-receipt/treatment-receipt.d.ts +6 -1
- package/dist/components/week-availability/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/find-free-slots-panel/index.js +1 -1
- package/dist/host-compat.css +4 -1
- package/dist/host-legacy.css +13 -1
- package/dist/i18n/locales/ar.d.ts +9 -0
- package/dist/i18n/locales/ar.js +11 -2
- package/dist/i18n/locales/de.d.ts +9 -0
- package/dist/i18n/locales/de.js +11 -2
- package/dist/i18n/locales/el.d.ts +9 -0
- package/dist/i18n/locales/el.js +11 -2
- package/dist/i18n/locales/en.d.ts +9 -0
- package/dist/i18n/locales/en.js +10 -1
- package/dist/i18n/locales/es.d.ts +9 -0
- package/dist/i18n/locales/es.js +11 -2
- package/dist/i18n/locales/fr.d.ts +9 -0
- package/dist/i18n/locales/fr.js +11 -2
- package/dist/i18n/locales/hi.d.ts +9 -0
- package/dist/i18n/locales/hi.js +11 -2
- package/dist/i18n/locales/it.d.ts +9 -0
- package/dist/i18n/locales/it.js +11 -2
- package/dist/i18n/locales/ja.d.ts +9 -0
- package/dist/i18n/locales/ja.js +11 -2
- package/dist/i18n/locales/nl.d.ts +9 -0
- package/dist/i18n/locales/nl.js +11 -2
- package/dist/i18n/locales/pl.d.ts +9 -0
- package/dist/i18n/locales/pl.js +11 -2
- package/dist/i18n/locales/pt.d.ts +9 -0
- package/dist/i18n/locales/pt.js +11 -2
- package/dist/i18n/locales/ro.d.ts +9 -0
- package/dist/i18n/locales/ro.js +11 -2
- package/dist/i18n/locales/ru.d.ts +9 -0
- package/dist/i18n/locales/ru.js +11 -2
- package/dist/i18n/locales/sq.d.ts +9 -0
- package/dist/i18n/locales/sq.js +11 -2
- package/dist/i18n/locales/sv.d.ts +9 -0
- package/dist/i18n/locales/sv.js +11 -2
- package/dist/i18n/locales/tr.d.ts +9 -0
- package/dist/i18n/locales/tr.js +11 -2
- package/dist/i18n/locales/zh.d.ts +9 -0
- package/dist/i18n/locales/zh.js +11 -2
- package/dist/index.js +817 -816
- package/dist/locales/ar.json +11 -2
- package/dist/locales/de.json +11 -2
- package/dist/locales/el.json +11 -2
- package/dist/locales/en.json +10 -1
- package/dist/locales/es.json +11 -2
- package/dist/locales/fr.json +11 -2
- package/dist/locales/hi.json +11 -2
- package/dist/locales/it.json +11 -2
- package/dist/locales/ja.json +11 -2
- package/dist/locales/nl.json +11 -2
- package/dist/locales/pl.json +11 -2
- package/dist/locales/pt.json +11 -2
- package/dist/locales/ro.json +11 -2
- package/dist/locales/ru.json +11 -2
- package/dist/locales/sq.json +11 -2
- package/dist/locales/sv.json +11 -2
- package/dist/locales/tr.json +11 -2
- package/dist/locales/zh.json +11 -2
- package/dist/online-bookings-panel/index.js +2 -2
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +4 -4
- package/dist/patterns/error-page/index.js +2 -2
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/patient-account-settings/index.js +1 -1
- package/dist/patterns/patient-check-in/index.js +1 -1
- package/dist/patterns/patient-portal/index.js +2 -2
- package/dist/patterns/prescription/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/patterns/signing/index.js +1 -1
- package/dist/redactor.css +9 -0
- package/dist/safe-html/index.js +33 -19
- package/dist/tokens.css +61 -52
- package/dist/waiting-list-panel/index.js +3 -3
- package/package.json +1 -1
- package/dist/_chunks/appointment-peek-CGJ6kUvM.js +0 -213
- package/dist/_chunks/control-room-rail-4W1MFY-g.js +0 -416
- package/dist/_chunks/dev-bypass-button-BzfYGPuf.js +0 -33
- package/dist/_chunks/rich-text-editor-DCQEpaIv.js +0 -4523
- /package/dist/{patterns → components}/_shared/mark-pieces.d.ts +0 -0
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsx as e, jsxs as m, Fragment as W } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as u, useId as M, useRef as P, useState as F, useCallback as T, useEffect as q, useContext as w, createContext as Z } from "react";
|
|
3
3
|
import { c as p } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as $ } from "react-i18next";
|
|
5
5
|
import { B as x } from "./button-Dp4j9ygh.js";
|
|
6
6
|
import { i as G } from "./is-development-CLUAnsU7.js";
|
|
7
|
-
|
|
7
|
+
import { M as J } from "./mark-adrift-LBqHvZwv.js";
|
|
8
|
+
function K(t, s) {
|
|
8
9
|
t && (typeof t == "function" ? t(s) : t.current = s);
|
|
9
10
|
}
|
|
10
11
|
const h = Z({
|
|
@@ -14,7 +15,7 @@ const h = Z({
|
|
|
14
15
|
titleId: "",
|
|
15
16
|
registerTitle: () => {
|
|
16
17
|
}
|
|
17
|
-
}),
|
|
18
|
+
}), Q = p(
|
|
18
19
|
"ds:flex ds:flex-col ds:items-center ds:text-center ds:max-w-md ds:ms-auto ds:me-auto ds:w-full",
|
|
19
20
|
{
|
|
20
21
|
variants: {
|
|
@@ -26,7 +27,7 @@ const h = Z({
|
|
|
26
27
|
},
|
|
27
28
|
defaultVariants: { size: "md" }
|
|
28
29
|
}
|
|
29
|
-
),
|
|
30
|
+
), X = p(
|
|
30
31
|
"ds:flex ds:items-center ds:justify-center ds:flex-shrink-0",
|
|
31
32
|
{
|
|
32
33
|
variants: {
|
|
@@ -38,7 +39,7 @@ const h = Z({
|
|
|
38
39
|
},
|
|
39
40
|
defaultVariants: { size: "md" }
|
|
40
41
|
}
|
|
41
|
-
),
|
|
42
|
+
), Y = p("type-title-card ds:text-[var(--foreground)]", {
|
|
42
43
|
variants: {
|
|
43
44
|
size: {
|
|
44
45
|
sm: "ds:[--type-title-card-size:var(--font-size-sm)]",
|
|
@@ -47,7 +48,7 @@ const h = Z({
|
|
|
47
48
|
}
|
|
48
49
|
},
|
|
49
50
|
defaultVariants: { size: "md" }
|
|
50
|
-
}),
|
|
51
|
+
}), _ = p(
|
|
51
52
|
"type-body-sm ds:text-[var(--muted-foreground)]",
|
|
52
53
|
{
|
|
53
54
|
variants: {
|
|
@@ -60,35 +61,22 @@ const h = Z({
|
|
|
60
61
|
defaultVariants: { size: "md" }
|
|
61
62
|
}
|
|
62
63
|
);
|
|
63
|
-
function
|
|
64
|
-
return /* @__PURE__ */
|
|
64
|
+
function A() {
|
|
65
|
+
return /* @__PURE__ */ e(
|
|
65
66
|
"svg",
|
|
66
67
|
{
|
|
67
|
-
viewBox: "
|
|
68
|
-
fill: "
|
|
68
|
+
viewBox: "-20 -24 200 240",
|
|
69
|
+
fill: "var(--primary)",
|
|
69
70
|
xmlns: "http://www.w3.org/2000/svg",
|
|
70
71
|
"aria-hidden": "true",
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"circle",
|
|
75
|
-
{
|
|
76
|
-
cx: "60",
|
|
77
|
-
cy: "60",
|
|
78
|
-
r: "50",
|
|
79
|
-
fill: "var(--muted)",
|
|
80
|
-
stroke: "var(--muted-foreground)",
|
|
81
|
-
strokeWidth: "2"
|
|
82
|
-
}
|
|
83
|
-
),
|
|
84
|
-
/* @__PURE__ */ e("rect", { x: "55", y: "30", width: "10", height: "60", rx: "5", fill: "var(--primary)" }),
|
|
85
|
-
/* @__PURE__ */ e("rect", { x: "30", y: "55", width: "60", height: "10", rx: "5", fill: "var(--accent)" })
|
|
86
|
-
]
|
|
72
|
+
"data-illustration": "mark-adrift",
|
|
73
|
+
className: "ds:w-full ds:h-full ds:overflow-visible",
|
|
74
|
+
children: /* @__PURE__ */ e(J, {})
|
|
87
75
|
}
|
|
88
76
|
);
|
|
89
77
|
}
|
|
90
|
-
function
|
|
91
|
-
return /* @__PURE__ */
|
|
78
|
+
function tt() {
|
|
79
|
+
return /* @__PURE__ */ m(
|
|
92
80
|
"svg",
|
|
93
81
|
{
|
|
94
82
|
viewBox: "0 0 120 120",
|
|
@@ -126,8 +114,8 @@ function A() {
|
|
|
126
114
|
}
|
|
127
115
|
);
|
|
128
116
|
}
|
|
129
|
-
function
|
|
130
|
-
return /* @__PURE__ */
|
|
117
|
+
function et() {
|
|
118
|
+
return /* @__PURE__ */ m(
|
|
131
119
|
"svg",
|
|
132
120
|
{
|
|
133
121
|
viewBox: "0 0 120 120",
|
|
@@ -174,76 +162,76 @@ function tt() {
|
|
|
174
162
|
}
|
|
175
163
|
);
|
|
176
164
|
}
|
|
177
|
-
const S =
|
|
165
|
+
const S = u(({ children: t, className: s, ...l }, i) => {
|
|
178
166
|
const { size: r } = w(h);
|
|
179
167
|
return /* @__PURE__ */ e(
|
|
180
168
|
"div",
|
|
181
169
|
{
|
|
182
170
|
ref: i,
|
|
183
171
|
"aria-hidden": "true",
|
|
184
|
-
className:
|
|
185
|
-
...
|
|
172
|
+
className: X({ size: r, className: s }),
|
|
173
|
+
...l,
|
|
186
174
|
children: t
|
|
187
175
|
}
|
|
188
176
|
);
|
|
189
177
|
});
|
|
190
178
|
S.displayName = "EmptyState.Illustration";
|
|
191
|
-
const k =
|
|
192
|
-
const { size: r, headingLevel:
|
|
193
|
-
(
|
|
194
|
-
|
|
179
|
+
const k = u(({ children: t, className: s, ...l }, i) => {
|
|
180
|
+
const { size: r, headingLevel: a, titleId: y, registerTitle: f } = w(h), d = `h${a}`, v = T(
|
|
181
|
+
(c) => {
|
|
182
|
+
c && f(), typeof i == "function" ? i(c) : i && (i.current = c);
|
|
195
183
|
},
|
|
196
184
|
[i, f]
|
|
197
185
|
);
|
|
198
186
|
return /* @__PURE__ */ e(
|
|
199
|
-
|
|
187
|
+
d,
|
|
200
188
|
{
|
|
201
189
|
ref: v,
|
|
202
190
|
id: y,
|
|
203
|
-
className:
|
|
204
|
-
...
|
|
191
|
+
className: Y({ size: r, className: s }),
|
|
192
|
+
...l,
|
|
205
193
|
children: t
|
|
206
194
|
}
|
|
207
195
|
);
|
|
208
196
|
});
|
|
209
197
|
k.displayName = "EmptyState.Title";
|
|
210
|
-
const z =
|
|
198
|
+
const z = u(({ children: t, className: s, ...l }, i) => {
|
|
211
199
|
const { size: r } = w(h);
|
|
212
200
|
return /* @__PURE__ */ e(
|
|
213
201
|
"p",
|
|
214
202
|
{
|
|
215
203
|
ref: i,
|
|
216
|
-
className:
|
|
217
|
-
...
|
|
204
|
+
className: _({ size: r, className: s }),
|
|
205
|
+
...l,
|
|
218
206
|
children: t
|
|
219
207
|
}
|
|
220
208
|
);
|
|
221
209
|
});
|
|
222
210
|
z.displayName = "EmptyState.Description";
|
|
223
|
-
const
|
|
211
|
+
const st = p(
|
|
224
212
|
"ds:flex ds:flex-row ds:flex-wrap ds:items-center ds:justify-center ds:gap-[var(--spacing-md)]"
|
|
225
|
-
), E =
|
|
213
|
+
), E = u(({ children: t, className: s, ...l }, i) => /* @__PURE__ */ e("div", { ref: i, className: st({ className: s }), ...l, children: t }));
|
|
226
214
|
E.displayName = "EmptyState.Actions";
|
|
227
|
-
const I =
|
|
215
|
+
const I = u(
|
|
228
216
|
({
|
|
229
217
|
variant: t,
|
|
230
218
|
size: s = "md",
|
|
231
|
-
title:
|
|
219
|
+
title: l,
|
|
232
220
|
description: i,
|
|
233
221
|
primaryAction: r,
|
|
234
|
-
secondaryAction:
|
|
222
|
+
secondaryAction: a,
|
|
235
223
|
autoFocus: y = !1,
|
|
236
224
|
headingLevel: f = 3,
|
|
237
|
-
children:
|
|
225
|
+
children: d,
|
|
238
226
|
className: v,
|
|
239
|
-
...
|
|
227
|
+
...c
|
|
240
228
|
}, R) => {
|
|
241
229
|
const { t: n } = $("ui");
|
|
242
|
-
G() &&
|
|
230
|
+
G() && d != null && (l !== void 0 || i !== void 0 || r !== void 0 || a !== void 0) && console.warn(
|
|
243
231
|
"[EmptyState] `title`, `description`, `primaryAction` and `secondaryAction` are ignored when children are passed. Put EmptyState.Title, EmptyState.Description and EmptyState.Actions in the children instead, or drop the children."
|
|
244
232
|
);
|
|
245
|
-
const b =
|
|
246
|
-
|
|
233
|
+
const b = M(), N = P(null), [V, L] = F(!1), j = T(() => L(!0), []);
|
|
234
|
+
q(() => {
|
|
247
235
|
var C;
|
|
248
236
|
if (!y) return;
|
|
249
237
|
const o = (C = N.current) == null ? void 0 : C.querySelector(
|
|
@@ -251,7 +239,7 @@ const I = m(
|
|
|
251
239
|
);
|
|
252
240
|
o == null || o.focus();
|
|
253
241
|
}, []);
|
|
254
|
-
const D = t === "no-results" ? { role: "status", "aria-live": "polite" } : { role: "region" }, O = n(t === "first-use" ? "emptyState.firstUse.title" : t === "no-results" ? "emptyState.noResults.title" : "emptyState.error.title"),
|
|
242
|
+
const D = t === "no-results" ? { role: "status", "aria-live": "polite" } : { role: "region" }, O = n(t === "first-use" ? "emptyState.firstUse.title" : t === "no-results" ? "emptyState.noResults.title" : "emptyState.error.title"), B = n(t === "first-use" ? "emptyState.firstUse.description" : t === "no-results" ? "emptyState.noResults.description" : "emptyState.error.description"), H = n(t === "first-use" ? "emptyState.firstUse.cta" : t === "no-results" ? "emptyState.noResults.cta" : "emptyState.error.cta"), g = s === "sm" ? "sm" : "md", U = (o) => /^(https?:\/\/|\/|#)/.test(o) ? o : "#";
|
|
255
243
|
return /* @__PURE__ */ e(
|
|
256
244
|
h.Provider,
|
|
257
245
|
{
|
|
@@ -260,45 +248,45 @@ const I = m(
|
|
|
260
248
|
"div",
|
|
261
249
|
{
|
|
262
250
|
ref: (o) => {
|
|
263
|
-
N.current = o,
|
|
251
|
+
N.current = o, K(R, o);
|
|
264
252
|
},
|
|
265
|
-
"aria-labelledby": V || !
|
|
253
|
+
"aria-labelledby": V || !d ? b : void 0,
|
|
266
254
|
...D,
|
|
267
|
-
className:
|
|
255
|
+
className: Q({ size: s, className: v }),
|
|
268
256
|
"data-component": "empty-state",
|
|
269
|
-
...
|
|
270
|
-
children:
|
|
271
|
-
/* @__PURE__ */
|
|
272
|
-
t === "first-use" && /* @__PURE__ */ e(
|
|
273
|
-
t === "no-results" && /* @__PURE__ */ e(
|
|
274
|
-
t === "error" && /* @__PURE__ */ e(
|
|
257
|
+
...c,
|
|
258
|
+
children: d ?? /* @__PURE__ */ m(W, { children: [
|
|
259
|
+
/* @__PURE__ */ m(S, { children: [
|
|
260
|
+
t === "first-use" && /* @__PURE__ */ e(A, {}),
|
|
261
|
+
t === "no-results" && /* @__PURE__ */ e(tt, {}),
|
|
262
|
+
t === "error" && /* @__PURE__ */ e(et, {})
|
|
275
263
|
] }),
|
|
276
|
-
/* @__PURE__ */ e(k, { children:
|
|
277
|
-
/* @__PURE__ */ e(z, { children: i ??
|
|
278
|
-
(r ||
|
|
264
|
+
/* @__PURE__ */ e(k, { children: l ?? O }),
|
|
265
|
+
/* @__PURE__ */ e(z, { children: i ?? B }),
|
|
266
|
+
(r || a) && /* @__PURE__ */ m(E, { children: [
|
|
279
267
|
r && /* @__PURE__ */ e(
|
|
280
268
|
x,
|
|
281
269
|
{
|
|
282
270
|
intent: "primary",
|
|
283
271
|
size: g,
|
|
284
272
|
onClick: r.onClick,
|
|
285
|
-
children: r.label ??
|
|
273
|
+
children: r.label ?? H
|
|
286
274
|
}
|
|
287
275
|
),
|
|
288
|
-
|
|
276
|
+
a && (a.href ? /* @__PURE__ */ e(x, { intent: "ghost", size: g, asChild: !0, children: /* @__PURE__ */ e(
|
|
289
277
|
"a",
|
|
290
278
|
{
|
|
291
|
-
href:
|
|
292
|
-
onClick:
|
|
293
|
-
children:
|
|
279
|
+
href: U(a.href),
|
|
280
|
+
onClick: a.onClick,
|
|
281
|
+
children: a.label
|
|
294
282
|
}
|
|
295
283
|
) }) : /* @__PURE__ */ e(
|
|
296
284
|
x,
|
|
297
285
|
{
|
|
298
286
|
intent: "ghost",
|
|
299
287
|
size: g,
|
|
300
|
-
onClick:
|
|
301
|
-
children:
|
|
288
|
+
onClick: a.onClick,
|
|
289
|
+
children: a.label
|
|
302
290
|
}
|
|
303
291
|
))
|
|
304
292
|
] })
|
|
@@ -310,13 +298,13 @@ const I = m(
|
|
|
310
298
|
}
|
|
311
299
|
);
|
|
312
300
|
I.displayName = "EmptyState";
|
|
313
|
-
const
|
|
301
|
+
const ct = Object.assign(I, {
|
|
314
302
|
Illustration: S,
|
|
315
303
|
Title: k,
|
|
316
304
|
Description: z,
|
|
317
305
|
Actions: E
|
|
318
306
|
});
|
|
319
307
|
export {
|
|
320
|
-
|
|
308
|
+
ct as E
|
|
321
309
|
};
|
|
322
|
-
//# sourceMappingURL=empty-state-
|
|
310
|
+
//# sourceMappingURL=empty-state-qHtpcasr.js.map
|
|
@@ -4,7 +4,7 @@ var i = (n, e, r) => u(n, typeof e != "symbol" ? e + "" : e, r);
|
|
|
4
4
|
import { jsx as a, Fragment as y } from "react/jsx-runtime";
|
|
5
5
|
import { Component as f } from "react";
|
|
6
6
|
import { useTranslation as v } from "react-i18next";
|
|
7
|
-
import { E } from "./empty-state-
|
|
7
|
+
import { E } from "./empty-state-qHtpcasr.js";
|
|
8
8
|
function p({
|
|
9
9
|
size: n,
|
|
10
10
|
title: e,
|
|
@@ -87,4 +87,4 @@ i(b, "displayName", "ErrorBoundary");
|
|
|
87
87
|
export {
|
|
88
88
|
b as E
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=error-boundary-
|
|
90
|
+
//# sourceMappingURL=error-boundary-BDS1XStO.js.map
|
|
@@ -6,7 +6,7 @@ import { B as S } from "./button-Dp4j9ygh.js";
|
|
|
6
6
|
import { L as pe } from "./logo-hIsyVE96.js";
|
|
7
7
|
import { i as ye } from "./is-development-CLUAnsU7.js";
|
|
8
8
|
import { i as be } from "./safe-href-5dbsfbQn.js";
|
|
9
|
-
import { a as ve } from "./error-page-illustration-
|
|
9
|
+
import { a as ve } from "./error-page-illustration-CJCjLk_-.js";
|
|
10
10
|
import { loadLocale as ke, LOCALES_WITH_BUNDLES as we } from "../i18n/config.js";
|
|
11
11
|
import { R as Pe } from "./rotate-ccw-BBQnIVTr.js";
|
|
12
12
|
import { L as xe } from "./log-in-OQUEoGhX.js";
|
|
@@ -401,4 +401,4 @@ export {
|
|
|
401
401
|
Te as e,
|
|
402
402
|
Be as r
|
|
403
403
|
};
|
|
404
|
-
//# sourceMappingURL=error-page-
|
|
404
|
+
//# sourceMappingURL=error-page-3gWV-Vmj.js.map
|