@42-central/ui-react 0.20.0 → 0.20.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-P276SCCV.js → chunk-2BNIHOMT.js} +6 -6
- package/dist/{chunk-P276SCCV.js.map → chunk-2BNIHOMT.js.map} +1 -1
- package/dist/{chunk-PAFS7TED.js → chunk-2HIX6DKN.js} +3 -3
- package/dist/{chunk-PAFS7TED.js.map → chunk-2HIX6DKN.js.map} +1 -1
- package/dist/{chunk-Z5WYYDG2.js → chunk-2MXWEIMD.js} +7 -4
- package/dist/chunk-2MXWEIMD.js.map +1 -0
- package/dist/{chunk-VVM7JMZS.js → chunk-37VQGKD6.js} +8 -8
- package/dist/{chunk-VVM7JMZS.js.map → chunk-37VQGKD6.js.map} +1 -1
- package/dist/{chunk-7R4CDHBK.js → chunk-45QRQKRC.js} +4 -4
- package/dist/{chunk-7R4CDHBK.js.map → chunk-45QRQKRC.js.map} +1 -1
- package/dist/{chunk-FZNPJAGJ.js → chunk-45TG7H5Q.js} +5 -5
- package/dist/{chunk-FZNPJAGJ.js.map → chunk-45TG7H5Q.js.map} +1 -1
- package/dist/{chunk-MKJKCBRE.js → chunk-47LEAR6G.js} +6 -6
- package/dist/{chunk-MKJKCBRE.js.map → chunk-47LEAR6G.js.map} +1 -1
- package/dist/chunk-4ASNIDV7.js +17 -0
- package/dist/chunk-4ASNIDV7.js.map +1 -0
- package/dist/{chunk-WFHY6NRQ.js → chunk-5CNVVA7I.js} +11 -11
- package/dist/{chunk-WFHY6NRQ.js.map → chunk-5CNVVA7I.js.map} +1 -1
- package/dist/{chunk-2TM7UVM2.js → chunk-6M6YZ3PQ.js} +4 -4
- package/dist/{chunk-2TM7UVM2.js.map → chunk-6M6YZ3PQ.js.map} +1 -1
- package/dist/{chunk-4BGU2UQB.js → chunk-6VYGK3Q3.js} +6 -6
- package/dist/{chunk-4BGU2UQB.js.map → chunk-6VYGK3Q3.js.map} +1 -1
- package/dist/{chunk-ZFUTGBJC.js → chunk-6YNLRQ25.js} +3 -3
- package/dist/{chunk-ZFUTGBJC.js.map → chunk-6YNLRQ25.js.map} +1 -1
- package/dist/{chunk-6OV6EJQ2.js → chunk-7AQ4MN4M.js} +6 -6
- package/dist/{chunk-6OV6EJQ2.js.map → chunk-7AQ4MN4M.js.map} +1 -1
- package/dist/{chunk-5337N3FE.js → chunk-7BOSX65U.js} +3 -3
- package/dist/{chunk-5337N3FE.js.map → chunk-7BOSX65U.js.map} +1 -1
- package/dist/{chunk-THLMW5IU.js → chunk-7CNDZZZ6.js} +4 -4
- package/dist/{chunk-THLMW5IU.js.map → chunk-7CNDZZZ6.js.map} +1 -1
- package/dist/{chunk-LJ3GHC4V.js → chunk-BE2LWUHY.js} +5 -5
- package/dist/{chunk-LJ3GHC4V.js.map → chunk-BE2LWUHY.js.map} +1 -1
- package/dist/{chunk-2KN3MI7I.js → chunk-C4NFRSOR.js} +4 -4
- package/dist/{chunk-2KN3MI7I.js.map → chunk-C4NFRSOR.js.map} +1 -1
- package/dist/{chunk-3REFDGOM.js → chunk-C6NVU4F7.js} +3 -3
- package/dist/{chunk-3REFDGOM.js.map → chunk-C6NVU4F7.js.map} +1 -1
- package/dist/{chunk-LSIX2PVU.js → chunk-C74TV64U.js} +7 -7
- package/dist/{chunk-LSIX2PVU.js.map → chunk-C74TV64U.js.map} +1 -1
- package/dist/{chunk-HVOEVB4E.js → chunk-D2QIPQ74.js} +3 -3
- package/dist/{chunk-HVOEVB4E.js.map → chunk-D2QIPQ74.js.map} +1 -1
- package/dist/{chunk-4EU6FGGB.js → chunk-DA4QII2N.js} +4 -4
- package/dist/{chunk-4EU6FGGB.js.map → chunk-DA4QII2N.js.map} +1 -1
- package/dist/{chunk-LZWA7V62.js → chunk-DJLNGWMM.js} +5 -5
- package/dist/{chunk-LZWA7V62.js.map → chunk-DJLNGWMM.js.map} +1 -1
- package/dist/{chunk-HEQ2H6VO.js → chunk-DT6LKNZF.js} +4 -4
- package/dist/{chunk-HEQ2H6VO.js.map → chunk-DT6LKNZF.js.map} +1 -1
- package/dist/{chunk-BUFALAEK.js → chunk-E5H3YWZV.js} +4 -4
- package/dist/{chunk-BUFALAEK.js.map → chunk-E5H3YWZV.js.map} +1 -1
- package/dist/{chunk-H7INUXZD.js → chunk-F342ZT7O.js} +4 -4
- package/dist/{chunk-H7INUXZD.js.map → chunk-F342ZT7O.js.map} +1 -1
- package/dist/{chunk-KOT4PWGE.js → chunk-FDCPMUJK.js} +6 -6
- package/dist/{chunk-KOT4PWGE.js.map → chunk-FDCPMUJK.js.map} +1 -1
- package/dist/{chunk-VALQ2XVA.js → chunk-H3PYSAWN.js} +3 -3
- package/dist/{chunk-VALQ2XVA.js.map → chunk-H3PYSAWN.js.map} +1 -1
- package/dist/{chunk-WR444JRU.js → chunk-HQPU73WV.js} +7 -7
- package/dist/{chunk-WR444JRU.js.map → chunk-HQPU73WV.js.map} +1 -1
- package/dist/{chunk-Q5ZO2O25.js → chunk-HRNWWL3Y.js} +6 -6
- package/dist/{chunk-Q5ZO2O25.js.map → chunk-HRNWWL3Y.js.map} +1 -1
- package/dist/{chunk-HBFN5W7Q.js → chunk-JVG5ISPT.js} +4 -4
- package/dist/{chunk-HBFN5W7Q.js.map → chunk-JVG5ISPT.js.map} +1 -1
- package/dist/{chunk-JL4QMM46.js → chunk-LFQDB5OD.js} +5 -5
- package/dist/{chunk-JL4QMM46.js.map → chunk-LFQDB5OD.js.map} +1 -1
- package/dist/{chunk-U2PNMMDB.js → chunk-LKFHUDEW.js} +7 -7
- package/dist/{chunk-U2PNMMDB.js.map → chunk-LKFHUDEW.js.map} +1 -1
- package/dist/{chunk-2SVX3MQQ.js → chunk-MW42XVPD.js} +3 -3
- package/dist/{chunk-2SVX3MQQ.js.map → chunk-MW42XVPD.js.map} +1 -1
- package/dist/{chunk-S4TRYMCU.js → chunk-MXAACRWE.js} +6 -6
- package/dist/{chunk-S4TRYMCU.js.map → chunk-MXAACRWE.js.map} +1 -1
- package/dist/{chunk-ZN3WYGIQ.js → chunk-N66NC6QK.js} +121 -25
- package/dist/chunk-N66NC6QK.js.map +1 -0
- package/dist/{chunk-DUPE2CRU.js → chunk-NKOTA5TM.js} +3 -3
- package/dist/{chunk-DUPE2CRU.js.map → chunk-NKOTA5TM.js.map} +1 -1
- package/dist/{chunk-RGLNH7A5.js → chunk-NLOBBJAA.js} +3 -3
- package/dist/{chunk-RGLNH7A5.js.map → chunk-NLOBBJAA.js.map} +1 -1
- package/dist/{chunk-FXDLS23K.js → chunk-NS6RGPWR.js} +3 -3
- package/dist/{chunk-FXDLS23K.js.map → chunk-NS6RGPWR.js.map} +1 -1
- package/dist/{chunk-ZWOZL4XX.js → chunk-O5W3QWJ6.js} +5 -5
- package/dist/{chunk-ZWOZL4XX.js.map → chunk-O5W3QWJ6.js.map} +1 -1
- package/dist/{chunk-PD4FX34E.js → chunk-O7LS6OZR.js} +4 -4
- package/dist/{chunk-PD4FX34E.js.map → chunk-O7LS6OZR.js.map} +1 -1
- package/dist/{chunk-K6BHDFX3.js → chunk-QKSLDQM2.js} +3 -3
- package/dist/{chunk-K6BHDFX3.js.map → chunk-QKSLDQM2.js.map} +1 -1
- package/dist/{chunk-CDHIF2NV.js → chunk-QNKD2SQM.js} +8 -8
- package/dist/{chunk-CDHIF2NV.js.map → chunk-QNKD2SQM.js.map} +1 -1
- package/dist/{chunk-SE3CGQRO.js → chunk-RLOWPCGG.js} +3 -3
- package/dist/{chunk-SE3CGQRO.js.map → chunk-RLOWPCGG.js.map} +1 -1
- package/dist/{chunk-R57QP43T.js → chunk-SVKN5ZHX.js} +4 -4
- package/dist/{chunk-R57QP43T.js.map → chunk-SVKN5ZHX.js.map} +1 -1
- package/dist/{chunk-NJ4RO3CT.js → chunk-SWVUXEBT.js} +5 -5
- package/dist/{chunk-NJ4RO3CT.js.map → chunk-SWVUXEBT.js.map} +1 -1
- package/dist/{chunk-GGT4GJD6.js → chunk-TWNIAF7K.js} +3 -3
- package/dist/{chunk-GGT4GJD6.js.map → chunk-TWNIAF7K.js.map} +1 -1
- package/dist/{chunk-4TCTMRR5.js → chunk-UAYENYS2.js} +5 -5
- package/dist/{chunk-4TCTMRR5.js.map → chunk-UAYENYS2.js.map} +1 -1
- package/dist/{chunk-DHTSVJ4G.js → chunk-UCCJUFOG.js} +9 -9
- package/dist/{chunk-DHTSVJ4G.js.map → chunk-UCCJUFOG.js.map} +1 -1
- package/dist/{chunk-HDRC6ITF.js → chunk-UT3TOV2Q.js} +3 -3
- package/dist/{chunk-HDRC6ITF.js.map → chunk-UT3TOV2Q.js.map} +1 -1
- package/dist/{chunk-6KER77RS.js → chunk-UVQXRDRO.js} +7 -7
- package/dist/{chunk-6KER77RS.js.map → chunk-UVQXRDRO.js.map} +1 -1
- package/dist/{chunk-R52P43LZ.js → chunk-UXPINIDN.js} +3 -3
- package/dist/{chunk-R52P43LZ.js.map → chunk-UXPINIDN.js.map} +1 -1
- package/dist/chunk-V6PY7C6S.js +18 -0
- package/dist/chunk-V6PY7C6S.js.map +1 -0
- package/dist/{chunk-45DFYIK5.js → chunk-VD6PB3VA.js} +3 -3
- package/dist/{chunk-45DFYIK5.js.map → chunk-VD6PB3VA.js.map} +1 -1
- package/dist/{chunk-7AWOMWCQ.js → chunk-WXL5RP6P.js} +7 -7
- package/dist/{chunk-7AWOMWCQ.js.map → chunk-WXL5RP6P.js.map} +1 -1
- package/dist/{chunk-IMP5VHEN.js → chunk-XKDL4QS6.js} +3 -3
- package/dist/{chunk-IMP5VHEN.js.map → chunk-XKDL4QS6.js.map} +1 -1
- package/dist/{chunk-H26K66EU.js → chunk-Y57NW6G7.js} +3 -3
- package/dist/{chunk-H26K66EU.js.map → chunk-Y57NW6G7.js.map} +1 -1
- package/dist/{chunk-2OQP7UY4.js → chunk-YZJUPYPO.js} +5 -5
- package/dist/{chunk-2OQP7UY4.js.map → chunk-YZJUPYPO.js.map} +1 -1
- package/dist/{chunk-JYK6JVR3.js → chunk-Z4MBCKG5.js} +8 -8
- package/dist/{chunk-JYK6JVR3.js.map → chunk-Z4MBCKG5.js.map} +1 -1
- package/dist/components/accordion/index.js +5 -5
- package/dist/components/action-icon/index.js +4 -4
- package/dist/components/alert/index.js +6 -6
- package/dist/components/ambient-background/index.js +1 -1
- package/dist/components/app-shell/index.js +6 -6
- package/dist/components/aspect-ratio/index.js +1 -1
- package/dist/components/autocomplete/index.js +7 -6
- package/dist/components/autocomplete/index.js.map +1 -1
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/badge/index.js +3 -3
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/button/index.js +4 -4
- package/dist/components/button-group/index.js +2 -2
- package/dist/components/button-multi-select/index.js +7 -7
- package/dist/components/button-select/index.js +7 -7
- package/dist/components/calendar/index.js +6 -6
- package/dist/components/camera/index.js +15 -14
- package/dist/components/card/card.d.ts.map +1 -1
- package/dist/components/card/index.js +2 -2
- package/dist/components/carousel/index.js +3 -3
- package/dist/components/chart/index.js +1 -1
- package/dist/components/checkbox/index.js +6 -6
- package/dist/components/choice-card-group/index.js +5 -5
- package/dist/components/circular-progress/index.js +1 -1
- package/dist/components/clipboard/index.js +6 -6
- package/dist/components/code/index.js +2 -2
- package/dist/components/code-block/chrome.js +7 -7
- package/dist/components/code-block/index.js +8 -8
- package/dist/components/code-block/static.js +4 -1
- package/dist/components/code-block/static.js.map +1 -1
- package/dist/components/collapse/index.js +2 -2
- package/dist/components/combobox/index.js +7 -6
- package/dist/components/combobox-list/index.js +9 -8
- package/dist/components/compare/index.js +2 -2
- package/dist/components/container/index.js +1 -1
- package/dist/components/data-table/index.js +33 -33
- package/dist/components/date-picker/index.js +16 -15
- package/dist/components/date-picker/index.js.map +1 -1
- package/dist/components/divider/index.js +2 -2
- package/dist/components/download-button/index.js +5 -5
- package/dist/components/drawer/index.js +6 -6
- package/dist/components/field/index.js +2 -2
- package/dist/components/figure/index.js +2 -2
- package/dist/components/file-item/index.js +8 -8
- package/dist/components/file-preview/index.js +6 -6
- package/dist/components/file-queue-summary/index.js +2 -2
- package/dist/components/file-trigger/index.js +5 -5
- package/dist/components/file-upload/index.js +10 -10
- package/dist/components/flex/index.js +2 -2
- package/dist/components/gallery/index.js +4 -4
- package/dist/components/grid/index.js +1 -1
- package/dist/components/hover-card/hover-card.d.ts +44 -26
- package/dist/components/hover-card/hover-card.d.ts.map +1 -1
- package/dist/components/hover-card/index.js +36 -54
- package/dist/components/hover-card/index.js.map +1 -1
- package/dist/components/image/index.js +2 -2
- package/dist/components/image-cropper/index.js +7 -7
- package/dist/components/indicator/index.js +1 -1
- package/dist/components/input/index.js +3 -3
- package/dist/components/kbd/index.js +3 -3
- package/dist/components/lightbox/index.js +9 -9
- package/dist/components/mark/index.js +2 -2
- package/dist/components/menu/index.js +5 -5
- package/dist/components/modal/index.js +6 -6
- package/dist/components/multi-combobox-list/index.js +11 -10
- package/dist/components/multi-select/index.js +10 -9
- package/dist/components/multi-select/index.js.map +1 -1
- package/dist/components/nav-link/index.js +5 -5
- package/dist/components/nav-link/tanstack.js +5 -5
- package/dist/components/notification/index.js +7 -7
- package/dist/components/number-input/index.js +7 -6
- package/dist/components/overlays/index.js +8 -8
- package/dist/components/password-input/index.js +4 -4
- package/dist/components/photo-capture/index.js +18 -17
- package/dist/components/photo-capture/index.js.map +1 -1
- package/dist/components/pill/index.js +3 -3
- package/dist/components/pills-input/index.js +6 -6
- package/dist/components/pin-input/index.js +3 -3
- package/dist/components/popover/index.d.ts +1 -1
- package/dist/components/popover/index.d.ts.map +1 -1
- package/dist/components/popover/index.js +3 -2
- package/dist/components/popover/popover.d.ts +44 -29
- package/dist/components/popover/popover.d.ts.map +1 -1
- package/dist/components/progress/index.js +2 -2
- package/dist/components/radio-group/index.js +4 -4
- package/dist/components/rating/index.js +3 -3
- package/dist/components/schedule/index.js +10 -10
- package/dist/components/segment-group/index.js +3 -3
- package/dist/components/select/index.js +8 -7
- package/dist/components/skeleton/index.js +2 -2
- package/dist/components/slider/index.js +4 -4
- package/dist/components/spinner/index.js +2 -2
- package/dist/components/spotlight/index.js +16 -15
- package/dist/components/spotlight/index.js.map +1 -1
- package/dist/components/switch/index.js +3 -3
- package/dist/components/table/index.js +3 -3
- package/dist/components/tabs/index.js +3 -3
- package/dist/components/tags-input/index.js +9 -8
- package/dist/components/tags-input/index.js.map +1 -1
- package/dist/components/text/index.js +2 -2
- package/dist/components/text-input/index.js +3 -3
- package/dist/components/textarea/index.js +3 -3
- package/dist/components/theme-icon/index.js +3 -3
- package/dist/components/time-input/index.js +9 -8
- package/dist/components/time-input/index.js.map +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/title/index.js +2 -2
- package/dist/components/tooltip/index.js +4 -4
- package/dist/components/tree-multi-select/index.js +11 -10
- package/dist/components/tree-multi-select/index.js.map +1 -1
- package/dist/components/tree-select/index.js +8 -7
- package/dist/components/tree-select/index.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/lib/cn.d.ts.map +1 -1
- package/dist/lib/cn.js +1 -1
- package/dist/lib/placement.d.ts +42 -1
- package/dist/lib/placement.d.ts.map +1 -1
- package/dist/lib/slide-on-switch.d.ts +69 -0
- package/dist/lib/slide-on-switch.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/components/card/card.test.tsx +10 -0
- package/src/components/card/card.tsx +4 -1
- package/src/components/hover-card/hover-card.tsx +89 -167
- package/src/components/popover/index.ts +2 -0
- package/src/components/popover/popover.test.tsx +131 -0
- package/src/components/popover/popover.tsx +191 -53
- package/src/lib/cn.test.ts +9 -0
- package/src/lib/cn.ts +9 -1
- package/src/lib/placement.test.ts +37 -0
- package/src/lib/placement.ts +60 -1
- package/src/lib/slide-on-switch.ts +99 -0
- package/dist/chunk-G52U24GR.js +0 -10
- package/dist/chunk-G52U24GR.js.map +0 -1
- package/dist/chunk-QP4I37PA.js +0 -14
- package/dist/chunk-QP4I37PA.js.map +0 -1
- package/dist/chunk-Z5WYYDG2.js.map +0 -1
- package/dist/chunk-ZN3WYGIQ.js.map +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AAAA,UAAA,MAAA,GACG,MAAA,CAAO,IAAI,CAAC,KAAA,yBACT,QAAA,CAAS,KAAA,EAAT,EAAiC,KAAA,EAAO,KAAA,CAAM,KAAA,EAC5C,gBAAM,KAAA,CAAM,GAAA,CAAI,YAAY,CAAA,EAAA,EADV,KAAA,CAAM,KAE3B,CACD,CAAA,GACD,KAAA,CAAM,GAAA,CAAI,YAAY,CAAA;AAAA,UACzB,SAAS,IAAA,oBAAQ,GAAA,CAAC,QAAA,CAAS,KAAA,EAAT,EAAgB,QAAA,EAAA,KAAA,EAAM;AAAA,SAAA,EAC3C;AAAA;AAAA;AAAA,GACF;AAGF,EAAA,uBACE,GAAA;AAAA,IAAC,UAAA;AAAA,IAAA;AAAA,MACC,KAAA;AAAA,MACA,WAAA;AAAA,MACA,KAAA;AAAA,MACA,QAAA;AAAA,MACA,QAAA;AAAA,MACA,IAAA;AAAA,MACA,WAAW,UAAA,EAAY,KAAA;AAAA,MAEtB,QAAA,EAAA;AAAA;AAAA,GACH;AAEJ","file":"index.js","sourcesContent":["\"use client\"\n\nimport { Combobox as ArkCombobox } from \"@ark-ui/react/combobox\"\nimport { type FocusEvent, type ReactNode, type Ref, useMemo } from \"react\"\nimport { cn } from \"../../lib/cn\"\nimport { controlOpenProps } from \"../../lib/control-open\"\nimport { props } from \"../../lib/props\"\nimport {\n type ClearSectionMode,\n filterSelectData,\n type ItemRenderState,\n type NormalizedItem,\n type NormalizedItemOf,\n normalizeSelectData,\n type SelectData,\n type SelectPayload,\n useLabelSearch,\n} from \"../../lib/select-data\"\nimport type { WithTestId } from \"../../lib/test-id\"\nimport { useUncontrolled } from \"../../lib/use-uncontrolled\"\nimport {\n Combobox,\n type ComboboxTranslations,\n resolveComboboxTranslations,\n} from \"../combobox/combobox\"\nimport { type FieldProps, FieldShell } from \"../field/field\"\nimport { type InputSize, type InputVariant, inputControlClasses, inputSlot } from \"../input/input\"\nimport { CloseIcon } from \"../popover/icons\"\nimport { popoverClearTrigger } from \"../popover/popover\"\n\n/**\n * Autocomplete — free-text input with a suggestion popover, on the `Combobox`\n * engine. Unlike `Select`, the **value is the typed string** (`allowCustomValue`):\n * `data` are only suggestions, and the user can type anything or pick one.\n *\n * - `data` accepts the same shapes as `Select` (strings / objects / groups).\n * - Suggestions filter as you type. Once the query exactly\n * matches a suggestion (e.g. right after picking one) the full list shows\n * again rather than collapsing to that single match.\n * - Label / description / error come from the built-in `Field` wrapper.\n */\n\ntype AutocompleteClassNames = {\n field?: string\n control?: string\n input?: string\n option?: string\n popover?: string\n}\n\nexport type AutocompleteProps<Data extends SelectData = SelectData> = Pick<\n FieldProps,\n \"label\" | \"description\" | \"error\" | \"required\"\n> &\n WithTestId & {\n /** Suggestions: `string[]`, `{ value, label?, disabled? }[]`, or `{ group, items }[]`. */\n data: Data\n /** Controlled input text (this is the value). */\n value?: string\n /** Uncontrolled initial text. */\n defaultValue?: string\n /** Fires with the input text on every change (typing or picking a suggestion). */\n onChange?: (value: string) => void\n /**\n * Render each suggestion yourself. Receives the item — including its typed\n * `payload` — and its live `{ selected, highlighted }` state; you own the whole\n * row, including any check affordance. Omit it to render the label + selected\n * check.\n */\n renderItem?: (item: NormalizedItem<SelectPayload<Data>>, state: ItemRenderState) => ReactNode\n /** Placeholder shown while the field is empty — this same field also filters the\n * suggestion list, so there's no separate search placeholder. */\n placeholder?: string\n /** Show a clear button once there's text. */\n clearable?: boolean\n /** Whether the clear button replaces the chevron (`\"replace\"`, default) or sits beside it (`\"both\"`). */\n clearSectionMode?: ClearSectionMode\n /** Inline-start adornment (icon, label). */\n startSlot?: ReactNode\n /** Inline-end adornment — rendered before the clear button / chevron. */\n endSlot?: ReactNode\n /** Message shown when no suggestion matches. Pass `null` to render nothing. */\n empty?: ReactNode\n size?: InputSize\n variant?: InputVariant\n disabled?: boolean\n readOnly?: boolean\n /** Red invalid state, independent of (and OR'd with) `error`. */\n invalid?: boolean\n /** Name for the underlying input (form submission). */\n name?: string\n /** Forwarded to the input; drives touched/blurred validation. */\n onBlur?: (event: FocusEvent<HTMLInputElement>) => void\n /** Lands on the focusable `<input>` for focus-on-error. */\n ref?: Ref<HTMLInputElement>\n className?: string\n classNames?: AutocompleteClassNames\n /** Overrides the clear button's (`clearTriggerLabel`, default `\"Clear value\"`) and the\n * chevron's (`triggerLabel`, default `\"Show options\"`) accessible names. A partial\n * override keeps the other default. */\n translations?: AutocompleteTranslations\n }\n\n/** The combobox family's wording, as `Autocomplete` uses it — see `ComboboxTranslations`. */\nexport type AutocompleteTranslations = ComboboxTranslations\n\nexport const Autocomplete = <const Data extends SelectData = SelectData>({\n data,\n value,\n defaultValue,\n onChange,\n renderItem,\n placeholder,\n clearable,\n clearSectionMode = \"replace\",\n startSlot,\n endSlot,\n empty = \"Nothing found\",\n size = \"md\",\n variant = \"default\",\n disabled,\n readOnly,\n required,\n invalid,\n name,\n onBlur,\n ref,\n label,\n description,\n error,\n className,\n classNames,\n testId,\n translations,\n}: AutocompleteProps<Data>) => {\n const resolvedTranslations = resolveComboboxTranslations(translations)\n // Red state is driven independently of the `Field` error slot so a form\n // library can flip it from `fieldState.invalid` (see FormControlProps).\n const isInvalid = invalid || error != null\n\n const [query, setQuery] = useUncontrolled({\n value,\n defaultValue,\n onChange,\n finalValue: \"\",\n })\n\n // Clear shows once there's text; in \"replace\" mode it hides the chevron.\n const showClear = Boolean(clearable && query)\n\n // Normalize once per `data`; only the filter re-runs as the query changes.\n const normalized = useMemo(() => normalizeSelectData(data), [data])\n const search = useLabelSearch()\n const { collection, items, groups } = useMemo(() => {\n // Once the query exactly matches an option (e.g. right after\n // picking one) show the full list again rather than just that match.\n const exact = normalized.items.some((i) => search.equals(i.label, query))\n return filterSelectData(normalized, (item) => exact || search.matches(item.label, query))\n }, [normalized, query, search])\n\n const renderOption = (item: NormalizedItemOf<Data>) => (\n <Combobox.Item\n key={item.value}\n item={item}\n data-testid={item.testId}\n className={classNames?.option}\n >\n {renderItem ? (state) => renderItem(item, state) : item.label}\n </Combobox.Item>\n )\n\n const control = (\n <Combobox.Root\n collection={collection}\n inputValue={query}\n onInputValueChange={(details) => setQuery(details.inputValue)}\n allowCustomValue\n openOnClick\n disabled={disabled}\n readOnly={readOnly}\n size={size}\n variant={variant}\n className={className}\n translations={resolvedTranslations}\n >\n <Combobox.Context>\n {(api) => (\n <Combobox.Control\n className={classNames?.control}\n startSlot={startSlot}\n {...props({ \"data-invalid\": isInvalid })}\n // Tablet affordance: a tap on the field's dead zones (start/end slots,\n // padding) opens the suggestions and focuses the input. The input,\n // clear ✕ and chevron keep their own taps. Inert when disabled/readOnly.\n {...(disabled || readOnly ? {} : controlOpenProps(() => api.setOpen(true)))}\n >\n {/* Ark's own Input (a forwardRef) so the caller's `ref` lands on the\n real focusable `<input>` for RHF focus-on-error; the kit's\n `Combobox.Input` wrapper only adds `inputControlClasses`, replicated\n here. `onBlur` / `aria-invalid` pass straight through. */}\n <ArkCombobox.Input\n placeholder={placeholder}\n name={name}\n onBlur={onBlur}\n ref={ref}\n {...props({ \"aria-invalid\": isInvalid, \"data-testid\": testId })}\n className={cn(inputControlClasses, classNames?.input)}\n />\n {endSlot != null && <span className={inputSlot}>{endSlot}</span>}\n {/* The value here is the typed text, not a machine selection, so Ark's\n `value`-gated ClearTrigger stays hidden — clear the input directly\n instead. A real (tabbable) button; `preventDefault` keeps focus on\n the input through the tap. */}\n {showClear && (\n <button\n type=\"button\"\n aria-label={resolvedTranslations.clearTriggerLabel}\n onPointerDown={(event) => event.preventDefault()}\n onClick={() => setQuery(\"\")}\n className={popoverClearTrigger}\n >\n <CloseIcon />\n </button>\n )}\n {(clearSectionMode === \"both\" || !showClear) && <Combobox.Trigger data-chevron />}\n </Combobox.Control>\n )}\n </Combobox.Context>\n\n <Combobox.Content className={classNames?.popover}>\n {groups\n ? groups.map((group) => (\n <Combobox.Group key={group.group} label={group.group}>\n {group.items.map(renderOption)}\n </Combobox.Group>\n ))\n : items.map(renderOption)}\n {empty != null && <Combobox.Empty>{empty}</Combobox.Empty>}\n </Combobox.Content>\n </Combobox.Root>\n )\n\n return (\n <FieldShell\n label={label}\n description={description}\n error={error}\n required={required}\n disabled={disabled}\n size={size}\n className={classNames?.field}\n >\n {control}\n </FieldShell>\n )\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["../../../src/components/autocomplete/autocomplete.tsx"],"names":["ArkCombobox"],"mappings":";;;;;;;;;;;;;;;;;;;;;AA0GO,IAAM,eAAe,CAA6C;AAAA,EACvE,IAAA;AAAA,EACA,KAAA;AAAA,EACA,YAAA;AAAA,EACA,QAAA;AAAA,EACA,UAAA;AAAA,EACA,WAAA;AAAA,EACA,SAAA;AAAA,EACA,gBAAA,GAAmB,SAAA;AAAA,EACnB,SAAA;AAAA,EACA,OAAA;AAAA,EACA,KAAA,GAAQ,eAAA;AAAA,EACR,IAAA,GAAO,IAAA;AAAA,EACP,OAAA,GAAU,SAAA;AAAA,EACV,QAAA;AAAA,EACA,QAAA;AAAA,EACA,QAAA;AAAA,EACA,OAAA;AAAA,EACA,IAAA;AAAA,EACA,MAAA;AAAA,EACA,GAAA;AAAA,EACA,KAAA;AAAA,EACA,WAAA;AAAA,EACA,KAAA;AAAA,EACA,SAAA;AAAA,EACA,UAAA;AAAA,EACA,MAAA;AAAA,EACA;AACF,CAAA,KAA+B;AAC7B,EAAA,MAAM,oBAAA,GAAuB,4BAA4B,YAAY,CAAA;AAGrE,EAAA,MAAM,SAAA,GAAY,WAAW,KAAA,IAAS,IAAA;AAEtC,EAAA,MAAM,CAAC,KAAA,EAAO,QAAQ,CAAA,GAAI,eAAA,CAAgB;AAAA,IACxC,KAAA;AAAA,IACA,YAAA;AAAA,IACA,QAAA;AAAA,IACA,UAAA,EAAY;AAAA,GACb,CAAA;AAGD,EAAA,MAAM,SAAA,GAAY,OAAA,CAAQ,SAAA,IAAa,KAAK,CAAA;AAG5C,EAAA,MAAM,UAAA,GAAa,QAAQ,MAAM,mBAAA,CAAoB,IAAI,CAAA,EAAG,CAAC,IAAI,CAAC,CAAA;AAClE,EA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AAAA,SACjF,EAEJ,CAAA;AAAA,6BAEC,QAAA,CAAS,OAAA,EAAT,EAAiB,SAAA,EAAW,YAAY,OAAA,EACtC,QAAA,EAAA;AAAA,UAAA,MAAA,GACG,MAAA,CAAO,IAAI,CAAC,KAAA,yBACT,QAAA,CAAS,KAAA,EAAT,EAAiC,KAAA,EAAO,KAAA,CAAM,KAAA,EAC5C,gBAAM,KAAA,CAAM,GAAA,CAAI,YAAY,CAAA,EAAA,EADV,KAAA,CAAM,KAE3B,CACD,CAAA,GACD,KAAA,CAAM,GAAA,CAAI,YAAY,CAAA;AAAA,UACzB,SAAS,IAAA,oBAAQ,GAAA,CAAC,QAAA,CAAS,KAAA,EAAT,EAAgB,QAAA,EAAA,KAAA,EAAM;AAAA,SAAA,EAC3C;AAAA;AAAA;AAAA,GACF;AAGF,EAAA,uBACE,GAAA;AAAA,IAAC,UAAA;AAAA,IAAA;AAAA,MACC,KAAA;AAAA,MACA,WAAA;AAAA,MACA,KAAA;AAAA,MACA,QAAA;AAAA,MACA,QAAA;AAAA,MACA,IAAA;AAAA,MACA,WAAW,UAAA,EAAY,KAAA;AAAA,MAEtB,QAAA,EAAA;AAAA;AAAA,GACH;AAEJ","file":"index.js","sourcesContent":["\"use client\"\n\nimport { Combobox as ArkCombobox } from \"@ark-ui/react/combobox\"\nimport { type FocusEvent, type ReactNode, type Ref, useMemo } from \"react\"\nimport { cn } from \"../../lib/cn\"\nimport { controlOpenProps } from \"../../lib/control-open\"\nimport { props } from \"../../lib/props\"\nimport {\n type ClearSectionMode,\n filterSelectData,\n type ItemRenderState,\n type NormalizedItem,\n type NormalizedItemOf,\n normalizeSelectData,\n type SelectData,\n type SelectPayload,\n useLabelSearch,\n} from \"../../lib/select-data\"\nimport type { WithTestId } from \"../../lib/test-id\"\nimport { useUncontrolled } from \"../../lib/use-uncontrolled\"\nimport {\n Combobox,\n type ComboboxTranslations,\n resolveComboboxTranslations,\n} from \"../combobox/combobox\"\nimport { type FieldProps, FieldShell } from \"../field/field\"\nimport { type InputSize, type InputVariant, inputControlClasses, inputSlot } from \"../input/input\"\nimport { CloseIcon } from \"../popover/icons\"\nimport { popoverClearTrigger } from \"../popover/popover\"\n\n/**\n * Autocomplete — free-text input with a suggestion popover, on the `Combobox`\n * engine. Unlike `Select`, the **value is the typed string** (`allowCustomValue`):\n * `data` are only suggestions, and the user can type anything or pick one.\n *\n * - `data` accepts the same shapes as `Select` (strings / objects / groups).\n * - Suggestions filter as you type. Once the query exactly\n * matches a suggestion (e.g. right after picking one) the full list shows\n * again rather than collapsing to that single match.\n * - Label / description / error come from the built-in `Field` wrapper.\n */\n\ntype AutocompleteClassNames = {\n field?: string\n control?: string\n input?: string\n option?: string\n popover?: string\n}\n\nexport type AutocompleteProps<Data extends SelectData = SelectData> = Pick<\n FieldProps,\n \"label\" | \"description\" | \"error\" | \"required\"\n> &\n WithTestId & {\n /** Suggestions: `string[]`, `{ value, label?, disabled? }[]`, or `{ group, items }[]`. */\n data: Data\n /** Controlled input text (this is the value). */\n value?: string\n /** Uncontrolled initial text. */\n defaultValue?: string\n /** Fires with the input text on every change (typing or picking a suggestion). */\n onChange?: (value: string) => void\n /**\n * Render each suggestion yourself. Receives the item — including its typed\n * `payload` — and its live `{ selected, highlighted }` state; you own the whole\n * row, including any check affordance. Omit it to render the label + selected\n * check.\n */\n renderItem?: (item: NormalizedItem<SelectPayload<Data>>, state: ItemRenderState) => ReactNode\n /** Placeholder shown while the field is empty — this same field also filters the\n * suggestion list, so there's no separate search placeholder. */\n placeholder?: string\n /** Show a clear button once there's text. */\n clearable?: boolean\n /** Whether the clear button replaces the chevron (`\"replace\"`, default) or sits beside it (`\"both\"`). */\n clearSectionMode?: ClearSectionMode\n /** Inline-start adornment (icon, label). */\n startSlot?: ReactNode\n /** Inline-end adornment — rendered before the clear button / chevron. */\n endSlot?: ReactNode\n /** Message shown when no suggestion matches. Pass `null` to render nothing. */\n empty?: ReactNode\n size?: InputSize\n variant?: InputVariant\n disabled?: boolean\n readOnly?: boolean\n /** Red invalid state, independent of (and OR'd with) `error`. */\n invalid?: boolean\n /** Name for the underlying input (form submission). */\n name?: string\n /** Forwarded to the input; drives touched/blurred validation. */\n onBlur?: (event: FocusEvent<HTMLInputElement>) => void\n /** Lands on the focusable `<input>` for focus-on-error. */\n ref?: Ref<HTMLInputElement>\n className?: string\n classNames?: AutocompleteClassNames\n /** Overrides the clear button's (`clearTriggerLabel`, default `\"Clear value\"`) and the\n * chevron's (`triggerLabel`, default `\"Show options\"`) accessible names. A partial\n * override keeps the other default. */\n translations?: AutocompleteTranslations\n }\n\n/** The combobox family's wording, as `Autocomplete` uses it — see `ComboboxTranslations`. */\nexport type AutocompleteTranslations = ComboboxTranslations\n\nexport const Autocomplete = <const Data extends SelectData = SelectData>({\n data,\n value,\n defaultValue,\n onChange,\n renderItem,\n placeholder,\n clearable,\n clearSectionMode = \"replace\",\n startSlot,\n endSlot,\n empty = \"Nothing found\",\n size = \"md\",\n variant = \"default\",\n disabled,\n readOnly,\n required,\n invalid,\n name,\n onBlur,\n ref,\n label,\n description,\n error,\n className,\n classNames,\n testId,\n translations,\n}: AutocompleteProps<Data>) => {\n const resolvedTranslations = resolveComboboxTranslations(translations)\n // Red state is driven independently of the `Field` error slot so a form\n // library can flip it from `fieldState.invalid` (see FormControlProps).\n const isInvalid = invalid || error != null\n\n const [query, setQuery] = useUncontrolled({\n value,\n defaultValue,\n onChange,\n finalValue: \"\",\n })\n\n // Clear shows once there's text; in \"replace\" mode it hides the chevron.\n const showClear = Boolean(clearable && query)\n\n // Normalize once per `data`; only the filter re-runs as the query changes.\n const normalized = useMemo(() => normalizeSelectData(data), [data])\n const search = useLabelSearch()\n const { collection, items, groups } = useMemo(() => {\n // Once the query exactly matches an option (e.g. right after\n // picking one) show the full list again rather than just that match.\n const exact = normalized.items.some((i) => search.equals(i.label, query))\n return filterSelectData(normalized, (item) => exact || search.matches(item.label, query))\n }, [normalized, query, search])\n\n const renderOption = (item: NormalizedItemOf<Data>) => (\n <Combobox.Item\n key={item.value}\n item={item}\n data-testid={item.testId}\n className={classNames?.option}\n >\n {renderItem ? (state) => renderItem(item, state) : item.label}\n </Combobox.Item>\n )\n\n const control = (\n <Combobox.Root\n collection={collection}\n inputValue={query}\n onInputValueChange={(details) => setQuery(details.inputValue)}\n allowCustomValue\n openOnClick\n disabled={disabled}\n readOnly={readOnly}\n size={size}\n variant={variant}\n className={className}\n translations={resolvedTranslations}\n >\n <Combobox.Context>\n {(api) => (\n <Combobox.Control\n className={classNames?.control}\n startSlot={startSlot}\n {...props({ \"data-invalid\": isInvalid })}\n // Tablet affordance: a tap on the field's dead zones (start/end slots,\n // padding) opens the suggestions and focuses the input. The input,\n // clear ✕ and chevron keep their own taps. Inert when disabled/readOnly.\n {...(disabled || readOnly ? {} : controlOpenProps(() => api.setOpen(true)))}\n >\n {/* Ark's own Input (a forwardRef) so the caller's `ref` lands on the\n real focusable `<input>` for RHF focus-on-error; the kit's\n `Combobox.Input` wrapper only adds `inputControlClasses`, replicated\n here. `onBlur` / `aria-invalid` pass straight through. */}\n <ArkCombobox.Input\n placeholder={placeholder}\n name={name}\n onBlur={onBlur}\n ref={ref}\n {...props({ \"aria-invalid\": isInvalid, \"data-testid\": testId })}\n className={cn(inputControlClasses, classNames?.input)}\n />\n {endSlot != null && <span className={inputSlot}>{endSlot}</span>}\n {/* The value here is the typed text, not a machine selection, so Ark's\n `value`-gated ClearTrigger stays hidden — clear the input directly\n instead. A real (tabbable) button; `preventDefault` keeps focus on\n the input through the tap. */}\n {showClear && (\n <button\n type=\"button\"\n aria-label={resolvedTranslations.clearTriggerLabel}\n onPointerDown={(event) => event.preventDefault()}\n onClick={() => setQuery(\"\")}\n className={popoverClearTrigger}\n >\n <CloseIcon />\n </button>\n )}\n {(clearSectionMode === \"both\" || !showClear) && <Combobox.Trigger data-chevron />}\n </Combobox.Control>\n )}\n </Combobox.Context>\n\n <Combobox.Content className={classNames?.popover}>\n {groups\n ? groups.map((group) => (\n <Combobox.Group key={group.group} label={group.group}>\n {group.items.map(renderOption)}\n </Combobox.Group>\n ))\n : items.map(renderOption)}\n {empty != null && <Combobox.Empty>{empty}</Combobox.Empty>}\n </Combobox.Content>\n </Combobox.Root>\n )\n\n return (\n <FieldShell\n label={label}\n description={description}\n error={error}\n required={required}\n disabled={disabled}\n size={size}\n className={classNames?.field}\n >\n {control}\n </FieldShell>\n )\n}\n"]}
|
|
@@ -4,7 +4,7 @@ import { useLocale } from '../../chunk-IPYHTCFL.js';
|
|
|
4
4
|
import '../../chunk-6N6J2DOE.js';
|
|
5
5
|
import { mergeIcons, iconStroke } from '../../chunk-XXOR34T4.js';
|
|
6
6
|
import { props } from '../../chunk-WYCMIIRR.js';
|
|
7
|
-
import { cn } from '../../chunk-
|
|
7
|
+
import { cn } from '../../chunk-4ASNIDV7.js';
|
|
8
8
|
import { Avatar as Avatar$1, ark } from '@ark-ui/react';
|
|
9
9
|
import { cva } from 'class-variance-authority';
|
|
10
10
|
import { UserRound } from 'lucide-react';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { Badge } from '../../chunk-
|
|
1
|
+
export { Badge } from '../../chunk-F342ZT7O.js';
|
|
2
2
|
import '../../chunk-SKPM2FRX.js';
|
|
3
3
|
import '../../chunk-WYCMIIRR.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-C6NVU4F7.js';
|
|
5
5
|
import '../../chunk-GIPQUKCN.js';
|
|
6
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-4ASNIDV7.js';
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,7 +2,7 @@ import { mergeIcons, iconStroke } from '../../chunk-XXOR34T4.js';
|
|
|
2
2
|
import { withAsChildContent } from '../../chunk-R5LYFTHA.js';
|
|
3
3
|
import { props } from '../../chunk-WYCMIIRR.js';
|
|
4
4
|
import { TEXT_COLOR_CLASSES } from '../../chunk-GIPQUKCN.js';
|
|
5
|
-
import { cn } from '../../chunk-
|
|
5
|
+
import { cn } from '../../chunk-4ASNIDV7.js';
|
|
6
6
|
import { ark } from '@ark-ui/react';
|
|
7
7
|
import { House } from 'lucide-react';
|
|
8
8
|
import { Children, cloneElement, isValidElement } from 'react';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import '../../chunk-ORTCK34Y.js';
|
|
3
|
-
export { Button } from '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
3
|
+
export { Button } from '../../chunk-SWVUXEBT.js';
|
|
4
|
+
import '../../chunk-D2QIPQ74.js';
|
|
5
5
|
import '../../chunk-R5LYFTHA.js';
|
|
6
6
|
import '../../chunk-WYCMIIRR.js';
|
|
7
|
-
import '../../chunk-
|
|
7
|
+
import '../../chunk-C6NVU4F7.js';
|
|
8
8
|
import '../../chunk-GIPQUKCN.js';
|
|
9
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-4ASNIDV7.js';
|
|
10
10
|
//# sourceMappingURL=index.js.map
|
|
11
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ButtonGroup } from '../../chunk-
|
|
1
|
+
export { ButtonGroup } from '../../chunk-MW42XVPD.js';
|
|
2
2
|
import '../../chunk-WYCMIIRR.js';
|
|
3
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-4ASNIDV7.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Context, Item, MultiRoot, ButtonSelectControl } from '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
2
|
+
import { Context, Item, MultiRoot, ButtonSelectControl } from '../../chunk-7AQ4MN4M.js';
|
|
3
|
+
import '../../chunk-MW42XVPD.js';
|
|
4
|
+
import '../../chunk-VD6PB3VA.js';
|
|
5
|
+
import '../../chunk-SWVUXEBT.js';
|
|
6
6
|
import { useUncontrolled } from '../../chunk-PMUCGFY5.js';
|
|
7
7
|
import '../../chunk-BUIHQJGE.js';
|
|
8
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-D2QIPQ74.js';
|
|
9
9
|
import '../../chunk-R5LYFTHA.js';
|
|
10
10
|
import '../../chunk-WYCMIIRR.js';
|
|
11
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-C6NVU4F7.js';
|
|
12
12
|
import '../../chunk-GIPQUKCN.js';
|
|
13
|
-
import '../../chunk-
|
|
13
|
+
import '../../chunk-4ASNIDV7.js';
|
|
14
14
|
import { jsx } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
var ButtonMultiSelectComponent = ({
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Context, Item, Root, ButtonSelectControl } from '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
2
|
+
import { Context, Item, Root, ButtonSelectControl } from '../../chunk-7AQ4MN4M.js';
|
|
3
|
+
import '../../chunk-MW42XVPD.js';
|
|
4
|
+
import '../../chunk-VD6PB3VA.js';
|
|
5
|
+
import '../../chunk-SWVUXEBT.js';
|
|
6
6
|
import { useUncontrolled } from '../../chunk-PMUCGFY5.js';
|
|
7
7
|
import '../../chunk-BUIHQJGE.js';
|
|
8
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-D2QIPQ74.js';
|
|
9
9
|
import '../../chunk-R5LYFTHA.js';
|
|
10
10
|
import '../../chunk-WYCMIIRR.js';
|
|
11
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-C6NVU4F7.js';
|
|
12
12
|
import '../../chunk-GIPQUKCN.js';
|
|
13
|
-
import '../../chunk-
|
|
13
|
+
import '../../chunk-4ASNIDV7.js';
|
|
14
14
|
import { jsx } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
var ButtonSelectComponent = ({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { Calendar } from '../../chunk-
|
|
2
|
+
export { Calendar } from '../../chunk-MXAACRWE.js';
|
|
3
3
|
import '../../chunk-ZB5VMGKB.js';
|
|
4
4
|
import '../../chunk-IPYHTCFL.js';
|
|
5
|
-
import '../../chunk-
|
|
5
|
+
import '../../chunk-BE2LWUHY.js';
|
|
6
6
|
import '../../chunk-6N6J2DOE.js';
|
|
7
7
|
import '../../chunk-BUIHQJGE.js';
|
|
8
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-6YNLRQ25.js';
|
|
9
9
|
import '../../chunk-XXOR34T4.js';
|
|
10
|
-
import '../../chunk-
|
|
10
|
+
import '../../chunk-D2QIPQ74.js';
|
|
11
11
|
import '../../chunk-R5LYFTHA.js';
|
|
12
12
|
import '../../chunk-WYCMIIRR.js';
|
|
13
|
-
import '../../chunk-
|
|
13
|
+
import '../../chunk-C6NVU4F7.js';
|
|
14
14
|
import '../../chunk-GIPQUKCN.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-4ASNIDV7.js';
|
|
16
16
|
//# sourceMappingURL=index.js.map
|
|
17
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,38 +1,39 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { Camera, useCamera, useCameraContext } from '../../chunk-
|
|
2
|
+
export { Camera, useCamera, useCameraContext } from '../../chunk-UCCJUFOG.js';
|
|
3
3
|
import '../../chunk-HX3LNK26.js';
|
|
4
4
|
import '../../chunk-K6YASO4L.js';
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
5
|
+
import '../../chunk-Z4MBCKG5.js';
|
|
6
|
+
import '../../chunk-TWNIAF7K.js';
|
|
7
7
|
import '../../chunk-J43LSYQO.js';
|
|
8
8
|
import '../../chunk-7TDHT3QD.js';
|
|
9
9
|
import '../../chunk-5FDOOG4J.js';
|
|
10
|
-
import '../../chunk-
|
|
11
|
-
import '../../chunk-
|
|
12
|
-
import '../../chunk-
|
|
13
|
-
import '../../chunk-
|
|
10
|
+
import '../../chunk-2BNIHOMT.js';
|
|
11
|
+
import '../../chunk-45QRQKRC.js';
|
|
12
|
+
import '../../chunk-VD6PB3VA.js';
|
|
13
|
+
import '../../chunk-F342ZT7O.js';
|
|
14
14
|
import '../../chunk-SKPM2FRX.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-SWVUXEBT.js';
|
|
16
16
|
import '../../chunk-WG3BCIU4.js';
|
|
17
17
|
import '../../chunk-CQ4M4BSF.js';
|
|
18
18
|
import '../../chunk-HDYORQZN.js';
|
|
19
19
|
import '../../chunk-HBWV5EPU.js';
|
|
20
20
|
import '../../chunk-AHM6SGEU.js';
|
|
21
21
|
import '../../chunk-IPYHTCFL.js';
|
|
22
|
-
import '../../chunk-
|
|
22
|
+
import '../../chunk-N66NC6QK.js';
|
|
23
|
+
import '../../chunk-V6PY7C6S.js';
|
|
23
24
|
import '../../chunk-7P32XCEU.js';
|
|
24
25
|
import '../../chunk-H7WOMZXO.js';
|
|
25
|
-
import '../../chunk-
|
|
26
|
+
import '../../chunk-BE2LWUHY.js';
|
|
26
27
|
import '../../chunk-6N6J2DOE.js';
|
|
27
28
|
import '../../chunk-PMUCGFY5.js';
|
|
28
29
|
import '../../chunk-BUIHQJGE.js';
|
|
29
|
-
import '../../chunk-
|
|
30
|
+
import '../../chunk-6YNLRQ25.js';
|
|
30
31
|
import '../../chunk-XXOR34T4.js';
|
|
31
|
-
import '../../chunk-
|
|
32
|
+
import '../../chunk-D2QIPQ74.js';
|
|
32
33
|
import '../../chunk-R5LYFTHA.js';
|
|
33
34
|
import '../../chunk-WYCMIIRR.js';
|
|
34
|
-
import '../../chunk-
|
|
35
|
+
import '../../chunk-C6NVU4F7.js';
|
|
35
36
|
import '../../chunk-GIPQUKCN.js';
|
|
36
|
-
import '../../chunk-
|
|
37
|
+
import '../../chunk-4ASNIDV7.js';
|
|
37
38
|
//# sourceMappingURL=index.js.map
|
|
38
39
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/components/card/card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEjE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAGL,KAAK,WAAW,EAChB,KAAK,aAAa,EACnB,MAAM,oBAAoB,CAAA;AAE3B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAGnD,QAAA,MAAM,YAAY;;;
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/components/card/card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEjE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAGL,KAAK,WAAW,EAChB,KAAK,aAAa,EACnB,MAAM,oBAAoB,CAAA;AAE3B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAGnD,QAAA,MAAM,YAAY;;;8EAkDhB,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,WAAW,CAAC,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,CAAA;AAEnF,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,CAAA;AAE1C,MAAM,MAAM,SAAS,GAAG,YAAY,CAAC,KAAK,CAAC,GACzC,YAAY,CAAC,OAAO,YAAY,CAAC,GACjC,UAAU,GAAG;IACX,KAAK,CAAC,EAAE,KAAK,CAAA;IACb;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAA;CACzB,CAAA;AAEH;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,QAAA,MAAM,aAAa,6EAShB,SAAS,gCA8BX,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,KAAK,CAAC,GAAG,UAAU,GAAG;IAAE,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE,CAAA;AAEzF,QAAA,MAAM,UAAU,+CAAgD,eAAe,gCAU9E,CAAA;AAED,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC,IAAI,CAAC,GAAG,UAAU,CAAA;AAE5D,QAAA,MAAM,SAAS,mCAAoC,cAAc,gCAMhE,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC,GAAG,CAAC,GAAG,UAAU,GAAG;IAAE,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE,CAAA;AAE5F,QAAA,MAAM,eAAe,+CAAgD,oBAAoB,gCAWxF,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,KAAK,CAAC,GAAG,UAAU,CAAA;AAE/D,QAAA,MAAM,WAAW,mCAAoC,gBAAgB,gCAMpE,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,KAAK,CAAC,GAAG,UAAU,GAAG;IAAE,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE,CAAA;AAEzF,QAAA,MAAM,UAAU,+CAAgD,eAAe,gCAU9E,CAAA;AAED,eAAO,MAAM,IAAI;;;;;;CAMf,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Card } from '../../chunk-
|
|
1
|
+
export { Card } from '../../chunk-2MXWEIMD.js';
|
|
2
2
|
import '../../chunk-SKPM2FRX.js';
|
|
3
3
|
import '../../chunk-WYCMIIRR.js';
|
|
4
4
|
import '../../chunk-GIPQUKCN.js';
|
|
5
|
-
import '../../chunk-
|
|
5
|
+
import '../../chunk-4ASNIDV7.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import '../../chunk-AZ2VUAGX.js';
|
|
3
|
-
import { Image } from '../../chunk-
|
|
3
|
+
import { Image } from '../../chunk-Y57NW6G7.js';
|
|
4
4
|
import { MEDIA_RADIUS } from '../../chunk-J43LSYQO.js';
|
|
5
5
|
import { useOpenIndexTrigger } from '../../chunk-RNRD6ER5.js';
|
|
6
6
|
import { useReducedMotion } from '../../chunk-CQ4M4BSF.js';
|
|
@@ -12,9 +12,9 @@ import '../../chunk-6N6J2DOE.js';
|
|
|
12
12
|
import { useIsomorphicLayoutEffect } from '../../chunk-BUIHQJGE.js';
|
|
13
13
|
import { iconStroke, mergeIcons } from '../../chunk-XXOR34T4.js';
|
|
14
14
|
import { props } from '../../chunk-WYCMIIRR.js';
|
|
15
|
-
import { focusStyles } from '../../chunk-
|
|
15
|
+
import { focusStyles } from '../../chunk-C6NVU4F7.js';
|
|
16
16
|
import { TEXT_COLOR_CLASSES } from '../../chunk-GIPQUKCN.js';
|
|
17
|
-
import { cn } from '../../chunk-
|
|
17
|
+
import { cn } from '../../chunk-4ASNIDV7.js';
|
|
18
18
|
import { ark } from '@ark-ui/react';
|
|
19
19
|
import { useCarouselContext, Carousel as Carousel$1, useCarousel } from '@ark-ui/react/carousel';
|
|
20
20
|
import { useLocaleContext } from '@ark-ui/react/locale';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { COLORS } from '../../chunk-VIYVN4WF.js';
|
|
3
3
|
import { props } from '../../chunk-WYCMIIRR.js';
|
|
4
|
-
import { cn } from '../../chunk-
|
|
4
|
+
import { cn } from '../../chunk-4ASNIDV7.js';
|
|
5
5
|
import { Chart as Chart$2 } from '@tanstack/charts/react';
|
|
6
6
|
import { Chart as Chart$1 } from '@tanstack/charts/react/core';
|
|
7
7
|
import { useMemo } from 'react';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { Checkbox } from '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
2
|
+
export { Checkbox } from '../../chunk-6VYGK3Q3.js';
|
|
3
|
+
import '../../chunk-NLOBBJAA.js';
|
|
4
|
+
import '../../chunk-VD6PB3VA.js';
|
|
5
|
+
import '../../chunk-6YNLRQ25.js';
|
|
6
6
|
import '../../chunk-XXOR34T4.js';
|
|
7
7
|
import '../../chunk-WYCMIIRR.js';
|
|
8
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-C6NVU4F7.js';
|
|
9
9
|
import '../../chunk-GIPQUKCN.js';
|
|
10
|
-
import '../../chunk-
|
|
10
|
+
import '../../chunk-4ASNIDV7.js';
|
|
11
11
|
//# sourceMappingURL=index.js.map
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { controlIndicator } from '../../chunk-
|
|
3
|
-
import { FieldShell, fieldA11yProps } from '../../chunk-
|
|
4
|
-
import { CheckIcon } from '../../chunk-
|
|
2
|
+
import { controlIndicator } from '../../chunk-NLOBBJAA.js';
|
|
3
|
+
import { FieldShell, fieldA11yProps } from '../../chunk-VD6PB3VA.js';
|
|
4
|
+
import { CheckIcon } from '../../chunk-6YNLRQ25.js';
|
|
5
5
|
import '../../chunk-XXOR34T4.js';
|
|
6
6
|
import { props } from '../../chunk-WYCMIIRR.js';
|
|
7
|
-
import { focusStyles } from '../../chunk-
|
|
7
|
+
import { focusStyles } from '../../chunk-C6NVU4F7.js';
|
|
8
8
|
import { TEXT_COLOR_CLASSES, TYPOGRAPHY_SHADE_CLASSES } from '../../chunk-GIPQUKCN.js';
|
|
9
|
-
import { cn } from '../../chunk-
|
|
9
|
+
import { cn } from '../../chunk-4ASNIDV7.js';
|
|
10
10
|
import { Checkbox, CheckboxGroup } from '@ark-ui/react/checkbox';
|
|
11
11
|
import { useFieldContext } from '@ark-ui/react/field';
|
|
12
12
|
import { RadioGroup } from '@ark-ui/react/radio-group';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { props } from '../../chunk-WYCMIIRR.js';
|
|
3
|
-
import { cn } from '../../chunk-
|
|
3
|
+
import { cn } from '../../chunk-4ASNIDV7.js';
|
|
4
4
|
import { Progress } from '@ark-ui/react/progress';
|
|
5
5
|
import { cva } from 'class-variance-authority';
|
|
6
6
|
import { useId } from 'react';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { InputBase, inputControlClasses } from '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import { ActionIcon } from '../../chunk-
|
|
2
|
+
import { InputBase, inputControlClasses } from '../../chunk-45QRQKRC.js';
|
|
3
|
+
import '../../chunk-VD6PB3VA.js';
|
|
4
|
+
import { ActionIcon } from '../../chunk-BE2LWUHY.js';
|
|
5
5
|
import { mergeIcons, iconStroke } from '../../chunk-XXOR34T4.js';
|
|
6
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-D2QIPQ74.js';
|
|
7
7
|
import { composeChildren } from '../../chunk-R5LYFTHA.js';
|
|
8
8
|
import { props } from '../../chunk-WYCMIIRR.js';
|
|
9
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-C6NVU4F7.js';
|
|
10
10
|
import '../../chunk-GIPQUKCN.js';
|
|
11
|
-
import { cn } from '../../chunk-
|
|
11
|
+
import { cn } from '../../chunk-4ASNIDV7.js';
|
|
12
12
|
import { Clipboard as Clipboard$1, useClipboardContext } from '@ark-ui/react/clipboard';
|
|
13
13
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
14
|
import { CheckIcon, CopyIcon } from 'lucide-react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Mark } from '../../chunk-
|
|
1
|
+
import { Mark } from '../../chunk-NS6RGPWR.js';
|
|
2
2
|
import { props } from '../../chunk-WYCMIIRR.js';
|
|
3
3
|
import { TEXT_COLOR_CLASSES } from '../../chunk-GIPQUKCN.js';
|
|
4
|
-
import { cn } from '../../chunk-
|
|
4
|
+
import { cn } from '../../chunk-4ASNIDV7.js';
|
|
5
5
|
import { ark } from '@ark-ui/react';
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { CodeBlockButton, CodeBlockChrome, DEFAULT_ICONS } from '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
2
|
+
export { CodeBlockButton, CodeBlockChrome, DEFAULT_ICONS } from '../../chunk-HQPU73WV.js';
|
|
3
|
+
import '../../chunk-YZJUPYPO.js';
|
|
4
|
+
import '../../chunk-N66NC6QK.js';
|
|
5
|
+
import '../../chunk-V6PY7C6S.js';
|
|
6
6
|
import '../../chunk-7P32XCEU.js';
|
|
7
7
|
import '../../chunk-H7WOMZXO.js';
|
|
8
8
|
import '../../chunk-PMUCGFY5.js';
|
|
9
9
|
import '../../chunk-BUIHQJGE.js';
|
|
10
|
-
import '../../chunk-
|
|
10
|
+
import '../../chunk-NKOTA5TM.js';
|
|
11
11
|
import '../../chunk-XXOR34T4.js';
|
|
12
12
|
import '../../chunk-R5LYFTHA.js';
|
|
13
13
|
import '../../chunk-WYCMIIRR.js';
|
|
14
|
-
import '../../chunk-
|
|
14
|
+
import '../../chunk-C6NVU4F7.js';
|
|
15
15
|
import '../../chunk-GIPQUKCN.js';
|
|
16
|
-
import '../../chunk-
|
|
16
|
+
import '../../chunk-4ASNIDV7.js';
|
|
17
17
|
//# sourceMappingURL=chrome.js.map
|
|
18
18
|
//# sourceMappingURL=chrome.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { CodeBlockButton, CodeBlockChrome } from '../../chunk-
|
|
2
|
-
export { CodeBlockButton } from '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
1
|
+
import { CodeBlockButton, CodeBlockChrome } from '../../chunk-HQPU73WV.js';
|
|
2
|
+
export { CodeBlockButton } from '../../chunk-HQPU73WV.js';
|
|
3
|
+
import '../../chunk-YZJUPYPO.js';
|
|
4
|
+
import '../../chunk-N66NC6QK.js';
|
|
5
|
+
import '../../chunk-V6PY7C6S.js';
|
|
6
6
|
import '../../chunk-7P32XCEU.js';
|
|
7
7
|
import '../../chunk-H7WOMZXO.js';
|
|
8
8
|
import '../../chunk-PMUCGFY5.js';
|
|
9
9
|
import '../../chunk-BUIHQJGE.js';
|
|
10
|
-
import '../../chunk-
|
|
10
|
+
import '../../chunk-NKOTA5TM.js';
|
|
11
11
|
import '../../chunk-XXOR34T4.js';
|
|
12
12
|
import '../../chunk-R5LYFTHA.js';
|
|
13
13
|
import '../../chunk-WYCMIIRR.js';
|
|
14
|
-
import '../../chunk-
|
|
14
|
+
import '../../chunk-C6NVU4F7.js';
|
|
15
15
|
import '../../chunk-GIPQUKCN.js';
|
|
16
|
-
import { cn } from '../../chunk-
|
|
16
|
+
import { cn } from '../../chunk-4ASNIDV7.js';
|
|
17
17
|
import { useMemo, useState, useEffect } from 'react';
|
|
18
18
|
import { jsx } from 'react/jsx-runtime';
|
|
19
19
|
import { CodeBlockStatic } from './static.js';
|
|
@@ -5,7 +5,10 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
5
5
|
|
|
6
6
|
// src/lib/cn.ts
|
|
7
7
|
var twMerge = extendTailwindMerge({
|
|
8
|
-
extend: {
|
|
8
|
+
extend: {
|
|
9
|
+
classGroups: { "text-box-trim": ["text-trim"] },
|
|
10
|
+
theme: { radius: ["xxs", "button", "action-icon", "badge", "card", "input", "pill"] }
|
|
11
|
+
}
|
|
9
12
|
});
|
|
10
13
|
function cn(...inputs) {
|
|
11
14
|
return twMerge(clsx(inputs));
|