@alfadocs/ui-kit 1.55.0 → 1.57.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/{ai-credits-notice-BoNJtOuE.js → ai-credits-notice-ktklr8fy.js} +2 -2
- package/dist/_chunks/ai-permission-notice-DyuEGwAt.js +206 -0
- package/dist/_chunks/alia-sidebar-BBKBJCv6.js +1284 -0
- package/dist/_chunks/{anamnesis-summary-rows-Dtw5Hpg4.js → anamnesis-summary-rows-CCQ62mMN.js} +5 -5
- package/dist/_chunks/{appointment-peek-BIZaDeCi.js → appointment-peek-WvNbE4JG.js} +2 -2
- package/dist/_chunks/{appointment-timeline-DmqYEIT9.js → appointment-timeline-Z0494xO-.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-zP-iN-Pd.js → balance-badge-cell-CII3SDmR.js} +3 -3
- package/dist/_chunks/{bmi-calculator-DTZhRhXe.js → bmi-calculator-C0UTxB7R.js} +2 -2
- package/dist/_chunks/{booking-uZO10TLK.js → booking-81WnKDsH.js} +4 -4
- package/dist/_chunks/{breadcrumb-xgVpPH2H.js → breadcrumb-Boan-5n8.js} +39 -39
- package/dist/_chunks/{calculator-dialog-BRjZMWuE.js → calculator-dialog-CzQv03p0.js} +2 -2
- package/dist/_chunks/{calendar-workspace-DVajSkKA.js → calendar-workspace-D5-k_9zE.js} +15 -15
- package/dist/_chunks/{care-plan-card-Ddjh5Doc.js → care-plan-card-DxrRLRdW.js} +2 -2
- package/dist/_chunks/{care-plan-header-BeMYMiI7.js → care-plan-header-BMwZIgHJ.js} +3 -3
- package/dist/_chunks/chart-DQ5GxqgT.js +906 -0
- package/dist/_chunks/{clinical-note-card-14JIoUR0.js → clinical-note-card-hx939bvw.js} +2 -2
- package/dist/_chunks/{color-picker-BRQ4Y9SO.js → color-picker-BsggJovx.js} +128 -123
- package/dist/_chunks/{contact-card-CmK05vNb.js → contact-card-fHBMwEsx.js} +2 -2
- package/dist/_chunks/{contact-profile-card-C5DbP_X3.js → contact-profile-card-CMyBYgRR.js} +3 -3
- package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js → cycle-calculator-Cww9DzIa.js} +2 -2
- package/dist/_chunks/dashboard-grid-DfEY2qci.js +844 -0
- package/dist/_chunks/{data-table-C6T31E33.js → data-table-fAMTeAjM.js} +2 -2
- package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js → data-table-tabs-CHYAAeHy.js} +2 -2
- package/dist/_chunks/{date-picker-wRAcq2lt.js → date-picker-BSZuKo13.js} +69 -62
- package/dist/_chunks/{date-range-picker-BOvHwWO5.js → date-range-picker-CFk-5O3R.js} +188 -177
- package/dist/_chunks/{date-time-picker-CLeLKuv9.js → date-time-picker-CjxTkblD.js} +92 -85
- package/dist/_chunks/{dependent-selector-Bet3XAFj.js → dependent-selector-DgaAQc-c.js} +91 -86
- package/dist/_chunks/{dialog-D52AI4nF.js → dialog-Dn-iQ0Jp.js} +86 -69
- package/dist/_chunks/{document-preview-uoTekVR7.js → document-preview-CHGGG0l_.js} +2 -2
- package/dist/_chunks/{due-date-calculator-DXDJbUzo.js → due-date-calculator-D_qFUiHp.js} +3 -3
- package/dist/_chunks/{entity-summary-DcB0fIiv.js → entity-summary-CWcCSThK.js} +2 -2
- package/dist/_chunks/{file-manager-dIJQUZvq.js → file-manager-CFsL1KVt.js} +4 -4
- package/dist/_chunks/{freemium-paywall-B6ojVXq7.js → freemium-paywall-DIKuhX8b.js} +90 -86
- package/dist/_chunks/{gestational-age-calculator-BfGpt3du.js → gestational-age-calculator-CZi43xKG.js} +3 -3
- package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js → hcg-doubling-Ccvh7OaU.js} +2 -2
- package/dist/_chunks/{header-settings-ge_3gYEq.js → header-settings-BMcCx2LC.js} +2 -2
- package/dist/_chunks/{heatmap-BARGZZt2.js → heatmap-BEeOThkW.js} +2 -2
- package/dist/_chunks/{help-me-write-templates-B7L3zGsE.js → help-me-write-templates-BUoYGo6f.js} +2 -2
- package/dist/_chunks/{hover-card-BnTueNS2.js → hover-card-U_ZYoh1n.js} +201 -187
- package/dist/_chunks/{icon-picker-DWrqmI1c.js → icon-picker-C86lQTIA.js} +2 -2
- package/dist/_chunks/{info-tip-B0jmIt6M.js → info-tip-CJpNpzZe.js} +2 -2
- package/dist/_chunks/{key-value-pair-Ax8IJr1M.js → key-value-pair-BNNITp6S.js} +25 -19
- package/dist/_chunks/{kit-extensions-C9-v8Dih.js → kit-extensions-DYVxWcqv.js} +5 -5
- package/dist/_chunks/{link-cell-renderer-DlBVPMTi.js → link-cell-renderer-CxW_oLa5.js} +2 -2
- package/dist/_chunks/link-gRw3NtOt.js +137 -0
- package/dist/_chunks/{locale-picker-DfNSdOpy.js → locale-picker-BGfrZyTw.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-Dcx-JEjg.js → marketplace-app-shell-BZcA9Z06.js} +143 -129
- package/dist/_chunks/{message-tray-BB95DA82.js → message-tray-QKQutwxj.js} +76 -69
- package/dist/_chunks/{nav-grid-BqCPH8sm.js → nav-grid-Byx8PxuB.js} +2 -2
- package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js +89 -0
- package/dist/_chunks/{note-attachment-I1NLoeRZ.js → note-attachment-Bt2cddsZ.js} +2 -2
- package/dist/_chunks/{note-timeline-CsY8YOE7.js → note-timeline-CX9nAgAR.js} +2 -2
- package/dist/_chunks/{notes-panel-I8ntrrUW.js → notes-panel-Cm4pttpl.js} +4 -4
- package/dist/_chunks/{notification-tray-__sJXnsz.js → notification-tray-C5VtbGjd.js} +83 -76
- package/dist/_chunks/{patient-details-DsTtjpuX.js → patient-details-99kEdtc5.js} +2 -2
- package/dist/_chunks/{patient-field-row-BvZ9luz-.js → patient-field-row-DkxY13T6.js} +5 -5
- package/dist/_chunks/{patient-summary-card-3dspc2tR.js → patient-summary-card-opdyfeW2.js} +10 -6
- package/dist/_chunks/{payment-automation-upsell-DEUfM7EU.js → payment-automation-upsell-DiHovmUL.js} +2 -2
- package/dist/_chunks/{payment-request-card-DAGqh9Yx.js → payment-request-card-DAniJNLX.js} +3 -3
- package/dist/_chunks/{pdf-viewer-C3minW5b.js → pdf-viewer-CNQxa4tv.js} +396 -391
- package/dist/_chunks/{periodontal-chart-BqwLxy2m.js → periodontal-chart-DD5C0M3l.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-CWZ1YM1h.js → periodontal-chart-card-CxdXvsPU.js} +2 -2
- package/dist/_chunks/{periodontal-diagnosis-C9IuvLId.js → periodontal-diagnosis-D-PJv7KS.js} +2 -2
- package/dist/_chunks/{phone-input-DxkHMYmu.js → phone-input-O9camxkq.js} +156 -151
- package/dist/_chunks/popover-BG75rYjN.js +367 -0
- package/dist/_chunks/{position-grid-D2D5_Tze.js → position-grid-CBB88EaH.js} +38 -36
- package/dist/_chunks/{practice-results-DxOgbPDy.js → practice-results-CfRkjzsI.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-R3q5n1Wh.js → pregnancy-dating-BFzv9g1N.js} +3 -3
- package/dist/_chunks/{pregnancy-weight-gain-DwmNklDU.js → pregnancy-weight-gain-CUUrBTBo.js} +2 -2
- package/dist/_chunks/{product-hub-panel-BSSiGGG4.js → product-hub-panel-DlVRK7Ue.js} +103 -96
- package/dist/_chunks/{public-footer-CxpG6J1M.js → public-footer-ZWTEG1Rq.js} +2 -2
- package/dist/_chunks/{public-header.agent-BWusjxY8.js → public-header.agent-BctevbuY.js} +2 -2
- package/dist/_chunks/{radio-group-BT97ty7o.js → radio-group-DicxWJXP.js} +111 -106
- package/dist/_chunks/{radiograph-panel.agent-BA90I3Mu.js → radiograph-panel.agent-DyqbTECc.js} +4 -4
- package/dist/_chunks/{registration-form-D7iNqMBF.js → registration-form-BlTzYywa.js} +2 -2
- package/dist/_chunks/{rich-text-editor-Blp4smUr.js → rich-text-editor-DTnNZ4Ff.js} +489 -484
- package/dist/_chunks/{sheet-CNFW8mYZ.js → sheet-8qsiMoUI.js} +95 -79
- package/dist/_chunks/{sign-document-B6HlyCGV.js → sign-document-D4iHS_Ug.js} +2 -2
- package/dist/_chunks/{signature-request-rgMsgo-C.js → signature-request-DRuYAG5I.js} +2 -2
- package/dist/_chunks/{signed-out-frame-B2GTIeqA.js → signed-out-frame-AhMsNW1r.js} +2 -2
- package/dist/_chunks/{stat-51CDL4au.js → stat-DmjGfXND.js} +117 -108
- package/dist/_chunks/{stepper-accordion-D7lnBGh2.js → stepper-accordion-DDTSOUHc.js} +17 -6
- package/dist/_chunks/{task-editor-Ctxsa1BY.js → task-editor-NkcopDna.js} +4 -4
- package/dist/_chunks/{use-appointment-details-read-DinTrRIW.js → use-appointment-details-read-CfFQNOF_.js} +5 -5
- package/dist/_chunks/use-select-on-arrow-Cr4iBuW5.js +26 -0
- package/dist/_chunks/{voice-control-panel-Bg1eklL0.js → voice-control-panel-BKbgb7FM.js} +2 -2
- package/dist/_chunks/{widget-picker-D8RiWrJd.js → widget-picker-rBA7MR5P.js} +2 -2
- package/dist/_chunks/{workflow-map-D3mezmGB.js → workflow-map-Demlpy39.js} +2 -2
- package/dist/agent-catalog.json +28 -11
- package/dist/agent-i18n/en.json +8 -7
- package/dist/components/_shared/non-modal-tab-exit.d.ts +19 -0
- package/dist/components/_shared/use-apex-chart-semantics.d.ts +6 -0
- package/dist/components/_shared/use-select-on-arrow.d.ts +20 -0
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/ai-permission-notice.d.ts +32 -0
- package/dist/components/ai-permission-notice/index.d.ts +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/chart/chart.d.ts +15 -10
- package/dist/components/chart/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/contact-card/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/dashboard-grid/dashboard-grid-engine.d.ts +22 -0
- package/dist/components/dashboard-grid/dashboard-grid.d.ts +48 -4
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/dialog/dialog.d.ts +2 -2
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/link/link.d.ts +5 -3
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/nav-grid/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-tray/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/pdf-viewer/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/popover.d.ts +1 -1
- package/dist/components/position-grid/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sheet/sheet.d.ts +2 -2
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/stat/index.d.ts +1 -1
- package/dist/components/stat/index.js +1 -1
- package/dist/components/stat/stat.d.ts +9 -0
- package/dist/components/stepper-accordion/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/host-legacy.css +13 -2
- package/dist/i18n/locales/ar.d.ts +17 -2
- package/dist/i18n/locales/ar.js +20 -5
- package/dist/i18n/locales/de.d.ts +17 -2
- package/dist/i18n/locales/de.js +20 -5
- package/dist/i18n/locales/el.d.ts +17 -2
- package/dist/i18n/locales/el.js +20 -5
- package/dist/i18n/locales/en.d.ts +17 -2
- package/dist/i18n/locales/en.js +20 -5
- package/dist/i18n/locales/es.d.ts +17 -2
- package/dist/i18n/locales/es.js +20 -5
- package/dist/i18n/locales/fr.d.ts +17 -2
- package/dist/i18n/locales/fr.js +20 -5
- package/dist/i18n/locales/hi.d.ts +17 -2
- package/dist/i18n/locales/hi.js +20 -5
- package/dist/i18n/locales/it.d.ts +17 -2
- package/dist/i18n/locales/it.js +20 -5
- package/dist/i18n/locales/ja.d.ts +17 -2
- package/dist/i18n/locales/ja.js +20 -5
- package/dist/i18n/locales/nl.d.ts +17 -2
- package/dist/i18n/locales/nl.js +20 -5
- package/dist/i18n/locales/pl.d.ts +17 -2
- package/dist/i18n/locales/pl.js +20 -5
- package/dist/i18n/locales/pt.d.ts +17 -2
- package/dist/i18n/locales/pt.js +20 -5
- package/dist/i18n/locales/ro.d.ts +17 -2
- package/dist/i18n/locales/ro.js +20 -5
- package/dist/i18n/locales/ru.d.ts +17 -2
- package/dist/i18n/locales/ru.js +20 -5
- package/dist/i18n/locales/sq.d.ts +17 -2
- package/dist/i18n/locales/sq.js +20 -5
- package/dist/i18n/locales/sv.d.ts +17 -2
- package/dist/i18n/locales/sv.js +20 -5
- package/dist/i18n/locales/tr.d.ts +17 -2
- package/dist/i18n/locales/tr.js +20 -5
- package/dist/i18n/locales/zh.d.ts +17 -2
- package/dist/i18n/locales/zh.js +20 -5
- package/dist/index.js +207 -206
- package/dist/locales/ar.json +20 -5
- package/dist/locales/de.json +20 -5
- package/dist/locales/el.json +20 -5
- package/dist/locales/en.json +20 -5
- package/dist/locales/es.json +20 -5
- package/dist/locales/fr.json +20 -5
- package/dist/locales/hi.json +20 -5
- package/dist/locales/it.json +20 -5
- package/dist/locales/ja.json +20 -5
- package/dist/locales/nl.json +20 -5
- package/dist/locales/pl.json +20 -5
- package/dist/locales/pt.json +20 -5
- package/dist/locales/ro.json +20 -5
- package/dist/locales/ru.json +20 -5
- package/dist/locales/sq.json +20 -5
- package/dist/locales/sv.json +20 -5
- package/dist/locales/tr.json +20 -5
- package/dist/locales/zh.json +20 -5
- package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +10 -13
- package/dist/patterns/alia-assistant/alia-popout.d.ts +5 -3
- package/dist/patterns/alia-assistant/index.d.ts +2 -0
- package/dist/patterns/alia-assistant/index.js +6 -5
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/help-me-write-templates/help-me-write-templates.d.ts +2 -2
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +7 -2
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/tokens.css +13 -2
- package/package.json +1 -1
- package/dist/_chunks/ai-permission-notice-5vpblPCx.js +0 -171
- package/dist/_chunks/alia-sidebar-DS0b54Mv.js +0 -1183
- package/dist/_chunks/chart-C2RBJERE.js +0 -705
- package/dist/_chunks/dashboard-grid-SAGoyCtL.js +0 -691
- package/dist/_chunks/link-2HokYuIi.js +0 -130
- package/dist/_chunks/popover-BI3oV3eY.js +0 -305
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { jsx as d, jsxs as
|
|
2
|
-
import { useContext as H, useState as
|
|
3
|
-
import * as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
1
|
+
import { jsx as d, jsxs as _ } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as H, useState as Q, useCallback as m, useRef as C, useEffect as P, useMemo as J, forwardRef as I, useId as de, createContext as E } from "react";
|
|
3
|
+
import * as k from "@radix-ui/react-popover";
|
|
4
|
+
import { f as ie, u as ce } from "./non-modal-tab-exit-j3CPOuE3.js";
|
|
5
|
+
import { c as le } from "./index-D2ZczOXr.js";
|
|
6
|
+
import { useTranslation as ue } from "react-i18next";
|
|
7
|
+
import { I as pe } from "./icon-button-COX76Jdj.js";
|
|
8
|
+
import { u as fe } from "./registry-DvAUVLHh.js";
|
|
9
|
+
import { X as ve } from "./x-B5YnXwCz.js";
|
|
10
|
+
const me = {
|
|
10
11
|
id: "hover-card",
|
|
11
12
|
capabilities: ["open", "close"],
|
|
12
13
|
state: {
|
|
@@ -46,14 +47,14 @@ const fe = {
|
|
|
46
47
|
}
|
|
47
48
|
}
|
|
48
49
|
};
|
|
49
|
-
function
|
|
50
|
+
function ge(e, t) {
|
|
50
51
|
return e === "top" || e === "bottom" ? e : e === "start" ? t ? "right" : "left" : t ? "left" : "right";
|
|
51
52
|
}
|
|
52
|
-
const
|
|
53
|
+
const Y = E({
|
|
53
54
|
headingId: void 0,
|
|
54
55
|
setHeadingId: () => {
|
|
55
56
|
}
|
|
56
|
-
}), B =
|
|
57
|
+
}), B = E({
|
|
57
58
|
cancelClose: () => {
|
|
58
59
|
},
|
|
59
60
|
closeWithDelay: () => {
|
|
@@ -70,7 +71,7 @@ const Q = V({
|
|
|
70
71
|
},
|
|
71
72
|
triggerRef: { current: null },
|
|
72
73
|
instanceId: void 0
|
|
73
|
-
}),
|
|
74
|
+
}), X = E("default"), he = le(
|
|
74
75
|
[
|
|
75
76
|
// Same elevated surface as Popover: `--card-border` at 32% alpha reads as
|
|
76
77
|
// a subtle edge in both themes, where the shadow alone lets the card
|
|
@@ -111,121 +112,121 @@ const Q = V({
|
|
|
111
112
|
}
|
|
112
113
|
}
|
|
113
114
|
);
|
|
114
|
-
function
|
|
115
|
+
function U({
|
|
115
116
|
children: e,
|
|
116
117
|
openOn: t = "hover-or-click",
|
|
117
118
|
open: o,
|
|
118
|
-
defaultOpen:
|
|
119
|
-
onOpenChange:
|
|
120
|
-
openDelay:
|
|
121
|
-
closeDelay:
|
|
122
|
-
id:
|
|
119
|
+
defaultOpen: u,
|
|
120
|
+
onOpenChange: i,
|
|
121
|
+
openDelay: f = 300,
|
|
122
|
+
closeDelay: c = 300,
|
|
123
|
+
id: v
|
|
123
124
|
}) {
|
|
124
|
-
const [
|
|
125
|
-
(
|
|
126
|
-
n ||
|
|
125
|
+
const [T, R] = Q(u ?? !1), n = o !== void 0, h = n ? o : T, a = m(
|
|
126
|
+
(g) => {
|
|
127
|
+
n || R(g), i == null || i(g);
|
|
127
128
|
},
|
|
128
|
-
[n,
|
|
129
|
+
[n, i]
|
|
129
130
|
), r = C(h);
|
|
130
131
|
P(() => {
|
|
131
132
|
r.current = h;
|
|
132
133
|
}, [h]);
|
|
133
|
-
const
|
|
134
|
-
|
|
134
|
+
const b = C(null), p = m(() => {
|
|
135
|
+
b.current && (clearTimeout(b.current), b.current = null);
|
|
135
136
|
}, []);
|
|
136
|
-
P(() =>
|
|
137
|
-
const
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
},
|
|
141
|
-
}, [
|
|
142
|
-
|
|
143
|
-
}, [
|
|
144
|
-
|
|
145
|
-
|
|
137
|
+
P(() => p, [p]);
|
|
138
|
+
const N = C(!1), y = C(!1), F = C(null), l = C(null), A = m(() => {
|
|
139
|
+
p(), b.current = setTimeout(() => {
|
|
140
|
+
N.current = !1, a(!0);
|
|
141
|
+
}, f);
|
|
142
|
+
}, [p, f, a]), W = m(() => {
|
|
143
|
+
p(), b.current = setTimeout(() => a(!1), c);
|
|
144
|
+
}, [p, c, a]), j = C(!1), O = C(null), S = m(() => {
|
|
145
|
+
j.current = !0, O.current && clearTimeout(O.current), O.current = setTimeout(() => {
|
|
146
|
+
j.current = !1;
|
|
146
147
|
}, 100);
|
|
147
148
|
}, []);
|
|
148
149
|
P(
|
|
149
150
|
() => () => {
|
|
150
|
-
|
|
151
|
+
O.current && clearTimeout(O.current);
|
|
151
152
|
},
|
|
152
153
|
[]
|
|
153
154
|
);
|
|
154
|
-
const
|
|
155
|
-
if (
|
|
156
|
-
|
|
155
|
+
const D = m(() => {
|
|
156
|
+
if (j.current) {
|
|
157
|
+
j.current = !1;
|
|
157
158
|
return;
|
|
158
159
|
}
|
|
159
|
-
|
|
160
|
-
}, [
|
|
161
|
-
var
|
|
162
|
-
|
|
163
|
-
}, []),
|
|
164
|
-
const
|
|
165
|
-
|
|
166
|
-
}, []),
|
|
167
|
-
const
|
|
168
|
-
if (
|
|
160
|
+
p(), N.current = !1, a(!0);
|
|
161
|
+
}, [p, a]), V = m(() => {
|
|
162
|
+
var g;
|
|
163
|
+
y.current = !0, (g = F.current) == null || g.focus();
|
|
164
|
+
}, []), w = C(null), M = m(() => {
|
|
165
|
+
const g = F.current;
|
|
166
|
+
w.current = !!(g && g.contains(document.activeElement));
|
|
167
|
+
}, []), z = m(() => {
|
|
168
|
+
const g = w.current;
|
|
169
|
+
if (w.current = null, g === !0) {
|
|
169
170
|
a(!1);
|
|
170
171
|
return;
|
|
171
172
|
}
|
|
172
|
-
|
|
173
|
-
}, [
|
|
173
|
+
N.current = !0, r.current ? V() : a(!0);
|
|
174
|
+
}, [V, a]), Z = J(
|
|
174
175
|
() => ({
|
|
175
176
|
getIsOpen: () => r.current,
|
|
176
177
|
open: () => {
|
|
177
|
-
|
|
178
|
+
N.current = !1, a(!0);
|
|
178
179
|
},
|
|
179
180
|
close: () => a(!1)
|
|
180
181
|
}),
|
|
181
182
|
[a]
|
|
182
183
|
);
|
|
183
|
-
|
|
184
|
-
const [q,
|
|
184
|
+
fe(me, Z, v);
|
|
185
|
+
const [q, s] = Q(void 0), x = t === "hover-or-click", G = J(
|
|
185
186
|
() => ({
|
|
186
|
-
cancelClose:
|
|
187
|
-
closeWithDelay:
|
|
187
|
+
cancelClose: p,
|
|
188
|
+
closeWithDelay: x ? W : () => {
|
|
188
189
|
},
|
|
189
|
-
shouldFocusOnOpen: () =>
|
|
190
|
-
didMoveFocus: () =>
|
|
190
|
+
shouldFocusOnOpen: () => N.current,
|
|
191
|
+
didMoveFocus: () => y.current,
|
|
191
192
|
noteMovedFocus: () => {
|
|
192
|
-
|
|
193
|
+
y.current = !0;
|
|
193
194
|
},
|
|
194
|
-
noteFocusReturn:
|
|
195
|
+
noteFocusReturn: S,
|
|
195
196
|
clearMovedFocus: () => {
|
|
196
|
-
|
|
197
|
+
y.current = !1;
|
|
197
198
|
},
|
|
198
|
-
registerContent: (
|
|
199
|
-
|
|
199
|
+
registerContent: (g) => {
|
|
200
|
+
F.current = g;
|
|
200
201
|
},
|
|
201
|
-
triggerRef:
|
|
202
|
-
instanceId:
|
|
202
|
+
triggerRef: l,
|
|
203
|
+
instanceId: v
|
|
203
204
|
}),
|
|
204
|
-
[
|
|
205
|
-
), ae =
|
|
205
|
+
[p, W, v, x, S]
|
|
206
|
+
), ae = J(
|
|
206
207
|
() => ({
|
|
207
|
-
isHoverMode:
|
|
208
|
-
openOnFocus:
|
|
209
|
-
openWithDelay:
|
|
210
|
-
closeWithDelay:
|
|
211
|
-
cancelClose:
|
|
212
|
-
notePressStart:
|
|
213
|
-
onClick:
|
|
208
|
+
isHoverMode: x,
|
|
209
|
+
openOnFocus: D,
|
|
210
|
+
openWithDelay: A,
|
|
211
|
+
closeWithDelay: W,
|
|
212
|
+
cancelClose: p,
|
|
213
|
+
notePressStart: M,
|
|
214
|
+
onClick: z
|
|
214
215
|
}),
|
|
215
216
|
[
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
s,
|
|
219
|
-
S,
|
|
220
|
-
A,
|
|
217
|
+
p,
|
|
218
|
+
W,
|
|
221
219
|
z,
|
|
222
|
-
|
|
220
|
+
x,
|
|
221
|
+
M,
|
|
222
|
+
D,
|
|
223
|
+
A
|
|
223
224
|
]
|
|
224
225
|
);
|
|
225
|
-
return /* @__PURE__ */ d(
|
|
226
|
+
return /* @__PURE__ */ d(Y.Provider, { value: { headingId: q, setHeadingId: s }, children: /* @__PURE__ */ d(B.Provider, { value: G, children: /* @__PURE__ */ d($.Provider, { value: ae, children: /* @__PURE__ */ d(k.Root, { open: h, onOpenChange: a, children: e }) }) }) });
|
|
226
227
|
}
|
|
227
|
-
|
|
228
|
-
const
|
|
228
|
+
U.displayName = "HoverCard.Root";
|
|
229
|
+
const $ = E({
|
|
229
230
|
isHoverMode: !0,
|
|
230
231
|
openOnFocus: () => {
|
|
231
232
|
},
|
|
@@ -239,26 +240,26 @@ const Y = V({
|
|
|
239
240
|
},
|
|
240
241
|
onClick: () => {
|
|
241
242
|
}
|
|
242
|
-
}),
|
|
243
|
+
}), L = I(
|
|
243
244
|
({
|
|
244
245
|
children: e,
|
|
245
246
|
onMouseEnter: t,
|
|
246
247
|
onMouseLeave: o,
|
|
247
|
-
onFocus:
|
|
248
|
-
onBlur:
|
|
249
|
-
onPointerDown:
|
|
250
|
-
onKeyDown:
|
|
251
|
-
onClick:
|
|
252
|
-
...
|
|
253
|
-
},
|
|
254
|
-
const n = H(
|
|
248
|
+
onFocus: u,
|
|
249
|
+
onBlur: i,
|
|
250
|
+
onPointerDown: f,
|
|
251
|
+
onKeyDown: c,
|
|
252
|
+
onClick: v,
|
|
253
|
+
...T
|
|
254
|
+
}, R) => {
|
|
255
|
+
const n = H($), { triggerRef: h } = H(B), a = m(
|
|
255
256
|
(r) => {
|
|
256
|
-
h.current = r, typeof
|
|
257
|
+
h.current = r, typeof R == "function" ? R(r) : R && (R.current = r);
|
|
257
258
|
},
|
|
258
|
-
[
|
|
259
|
+
[R, h]
|
|
259
260
|
);
|
|
260
261
|
return /* @__PURE__ */ d(
|
|
261
|
-
|
|
262
|
+
k.Trigger,
|
|
262
263
|
{
|
|
263
264
|
ref: a,
|
|
264
265
|
onMouseEnter: (r) => {
|
|
@@ -268,99 +269,112 @@ const Y = V({
|
|
|
268
269
|
n.isHoverMode && n.closeWithDelay(), o == null || o(r);
|
|
269
270
|
},
|
|
270
271
|
onFocus: (r) => {
|
|
271
|
-
n.isHoverMode && n.openOnFocus(),
|
|
272
|
+
n.isHoverMode && n.openOnFocus(), u == null || u(r);
|
|
272
273
|
},
|
|
273
274
|
onBlur: (r) => {
|
|
274
|
-
n.isHoverMode && n.closeWithDelay(),
|
|
275
|
+
n.isHoverMode && n.closeWithDelay(), i == null || i(r);
|
|
275
276
|
},
|
|
276
277
|
onPointerDown: (r) => {
|
|
277
|
-
n.notePressStart(),
|
|
278
|
+
n.notePressStart(), f == null || f(r);
|
|
278
279
|
},
|
|
279
280
|
onKeyDown: (r) => {
|
|
280
|
-
(r.key === "Enter" || r.key === " ") && n.notePressStart(),
|
|
281
|
+
(r.key === "Enter" || r.key === " ") && n.notePressStart(), c == null || c(r);
|
|
281
282
|
},
|
|
282
283
|
onClick: (r) => {
|
|
283
|
-
r.preventDefault(), n.onClick(),
|
|
284
|
+
r.preventDefault(), n.onClick(), v == null || v(r);
|
|
284
285
|
},
|
|
285
|
-
...
|
|
286
|
+
...T,
|
|
286
287
|
children: e
|
|
287
288
|
}
|
|
288
289
|
);
|
|
289
290
|
}
|
|
290
291
|
);
|
|
291
|
-
|
|
292
|
-
const
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
292
|
+
L.displayName = "HoverCard.Trigger";
|
|
293
|
+
const K = I((e, t) => {
|
|
294
|
+
var f;
|
|
295
|
+
const { triggerRef: o } = H(B), u = m(
|
|
296
|
+
(c) => {
|
|
297
|
+
o.current = c, typeof t == "function" ? t(c) : t && (t.current = c);
|
|
296
298
|
},
|
|
297
299
|
[t, o]
|
|
298
|
-
);
|
|
299
|
-
return
|
|
300
|
+
), i = (f = e.virtualRef) == null ? void 0 : f.current;
|
|
301
|
+
return P(() => {
|
|
302
|
+
if (i instanceof HTMLElement)
|
|
303
|
+
return o.current = i, () => {
|
|
304
|
+
o.current === i && (o.current = null);
|
|
305
|
+
};
|
|
306
|
+
}, [i, o]), /* @__PURE__ */ d(k.Anchor, { ref: u, ...e });
|
|
300
307
|
});
|
|
301
|
-
|
|
302
|
-
const
|
|
308
|
+
K.displayName = "HoverCard.Anchor";
|
|
309
|
+
const ee = I(
|
|
303
310
|
({
|
|
304
311
|
side: e = "top",
|
|
305
312
|
align: t = "center",
|
|
306
313
|
size: o = "md",
|
|
307
|
-
padding:
|
|
308
|
-
showArrow:
|
|
309
|
-
showClose:
|
|
310
|
-
headerAction:
|
|
311
|
-
dir:
|
|
312
|
-
className:
|
|
313
|
-
children:
|
|
314
|
+
padding: u = "default",
|
|
315
|
+
showArrow: i = !0,
|
|
316
|
+
showClose: f = !1,
|
|
317
|
+
headerAction: c,
|
|
318
|
+
dir: v,
|
|
319
|
+
className: T,
|
|
320
|
+
children: R,
|
|
314
321
|
onOpenAutoFocus: n,
|
|
315
322
|
onCloseAutoFocus: h,
|
|
316
323
|
onMouseEnter: a,
|
|
317
324
|
onMouseLeave: r,
|
|
318
|
-
onFocusCapture:
|
|
319
|
-
|
|
325
|
+
onFocusCapture: b,
|
|
326
|
+
onKeyDown: p,
|
|
327
|
+
...N
|
|
320
328
|
}, y) => {
|
|
321
|
-
const { headingId:
|
|
329
|
+
const { headingId: F } = H(Y), l = H(B), A = m(
|
|
330
|
+
(s) => l.triggerRef.current ?? ie(s),
|
|
331
|
+
[l.triggerRef]
|
|
332
|
+
), W = ce(!0, { getAnchor: A }), { t: j } = ue("ui"), [O, S] = Q(!1), D = C(null), V = m(
|
|
322
333
|
(s) => {
|
|
323
|
-
|
|
334
|
+
D.current = s, l.registerContent(s), typeof y == "function" ? y(s) : y && (y.current = s);
|
|
324
335
|
},
|
|
325
|
-
[y,
|
|
336
|
+
[y, l]
|
|
326
337
|
);
|
|
327
338
|
P(() => {
|
|
328
|
-
const s =
|
|
329
|
-
|
|
330
|
-
}, [
|
|
331
|
-
const
|
|
332
|
-
return /* @__PURE__ */ d(
|
|
333
|
-
|
|
339
|
+
const s = l.triggerRef.current, x = s == null ? void 0 : s.closest("[dir]"), G = (x == null ? void 0 : x.getAttribute("dir")) ?? document.documentElement.dir ?? "ltr";
|
|
340
|
+
S(G === "rtl");
|
|
341
|
+
}, [l.triggerRef]);
|
|
342
|
+
const w = v ?? (O ? "rtl" : "ltr"), M = w === "rtl", z = ge(e, M), q = M && (z === "top" || z === "bottom") && t !== "center" ? t === "start" ? "end" : "start" : t;
|
|
343
|
+
return /* @__PURE__ */ d(k.Portal, { children: /* @__PURE__ */ _(
|
|
344
|
+
k.Content,
|
|
334
345
|
{
|
|
335
|
-
ref:
|
|
336
|
-
dir:
|
|
337
|
-
side:
|
|
338
|
-
align:
|
|
346
|
+
ref: V,
|
|
347
|
+
dir: w,
|
|
348
|
+
side: z,
|
|
349
|
+
align: q,
|
|
339
350
|
sideOffset: 8,
|
|
340
351
|
collisionPadding: 8,
|
|
341
|
-
"aria-labelledby":
|
|
342
|
-
className:
|
|
352
|
+
"aria-labelledby": F,
|
|
353
|
+
className: he({ size: o, padding: u, className: T }),
|
|
343
354
|
"data-component": "hover-card",
|
|
344
|
-
"data-component-id":
|
|
355
|
+
"data-component-id": l.instanceId,
|
|
345
356
|
onOpenAutoFocus: (s) => {
|
|
346
|
-
|
|
357
|
+
l.shouldFocusOnOpen() ? l.noteMovedFocus() : s.preventDefault(), n == null || n(s);
|
|
347
358
|
},
|
|
348
359
|
onCloseAutoFocus: (s) => {
|
|
349
|
-
|
|
360
|
+
l.didMoveFocus() ? l.noteFocusReturn() : s.preventDefault(), l.clearMovedFocus(), h == null || h(s);
|
|
350
361
|
},
|
|
351
362
|
onMouseEnter: (s) => {
|
|
352
|
-
|
|
363
|
+
l.cancelClose(), a == null || a(s);
|
|
353
364
|
},
|
|
354
365
|
onMouseLeave: (s) => {
|
|
355
|
-
|
|
366
|
+
l.closeWithDelay(), r == null || r(s);
|
|
356
367
|
},
|
|
357
368
|
onFocusCapture: (s) => {
|
|
358
|
-
|
|
369
|
+
l.cancelClose(), b == null || b(s);
|
|
370
|
+
},
|
|
371
|
+
onKeyDown: (s) => {
|
|
372
|
+
p == null || p(s), W(s);
|
|
359
373
|
},
|
|
360
|
-
...
|
|
374
|
+
...N,
|
|
361
375
|
children: [
|
|
362
|
-
/* @__PURE__ */ d(
|
|
363
|
-
|
|
376
|
+
/* @__PURE__ */ d(X.Provider, { value: u, children: R }),
|
|
377
|
+
f || c ? /* @__PURE__ */ _(
|
|
364
378
|
"div",
|
|
365
379
|
{
|
|
366
380
|
className: [
|
|
@@ -368,20 +382,20 @@ const $ = x(
|
|
|
368
382
|
"ds:z-[1] ds:flex ds:items-center ds:gap-[var(--spacing-2xs)]"
|
|
369
383
|
].join(" "),
|
|
370
384
|
children: [
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
385
|
+
c,
|
|
386
|
+
f ? /* @__PURE__ */ d(k.Close, { asChild: !0, children: /* @__PURE__ */ d(
|
|
387
|
+
pe,
|
|
374
388
|
{
|
|
375
|
-
icon: /* @__PURE__ */ d(
|
|
389
|
+
icon: /* @__PURE__ */ d(ve, {}),
|
|
376
390
|
intent: "ghost",
|
|
377
391
|
size: "sm",
|
|
378
|
-
"aria-label":
|
|
392
|
+
"aria-label": j("common.close", "Close")
|
|
379
393
|
}
|
|
380
394
|
) }) : null
|
|
381
395
|
]
|
|
382
396
|
}
|
|
383
397
|
) : null,
|
|
384
|
-
|
|
398
|
+
i ? (
|
|
385
399
|
// Radix places the arrow on the resolved side and keeps it over
|
|
386
400
|
// the trigger through collision flip and shift.
|
|
387
401
|
//
|
|
@@ -394,7 +408,7 @@ const $ = x(
|
|
|
394
408
|
// card, so the card's own border does not show through it. The
|
|
395
409
|
// translate is applied inside Radix's rotation wrapper, so "up"
|
|
396
410
|
// means "towards the card" on every side.
|
|
397
|
-
/* @__PURE__ */ d(
|
|
411
|
+
/* @__PURE__ */ d(k.Arrow, { asChild: !0, width: 12, height: 6, children: /* @__PURE__ */ d(
|
|
398
412
|
"svg",
|
|
399
413
|
{
|
|
400
414
|
viewBox: "0 0 12 6",
|
|
@@ -410,8 +424,8 @@ const $ = x(
|
|
|
410
424
|
) });
|
|
411
425
|
}
|
|
412
426
|
);
|
|
413
|
-
|
|
414
|
-
const
|
|
427
|
+
ee.displayName = "HoverCard.Content";
|
|
428
|
+
const te = I(({ className: e, ...t }, o) => /* @__PURE__ */ d(
|
|
415
429
|
"div",
|
|
416
430
|
{
|
|
417
431
|
ref: o,
|
|
@@ -420,8 +434,8 @@ const L = x(({ className: e, ...t }, o) => /* @__PURE__ */ d(
|
|
|
420
434
|
...t
|
|
421
435
|
}
|
|
422
436
|
));
|
|
423
|
-
|
|
424
|
-
const
|
|
437
|
+
te.displayName = "HoverCard.Media";
|
|
438
|
+
const re = I(({ className: e, ...t }, o) => /* @__PURE__ */ d(
|
|
425
439
|
"p",
|
|
426
440
|
{
|
|
427
441
|
ref: o,
|
|
@@ -433,29 +447,29 @@ const ee = x(({ className: e, ...t }, o) => /* @__PURE__ */ d(
|
|
|
433
447
|
...t
|
|
434
448
|
}
|
|
435
449
|
));
|
|
436
|
-
|
|
437
|
-
const
|
|
438
|
-
({ as: e = "h3", id: t, className: o, ...
|
|
439
|
-
const
|
|
440
|
-
return P(() => (
|
|
450
|
+
re.displayName = "HoverCard.Eyebrow";
|
|
451
|
+
const se = I(
|
|
452
|
+
({ as: e = "h3", id: t, className: o, ...u }, i) => {
|
|
453
|
+
const f = de(), c = t ?? f, { setHeadingId: v } = H(Y), T = H(X);
|
|
454
|
+
return P(() => (v(c), () => v(void 0)), [c, v]), /* @__PURE__ */ d(
|
|
441
455
|
e,
|
|
442
456
|
{
|
|
443
|
-
ref:
|
|
444
|
-
id:
|
|
457
|
+
ref: i,
|
|
458
|
+
id: c,
|
|
445
459
|
"data-slot": "heading",
|
|
446
460
|
className: [
|
|
447
461
|
"type-title-item ds:leading-snug ds:break-words",
|
|
448
|
-
|
|
462
|
+
T === "flush" ? "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:pt-[var(--spacing-md)]" : "",
|
|
449
463
|
o
|
|
450
464
|
].filter(Boolean).join(" "),
|
|
451
|
-
...
|
|
465
|
+
...u
|
|
452
466
|
}
|
|
453
467
|
);
|
|
454
468
|
}
|
|
455
469
|
);
|
|
456
|
-
|
|
457
|
-
const
|
|
458
|
-
const
|
|
470
|
+
se.displayName = "HoverCard.Heading";
|
|
471
|
+
const oe = I(({ className: e, ...t }, o) => {
|
|
472
|
+
const u = H(X);
|
|
459
473
|
return /* @__PURE__ */ d(
|
|
460
474
|
"div",
|
|
461
475
|
{
|
|
@@ -464,16 +478,16 @@ const re = x(({ className: e, ...t }, o) => {
|
|
|
464
478
|
className: [
|
|
465
479
|
"type-body-sm ds:text-[var(--muted-foreground)]",
|
|
466
480
|
"ds:mt-[var(--spacing-xs)]",
|
|
467
|
-
|
|
481
|
+
u === "flush" ? "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:pb-[var(--spacing-md)]" : "",
|
|
468
482
|
e
|
|
469
483
|
].filter(Boolean).join(" "),
|
|
470
484
|
...t
|
|
471
485
|
}
|
|
472
486
|
);
|
|
473
487
|
});
|
|
474
|
-
|
|
475
|
-
const
|
|
476
|
-
const
|
|
488
|
+
oe.displayName = "HoverCard.Body";
|
|
489
|
+
const ne = I(({ className: e, ...t }, o) => {
|
|
490
|
+
const u = H(X);
|
|
477
491
|
return /* @__PURE__ */ d(
|
|
478
492
|
"div",
|
|
479
493
|
{
|
|
@@ -483,34 +497,34 @@ const se = x(({ className: e, ...t }, o) => {
|
|
|
483
497
|
"ds:flex ds:flex-wrap ds:items-center ds:justify-end",
|
|
484
498
|
"ds:gap-[var(--spacing-sm)]",
|
|
485
499
|
"ds:border-t ds:border-[color:var(--card-border)]",
|
|
486
|
-
|
|
500
|
+
u === "flush" ? "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:pt-[var(--spacing-sm)] ds:pb-[var(--spacing-sm)]" : "ds:mt-[var(--spacing-md)] ds:pt-[var(--spacing-md)]",
|
|
487
501
|
e
|
|
488
502
|
].filter(Boolean).join(" "),
|
|
489
503
|
...t
|
|
490
504
|
}
|
|
491
505
|
);
|
|
492
506
|
});
|
|
493
|
-
|
|
494
|
-
function
|
|
507
|
+
ne.displayName = "HoverCard.Footer";
|
|
508
|
+
function Ne() {
|
|
495
509
|
const { cancelClose: e, closeWithDelay: t } = H(B);
|
|
496
510
|
return { cancelClose: e, closeWithDelay: t };
|
|
497
511
|
}
|
|
498
|
-
const
|
|
499
|
-
Root:
|
|
500
|
-
Trigger:
|
|
512
|
+
const Oe = Object.assign(U, {
|
|
513
|
+
Root: U,
|
|
514
|
+
Trigger: L,
|
|
501
515
|
// Anchor the card to an arbitrary element when a trigger button is
|
|
502
516
|
// unsuitable, such as a calendar grid cell.
|
|
503
|
-
Anchor:
|
|
504
|
-
Content:
|
|
505
|
-
Media:
|
|
506
|
-
Eyebrow:
|
|
507
|
-
Heading:
|
|
508
|
-
Body:
|
|
509
|
-
Footer:
|
|
517
|
+
Anchor: K,
|
|
518
|
+
Content: ee,
|
|
519
|
+
Media: te,
|
|
520
|
+
Eyebrow: re,
|
|
521
|
+
Heading: se,
|
|
522
|
+
Body: oe,
|
|
523
|
+
Footer: ne
|
|
510
524
|
});
|
|
511
525
|
export {
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
526
|
+
Oe as H,
|
|
527
|
+
me as h,
|
|
528
|
+
Ne as u
|
|
515
529
|
};
|
|
516
|
-
//# sourceMappingURL=hover-card-
|
|
530
|
+
//# sourceMappingURL=hover-card-U_ZYoh1n.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as S, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as H, useState as y, useRef as h, useCallback as v, useMemo as b } from "react";
|
|
3
3
|
import { c as M } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as F } from "react-i18next";
|
|
5
|
-
import { P as k } from "./popover-
|
|
5
|
+
import { P as k } from "./popover-BG75rYjN.js";
|
|
6
6
|
import { B as D } from "./button-Bn16lcFM.js";
|
|
7
7
|
import { S as E } from "./state-backed-text-input-DECQy5aA.js";
|
|
8
8
|
import { u as G } from "./registry-DvAUVLHh.js";
|
|
@@ -269,4 +269,4 @@ export {
|
|
|
269
269
|
X as I,
|
|
270
270
|
U as i
|
|
271
271
|
};
|
|
272
|
-
//# sourceMappingURL=icon-picker-
|
|
272
|
+
//# sourceMappingURL=icon-picker-C86lQTIA.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as u, jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as I, useState as O, useRef as m, useEffect as k, useMemo as z } from "react";
|
|
3
3
|
import { c as C } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as D } from "react-i18next";
|
|
5
|
-
import { P as o } from "./popover-
|
|
5
|
+
import { P as o } from "./popover-BG75rYjN.js";
|
|
6
6
|
import { u as P } from "./registry-DvAUVLHh.js";
|
|
7
7
|
import { I as A } from "./info-CGn22peZ.js";
|
|
8
8
|
const R = {
|
|
@@ -163,4 +163,4 @@ export {
|
|
|
163
163
|
j as I,
|
|
164
164
|
R as i
|
|
165
165
|
};
|
|
166
|
-
//# sourceMappingURL=info-tip-
|
|
166
|
+
//# sourceMappingURL=info-tip-CJpNpzZe.js.map
|