@astryx-vue/core 0.3.0 → 0.4.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/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-RAVA_cT1.js → AlertDialog-C2inDZWG.js} +5 -5
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-0wTvOo3H.js → AppShell-CumzH-8z.js} +3 -3
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-pPZ4dI_s.js → Avatar-BW0TE8t9.js} +47 -34
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-B--NQSB3.js → AvatarGroup-DLC_FFR5.js} +57 -13
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-GbGxrqQO.js → Banner-C5VAwo4D.js} +68 -34
- package/dist/Blockquote/index.js +1 -1
- package/dist/Blockquote-DRoKdcxZ.js +27 -0
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-pt7m4CvC.js → BottomSheet-B4sc3F1S.js} +286 -140
- package/dist/{BottomSheet-JYMB_Ofl.js → BottomSheet-m54uCMJN.js} +20 -4
- package/dist/Breadcrumbs/index.d.ts +2 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/Breadcrumbs-CTaz7Kh4.js +223 -0
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-B6Hj_O_s.js → Button-ONOoHdkg.js} +25 -15
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/ButtonGroup-DnkSZ9a5.js +87 -0
- package/dist/{ButtonTooltip-nWWrth8j.js → ButtonTooltip-CNKOQHYR.js} +7 -4
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-B7vIowKq.js → Calendar-BAqzzQm2.js} +5 -5
- package/dist/Card/index.d.ts +2 -2
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-CA8zpD9v.js → Carousel-DXC22UWq.js} +4 -4
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-Bmna9EOA.js → Chat-BdJW6IX5.js} +147 -83
- package/dist/CheckboxIndicator/index.js +1 -1
- package/dist/{CheckboxIndicator-D37cm2Rh.js → CheckboxIndicator-fH4d-JE1.js} +9 -3
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-BS9J6edf.js → CheckboxInput-DJHCbwgC.js} +19 -11
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-CX1i_jVP.js → CheckboxList-BdZIP4_J.js} +155 -38
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-Djgwa0ko.js → Citation-DbZn2vms.js} +8 -3
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-DUsC-j03.js → ClickableCard-ChAfiw9T.js} +9 -6
- package/dist/Code/index.js +3 -3
- package/dist/{Code-XnPuGxey.js → Code-Bg7GBdxy.js} +2 -1
- package/dist/{CodeBlock-D0BFubut.js → CodeBlock-Caaflp7C.js} +3 -3
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-Cov3Pyq5.js → Collapsible-Bdj0WYpb.js} +13 -11
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-YHsUNg3V.js → CommandPalette-C_MClfAg.js} +143 -63
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-DWLdKPGI.js → ComplexSelector-BeVQaqRf.js} +85 -20
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-Bq9b3Ti5.js → ContextMenu-C6hPYvYz.js} +297 -179
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-DT518j5E.js → DateInput-BjLdmYor.js} +567 -76
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-Bqi5tlIA.js → DateRangeInput-Br3wVEfD.js} +85 -20
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/DateTimeInput-CAZBwoRe.js +562 -0
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +2 -2
- package/dist/{Dialog-BiOSKQso.js → Dialog-Dce4Y97V.js} +28 -11
- package/dist/{Dialog-FGHfDu5M.js → Dialog-fhyxB00e.js} +32 -5
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Divider/index.js +1 -1
- package/dist/{Divider-BtwnL18I.js → Divider-mOZ6vIQw.js} +5 -1
- package/dist/DropdownMenu/index.d.ts +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-CoOQVlRp.js → DropdownMenu-BdGmQVb1.js} +85 -57
- package/dist/{DropdownMenu-DEb2dSSP.js → DropdownMenu-BzQrNV9C.js} +479 -264
- package/dist/{DropdownMenuRadioItem.vue-CXEURBcq.d.ts → DropdownMenuRadioItem.vue-Qd-8Rg4Q.d.ts} +236 -230
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-C_GH7IV5.js → EmptyState-CmOQf2SH.js} +2 -2
- package/dist/Field/index.d.ts +4 -3
- package/dist/Field/index.js +4 -3
- package/dist/{Field-D5gUEGw4.js → Field--OEsLBfE.js} +4 -3
- package/dist/{FieldInfoTip-Ds-sW_jY.js → FieldInfoTip-gxsnfkZw.js} +3 -3
- package/dist/{FieldLabel-BNeXRuGH.js → FieldLabel-jxIiWgLw.js} +12 -7
- package/dist/FieldStatus/index.d.ts +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-BpdiO1V8.js → FileInput-B_pUxB0Y.js} +106 -29
- package/dist/FormLayout/index.d.ts +1 -1
- package/dist/FormLayout/index.js +1 -1
- package/dist/{FormLayout-D47FjiOq.js → FormLayout-B9dUB6Ps.js} +1 -1
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-BnwWEWkp.js → Heading-BzBunfN7.js} +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-ycY50pRN.js → HoverCard-BpJhT0sn.js} +35 -22
- package/dist/Icon/index.d.ts +4 -4
- package/dist/Icon/index.js +1 -1
- package/dist/{Icon-bteSId7T.js → Icon-KDnUyY7f.js} +12 -20
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-DDNgNl7B.js → IconButton-DI-XBbtV.js} +1 -1
- package/dist/Indicator/index.d.ts +2 -2
- package/dist/Indicator/index.js +2 -1
- package/dist/InputClearButton-CwXPan8c.js +40 -0
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +2 -2
- package/dist/{InputGroup-CA03Smrs.js → InputGroup-DiiocoIW.js} +2 -2
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-DJay_w3B.js → InternationalizationProvider-kBapgKAQ.js} +5 -9
- package/dist/{Item-KhFKX9St.js → Item-DWMIjN8n.js} +34 -9
- package/dist/Kbd/index.js +1 -1
- package/dist/{Kbd-BB-Dw6zE.js → Kbd-CV3LO2Ge.js} +18 -2
- package/dist/LayerContentBoundary-CvsKxwwm.js +27 -0
- package/dist/LayerProvider/index.js +1 -1
- package/dist/{LayerProvider-D9NsQFzL.js → LayerProvider-B6zpMBWC.js} +15 -3
- package/dist/Layout/index.d.ts +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-C6RHllr-.js → Layout-JJRCG7Mf.js} +1 -1
- package/dist/{LayoutPanel-DXOsaeQb.js → LayoutPanel-zM5vjrKS.js} +12 -8
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-DTF9EdTG.js → Lightbox-D8wyPgMK.js} +8 -6
- package/dist/Link/index.js +1 -1
- package/dist/{Link-BqHCtiyt.js → Link-DweIpOtN.js} +29 -12
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-8RWT8XAG.js → ListItem-BQXMu1Tb.js} +1 -1
- package/dist/Markdown/index.d.ts +5 -2
- package/dist/Markdown/index.js +5 -2
- package/dist/Markdown/parser/index.d.ts +4 -0
- package/dist/Markdown/parser/index.js +3 -0
- package/dist/Markdown/plugin-protocol/index.d.ts +35 -0
- package/dist/Markdown/plugin-protocol/index.js +107 -0
- package/dist/Markdown/plugin-renderer/index.d.ts +31 -0
- package/dist/Markdown/plugin-renderer/index.js +42 -0
- package/dist/{Markdown-CvtN7HnF.js → Markdown-DhVfOvXk.js} +195 -484
- package/dist/MediaTheme-DlLqYhDy.js +433 -0
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-B-OelQlt.js → MetadataList-CEYceIlN.js} +15 -7
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-DxGz0xKA.js → MobileNavToggle-pdoJFZHx.js} +52 -17
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-Dlb7MLlW.js → MoreMenu-CFNqSRev.js} +72 -59
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/MultiSelector-DuVatmq5.js +1456 -0
- package/dist/{NavDisclosure-C_fugrQ3.js → NavDisclosure-Bq9DTZLO.js} +29 -7
- package/dist/{NavHeadingSurface-B3yJspSN.js → NavHeadingSurface-C4v_MtkX.js} +29 -26
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavItem/index.js +2 -2
- package/dist/{NavItem-BBIGSvDj.js → NavItem-BPb3yfgz.js} +17 -4
- package/dist/NavMenu/index.d.ts +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-ThXguZAz.js → NavMenu-BYIDzjix.js} +42 -15
- package/dist/{NavMenuItem-BvJNsDFC.js → NavMenuItem-D3FO90GR.js} +14 -12
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/NumberInput-B0vzOg3N.js +727 -0
- package/dist/Outline/index.d.ts +2 -2
- package/dist/Outline/index.js +2 -2
- package/dist/{Outline-755h-lMP.js → Outline-CfGv2F1o.js} +91 -6
- package/dist/OverflowList/index.d.ts +2 -2
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-NmrSMbxb.js → OverflowList-BgRLZ3dh.js} +23 -6
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DqwNQFRp.js → Pagination-Bfe12018.js} +2 -2
- package/dist/PickerWheel-CSwUYfes.js +69 -0
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-DJf8POzL.js → Popover-78dFjTb9.js} +20 -15
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-DvjiPqMZ.js → PowerSearch-BoAMdFaT.js} +774 -586
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-CVLzdoBK.js → ProgressBar-VP4JS7vm.js} +10 -7
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-Bfu6JSNV.js → RadioGroup-BIipql-L.js} +94 -26
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-xY1cwLdZ.js → RadioList-GyhgBg4j.js} +57 -8
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-q4nD_586.js → ResizeHandle-TPlUCAHD.js} +103 -50
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/ScrollableArea/index.js +1 -1
- package/dist/{ScrollableArea-D4dCJv9I.js → ScrollableArea-0u6RWtGG.js} +1 -1
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-ChHmFrrC.js → SegmentedControl-D1wWGBZo.js} +11 -5
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-Cku4dRzc.js → SelectableCard-BEqnhPaX.js} +16 -11
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/Selector-CPISLzp7.js +1049 -0
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-BF8mYDxl.js → SideNav-CN2QeAtY.js} +51 -37
- package/dist/Slider/index.d.ts +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-DWobsPgm.js → Slider-pdC0jpHu.js} +172 -46
- package/dist/Spinner/index.js +1 -1
- package/dist/Spinner-DdVUadii.js +200 -0
- package/dist/Stack/index.d.ts +1 -1
- package/dist/Stack/index.js +2 -2
- package/dist/{Stack-CTsTFfar.js → Stack-Bb_h60t3.js} +1 -1
- package/dist/{Stack-kQlYbbL4.js → Stack-Bp-XN9J4.js} +12 -7
- package/dist/StatusDot/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-BPUhMOff.js → StatusDot-BS_ohXhd.js} +8 -4
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-CE8dHysu.js → Stepper-CyaSRSdu.js} +101 -79
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-DaVPRxvN.js → Switch-Z2Vfiiic.js} +38 -22
- package/dist/TabList/index.d.ts +2 -2
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-DIkK9sgK.js → TabList-DRqP0Hrv.js} +205 -63
- package/dist/Table/index.d.ts +3 -3
- package/dist/Table/index.js +1 -1
- package/dist/{Table-fecqnm7P.js → Table-BcrrylMX.js} +726 -452
- package/dist/Text/index.d.ts +1 -1
- package/dist/Text/index.js +1 -1
- package/dist/{Text-CV3LmscH.js → Text-CmTOgYXf.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-Ab5Sw60T.js → TextArea-DA9CCG_J.js} +104 -50
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-zFT1_qgI.js → TextInput-CI96einV.js} +71 -38
- package/dist/Theme/index.d.ts +3 -3
- package/dist/Theme/index.js +3 -2
- package/dist/Theme-BbDT8B_C.js +2125 -0
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-C3NnJUFG.js → Thumbnail-B2ZAY59J.js} +13 -10
- package/dist/{TimeField-CoHDGmsP.js → TimeField-CpAgja9D.js} +297 -40
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-D2k3Ux3p.js → TimeInput-Bw_lHS4M.js} +78 -9
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-avMQk5DN.js → Timer-CH7GsEVu.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-xpQKCk0d.js → Timestamp-BFNuoTZ0.js} +5 -5
- package/dist/Toast/index.d.ts +1 -1
- package/dist/Toast/index.js +1 -1
- package/dist/Toast-DwnPjx6j.js +685 -0
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-B-C-Q7XP.js → ToggleButton-cLjh9W-x.js} +5 -4
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-DsntTYhQ.js → Token-BfS4vi__.js} +32 -17
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-B5C_qY7t.js → Tokenizer-Ci3E5bvP.js} +107 -23
- package/dist/Toolbar/index.d.ts +2 -2
- package/dist/Toolbar/index.js +1 -1
- package/dist/{Toolbar-BrgvvTCk.js → Toolbar-C0pMWL4S.js} +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +1 -1
- package/dist/{Tooltip-C4Vaqd3G.js → Tooltip-sAM8i1eO.js} +23 -19
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-Ciq0l1w7.js → TopNav-gW59zp1o.js} +16 -15
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-BUz-KZJd.js → TreeList-DaoI7zaH.js} +124 -41
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-JP9RT87x.js → Typeahead-D4JjvjK4.js} +123 -26
- package/dist/{TypeaheadMenu-DBW6rHeO.js → TypeaheadMenu-BQlMrfqX.js} +141 -51
- package/dist/{announce-Cnio10Wk.js → announce-B210eJVf.js} +17 -2
- package/dist/characterReferences-BJ-jLhsR.js +65 -0
- package/dist/characters-rcDbGt71.d.ts +29 -0
- package/dist/characters-wTnzjkkR.js +58 -0
- package/dist/{colorMode-CBgdgDSn.js → colorMode-BxqfDP4P.js} +1 -4
- package/dist/composables/index.d.ts +5 -4
- package/dist/composables/index.js +23 -18
- package/dist/{composables-CbKx9C1Y.js → composables-Bc02zKAO.js} +167 -197
- package/dist/context-B6UElI5X.js +5 -0
- package/dist/{context-Cfjh8te1.js → context-Cfml4jaK.js} +5 -3
- package/dist/{context-iABt_ueM.js → context-DWfi56sq.js} +451 -122
- package/dist/context-IvbU9c3T.js +8 -0
- package/dist/context-pjBxaMSh.js +28 -0
- package/dist/fieldParts--SyRZVQG.js +44 -0
- package/dist/fieldParts-LXpQMKE8.d.ts +27 -0
- package/dist/{focus-CpficIgf.js → focus-l8jVTcqd.js} +1 -1
- package/dist/hoverIntent-DMHGb85c.js +115 -0
- package/dist/{index-Cde5JvtX.d.ts → index-B-nESNam.d.ts} +8 -7
- package/dist/{index-CsNi1I8j.d.ts → index-B08-Uxhv.d.ts} +4 -2
- package/dist/{index-Cn-sSds-.d.ts → index-B56j4eI2.d.ts} +24 -1
- package/dist/{index-BkjSF265.d.ts → index-BEZ4ezJk.d.ts} +3 -3
- package/dist/{index-DeQwYJbg.d.ts → index-BNaRK-s5.d.ts} +10 -1
- package/dist/{index-0QGtSf3r.d.ts → index-BO9TY87G.d.ts} +3 -2
- package/dist/{index-IBAInumL.d.ts → index-BQEJj72c.d.ts} +23 -10
- package/dist/{index-D97pQbua.d.ts → index-BV2D2x_u.d.ts} +1 -1
- package/dist/{index-Crp3NFLW.d.ts → index-BZKgbyN9.d.ts} +1 -1
- package/dist/index-BkUkm6Al.d.ts +11 -0
- package/dist/{index-ClNU2Th8.d.ts → index-Bn-v89Vt.d.ts} +10 -6
- package/dist/{index-Bu8NA2SD.d.ts → index-BnEhvmdR.d.ts} +16 -7
- package/dist/index-Bo-ofFyg.d.ts +166 -0
- package/dist/{index-i0tNFWfz.d.ts → index-BqhgeAT4.d.ts} +2 -0
- package/dist/{index-DWh2WC8W.d.ts → index-C4Cjz6OK.d.ts} +2 -2
- package/dist/{index-B7yhzGUT.d.ts → index-C7sam-SB.d.ts} +2 -2
- package/dist/{index-BrJzFA5X.d.ts → index-C90l2rH1.d.ts} +1 -1
- package/dist/{index-vP0EtrJJ.d.ts → index-C9gAlDt_.d.ts} +6 -3
- package/dist/{index-xrzJC4wm.d.ts → index-CJ6ajsUC.d.ts} +1 -1
- package/dist/{index-B9e52paP.d.ts → index-CK-Dbh0f.d.ts} +1 -1
- package/dist/index-CKUfpmFL.d.ts +375 -0
- package/dist/{index-DXpSFlPG.d.ts → index-CKgBTAzC.d.ts} +4 -4
- package/dist/{index-gW0HW02U.d.ts → index-COxy6LEW.d.ts} +1 -1
- package/dist/{index-B4OOtNP8.d.ts → index-CPtDjmcX.d.ts} +3 -3
- package/dist/{index-12QYAbiz.d.ts → index-CRrSHbok.d.ts} +3 -2
- package/dist/{index-DG52Bg0W.d.ts → index-CTf3SK0b.d.ts} +6 -0
- package/dist/{index-BVKivP59.d.ts → index-CTjkJP4x.d.ts} +32 -3
- package/dist/{index-COgrQZIL.d.ts → index-CdvmnNMH.d.ts} +1 -1
- package/dist/{index-GI9xIV9l.d.ts → index-CikMzeab.d.ts} +2 -2
- package/dist/{index-DUaLJO7l.d.ts → index-CpNlPLBF.d.ts} +172 -126
- package/dist/{index-yT1yiiww.d.ts → index-Cs1xsHKi.d.ts} +24 -12
- package/dist/{index-Cyb9Du5Z.d.ts → index-CtTGt6Dv.d.ts} +1 -1
- package/dist/{index-Byar3h1e.d.ts → index-D05JGsT3.d.ts} +6 -3
- package/dist/{index-B3Fomy15.d.ts → index-D0_HsuC3.d.ts} +3 -3
- package/dist/{index-BgT6mH3U.d.ts → index-D7ShT2c-.d.ts} +1 -1
- package/dist/{index-CkKPMIeX.d.ts → index-D7XRtUTY.d.ts} +9 -0
- package/dist/{index-TntQsADQ.d.ts → index-DEm3kRBO.d.ts} +4 -3
- package/dist/{index-C2nbK2AA.d.ts → index-DLAG3m9W.d.ts} +13 -3
- package/dist/{index-DVmgNb78.d.ts → index-DRJZ-v1E.d.ts} +4 -4
- package/dist/{index-CL1T2j4y.d.ts → index-DY8Wph-A.d.ts} +3 -3
- package/dist/{index-B1WJxt-n.d.ts → index-DfC05uKG.d.ts} +17 -7
- package/dist/{index-C5e-7Obr.d.ts → index-Dj1_1t3j.d.ts} +19 -6
- package/dist/{index-D41_xqjs.d.ts → index-Dr4b_oji.d.ts} +20 -13
- package/dist/{index-CqE4Bf3Q.d.ts → index-Ds201-d2.d.ts} +16 -2
- package/dist/{index-DIXAzTKL.d.ts → index-DxxudRgB.d.ts} +1 -1
- package/dist/{index-B42oE_F-.d.ts → index-IfsSCj8J.d.ts} +18 -5
- package/dist/{index-XuAAcYiP.d.ts → index-f3d9cVtj.d.ts} +1 -1
- package/dist/{index-T2FOcOuI.d.ts → index-jOwU3YoR.d.ts} +400 -90
- package/dist/{index-CICeEoZV.d.ts → index-pNtfr-RW.d.ts} +1 -1
- package/dist/{index-BhpAUzUr.d.ts → index-unAZVFGz.d.ts} +2 -2
- package/dist/index.d.ts +80 -74
- package/dist/index.js +149 -134
- package/dist/inlineSize-BNe8wggI.js +66 -0
- package/dist/inputPresentation-BOyHkCDr.js +62 -0
- package/dist/interactionModality-ACpTMhak.js +44 -0
- package/dist/isApplePlatform-B1ju6F5B.js +27 -0
- package/dist/isRenderable-BnKHIqfd.js +21 -0
- package/dist/layerDepth-CNDh-IHb.js +181 -0
- package/dist/link-DuuA2eCL.js +30 -0
- package/dist/{loadCatalog-BGHKG_9N.d.ts → loadCatalog-DlLFZreI.d.ts} +281 -7
- package/dist/loadCatalog-eopw74qb.js +424 -0
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +4 -3
- package/dist/locale-CabGJlGp.js +343 -0
- package/dist/modalOutlet-CUOcrhIu.js +56 -0
- package/dist/optionAction-Cg7xQLUA.d.ts +6 -0
- package/dist/{power-search-DrDfcoL1.d.ts → power-search-gHLIYXs5.d.ts} +2 -0
- package/dist/protocol-DHxY0NI8.js +113 -0
- package/dist/protocol-RSeMzAN1.d.ts +238 -0
- package/dist/publicParser-B0MRoikr.d.ts +141 -0
- package/dist/publicParser-uHC_T0Fo.js +895 -0
- package/dist/resizableChannel-3vivrEcT.js +20 -0
- package/dist/safeUrl-CsvfcZ9m.js +54 -0
- package/dist/scopedProvide-C-Df7c15.js +30 -0
- package/dist/scrollKeyboardDelegation-D7cumnOl.js +238 -0
- package/dist/scrollLock-C3aT4-0z.js +102 -0
- package/dist/{searchResultMessage-hXXNOFJP.js → searchResultMessage-mCpJBvra.js} +5 -14
- package/dist/{semantic-CKH9XVqa.d.ts → semantic-BF_AjLvk.d.ts} +6 -3
- package/dist/slug-C65CUsf9.js +32 -0
- package/dist/syntaxContext-DmIfNNtb.js +4 -0
- package/dist/triggerVariant-BsL8jMHs.js +16 -0
- package/dist/{types-0Q_SJv_F.d.ts → types-Bb7OGivY.d.ts} +6 -1
- package/dist/{types-CwyibrRB.d.ts → types-C5GQ2KCK.d.ts} +23 -3
- package/dist/{types-gKsEkk2g.d.ts → types-CsqwQkf1.d.ts} +143 -10
- package/dist/upstreamMap-xr3gvREu.js +731 -0
- package/dist/{useAnchoredListbox-DwztMNjP.js → useAnchoredListbox-DGxxKHZb.js} +2 -2
- package/dist/{useAsyncSource-xpQovjV_.d.ts → useAsyncSource-aGzrvRkI.d.ts} +3 -0
- package/dist/{useClickableContainer-DyNpnSEa.js → useClickableContainer-CdGp_Cev.js} +1 -1
- package/dist/{useClipboard-BDfbEsWd.js → useClipboard-Dk8cS810.js} +1 -1
- package/dist/useHoverLayerDismiss-kYJ_NqL4.js +27 -0
- package/dist/{useIndicator-i1NORM7W.js → useIndicator-MZmfBWid.js} +5 -23
- package/dist/{useInputContainer-CpgDe2-4.js → useInputContainer-CLcYrby4.js} +1 -1
- package/dist/{useInputStatusIcon-DBOwxV4x.js → useInputStatusIcon-DAE7PExr.js} +1 -1
- package/dist/useLayerMountTarget-BmZyeKWE.js +156 -0
- package/dist/{useListFocus-D0iOJl39.js → useListFocus-ChxLg0b4.js} +3 -2
- package/dist/{useMenuDrillIn-DzKGkTho.js → useMenuDrillIn-DhUnPvKs.js} +6 -5
- package/dist/useMenuHover-Djreu23i.js +170 -0
- package/dist/useMenuPress-8foxY8z4.js +764 -0
- package/dist/{useMergedRefs-CfHHlCsn.js → useMergedRefs-Cb6_w93m.js} +24 -4
- package/dist/{useNumberField-4-dIGVed.js → useNumberField-Dk1BE3-K.js} +3 -3
- package/dist/useOptionActionGrid-CkJcuvaU.js +97 -0
- package/dist/{usePositionedLayer-Cru9_00b.js → usePositionedLayer-B7cvG-_v.js} +43 -49
- package/dist/usePressFeedback-BJCpjEpv.js +319 -0
- package/dist/{useResizable-DDwPpPe6.d.ts → useResizable-1MHPNaRD.d.ts} +19 -1
- package/dist/{useResizable-B3ahKLoZ.js → useResizable-I3BCiLSL.js} +72 -40
- package/dist/useResolvedLabelHidden-B2rlWiaI.js +30 -0
- package/dist/{useRestoreFocus-Djw9RUIf.js → useRestoreFocus-XEKs5-gp.js} +49 -7
- package/dist/useScrollOverflow-DuMoGXmm.js +67 -0
- package/dist/useScrollableArea-BE8b3qm7.js +222 -0
- package/dist/{useTimeValue-6ufHM15W.js → useTimeValue-BJd0xBhG.js} +4 -22
- package/dist/useTranslator-BmWt2BBt.js +35 -0
- package/dist/{useTypeahead-PAK8lMYz.js → useTypeahead-BvtflkRk.js} +4 -5
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.js +5 -0
- package/dist/{utils-D33VQDnk.js → utils-ClVseK2w.js} +29 -2
- package/dist/utils-z3Q6BGIJ.js +819 -0
- package/locales/SOURCE.json +1 -1
- package/package.json +18 -2
- package/reset.css +364 -1
- package/styles/avatar-group.css +9 -1
- package/styles/badge.css +8 -5
- package/styles/banner.css +124 -26
- package/styles/blockquote.css +1 -0
- package/styles/bordered-control.css +1 -1
- package/styles/bottom-sheet.css +74 -6
- package/styles/breadcrumbs.css +16 -2
- package/styles/button-group.css +3 -1
- package/styles/button.css +53 -11
- package/styles/card.css +1 -1
- package/styles/chat.css +16 -6
- package/styles/checkbox-input.css +10 -0
- package/styles/clickable-card.css +10 -3
- package/styles/collapsible.css +12 -5
- package/styles/command-palette.css +29 -14
- package/styles/complex-selector.css +22 -5
- package/styles/context-menu.css +3 -3
- package/styles/date-input.css +111 -1
- package/styles/dialog-header.css +4 -1
- package/styles/dialog.css +7 -0
- package/styles/dropdown-menu.css +12 -3
- package/styles/field.css +5 -0
- package/styles/form-layout.css +1 -0
- package/styles/heading.css +18 -8
- package/styles/icon.css +4 -0
- package/styles/kbd.css +1 -1
- package/styles/layer.css +72 -0
- package/styles/list.css +9 -2
- package/styles/metadata-list.css +1 -0
- package/styles/mobile-nav.css +4 -1
- package/styles/multi-selector.css +48 -1
- package/styles/nav-item.css +9 -2
- package/styles/nav-menu.css +12 -2
- package/styles/number-input.css +9 -1
- package/styles/overflow-list.css +1 -1
- package/styles/popover.css +2 -1
- package/styles/power-search.css +5 -3
- package/styles/pressable.css +63 -22
- package/styles/progress-bar.css +15 -3
- package/styles/radio.css +16 -0
- package/styles/resize-handle.css +42 -0
- package/styles/segmented-control.css +12 -4
- package/styles/selector.css +53 -1
- package/styles/side-nav.css +19 -0
- package/styles/slider.css +4 -3
- package/styles/spinner.css +48 -42
- package/styles/stepper.css +58 -4
- package/styles/switch.css +26 -0
- package/styles/tab-list.css +132 -3
- package/styles/table.css +88 -10
- package/styles/text-area.css +1 -1
- package/styles/text-input.css +1 -1
- package/styles/text.css +6 -6
- package/styles/thumbnail.css +11 -3
- package/styles/time-input.css +8 -0
- package/styles/toast.css +37 -3
- package/styles/token.css +2 -2
- package/styles/tokenizer.css +1 -1
- package/styles/toolbar.css +4 -1
- package/styles/tree-list.css +1 -1
- package/styles/typeahead.css +34 -1
- package/styles.css +1 -0
- package/dist/Blockquote-DFqBv_oJ.js +0 -18
- package/dist/Breadcrumbs-DIm4figq.js +0 -141
- package/dist/ButtonGroup-ySQWanDP.js +0 -125
- package/dist/DateTimeInput-A7m2O3bg.js +0 -268
- package/dist/MultiSelector-BtAUfQ3t.js +0 -990
- package/dist/NumberInput-AZ9x3oja.js +0 -473
- package/dist/Selector-DJ2BhUTV.js +0 -677
- package/dist/Spinner-9cYUCnDy.js +0 -84
- package/dist/Theme-CtaUWo4g.js +0 -1246
- package/dist/Toast-BuqIZV5z.js +0 -322
- package/dist/context-4PuqD1Ic.js +0 -4
- package/dist/context-D5-MwxnN.js +0 -4
- package/dist/index-BH9PzQ1F.d.ts +0 -87
- package/dist/link-C4_WogdF.js +0 -18
- package/dist/loadCatalog-CXKqEB9s.js +0 -877
- package/dist/locale-DgkZEMTn.js +0 -105
- package/dist/platform-B_9W_aHW.js +0 -33
- package/dist/scrollLock-BzIvIimL.js +0 -42
- package/dist/useMenuPress-D-FRNrBW.js +0 -573
- package/dist/useScrollableArea-DDk_CluT.js +0 -172
- /package/dist/{index-lgvUFSCO.d.ts → index-CryFtTT6.d.ts} +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { a as isImeKeyEvent } from "./layerDepth-CNDh-IHb.js";
|
|
2
|
+
import { n as useFocusTrap } from "./useRestoreFocus-XEKs5-gp.js";
|
|
3
|
+
import { t as useScrollLock } from "./scrollLock-C3aT4-0z.js";
|
|
4
|
+
import { n as useSheetLayerDismiss, r as bottomSheetSwitcherKey } from "./BottomSheet-B4sc3F1S.js";
|
|
4
5
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeModels, mergeProps, nextTick, onBeforeUnmount, onMounted, openBlock, provide, ref, renderSlot, shallowRef, useModel, useTemplateRef, watch } from "vue";
|
|
5
6
|
import "../styles/bottom-sheet.css";
|
|
6
7
|
//#region src/BottomSheet/BottomSheetSwitcher.vue
|
|
@@ -109,15 +110,30 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
109
110
|
if (flowPurpose.value === "required") return;
|
|
110
111
|
setActive(null);
|
|
111
112
|
}
|
|
113
|
+
const flowVisible = computed(() => activeSheet.value != null || retainedId.value != null);
|
|
114
|
+
const layerEscape = computed(() => {
|
|
115
|
+
if (activeSheet.value == null || flowPurpose.value === "required") return "block";
|
|
116
|
+
if (!props.hasScrim) return "ignore";
|
|
117
|
+
return "close";
|
|
118
|
+
});
|
|
119
|
+
const layer = useSheetLayerDismiss({
|
|
120
|
+
isActive: flowVisible,
|
|
121
|
+
escape: layerEscape,
|
|
122
|
+
getContainer: () => dialog.value ?? null,
|
|
123
|
+
isPresent: () => dialog.value?.open ?? false,
|
|
124
|
+
onDismiss: requestClose
|
|
125
|
+
});
|
|
112
126
|
function onKeydown(event) {
|
|
113
|
-
if (event.key !== "Escape" ||
|
|
127
|
+
if (event.key !== "Escape" || !layer.isTop()) return;
|
|
114
128
|
event.preventDefault();
|
|
129
|
+
if (isImeKeyEvent(event)) return;
|
|
115
130
|
requestClose();
|
|
116
131
|
}
|
|
117
132
|
function onCancel(event) {
|
|
118
133
|
emit("cancel", event);
|
|
119
134
|
if (event.defaultPrevented) return;
|
|
120
135
|
event.preventDefault();
|
|
136
|
+
if (!layer.isTop()) return;
|
|
121
137
|
requestClose();
|
|
122
138
|
}
|
|
123
139
|
function onDialogClick(event) {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as BreadcrumbsProps, i as BreadcrumbMenuOption, n as _default, o as BreadcrumbsVariant, r as BreadcrumbItemProps, t as _default$4 } from "../index-
|
|
1
|
+
import { b as DropdownMenuCheckboxItemProps, j as DropdownMenuRadioItemProps, k as DropdownMenuRadioGroupProps, n as _default$2, r as _default$1, t as _default$3 } from "../DropdownMenuRadioItem.vue-Qd-8Rg4Q.js";
|
|
2
|
+
import { a as BreadcrumbsProps, i as BreadcrumbMenuOption, n as _default, o as BreadcrumbsVariant, r as BreadcrumbItemProps, t as _default$4 } from "../index-B08-Uxhv.js";
|
|
3
3
|
export { _default as BreadcrumbItem, type BreadcrumbItemProps, _default$1 as BreadcrumbMenuCheckboxItem, type DropdownMenuCheckboxItemProps as BreadcrumbMenuCheckboxItemProps, type BreadcrumbMenuOption, _default$2 as BreadcrumbMenuRadioGroup, type DropdownMenuRadioGroupProps as BreadcrumbMenuRadioGroupProps, _default$3 as BreadcrumbMenuRadioItem, type DropdownMenuRadioItemProps as BreadcrumbMenuRadioItemProps, _default$4 as Breadcrumbs, type BreadcrumbsProps, type BreadcrumbsVariant };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as _sfc_main$1, n as _sfc_main$3, r as _sfc_main$2 } from "../useMenuDrillIn-
|
|
2
|
-
import { n as _sfc_main, t as _sfc_main$4 } from "../Breadcrumbs-
|
|
1
|
+
import { i as _sfc_main$1, n as _sfc_main$3, r as _sfc_main$2 } from "../useMenuDrillIn-DhUnPvKs.js";
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$4 } from "../Breadcrumbs-CTaz7Kh4.js";
|
|
3
3
|
export { _sfc_main as BreadcrumbItem, _sfc_main$1 as BreadcrumbMenuCheckboxItem, _sfc_main$2 as BreadcrumbMenuRadioGroup, _sfc_main$3 as BreadcrumbMenuRadioItem, _sfc_main$4 as Breadcrumbs };
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
2
|
+
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
3
|
+
import { n as useDevWarning } from "./useDevWarning-DznOpOHT.js";
|
|
4
|
+
import { t as _sfc_main$2 } from "./Icon-KDnUyY7f.js";
|
|
5
|
+
import { t as _sfc_main$3 } from "./DropdownMenu-BzQrNV9C.js";
|
|
6
|
+
import { n as isNavigableHref } from "./link-DuuA2eCL.js";
|
|
7
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, onMounted, onScopeDispose, onUpdated, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, useId, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
8
|
+
import "../styles/breadcrumbs.css";
|
|
9
|
+
//#region src/Breadcrumbs/context.ts
|
|
10
|
+
const breadcrumbContextKey = defineLayerScopedKey("breadcrumbContext", void 0);
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region src/Breadcrumbs/BreadcrumbItem.vue
|
|
13
|
+
const _hoisted_1$1 = {
|
|
14
|
+
class: "astryx-breadcrumb-item__separator",
|
|
15
|
+
"aria-hidden": "true"
|
|
16
|
+
};
|
|
17
|
+
const _hoisted_2$1 = {
|
|
18
|
+
key: 0,
|
|
19
|
+
class: "astryx-breadcrumb-item__slash"
|
|
20
|
+
};
|
|
21
|
+
const _hoisted_3 = ["aria-current"];
|
|
22
|
+
const _hoisted_4 = {
|
|
23
|
+
key: 0,
|
|
24
|
+
class: "astryx-breadcrumb-item__icon"
|
|
25
|
+
};
|
|
26
|
+
const _hoisted_5 = {
|
|
27
|
+
key: 0,
|
|
28
|
+
class: "astryx-breadcrumb-item__icon"
|
|
29
|
+
};
|
|
30
|
+
const _hoisted_6 = ["aria-current"];
|
|
31
|
+
const _hoisted_7 = {
|
|
32
|
+
key: 0,
|
|
33
|
+
class: "astryx-breadcrumb-item__icon"
|
|
34
|
+
};
|
|
35
|
+
const _hoisted_8 = {
|
|
36
|
+
key: 0,
|
|
37
|
+
class: "astryx-breadcrumb-item__icon"
|
|
38
|
+
};
|
|
39
|
+
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
40
|
+
__name: "BreadcrumbItem",
|
|
41
|
+
props: {
|
|
42
|
+
href: {},
|
|
43
|
+
as: {},
|
|
44
|
+
isCurrent: {
|
|
45
|
+
type: Boolean,
|
|
46
|
+
default: void 0
|
|
47
|
+
},
|
|
48
|
+
menu: {},
|
|
49
|
+
menuSize: {}
|
|
50
|
+
},
|
|
51
|
+
emits: ["click"],
|
|
52
|
+
setup(__props, { emit: __emit }) {
|
|
53
|
+
const props = __props;
|
|
54
|
+
const emit = __emit;
|
|
55
|
+
const slots = useSlots();
|
|
56
|
+
const context = readLayerScoped(breadcrumbContextKey);
|
|
57
|
+
const linkComponent = useLinkComponent();
|
|
58
|
+
const itemId = useId();
|
|
59
|
+
const variant = computed(() => context?.variant.value ?? "default");
|
|
60
|
+
const separator = computed(() => context?.separator.value ?? "/");
|
|
61
|
+
const mirrorsSlash = computed(() => separator.value === "/");
|
|
62
|
+
const hasMenu = computed(() => props.menu != null || slots.menu != null);
|
|
63
|
+
const explicitCurrent = computed(() => props.isCurrent === true);
|
|
64
|
+
const showsCurrent = computed(() => explicitCurrent.value || props.isCurrent == null && context?.autoCurrentId.value === itemId);
|
|
65
|
+
const itemRef = useTemplateRef("item");
|
|
66
|
+
if (context != null) {
|
|
67
|
+
onMounted(() => context.registerItem(itemId, props.isCurrent, () => itemRef.value));
|
|
68
|
+
watch(() => props.isCurrent, (value) => context.updateItem(itemId, value));
|
|
69
|
+
onScopeDispose(() => context.unregisterItem(itemId));
|
|
70
|
+
}
|
|
71
|
+
const classes = computed(() => ["astryx-breadcrumb-item", `astryx-breadcrumb-item--variant-${variant.value}`]);
|
|
72
|
+
const contentClasses = computed(() => ["astryx-breadcrumb-item__content", showsCurrent.value && "astryx-breadcrumb-item__content--current"]);
|
|
73
|
+
const menuSize = computed(() => props.menuSize ?? (variant.value === "supporting" ? "sm" : "md"));
|
|
74
|
+
/** The link crumb keeps the anchor unless a router link is passed in or a LinkProvider supplies one. */
|
|
75
|
+
const customLink = computed(() => props.as ?? linkComponent.value);
|
|
76
|
+
const linkRoot = computed(() => customLink.value == null ? "a" : toRaw(customLink.value));
|
|
77
|
+
const rendersLink = computed(() => isNavigableHref(props.href) && !explicitCurrent.value);
|
|
78
|
+
useDevWarning("BreadcrumbItem", "`menu` and `href` are mutually exclusive; `menu` takes precedence and `href` is ignored.", () => hasMenu.value && Boolean(props.href));
|
|
79
|
+
function handleClick(event) {
|
|
80
|
+
if (explicitCurrent.value) {
|
|
81
|
+
event.preventDefault();
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
emit("click", event);
|
|
85
|
+
}
|
|
86
|
+
return (_ctx, _cache) => {
|
|
87
|
+
return openBlock(), createElementBlock("li", {
|
|
88
|
+
ref: "item",
|
|
89
|
+
class: normalizeClass(classes.value)
|
|
90
|
+
}, [createElementVNode("span", _hoisted_1$1, [mirrorsSlash.value ? (openBlock(), createElementBlock("span", _hoisted_2$1, "/")) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(toDisplayString(separator.value), 1)], 64))]), hasMenu.value ? (openBlock(), createBlock(_sfc_main$3, {
|
|
91
|
+
key: 0,
|
|
92
|
+
button: {
|
|
93
|
+
label: "Menu",
|
|
94
|
+
size: menuSize.value
|
|
95
|
+
},
|
|
96
|
+
items: slots.menu ? void 0 : __props.menu,
|
|
97
|
+
"menu-width": "max-content"
|
|
98
|
+
}, createSlots({
|
|
99
|
+
trigger: withCtx((triggerProps) => [createElementVNode("button", mergeProps({
|
|
100
|
+
type: "button",
|
|
101
|
+
class: ["astryx-breadcrumb-item-menu-trigger", contentClasses.value]
|
|
102
|
+
}, triggerProps, { "aria-current": showsCurrent.value ? "page" : void 0 }), [
|
|
103
|
+
_ctx.$slots.startIcon ? (openBlock(), createElementBlock("span", _hoisted_4, [renderSlot(_ctx.$slots, "startIcon")])) : createCommentVNode("v-if", true),
|
|
104
|
+
renderSlot(_ctx.$slots, "default"),
|
|
105
|
+
createVNode(_sfc_main$2, {
|
|
106
|
+
class: "astryx-breadcrumb-item__chevron",
|
|
107
|
+
icon: "chevronDown",
|
|
108
|
+
size: "sm"
|
|
109
|
+
})
|
|
110
|
+
], 16, _hoisted_3)]),
|
|
111
|
+
_: 2
|
|
112
|
+
}, [slots.menu ? {
|
|
113
|
+
name: "default",
|
|
114
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "menu")]),
|
|
115
|
+
key: "0"
|
|
116
|
+
} : void 0]), 1032, ["button", "items"])) : rendersLink.value ? (openBlock(), createBlock(resolveDynamicComponent(linkRoot.value), {
|
|
117
|
+
key: 1,
|
|
118
|
+
href: __props.href,
|
|
119
|
+
to: customLink.value != null ? __props.href : void 0,
|
|
120
|
+
class: normalizeClass(contentClasses.value),
|
|
121
|
+
"aria-current": showsCurrent.value ? "page" : void 0,
|
|
122
|
+
onClick: handleClick
|
|
123
|
+
}, {
|
|
124
|
+
default: withCtx(() => [_ctx.$slots.startIcon ? (openBlock(), createElementBlock("span", _hoisted_5, [renderSlot(_ctx.$slots, "startIcon")])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default")]),
|
|
125
|
+
_: 3
|
|
126
|
+
}, 8, [
|
|
127
|
+
"href",
|
|
128
|
+
"to",
|
|
129
|
+
"class",
|
|
130
|
+
"aria-current"
|
|
131
|
+
])) : !explicitCurrent.value ? (openBlock(), createElementBlock("button", {
|
|
132
|
+
key: 2,
|
|
133
|
+
type: "button",
|
|
134
|
+
class: normalizeClass(contentClasses.value),
|
|
135
|
+
"aria-current": showsCurrent.value ? "page" : void 0,
|
|
136
|
+
onClick: handleClick
|
|
137
|
+
}, [_ctx.$slots.startIcon ? (openBlock(), createElementBlock("span", _hoisted_7, [renderSlot(_ctx.$slots, "startIcon")])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default")], 10, _hoisted_6)) : (openBlock(), createElementBlock("span", {
|
|
138
|
+
key: 3,
|
|
139
|
+
class: normalizeClass(contentClasses.value),
|
|
140
|
+
"aria-current": "page"
|
|
141
|
+
}, [_ctx.$slots.startIcon ? (openBlock(), createElementBlock("span", _hoisted_8, [renderSlot(_ctx.$slots, "startIcon")])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default")], 2))], 2);
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
//#endregion
|
|
146
|
+
//#region src/Breadcrumbs/breadcrumbTrail.ts
|
|
147
|
+
function byDocumentOrder(a, b) {
|
|
148
|
+
const left = a.getElement();
|
|
149
|
+
const right = b.getElement();
|
|
150
|
+
if (left == null || right == null) return 0;
|
|
151
|
+
return left.compareDocumentPosition(right) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* 没人把某一项标成当前页时,页面上排在最后的那一项就是当前页。
|
|
155
|
+
* 最后一项明确写了 false,就谁都不是当前页,不往前顺延。已经有人标了 true,也不再自动补。
|
|
156
|
+
* 项在挂载后才登记,所以服务端渲染时不会标自动当前页,和浏览器里第一帧一致。
|
|
157
|
+
*/
|
|
158
|
+
function useBreadcrumbTrail() {
|
|
159
|
+
const items = ref([]);
|
|
160
|
+
const order = ref(0);
|
|
161
|
+
onUpdated(() => {
|
|
162
|
+
order.value++;
|
|
163
|
+
});
|
|
164
|
+
function registerItem(id, explicit, getElement) {
|
|
165
|
+
items.value = [...items.value.filter((item) => item.id !== id), {
|
|
166
|
+
id,
|
|
167
|
+
explicit,
|
|
168
|
+
getElement
|
|
169
|
+
}];
|
|
170
|
+
}
|
|
171
|
+
function updateItem(id, explicit) {
|
|
172
|
+
items.value = items.value.map((item) => item.id === id ? {
|
|
173
|
+
...item,
|
|
174
|
+
explicit
|
|
175
|
+
} : item);
|
|
176
|
+
}
|
|
177
|
+
function unregisterItem(id) {
|
|
178
|
+
items.value = items.value.filter((item) => item.id !== id);
|
|
179
|
+
}
|
|
180
|
+
return {
|
|
181
|
+
autoCurrentId: computed(() => {
|
|
182
|
+
order.value;
|
|
183
|
+
if (items.value.some((item) => item.explicit === true)) return null;
|
|
184
|
+
const last = [...items.value].sort(byDocumentOrder).at(-1);
|
|
185
|
+
return last != null && last.explicit == null ? last.id : null;
|
|
186
|
+
}),
|
|
187
|
+
registerItem,
|
|
188
|
+
updateItem,
|
|
189
|
+
unregisterItem
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
//#endregion
|
|
193
|
+
//#region src/Breadcrumbs/Breadcrumbs.vue
|
|
194
|
+
const _hoisted_1 = ["aria-label"];
|
|
195
|
+
const _hoisted_2 = { class: "astryx-breadcrumbs__list" };
|
|
196
|
+
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
197
|
+
__name: "Breadcrumbs",
|
|
198
|
+
props: {
|
|
199
|
+
separator: { default: "/" },
|
|
200
|
+
variant: { default: "default" },
|
|
201
|
+
label: { default: "Breadcrumb" }
|
|
202
|
+
},
|
|
203
|
+
setup(__props) {
|
|
204
|
+
const props = __props;
|
|
205
|
+
const trail = useBreadcrumbTrail();
|
|
206
|
+
provide(breadcrumbContextKey, {
|
|
207
|
+
variant: computed(() => props.variant),
|
|
208
|
+
separator: computed(() => props.separator),
|
|
209
|
+
autoCurrentId: trail.autoCurrentId,
|
|
210
|
+
registerItem: trail.registerItem,
|
|
211
|
+
updateItem: trail.updateItem,
|
|
212
|
+
unregisterItem: trail.unregisterItem
|
|
213
|
+
});
|
|
214
|
+
return (_ctx, _cache) => {
|
|
215
|
+
return openBlock(), createElementBlock("nav", {
|
|
216
|
+
class: "astryx-breadcrumbs",
|
|
217
|
+
"aria-label": __props.label
|
|
218
|
+
}, [createElementVNode("ol", _hoisted_2, [renderSlot(_ctx.$slots, "default")])], 8, _hoisted_1);
|
|
219
|
+
};
|
|
220
|
+
}
|
|
221
|
+
});
|
|
222
|
+
//#endregion
|
|
223
|
+
export { _sfc_main$1 as n, _sfc_main as t };
|
package/dist/Button/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as ButtonProps, c as ButtonSizeValue, d as ButtonVariantMap, i as ButtonLinkElement, l as ButtonSlots, n as ButtonElevation, o as ButtonRootElement, r as ButtonEmits, s as ButtonSize, t as ButtonClickAction, u as ButtonVariant } from "../types-WlmsNL1I.js";
|
|
2
|
-
import { t as _default } from "../index-
|
|
2
|
+
import { t as _default } from "../index-CPtDjmcX.js";
|
|
3
3
|
export { _default as Button, _default as default, type ButtonClickAction, type ButtonElevation, type ButtonEmits, type ButtonLinkElement, type ButtonProps, type ButtonRootElement, type ButtonSize, type ButtonSizeValue, type ButtonSlots, type ButtonVariant, type ButtonVariantMap };
|
package/dist/Button/index.js
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import { t as usePressFeedback } from "./usePressFeedback-BJCpjEpv.js";
|
|
2
|
+
import { n as readLayerScoped } from "./scopedProvide-C-Df7c15.js";
|
|
3
|
+
import { t as provideIconSize } from "./context-pjBxaMSh.js";
|
|
4
|
+
import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
1
5
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
2
6
|
import { t as _sfc_main$2 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
3
|
-
import { t as _sfc_main$3 } from "./ButtonTooltip-
|
|
4
|
-
import { t as buttonGroupContextKey } from "./context-
|
|
7
|
+
import { t as _sfc_main$3 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
8
|
+
import { t as buttonGroupContextKey } from "./context-B6UElI5X.js";
|
|
5
9
|
import { t as invokeNativeEventHandler } from "./eventHandlers-DUXzBWZy.js";
|
|
6
|
-
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent,
|
|
10
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, onScopeDispose, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
7
11
|
import "../styles/button.css";
|
|
8
12
|
//#region src/Button/ButtonSpinner.vue
|
|
9
13
|
const _hoisted_1$1 = ["aria-label"];
|
|
@@ -192,11 +196,14 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
192
196
|
const emit = __emit;
|
|
193
197
|
const attrs = useAttrs();
|
|
194
198
|
const slots = useSlots();
|
|
195
|
-
const group =
|
|
199
|
+
const group = readLayerScoped(buttonGroupContextKey);
|
|
196
200
|
const linkComponent = useLinkComponent();
|
|
197
201
|
const renderedRoot = useTemplateRef("root");
|
|
198
202
|
const tooltipId = `astryx-button-tooltip-${useId()}`;
|
|
203
|
+
const press = usePressFeedback({ hasOverlay: false });
|
|
199
204
|
const effectiveSize = computed(() => props.size ?? group?.size.value ?? "md");
|
|
205
|
+
/** 小、中按钮里的图标是 16px,大按钮是 20px。插槽里没写尺寸的图标跟着走。 */
|
|
206
|
+
provideIconSize(computed(() => effectiveSize.value === "lg" ? "md" : "sm"));
|
|
200
207
|
const isGroupDisabled = computed(() => group?.isDisabled.value ?? false);
|
|
201
208
|
const isLocallyDisabled = computed(() => props.isDisabled || isGroupDisabled.value);
|
|
202
209
|
const action = useButtonAction({
|
|
@@ -211,9 +218,14 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
211
218
|
const isDisabledState = computed(() => isLocallyDisabled.value || isLoadingState.value && !props.isInterruptible);
|
|
212
219
|
const hasTooltip = computed(() => (props.tooltip?.trim().length ?? 0) > 0);
|
|
213
220
|
const useAriaDisabled = computed(() => hasTooltip.value && isDisabledState.value);
|
|
221
|
+
const safeHref = computed(() => props.href != null && isSafeUrl(props.href) ? props.href : void 0);
|
|
214
222
|
const renderAsLink = computed(() => props.href != null && !isDisabledState.value);
|
|
215
|
-
const rootComponent = computed(() =>
|
|
216
|
-
|
|
223
|
+
const rootComponent = computed(() => {
|
|
224
|
+
if (!renderAsLink.value) return "button";
|
|
225
|
+
if (safeHref.value == null) return "a";
|
|
226
|
+
return toRaw(props.as ?? linkComponent.value ?? "a");
|
|
227
|
+
});
|
|
228
|
+
const isCustomLink = computed(() => renderAsLink.value && safeHref.value != null && rootComponent.value !== "a");
|
|
217
229
|
const nativeDisabled = computed(() => !renderAsLink.value && !useAriaDisabled.value && isDisabledState.value);
|
|
218
230
|
const element = computed(() => {
|
|
219
231
|
const root = renderedRoot.value;
|
|
@@ -222,12 +234,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
222
234
|
return root.$el instanceof HTMLElement ? root.$el : null;
|
|
223
235
|
});
|
|
224
236
|
const buttonTooltip = useButtonTooltip(hasTooltip);
|
|
225
|
-
const rootClass = computed(() => [
|
|
226
|
-
"astryx-button",
|
|
227
|
-
props.variant,
|
|
228
|
-
effectiveSize.value,
|
|
229
|
-
attrs.class
|
|
230
|
-
]);
|
|
237
|
+
const rootClass = computed(() => ["astryx-button", attrs.class]);
|
|
231
238
|
const rootStyle = computed(() => {
|
|
232
239
|
const buttonStyle = {};
|
|
233
240
|
if (props.width != null) buttonStyle["--astryx-button-width"] = typeof props.width === "number" ? `${props.width}px` : props.width;
|
|
@@ -255,7 +262,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
255
262
|
"style"
|
|
256
263
|
]);
|
|
257
264
|
function getForwardedAttrs() {
|
|
258
|
-
return
|
|
265
|
+
return {
|
|
266
|
+
...Object.fromEntries(Object.entries(attrs).filter(([key]) => !controlledAttrs.has(key))),
|
|
267
|
+
...press.pressableProps
|
|
268
|
+
};
|
|
259
269
|
}
|
|
260
270
|
function handleRootClick(event) {
|
|
261
271
|
return action.handleClick(event);
|
|
@@ -284,12 +294,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
284
294
|
"data-variant": __props.variant,
|
|
285
295
|
disabled: nativeDisabled.value || void 0,
|
|
286
296
|
form: renderAsLink.value ? void 0 : __props.form,
|
|
287
|
-
href: renderAsLink.value ?
|
|
297
|
+
href: renderAsLink.value ? safeHref.value : void 0,
|
|
288
298
|
name: renderAsLink.value ? void 0 : __props.name,
|
|
289
299
|
rel: renderAsLink.value ? __props.rel : void 0,
|
|
290
300
|
style: rootStyle.value,
|
|
291
301
|
target: renderAsLink.value ? __props.target : void 0,
|
|
292
|
-
to: isCustomLink.value ?
|
|
302
|
+
to: isCustomLink.value ? safeHref.value : void 0,
|
|
293
303
|
type: renderAsLink.value ? void 0 : __props.type,
|
|
294
304
|
value: renderAsLink.value ? void 0 : __props.value,
|
|
295
305
|
onBlur: unref(buttonTooltip).onBlur,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ha as ButtonGroupProps, Ua as ButtonGroupSlots, Va as _default, Wa as ButtonGroupOrientation } from "../index-CpNlPLBF.js";
|
|
2
2
|
export { _default as ButtonGroup, _default as default, type ButtonGroupOrientation, type ButtonGroupProps, type ButtonGroupSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as ButtonGroup_default } from "../ButtonGroup-
|
|
1
|
+
import { n as _sfc_main, t as ButtonGroup_default } from "../ButtonGroup-DnkSZ9a5.js";
|
|
2
2
|
export { _sfc_main as ButtonGroup, ButtonGroup_default as default };
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { t as buttonGroupContextKey } from "./context-B6UElI5X.js";
|
|
2
|
+
import { t as invokeNativeEventHandler } from "./eventHandlers-DUXzBWZy.js";
|
|
3
|
+
import { t as useListFocus } from "./useListFocus-ChxLg0b4.js";
|
|
4
|
+
import { computed, createElementBlock, defineComponent, mergeProps, openBlock, provide, renderSlot, unref, useAttrs } from "vue";
|
|
5
|
+
import "../styles/button-group.css";
|
|
6
|
+
//#region src/ButtonGroup/ButtonGroup.vue
|
|
7
|
+
const _hoisted_1 = [
|
|
8
|
+
"aria-disabled",
|
|
9
|
+
"aria-label",
|
|
10
|
+
"data-elevation",
|
|
11
|
+
"data-orientation",
|
|
12
|
+
"data-size"
|
|
13
|
+
];
|
|
14
|
+
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
15
|
+
name: "ButtonGroup",
|
|
16
|
+
inheritAttrs: false,
|
|
17
|
+
__name: "ButtonGroup",
|
|
18
|
+
props: {
|
|
19
|
+
elevation: { default: "none" },
|
|
20
|
+
isDisabled: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
default: false
|
|
23
|
+
},
|
|
24
|
+
label: {},
|
|
25
|
+
orientation: { default: "horizontal" },
|
|
26
|
+
size: { default: "md" }
|
|
27
|
+
},
|
|
28
|
+
setup(__props, { expose: __expose }) {
|
|
29
|
+
const props = __props;
|
|
30
|
+
const attrs = useAttrs();
|
|
31
|
+
const orientation = computed(() => props.orientation);
|
|
32
|
+
const { listRef: element, handleKeyDown, handleFocus } = useListFocus({
|
|
33
|
+
itemSelector: "button, a[href], [tabindex]",
|
|
34
|
+
boundarySelector: "[role=\"group\"], [popover]",
|
|
35
|
+
orientation: () => props.orientation,
|
|
36
|
+
hasRovingTabIndex: true
|
|
37
|
+
});
|
|
38
|
+
const isDisabled = computed(() => props.isDisabled);
|
|
39
|
+
const size = computed(() => props.size);
|
|
40
|
+
provide(buttonGroupContextKey, {
|
|
41
|
+
isDisabled,
|
|
42
|
+
orientation,
|
|
43
|
+
size
|
|
44
|
+
});
|
|
45
|
+
const rootClass = computed(() => ["astryx-button-group", attrs.class]);
|
|
46
|
+
const rootStyle = computed(() => attrs.style);
|
|
47
|
+
const controlledAttrs = /* @__PURE__ */ new Set([
|
|
48
|
+
"aria-disabled",
|
|
49
|
+
"aria-label",
|
|
50
|
+
"class",
|
|
51
|
+
"onKeyDown",
|
|
52
|
+
"onKeydown",
|
|
53
|
+
"style"
|
|
54
|
+
]);
|
|
55
|
+
function getForwardedAttrs() {
|
|
56
|
+
return Object.fromEntries(Object.entries(attrs).filter(([key]) => !controlledAttrs.has(key)));
|
|
57
|
+
}
|
|
58
|
+
function onKeydown(event) {
|
|
59
|
+
invokeNativeEventHandler(attrs.onKeydown ?? attrs.onKeyDown, event);
|
|
60
|
+
if (event.defaultPrevented) return;
|
|
61
|
+
handleKeyDown(event);
|
|
62
|
+
}
|
|
63
|
+
__expose({ element });
|
|
64
|
+
return (_ctx, _cache) => {
|
|
65
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
66
|
+
ref_key: "element",
|
|
67
|
+
ref: element
|
|
68
|
+
}, getForwardedAttrs(), {
|
|
69
|
+
"aria-disabled": isDisabled.value || void 0,
|
|
70
|
+
"aria-label": __props.label,
|
|
71
|
+
class: rootClass.value,
|
|
72
|
+
"data-elevation": __props.elevation,
|
|
73
|
+
"data-orientation": orientation.value,
|
|
74
|
+
"data-size": size.value,
|
|
75
|
+
role: "group",
|
|
76
|
+
style: rootStyle.value,
|
|
77
|
+
onFocusin: _cache[0] || (_cache[0] = (...args) => unref(handleFocus) && unref(handleFocus)(...args)),
|
|
78
|
+
onKeydown
|
|
79
|
+
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1);
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
//#endregion
|
|
84
|
+
//#region src/ButtonGroup/index.ts
|
|
85
|
+
var ButtonGroup_default = _sfc_main;
|
|
86
|
+
//#endregion
|
|
87
|
+
export { _sfc_main as n, ButtonGroup_default as t };
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-BmZyeKWE.js";
|
|
2
|
+
import { Teleport, computed, createBlock, createCommentVNode, createElementBlock, defineComponent, nextTick, normalizeStyle, onBeforeUnmount, onMounted, openBlock, shallowRef, toDisplayString, unref, useTemplateRef, vShow, watch, withDirectives } from "vue";
|
|
3
|
+
import "../styles/layer.css";
|
|
2
4
|
//#region src/Button/ButtonTooltip.vue
|
|
3
5
|
const _hoisted_1 = ["id"];
|
|
4
6
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
@@ -14,6 +16,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
14
16
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
15
17
|
const props = __props;
|
|
16
18
|
const emit = __emit;
|
|
19
|
+
const teleportTarget = useResolvedLayerTeleport(computed(() => props.anchor));
|
|
17
20
|
const isMounted = shallowRef(false);
|
|
18
21
|
const tooltip = useTemplateRef("tooltip");
|
|
19
22
|
const tooltipStyle = shallowRef({
|
|
@@ -73,17 +76,17 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
73
76
|
});
|
|
74
77
|
onBeforeUnmount(stopListening);
|
|
75
78
|
return (_ctx, _cache) => {
|
|
76
|
-
return openBlock(), createBlock(Teleport, { to:
|
|
79
|
+
return openBlock(), createBlock(Teleport, { to: unref(teleportTarget) }, [isMounted.value ? withDirectives((openBlock(), createElementBlock("div", {
|
|
77
80
|
key: 0,
|
|
78
81
|
id: __props.id,
|
|
79
82
|
ref_key: "tooltip",
|
|
80
83
|
ref: tooltip,
|
|
81
|
-
class: "astryx-button-tooltip",
|
|
84
|
+
class: "astryx-button-tooltip astryx-layer",
|
|
82
85
|
role: "tooltip",
|
|
83
86
|
style: normalizeStyle(tooltipStyle.value),
|
|
84
87
|
onPointerenter: _cache[0] || (_cache[0] = ($event) => emit("pointerEnter")),
|
|
85
88
|
onPointerleave: _cache[1] || (_cache[1] = ($event) => emit("pointerLeave"))
|
|
86
|
-
}, toDisplayString(__props.text), 45, _hoisted_1)), [[vShow, __props.open]]) : createCommentVNode("v-if", true)]);
|
|
89
|
+
}, toDisplayString(__props.text), 45, _hoisted_1)), [[vShow, __props.open]]) : createCommentVNode("v-if", true)], 8, ["to"]);
|
|
87
90
|
};
|
|
88
91
|
}
|
|
89
92
|
});
|
package/dist/Calendar/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ba as CalendarSlots, Fa as CalendarEmits, Ia as CalendarHandle, La as CalendarHandleRef, Pa as _default, Ra as CalendarProps, za as CalendarRangeValue } from "../index-CpNlPLBF.js";
|
|
2
2
|
export { _default as Calendar, type CalendarEmits, type CalendarHandle, type CalendarHandleRef, type CalendarProps, type CalendarRangeValue, type CalendarSlots };
|
package/dist/Calendar/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Calendar-
|
|
1
|
+
import { t as _sfc_main } from "../Calendar-BAqzzQm2.js";
|
|
2
2
|
export { _sfc_main as Calendar };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
2
|
-
import { t as useAnnounce } from "./announce-
|
|
2
|
+
import { t as useAnnounce } from "./announce-B210eJVf.js";
|
|
3
3
|
import { c as resolveWeekStart } from "./useDateRange-CIXoE_8k.js";
|
|
4
4
|
import { t as useHandleRef } from "./useHandleRef-6cdKugm8.js";
|
|
5
|
-
import {
|
|
6
|
-
import { a as
|
|
7
|
-
import { t as _sfc_main$2 } from "./Icon-
|
|
5
|
+
import { o as useAstryxLocale, s as useAstryxMessages } from "./context-DWfi56sq.js";
|
|
6
|
+
import { a as weekdayNames, i as standaloneShortWeekdayNames, r as formatCalendarMonth } from "./locale-CabGJlGp.js";
|
|
7
|
+
import { t as _sfc_main$2 } from "./Icon-KDnUyY7f.js";
|
|
8
8
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, nextTick, normalizeClass, openBlock, renderList, renderSlot, shallowRef, toDisplayString, unref, useTemplateRef, watch, withCtx } from "vue";
|
|
9
9
|
import { CalendarDate } from "@internationalized/date";
|
|
10
10
|
import "../styles/calendar.css";
|
|
@@ -653,4 +653,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
653
653
|
}
|
|
654
654
|
});
|
|
655
655
|
//#endregion
|
|
656
|
-
export { isCalendarDateDisabled as n,
|
|
656
|
+
export { isOutsideCalendarBounds as a, toCalendarDate as c, isCalendarDateDisabled as i, weekStartIndex as l, resolveCalendarKey as n, formatWeekdayDate as o, buildCalendarWeeks as r, sameCalendarDay as s, _sfc_main as t };
|
package/dist/Card/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CardSlots, i as CardSizeValue, n as CardElevation, o as CardVariant, r as CardProps, t as _default } from "../index-
|
|
2
|
-
export { _default as Card, type CardElevation, type CardProps, type CardSizeValue, type CardSlots, type CardVariant };
|
|
1
|
+
import { a as CardSlots, i as CardSizeValue, n as CardElevation, o as CardVariant, r as CardProps, s as CardVariantMap, t as _default } from "../index-CTjkJP4x.js";
|
|
2
|
+
export { _default as Card, type CardElevation, type CardProps, type CardSizeValue, type CardSlots, type CardVariant, type CardVariantMap };
|
package/dist/Carousel/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Carousel-
|
|
1
|
+
import { t as _sfc_main } from "../Carousel-DXC22UWq.js";
|
|
2
2
|
export { _sfc_main as Carousel };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "./IconButton-
|
|
2
|
-
import {
|
|
3
|
-
import { t as _sfc_main$2 } from "./Icon-
|
|
1
|
+
import { t as _sfc_main$1 } from "./IconButton-DI-XBbtV.js";
|
|
2
|
+
import { s as useAstryxMessages } from "./context-DWfi56sq.js";
|
|
3
|
+
import { t as _sfc_main$2 } from "./Icon-KDnUyY7f.js";
|
|
4
4
|
import { Comment, Fragment, Text, computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, h, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUpdated, openBlock, ref, unref, watch, withCtx } from "vue";
|
|
5
5
|
import "../styles/carousel.css";
|
|
6
6
|
//#region src/Carousel/slides.ts
|
|
@@ -323,7 +323,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
323
323
|
createElementVNode("div", {
|
|
324
324
|
ref_key: "scroller",
|
|
325
325
|
ref: scroller,
|
|
326
|
-
class: "astryx-carousel__scroller",
|
|
326
|
+
class: "astryx-carousel__scroller astryx-carousel-scroller",
|
|
327
327
|
"data-gap": __props.gap,
|
|
328
328
|
"data-padding": __props.padding,
|
|
329
329
|
"data-snap": __props.hasSnap || void 0,
|
package/dist/Chat/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as ChatComposerTokenBadge, A as _default$8, At as
|
|
1
|
+
import { $ as ChatComposerTokenBadge, A as _default$8, At as ChatReasoningProps, B as ChatComposerDrawerEmits, Bt as ChatTypingIndicatorProps, C as _default$15, Ct as ChatMessageMetadataProps, D as _default$11, Dt as ChatMessageSlots, E as _default$12, Et as ChatMessageSender, F as _default$3, Ft as ChatToolCallItem, G as ChatComposerInputControl, H as ChatComposerDrawerSlots, I as _default$2, It as ChatToolCallStatus, J as ChatComposerInputProps, K as ChatComposerInputEmits, L as _default$1, Lt as ChatToolCallsEmits, M as _default$6, Mt as ChatSystemMessageProps, N as _default$5, Nt as ChatSystemMessageSlots, O as _default$10, Ot as ChatMessageStatus, P as _default$4, Pt as ChatSystemMessageVariant, Q as ChatComposerToken, R as _default, Rt as ChatToolCallsProps, S as _default$16, St as ChatMessageListSlots, T as _default$13, Tt as ChatMessageProps, U as ChatComposerElevation, V as ChatComposerDrawerProps, Vt as ChatUnreadDividerProps, W as ChatComposerEmits, X as ChatComposerSlots, Y as ChatComposerProps, Z as ChatComposerStatus, _ as useChatComposerContext, _t as ChatMessageBubbleProps, a as useChatPasteAsToken, at as ChatSendButtonEmits, b as useChatMessageContext, bt as ChatMessageListAlign, c as SpeechRecognitionError, ct as ChatTokenizedTextProps, d as useSpeechRecognition, dt as ChatLayoutProps, et as ChatComposerTokenCustom, f as TokenPortal, ft as ChatLayoutScrollButtonEmits, g as ChatComposerContextValue, gt as ChatMessageBubbleGroup, h as useChatComposerTokens, ht as ChatLayoutSlots, i as pastedTextLabel, it as ChatDictationButtonProps, j as _default$7, jt as ChatReasoningSlots, k as _default$9, kt as ChatReasoningEmits, l as UseSpeechRecognitionOptions, lt as ChatTokenizedTextSlots, m as UseChatComposerTokensReturn, mt as ChatLayoutScrollSlotProps, n as UseChatPasteAsTokenOptions, nt as ChatComposerTrigger, o as UseChatDictationOptions, ot as ChatSendButtonProps, p as UseChatComposerTokensOptions, pt as ChatLayoutScrollButtonProps, q as ChatComposerInputHandle, r as UseChatPasteAsTokenReturn, rt as ChatComposerTriggerItem, s as useChatDictation, st as ChatSendButtonSlots, t as PASTE_TOKEN_THRESHOLD, tt as ChatComposerTokenElementProps, u as UseSpeechRecognitionReturn, ut as ChatDensity, v as useChatLayoutContext, vt as ChatMessageBubbleSlots, w as _default$14, wt as ChatMessageMetadataSlots, x as _default$17, xt as ChatMessageListProps, y as useChatListContext, yt as ChatMessageBubbleVariant, z as ChatComposerDensity, zt as ChatToolCallsSlots } from "../index-BQEJj72c.js";
|
|
2
2
|
export { _default as ChatComposer, type ChatComposerContextValue, type ChatComposerDensity, _default$1 as ChatComposerDrawer, type ChatComposerDrawerEmits, type ChatComposerDrawerProps, type ChatComposerDrawerSlots, type ChatComposerElevation, type ChatComposerEmits, _default$2 as ChatComposerInput, type ChatComposerInputControl, type ChatComposerInputEmits, type ChatComposerInputHandle, type ChatComposerInputProps, type ChatComposerProps, type ChatComposerSlots, type ChatComposerStatus, type ChatComposerToken, type ChatComposerTokenBadge, type ChatComposerTokenCustom, _default$3 as ChatComposerTokenElement, type ChatComposerTokenElementProps, type ChatComposerTrigger, type ChatComposerTriggerItem, type ChatDensity, _default$4 as ChatDictationButton, type ChatDictationButtonProps, _default$5 as ChatLayout, type ChatLayoutProps, _default$6 as ChatLayoutScrollButton, type ChatLayoutScrollButtonEmits, type ChatLayoutScrollButtonProps, type ChatLayoutScrollSlotProps, type ChatLayoutSlots, _default$7 as ChatMessage, _default$8 as ChatMessageBubble, type ChatMessageBubbleGroup, type ChatMessageBubbleProps, type ChatMessageBubbleSlots, type ChatMessageBubbleVariant, _default$9 as ChatMessageList, type ChatMessageListAlign, type ChatMessageListProps, type ChatMessageListSlots, _default$10 as ChatMessageMetadata, type ChatMessageMetadataProps, type ChatMessageMetadataSlots, type ChatMessageProps, type ChatMessageSender, type ChatMessageSlots, type ChatMessageStatus, _default$11 as ChatReasoning, type ChatReasoningEmits, type ChatReasoningProps, type ChatReasoningSlots, _default$12 as ChatSendButton, type ChatSendButtonEmits, type ChatSendButtonProps, type ChatSendButtonSlots, _default$13 as ChatSystemMessage, type ChatSystemMessageProps, type ChatSystemMessageSlots, type ChatSystemMessageVariant, _default$14 as ChatTokenizedText, type ChatTokenizedTextProps, type ChatTokenizedTextSlots, type ChatToolCallItem, type ChatToolCallStatus, _default$15 as ChatToolCalls, type ChatToolCallsEmits, type ChatToolCallsProps, type ChatToolCallsSlots, _default$16 as ChatTypingIndicator, type ChatTypingIndicatorProps, _default$17 as ChatUnreadDivider, type ChatUnreadDividerProps, PASTE_TOKEN_THRESHOLD, type SpeechRecognitionError, type TokenPortal, type UseChatComposerTokensOptions, type UseChatComposerTokensReturn, type UseChatDictationOptions, type UseChatPasteAsTokenOptions, type UseChatPasteAsTokenReturn, type UseSpeechRecognitionOptions, type UseSpeechRecognitionReturn, pastedTextLabel, useChatComposerContext, useChatComposerTokens, useChatDictation, useChatLayoutContext, useChatListContext, useChatMessageContext, useChatPasteAsToken, useSpeechRecognition };
|
package/dist/Chat/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as useChatLayoutContext, D as pastedTextLabel, E as PASTE_TOKEN_THRESHOLD, O as useChatPasteAsToken, S as useChatComposerContext, T as useChatMessageContext, _ as _sfc_main$1, a as _sfc_main$15, b as _sfc_main$2, c as _sfc_main$11, d as _sfc_main$8, f as _sfc_main$7, g as _sfc_main$3, h as _sfc_main$4, i as _sfc_main$16, l as _sfc_main$10, m as _sfc_main$6, n as useSpeechRecognition, o as _sfc_main$14, p as _sfc_main$5, r as _sfc_main$17, s as _sfc_main$13, t as useChatDictation, u as _sfc_main$9, v as _sfc_main, w as useChatListContext, x as useChatComposerTokens, y as _sfc_main$12 } from "../Chat-
|
|
1
|
+
import { C as useChatLayoutContext, D as pastedTextLabel, E as PASTE_TOKEN_THRESHOLD, O as useChatPasteAsToken, S as useChatComposerContext, T as useChatMessageContext, _ as _sfc_main$1, a as _sfc_main$15, b as _sfc_main$2, c as _sfc_main$11, d as _sfc_main$8, f as _sfc_main$7, g as _sfc_main$3, h as _sfc_main$4, i as _sfc_main$16, l as _sfc_main$10, m as _sfc_main$6, n as useSpeechRecognition, o as _sfc_main$14, p as _sfc_main$5, r as _sfc_main$17, s as _sfc_main$13, t as useChatDictation, u as _sfc_main$9, v as _sfc_main, w as useChatListContext, x as useChatComposerTokens, y as _sfc_main$12 } from "../Chat-BdJW6IX5.js";
|
|
2
2
|
export { _sfc_main as ChatComposer, _sfc_main$1 as ChatComposerDrawer, _sfc_main$2 as ChatComposerInput, _sfc_main$3 as ChatComposerTokenElement, _sfc_main$4 as ChatDictationButton, _sfc_main$5 as ChatLayout, _sfc_main$6 as ChatLayoutScrollButton, _sfc_main$7 as ChatMessage, _sfc_main$8 as ChatMessageBubble, _sfc_main$9 as ChatMessageList, _sfc_main$10 as ChatMessageMetadata, _sfc_main$11 as ChatReasoning, _sfc_main$12 as ChatSendButton, _sfc_main$13 as ChatSystemMessage, _sfc_main$14 as ChatTokenizedText, _sfc_main$15 as ChatToolCalls, _sfc_main$16 as ChatTypingIndicator, _sfc_main$17 as ChatUnreadDivider, PASTE_TOKEN_THRESHOLD, pastedTextLabel, useChatComposerContext, useChatComposerTokens, useChatDictation, useChatLayoutContext, useChatListContext, useChatMessageContext, useChatPasteAsToken, useSpeechRecognition };
|