@astryx-vue/core 0.3.0 → 0.4.1
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.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-0wTvOo3H.js → AppShell-awAKicsc.js} +3 -3
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-pPZ4dI_s.js → Avatar-DXBjJ88C.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-kpAeKLNq.js} +57 -13
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-GbGxrqQO.js → Banner-BdvuyzAe.js} +71 -35
- 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-D4ZzHEB0.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-CjK-JUDM.js} +5 -5
- package/dist/Card/index.d.ts +2 -2
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-CA8zpD9v.js → Carousel-D262qigj.js} +8 -8
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-Bmna9EOA.js → Chat-DD_mlIP3.js} +165 -101
- 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-D8vTmAMZ.js} +20 -12
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-CX1i_jVP.js → CheckboxList-DCvHewHB.js} +155 -38
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-Djgwa0ko.js → Citation-C69BgxW3.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.d.ts +1 -1
- package/dist/Code/index.js +3 -3
- package/dist/{Code-XnPuGxey.js → Code-Bg7GBdxy.js} +2 -1
- package/dist/{CodeBlock-D0BFubut.js → CodeBlock-DsbwTBiT.js} +8 -8
- 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-CZ7CZglZ.js} +147 -67
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-DWLdKPGI.js → ComplexSelector-CIz6DDmY.js} +114 -28
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-Bq9b3Ti5.js → ContextMenu-CxoiRh_h.js} +297 -179
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-DT518j5E.js → DateInput-C67HCOU-.js} +563 -72
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-Bqi5tlIA.js → DateRangeInput-Dsf5Tyf-.js} +91 -26
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/DateTimeInput-tfM1y5nZ.js +562 -0
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +2 -2
- package/dist/{Dialog-BiOSKQso.js → Dialog-DT1GzCrB.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-C6wBC18g.js} +84 -56
- package/dist/{DropdownMenu-DEb2dSSP.js → DropdownMenu-G-pWSiBk.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-JIxT3xCh.js} +5 -4
- package/dist/FieldIcon-BFSHZEs_.js +40 -0
- package/dist/{FieldInfoTip-Ds-sW_jY.js → FieldInfoTip-BbgLt4ug.js} +4 -4
- package/dist/{FieldLabel-BNeXRuGH.js → FieldLabel-CHqp1y3z.js} +13 -8
- package/dist/FieldStatus/index.d.ts +1 -1
- package/dist/FieldStatus/index.js +1 -1
- package/dist/{FieldStatus-MjY19ERl.js → FieldStatus-DaAB3TIt.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-BpdiO1V8.js → FileInput-Bi1uty-F.js} +108 -31
- 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-CfSIqc-V.js +40 -0
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +2 -2
- package/dist/{InputGroup-CA03Smrs.js → InputGroup-D3F-QnET.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-CVV5QDgp.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-CjXhbDPc.js} +14 -12
- package/dist/Link/index.js +1 -1
- package/dist/{Link-BqHCtiyt.js → Link-ClNkTN1Q.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 +4 -2
- package/dist/Markdown/parser/index.d.ts +4 -0
- package/dist/Markdown/parser/index.js +2 -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-EIBrwQrb.js} +195 -524
- package/dist/MediaTheme-DlLqYhDy.js +433 -0
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-B-OelQlt.js → MetadataList-DLlSLX1n.js} +15 -7
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-DxGz0xKA.js → MobileNavToggle-DgJYyzT6.js} +52 -17
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-Dlb7MLlW.js → MoreMenu-C8BEt6-O.js} +74 -61
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/MultiSelector-C7NCAtwW.js +1456 -0
- package/dist/{NavDisclosure-C_fugrQ3.js → NavDisclosure-Bq9DTZLO.js} +29 -7
- package/dist/{NavHeadingSurface-B3yJspSN.js → NavHeadingSurface-DQXisuaX.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-3u3NZWnv.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-8szj9eXu.js} +91 -6
- package/dist/OverflowList/index.d.ts +2 -2
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-NmrSMbxb.js → OverflowList-BizpEwH8.js} +23 -6
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DqwNQFRp.js → Pagination-Cihr1CjD.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-BHx91ypY.js} +778 -590
- 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-DeSIRrgt.js} +94 -26
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-xY1cwLdZ.js → RadioList-Co2lmetC.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-DjLZ2pcq.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-swa3RNQI.js +1049 -0
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-BF8mYDxl.js → SideNav-BH6XKsW2.js} +56 -42
- package/dist/Slider/index.d.ts +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-DWobsPgm.js → Slider-DG2YXll8.js} +172 -46
- package/dist/Spinner/index.js +1 -1
- package/dist/Spinner-BY8iQz--.js +200 -0
- 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.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-CE8dHysu.js → Stepper-FtkTq5qR.js} +127 -113
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-DaVPRxvN.js → Switch-0JKvJluV.js} +38 -22
- package/dist/TabList/index.d.ts +2 -2
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-DIkK9sgK.js → TabList-cpjvnbhx.js} +205 -63
- package/dist/Table/index.d.ts +3 -3
- package/dist/Table/index.js +1 -1
- package/dist/{Table-fecqnm7P.js → Table-fWs_ZQBF.js} +735 -461
- 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-CwSfEjT1.js} +110 -50
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-zFT1_qgI.js → TextInput-CavITage.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-DpJnaNbg.js} +17 -14
- package/dist/{TimeField-CoHDGmsP.js → TimeField-DefNjDIT.js} +297 -40
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-D2k3Ux3p.js → TimeInput-j5vzN8MG.js} +78 -9
- 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-dtT4yADD.js} +9 -9
- package/dist/Toast/index.d.ts +1 -1
- package/dist/Toast/index.js +1 -1
- package/dist/Toast-igtJYSw0.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-DhsAtAH6.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-BGdj78UK.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-Dw0m387B.js} +23 -22
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-BUz-KZJd.js → TreeList-Bunn7u3T.js} +129 -46
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-JP9RT87x.js → Typeahead-DRyf2HEh.js} +123 -26
- package/dist/{TypeaheadMenu-DBW6rHeO.js → TypeaheadMenu-BY5__sPC.js} +141 -51
- package/dist/{announce-Cnio10Wk.js → announce-B210eJVf.js} +17 -2
- 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-CnsDaMuU.js} +167 -197
- package/dist/context-B6UElI5X.js +5 -0
- package/dist/context-CM-cjGg_.js +1425 -0
- package/dist/{context-Cfjh8te1.js → context-Cfml4jaK.js} +5 -3
- 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-ClNU2Th8.d.ts → index-3t5RAfNP.d.ts} +6 -2
- package/dist/{index-B9e52paP.d.ts → index-5LVG3QyV.d.ts} +1 -1
- package/dist/{index-CsNi1I8j.d.ts → index-B08-Uxhv.d.ts} +4 -2
- package/dist/{index-TXcNH86P.d.ts → index-B1eCxBCY.d.ts} +1 -1
- package/dist/{index-Cn-sSds-.d.ts → index-B1t1oQWH.d.ts} +24 -1
- package/dist/{index-BkjSF265.d.ts → index-BEZ4ezJk.d.ts} +3 -3
- package/dist/{index-yT1yiiww.d.ts → index-BI6jikpA.d.ts} +23 -11
- package/dist/{index-DeQwYJbg.d.ts → index-BNaRK-s5.d.ts} +10 -1
- 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-Bu8NA2SD.d.ts → index-BaxM-pFP.d.ts} +12 -3
- package/dist/{index-BVKivP59.d.ts → index-Bgk1Rj2A.d.ts} +32 -3
- package/dist/index-BkUkm6Al.d.ts +11 -0
- package/dist/index-Bo-ofFyg.d.ts +166 -0
- package/dist/{index-B1WJxt-n.d.ts → index-C-tFz2Yx.d.ts} +17 -7
- package/dist/{index-DWh2WC8W.d.ts → index-C4Cjz6OK.d.ts} +2 -2
- package/dist/{index-CqE4Bf3Q.d.ts → index-C732aNMY.d.ts} +18 -4
- 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-CKUfpmFL.d.ts +375 -0
- package/dist/{index-CL1T2j4y.d.ts → index-CL8JvxHW.d.ts} +3 -3
- package/dist/{index-IBAInumL.d.ts → index-CMme-xmL.d.ts} +19 -6
- package/dist/{index-gW0HW02U.d.ts → index-COxy6LEW.d.ts} +1 -1
- package/dist/{index-12QYAbiz.d.ts → index-CRrSHbok.d.ts} +3 -2
- package/dist/{index-B42oE_F-.d.ts → index-CT5OEUxd.d.ts} +17 -4
- package/dist/{index-DG52Bg0W.d.ts → index-CTf3SK0b.d.ts} +6 -0
- package/dist/{index-Cde5JvtX.d.ts → index-CUVmtB5-.d.ts} +13 -6
- package/dist/{index-DXpSFlPG.d.ts → index-CWaSYtk9.d.ts} +4 -4
- package/dist/{index-CVn0GBdB.d.ts → index-Ca8VIE4l.d.ts} +1 -1
- package/dist/{index-Cyb9Du5Z.d.ts → index-CfR2Z0uG.d.ts} +1 -1
- package/dist/{index-Byar3h1e.d.ts → index-D05JGsT3.d.ts} +6 -3
- package/dist/{index-hCpxKePE.d.ts → index-D5N9ikrS.d.ts} +1 -1
- package/dist/{index-CkKPMIeX.d.ts → index-D7XRtUTY.d.ts} +9 -0
- package/dist/{index-i0tNFWfz.d.ts → index-D8lv2BiD.d.ts} +3 -1
- package/dist/{index-TntQsADQ.d.ts → index-DEm3kRBO.d.ts} +4 -3
- package/dist/{index-0QGtSf3r.d.ts → index-DFLPv9io.d.ts} +4 -3
- package/dist/{index-C2nbK2AA.d.ts → index-DLAG3m9W.d.ts} +13 -3
- package/dist/{index-D41_xqjs.d.ts → index-DTuhnqHb.d.ts} +16 -9
- package/dist/{index-B3Fomy15.d.ts → index-DbiZvj1P.d.ts} +4 -4
- package/dist/{index-C5e-7Obr.d.ts → index-Dj1_1t3j.d.ts} +19 -6
- package/dist/{index-DIXAzTKL.d.ts → index-DxxudRgB.d.ts} +1 -1
- package/dist/{index-BhpAUzUr.d.ts → index-Dy746dfn.d.ts} +1 -1
- package/dist/{index-GI9xIV9l.d.ts → index-JL4auphT.d.ts} +2 -2
- package/dist/{index-DVmgNb78.d.ts → index-TA1zVibb.d.ts} +4 -4
- package/dist/{index-DUaLJO7l.d.ts → index-UA93Im7H.d.ts} +155 -109
- package/dist/{index-COgrQZIL.d.ts → index-YKCx03zD.d.ts} +2 -2
- 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-B4OOtNP8.d.ts → index-pYh4gqgl.d.ts} +1 -1
- package/dist/index.d.ts +81 -75
- package/dist/index.js +150 -136
- 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-CsZFr9dg.js +424 -0
- package/dist/loadCatalog-opk5hs94.d.ts +803 -0
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +4 -3
- package/dist/locale-D1Z3K290.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-DwUmpC5G.d.ts +240 -0
- package/dist/publicParser-B6XMcsB2.d.ts +141 -0
- package/dist/publicParser-DWUMCx7j.js +1437 -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-DtyScdZs.js} +5 -14
- package/dist/{semantic-CKH9XVqa.d.ts → semantic-BF_AjLvk.d.ts} +6 -3
- package/dist/slug-DAK6hdbr.js +17 -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-ocuIRfI2.js +893 -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-D9Y0dJsm.js} +5 -23
- package/dist/{useInputContainer-CpgDe2-4.js → useInputContainer-CLcYrby4.js} +1 -1
- package/dist/{useInputStatusIcon-DBOwxV4x.js → useInputStatusIcon-CWkCeMyX.js} +2 -2
- 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-PEXMxDpv.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 +125 -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 +24 -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 +9 -9
- 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 -11
- package/styles/text-area.css +7 -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/FieldIcon--NTgW5IU.js +0 -44
- 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/context-iABt_ueM.js +0 -976
- package/dist/index-BH9PzQ1F.d.ts +0 -87
- package/dist/link-C4_WogdF.js +0 -18
- package/dist/loadCatalog-BGHKG_9N.d.ts +0 -457
- 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,10 +1,11 @@
|
|
|
1
|
+
import { t as usePressFeedback } from "./usePressFeedback-BJCpjEpv.js";
|
|
1
2
|
import { t as _sfc_main$1 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
2
|
-
import { n as useButtonTooltip } from "./Button-
|
|
3
|
-
import { t as _sfc_main$2 } from "./ButtonTooltip-
|
|
4
|
-
import { i as useAriaRequired } from "./context-
|
|
5
|
-
import { t as _sfc_main$3 } from "./FieldLabel-
|
|
6
|
-
import { t as _sfc_main$4 } from "./FieldStatus-
|
|
7
|
-
import { t as useIndicator } from "./useIndicator-
|
|
3
|
+
import { n as useButtonTooltip } from "./Button-ONOoHdkg.js";
|
|
4
|
+
import { t as _sfc_main$2 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
5
|
+
import { i as useAriaRequired } from "./context-Cfml4jaK.js";
|
|
6
|
+
import { t as _sfc_main$3 } from "./FieldLabel-CHqp1y3z.js";
|
|
7
|
+
import { t as _sfc_main$4 } from "./FieldStatus-DaAB3TIt.js";
|
|
8
|
+
import { t as useIndicator } from "./useIndicator-D9Y0dJsm.js";
|
|
8
9
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUpdated, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
9
10
|
import "../styles/button.css";
|
|
10
11
|
import "../styles/checkbox-input.css";
|
|
@@ -111,7 +112,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
111
112
|
labelIcon: {},
|
|
112
113
|
labelTooltip: {},
|
|
113
114
|
optionalLabel: {},
|
|
114
|
-
requiredLabel: {}
|
|
115
|
+
requiredLabel: {},
|
|
116
|
+
targetClass: {}
|
|
115
117
|
}, {
|
|
116
118
|
"modelValue": {
|
|
117
119
|
type: [Boolean, String],
|
|
@@ -146,6 +148,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
146
148
|
const blocked = computed(() => props.isDisabled || props.isReadOnly || busy.value);
|
|
147
149
|
const state = computed(() => action.value.value === "indeterminate" ? "indeterminate" : action.value.value ? "checked" : "unchecked");
|
|
148
150
|
const CheckboxMark = useIndicator("checkbox");
|
|
151
|
+
const press = usePressFeedback({ hasOverlay: false });
|
|
149
152
|
const widthStyle = computed(() => ({ width: typeof props.width === "number" ? `${props.width}px` : props.width }));
|
|
150
153
|
const element = computed(() => input.value ?? null);
|
|
151
154
|
function focus(options) {
|
|
@@ -190,6 +193,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
190
193
|
busy.value ? loadingId : void 0
|
|
191
194
|
].filter(Boolean).join(" ") || void 0;
|
|
192
195
|
}
|
|
196
|
+
function labelledBy() {
|
|
197
|
+
const external = attrs["aria-labelledby"];
|
|
198
|
+
if (typeof external === "string" && external.trim() !== "") return external;
|
|
199
|
+
return [labelId.value, external].filter(Boolean).join(" ");
|
|
200
|
+
}
|
|
193
201
|
function syncNative() {
|
|
194
202
|
if (input.value) {
|
|
195
203
|
input.value.checked = action.value.value === true;
|
|
@@ -229,11 +237,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
229
237
|
"data-status": __props.status?.type,
|
|
230
238
|
"data-blocked": blocked.value || void 0
|
|
231
239
|
}, [
|
|
232
|
-
createElementVNode("div", {
|
|
233
|
-
class: normalizeClass(["astryx-checkbox-row", { "astryx-indicator-scope": !blocked.value }]),
|
|
240
|
+
createElementVNode("div", mergeProps({ class: ["astryx-checkbox-row", { "astryx-indicator-scope": !blocked.value }] }, blocked.value ? void 0 : unref(press).pressableProps, {
|
|
234
241
|
onPointerenter: _cache[2] || (_cache[2] = (...args) => unref(tooltip).onPointerEnter && unref(tooltip).onPointerEnter(...args)),
|
|
235
242
|
onPointerleave: _cache[3] || (_cache[3] = (...args) => unref(tooltip).onPointerLeave && unref(tooltip).onPointerLeave(...args))
|
|
236
|
-
}, [createElementVNode("span", _hoisted_2, [createElementVNode("input", mergeProps(inputAttrs(), {
|
|
243
|
+
}), [createElementVNode("span", _hoisted_2, [createElementVNode("input", mergeProps(inputAttrs(), {
|
|
237
244
|
id: inputId.value,
|
|
238
245
|
ref_key: "input",
|
|
239
246
|
ref: input,
|
|
@@ -245,7 +252,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
245
252
|
form: showsDisabledMessage.value ? "" : inputAttrs().form,
|
|
246
253
|
required: __props.isRequired && !__props.isOptional || inputAttrs().required,
|
|
247
254
|
readonly: __props.isReadOnly || showsDisabledMessage.value,
|
|
248
|
-
"aria-labelledby":
|
|
255
|
+
"aria-labelledby": labelledBy(),
|
|
249
256
|
"aria-describedby": describedBy(),
|
|
250
257
|
"aria-disabled": showsDisabledMessage.value || void 0,
|
|
251
258
|
"aria-readonly": __props.isReadOnly || void 0,
|
|
@@ -278,6 +285,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
278
285
|
"is-disabled": __props.isDisabled,
|
|
279
286
|
"is-optional": __props.isOptional,
|
|
280
287
|
"is-required": __props.isRequired,
|
|
288
|
+
"target-class": "astryx-checkbox-label",
|
|
281
289
|
"label-icon": __props.labelIcon,
|
|
282
290
|
"label-tooltip": __props.labelTooltip,
|
|
283
291
|
"optional-label": __props.optionalLabel,
|
|
@@ -300,7 +308,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
300
308
|
"label-tooltip",
|
|
301
309
|
"optional-label",
|
|
302
310
|
"required-label"
|
|
303
|
-
])],
|
|
311
|
+
])], 16),
|
|
304
312
|
createVNode(_sfc_main$4, {
|
|
305
313
|
id: statusId.value,
|
|
306
314
|
type: __props.status?.type ?? "success",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ca as
|
|
1
|
+
import { Ca as CheckboxListEmits, Ea as CheckboxListProps, Sa as _default, Ta as CheckboxListItemProps, wa as CheckboxListItemEmits, xa as _default$1 } from "../index-UA93Im7H.js";
|
|
2
2
|
export { _default as CheckboxList, type CheckboxListEmits, _default$1 as CheckboxListItem, type CheckboxListItemEmits, type CheckboxListItemProps, type CheckboxListProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../CheckboxList-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../CheckboxList-DCvHewHB.js";
|
|
2
2
|
export { _sfc_main as CheckboxList, _sfc_main$1 as CheckboxListItem };
|
|
@@ -1,19 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as _sfc_main$4 } from "./
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
1
|
+
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
2
|
+
import { s as useAstryxMessages } from "./context-CM-cjGg_.js";
|
|
3
|
+
import { t as _sfc_main$3 } from "./Tooltip-sAM8i1eO.js";
|
|
4
|
+
import { r as useItemDescriptionId } from "./Item-DWMIjN8n.js";
|
|
5
|
+
import { t as _sfc_main$4 } from "./CheckboxInput-D8vTmAMZ.js";
|
|
6
|
+
import { t as _sfc_main$5 } from "./Field-JIxT3xCh.js";
|
|
7
|
+
import { t as useFieldPartStyling } from "./fieldParts--SyRZVQG.js";
|
|
8
|
+
import { n as _sfc_main$6, t as _sfc_main$7 } from "./ListItem-BQXMu1Tb.js";
|
|
9
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, provide, ref, renderSlot, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, withCtx } from "vue";
|
|
8
10
|
import "../styles/checkbox-list.css";
|
|
9
11
|
import "../styles/visually-hidden-utility.css";
|
|
10
12
|
//#region src/CheckboxList/context.ts
|
|
11
|
-
const checkboxListKey =
|
|
13
|
+
const checkboxListKey = defineLayerScopedKey("astryx-checkbox-list", void 0);
|
|
12
14
|
//#endregion
|
|
13
15
|
//#region src/CheckboxList/CheckboxList.vue
|
|
14
|
-
const _hoisted_1$1 = ["
|
|
15
|
-
const
|
|
16
|
+
const _hoisted_1$1 = ["aria-labelledby", "aria-describedby"];
|
|
17
|
+
const _hoisted_2 = ["id"];
|
|
18
|
+
const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
16
19
|
name: "AstryxCheckboxList",
|
|
20
|
+
inheritAttrs: false,
|
|
17
21
|
__name: "CheckboxList",
|
|
18
22
|
props: /*@__PURE__*/ mergeModels({
|
|
19
23
|
label: {},
|
|
@@ -34,7 +38,35 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
34
38
|
isLabelHidden: { type: Boolean },
|
|
35
39
|
status: {},
|
|
36
40
|
statusVariant: { default: "detached" },
|
|
37
|
-
width: {}
|
|
41
|
+
width: {},
|
|
42
|
+
containerClass: { type: [
|
|
43
|
+
Boolean,
|
|
44
|
+
null,
|
|
45
|
+
String,
|
|
46
|
+
Object,
|
|
47
|
+
Array
|
|
48
|
+
] },
|
|
49
|
+
containerStyle: { type: [
|
|
50
|
+
Boolean,
|
|
51
|
+
null,
|
|
52
|
+
String,
|
|
53
|
+
Object,
|
|
54
|
+
Array
|
|
55
|
+
] },
|
|
56
|
+
controlClass: { type: [
|
|
57
|
+
Boolean,
|
|
58
|
+
null,
|
|
59
|
+
String,
|
|
60
|
+
Object,
|
|
61
|
+
Array
|
|
62
|
+
] },
|
|
63
|
+
controlStyle: { type: [
|
|
64
|
+
Boolean,
|
|
65
|
+
null,
|
|
66
|
+
String,
|
|
67
|
+
Object,
|
|
68
|
+
Array
|
|
69
|
+
] }
|
|
38
70
|
}, {
|
|
39
71
|
"modelValue": {},
|
|
40
72
|
"modelModifiers": {}
|
|
@@ -43,6 +75,13 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
43
75
|
setup(__props, { emit: __emit }) {
|
|
44
76
|
const props = __props;
|
|
45
77
|
const emit = __emit;
|
|
78
|
+
const attrs = useAttrs();
|
|
79
|
+
const parts = useFieldPartStyling({
|
|
80
|
+
component: "CheckboxList",
|
|
81
|
+
props,
|
|
82
|
+
attrs,
|
|
83
|
+
reservedAttrs: ["aria-labelledby", "aria-describedby"]
|
|
84
|
+
});
|
|
46
85
|
const model = useModel(__props, "modelValue");
|
|
47
86
|
const generatedId = `astryx-checkbox-list-${useId()}`;
|
|
48
87
|
const inputId = computed(() => props.id ?? generatedId);
|
|
@@ -67,6 +106,16 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
67
106
|
if (pending.value.length === 0) optimistic.value = null;
|
|
68
107
|
});
|
|
69
108
|
}
|
|
109
|
+
function groupLabelledBy(labelId) {
|
|
110
|
+
return [labelId, attrs["aria-labelledby"]].filter(Boolean).join(" ") || void 0;
|
|
111
|
+
}
|
|
112
|
+
function groupDescribedBy(fieldDescribed) {
|
|
113
|
+
return [
|
|
114
|
+
attrs["aria-describedby"],
|
|
115
|
+
fieldDescribed,
|
|
116
|
+
showsReason.value ? `${inputId.value}-reason` : void 0
|
|
117
|
+
].filter(Boolean).join(" ") || void 0;
|
|
118
|
+
}
|
|
70
119
|
provide(checkboxListKey, {
|
|
71
120
|
values: shown,
|
|
72
121
|
toggle,
|
|
@@ -77,8 +126,9 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
77
126
|
size: computed(() => props.density === "compact" ? "sm" : "md")
|
|
78
127
|
});
|
|
79
128
|
return (_ctx, _cache) => {
|
|
80
|
-
return openBlock(), createBlock(_sfc_main$
|
|
81
|
-
class: "astryx-checkbox-list",
|
|
129
|
+
return openBlock(), createBlock(_sfc_main$5, {
|
|
130
|
+
class: normalizeClass(["astryx-checkbox-list", [unref(attrs).class, unref(parts).containerClass.value]]),
|
|
131
|
+
style: normalizeStyle([unref(attrs).style, unref(parts).containerStyle.value]),
|
|
82
132
|
label: __props.label,
|
|
83
133
|
"input-id": inputId.value,
|
|
84
134
|
"is-group-label": "",
|
|
@@ -91,34 +141,36 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
91
141
|
status: __props.status,
|
|
92
142
|
"status-variant": __props.statusVariant
|
|
93
143
|
}, {
|
|
94
|
-
default: withCtx((field) => [createVNode(_sfc_main$
|
|
144
|
+
default: withCtx((field) => [createVNode(_sfc_main$3, {
|
|
95
145
|
content: disabledReason.value,
|
|
96
146
|
"is-enabled": showsReason.value,
|
|
97
147
|
"focus-trigger": "always",
|
|
98
148
|
placement: "above"
|
|
99
149
|
}, {
|
|
100
|
-
default: withCtx(() => [
|
|
150
|
+
default: withCtx(() => [createElementVNode("div", mergeProps({
|
|
151
|
+
class: ["astryx-checkbox-list-control", __props.controlClass],
|
|
152
|
+
style: __props.controlStyle,
|
|
153
|
+
role: "group"
|
|
154
|
+
}, unref(parts).forwardedAttrs(), {
|
|
155
|
+
"aria-labelledby": groupLabelledBy(field.labelId),
|
|
156
|
+
"aria-describedby": groupDescribedBy(field.describedBy)
|
|
157
|
+
}), [createVNode(_sfc_main$6, {
|
|
101
158
|
density: __props.density,
|
|
102
|
-
"has-dividers": __props.hasDividers
|
|
103
|
-
"aria-labelledby": field.labelId,
|
|
104
|
-
"aria-describedby": [field.describedBy, showsReason.value ? `${inputId.value}-reason` : void 0].filter(Boolean).join(" ") || void 0
|
|
159
|
+
"has-dividers": __props.hasDividers
|
|
105
160
|
}, {
|
|
106
161
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
107
162
|
_: 3
|
|
108
|
-
}, 8, [
|
|
109
|
-
"density",
|
|
110
|
-
"has-dividers",
|
|
111
|
-
"aria-labelledby",
|
|
112
|
-
"aria-describedby"
|
|
113
|
-
])]),
|
|
163
|
+
}, 8, ["density", "has-dividers"])], 16, _hoisted_1$1)]),
|
|
114
164
|
_: 2
|
|
115
165
|
}, 1032, ["content", "is-enabled"]), showsReason.value ? (openBlock(), createElementBlock("span", {
|
|
116
166
|
key: 0,
|
|
117
167
|
id: `${inputId.value}-reason`,
|
|
118
168
|
class: "astryx-visually-hidden"
|
|
119
|
-
}, toDisplayString(disabledReason.value), 9,
|
|
169
|
+
}, toDisplayString(disabledReason.value), 9, _hoisted_2)) : createCommentVNode("v-if", true)]),
|
|
120
170
|
_: 3
|
|
121
171
|
}, 8, [
|
|
172
|
+
"class",
|
|
173
|
+
"style",
|
|
122
174
|
"label",
|
|
123
175
|
"input-id",
|
|
124
176
|
"description",
|
|
@@ -134,8 +186,64 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
134
186
|
}
|
|
135
187
|
});
|
|
136
188
|
//#endregion
|
|
189
|
+
//#region src/CheckboxList/CheckboxListControl.vue
|
|
190
|
+
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
191
|
+
name: "AstryxCheckboxListControl",
|
|
192
|
+
__name: "CheckboxListControl",
|
|
193
|
+
props: {
|
|
194
|
+
modelValue: { type: [Boolean, String] },
|
|
195
|
+
label: {},
|
|
196
|
+
size: {},
|
|
197
|
+
isDisabled: { type: Boolean },
|
|
198
|
+
isReadOnly: { type: Boolean },
|
|
199
|
+
isLoading: { type: Boolean },
|
|
200
|
+
loadingLabel: {},
|
|
201
|
+
disabledMessage: {},
|
|
202
|
+
ariaLabelledby: {}
|
|
203
|
+
},
|
|
204
|
+
emits: ["update:modelValue"],
|
|
205
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
206
|
+
const emit = __emit;
|
|
207
|
+
const descriptionId = useItemDescriptionId();
|
|
208
|
+
const checkbox = useTemplateRef("checkbox");
|
|
209
|
+
__expose({ element: computed(() => checkbox.value?.element ?? null) });
|
|
210
|
+
return (_ctx, _cache) => {
|
|
211
|
+
return openBlock(), createBlock(_sfc_main$4, {
|
|
212
|
+
ref_key: "checkbox",
|
|
213
|
+
ref: checkbox,
|
|
214
|
+
"model-value": __props.modelValue,
|
|
215
|
+
label: __props.label,
|
|
216
|
+
"is-label-hidden": "",
|
|
217
|
+
size: __props.size,
|
|
218
|
+
"is-disabled": __props.isDisabled,
|
|
219
|
+
"is-read-only": __props.isReadOnly,
|
|
220
|
+
"is-loading": __props.isLoading,
|
|
221
|
+
"loading-label": __props.loadingLabel,
|
|
222
|
+
"disabled-message": __props.disabledMessage,
|
|
223
|
+
"aria-describedby": unref(descriptionId) ?? void 0,
|
|
224
|
+
"aria-labelledby": __props.ariaLabelledby,
|
|
225
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event))
|
|
226
|
+
}, null, 8, [
|
|
227
|
+
"model-value",
|
|
228
|
+
"label",
|
|
229
|
+
"size",
|
|
230
|
+
"is-disabled",
|
|
231
|
+
"is-read-only",
|
|
232
|
+
"is-loading",
|
|
233
|
+
"loading-label",
|
|
234
|
+
"disabled-message",
|
|
235
|
+
"aria-describedby",
|
|
236
|
+
"aria-labelledby"
|
|
237
|
+
]);
|
|
238
|
+
};
|
|
239
|
+
}
|
|
240
|
+
});
|
|
241
|
+
//#endregion
|
|
137
242
|
//#region src/CheckboxList/CheckboxListItem.vue
|
|
138
|
-
const _hoisted_1 = {
|
|
243
|
+
const _hoisted_1 = {
|
|
244
|
+
key: 1,
|
|
245
|
+
"aria-hidden": "true"
|
|
246
|
+
};
|
|
139
247
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
140
248
|
name: "AstryxCheckboxListItem",
|
|
141
249
|
__name: "CheckboxListItem",
|
|
@@ -143,6 +251,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
143
251
|
label: {},
|
|
144
252
|
value: {},
|
|
145
253
|
description: {},
|
|
254
|
+
ariaLabel: {},
|
|
146
255
|
isDisabled: { type: Boolean },
|
|
147
256
|
isLoading: { type: Boolean },
|
|
148
257
|
isChecked: { type: [Boolean, String] }
|
|
@@ -151,9 +260,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
151
260
|
setup(__props, { emit: __emit }) {
|
|
152
261
|
const props = __props;
|
|
153
262
|
const emit = __emit;
|
|
154
|
-
const context =
|
|
263
|
+
const context = readLayerScoped(checkboxListKey);
|
|
264
|
+
const slots = useSlots();
|
|
155
265
|
const messages = useAstryxMessages();
|
|
156
|
-
const
|
|
266
|
+
const richLabel = computed(() => slots.label != null);
|
|
267
|
+
const visibleLabelId = `astryx-checkbox-item-label-${useId()}`;
|
|
157
268
|
const checkbox = useTemplateRef("checkbox");
|
|
158
269
|
const interactiveRef = computed(() => checkbox.value?.element ?? null);
|
|
159
270
|
const collection = computed(() => context != null && context.values.value != null);
|
|
@@ -174,7 +285,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
174
285
|
else emit("check", next);
|
|
175
286
|
}
|
|
176
287
|
return (_ctx, _cache) => {
|
|
177
|
-
return openBlock(), createBlock(_sfc_main$
|
|
288
|
+
return openBlock(), createBlock(_sfc_main$7, {
|
|
178
289
|
label: __props.label,
|
|
179
290
|
description: __props.description,
|
|
180
291
|
"is-selected": selected.value,
|
|
@@ -182,20 +293,22 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
182
293
|
"aria-busy": loading.value || void 0,
|
|
183
294
|
"interactive-ref": interactiveRef.value
|
|
184
295
|
}, createSlots({
|
|
185
|
-
label: withCtx(() => [
|
|
186
|
-
|
|
296
|
+
label: withCtx(() => [richLabel.value ? (openBlock(), createElementBlock("span", {
|
|
297
|
+
key: 0,
|
|
298
|
+
id: visibleLabelId
|
|
299
|
+
}, [renderSlot(_ctx.$slots, "label")])) : (openBlock(), createElementBlock("span", _hoisted_1, toDisplayString(__props.label), 1))]),
|
|
300
|
+
startContent: withCtx(() => [createVNode(_sfc_main$1, {
|
|
187
301
|
ref_key: "checkbox",
|
|
188
302
|
ref: checkbox,
|
|
189
303
|
"model-value": checked.value,
|
|
190
|
-
label: __props.label,
|
|
191
|
-
"is-label-hidden": "",
|
|
304
|
+
label: __props.ariaLabel ?? (richLabel.value ? unref(messages).checkboxList.checkbox : __props.label),
|
|
192
305
|
size: unref(context)?.size.value ?? "md",
|
|
193
306
|
"is-disabled": disabled.value,
|
|
194
307
|
"is-read-only": readOnly.value,
|
|
195
308
|
"is-loading": loading.value,
|
|
196
309
|
"loading-label": unref(messages).checkboxList.loading,
|
|
197
310
|
"disabled-message": reason.value,
|
|
198
|
-
"aria-
|
|
311
|
+
"aria-labelledby": richLabel.value && !__props.ariaLabel ? visibleLabelId : void 0,
|
|
199
312
|
"onUpdate:modelValue": onChecked
|
|
200
313
|
}, null, 8, [
|
|
201
314
|
"model-value",
|
|
@@ -206,13 +319,17 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
206
319
|
"is-loading",
|
|
207
320
|
"loading-label",
|
|
208
321
|
"disabled-message",
|
|
209
|
-
"aria-
|
|
322
|
+
"aria-labelledby"
|
|
210
323
|
])]),
|
|
211
324
|
_: 2
|
|
212
|
-
}, [_ctx.$slots.
|
|
325
|
+
}, [_ctx.$slots.description ? {
|
|
326
|
+
name: "description",
|
|
327
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "description")]),
|
|
328
|
+
key: "0"
|
|
329
|
+
} : void 0, _ctx.$slots.end ? {
|
|
213
330
|
name: "endContent",
|
|
214
331
|
fn: withCtx(() => [renderSlot(_ctx.$slots, "end")]),
|
|
215
|
-
key: "
|
|
332
|
+
key: "1"
|
|
216
333
|
} : void 0]), 1032, [
|
|
217
334
|
"label",
|
|
218
335
|
"description",
|
|
@@ -225,4 +342,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
225
342
|
}
|
|
226
343
|
});
|
|
227
344
|
//#endregion
|
|
228
|
-
export { _sfc_main$
|
|
345
|
+
export { _sfc_main$2 as n, _sfc_main as t };
|
package/dist/Citation/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Citation-
|
|
1
|
+
import { t as _sfc_main } from "../Citation-C69BgxW3.js";
|
|
2
2
|
export { _sfc_main as Citation };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as _sfc_main$1 } from "./Icon-
|
|
1
|
+
import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
2
|
+
import { t as _sfc_main$1 } from "./Icon-KDnUyY7f.js";
|
|
3
|
+
import { s as useAstryxMessages } from "./context-CM-cjGg_.js";
|
|
3
4
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, openBlock, toDisplayString, useTemplateRef } from "vue";
|
|
4
5
|
import "../styles/citation.css";
|
|
5
6
|
//#region src/Citation/Citation.vue
|
|
@@ -42,7 +43,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
42
43
|
const messages = useAstryxMessages();
|
|
43
44
|
const root = useTemplateRef("root");
|
|
44
45
|
const title = computed(() => props.source.title?.trim() || String(props.number));
|
|
45
|
-
const href = computed(() =>
|
|
46
|
+
const href = computed(() => {
|
|
47
|
+
const url = props.source.url;
|
|
48
|
+
return url != null && url !== "" && isSafeUrl(url) ? url : void 0;
|
|
49
|
+
});
|
|
46
50
|
const accessibleName = computed(() => messages.value.citation.label(props.number, title.value));
|
|
47
51
|
const imageSrc = computed(() => {
|
|
48
52
|
const icon = props.source.icon;
|
|
@@ -88,6 +92,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
88
92
|
}, _ctx.$attrs, {
|
|
89
93
|
class: "astryx-citation",
|
|
90
94
|
"data-variant": __props.variant,
|
|
95
|
+
role: "group",
|
|
91
96
|
"aria-label": accessibleName.value,
|
|
92
97
|
title: title.value
|
|
93
98
|
}), [__props.variant === "number" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createTextVNode(toDisplayString(__props.number), 1)], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [hasIcon.value ? (openBlock(), createElementBlock("span", _hoisted_6, [imageSrc.value ? (openBlock(), createElementBlock("img", {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _a as
|
|
1
|
+
import { _a as _default, ba as ClickableCardSlots, va as ClickableCardEmits, ya as ClickableCardProps } from "../index-UA93Im7H.js";
|
|
2
2
|
export { _default as ClickableCard, _default as default, type ClickableCardEmits, type ClickableCardProps, type ClickableCardSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as ClickableCard_default } from "../ClickableCard-
|
|
1
|
+
import { n as _sfc_main, t as ClickableCard_default } from "../ClickableCard-ChAfiw9T.js";
|
|
2
2
|
export { _sfc_main as ClickableCard, ClickableCard_default as default };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { t as usePressFeedback } from "./usePressFeedback-BJCpjEpv.js";
|
|
1
2
|
import { t as _sfc_main$1 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
2
|
-
import {
|
|
3
|
+
import { i as useClickableContainer } from "./useClickableContainer-CdGp_Cev.js";
|
|
3
4
|
import { t as _sfc_main$2 } from "./Card-B-I24X9S.js";
|
|
4
|
-
import { computed, createBlock, defineComponent, openBlock, renderSlot, useTemplateRef, withCtx } from "vue";
|
|
5
|
+
import { computed, createBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, useTemplateRef, withCtx } from "vue";
|
|
5
6
|
import "../styles/clickable-card.css";
|
|
6
7
|
//#region src/ClickableCard/ClickableCard.vue
|
|
7
8
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
@@ -30,6 +31,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
30
31
|
const interactiveRef = useTemplateRef("interactive");
|
|
31
32
|
const containerRef = computed(() => cardRef.value?.element ?? null);
|
|
32
33
|
const controlRef = computed(() => interactiveRef.value?.element ?? null);
|
|
34
|
+
const { pressableProps } = usePressFeedback({ hasOverlay: false });
|
|
33
35
|
const handlers = useClickableContainer({
|
|
34
36
|
containerRef,
|
|
35
37
|
interactiveRef: controlRef,
|
|
@@ -55,7 +57,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
55
57
|
handlers.onMouseUp(event);
|
|
56
58
|
}
|
|
57
59
|
return (_ctx, _cache) => {
|
|
58
|
-
return openBlock(), createBlock(_sfc_main$2, {
|
|
60
|
+
return openBlock(), createBlock(_sfc_main$2, mergeProps({
|
|
59
61
|
ref: "card",
|
|
60
62
|
class: "astryx-clickable-card",
|
|
61
63
|
"data-disabled": __props.isDisabled || void 0,
|
|
@@ -64,10 +66,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
64
66
|
"max-width": __props.maxWidth,
|
|
65
67
|
padding: __props.padding,
|
|
66
68
|
variant: __props.variant,
|
|
67
|
-
width: __props.width
|
|
69
|
+
width: __props.width
|
|
70
|
+
}, __props.isDisabled ? void 0 : unref(pressableProps), {
|
|
68
71
|
onClick: onSurfaceClick,
|
|
69
72
|
onMouseup: onSurfaceMouseUp
|
|
70
|
-
}, {
|
|
73
|
+
}), {
|
|
71
74
|
default: withCtx(() => [__props.href ? (openBlock(), createBlock(_sfc_main$1, {
|
|
72
75
|
key: 0,
|
|
73
76
|
ref: "interactive",
|
|
@@ -93,7 +96,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
93
96
|
onClick: _cache[0] || (_cache[0] = ($event) => emit("click", $event))
|
|
94
97
|
}, null, 8, ["aria-label", "disabled"])), renderSlot(_ctx.$slots, "default")]),
|
|
95
98
|
_: 3
|
|
96
|
-
},
|
|
99
|
+
}, 16, [
|
|
97
100
|
"data-disabled",
|
|
98
101
|
"elevation",
|
|
99
102
|
"height",
|
package/dist/Code/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as SyntaxThemeInput, c as SyntaxTokenValue, i as SyntaxThemeDefinition, l as defineSyntaxTheme, n as SYNTAX_TOKEN_KEYS, o as SyntaxThemeTokens, r as SyntaxDiffTokenKey, s as SyntaxTokenKey, t as DIFF_SYNTAX_TOKEN_KEYS, u as githubDark } from "../syntaxTheme-CwVEcVDk.js";
|
|
2
|
-
import { A as _default, B as CodeSlots, C as applyHighlightRanges, D as parseFenceLanguage, E as diffLineKind, F as CodeBlockTokenizer, H as TokenLine, I as CodeColor, L as CodeHighlightMode, M as CodeBlockEmits, N as CodeBlockProps, O as splitDiffLines, P as CodeBlockSize, R as CodeProps, S as HIGHLIGHTED_TOKEN_TYPES, T as DiffLines, V as SyntaxToken, _ as oneDarkPro, a as tokenize, b as tokyoNight, c as allSyntaxPresets, d as darkSyntaxPresets, f as dracula, g as nord, h as monokai, i as flatTokensToLines, j as CodeBlockContainer, k as _default$1, l as catppuccinLatte, m as lightSyntaxPresets, n as useSyntaxTheme, o as tokenizeAsync, p as githubLight, r as SYNC_TOKENIZE_THRESHOLD, s as _default$2, t as UseSyntaxThemeReturn, u as catppuccinMocha, v as oneLight, w as DiffLineKind, x as tokyoNightLight, y as solarizedLight, z as CodeSize } from "../index-
|
|
2
|
+
import { A as _default, B as CodeSlots, C as applyHighlightRanges, D as parseFenceLanguage, E as diffLineKind, F as CodeBlockTokenizer, H as TokenLine, I as CodeColor, L as CodeHighlightMode, M as CodeBlockEmits, N as CodeBlockProps, O as splitDiffLines, P as CodeBlockSize, R as CodeProps, S as HIGHLIGHTED_TOKEN_TYPES, T as DiffLines, V as SyntaxToken, _ as oneDarkPro, a as tokenize, b as tokyoNight, c as allSyntaxPresets, d as darkSyntaxPresets, f as dracula, g as nord, h as monokai, i as flatTokensToLines, j as CodeBlockContainer, k as _default$1, l as catppuccinLatte, m as lightSyntaxPresets, n as useSyntaxTheme, o as tokenizeAsync, p as githubLight, r as SYNC_TOKENIZE_THRESHOLD, s as _default$2, t as UseSyntaxThemeReturn, u as catppuccinMocha, v as oneLight, w as DiffLineKind, x as tokyoNightLight, y as solarizedLight, z as CodeSize } from "../index-D5N9ikrS.js";
|
|
3
3
|
import { n as UseClipboardReturn, r as useClipboard, t as UseClipboardOptions } from "../useClipboard-CU-kfqeJ.js";
|
|
4
4
|
export { _default as Code, _default$1 as CodeBlock, type CodeBlockContainer, type CodeBlockEmits, type CodeBlockProps, type CodeBlockSize, type CodeBlockTokenizer, type CodeColor, type CodeHighlightMode, type CodeProps, type CodeSize, type CodeSlots, type UseClipboardOptions as CopyToClipboardOptions, type UseClipboardReturn as CopyToClipboardReturn, DIFF_SYNTAX_TOKEN_KEYS, type DiffLineKind, type DiffLines, HIGHLIGHTED_TOKEN_TYPES, SYNC_TOKENIZE_THRESHOLD, SYNTAX_TOKEN_KEYS, type SyntaxDiffTokenKey, _default$2 as SyntaxTheme, type SyntaxThemeDefinition, type SyntaxThemeInput, type SyntaxThemeTokens, type SyntaxToken, type SyntaxTokenKey, type SyntaxTokenValue, type TokenLine, type UseSyntaxThemeReturn, allSyntaxPresets, applyHighlightRanges, catppuccinLatte, catppuccinMocha, darkSyntaxPresets, defineSyntaxTheme, diffLineKind, dracula, flatTokensToLines, githubDark, githubLight, lightSyntaxPresets, monokai, nord, oneDarkPro, oneLight, parseFenceLanguage, solarizedLight, splitDiffLines, tokenize, tokenizeAsync, tokyoNight, tokyoNightLight, useClipboard as useCopyToClipboard, useSyntaxTheme };
|
package/dist/Code/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as useClipboard } from "../useClipboard-
|
|
2
|
-
import { a as tokenizeAsync, c as splitDiffLines, d as _sfc_main, i as tokenize, l as HIGHLIGHTED_TOKEN_TYPES, n as SYNC_TOKENIZE_THRESHOLD, o as diffLineKind, r as flatTokensToLines, s as parseFenceLanguage, t as _sfc_main$1, u as applyHighlightRanges } from "../CodeBlock-
|
|
1
|
+
import { t as useClipboard } from "../useClipboard-Dk8cS810.js";
|
|
2
|
+
import { a as tokenizeAsync, c as splitDiffLines, d as _sfc_main, i as tokenize, l as HIGHLIGHTED_TOKEN_TYPES, n as SYNC_TOKENIZE_THRESHOLD, o as diffLineKind, r as flatTokensToLines, s as parseFenceLanguage, t as _sfc_main$1, u as applyHighlightRanges } from "../CodeBlock-DsbwTBiT.js";
|
|
3
3
|
import { i as githubDark, n as SYNTAX_TOKEN_KEYS, r as defineSyntaxTheme, t as DIFF_SYNTAX_TOKEN_KEYS } from "../syntaxTheme-R7xnu5x5.js";
|
|
4
|
-
import { a as catppuccinMocha, c as githubLight, d as nord, f as oneDarkPro, g as tokyoNightLight, h as tokyoNight, i as catppuccinLatte, l as lightSyntaxPresets, m as solarizedLight, n as _sfc_main$2, o as darkSyntaxPresets, p as oneLight, r as allSyntaxPresets, s as dracula, t as useSyntaxTheme, u as monokai } from "../Code-
|
|
4
|
+
import { a as catppuccinMocha, c as githubLight, d as nord, f as oneDarkPro, g as tokyoNightLight, h as tokyoNight, i as catppuccinLatte, l as lightSyntaxPresets, m as solarizedLight, n as _sfc_main$2, o as darkSyntaxPresets, p as oneLight, r as allSyntaxPresets, s as dracula, t as useSyntaxTheme, u as monokai } from "../Code-Bg7GBdxy.js";
|
|
5
5
|
export { _sfc_main as Code, _sfc_main$1 as CodeBlock, DIFF_SYNTAX_TOKEN_KEYS, HIGHLIGHTED_TOKEN_TYPES, SYNC_TOKENIZE_THRESHOLD, SYNTAX_TOKEN_KEYS, _sfc_main$2 as SyntaxTheme, allSyntaxPresets, applyHighlightRanges, catppuccinLatte, catppuccinMocha, darkSyntaxPresets, defineSyntaxTheme, diffLineKind, dracula, flatTokensToLines, githubDark, githubLight, lightSyntaxPresets, monokai, nord, oneDarkPro, oneLight, parseFenceLanguage, solarizedLight, splitDiffLines, tokenize, tokenizeAsync, tokyoNight, tokyoNightLight, useClipboard as useCopyToClipboard, useSyntaxTheme };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
2
2
|
import { n as themeContextKey } from "./context-Cws_tXTr.js";
|
|
3
3
|
import { a as syntaxThemeStyle, i as githubDark, n as SYNTAX_TOKEN_KEYS, r as defineSyntaxTheme } from "./syntaxTheme-R7xnu5x5.js";
|
|
4
|
-
import {
|
|
4
|
+
import { t as syntaxThemeKey } from "./syntaxContext-DmIfNNtb.js";
|
|
5
|
+
import { n as resolveLightDark, t as readColorMode } from "./colorMode-BxqfDP4P.js";
|
|
5
6
|
import { computed, createElementBlock, defineComponent, inject, normalizeClass, normalizeStyle, openBlock, provide, renderSlot } from "vue";
|
|
6
7
|
//#region src/Code/syntaxPresets.ts
|
|
7
8
|
/** One Dark Pro (Binaryify), MIT. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as _sfc_main$3 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
2
|
-
import { t as useClipboard } from "./useClipboard-
|
|
3
|
-
import { t as _sfc_main$4 } from "./
|
|
2
|
+
import { t as useClipboard } from "./useClipboard-Dk8cS810.js";
|
|
3
|
+
import { t as _sfc_main$4 } from "./Icon-KDnUyY7f.js";
|
|
4
|
+
import { t as _sfc_main$5 } from "./IconButton-DI-XBbtV.js";
|
|
4
5
|
import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
|
|
5
|
-
import { t as _sfc_main$5 } from "./Icon-bteSId7T.js";
|
|
6
6
|
import { a as syntaxThemeStyle } from "./syntaxTheme-R7xnu5x5.js";
|
|
7
7
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useAttrs, useId, useTemplateRef, watch, withCtx, withModifiers } from "vue";
|
|
8
8
|
import "../styles/code.css";
|
|
@@ -1300,7 +1300,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
1300
1300
|
_cache[3] || (_cache[3] = createTextVNode("\n ", -1)),
|
|
1301
1301
|
canCollapse.value ? (openBlock(), createElementBlock("span", _hoisted_4, [
|
|
1302
1302
|
_cache[1] || (_cache[1] = createTextVNode("\n ", -1)),
|
|
1303
|
-
createVNode(_sfc_main$
|
|
1303
|
+
createVNode(_sfc_main$4, {
|
|
1304
1304
|
class: normalizeClass(["astryx-code-block__chevron-icon", { "astryx-code-block__chevron-icon--expanded": !isCollapsed.value }]),
|
|
1305
1305
|
icon: "chevronRight",
|
|
1306
1306
|
size: "xsm",
|
|
@@ -1313,7 +1313,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
1313
1313
|
_cache[5] || (_cache[5] = createTextVNode("\n ", -1))
|
|
1314
1314
|
], 16),
|
|
1315
1315
|
_cache[10] || (_cache[10] = createTextVNode("\n ", -1)),
|
|
1316
|
-
__props.hasCopyButton ? (openBlock(), createBlock(_sfc_main$
|
|
1316
|
+
__props.hasCopyButton ? (openBlock(), createBlock(_sfc_main$5, {
|
|
1317
1317
|
key: 0,
|
|
1318
1318
|
class: "astryx-code-block-copy-button",
|
|
1319
1319
|
variant: "ghost",
|
|
@@ -1324,7 +1324,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
1324
1324
|
}, {
|
|
1325
1325
|
default: withCtx(() => [
|
|
1326
1326
|
_cache[6] || (_cache[6] = createTextVNode("\n ", -1)),
|
|
1327
|
-
createVNode(_sfc_main$
|
|
1327
|
+
createVNode(_sfc_main$4, {
|
|
1328
1328
|
icon: unref(isCopied) ? "check" : "copy",
|
|
1329
1329
|
size: "sm",
|
|
1330
1330
|
color: "inherit"
|
|
@@ -1400,7 +1400,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
1400
1400
|
"token-lines"
|
|
1401
1401
|
])),
|
|
1402
1402
|
_cache[20] || (_cache[20] = createTextVNode("\n ", -1)),
|
|
1403
|
-
!showHeader.value && __props.hasCopyButton ? (openBlock(), createBlock(_sfc_main$
|
|
1403
|
+
!showHeader.value && __props.hasCopyButton ? (openBlock(), createBlock(_sfc_main$5, {
|
|
1404
1404
|
key: 3,
|
|
1405
1405
|
class: "astryx-code-block-copy-button astryx-code-block-copy-button--floating",
|
|
1406
1406
|
variant: "ghost",
|
|
@@ -1411,7 +1411,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
1411
1411
|
}, {
|
|
1412
1412
|
default: withCtx(() => [
|
|
1413
1413
|
_cache[16] || (_cache[16] = createTextVNode("\n ", -1)),
|
|
1414
|
-
createVNode(_sfc_main$
|
|
1414
|
+
createVNode(_sfc_main$4, {
|
|
1415
1415
|
icon: unref(isCopied) ? "check" : "copy",
|
|
1416
1416
|
size: "sm",
|
|
1417
1417
|
color: "inherit"
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as _default$1, c as CollapsibleGroupSlots, d as CollapsibleGroupValue, f as _default, g as CollapsibleSlots, h as CollapsibleProps, i as useCollapsible, l as CollapsibleGroupDensity, m as CollapsibleEmits, n as UseCollapsibleOptions, o as CollapsibleGroupEmits, p as CollapsibleChevronPosition, r as UseCollapsibleReturn, s as CollapsibleGroupProps, t as CollapsibleConfig, u as CollapsibleGroupType } from "../index-
|
|
1
|
+
import { a as _default$1, c as CollapsibleGroupSlots, d as CollapsibleGroupValue, f as _default, g as CollapsibleSlots, h as CollapsibleProps, i as useCollapsible, l as CollapsibleGroupDensity, m as CollapsibleEmits, n as UseCollapsibleOptions, o as CollapsibleGroupEmits, p as CollapsibleChevronPosition, r as UseCollapsibleReturn, s as CollapsibleGroupProps, t as CollapsibleConfig, u as CollapsibleGroupType } from "../index-BEZ4ezJk.js";
|
|
2
2
|
export { _default as Collapsible, type CollapsibleChevronPosition, type CollapsibleConfig, type CollapsibleEmits, _default$1 as CollapsibleGroup, type CollapsibleGroupDensity, type CollapsibleGroupEmits, type CollapsibleGroupProps, type CollapsibleGroupSlots, type CollapsibleGroupType, type CollapsibleGroupValue, type CollapsibleProps, type CollapsibleSlots, type UseCollapsibleOptions, type UseCollapsibleReturn, useCollapsible };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, r as useCollapsible, t as _sfc_main$1 } from "../Collapsible-
|
|
1
|
+
import { n as _sfc_main, r as useCollapsible, t as _sfc_main$1 } from "../Collapsible-Bdj0WYpb.js";
|
|
2
2
|
export { _sfc_main as Collapsible, _sfc_main$1 as CollapsibleGroup, useCollapsible };
|