@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
package/dist/Outline/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { _default as Outline, type OutlineDensity, type OutlineEmits, type OutlineItem, type OutlineProps };
|
|
1
|
+
import { a as _default, c as OutlineItem, i as parseOutlineFromMarkdown, l as OutlineProps, n as useOutlineFromDOM, o as OutlineDensity, r as ParseOutlineFromMarkdownOptions, s as OutlineEmits, t as useOutlineFromMarkdown } from "../index-B56j4eI2.js";
|
|
2
|
+
export { _default as Outline, type OutlineDensity, type OutlineEmits, type OutlineItem, type OutlineProps, type ParseOutlineFromMarkdownOptions, parseOutlineFromMarkdown, useOutlineFromDOM, useOutlineFromMarkdown };
|
package/dist/Outline/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { _sfc_main as Outline };
|
|
1
|
+
import { i as _sfc_main, n as useOutlineFromDOM, r as parseOutlineFromMarkdown, t as useOutlineFromMarkdown } from "../Outline-CfGv2F1o.js";
|
|
2
|
+
export { _sfc_main as Outline, parseOutlineFromMarkdown, useOutlineFromDOM, useOutlineFromMarkdown };
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { t as usePressFeedback } from "./usePressFeedback-BJCpjEpv.js";
|
|
2
|
+
import { s as useAstryxMessages } from "./context-DWfi56sq.js";
|
|
3
|
+
import { t as useListFocus } from "./useListFocus-ChxLg0b4.js";
|
|
4
|
+
import { i as plainText, n as uniqueSlug, t as slugify } from "./slug-C65CUsf9.js";
|
|
5
|
+
import { a as parseMarkdownAst } from "./publicParser-uHC_T0Fo.js";
|
|
6
|
+
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, ref, renderList, toDisplayString, toRef, toValue, unref, watch } from "vue";
|
|
4
7
|
import "../styles/outline.css";
|
|
5
8
|
//#region src/Outline/scrollGeometry.ts
|
|
6
9
|
function getScrollableAncestor(element) {
|
|
@@ -234,6 +237,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
234
237
|
const props = __props;
|
|
235
238
|
const emit = __emit;
|
|
236
239
|
const messages = useAstryxMessages();
|
|
240
|
+
const press = usePressFeedback();
|
|
237
241
|
const root = ref(null);
|
|
238
242
|
const regionLabel = computed(() => props.label ?? messages.value.outline.label);
|
|
239
243
|
const { resolvedId, scrollTo } = useScrollSpy({
|
|
@@ -303,7 +307,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
303
307
|
return openBlock(), createElementBlock("li", {
|
|
304
308
|
key: item.id,
|
|
305
309
|
class: "astryx-outline__item"
|
|
306
|
-
}, [createElementVNode("a", {
|
|
310
|
+
}, [createElementVNode("a", mergeProps({ ref_for: true }, unref(press).pressableProps, {
|
|
307
311
|
class: "astryx-outline__link",
|
|
308
312
|
href: `#${item.id}`,
|
|
309
313
|
"data-level": unref(indentLevel)(item.level),
|
|
@@ -311,7 +315,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
311
315
|
"aria-current": item.id === unref(resolvedId) ? "location" : void 0,
|
|
312
316
|
onClick: ($event) => onClick(item.id, $event),
|
|
313
317
|
onKeydown: ($event) => onItemKeyDown(item.id, $event)
|
|
314
|
-
}, [createElementVNode("span", _hoisted_3, toDisplayString(item.label), 1)],
|
|
318
|
+
}), [createElementVNode("span", _hoisted_3, toDisplayString(item.label), 1)], 16, _hoisted_2)]);
|
|
315
319
|
}), 128))], 544),
|
|
316
320
|
_cache[2] || (_cache[2] = createElementVNode("div", {
|
|
317
321
|
class: "astryx-outline__track",
|
|
@@ -322,4 +326,85 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
322
326
|
}
|
|
323
327
|
});
|
|
324
328
|
//#endregion
|
|
325
|
-
|
|
329
|
+
//#region src/Outline/parseOutlineFromMarkdown.ts
|
|
330
|
+
/**
|
|
331
|
+
* 从 Markdown 抽出目录。
|
|
332
|
+
* id 和 Markdown 渲染到标题上的 id 用同一套 slug:全文里的标题都占号,
|
|
333
|
+
* 只有写在根上的标题进目录。围栏代码里的井号不是标题。
|
|
334
|
+
*/
|
|
335
|
+
function parseOutlineFromMarkdown(markdown, options) {
|
|
336
|
+
const root = parseMarkdownAst(markdown, {
|
|
337
|
+
plugins: options?.plugins,
|
|
338
|
+
isFinal: options?.isFinal
|
|
339
|
+
});
|
|
340
|
+
const counts = /* @__PURE__ */ new Map();
|
|
341
|
+
const outline = [];
|
|
342
|
+
collect(root.children, true, counts, outline);
|
|
343
|
+
return outline;
|
|
344
|
+
}
|
|
345
|
+
function collect(nodes, atRoot, counts, outline) {
|
|
346
|
+
for (const node of nodes ?? []) {
|
|
347
|
+
if (node.type === "heading") {
|
|
348
|
+
const label = plainText(node).trim();
|
|
349
|
+
const id = uniqueSlug(slugify(label), counts);
|
|
350
|
+
if (atRoot) outline.push({
|
|
351
|
+
id,
|
|
352
|
+
label,
|
|
353
|
+
level: node.depth ?? 1
|
|
354
|
+
});
|
|
355
|
+
}
|
|
356
|
+
if (node.children != null) collect(node.children, false, counts, outline);
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
//#endregion
|
|
360
|
+
//#region src/Outline/useOutlineFromDOM.ts
|
|
361
|
+
const HEADING_SELECTOR = "h1,h2,h3,h4,h5,h6";
|
|
362
|
+
/** 收集容器里带 id、有文字的标题。 */
|
|
363
|
+
function collectOutlineItems(container) {
|
|
364
|
+
if (container == null) return [];
|
|
365
|
+
return [...container.querySelectorAll(HEADING_SELECTOR)].flatMap((heading) => {
|
|
366
|
+
const label = heading.textContent?.trim() ?? "";
|
|
367
|
+
if (heading.id === "" || label === "") return [];
|
|
368
|
+
const level = Number(heading.tagName.slice(1));
|
|
369
|
+
return [{
|
|
370
|
+
id: heading.id,
|
|
371
|
+
label,
|
|
372
|
+
level
|
|
373
|
+
}];
|
|
374
|
+
});
|
|
375
|
+
}
|
|
376
|
+
/** 盯着容器里的 h1–h6。增删、改字、改 id 都会重算。 */
|
|
377
|
+
function useOutlineFromDOM(container) {
|
|
378
|
+
const items = ref([]);
|
|
379
|
+
let observer;
|
|
380
|
+
function refresh() {
|
|
381
|
+
items.value = collectOutlineItems(container.value ?? null);
|
|
382
|
+
}
|
|
383
|
+
watch(container, (element) => {
|
|
384
|
+
observer?.disconnect();
|
|
385
|
+
observer = void 0;
|
|
386
|
+
refresh();
|
|
387
|
+
if (element == null || typeof MutationObserver === "undefined") return;
|
|
388
|
+
observer = new MutationObserver(refresh);
|
|
389
|
+
observer.observe(element, {
|
|
390
|
+
attributeFilter: ["id"],
|
|
391
|
+
attributes: true,
|
|
392
|
+
characterData: true,
|
|
393
|
+
childList: true,
|
|
394
|
+
subtree: true
|
|
395
|
+
});
|
|
396
|
+
}, { immediate: true });
|
|
397
|
+
onScopeDispose(() => {
|
|
398
|
+
observer?.disconnect();
|
|
399
|
+
observer = void 0;
|
|
400
|
+
});
|
|
401
|
+
return items;
|
|
402
|
+
}
|
|
403
|
+
//#endregion
|
|
404
|
+
//#region src/Outline/useOutlineFromMarkdown.ts
|
|
405
|
+
/** 正文或插件一变,目录跟着变。 */
|
|
406
|
+
function useOutlineFromMarkdown(markdown, options) {
|
|
407
|
+
return computed(() => parseOutlineFromMarkdown(toValue(markdown), toValue(options)));
|
|
408
|
+
}
|
|
409
|
+
//#endregion
|
|
410
|
+
export { _sfc_main as i, useOutlineFromDOM as n, parseOutlineFromMarkdown as r, useOutlineFromMarkdown as t };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Gr as
|
|
2
|
-
export { _default as OverflowList, type OverflowListEmits, type OverflowListItem, type OverflowListProps };
|
|
1
|
+
import { Gr as OverflowListEmits, Kr as OverflowListItem, Ur as _default, Wr as OverflowListCollapsedItem, qr as OverflowListProps } from "../index-CpNlPLBF.js";
|
|
2
|
+
export { _default as OverflowList, type OverflowListCollapsedItem, type OverflowListEmits, type OverflowListItem, type OverflowListProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../OverflowList-
|
|
1
|
+
import { t as _sfc_main } from "../OverflowList-BgRLZ3dh.js";
|
|
2
2
|
export { _sfc_main as OverflowList };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
2
|
-
import {
|
|
2
|
+
import { s as useAstryxMessages } from "./context-DWfi56sq.js";
|
|
3
3
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as _sfc_main$2 } from "./NavDisclosure-
|
|
6
|
-
import { n as _sfc_main$3, t as _sfc_main$4 } from "./NavMenuItem-
|
|
7
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, withCtx } from "vue";
|
|
4
|
+
import { r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
5
|
+
import { t as _sfc_main$2 } from "./NavDisclosure-Bq9DTZLO.js";
|
|
6
|
+
import { n as _sfc_main$3, t as _sfc_main$4 } from "./NavMenuItem-D3FO90GR.js";
|
|
7
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, watch, withCtx } from "vue";
|
|
8
8
|
import "../styles/overflow-list.css";
|
|
9
9
|
//#region src/OverflowList/OverflowMore.vue
|
|
10
10
|
const _hoisted_1$1 = [
|
|
@@ -92,7 +92,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
92
92
|
visibleCount: {},
|
|
93
93
|
as: {}
|
|
94
94
|
},
|
|
95
|
-
emits: ["select"],
|
|
95
|
+
emits: ["select", "overflowChange"],
|
|
96
96
|
setup(__props, { emit: __emit }) {
|
|
97
97
|
const props = __props;
|
|
98
98
|
const emit = __emit;
|
|
@@ -127,6 +127,23 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
127
127
|
const count = computed(() => props.visibleCount ?? measuredCount.value);
|
|
128
128
|
const visibleItems = computed(() => props.collapseFrom === "end" ? props.items.slice(0, count.value) : props.items.slice(props.items.length - count.value));
|
|
129
129
|
const hiddenItems = computed(() => props.collapseFrom === "end" ? props.items.slice(count.value) : props.items.slice(0, Math.max(0, props.items.length - count.value)));
|
|
130
|
+
const collapsed = computed(() => {
|
|
131
|
+
if (props.collapseFrom === "end") return hiddenItems.value.map((item, offset) => ({
|
|
132
|
+
item,
|
|
133
|
+
index: count.value + offset
|
|
134
|
+
}));
|
|
135
|
+
return hiddenItems.value.map((item, index) => ({
|
|
136
|
+
item,
|
|
137
|
+
index
|
|
138
|
+
}));
|
|
139
|
+
});
|
|
140
|
+
const collapsedKey = computed(() => collapsed.value.map((entry) => `${entry.index}:${entry.item.id ?? entry.item.label}`).join("|"));
|
|
141
|
+
let announcedOverflow = false;
|
|
142
|
+
watch(collapsedKey, (key) => {
|
|
143
|
+
if (key === "" && !announcedOverflow) return;
|
|
144
|
+
announcedOverflow = true;
|
|
145
|
+
emit("overflowChange", collapsed.value);
|
|
146
|
+
}, { immediate: true });
|
|
130
147
|
const multiRow = computed(() => props.maxRows != null && props.maxRows > 1);
|
|
131
148
|
const listStyle = computed(() => {
|
|
132
149
|
const style = { "--astryx-overflow-gap": `var(--astryx-spacing-${gapToken.value})` };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PaginationSlots, i as PaginationSize, n as PaginationEmits, o as PaginationVariant, r as PaginationProps, t as _default } from "../index-
|
|
1
|
+
import { a as PaginationSlots, i as PaginationSize, n as PaginationEmits, o as PaginationVariant, r as PaginationProps, t as _default } from "../index-CK-Dbh0f.js";
|
|
2
2
|
export { _default as Pagination, type PaginationEmits, type PaginationProps, type PaginationSize, type PaginationSlots, type PaginationVariant };
|
package/dist/Pagination/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Pagination-
|
|
1
|
+
import { t as _sfc_main } from "../Pagination-Bfe12018.js";
|
|
2
2
|
export { _sfc_main as Pagination };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { s as useAstryxMessages } from "./context-DWfi56sq.js";
|
|
2
2
|
import { t as usePendingChange } from "./usePendingChange-ib-h8FZK.js";
|
|
3
|
-
import { t as _sfc_main$1 } from "./Selector-
|
|
3
|
+
import { t as _sfc_main$1 } from "./Selector-CPISLzp7.js";
|
|
4
4
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, toValue, unref, vShow, watch, withDirectives, withKeys } from "vue";
|
|
5
5
|
import "../styles/pagination.css";
|
|
6
6
|
/**
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { Fragment, createElementBlock, defineComponent, openBlock, renderList, toDisplayString } from "vue";
|
|
2
|
+
//#region src/DateInput/PickerWheel.vue
|
|
3
|
+
const _hoisted_1 = ["aria-label", "aria-activedescendant"];
|
|
4
|
+
const _hoisted_2 = [
|
|
5
|
+
"id",
|
|
6
|
+
"aria-selected",
|
|
7
|
+
"aria-disabled",
|
|
8
|
+
"disabled",
|
|
9
|
+
"onClick"
|
|
10
|
+
];
|
|
11
|
+
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
12
|
+
__name: "PickerWheel",
|
|
13
|
+
props: {
|
|
14
|
+
label: {},
|
|
15
|
+
options: {},
|
|
16
|
+
modelValue: {}
|
|
17
|
+
},
|
|
18
|
+
emits: ["update:modelValue"],
|
|
19
|
+
setup(__props, { emit: __emit }) {
|
|
20
|
+
const props = __props;
|
|
21
|
+
const emit = __emit;
|
|
22
|
+
function enabled() {
|
|
23
|
+
return props.options.filter((option) => !option.disabled);
|
|
24
|
+
}
|
|
25
|
+
function choose(value, disabled) {
|
|
26
|
+
if (!disabled) emit("update:modelValue", value);
|
|
27
|
+
}
|
|
28
|
+
function onKeydown(event) {
|
|
29
|
+
if (event.key !== "ArrowUp" && event.key !== "ArrowDown" && event.key !== "Home" && event.key !== "End") return;
|
|
30
|
+
event.preventDefault();
|
|
31
|
+
const options = enabled();
|
|
32
|
+
if (options.length === 0) return;
|
|
33
|
+
const current = options.findIndex((option) => option.value === props.modelValue);
|
|
34
|
+
let next = 0;
|
|
35
|
+
if (event.key === "End") next = options.length - 1;
|
|
36
|
+
else if (event.key === "ArrowUp" || event.key === "ArrowDown") {
|
|
37
|
+
const step = event.key === "ArrowDown" ? 1 : -1;
|
|
38
|
+
next = current < 0 ? step > 0 ? 0 : options.length - 1 : (current + step + options.length) % options.length;
|
|
39
|
+
}
|
|
40
|
+
const option = options[next];
|
|
41
|
+
if (option) emit("update:modelValue", option.value);
|
|
42
|
+
}
|
|
43
|
+
return (_ctx, _cache) => {
|
|
44
|
+
return openBlock(), createElementBlock("div", {
|
|
45
|
+
class: "astryx-picker-wheel",
|
|
46
|
+
role: "listbox",
|
|
47
|
+
tabindex: "0",
|
|
48
|
+
"aria-label": __props.label,
|
|
49
|
+
"aria-activedescendant": __props.modelValue ? `${__props.label}-${__props.modelValue}` : void 0,
|
|
50
|
+
onKeydown
|
|
51
|
+
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (option) => {
|
|
52
|
+
return openBlock(), createElementBlock("button", {
|
|
53
|
+
id: `${__props.label}-${option.value}`,
|
|
54
|
+
key: option.value,
|
|
55
|
+
type: "button",
|
|
56
|
+
class: "astryx-picker-wheel-option",
|
|
57
|
+
role: "option",
|
|
58
|
+
"aria-selected": option.value === __props.modelValue,
|
|
59
|
+
"aria-disabled": option.disabled || void 0,
|
|
60
|
+
disabled: option.disabled,
|
|
61
|
+
tabindex: "-1",
|
|
62
|
+
onClick: ($event) => choose(option.value, option.disabled)
|
|
63
|
+
}, toDisplayString(option.label), 9, _hoisted_2);
|
|
64
|
+
}), 128))], 40, _hoisted_1);
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
//#endregion
|
|
69
|
+
export { _sfc_main as t };
|
package/dist/Popover/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as PopoverRole, i as PopoverProps, n as PopoverPadding, r as PopoverPlacement, t as PopoverAlignment } from "../types-OGMYGejX.js";
|
|
2
|
-
import { i as _default, n as UsePopoverReturn, r as usePopover, t as UsePopoverOptions } from "../index-
|
|
2
|
+
import { i as _default, n as UsePopoverReturn, r as usePopover, t as UsePopoverOptions } from "../index-DRJZ-v1E.js";
|
|
3
3
|
export { _default as Popover, type PopoverAlignment, type PopoverPadding, type PopoverPlacement, type PopoverProps, type PopoverRole, type UsePopoverOptions, type UsePopoverReturn, usePopover };
|
package/dist/Popover/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as usePopover, t as _sfc_main } from "../Popover-
|
|
1
|
+
import { n as usePopover, t as _sfc_main } from "../Popover-78dFjTb9.js";
|
|
2
2
|
export { _sfc_main as Popover, usePopover };
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "./Button-
|
|
2
|
-
import {
|
|
3
|
-
import { n as
|
|
4
|
-
import { n as
|
|
5
|
-
import { n as
|
|
1
|
+
import { t as _sfc_main$1 } from "./Button-ONOoHdkg.js";
|
|
2
|
+
import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-BmZyeKWE.js";
|
|
3
|
+
import { n as useDismiss } from "./usePositionedLayer-B7cvG-_v.js";
|
|
4
|
+
import { n as focusElement, r as getFocusables } from "./focus-l8jVTcqd.js";
|
|
5
|
+
import { n as useFocusTrap, t as useRestoreFocus } from "./useRestoreFocus-XEKs5-gp.js";
|
|
6
|
+
import { n as useLayer, t as useMergedRefs } from "./useMergedRefs-Cb6_w93m.js";
|
|
7
|
+
import { t as _sfc_main$2 } from "./LayerContentBoundary-CvsKxwwm.js";
|
|
6
8
|
import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
|
|
7
|
-
import {
|
|
9
|
+
import { n as clampInlineSize, t as LAYER_MAX_INLINE_SIZE } from "./inlineSize-BNe8wggI.js";
|
|
10
|
+
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, nextTick, onMounted, onScopeDispose, onUpdated, openBlock, ref, renderSlot, shallowRef, toValue, unref, vShow, watch, withCtx, withDirectives } from "vue";
|
|
8
11
|
import "../styles/popover.css";
|
|
9
12
|
//#region src/Popover/usePopover.ts
|
|
10
13
|
const GAP = 4;
|
|
@@ -51,7 +54,7 @@ function usePopover(options = {}) {
|
|
|
51
54
|
container: layer.contentRef,
|
|
52
55
|
trigger: triggerRef,
|
|
53
56
|
isEnabled: computed(() => isOpen.value && (toValue(options.hasLightDismiss) ?? true)),
|
|
54
|
-
|
|
57
|
+
dismissOnEscape: computed(() => toValue(options.hasEscapeDismiss) ?? true ? "close" : "block"),
|
|
55
58
|
onDismiss: () => layer.hide()
|
|
56
59
|
});
|
|
57
60
|
function setOpen(next) {
|
|
@@ -244,6 +247,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
244
247
|
const { triggerRef, anchorRef, contentRef, isOpen: isOpenState, contentStyle: layerStyle, resolvedPlacement, surfaceProps } = popover;
|
|
245
248
|
const setContentRef = useMergedRefs([contentRef]);
|
|
246
249
|
const wrapperRef = ref(null);
|
|
250
|
+
const teleportTarget = useResolvedLayerTeleport(computed(() => props.anchor ?? wrapperRef.value));
|
|
247
251
|
const bodyRef = ref(null);
|
|
248
252
|
useScrollbars(bodyRef);
|
|
249
253
|
const anchorWidth = ref(0);
|
|
@@ -251,13 +255,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
251
255
|
const style = {
|
|
252
256
|
"--_popover-padding": `var(--astryx-spacing-${String(props.padding).replace(".", "-")})`,
|
|
253
257
|
"top": layerStyle.value.top,
|
|
254
|
-
"left": layerStyle.value.left
|
|
258
|
+
"left": layerStyle.value.left,
|
|
259
|
+
"maxWidth": props.width == null ? clampInlineSize(`${DEFAULT_MAX_WIDTH}px`) : LAYER_MAX_INLINE_SIZE
|
|
255
260
|
};
|
|
256
261
|
if (props.width != null) style.width = typeof props.width === "number" ? `${props.width}px` : props.width;
|
|
257
|
-
else {
|
|
258
|
-
style.minWidth = `min(${anchorWidth.value}px, ${DEFAULT_MAX_WIDTH}px)`;
|
|
259
|
-
style.maxWidth = `min(${DEFAULT_MAX_WIDTH}px, calc(100vw - 16px))`;
|
|
260
|
-
}
|
|
262
|
+
else style.minWidth = `min(${anchorWidth.value}px, ${DEFAULT_MAX_WIDTH}px)`;
|
|
261
263
|
return style;
|
|
262
264
|
});
|
|
263
265
|
function triggerHost() {
|
|
@@ -287,7 +289,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
287
289
|
ref_key: "wrapperRef",
|
|
288
290
|
ref: wrapperRef,
|
|
289
291
|
class: "astryx-popover-trigger"
|
|
290
|
-
}, [renderSlot(_ctx.$slots, "default")], 512)) : renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 1), (openBlock(), createBlock(Teleport, { to:
|
|
292
|
+
}, [renderSlot(_ctx.$slots, "default")], 512)) : renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 1), (openBlock(), createBlock(Teleport, { to: unref(teleportTarget) }, [withDirectives(createElementVNode("div", mergeProps({
|
|
291
293
|
ref: unref(setContentRef),
|
|
292
294
|
class: "astryx-popover",
|
|
293
295
|
"data-placement": unref(resolvedPlacement),
|
|
@@ -296,11 +298,14 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
296
298
|
ref_key: "bodyRef",
|
|
297
299
|
ref: bodyRef,
|
|
298
300
|
class: "astryx-popover__body"
|
|
299
|
-
}, [
|
|
301
|
+
}, [createVNode(_sfc_main$2, null, {
|
|
302
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "content")]),
|
|
303
|
+
_: 3
|
|
304
|
+
})], 512), __props.hasCloseButton ? (openBlock(), createElementBlock("div", _hoisted_2, [createVNode(unref(_sfc_main$1), {
|
|
300
305
|
variant: "secondary",
|
|
301
306
|
label: __props.closeButtonLabel,
|
|
302
307
|
onClick: _cache[0] || (_cache[0] = ($event) => unref(popover).hide())
|
|
303
|
-
}, null, 8, ["label"])])) : createCommentVNode("v-if", true)], 16, _hoisted_1), [[vShow, unref(isOpenState)]])]))], 64);
|
|
308
|
+
}, null, 8, ["label"])])) : createCommentVNode("v-if", true)], 16, _hoisted_1), [[vShow, unref(isOpenState)]])], 8, ["to"]))], 64);
|
|
304
309
|
};
|
|
305
310
|
}
|
|
306
311
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as PowerSearchItem, C as PowerSearchEmits, D as PowerSearchFieldType, E as PowerSearchFieldDefinition, F as PowerSearchSlots, I as PowerSearchStatus, M as PowerSearchOverflow, N as PowerSearchProps, O as PowerSearchFilter, P as PowerSearchSize, S as PowerSearchConfig, T as PowerSearchField, _ as FilterValue, a as usePowerSearchConfig, b as PowerSearchChangeType, c as resolveOperatorLabel, d as formatFilterValue, f as completePowerSearchFilter, g as DateTimeRangePart, h as DateTimeRange, i as createPowerSearchConfig, j as PowerSearchOperator, k as PowerSearchHandle, l as formatDateAbsolute, m as createPowerSearchLookup, n as InferPowerSearchData, o as _default, p as PowerSearchLookup, r as applyPowerSearchFilters, s as resolveEditorPlacement, t as searchPowerSearchFields, u as formatDateAbsoluteCompact, v as OperatorValue, w as PowerSearchEntity, x as PowerSearchComponents, y as PartialFilter } from "../index-
|
|
1
|
+
import { A as PowerSearchItem, C as PowerSearchEmits, D as PowerSearchFieldType, E as PowerSearchFieldDefinition, F as PowerSearchSlots, I as PowerSearchStatus, M as PowerSearchOverflow, N as PowerSearchProps, O as PowerSearchFilter, P as PowerSearchSize, S as PowerSearchConfig, T as PowerSearchField, _ as FilterValue, a as usePowerSearchConfig, b as PowerSearchChangeType, c as resolveOperatorLabel, d as formatFilterValue, f as completePowerSearchFilter, g as DateTimeRangePart, h as DateTimeRange, i as createPowerSearchConfig, j as PowerSearchOperator, k as PowerSearchHandle, l as formatDateAbsolute, m as createPowerSearchLookup, n as InferPowerSearchData, o as _default, p as PowerSearchLookup, r as applyPowerSearchFilters, s as resolveEditorPlacement, t as searchPowerSearchFields, u as formatDateAbsoluteCompact, v as OperatorValue, w as PowerSearchEntity, x as PowerSearchComponents, y as PartialFilter } from "../index-IfsSCj8J.js";
|
|
2
2
|
export { type DateTimeRange, type DateTimeRangePart, type FilterValue, type InferPowerSearchData, type OperatorValue, type PartialFilter, _default as PowerSearch, type PowerSearchChangeType, type PowerSearchComponents, type PowerSearchConfig, type PowerSearchEmits, type PowerSearchEntity, type PowerSearchField, type PowerSearchFieldDefinition, type PowerSearchFieldType, type PowerSearchFilter, type PowerSearchHandle, type PowerSearchItem, type PowerSearchLookup, type PowerSearchOperator, type PowerSearchOverflow, type PowerSearchProps, type PowerSearchSize, type PowerSearchSlots, type PowerSearchStatus, applyPowerSearchFilters, completePowerSearchFilter, createPowerSearchConfig, createPowerSearchLookup, formatDateAbsolute, formatDateAbsoluteCompact, formatFilterValue, resolveEditorPlacement, resolveOperatorLabel, searchPowerSearchFields, usePowerSearchConfig };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as searchPowerSearchFields, c as formatDateAbsolute, d as createPowerSearchLookup, f as completePowerSearchFilter, i as _sfc_main, l as formatDateAbsoluteCompact, n as createPowerSearchConfig, o as resolveEditorPlacement, r as usePowerSearchConfig, s as resolveOperatorLabel, t as applyPowerSearchFilters, u as formatFilterValue } from "../PowerSearch-
|
|
1
|
+
import { a as searchPowerSearchFields, c as formatDateAbsolute, d as createPowerSearchLookup, f as completePowerSearchFilter, i as _sfc_main, l as formatDateAbsoluteCompact, n as createPowerSearchConfig, o as resolveEditorPlacement, r as usePowerSearchConfig, s as resolveOperatorLabel, t as applyPowerSearchFilters, u as formatFilterValue } from "../PowerSearch-BoAMdFaT.js";
|
|
2
2
|
export { _sfc_main as PowerSearch, applyPowerSearchFilters, completePowerSearchFilter, createPowerSearchConfig, createPowerSearchLookup, formatDateAbsolute, formatDateAbsoluteCompact, formatFilterValue, resolveEditorPlacement, resolveOperatorLabel, searchPowerSearchFields, usePowerSearchConfig };
|