@alfadocs/ui-kit 1.90.2 → 1.91.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/{agenda-card-BDuvreCe.js → agenda-card-BhY342MA.js} +2 -2
- package/dist/_chunks/{agenda-tray-D-jvptdo.js → agenda-tray-BmxBGEci.js} +2 -2
- package/dist/_chunks/{alia-sidebar-CsTRAxC8.js → alia-sidebar-ovRX_oti.js} +3 -3
- package/dist/_chunks/{appointment-card-5JMWi9_f.js → appointment-card-Bstc1p7a.js} +2 -2
- package/dist/_chunks/{appointment-peek-39BwVMUf.js → appointment-peek-C0kKqnFk.js} +2 -2
- package/dist/_chunks/{appointment-timeline-1-Za2miy.js → appointment-timeline-rbt9AwHO.js} +2 -2
- package/dist/_chunks/{appointment-tray-Dwc8MSIQ.js → appointment-tray-6zd8RLIL.js} +2 -2
- package/dist/_chunks/{avatar-BPiPL7ND.js → avatar-a6042Ox2.js} +52 -52
- package/dist/_chunks/{balance-badge-cell-D9VhFp0L.js → balance-badge-cell-BtJvre1-.js} +2 -2
- package/dist/_chunks/booking-opt_h7Uc.js +4590 -0
- package/dist/_chunks/{calendar-ClB-jWH1.js → calendar-CmiMS4FJ.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-CiAGAX2t.js → calendar-appointment-editor-dialog-sJKLoVJ2.js} +7 -7
- package/dist/_chunks/{care-plan-card-BYCPNDvA.js → care-plan-card-DD9rEWYN.js} +2 -2
- package/dist/_chunks/{care-plan-header-BzsAg6oY.js → care-plan-header-CXUJQt8Q.js} +2 -2
- package/dist/_chunks/{chat-message-CmFJdEre.js → chat-message-LRO_6Ee3.js} +2 -2
- package/dist/_chunks/{clinical-note-card-Caidqcwa.js → clinical-note-card-Cut2lNmu.js} +3 -3
- package/dist/_chunks/{contact-card-Czu60UvU.js → contact-card-ClvEDM9e.js} +2 -2
- package/dist/_chunks/{contact-profile-card-Da1vmJQI.js → contact-profile-card-CX45mZA3.js} +106 -95
- package/dist/_chunks/{dependent-selector-C4kOgO8b.js → dependent-selector-CyNi7M_f.js} +2 -2
- package/dist/_chunks/{entity-summary-BLxzSSXK.js → entity-summary-B_bOloqP.js} +3 -3
- package/dist/_chunks/error-page-B0fGNTRB.js +419 -0
- package/dist/_chunks/{languages-CZqBaPwI.js → languages-CGLX6Qpe.js} +3 -15
- package/dist/_chunks/link-DtCfnLnF.js +332 -0
- package/dist/_chunks/{link-cell-renderer-CnCgudvq.js → link-cell-renderer-BS3V4LA6.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-CmZx0Oam.js → marketplace-app-shell-CJQtx3sv.js} +2 -2
- package/dist/_chunks/{message-card-CvCnCssc.js → message-card-B6SduXJv.js} +2 -2
- package/dist/_chunks/{message-tray-IJYvy6Cf.js → message-tray-Cllf-v0G.js} +2 -2
- package/dist/_chunks/{nav-grid-Oc4aCPrg.js → nav-grid-D2xVcHTO.js} +2 -2
- package/dist/_chunks/{note-attachment-DIlIQ7JF.js → note-attachment-cnj2JRrg.js} +2 -2
- package/dist/_chunks/{note-timeline-KzL52MmB.js → note-timeline-BrjHBQfx.js} +2 -2
- package/dist/_chunks/{notes-panel-Dywo6R55.js → notes-panel-ib7I3aNf.js} +2 -2
- package/dist/_chunks/{operator-hero-6aAIQaFZ.js → operator-hero-C_5B-8Qp.js} +43 -41
- package/dist/_chunks/{patient-details-BUr7Oemx.js → patient-details-BjcUpD9S.js} +3 -3
- package/dist/_chunks/{patient-field-row-bJk8Q_qr.js → patient-field-row-B0tdiaWi.js} +2 -2
- package/dist/_chunks/{patient-summary-card-CCQZ8X37.js → patient-summary-card-Cvv6_Ugk.js} +4 -4
- package/dist/_chunks/{payment-request-card-MndSlVoK.js → payment-request-card-BfGauFY0.js} +2 -2
- package/dist/_chunks/{practice-profile-hero-qfrsFQI_.js → practice-profile-hero-ClzE-4CB.js} +76 -73
- package/dist/_chunks/{practice-results-DQuOfqej.js → practice-results-CQ_KvEXK.js} +517 -514
- package/dist/_chunks/{product-hub-panel-Blag8t8f.js → product-hub-panel-bHi7lkVD.js} +2 -2
- package/dist/_chunks/public-footer-IoRWoAMz.js +596 -0
- package/dist/_chunks/{signature-request-DjY-X62H.js → signature-request-DvhyrRpn.js} +3 -3
- package/dist/_chunks/{signed-out-frame-G-3ATOdu.js → signed-out-frame-CgRXOUzi.js} +2 -2
- package/dist/_chunks/{slot-grid-DrwynKeN.js → slot-grid-B-IAFX3C.js} +180 -169
- package/dist/_chunks/{timeline-wUuTDFY_.js → timeline-BcYHdP56.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-BytPq3Ux.js → use-appointment-details-read-D8vDg0sg.js} +5 -5
- package/dist/agent-catalog.json +2 -2
- package/dist/components/_shared/social-brand-icons.d.ts +29 -0
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- 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/avatar/avatar.d.ts +14 -0
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/booking/booking-types.d.ts +26 -0
- package/dist/components/booking/index.js +1 -1
- package/dist/components/booking/slot-load-state.d.ts +11 -0
- package/dist/components/calendar/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/chat-message/index.js +1 -1
- package/dist/components/clinical-note-card/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/data-table/index.js +1 -1
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/link/link.d.ts +10 -1
- package/dist/components/link/social-url.d.ts +71 -0
- package/dist/components/message-card/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/operator-hero/index.js +1 -1
- package/dist/components/operator-hero/operator-hero.d.ts +6 -0
- 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-profile-hero/index.js +1 -1
- package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +6 -0
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +8 -2
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-footer/public-footer.d.ts +13 -1
- package/dist/components/public-footer/socials.d.ts +6 -5
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/slot-grid/slot-grid.d.ts +2 -0
- package/dist/components/timeline/index.js +1 -1
- package/dist/i18n/config.js +224 -96
- package/dist/i18n/locales/ar.d.ts +3 -0
- package/dist/i18n/locales/ar.js +4 -1
- package/dist/i18n/locales/de.d.ts +3 -0
- package/dist/i18n/locales/de.js +4 -1
- package/dist/i18n/locales/el.d.ts +3 -0
- package/dist/i18n/locales/el.js +4 -1
- package/dist/i18n/locales/en.d.ts +3 -0
- package/dist/i18n/locales/en.js +3 -0
- package/dist/i18n/locales/es.d.ts +3 -0
- package/dist/i18n/locales/es.js +4 -1
- package/dist/i18n/locales/fr.d.ts +3 -0
- package/dist/i18n/locales/fr.js +4 -1
- package/dist/i18n/locales/hi.d.ts +3 -0
- package/dist/i18n/locales/hi.js +4 -1
- package/dist/i18n/locales/it.d.ts +3 -0
- package/dist/i18n/locales/it.js +4 -1
- package/dist/i18n/locales/ja.d.ts +3 -0
- package/dist/i18n/locales/ja.js +4 -1
- package/dist/i18n/locales/nl.d.ts +3 -0
- package/dist/i18n/locales/nl.js +4 -1
- package/dist/i18n/locales/pl.d.ts +3 -0
- package/dist/i18n/locales/pl.js +4 -1
- package/dist/i18n/locales/pt.d.ts +3 -0
- package/dist/i18n/locales/pt.js +4 -1
- package/dist/i18n/locales/ro.d.ts +3 -0
- package/dist/i18n/locales/ro.js +4 -1
- package/dist/i18n/locales/ru.d.ts +3 -0
- package/dist/i18n/locales/ru.js +4 -1
- package/dist/i18n/locales/sq.d.ts +3 -0
- package/dist/i18n/locales/sq.js +4 -1
- package/dist/i18n/locales/sv.d.ts +3 -0
- package/dist/i18n/locales/sv.js +4 -1
- package/dist/i18n/locales/tr.d.ts +3 -0
- package/dist/i18n/locales/tr.js +4 -1
- package/dist/i18n/locales/zh.d.ts +3 -0
- package/dist/i18n/locales/zh.js +4 -1
- package/dist/index.js +42 -42
- package/dist/locales/ar.json +4 -1
- package/dist/locales/de.json +4 -1
- package/dist/locales/el.json +4 -1
- package/dist/locales/en.json +3 -0
- package/dist/locales/es.json +4 -1
- package/dist/locales/fr.json +4 -1
- package/dist/locales/hi.json +4 -1
- package/dist/locales/it.json +4 -1
- package/dist/locales/ja.json +4 -1
- package/dist/locales/nl.json +4 -1
- package/dist/locales/pl.json +4 -1
- package/dist/locales/pt.json +4 -1
- package/dist/locales/ro.json +4 -1
- package/dist/locales/ru.json +4 -1
- package/dist/locales/sq.json +4 -1
- package/dist/locales/sv.json +4 -1
- package/dist/locales/tr.json +4 -1
- package/dist/locales/zh.json +4 -1
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/error-page/error-page-english.d.ts +71 -0
- package/dist/patterns/error-page/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/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 +1 -1
- package/package.json +1 -1
- package/dist/_chunks/booking-CcE_oviI.js +0 -4373
- package/dist/_chunks/error-page-Bhai-spN.js +0 -344
- package/dist/_chunks/link-N5_YpLtm.js +0 -138
- package/dist/_chunks/public-footer-CXOrdAaS.js +0 -568
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
import { jsx as t, jsxs as j } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as B } from "react";
|
|
3
|
+
import { c as u } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as D } from "react-i18next";
|
|
5
|
+
import { a as G } from "./whatsapp-button-DV9JFmtq.js";
|
|
6
|
+
import { G as O } from "./globe-sHBW1JN5.js";
|
|
7
|
+
import { E as P } from "./external-link-CY6zAXXU.js";
|
|
8
|
+
const o = {
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
fill: "currentColor",
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
12
|
+
}, W = (e) => /* @__PURE__ */ t("svg", { ...o, ...e, children: /* @__PURE__ */ t("path", { d: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.063 2.063 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" }) }), $ = (e) => /* @__PURE__ */ t("svg", { ...o, ...e, children: /* @__PURE__ */ t("path", { d: "M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z" }) }), F = (e) => /* @__PURE__ */ t("svg", { ...o, ...e, children: /* @__PURE__ */ t("path", { d: "M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 0 0 0-12.324zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.406-11.845a1.44 1.44 0 1 0 0 2.881 1.44 1.44 0 0 0 0-2.881z" }) }), U = (e) => /* @__PURE__ */ t("svg", { ...o, ...e, children: /* @__PURE__ */ t("path", { d: "M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z" }) }), X = (e) => /* @__PURE__ */ t("svg", { ...o, ...e, children: /* @__PURE__ */ t("path", { d: "M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z" }) }), Y = (e) => /* @__PURE__ */ t("svg", { ...o, ...e, children: /* @__PURE__ */ t("path", { d: "M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z" }) }), K = (e) => /* @__PURE__ */ t("svg", { ...o, ...e, children: /* @__PURE__ */ t("path", { d: "M18.263 11.097c-.03-3.486-1.92-5.586-5.111-5.586-2.13 0-3.922.963-4.863 2.499l2.062 1.438c.535-.843 1.272-1.543 2.628-1.543 1.528 0 2.318.85 2.544 2.431a15 15 0 0 0-2.236-.173c-4.125 0-6.068 1.867-6.068 4.336s1.943 3.99 4.804 3.99c3.139 0 5.013-2.115 5.781-4.735.798.361 1.348 1.204 1.348 2.47 0 3.387-3.907 5.232-7.22 5.232-4.885 0-8.077-3.207-8.077-8.424 0-6.392 4.223-10.487 9.9-10.487 3.808 0 5.69 1.671 6.97 3.914l2.108-1.475C21.44 2.078 18.331 0 13.663 0 6.227 0 1.168 5.277 1.168 12.934c0 7 4.953 11.066 10.856 11.066 4.878 0 9.809-2.846 9.809-7.716 0-2.545-1.46-4.231-3.569-5.187m-6.33 4.855c-1.077 0-2.026-.512-2.026-1.453 0-1.483 1.822-1.934 3.606-1.934.678 0 1.34.045 1.927.173-.422 1.927-1.671 3.215-3.508 3.214Z" }) }), q = (e) => /* @__PURE__ */ t("svg", { ...o, ...e, children: /* @__PURE__ */ t("path", { d: "M5.202 2.857C7.954 4.922 10.913 9.11 12 11.358c1.087-2.247 4.046-6.436 6.798-8.501C20.783 1.366 24 .213 24 3.883c0 .732-.42 6.156-.667 7.037-.856 3.061-3.978 3.842-6.755 3.37 4.854.826 6.089 3.562 3.422 6.299-5.065 5.196-7.28-1.304-7.847-2.97-.104-.305-.152-.448-.153-.327 0-.121-.05.022-.153.327-.568 1.666-2.782 8.166-7.847 2.97-2.667-2.737-1.432-5.473 3.422-6.3-2.777.473-5.899-.308-6.755-3.369C.42 10.04 0 4.615 0 3.883c0-3.67 3.217-2.517 5.202-1.026" }) }), J = (e) => /* @__PURE__ */ t("svg", { ...o, ...e, children: /* @__PURE__ */ t("path", { d: "M12.017 0C5.396 0 .029 5.367.029 11.987c0 5.079 3.158 9.417 7.618 11.162-.105-.949-.199-2.403.041-3.439.219-.937 1.406-5.957 1.406-5.957s-.359-.72-.359-1.781c0-1.663.967-2.911 2.168-2.911 1.024 0 1.518.769 1.518 1.688 0 1.029-.653 2.567-.992 3.992-.285 1.193.6 2.165 1.775 2.165 2.128 0 3.768-2.245 3.768-5.487 0-2.861-2.063-4.869-5.008-4.869-3.41 0-5.409 2.562-5.409 5.199 0 1.033.394 2.143.889 2.741.099.12.112.225.085.345-.09.375-.293 1.199-.334 1.363-.053.225-.172.271-.401.165-1.495-.69-2.433-2.878-2.433-4.646 0-3.776 2.748-7.252 7.92-7.252 4.158 0 7.392 2.967 7.392 6.923 0 4.135-2.607 7.462-6.233 7.462-1.214 0-2.354-.629-2.758-1.379l-.749 2.848c-.269 1.045-1.004 2.352-1.498 3.146 1.123.345 2.306.535 3.55.535 6.607 0 11.985-5.365 11.985-11.987C23.97 5.39 18.592.026 11.985.026L12.017 0z" }) }), Q = (e) => /* @__PURE__ */ t("svg", { ...o, ...e, children: /* @__PURE__ */ t("path", { d: "M12 0C5.373 0 0 5.373 0 12c0 3.314 1.343 6.314 3.515 8.485l-2.286 2.286C.775 23.225 1.097 24 1.738 24H12c6.627 0 12-5.373 12-12S18.627 0 12 0Zm4.388 3.199c1.104 0 1.999.895 1.999 1.999 0 1.105-.895 2-1.999 2-.946 0-1.739-.657-1.947-1.539v.002c-1.147.162-2.032 1.15-2.032 2.341v.007c1.776.067 3.4.567 4.686 1.363.473-.363 1.064-.58 1.707-.58 1.547 0 2.802 1.254 2.802 2.802 0 1.117-.655 2.081-1.601 2.531-.088 3.256-3.637 5.876-7.997 5.876-4.361 0-7.905-2.617-7.998-5.87-.954-.447-1.614-1.415-1.614-2.538 0-1.548 1.255-2.802 2.803-2.802.645 0 1.239.218 1.712.585 1.275-.79 2.881-1.291 4.64-1.365v-.01c0-1.663 1.263-3.034 2.88-3.207.188-.911.993-1.595 1.959-1.595Zm-8.085 8.376c-.784 0-1.459.78-1.506 1.797-.047 1.016.64 1.429 1.426 1.429.786 0 1.371-.369 1.418-1.385.047-1.017-.553-1.841-1.338-1.841Zm7.406 0c-.786 0-1.385.824-1.338 1.841.047 1.017.634 1.385 1.418 1.385.785 0 1.473-.413 1.426-1.429-.046-1.017-.721-1.797-1.506-1.797Zm-3.703 4.013c-.974 0-1.907.048-2.77.135-.147.015-.241.168-.183.305.483 1.154 1.622 1.964 2.953 1.964 1.33 0 2.47-.81 2.953-1.964.057-.137-.037-.29-.184-.305-.863-.087-1.795-.135-2.769-.135Z" }) }), t1 = (e) => /* @__PURE__ */ t("svg", { ...o, ...e, children: /* @__PURE__ */ t("path", { d: "M12.206.793c.99 0 4.347.276 5.93 3.821.529 1.193.403 3.219.299 4.847l-.003.06c-.012.18-.022.345-.03.51.075.045.203.09.401.09.3-.016.659-.12 1.033-.301.165-.088.344-.104.464-.104.182 0 .359.029.509.09.45.149.734.479.734.838.015.449-.39.839-1.213 1.168-.089.029-.209.075-.344.119-.45.135-1.139.36-1.333.81-.09.224-.061.524.12.868l.015.015c.06.136 1.526 3.475 4.791 4.014.255.044.435.27.42.509 0 .075-.015.149-.045.225-.24.569-1.273.988-3.146 1.271-.059.091-.12.375-.164.57-.029.179-.074.36-.134.553-.076.271-.27.405-.555.405h-.03c-.135 0-.313-.031-.538-.074-.36-.075-.765-.135-1.273-.135-.3 0-.599.015-.913.074-.6.104-1.123.464-1.723.884-.853.599-1.826 1.288-3.294 1.288-.06 0-.119-.015-.18-.015h-.149c-1.468 0-2.427-.675-3.279-1.288-.599-.42-1.107-.779-1.707-.884-.314-.045-.629-.074-.928-.074-.54 0-.958.089-1.272.149-.211.043-.391.074-.54.074-.374 0-.523-.224-.583-.42-.061-.192-.09-.389-.135-.567-.046-.181-.105-.494-.166-.57-1.918-.222-2.95-.642-3.189-1.226-.031-.063-.052-.15-.055-.225-.015-.243.165-.465.42-.509 3.264-.54 4.73-3.879 4.791-4.02l.016-.029c.18-.345.224-.645.119-.869-.195-.434-.884-.658-1.332-.809-.121-.029-.24-.074-.346-.119-1.107-.435-1.257-.93-1.197-1.273.09-.479.674-.793 1.168-.793.146 0 .27.029.383.074.42.194.789.3 1.104.3.234 0 .384-.06.465-.105l-.046-.569c-.098-1.626-.225-3.651.307-4.837C7.392 1.077 10.739.807 11.727.807l.419-.015h.06z" }) }), e1 = (e) => /* @__PURE__ */ t("svg", { ...o, ...e, children: /* @__PURE__ */ t("path", { d: "M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z" }) }), s1 = (e) => /* @__PURE__ */ t("svg", { ...o, ...e, children: /* @__PURE__ */ t("path", { d: "M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z" }) }), o1 = (e) => /* @__PURE__ */ t("svg", { ...o, ...e, children: /* @__PURE__ */ t("path", { d: "M11.571 4.714h1.715v5.143H11.57zm4.715 0H18v5.143h-1.714zM6 0L1.714 4.286v15.428h5.143V24l4.286-4.286h3.428L22.286 12V0zm14.571 11.143l-3.428 3.428h-3.429l-3 3v-3H6.857V1.714h13.714Z" }) }), a1 = (e) => /* @__PURE__ */ t("svg", { ...o, ...e, children: /* @__PURE__ */ t("path", { d: "M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" }) }), n1 = {
|
|
13
|
+
linkedin: W,
|
|
14
|
+
youtube: $,
|
|
15
|
+
instagram: F,
|
|
16
|
+
facebook: U,
|
|
17
|
+
x: X,
|
|
18
|
+
tiktok: Y,
|
|
19
|
+
threads: K,
|
|
20
|
+
bluesky: q,
|
|
21
|
+
pinterest: J,
|
|
22
|
+
reddit: Q,
|
|
23
|
+
snapchat: t1,
|
|
24
|
+
telegram: e1,
|
|
25
|
+
discord: s1,
|
|
26
|
+
twitch: o1,
|
|
27
|
+
github: a1,
|
|
28
|
+
whatsapp: G
|
|
29
|
+
}, i1 = [
|
|
30
|
+
{
|
|
31
|
+
id: "facebook",
|
|
32
|
+
label: "Facebook",
|
|
33
|
+
hosts: [
|
|
34
|
+
"facebook.com",
|
|
35
|
+
"www.facebook.com",
|
|
36
|
+
"m.facebook.com",
|
|
37
|
+
"web.facebook.com",
|
|
38
|
+
"fb.com",
|
|
39
|
+
"fb.me"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
id: "instagram",
|
|
44
|
+
label: "Instagram",
|
|
45
|
+
hosts: ["instagram.com", "www.instagram.com", "instagr.am"]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
id: "x",
|
|
49
|
+
label: "X",
|
|
50
|
+
hosts: [
|
|
51
|
+
"x.com",
|
|
52
|
+
"www.x.com",
|
|
53
|
+
"twitter.com",
|
|
54
|
+
"www.twitter.com",
|
|
55
|
+
"mobile.twitter.com"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
id: "tiktok",
|
|
60
|
+
label: "TikTok",
|
|
61
|
+
hosts: [
|
|
62
|
+
"tiktok.com",
|
|
63
|
+
"www.tiktok.com",
|
|
64
|
+
"m.tiktok.com",
|
|
65
|
+
"vm.tiktok.com",
|
|
66
|
+
"vt.tiktok.com"
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
id: "linkedin",
|
|
71
|
+
label: "LinkedIn",
|
|
72
|
+
hosts: ["linkedin.com", "www.linkedin.com", "m.linkedin.com", "lnkd.in"]
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
id: "youtube",
|
|
76
|
+
label: "YouTube",
|
|
77
|
+
hosts: [
|
|
78
|
+
"youtube.com",
|
|
79
|
+
"www.youtube.com",
|
|
80
|
+
"m.youtube.com",
|
|
81
|
+
"music.youtube.com",
|
|
82
|
+
"youtu.be"
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
id: "threads",
|
|
87
|
+
label: "Threads",
|
|
88
|
+
hosts: ["threads.com", "www.threads.com", "threads.net", "www.threads.net"]
|
|
89
|
+
},
|
|
90
|
+
{ id: "bluesky", label: "Bluesky", hosts: ["bsky.app", "www.bsky.app"] },
|
|
91
|
+
{
|
|
92
|
+
id: "pinterest",
|
|
93
|
+
label: "Pinterest",
|
|
94
|
+
hosts: [
|
|
95
|
+
"pinterest.com",
|
|
96
|
+
"www.pinterest.com",
|
|
97
|
+
"pinterest.it",
|
|
98
|
+
"www.pinterest.it",
|
|
99
|
+
"pinterest.de",
|
|
100
|
+
"www.pinterest.de",
|
|
101
|
+
"pinterest.fr",
|
|
102
|
+
"www.pinterest.fr",
|
|
103
|
+
"pinterest.es",
|
|
104
|
+
"www.pinterest.es",
|
|
105
|
+
"pinterest.pt",
|
|
106
|
+
"www.pinterest.pt",
|
|
107
|
+
"pinterest.co.uk",
|
|
108
|
+
"www.pinterest.co.uk",
|
|
109
|
+
"pinterest.ca",
|
|
110
|
+
"www.pinterest.ca",
|
|
111
|
+
"pinterest.com.au",
|
|
112
|
+
"www.pinterest.com.au",
|
|
113
|
+
"pinterest.ch",
|
|
114
|
+
"www.pinterest.ch",
|
|
115
|
+
"pinterest.at",
|
|
116
|
+
"www.pinterest.at",
|
|
117
|
+
"pinterest.nl",
|
|
118
|
+
"www.pinterest.nl",
|
|
119
|
+
"pin.it"
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
id: "reddit",
|
|
124
|
+
label: "Reddit",
|
|
125
|
+
hosts: ["reddit.com", "www.reddit.com", "old.reddit.com", "redd.it"]
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
id: "snapchat",
|
|
129
|
+
label: "Snapchat",
|
|
130
|
+
hosts: ["snapchat.com", "www.snapchat.com"]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
id: "telegram",
|
|
134
|
+
label: "Telegram",
|
|
135
|
+
hosts: ["t.me", "telegram.me", "telegram.org", "www.telegram.org"]
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
id: "whatsapp",
|
|
139
|
+
label: "WhatsApp",
|
|
140
|
+
hosts: [
|
|
141
|
+
"wa.me",
|
|
142
|
+
"whatsapp.com",
|
|
143
|
+
"www.whatsapp.com",
|
|
144
|
+
"api.whatsapp.com",
|
|
145
|
+
"chat.whatsapp.com"
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
id: "discord",
|
|
150
|
+
label: "Discord",
|
|
151
|
+
hosts: ["discord.com", "www.discord.com", "discord.gg", "discordapp.com"]
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
id: "twitch",
|
|
155
|
+
label: "Twitch",
|
|
156
|
+
hosts: ["twitch.tv", "www.twitch.tv", "m.twitch.tv"]
|
|
157
|
+
},
|
|
158
|
+
{ id: "github", label: "GitHub", hosts: ["github.com", "www.github.com"] }
|
|
159
|
+
];
|
|
160
|
+
function r1(e) {
|
|
161
|
+
if (typeof e != "string") return null;
|
|
162
|
+
const a = e.trim();
|
|
163
|
+
if (!a || /[\s\\\p{Cc}]/u.test(a)) return null;
|
|
164
|
+
let r;
|
|
165
|
+
if (/^https?:\/\/[^/?#]/i.test(a))
|
|
166
|
+
r = a;
|
|
167
|
+
else if (a.startsWith("//") && !a.startsWith("///"))
|
|
168
|
+
r = `https:${a}`;
|
|
169
|
+
else if (/^[^/:?#]+\.[^/:?#]+(?:[/:?#]|$)/.test(a))
|
|
170
|
+
r = `https://${a}`;
|
|
171
|
+
else
|
|
172
|
+
return null;
|
|
173
|
+
try {
|
|
174
|
+
const n = new URL(r);
|
|
175
|
+
if (!["http:", "https:"].includes(n.protocol) || !n.hostname || n.username || n.password)
|
|
176
|
+
return null;
|
|
177
|
+
const l = i1.find(
|
|
178
|
+
({ hosts: h }) => h.some((v) => v === n.hostname)
|
|
179
|
+
);
|
|
180
|
+
return {
|
|
181
|
+
href: n.href,
|
|
182
|
+
hostname: n.hostname,
|
|
183
|
+
// A non-standard port can serve something other than the social site.
|
|
184
|
+
provider: n.port ? void 0 : l
|
|
185
|
+
};
|
|
186
|
+
} catch {
|
|
187
|
+
return null;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
const c1 = u(
|
|
191
|
+
[
|
|
192
|
+
// Always inline text, icons included, so a long label wraps like any
|
|
193
|
+
// other text and the trailing glyph follows its last word.
|
|
194
|
+
"ds:inline",
|
|
195
|
+
"ds:underline-offset-4",
|
|
196
|
+
"ds:rounded-[var(--radius-xs)]",
|
|
197
|
+
"ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
198
|
+
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
199
|
+
"ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
200
|
+
"ds:forced-colors:focus-visible:outline-[CanvasText]",
|
|
201
|
+
"ds:aria-disabled:cursor-not-allowed ds:aria-disabled:opacity-50 ds:aria-disabled:no-underline"
|
|
202
|
+
].join(" "),
|
|
203
|
+
{
|
|
204
|
+
variants: {
|
|
205
|
+
variant: {
|
|
206
|
+
default: "",
|
|
207
|
+
social: ""
|
|
208
|
+
},
|
|
209
|
+
intent: {
|
|
210
|
+
// `--primary` falls below 4.5:1 as text on the dark page and on the
|
|
211
|
+
// light app shell, so the link re-points it (and its hover step) at
|
|
212
|
+
// `--primary-readable`, which differs in light and dark but not in
|
|
213
|
+
// the accessible themes. The colour classes stay as they were: a
|
|
214
|
+
// host still on an older token sheet keeps today's look, and a
|
|
215
|
+
// consumer `className` wins or loses exactly as before.
|
|
216
|
+
default: "ds:[--primary:var(--primary-readable)] ds:[--primary-hover:var(--primary-readable-hover)] ds:text-primary ds:underline ds:hover:text-primary-hover ds:active:opacity-80",
|
|
217
|
+
subtle: "ds:text-muted-foreground ds:no-underline ds:hover:text-foreground ds:hover:underline ds:active:opacity-80",
|
|
218
|
+
inverted: "ds:text-primary-foreground ds:underline ds:hover:opacity-90 ds:active:opacity-80"
|
|
219
|
+
},
|
|
220
|
+
weight: {
|
|
221
|
+
normal: "ds:font-normal",
|
|
222
|
+
strong: "ds:font-semibold"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
defaultVariants: {
|
|
226
|
+
variant: "default",
|
|
227
|
+
intent: "default",
|
|
228
|
+
weight: "normal"
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
), M = u("ds:whitespace-nowrap", {
|
|
232
|
+
variants: {
|
|
233
|
+
edge: {
|
|
234
|
+
start: String.raw`ds:after:content-['\2060']`,
|
|
235
|
+
end: String.raw`ds:before:content-['\2060']`
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}), L = u(
|
|
239
|
+
[
|
|
240
|
+
"ds:inline-flex ds:items-center",
|
|
241
|
+
String.raw`ds:before:content-['\2060']`,
|
|
242
|
+
"ds:[&_svg]:size-[1em] ds:[&_svg]:shrink-0"
|
|
243
|
+
].join(" "),
|
|
244
|
+
{
|
|
245
|
+
variants: {
|
|
246
|
+
edge: {
|
|
247
|
+
start: "ds:me-[var(--spacing-xs)]",
|
|
248
|
+
end: "ds:ms-[var(--spacing-xs)]"
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
), d1 = B(
|
|
253
|
+
({
|
|
254
|
+
href: e,
|
|
255
|
+
external: a,
|
|
256
|
+
externalIcon: r = !0,
|
|
257
|
+
disabled: n = !1,
|
|
258
|
+
startIcon: l,
|
|
259
|
+
endIcon: h,
|
|
260
|
+
hasIcon: v,
|
|
261
|
+
intent: b,
|
|
262
|
+
variant: i = "default",
|
|
263
|
+
weight: S,
|
|
264
|
+
className: T,
|
|
265
|
+
children: V,
|
|
266
|
+
target: m,
|
|
267
|
+
rel: f,
|
|
268
|
+
onClick: p,
|
|
269
|
+
...H
|
|
270
|
+
}, N) => {
|
|
271
|
+
var I, z;
|
|
272
|
+
const { t: g } = D("ui"), s = i === "social" ? r1(e ?? "") : null, c = n || i === "social" && !s, k = i === "social" && c, d = a ?? (i === "social" && (!m || m === "_blank")), Z = d ? "_blank" : m, _ = d ? [f, "noopener", "noreferrer"].filter(Boolean).join(" ") : f, A = s != null && s.provider ? n1[s.provider.id] : O, y = l === void 0 && i === "social" ? /* @__PURE__ */ t(A, { "aria-hidden": "true", focusable: "false" }) : l, R = V ?? (i === "social" ? ((I = s == null ? void 0 : s.provider) == null ? void 0 : I.label) || (s == null ? void 0 : s.hostname) || g("contactProfileCard.label.website") : void 0), C = g("link.opensInNewTab", "Opens in a new tab"), E = (x) => {
|
|
273
|
+
if (c) {
|
|
274
|
+
x.preventDefault();
|
|
275
|
+
return;
|
|
276
|
+
}
|
|
277
|
+
p == null || p(x);
|
|
278
|
+
}, w = d && r && !k;
|
|
279
|
+
return /* @__PURE__ */ j(
|
|
280
|
+
"a",
|
|
281
|
+
{
|
|
282
|
+
ref: N,
|
|
283
|
+
href: c ? void 0 : (s == null ? void 0 : s.href) ?? e,
|
|
284
|
+
role: c ? "link" : void 0,
|
|
285
|
+
"aria-disabled": c || void 0,
|
|
286
|
+
target: Z,
|
|
287
|
+
rel: _ || void 0,
|
|
288
|
+
onClick: E,
|
|
289
|
+
"data-component": "link",
|
|
290
|
+
"data-intent": b ?? "default",
|
|
291
|
+
"data-variant": i ?? "default",
|
|
292
|
+
"data-social-network": (z = s == null ? void 0 : s.provider) == null ? void 0 : z.id,
|
|
293
|
+
className: c1({ variant: i, intent: b, weight: S, className: T }),
|
|
294
|
+
...H,
|
|
295
|
+
children: [
|
|
296
|
+
y ? /* @__PURE__ */ t(
|
|
297
|
+
"span",
|
|
298
|
+
{
|
|
299
|
+
"aria-hidden": "true",
|
|
300
|
+
className: M({ edge: "start" }),
|
|
301
|
+
children: /* @__PURE__ */ t("span", { className: L({ edge: "start" }), children: y })
|
|
302
|
+
}
|
|
303
|
+
) : null,
|
|
304
|
+
R,
|
|
305
|
+
w || !d && h ? /* @__PURE__ */ t(
|
|
306
|
+
"span",
|
|
307
|
+
{
|
|
308
|
+
"aria-hidden": "true",
|
|
309
|
+
className: M({ edge: "end" }),
|
|
310
|
+
children: /* @__PURE__ */ t("span", { className: L({ edge: "end" }), children: w ? /* @__PURE__ */ t(P, { className: "ds:size-[1em]" }) : h })
|
|
311
|
+
}
|
|
312
|
+
) : null,
|
|
313
|
+
w ? (
|
|
314
|
+
// Labelled, empty and out of flow: name algorithms add the label
|
|
315
|
+
// after a space, and textContent stays the caller's text.
|
|
316
|
+
/* @__PURE__ */ t("span", { "aria-label": C, className: "ds:sr-only" })
|
|
317
|
+
) : d && !k ? (
|
|
318
|
+
// External wiring without the glyph — keep the SR-only
|
|
319
|
+
// "opens in new tab" announcement so the affordance reads.
|
|
320
|
+
/* @__PURE__ */ t("span", { className: "ds:sr-only", children: C })
|
|
321
|
+
) : null
|
|
322
|
+
]
|
|
323
|
+
}
|
|
324
|
+
);
|
|
325
|
+
}
|
|
326
|
+
);
|
|
327
|
+
d1.displayName = "Link";
|
|
328
|
+
export {
|
|
329
|
+
d1 as L,
|
|
330
|
+
n1 as S
|
|
331
|
+
};
|
|
332
|
+
//# sourceMappingURL=link-DtCfnLnF.js.map
|
|
@@ -11,7 +11,7 @@ import { A as ne } from "./autocomplete-BXMcNoa3.js";
|
|
|
11
11
|
import { N as D } from "./number-input-CVwI1ltI.js";
|
|
12
12
|
import { S as oe } from "./select-4S-eYZUf.js";
|
|
13
13
|
import { B as ue } from "./badge-BUk4RjTS.js";
|
|
14
|
-
import { A as $ } from "./avatar-
|
|
14
|
+
import { A as $ } from "./avatar-a6042Ox2.js";
|
|
15
15
|
import { T as K } from "./tag-DOZGz0fT.js";
|
|
16
16
|
import { T as ce } from "./tooltip-uEBdD1-5.js";
|
|
17
17
|
import { T as X } from "./timestamp-DPLDWdxA.js";
|
|
@@ -864,4 +864,4 @@ export {
|
|
|
864
864
|
Ke as g,
|
|
865
865
|
k as h
|
|
866
866
|
};
|
|
867
|
-
//# sourceMappingURL=link-cell-renderer-
|
|
867
|
+
//# sourceMappingURL=link-cell-renderer-BS3V4LA6.js.map
|
package/dist/_chunks/{marketplace-app-shell-CmZx0Oam.js → marketplace-app-shell-CJQtx3sv.js}
RENAMED
|
@@ -3,7 +3,7 @@ import { forwardRef as V, useState as ve, useCallback as ge, useEffect as K, use
|
|
|
3
3
|
import { useTranslation as B, Trans as xe } from "react-i18next";
|
|
4
4
|
import { c as p } from "./index-D2ZczOXr.js";
|
|
5
5
|
import { A as q } from "./app-frame-DUPEwu4E.js";
|
|
6
|
-
import { A as F } from "./avatar-
|
|
6
|
+
import { A as F } from "./avatar-a6042Ox2.js";
|
|
7
7
|
import { A as be } from "./alert-9kEwDza3.js";
|
|
8
8
|
import { C as U } from "./card-BA4Ig_kn.js";
|
|
9
9
|
import { D as u } from "./dropdown-menu-D1we7oAY.js";
|
|
@@ -656,4 +656,4 @@ export {
|
|
|
656
656
|
na as M,
|
|
657
657
|
y as P
|
|
658
658
|
};
|
|
659
|
-
//# sourceMappingURL=marketplace-app-shell-
|
|
659
|
+
//# sourceMappingURL=marketplace-app-shell-CJQtx3sv.js.map
|
|
@@ -4,7 +4,7 @@ import { c as ss } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as es } from "react-i18next";
|
|
5
5
|
import { I as as } from "./icon-button-S8_weU3g.js";
|
|
6
6
|
import { B as V } from "./button-DohK_Ak_.js";
|
|
7
|
-
import { A as rs } from "./avatar-
|
|
7
|
+
import { A as rs } from "./avatar-a6042Ox2.js";
|
|
8
8
|
import { T as ds } from "./timestamp-DPLDWdxA.js";
|
|
9
9
|
import { i as os } from "./is-safe-url-DkETxeHz.js";
|
|
10
10
|
import { X as ns } from "./x-B5YnXwCz.js";
|
|
@@ -324,4 +324,4 @@ ls.displayName = "MessageCard";
|
|
|
324
324
|
export {
|
|
325
325
|
ls as M
|
|
326
326
|
};
|
|
327
|
-
//# sourceMappingURL=message-card-
|
|
327
|
+
//# sourceMappingURL=message-card-B6SduXJv.js.map
|
|
@@ -11,7 +11,7 @@ import { B as L } from "./button-DohK_Ak_.js";
|
|
|
11
11
|
import { S as F } from "./separator-CYU_bGFn.js";
|
|
12
12
|
import { S as y } from "./skeleton-tTWJpvAq.js";
|
|
13
13
|
import { S as fe } from "./scroll-area-CY5SLYNw.js";
|
|
14
|
-
import { M as ve } from "./message-card-
|
|
14
|
+
import { M as ve } from "./message-card-B6SduXJv.js";
|
|
15
15
|
import { u as he } from "./registry-DvAUVLHh.js";
|
|
16
16
|
import { M as V } from "./mail-BqXVF2zH.js";
|
|
17
17
|
const ye = {
|
|
@@ -498,4 +498,4 @@ export {
|
|
|
498
498
|
Se as M,
|
|
499
499
|
ye as m
|
|
500
500
|
};
|
|
501
|
-
//# sourceMappingURL=message-tray-
|
|
501
|
+
//# sourceMappingURL=message-tray-Cllf-v0G.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s, jsxs as w, Fragment as x } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as N, useMemo as l } from "react";
|
|
3
3
|
import { c as p } from "./index-D2ZczOXr.js";
|
|
4
|
-
import { L as C } from "./link-
|
|
4
|
+
import { L as C } from "./link-DtCfnLnF.js";
|
|
5
5
|
import { u as G } from "./registry-DvAUVLHh.js";
|
|
6
6
|
const I = {
|
|
7
7
|
id: "nav-grid",
|
|
@@ -165,4 +165,4 @@ export {
|
|
|
165
165
|
I as n,
|
|
166
166
|
c as t
|
|
167
167
|
};
|
|
168
|
-
//# sourceMappingURL=nav-grid-
|
|
168
|
+
//# sourceMappingURL=nav-grid-D2xVcHTO.js.map
|
|
@@ -3,7 +3,7 @@ import { e as m } from "./escape-html-Cn9Fao6a.js";
|
|
|
3
3
|
import { jsx as a } from "react/jsx-runtime";
|
|
4
4
|
import { useTranslation as h } from "react-i18next";
|
|
5
5
|
import { B as u } from "./badge-BUk4RjTS.js";
|
|
6
|
-
import { L as g } from "./link-
|
|
6
|
+
import { L as g } from "./link-DtCfnLnF.js";
|
|
7
7
|
import { i as b } from "./is-safe-url-DkETxeHz.js";
|
|
8
8
|
import { S as y } from "./scan-line-CNseIHQ0.js";
|
|
9
9
|
import { L as N } from "./layers-DcAENmsZ.js";
|
|
@@ -119,4 +119,4 @@ export {
|
|
|
119
119
|
U as P,
|
|
120
120
|
I as n
|
|
121
121
|
};
|
|
122
|
-
//# sourceMappingURL=note-attachment-
|
|
122
|
+
//# sourceMappingURL=note-attachment-cnj2JRrg.js.map
|
|
@@ -4,7 +4,7 @@ import { c as h } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as L } from "react-i18next";
|
|
5
5
|
import { SafeHtml as A } from "../safe-html/index.js";
|
|
6
6
|
import { C as P, S as b } from "./skeleton-tTWJpvAq.js";
|
|
7
|
-
import { n as B, P as K, F as O, N as q } from "./note-attachment-
|
|
7
|
+
import { n as B, P as K, F as O, N as q } from "./note-attachment-cnj2JRrg.js";
|
|
8
8
|
import { u as G } from "./registry-DvAUVLHh.js";
|
|
9
9
|
const J = {
|
|
10
10
|
id: "note-timeline",
|
|
@@ -330,4 +330,4 @@ export {
|
|
|
330
330
|
X as N,
|
|
331
331
|
J as n
|
|
332
332
|
};
|
|
333
|
-
//# sourceMappingURL=note-timeline-
|
|
333
|
+
//# sourceMappingURL=note-timeline-BrjHBQfx.js.map
|
|
@@ -4,7 +4,7 @@ import { c as Et } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as kn } from "react-i18next";
|
|
5
5
|
import { g as mt, h as Rt } from "./handled-rejection-6gqCf5vt.js";
|
|
6
6
|
import { u as zn } from "./registry-DvAUVLHh.js";
|
|
7
|
-
import { C as Hn } from "./clinical-note-card-
|
|
7
|
+
import { C as Hn } from "./clinical-note-card-Cut2lNmu.js";
|
|
8
8
|
import { R as Mn } from "./rich-text-editor-BfEu57dk.js";
|
|
9
9
|
import { T as Wn } from "./text-area-COMVJ1yE.js";
|
|
10
10
|
import { A as j } from "./alert-9kEwDza3.js";
|
|
@@ -1109,4 +1109,4 @@ const jr = qn(
|
|
|
1109
1109
|
export {
|
|
1110
1110
|
jr as N
|
|
1111
1111
|
};
|
|
1112
|
-
//# sourceMappingURL=notes-panel-
|
|
1112
|
+
//# sourceMappingURL=notes-panel-ib7I3aNf.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { A as
|
|
6
|
-
import { B
|
|
7
|
-
import { C as
|
|
8
|
-
import { R as
|
|
9
|
-
import { f as
|
|
10
|
-
import { u as
|
|
11
|
-
import { u as
|
|
12
|
-
import { c as
|
|
13
|
-
const
|
|
2
|
+
import { forwardRef as P, useId as z, useRef as j } from "react";
|
|
3
|
+
import { c as I } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as T } from "react-i18next";
|
|
5
|
+
import { A as V } from "./avatar-a6042Ox2.js";
|
|
6
|
+
import { B } from "./badge-BUk4RjTS.js";
|
|
7
|
+
import { C as K } from "./card-BA4Ig_kn.js";
|
|
8
|
+
import { R as S } from "./rating-CGYpg5dj.js";
|
|
9
|
+
import { f as E } from "./format-number-DdzqwMs1.js";
|
|
10
|
+
import { u as M } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
11
|
+
import { u as W } from "./registry-DvAUVLHh.js";
|
|
12
|
+
import { c as $ } from "./entity-card-fpm-KUKc.js";
|
|
13
|
+
const q = {
|
|
14
14
|
id: "operator-hero",
|
|
15
15
|
// Purely observable hero region — no interactive affordances and no
|
|
16
16
|
// imperative actions on the handle (getName / getHasColor are read-only
|
|
@@ -44,7 +44,7 @@ const $ = {
|
|
|
44
44
|
description: "Sourced from the id prop."
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
},
|
|
47
|
+
}, D = I("ds:w-full ds:text-[color:var(--foreground)]", {
|
|
48
48
|
variants: {
|
|
49
49
|
// Density toggle. Default `comfortable` matches the practice hero's
|
|
50
50
|
// visual weight minus the cover strip. `compact` is for embedded
|
|
@@ -65,51 +65,53 @@ const $ = {
|
|
|
65
65
|
density: "comfortable",
|
|
66
66
|
surface: "elevated"
|
|
67
67
|
}
|
|
68
|
-
}),
|
|
68
|
+
}), F = P(
|
|
69
69
|
({
|
|
70
70
|
name: r,
|
|
71
71
|
colorId: l,
|
|
72
72
|
tagline: p,
|
|
73
73
|
imageUrl: x,
|
|
74
|
+
imageAlt: b,
|
|
74
75
|
rating: a,
|
|
75
76
|
badges: i,
|
|
76
77
|
actionSlot: m,
|
|
77
78
|
density: s = "comfortable",
|
|
78
79
|
surface: u = "elevated",
|
|
79
|
-
"aria-label":
|
|
80
|
+
"aria-label": y,
|
|
80
81
|
id: n,
|
|
81
|
-
className:
|
|
82
|
-
...
|
|
83
|
-
},
|
|
84
|
-
const { t: c, i18n:
|
|
85
|
-
|
|
86
|
-
|
|
82
|
+
className: N,
|
|
83
|
+
...H
|
|
84
|
+
}, C) => {
|
|
85
|
+
const { t: c, i18n: k } = T("ui"), f = z(), R = y ?? c("operatorHero.regionLabel"), d = l != null, v = j(null);
|
|
86
|
+
W(
|
|
87
|
+
q,
|
|
87
88
|
{ getName: () => r, getHasColor: () => d },
|
|
88
89
|
n
|
|
89
|
-
),
|
|
90
|
+
), M(() => {
|
|
90
91
|
const o = v.current;
|
|
91
|
-
o && (d ? o.style.setProperty("--operator-hero-color",
|
|
92
|
+
o && (d ? o.style.setProperty("--operator-hero-color", $(l)) : o.style.removeProperty("--operator-hero-color"));
|
|
92
93
|
}, [d, l]);
|
|
93
|
-
const g = a ?
|
|
94
|
+
const g = a ? E(a.value, k.language) : void 0, L = a ? c("operatorHero.ratingLabel", {
|
|
94
95
|
value: g,
|
|
95
96
|
count: a.count
|
|
96
|
-
}) : void 0,
|
|
97
|
+
}) : void 0, w = s === "comfortable" ? "ds:pt-[var(--spacing-md)] ds:pb-[var(--spacing-md)]" : "ds:pt-[var(--spacing-sm)] ds:pb-[var(--spacing-sm)]", A = s === "comfortable" ? "2xl" : "xl", O = s === "comfortable" ? "type-title-page" : "type-title-card", h = /* @__PURE__ */ t(
|
|
97
98
|
"div",
|
|
98
99
|
{
|
|
99
100
|
className: [
|
|
100
101
|
"ds:flex ds:items-start ds:gap-[var(--spacing-lg)]",
|
|
101
|
-
|
|
102
|
+
w,
|
|
102
103
|
"ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]"
|
|
103
104
|
].join(" "),
|
|
104
105
|
children: [
|
|
105
106
|
/* @__PURE__ */ e(
|
|
106
|
-
|
|
107
|
+
V,
|
|
107
108
|
{
|
|
108
|
-
size:
|
|
109
|
+
size: A,
|
|
109
110
|
shape: "rounded",
|
|
110
111
|
ratio: "3:4",
|
|
111
112
|
name: r,
|
|
112
113
|
src: x,
|
|
114
|
+
alt: b,
|
|
113
115
|
className: "ds:shrink-0"
|
|
114
116
|
}
|
|
115
117
|
),
|
|
@@ -119,7 +121,7 @@ const $ = {
|
|
|
119
121
|
"h1",
|
|
120
122
|
{
|
|
121
123
|
id: f,
|
|
122
|
-
className: `${
|
|
124
|
+
className: `${O} ds:m-0 ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:text-[color:var(--foreground)]`,
|
|
123
125
|
children: [
|
|
124
126
|
d ? /* @__PURE__ */ e(
|
|
125
127
|
"span",
|
|
@@ -153,10 +155,10 @@ const $ = {
|
|
|
153
155
|
{
|
|
154
156
|
role: "img",
|
|
155
157
|
className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
156
|
-
"aria-label":
|
|
158
|
+
"aria-label": L,
|
|
157
159
|
children: [
|
|
158
160
|
/* @__PURE__ */ e(
|
|
159
|
-
|
|
161
|
+
S,
|
|
160
162
|
{
|
|
161
163
|
value: a.value,
|
|
162
164
|
max: 5,
|
|
@@ -179,7 +181,7 @@ const $ = {
|
|
|
179
181
|
role: "list",
|
|
180
182
|
className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-2xs)] ds:mt-[var(--spacing-2xs)]",
|
|
181
183
|
children: i.map((o) => /* @__PURE__ */ e(
|
|
182
|
-
|
|
184
|
+
B,
|
|
183
185
|
{
|
|
184
186
|
variant: o.variant ?? "neutral",
|
|
185
187
|
role: "listitem",
|
|
@@ -196,24 +198,24 @@ const $ = {
|
|
|
196
198
|
return /* @__PURE__ */ e(
|
|
197
199
|
"div",
|
|
198
200
|
{
|
|
199
|
-
ref:
|
|
201
|
+
ref: C,
|
|
200
202
|
role: "region",
|
|
201
|
-
"aria-label":
|
|
203
|
+
"aria-label": R,
|
|
202
204
|
"aria-labelledby": f,
|
|
203
205
|
"data-component": "operator-hero",
|
|
204
206
|
"data-component-id": n,
|
|
205
207
|
"data-density": s,
|
|
206
208
|
id: n,
|
|
207
|
-
className:
|
|
208
|
-
...
|
|
209
|
-
children: u === "elevated" ? /* @__PURE__ */ e(
|
|
209
|
+
className: D({ surface: u, density: s, className: N }),
|
|
210
|
+
...H,
|
|
211
|
+
children: u === "elevated" ? /* @__PURE__ */ e(K, { variant: "elevated", children: h }) : h
|
|
210
212
|
}
|
|
211
213
|
);
|
|
212
214
|
}
|
|
213
215
|
);
|
|
214
|
-
|
|
216
|
+
F.displayName = "OperatorHero";
|
|
215
217
|
export {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
+
F as O,
|
|
219
|
+
q as o
|
|
218
220
|
};
|
|
219
|
-
//# sourceMappingURL=operator-hero-
|
|
221
|
+
//# sourceMappingURL=operator-hero-C_5B-8Qp.js.map
|