@astryx-vue/core 0.2.2 → 0.2.4
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/THIRD_PARTY_NOTICES.md +4 -0
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-ovx4cBjM.js → AlertDialog-B6UeBCE7.js} +2 -2
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-Cb41gIAj.js → AppShell-CeBmB0Q9.js} +2 -2
- package/dist/Avatar/index.d.ts +1 -1
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-jmHInHwj.js → Avatar-BB4Z4LF1.js} +10 -4
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/BottomSheet/index.d.ts +2 -2
- package/dist/BottomSheet/index.js +3 -2
- package/dist/{BottomSheet-Dg95HB1s.js → BottomSheet-BV6vfgGu.js} +82 -22
- package/dist/BottomSheet-o7xw-TOi.js +153 -0
- package/dist/Breadcrumbs/index.d.ts +3 -2
- package/dist/Breadcrumbs/index.js +3 -2
- package/dist/{Breadcrumbs-CTQ7fjDn.js → Breadcrumbs-D6G7f5WL.js} +13 -8
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +2 -2
- package/dist/Calendar/index.js +1 -1
- package/dist/Calendar-DmTeM7PO.js +656 -0
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-X0cuQkvg.js → Carousel-CIKrcA2r.js} +2 -2
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-M0tiGrNT.js → Chat-BFox3u9D.js} +3 -3
- package/dist/CheckboxIndicator/index.js +1 -1
- package/dist/CheckboxIndicator-D37cm2Rh.js +68 -0
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-CMsEE1_4.js → CheckboxInput-25Q8ItH-.js} +10 -9
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-BbCPiend.js → CheckboxList-BlPf7vPe.js} +78 -25
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-C1veUk5p.js → Citation-BG-vg9ia.js} +2 -2
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.d.ts +3 -3
- package/dist/Code/index.js +4 -4
- package/dist/{Code-yb_KOFtJ.js → Code-XnPuGxey.js} +3 -2
- package/dist/{CodeBlock-DesTJAkm.js → CodeBlock-B2pnEOJY.js} +146 -16
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-BestK35V.js → Collapsible-3YerR-FO.js} +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-BArt97V8.js → CommandPalette-DKgHzmJk.js} +10 -10
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-CAoig1RK.js → ComplexSelector-Dv44FFhN.js} +3 -3
- package/dist/ContextMenu/index.d.ts +3 -2
- package/dist/ContextMenu/index.js +3 -2
- package/dist/{ContextMenu-9Im6i43E.js → ContextMenu-BeJO5HYx.js} +206 -423
- package/dist/DateInput/index.d.ts +2 -2
- package/dist/DateInput/index.js +1 -1
- package/dist/DateInput-D4XFAEMp.js +743 -0
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-DwDy3eRo.js → DateRangeInput-Cp6AZfew.js} +54 -19
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-BYiaC9bn.js → DateTimeInput-B6MPPp76.js} +54 -15
- package/dist/Divider/index.d.ts +1 -1
- package/dist/DropdownMenu/index.d.ts +3 -3
- package/dist/DropdownMenu/index.js +4 -3
- package/dist/{DropdownMenu-Dh-WAHKb.js → DropdownMenu--lnUeJEG.js} +309 -64
- package/dist/DropdownMenu-6E9jFdFe.js +325 -0
- package/dist/DropdownMenuRadioItem.vue-CXEURBcq.d.ts +564 -0
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-CUJdTYKV.js → EmptyState-0RWymQUS.js} +2 -2
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-DLO6V12n.js → FileInput-DuNwdbAo.js} +2 -2
- package/dist/Grid/index.d.ts +1 -1
- package/dist/Heading/index.d.ts +2 -2
- package/dist/Heading/index.js +1 -1
- package/dist/Heading-B9C3LZlS.js +94 -0
- package/dist/Icon/index.d.ts +4 -3
- package/dist/Icon/index.js +2 -2
- package/dist/{Icon-CJKjdJy-.js → Icon-bteSId7T.js} +113 -18
- package/dist/Indicator/index.d.ts +3 -0
- package/dist/Indicator/index.js +2 -0
- package/dist/InputGroup/index.d.ts +2 -2
- package/dist/InputGroup/index.js +3 -2
- package/dist/InputGroup-BzR6JRZb.js +129 -0
- package/dist/Item-DrYJL1TG.js +590 -0
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-CdFCS_EA.js → Lightbox-Br3o0SyQ.js} +2 -2
- package/dist/Link/index.d.ts +3 -2
- package/dist/Link/index.js +1 -1
- package/dist/Link-DCZ6922-.js +196 -0
- package/dist/List/index.d.ts +3 -3
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-pGxvn6QJ.js → ListItem-CcRHWuEm.js} +8 -2
- package/dist/Markdown/index.d.ts +2 -2
- package/dist/Markdown/index.js +2 -2
- package/dist/{Markdown-BqKloI3w.js → Markdown-Bz0R3kNj.js} +280 -33
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-CvZkmisf.js → MetadataList-CFaocx6j.js} +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-Bwi0qXXM.js → MobileNavToggle-Dh3uLivq.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-BwJaJrkB.js → MoreMenu-B95nRSe8.js} +3 -3
- package/dist/MultiSelector/index.d.ts +2 -2
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-C-ETfFy_.js → MultiSelector-DuF5TECE.js} +304 -122
- package/dist/{NavDisclosure-DHrSNRDR.js → NavDisclosure-C6sPZ89n.js} +5 -2
- package/dist/NavHeadingSurface-Cb3x9iDx.js +287 -0
- package/dist/NavMenu/index.d.ts +2 -2
- package/dist/NavMenu/index.js +4 -3
- package/dist/NavMenu-ClIgMaxE.js +176 -0
- package/dist/{NavMenuItem-B-k7olt5.js → NavMenuItem-E7S8gBh-.js} +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-DjetVB8O.js → NumberInput-B4IL3s_8.js} +1 -1
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-Bz9c-u5y.js → Outline-DBUuchi9.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-ED-KN9Y5.js → OverflowList-aDd_oem0.js} +3 -3
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-Cb66HMEf.js → Pagination-CNe9F6Fl.js} +181 -45
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-Crhk9PNP.js → Popover-D7zqpFwU.js} +1 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CjU8y4mi.js → PowerSearch-C6U8Sq1Y.js} +16 -16
- package/dist/ProgressBar/index.d.ts +2 -2
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-DO9Chic6.js → ProgressBar-DF6WZNCI.js} +45 -6
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-BqjdSCfJ.js → RadioGroup-CBqUPq_L.js} +16 -8
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-DI8ujXcT.js → RadioList-CPOJn9Th.js} +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{Resizable-D-TBCg0Y.js → ResizeHandle-DYy0e3v9.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +2 -2
- package/dist/Selector/index.js +1 -1
- package/dist/Selector-5N-hq2nF.js +618 -0
- package/dist/SideNav/index.d.ts +2 -2
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-DonEfiAx.js → SideNav-CT9lfspi.js} +226 -230
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-D2ZIcUNx.js → Stepper-BqhVCgC-.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-D3F-stq-.js → TabList-BlzkrObv.js} +2 -2
- package/dist/Table/index.js +1 -1
- package/dist/{Table-CrP2Uffq.js → Table-CsdH8fCB.js} +7 -7
- package/dist/Text/index.d.ts +3 -3
- package/dist/Text/index.js +1 -1
- package/dist/Text-DIzZw6FA.js +86 -0
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/Theme/index.d.ts +3 -2
- package/dist/Theme/index.js +2 -2
- package/dist/Theme-CtaUWo4g.js +1246 -0
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-BC5JGPGZ.js → Thumbnail-BnQwX1cQ.js} +3 -3
- package/dist/{TimeField-DpHFrNv0.js → TimeField-Biiuv0hB.js} +2 -2
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-DJLV0_4z.js → TimeInput-C9gptCOK.js} +1 -1
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-B7GV6hqd.js → Timer-kxzQx3tp.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-GKNjjt5g.js → Timestamp-D7bd_nF3.js} +3 -3
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-Chu_eCVs.js → Token-D2GsI_Ei.js} +2 -2
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DRDpvQ_l.js → Tokenizer-rwzamZg4.js} +4 -4
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +1 -1
- package/dist/{Tooltip-mp0NMh_Y.js → Tooltip-C2fh9anJ.js} +23 -8
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-CEyWddtA.js → TopNav-arWFLTBM.js} +113 -43
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-COS8US8e.js → TreeList-C9xvMpJZ.js} +2 -2
- package/dist/Typeahead/index.d.ts +2 -2
- package/dist/Typeahead/index.js +3 -2
- package/dist/Typeahead-_V11btpv.js +499 -0
- package/dist/{TypeaheadMenu-CGvo0Tud.js → TypeaheadMenu-BEObzonz.js} +46 -10
- package/dist/{context-O2Vb8cJl.js → colorMode-CBgdgDSn.js} +1 -7
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +12 -7
- package/dist/composables-CWw6t-RJ.js +520 -0
- package/dist/{context-CiKncNSH.js → context-CPh7kE-a.js} +140 -18
- package/dist/context-Cws_tXTr.js +7 -0
- package/dist/context-D5-MwxnN.js +4 -0
- package/dist/{index-CJlBAXwj.d.ts → index-12QYAbiz.d.ts} +41 -4
- package/dist/{index-Cs5pcwY3.d.ts → index-6yB8BtEu.d.ts} +3 -3
- package/dist/{index-C7mxUcDR.d.ts → index-B4OOtNP8.d.ts} +2 -2
- package/dist/index-BBtJt5_A.d.ts +26 -0
- package/dist/{index-CRizexSC.d.ts → index-BH9PzQ1F.d.ts} +13 -73
- package/dist/index-BPwD6aBv.d.ts +83 -0
- package/dist/{index-DOUEn7V0.d.ts → index-BcZI402h.d.ts} +64 -5
- package/dist/{index-C8wDPDcP.d.ts → index-Bi49IrAJ.d.ts} +50 -8
- package/dist/{index-DimuSES0.d.ts → index-BlOIC_AM.d.ts} +3 -1
- package/dist/{index-C5p2NeCr.d.ts → index-Blm197N_.d.ts} +11 -2
- package/dist/{index-Bu3oXIIS.d.ts → index-BmmdzwT9.d.ts} +6 -0
- package/dist/{index-kVhSuA9t.d.ts → index-BxhJqiZ7.d.ts} +6 -6
- package/dist/{index-HV6W3xCx.d.ts → index-Byar3h1e.d.ts} +1 -1
- package/dist/{index-qiZtHnGK.d.ts → index-C3GaPqvJ.d.ts} +123 -8
- package/dist/{index-D4I_obqR.d.ts → index-CFIXnk5D.d.ts} +1 -1
- package/dist/{index-cGagYM1g.d.ts → index-CI9kyg74.d.ts} +11 -1
- package/dist/{index-D-ZuubCK.d.ts → index-CUCcYKxl.d.ts} +1 -1
- package/dist/{index-DWH_HzXi.d.ts → index-ChWlKHjc.d.ts} +1 -1
- package/dist/{index-DGXviOlp.d.ts → index-D-ezcKaY.d.ts} +30 -4
- package/dist/{index-Cm_TiLXU.d.ts → index-Dgg0bHVM.d.ts} +7 -3
- package/dist/index-DxR1FChm.d.ts +158 -0
- package/dist/{index-DNRBbwp_.d.ts → index-EtZgovdH.d.ts} +842 -107
- package/dist/{index-BHqRH7QW.d.ts → index-FEy8qFSD.d.ts} +2 -2
- package/dist/index-XuAAcYiP.d.ts +77 -0
- package/dist/{index-D0TlUOtG.d.ts → index-YmSe1ujk.d.ts} +76 -3
- package/dist/{index-BMrggCw-.d.ts → index-bvr3WHvs.d.ts} +1 -1
- package/dist/{index-CDDMDHJM.d.ts → index-c67ca7eJ.d.ts} +1 -1
- package/dist/{index-c_TaW8mM.d.ts → index-cL3q7O4R.d.ts} +31 -2
- package/dist/{index-CGZ2xi3r.d.ts → index-eshFLli0.d.ts} +40 -3
- package/dist/{index-DsyKhauk.d.ts → index-hCpxKePE.d.ts} +48 -2
- package/dist/{index-u5ozu0G7.d.ts → index-vP0EtrJJ.d.ts} +13 -3
- package/dist/{index-B1TG2GPS.d.ts → index-vizlhXVs.d.ts} +246 -45
- package/dist/{index-DfgHJE7H.d.ts → index-z3uLM1O6.d.ts} +153 -24
- package/dist/index.d.ts +82 -80
- package/dist/index.js +127 -116
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +3 -3
- package/dist/locale-sLw5Caia.js +917 -0
- package/dist/searchResultMessage-CCnq-_ce.js +94 -0
- package/dist/semantic-CKH9XVqa.d.ts +54 -0
- package/dist/syntaxTheme-CwVEcVDk.d.ts +57 -0
- package/dist/{syntaxTheme-ClpWALZX.js → syntaxTheme-R7xnu5x5.js} +24 -3
- package/dist/{types-pnljWjEE.d.ts → types-CwyibrRB.d.ts} +12 -11
- package/dist/{types-Bt-lSgYX.d.ts → types-D9nP_X-c.d.ts} +14 -1
- package/dist/{types-CAZY4Xua.d.ts → types-DGYHIu4I.d.ts} +30 -1
- package/dist/types-D_J66aPN.d.ts +85 -0
- package/dist/types-gKsEkk2g.d.ts +320 -0
- package/dist/{useAnchoredListbox-7W90Ny-9.js → useAnchoredListbox-BN9LQnon.js} +1 -1
- package/dist/useDatePresentation-C07PnOCw.js +21 -0
- package/dist/{useMonthGrid-CmJsZTcB.js → useDateRange-CIXoE_8k.js} +1 -42
- package/dist/useDisclosureHandle-Df3HhAfC.js +24 -0
- package/dist/{useDismiss-CAiHU6QD.js → useDismiss-Cj8x_51F.js} +8 -4
- package/dist/useFieldControlState-voICDrys.js +18 -0
- package/dist/useHandleRef-6cdKugm8.js +17 -0
- package/dist/useIndicator-i1NORM7W.js +147 -0
- package/dist/useMenuDrillIn-BgjJcY3K.js +520 -0
- package/dist/useMenuPress-DUmEy4TB.js +425 -0
- package/dist/useMonthGrid-fGHSSrFc.js +43 -0
- package/dist/usePendingChange-ib-h8FZK.js +25 -0
- package/dist/{composables-CVfjp9h4.js → useResizable-B3ahKLoZ.js} +74 -152
- package/dist/useSubmenuMode-CZN9qrUo.js +37 -0
- package/dist/useTruncation-B5qXQzAP.js +53 -0
- package/locales/SOURCE.json +37 -0
- package/locales/af-ZA.json +1482 -0
- package/locales/ar-SA.json +1482 -0
- package/locales/ca-ES.json +1482 -0
- package/locales/cs-CZ.json +1482 -0
- package/locales/da-DK.json +1482 -0
- package/locales/de-DE.json +1482 -0
- package/locales/el-GR.json +1482 -0
- package/locales/en.json +1646 -0
- package/locales/es-ES.json +1482 -0
- package/locales/fi-FI.json +1482 -0
- package/locales/fr-FR.json +1482 -0
- package/locales/he-IL.json +1482 -0
- package/locales/hu-HU.json +1482 -0
- package/locales/it-IT.json +1482 -0
- package/locales/ja-JP.json +1482 -0
- package/locales/ko-KR.json +1482 -0
- package/locales/nl-NL.json +1482 -0
- package/locales/no-NO.json +1482 -0
- package/locales/pl-PL.json +1482 -0
- package/locales/pt-BR.json +1482 -0
- package/locales/pt-PT.json +1482 -0
- package/locales/ro-RO.json +1482 -0
- package/locales/ru-RU.json +1482 -0
- package/locales/sr-SP.json +1482 -0
- package/locales/sv-SE.json +1482 -0
- package/locales/tr-TR.json +1482 -0
- package/locales/uk-UA.json +1482 -0
- package/locales/vi-VN.json +1482 -0
- package/locales/zh-CN.json +1482 -0
- package/locales/zh-TW.json +1482 -0
- package/package.json +7 -1
- package/styles/bottom-sheet.css +27 -0
- package/styles/calendar.css +38 -3
- package/styles/check-indicator.css +17 -0
- package/styles/checkbox-indicator.css +29 -10
- package/styles/checkbox-input.css +0 -11
- package/styles/code.css +62 -0
- package/styles/container-reveal.css +104 -0
- package/styles/date-input.css +48 -0
- package/styles/dropdown-menu.css +163 -0
- package/styles/field.css +48 -0
- package/styles/heading.css +47 -0
- package/styles/icon.css +51 -3
- package/styles/input-group.css +32 -3
- package/styles/keyboard-hint.css +28 -0
- package/styles/link.css +34 -0
- package/styles/list.css +88 -1
- package/styles/markdown.css +12 -0
- package/styles/multi-selector.css +26 -0
- package/styles/pagination.css +30 -0
- package/styles/progress-bar.css +49 -0
- package/styles/radio-indicator.css +90 -0
- package/styles/radio.css +9 -42
- package/styles/selector.css +112 -14
- package/styles/side-nav.css +36 -1
- package/styles/text.css +18 -0
- package/styles/top-nav.css +145 -6
- package/styles/typeahead.css +24 -0
- package/styles.css +4 -0
- package/dist/Calendar-BFaI5AMv.js +0 -352
- package/dist/CheckboxIndicator-DdJmksHt.js +0 -52
- package/dist/DateInput-BLocxqC3.js +0 -376
- package/dist/DropdownMenu-Ddfr-aEC.js +0 -164
- package/dist/Heading-Dugosn6j.js +0 -43
- package/dist/InputGroup-ChrFVxzV.js +0 -42
- package/dist/Item-C1z6gXn8.js +0 -289
- package/dist/Link-DqdQZ37C.js +0 -141
- package/dist/Selector-DE2IEFML.js +0 -468
- package/dist/Text-BHVghsWo.js +0 -53
- package/dist/Theme-BuUiiJNr.js +0 -429
- package/dist/Typeahead-P7cCqtaQ.js +0 -375
- package/dist/index-Bgv4ZmBl.d.ts +0 -72
- package/dist/index-DN7MXPHM.d.ts +0 -398
- package/dist/index-Dg3ZmwEg.d.ts +0 -75
- package/dist/index-IbUN4M8V.d.ts +0 -40
- package/dist/index-jdjcb3Js.d.ts +0 -80
- package/dist/locale-Cpk_nrLA.js +0 -18
- package/dist/syntaxTheme-Bcs1YMF7.d.ts +0 -38
- package/dist/types-DDAAT1Xd.d.ts +0 -285
- package/dist/useGridRovingFocus-DQQAOYH5.js +0 -99
- package/dist/useHotkeys-dABSK1o9.js +0 -80
- package/dist/useLongPress-Cyxwa73s.js +0 -60
- package/dist/{index-BUXNRekN.d.ts → index-IdK2g5B4.d.ts} +2 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryx-vue/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.4",
|
|
5
5
|
"description": "Vue components for the unofficial astryx-vue community project.",
|
|
6
6
|
"author": "ShenQingchuan",
|
|
7
7
|
"license": "MIT",
|
|
@@ -92,6 +92,10 @@
|
|
|
92
92
|
"types": "./dist/Icon/plugin.d.ts",
|
|
93
93
|
"import": "./dist/Icon/plugin.js"
|
|
94
94
|
},
|
|
95
|
+
"./Indicator": {
|
|
96
|
+
"types": "./dist/Indicator/index.d.ts",
|
|
97
|
+
"import": "./dist/Indicator/index.js"
|
|
98
|
+
},
|
|
95
99
|
"./Layout": {
|
|
96
100
|
"types": "./dist/Layout/index.d.ts",
|
|
97
101
|
"import": "./dist/Layout/index.js"
|
|
@@ -408,6 +412,7 @@
|
|
|
408
412
|
"types": "./dist/locale/index.d.ts",
|
|
409
413
|
"import": "./dist/locale/index.js"
|
|
410
414
|
},
|
|
415
|
+
"./locales/*.json": "./locales/*.json",
|
|
411
416
|
"./package.json": "./package.json",
|
|
412
417
|
"./reset.css": {
|
|
413
418
|
"types": "./css.d.ts",
|
|
@@ -452,6 +457,7 @@
|
|
|
452
457
|
"THIRD_PARTY_NOTICES.md",
|
|
453
458
|
"css.d.ts",
|
|
454
459
|
"dist",
|
|
460
|
+
"locales",
|
|
455
461
|
"reset.css",
|
|
456
462
|
"styles",
|
|
457
463
|
"styles.css"
|
package/styles/bottom-sheet.css
CHANGED
|
@@ -62,6 +62,33 @@
|
|
|
62
62
|
pointer-events: none;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
+
.astryx-bottom-sheet__positioner--active {
|
|
66
|
+
z-index: 2;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.astryx-bottom-sheet__positioner--retained {
|
|
70
|
+
z-index: 1;
|
|
71
|
+
pointer-events: none;
|
|
72
|
+
animation: astryx-sheet-handoff 400ms var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1)) forwards;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@keyframes astryx-sheet-handoff {
|
|
76
|
+
0% {
|
|
77
|
+
transform: translateY(0);
|
|
78
|
+
opacity: 1;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
55% {
|
|
82
|
+
transform: translateY(var(--_sheet-align, 0px));
|
|
83
|
+
opacity: 1;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
100% {
|
|
87
|
+
transform: translateY(var(--_sheet-align, 0px));
|
|
88
|
+
opacity: 0;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
65
92
|
.astryx-bottom-sheet__positioner {
|
|
66
93
|
position: absolute;
|
|
67
94
|
inset-inline: 0;
|
package/styles/calendar.css
CHANGED
|
@@ -79,6 +79,7 @@
|
|
|
79
79
|
color: var(--astryx-color-text-secondary, #525252);
|
|
80
80
|
font-size: var(--astryx-text-supporting-size, 0.75rem);
|
|
81
81
|
font-weight: 400;
|
|
82
|
+
text-align: center;
|
|
82
83
|
}
|
|
83
84
|
|
|
84
85
|
.astryx-calendar-grid {
|
|
@@ -114,15 +115,49 @@
|
|
|
114
115
|
box-shadow: inset 0 0 0 1px var(--astryx-color-border-emphasized, #d4d4d4);
|
|
115
116
|
}
|
|
116
117
|
|
|
117
|
-
.astryx-calendar
|
|
118
|
+
.astryx-calendar-months {
|
|
118
119
|
display: flex;
|
|
120
|
+
flex-wrap: wrap;
|
|
119
121
|
gap: var(--astryx-spacing-4, 16px);
|
|
120
122
|
}
|
|
121
123
|
|
|
122
|
-
.astryx-calendar[data-
|
|
124
|
+
.astryx-calendar-grid[data-week-numbers] .astryx-calendar-weekdays,
|
|
125
|
+
.astryx-calendar-grid[data-week-numbers] .astryx-calendar-row {
|
|
126
|
+
grid-template-columns: var(--astryx-spacing-6, 24px) repeat(7, var(--astryx-input-height-md, 32px));
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.astryx-calendar-week-number {
|
|
123
130
|
display: flex;
|
|
124
131
|
align-items: center;
|
|
125
|
-
justify-content:
|
|
132
|
+
justify-content: center;
|
|
133
|
+
color: var(--astryx-color-text-secondary, #525252);
|
|
134
|
+
font-size: var(--astryx-text-supporting-size, 0.75rem);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.astryx-calendar-gridcell {
|
|
138
|
+
display: flex;
|
|
139
|
+
align-items: center;
|
|
140
|
+
justify-content: center;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.astryx-calendar-cell.is-in-range.is-round-start {
|
|
144
|
+
border-start-start-radius: var(--astryx-radius-full, 9999px);
|
|
145
|
+
border-end-start-radius: var(--astryx-radius-full, 9999px);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.astryx-calendar-cell.is-in-range.is-round-end {
|
|
149
|
+
border-start-end-radius: var(--astryx-radius-full, 9999px);
|
|
150
|
+
border-end-end-radius: var(--astryx-radius-full, 9999px);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.astryx-calendar-cell:focus-visible {
|
|
154
|
+
outline: var(--astryx-focus-outline-width, 2px) var(--astryx-focus-outline-style, solid) var(--astryx-focus-outline-color, currentColor);
|
|
155
|
+
outline-offset: 1px;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.astryx-calendar-nav-button:focus-visible {
|
|
159
|
+
outline: var(--astryx-focus-outline-width, 2px) var(--astryx-focus-outline-style, solid) var(--astryx-focus-outline-color, currentColor);
|
|
160
|
+
outline-offset: 1px;
|
|
126
161
|
}
|
|
127
162
|
|
|
128
163
|
.astryx-calendar-cell.is-in-range {
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.components {
|
|
4
|
+
.astryx-check-indicator {
|
|
5
|
+
display: inline-flex;
|
|
6
|
+
flex: none;
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
width: 1rem;
|
|
10
|
+
height: 1rem;
|
|
11
|
+
color: var(--astryx-icon-accent-foreground, var(--astryx-color-accent, #262626));
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.astryx-check-indicator[data-disabled='true'] {
|
|
15
|
+
color: var(--astryx-icon-disabled-foreground, var(--astryx-color-icon-disabled, #a3a3a3));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -9,11 +9,15 @@
|
|
|
9
9
|
justify-content: center;
|
|
10
10
|
width: 24px;
|
|
11
11
|
height: 24px;
|
|
12
|
-
border:
|
|
13
|
-
border-
|
|
14
|
-
color: var(--astryx-checkbox-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
border-style: solid;
|
|
13
|
+
border-width: var(--astryx-border-width, 1px);
|
|
14
|
+
border-color: var(--astryx-checkbox-border, var(--astryx-color-border-emphasized, #d4d4d4));
|
|
15
|
+
border-radius: var(--astryx-radius-inner, 0.375rem);
|
|
16
|
+
color: var(--astryx-checkbox-accent, var(--astryx-color-accent, #262626));
|
|
17
|
+
background: var(--astryx-checkbox-background, var(--astryx-color-background-surface, #fff));
|
|
18
|
+
transition-property: background-color, border-color;
|
|
19
|
+
transition-duration: var(--astryx-duration-fast, 125ms);
|
|
20
|
+
transition-timing-function: var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
17
21
|
}
|
|
18
22
|
|
|
19
23
|
.astryx-checkbox-indicator[data-size='sm'] {
|
|
@@ -22,17 +26,18 @@
|
|
|
22
26
|
}
|
|
23
27
|
|
|
24
28
|
.astryx-checkbox-indicator:not([data-state='unchecked']) {
|
|
25
|
-
color: var(--astryx-checkbox-on-accent, #fff);
|
|
26
|
-
background: var(--astryx-checkbox-accent, #262626);
|
|
27
|
-
border-color: var(--astryx-checkbox-accent, #262626);
|
|
29
|
+
color: var(--astryx-checkbox-on-accent, var(--astryx-color-on-accent, #fff));
|
|
30
|
+
background: var(--astryx-checkbox-accent, var(--astryx-color-accent, #262626));
|
|
31
|
+
border-color: var(--astryx-checkbox-accent, var(--astryx-color-accent, #262626));
|
|
28
32
|
}
|
|
29
33
|
|
|
30
34
|
.astryx-checkbox-indicator[data-disabled='true'] {
|
|
31
35
|
opacity: 0.5;
|
|
36
|
+
border-color: var(--astryx-color-border, var(--astryx-checkbox-border, #d4d4d4));
|
|
32
37
|
}
|
|
33
38
|
|
|
34
39
|
.astryx-checkbox-indicator[data-disabled='true'][data-state='unchecked'] {
|
|
35
|
-
background: var(--astryx-checkbox-disabled-background, #f5f5f5);
|
|
40
|
+
background: var(--astryx-checkbox-disabled-background, var(--astryx-color-background-muted, #f5f5f5));
|
|
36
41
|
}
|
|
37
42
|
|
|
38
43
|
.astryx-checkbox-indicator-check {
|
|
@@ -45,7 +50,7 @@
|
|
|
45
50
|
display: none;
|
|
46
51
|
width: 12px;
|
|
47
52
|
height: 2px;
|
|
48
|
-
border-radius: 9999px;
|
|
53
|
+
border-radius: var(--astryx-radius-full, 9999px);
|
|
49
54
|
background: currentcolor;
|
|
50
55
|
}
|
|
51
56
|
|
|
@@ -63,6 +68,18 @@
|
|
|
63
68
|
display: block;
|
|
64
69
|
}
|
|
65
70
|
|
|
71
|
+
@media (hover: hover) {
|
|
72
|
+
.astryx-indicator-scope:hover .astryx-checkbox-indicator[data-state='unchecked']:not([data-disabled='true']) {
|
|
73
|
+
border-color: color-mix(in srgb, var(--astryx-checkbox-border, var(--astryx-color-border-emphasized, #d4d4d4)), var(--astryx-color-tint-hover, black) 20%);
|
|
74
|
+
background-color: color-mix(in srgb, var(--astryx-checkbox-background, var(--astryx-color-background-surface, #fff)), var(--astryx-color-tint-hover, black) 5%);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.astryx-indicator-scope:hover .astryx-checkbox-indicator:not([data-state='unchecked']):not([data-disabled='true']) {
|
|
78
|
+
border-color: color-mix(in srgb, var(--astryx-checkbox-accent, var(--astryx-color-accent, #262626)), var(--astryx-color-tint-hover, black) 15%);
|
|
79
|
+
background-color: color-mix(in srgb, var(--astryx-checkbox-accent, var(--astryx-color-accent, #262626)), var(--astryx-color-tint-hover, black) 15%);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
66
83
|
@media (prefers-reduced-motion: reduce) {
|
|
67
84
|
.astryx-checkbox-indicator { transition: none; }
|
|
68
85
|
}
|
|
@@ -74,10 +91,12 @@
|
|
|
74
91
|
border-color: CanvasText;
|
|
75
92
|
background: Canvas;
|
|
76
93
|
}
|
|
94
|
+
|
|
77
95
|
.astryx-checkbox-indicator-dash {
|
|
78
96
|
forced-color-adjust: none;
|
|
79
97
|
background: CanvasText;
|
|
80
98
|
}
|
|
99
|
+
|
|
81
100
|
.astryx-checkbox-indicator[data-disabled='true'] {
|
|
82
101
|
color: GrayText;
|
|
83
102
|
border-color: GrayText;
|
|
@@ -45,17 +45,6 @@
|
|
|
45
45
|
.astryx-checkbox-input[data-blocked='true'] .astryx-checkbox-native,
|
|
46
46
|
.astryx-checkbox-input[data-blocked='true'] .astryx-field-label { cursor: default; }
|
|
47
47
|
|
|
48
|
-
@media (hover: hover) {
|
|
49
|
-
.astryx-checkbox-input:not([data-blocked='true']) .astryx-checkbox-row:hover .astryx-checkbox-indicator {
|
|
50
|
-
background: color-mix(in srgb, var(--astryx-checkbox-background, #fff), var(--astryx-checkbox-accent, #262626) 5%);
|
|
51
|
-
border-color: color-mix(in srgb, var(--astryx-checkbox-border, #d4d4d4), var(--astryx-checkbox-accent, #262626) 20%);
|
|
52
|
-
}
|
|
53
|
-
.astryx-checkbox-input:not([data-blocked='true']) .astryx-checkbox-row:hover .astryx-checkbox-indicator:not([data-state='unchecked']) {
|
|
54
|
-
background: color-mix(in srgb, var(--astryx-checkbox-accent, #262626), var(--astryx-checkbox-on-accent, #fff) 15%);
|
|
55
|
-
border-color: transparent;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
48
|
.astryx-checkbox-spinner {
|
|
60
49
|
box-sizing: border-box;
|
|
61
50
|
width: 12px;
|
package/styles/code.css
CHANGED
|
@@ -267,6 +267,68 @@
|
|
|
267
267
|
background-color: var(--astryx-code-block-highlight-background, #0074e233);
|
|
268
268
|
}
|
|
269
269
|
|
|
270
|
+
/*
|
|
271
|
+
* Diff layer. The glyph column is a fixed track so every code column starts
|
|
272
|
+
* at the same offset. Row tints use the syntax slots, and a highlight
|
|
273
|
+
* replaces the tint instead of stacking on it.
|
|
274
|
+
*/
|
|
275
|
+
.astryx-code-block__line--diff {
|
|
276
|
+
display: grid;
|
|
277
|
+
grid-template-columns: 1ch 1fr;
|
|
278
|
+
column-gap: var(--astryx-spacing-2, 8px);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.astryx-code-block__line--diff.astryx-code-block__line--numbered {
|
|
282
|
+
grid-template-columns: var(--astryx-code-block-gutter-width, 2ch) auto 1fr;
|
|
283
|
+
column-gap: 0;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.astryx-code-block__line[data-diff='added'],
|
|
287
|
+
.astryx-code-block__line[data-diff='removed'],
|
|
288
|
+
.astryx-code-block__line[data-diff='header'] {
|
|
289
|
+
margin-inline: calc(-1 * var(--astryx-spacing-4, 16px));
|
|
290
|
+
padding-inline: var(--astryx-spacing-4, 16px);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.astryx-code-block__line[data-diff='added'] {
|
|
294
|
+
background-color: var(--astryx-code-syntax-added, color-mix(in srgb, var(--astryx-color-success-muted, #bbf7d0) 25%, transparent));
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.astryx-code-block__line[data-diff='removed'] {
|
|
298
|
+
background-color: var(--astryx-code-syntax-removed, color-mix(in srgb, var(--astryx-color-error-muted, #fecaca) 25%, transparent));
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.astryx-code-block__line[data-diff='header'] {
|
|
302
|
+
background-color: var(--astryx-code-syntax-diff-header, var(--astryx-color-background-muted, #f5f5f5));
|
|
303
|
+
color: var(--astryx-code-syntax-punctuation, #6a6a6a);
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.astryx-code-block__line[data-diff='added']::before,
|
|
307
|
+
.astryx-code-block__line[data-diff='added'] > .astryx-code-block__diff-marker {
|
|
308
|
+
color: var(--astryx-code-syntax-added-marker, var(--astryx-color-text-green, #0b5615));
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.astryx-code-block__line[data-diff='removed']::before,
|
|
312
|
+
.astryx-code-block__line[data-diff='removed'] > .astryx-code-block__diff-marker {
|
|
313
|
+
color: var(--astryx-code-syntax-removed-marker, var(--astryx-color-text-red, #8a0011));
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.astryx-code-block__line[data-diff].astryx-code-block__line--highlighted {
|
|
317
|
+
background-color: var(--astryx-code-block-highlight-background, #0074e233);
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.astryx-code-block__diff-marker {
|
|
321
|
+
color: var(--astryx-code-syntax-punctuation, #6a6a6a);
|
|
322
|
+
font-family: var(--astryx-font-family-code, monospace);
|
|
323
|
+
white-space: pre;
|
|
324
|
+
user-select: none;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.astryx-code-block__line--numbered.astryx-code-block__line--diff > .astryx-code-block__diff-marker {
|
|
328
|
+
margin-inline-start: calc(var(--astryx-spacing-3, 12px) + var(--astryx-border-width, 1px) + var(--astryx-spacing-4, 16px));
|
|
329
|
+
margin-inline-end: var(--astryx-spacing-2, 8px);
|
|
330
|
+
}
|
|
331
|
+
|
|
270
332
|
/* Tints the resting glyph to the muted header color; Button owns the surface. */
|
|
271
333
|
.astryx-code-block .astryx-code-block-copy-button {
|
|
272
334
|
--astryx-button-ghost-foreground: var(--astryx-code-syntax-comment, #525252);
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.components {
|
|
4
|
+
.astryx-reveal {
|
|
5
|
+
--_hover-delay: 0s;
|
|
6
|
+
--_reveal-opacity: 0;
|
|
7
|
+
--_reveal-position: absolute;
|
|
8
|
+
--_conceal-opacity: 1;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@media (hover: hover) {
|
|
12
|
+
.astryx-reveal:hover {
|
|
13
|
+
--_reveal-opacity: 1;
|
|
14
|
+
--_reveal-position: static;
|
|
15
|
+
--_conceal-opacity: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.astryx-reveal--inactive:hover {
|
|
19
|
+
--_reveal-opacity: 0;
|
|
20
|
+
--_reveal-position: absolute;
|
|
21
|
+
--_conceal-opacity: 1;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.astryx-reveal:focus-within,
|
|
26
|
+
.astryx-reveal--active {
|
|
27
|
+
--_reveal-opacity: 1;
|
|
28
|
+
--_reveal-position: static;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@media (any-pointer: coarse) {
|
|
32
|
+
.astryx-reveal {
|
|
33
|
+
--_reveal-opacity: 1;
|
|
34
|
+
--_reveal-position: static;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.astryx-reveal__content,
|
|
39
|
+
.astryx-reveal__content--preserve,
|
|
40
|
+
.astryx-reveal__conceal,
|
|
41
|
+
.astryx-reveal__conceal--preserve {
|
|
42
|
+
transition-property: opacity, position;
|
|
43
|
+
transition-duration: var(--astryx-duration-fast-max, 165ms);
|
|
44
|
+
transition-timing-function: var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
45
|
+
transition-delay: var(--_reveal-delay, 0s);
|
|
46
|
+
transition-behavior: allow-discrete;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@media (hover: hover) {
|
|
50
|
+
.astryx-reveal:hover {
|
|
51
|
+
--_reveal-delay: var(--_hover-delay);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.astryx-reveal:focus-within .astryx-reveal__content,
|
|
56
|
+
.astryx-reveal:focus-within .astryx-reveal__content--preserve,
|
|
57
|
+
.astryx-reveal--active .astryx-reveal__content,
|
|
58
|
+
.astryx-reveal--active .astryx-reveal__content--preserve {
|
|
59
|
+
transition-delay: 0s;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.astryx-reveal__content,
|
|
63
|
+
.astryx-reveal__content--preserve {
|
|
64
|
+
opacity: var(--_reveal-opacity, 1);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.astryx-reveal__content {
|
|
68
|
+
position: var(--_reveal-position, static);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.astryx-reveal__conceal,
|
|
72
|
+
.astryx-reveal__conceal--preserve {
|
|
73
|
+
opacity: var(--_conceal-opacity, 1);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.astryx-reveal__shown {
|
|
77
|
+
position: static;
|
|
78
|
+
opacity: 1;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.astryx-reveal__hidden {
|
|
82
|
+
position: absolute;
|
|
83
|
+
opacity: 0;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.astryx-reveal__hidden--preserve {
|
|
87
|
+
opacity: 0;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.astryx-reveal:focus-within .astryx-reveal__hidden,
|
|
91
|
+
.astryx-reveal:focus-within .astryx-reveal__hidden--preserve {
|
|
92
|
+
position: static;
|
|
93
|
+
opacity: 1;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@media (prefers-reduced-motion: reduce) {
|
|
97
|
+
.astryx-reveal__content,
|
|
98
|
+
.astryx-reveal__content--preserve,
|
|
99
|
+
.astryx-reveal__conceal,
|
|
100
|
+
.astryx-reveal__conceal--preserve {
|
|
101
|
+
transition-duration: 0.01s;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
package/styles/date-input.css
CHANGED
|
@@ -118,6 +118,54 @@
|
|
|
118
118
|
color: var(--astryx-color-text-secondary, #525252);
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
+
.astryx-date-input-native {
|
|
122
|
+
position: relative;
|
|
123
|
+
display: flex;
|
|
124
|
+
flex: 1;
|
|
125
|
+
align-items: center;
|
|
126
|
+
min-width: 0;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.astryx-date-input-native .astryx-date-input-field {
|
|
130
|
+
color: transparent;
|
|
131
|
+
caret-color: transparent;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.astryx-date-input-native .astryx-date-input-field::-webkit-calendar-picker-indicator {
|
|
135
|
+
opacity: 0;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.astryx-date-input-overlay {
|
|
139
|
+
position: absolute;
|
|
140
|
+
inset: 0;
|
|
141
|
+
display: flex;
|
|
142
|
+
align-items: center;
|
|
143
|
+
overflow: hidden;
|
|
144
|
+
color: var(--astryx-color-text-primary, light-dark(#171717, #fafafa));
|
|
145
|
+
white-space: nowrap;
|
|
146
|
+
pointer-events: none;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.astryx-date-input-overlay[data-placeholder] {
|
|
150
|
+
color: var(--astryx-color-text-secondary, #525252);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.astryx-date-input-alert {
|
|
154
|
+
position: absolute;
|
|
155
|
+
width: 1px;
|
|
156
|
+
height: 1px;
|
|
157
|
+
margin: -1px;
|
|
158
|
+
padding: 0;
|
|
159
|
+
overflow: hidden;
|
|
160
|
+
clip: rect(0, 0, 0, 0);
|
|
161
|
+
white-space: nowrap;
|
|
162
|
+
border: 0;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.astryx-date-input-spinner {
|
|
166
|
+
flex: none;
|
|
167
|
+
}
|
|
168
|
+
|
|
121
169
|
@media (prefers-reduced-motion: reduce) {
|
|
122
170
|
.astryx-date-input-wrapper {
|
|
123
171
|
transition: none;
|
package/styles/dropdown-menu.css
CHANGED
|
@@ -194,6 +194,165 @@
|
|
|
194
194
|
margin-block: var(--astryx-spacing-1, 4px);
|
|
195
195
|
}
|
|
196
196
|
|
|
197
|
+
/*
|
|
198
|
+
* Header and footer sit beside the menu, in the same panel. The frame keeps
|
|
199
|
+
* the height cap; the menu between them scrolls.
|
|
200
|
+
*/
|
|
201
|
+
.astryx-dropdown-menu-popover {
|
|
202
|
+
box-sizing: border-box;
|
|
203
|
+
position: fixed;
|
|
204
|
+
z-index: var(--astryx-dropdown-menu-z-index, 1000);
|
|
205
|
+
display: flex;
|
|
206
|
+
flex-direction: column;
|
|
207
|
+
--_dropdown-menu-radius: var(--astryx-dropdown-menu-radius, var(--astryx-radius-container, 0.75rem));
|
|
208
|
+
--_dropdown-menu-padding: var(--astryx-dropdown-menu-padding, var(--astryx-spacing-1, 4px));
|
|
209
|
+
max-block-size: var(--_dropdown-menu-max-block, min(300px, calc(100dvh - 16px)));
|
|
210
|
+
overflow: hidden;
|
|
211
|
+
border-radius: var(--_dropdown-menu-radius);
|
|
212
|
+
background: var(--astryx-dropdown-menu-background, #fff);
|
|
213
|
+
box-shadow: var(
|
|
214
|
+
--astryx-dropdown-menu-shadow,
|
|
215
|
+
0 2px 4px light-dark(oklch(0 0 0 / 5%), oklch(0 0 0 / 25%)),
|
|
216
|
+
0 4px 8px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 40%)),
|
|
217
|
+
inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 8%))
|
|
218
|
+
);
|
|
219
|
+
color: var(--astryx-dropdown-menu-foreground, var(--astryx-color-text-primary, light-dark(#171717, #fafafa)));
|
|
220
|
+
font-family: var(--astryx-font-family-body, Figtree, sans-serif);
|
|
221
|
+
font-size: var(--astryx-text-body-size, 0.875rem);
|
|
222
|
+
line-height: var(--astryx-text-body-leading, 1.4286);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.astryx-dropdown-menu.is-in-frame {
|
|
226
|
+
position: static;
|
|
227
|
+
z-index: auto;
|
|
228
|
+
flex: 1 1 auto;
|
|
229
|
+
min-block-size: 0;
|
|
230
|
+
max-block-size: none;
|
|
231
|
+
background: transparent;
|
|
232
|
+
box-shadow: none;
|
|
233
|
+
border-radius: 0;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.astryx-dropdown-menu[data-region-focus='true'] {
|
|
237
|
+
outline: var(--astryx-focus-outline-width, 2px) var(--astryx-focus-outline-style, solid) var(--astryx-focus-outline-color, currentcolor);
|
|
238
|
+
outline-offset: calc(-1 * var(--astryx-focus-outline-offset, 3px));
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.astryx-dropdown-menu-region {
|
|
242
|
+
flex: none;
|
|
243
|
+
padding: var(--astryx-spacing-1, 4px);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/* Wrappers add no box, so the menu's own gap still runs between rows. */
|
|
247
|
+
.astryx-dropdown-menu-tree {
|
|
248
|
+
display: contents;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.astryx-dropdown-menu-tree[hidden] {
|
|
252
|
+
display: none;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.astryx-dropdown-menu-radio-group {
|
|
256
|
+
display: flex;
|
|
257
|
+
flex-direction: column;
|
|
258
|
+
gap: var(--astryx-spacing-0-5, 2px);
|
|
259
|
+
min-width: 0;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.astryx-dropdown-submenu {
|
|
263
|
+
min-width: min(160px, calc(100vw - 16px));
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.astryx-dropdown-menu-drill {
|
|
267
|
+
display: flex;
|
|
268
|
+
flex-direction: column;
|
|
269
|
+
gap: var(--astryx-spacing-0-5, 2px);
|
|
270
|
+
min-width: 0;
|
|
271
|
+
outline: none;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.astryx-dropdown-menu-drill[hidden] {
|
|
275
|
+
display: none;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/*
|
|
279
|
+
* The selection mark is decorative. On a coarse pointer it moves to the
|
|
280
|
+
* inline end, where a touch toggle is usually drawn.
|
|
281
|
+
*/
|
|
282
|
+
.astryx-dropdown-menu-mark {
|
|
283
|
+
display: inline-flex;
|
|
284
|
+
flex: none;
|
|
285
|
+
pointer-events: none;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.astryx-dropdown-menu-radio {
|
|
289
|
+
box-sizing: border-box;
|
|
290
|
+
display: inline-flex;
|
|
291
|
+
flex: none;
|
|
292
|
+
align-items: center;
|
|
293
|
+
justify-content: center;
|
|
294
|
+
width: 24px;
|
|
295
|
+
height: 24px;
|
|
296
|
+
border: 1px solid var(--astryx-input-border, #d4d4d4);
|
|
297
|
+
border-radius: var(--astryx-radio-radius, 999px);
|
|
298
|
+
background: var(--astryx-input-background, #fff);
|
|
299
|
+
transition:
|
|
300
|
+
border-color var(--astryx-duration-fast, 125ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1)),
|
|
301
|
+
background-color var(--astryx-duration-fast, 125ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.astryx-dropdown-menu-radio[data-size='sm'] {
|
|
305
|
+
width: 20px;
|
|
306
|
+
height: 20px;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.astryx-dropdown-menu-radio[data-checked='checked'] {
|
|
310
|
+
border-color: var(--astryx-input-focus, #262626);
|
|
311
|
+
background: var(--astryx-input-focus, #262626);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.astryx-dropdown-menu-radio-dot {
|
|
315
|
+
width: 8px;
|
|
316
|
+
height: 8px;
|
|
317
|
+
border-radius: 999px;
|
|
318
|
+
background: transparent;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.astryx-dropdown-menu-radio[data-size='sm'] .astryx-dropdown-menu-radio-dot {
|
|
322
|
+
width: 6px;
|
|
323
|
+
height: 6px;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.astryx-dropdown-menu-radio[data-checked='checked'] .astryx-dropdown-menu-radio-dot {
|
|
327
|
+
background: var(--astryx-input-background, #fff);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.astryx-dropdown-menu-radio[data-disabled='true'] {
|
|
331
|
+
opacity: 0.5;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
@media (pointer: coarse) {
|
|
335
|
+
.astryx-dropdown-menu-mark {
|
|
336
|
+
order: 1;
|
|
337
|
+
margin-inline-start: auto;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
@media (forced-colors: active) {
|
|
342
|
+
.astryx-dropdown-menu-radio {
|
|
343
|
+
border-color: ButtonText;
|
|
344
|
+
background: Canvas;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.astryx-dropdown-menu-radio[data-checked='checked'] {
|
|
348
|
+
background: Highlight;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.astryx-dropdown-menu-radio[data-checked='checked'] .astryx-dropdown-menu-radio-dot {
|
|
352
|
+
background: Canvas;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
|
|
197
356
|
@media (prefers-reduced-motion: reduce) {
|
|
198
357
|
.astryx-dropdown-menu-enter-active,
|
|
199
358
|
.astryx-dropdown-menu-leave-active {
|
|
@@ -207,5 +366,9 @@
|
|
|
207
366
|
opacity: 1;
|
|
208
367
|
transform: none;
|
|
209
368
|
}
|
|
369
|
+
|
|
370
|
+
.astryx-dropdown-menu-radio {
|
|
371
|
+
transition: none;
|
|
372
|
+
}
|
|
210
373
|
}
|
|
211
374
|
}
|