@astryx-vue/core 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-BylcA4vV.js → AlertDialog-ovx4cBjM.js} +1 -1
- package/dist/AppShell/index.d.ts +2 -0
- package/dist/AppShell/index.js +2 -0
- package/dist/AppShell-EiGyPFbA.js +249 -0
- package/dist/AspectRatio/index.d.ts +2 -0
- package/dist/AspectRatio/index.js +2 -0
- package/dist/AspectRatio-Bij7e-tq.js +40 -0
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-BEyrkUtr.js → Calendar-BG7wEsro.js} +1 -1
- package/dist/Carousel/index.d.ts +2 -0
- package/dist/Carousel/index.js +2 -0
- package/dist/Carousel-BTtHkKea.js +363 -0
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-CO3mCs9A.js → Chat-DjNxw5gv.js} +2 -2
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-C86o3XoG.js → CheckboxInput-CMsEE1_4.js} +4 -2
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-BL2sDOWK.js → CheckboxList-EsIEXjK_.js} +2 -2
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-BqwJvw7o.js → Citation-DijdbUUu.js} +2 -2
- package/dist/ClickableCard/index.d.ts +2 -0
- package/dist/ClickableCard/index.js +2 -0
- package/dist/ClickableCard-Bhds4RRe.js +112 -0
- package/dist/Code/index.d.ts +3 -2
- package/dist/Code/index.js +4 -2
- package/dist/Code-yb_KOFtJ.js +299 -0
- package/dist/{CodeBlock-BQdooQy2.js → CodeBlock-CxTb6j9_.js} +8 -2
- package/dist/Collapsible/index.d.ts +2 -2
- package/dist/Collapsible/index.js +2 -2
- package/dist/Collapsible-9MC08X39.js +192 -0
- package/dist/CommandPalette/index.d.ts +2 -0
- package/dist/CommandPalette/index.js +2 -0
- package/dist/CommandPalette-BD2iODF5.js +489 -0
- package/dist/ComplexSelector/index.d.ts +2 -0
- package/dist/ComplexSelector/index.js +2 -0
- package/dist/ComplexSelector-D9iXd5cH.js +293 -0
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +1 -1
- package/dist/{ContextMenu-dA-ppaRQ.js → ContextMenu-HS_WqYIg.js} +1 -1
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-BOIb0zAp.js → DateInput-DE2TN1Rq.js} +2 -2
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-DLcbgUBi.js → DateRangeInput-1bhPGG2s.js} +4 -4
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-RitYX_Yx.js → DateTimeInput-SnPdgk6P.js} +4 -4
- package/dist/Divider/index.d.ts +1 -1
- package/dist/DropdownMenu/index.js +1 -1
- package/dist/{DropdownMenu-B0gogrvG.js → DropdownMenu-UJGych6v.js} +1 -1
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-Bhlqgsg4.js → EmptyState-CUJdTYKV.js} +1 -1
- package/dist/Field/index.js +2 -2
- package/dist/{Field-VlTBsIEo.js → Field-8zRxzDHE.js} +11 -3
- package/dist/{FieldLabel-B1NRyQlS.js → FieldLabel-DmmJyX7w.js} +6 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-CYvEV503.js → FileInput-BQiwE-GB.js} +3 -3
- package/dist/FormLayout/index.d.ts +2 -0
- package/dist/FormLayout/index.js +2 -0
- package/dist/FormLayout-D47FjiOq.js +40 -0
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/Icon/index.d.ts +3 -0
- package/dist/Icon/index.js +2 -0
- package/dist/{Icon-5MdZQ18k.js → Icon-Dfr4k6-S.js} +1 -1
- package/dist/Layout/index.d.ts +2 -0
- package/dist/Layout/index.js +3 -0
- package/dist/Layout-Bed3kP0M.js +56 -0
- package/dist/LayoutPanel-C34uOq3e.js +358 -0
- package/dist/Lightbox/index.d.ts +2 -0
- package/dist/Lightbox/index.js +2 -0
- package/dist/Lightbox-CshKoB0r.js +384 -0
- package/dist/Link/index.d.ts +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-Dnlp8cVx.js → Markdown-D-Ua055V.js} +2 -2
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-DIsqS1Qb.js → MetadataList-sYph_d8Q.js} +1 -1
- package/dist/MobileNav/index.d.ts +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-aUZiDwHm.js → MobileNavToggle-DD9D01aj.js} +19 -12
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-BXL6Dqsu.js → MoreMenu-BVrK5kkk.js} +1 -1
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-Bh8or2S6.js → MultiSelector-DiYov9sF.js} +3 -3
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.d.ts +1 -1
- package/dist/NavMenu/index.js +1 -1
- package/dist/{NavMenuItem-mzNQESpB.js → NavMenuItem-B-k7olt5.js} +2 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-C3S-4dIu.js → NumberInput-CTYiQxHq.js} +1 -1
- package/dist/Outline/index.d.ts +2 -0
- package/dist/Outline/index.js +2 -0
- package/dist/Outline-DQfEBxlc.js +325 -0
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-Kr4iJrNV.js → OverflowList-BU5VCntl.js} +2 -2
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-BRStpeSB.js → Pagination-HdhtykeF.js} +2 -2
- package/dist/Popover/index.d.ts +2 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-DS6oTV_j.js → RadioGroup-BqjdSCfJ.js} +1 -1
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-pwr93I-z.js → RadioList-DI8ujXcT.js} +1 -1
- package/dist/Resizable/index.d.ts +2 -0
- package/dist/Resizable/index.js +2 -0
- package/dist/Resizable-BhSMfO5B.js +261 -0
- package/dist/ScrollableArea/index.d.ts +2 -0
- package/dist/ScrollableArea/index.js +2 -0
- package/dist/ScrollableArea-DQDYjnxO.js +78 -0
- package/dist/Section/index.d.ts +2 -0
- package/dist/Section/index.js +2 -0
- package/dist/Section-C48Wqfc7.js +68 -0
- package/dist/SelectableCard/index.d.ts +2 -0
- package/dist/SelectableCard/index.js +2 -0
- package/dist/SelectableCard-Bj5s_tIN.js +108 -0
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-DvEUIVEC.js → Selector-Da-2BO3q.js} +1 -1
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -1
- package/dist/{SideNav-B7LX4RcP.js → SideNav-B-Om6Bz3.js} +49 -27
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-DTnWxtnb.js → Slider-D8h_RKcF.js} +1 -1
- package/dist/Stepper/index.d.ts +2 -0
- package/dist/Stepper/index.js +2 -0
- package/dist/Stepper-BZ_8SEZt.js +423 -0
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-CNdnr5TP.js → Switch-SesQzPGZ.js} +4 -2
- package/dist/TabList/index.d.ts +2 -2
- package/dist/TabList/index.js +2 -2
- package/dist/TabList-Cnc2Hs1H.js +380 -0
- package/dist/Table/index.d.ts +2 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-D5zWaITo.js → Table-D-LhAy_J.js} +6 -6
- package/dist/Text/index.d.ts +3 -2
- package/dist/Text/index.js +1 -1
- package/dist/{Text-CKd7e3gK.js → Text-BHVghsWo.js} +12 -2
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-BL0NuB99.js → TextArea-Cv9UVbzS.js} +5 -3
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-B0IKC7g5.js → TextInput-BasnjVvy.js} +5 -3
- package/dist/Theme/index.d.ts +2 -0
- package/dist/Theme/index.js +2 -0
- package/dist/Theme-BuUiiJNr.js +429 -0
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-DMOgWncm.js → Thumbnail-Dc1UpykG.js} +2 -2
- package/dist/{TimeField-DeQ1ukHl.js → TimeField-C7t9Knq9.js} +2 -2
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-jb1nLqZk.js → TimeInput-BXxCOY98.js} +2 -2
- package/dist/Timer/index.d.ts +2 -0
- package/dist/Timer/index.js +2 -0
- package/dist/Timer-B7GV6hqd.js +134 -0
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-DrWwVQBL.js → Timestamp-DlZSmgCJ.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-CV2J94bn.js → Token-wt4e80IM.js} +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DF9r4hTW.js → Tokenizer-nmTqdS9n.js} +3 -3
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-BH_s3uap.js → TopNav-notp-mJx.js} +58 -32
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-D9cR-w7r.js → TreeList-s1xBQ0qq.js} +2 -2
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-s4DC1Qem.js → Typeahead-VAuiCurV.js} +3 -3
- package/dist/composables/index.d.ts +3 -2
- package/dist/composables/index.js +5 -2
- package/dist/composables-CVfjp9h4.js +502 -0
- package/dist/context-BjNya0v8.js +19 -0
- package/dist/context-Cfjh8te1.js +29 -0
- package/dist/{context-BshXcNYX.js → context-Dbo22sck.js} +138 -0
- package/dist/context-O2Vb8cJl.js +57 -0
- package/dist/index-1AZ4KZhg.d.ts +96 -0
- package/dist/index-1uRMrk63.d.ts +54 -0
- package/dist/{index-FEy8qFSD.d.ts → index-BHqRH7QW.d.ts} +2 -2
- package/dist/index-BMrggCw-.d.ts +52 -0
- package/dist/{index-BlWLperN.d.ts → index-BUXNRekN.d.ts} +2 -2
- package/dist/index-Bainr_3n.d.ts +31 -0
- package/dist/index-Be1czg3M.d.ts +167 -0
- package/dist/{index-Dbmgcm8a.d.ts → index-BeR-1LgF.d.ts} +2 -0
- package/dist/{index-DXDGk38y.d.ts → index-Bn_odHQ9.d.ts} +1 -1
- package/dist/index-BrJzFA5X.d.ts +38 -0
- package/dist/{index-AkMWQ97a.d.ts → index-BtPZKO20.d.ts} +3 -3
- package/dist/index-Bu0Zd1uw.d.ts +38 -0
- package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
- package/dist/index-By2mSzUA.d.ts +67 -0
- package/dist/index-C59PdX9L.d.ts +141 -0
- package/dist/{index-BkIgRYGz.d.ts → index-C5p2NeCr.d.ts} +2 -2
- package/dist/{index-CQ9F1f_F.d.ts → index-C6iJwTL0.d.ts} +324 -145
- package/dist/{index-B4OOtNP8.d.ts → index-C7mxUcDR.d.ts} +2 -2
- package/dist/{index-BSRk8MFK.d.ts → index-C8wDPDcP.d.ts} +1 -1
- package/dist/index-CDdRQQF3.d.ts +170 -0
- package/dist/index-COqjznX0.d.ts +47 -0
- package/dist/index-CRizexSC.d.ts +147 -0
- package/dist/{index-Bc0dgVM5.d.ts → index-CTolyeii.d.ts} +4 -4
- package/dist/index-CVn0GBdB.d.ts +115 -0
- package/dist/index-Cm_TiLXU.d.ts +22 -0
- package/dist/index-Cn-sSds-.d.ts +68 -0
- package/dist/index-CsVS37na.d.ts +81 -0
- package/dist/{index-5R_pi3eT.d.ts → index-D-ZuubCK.d.ts} +3 -3
- package/dist/{index-g03bmR4K.d.ts → index-D0TlUOtG.d.ts} +2 -2
- package/dist/index-DA52oIdw.d.ts +171 -0
- package/dist/{index-D3V7yRUP.d.ts → index-DOUEn7V0.d.ts} +4 -4
- package/dist/{index-CCA4R0Mf.d.ts → index-DT9S92sh.d.ts} +31 -6
- package/dist/{index-CR6sUmRT.d.ts → index-DXSs3rwa.d.ts} +3 -107
- package/dist/{index--dh0s8Li.d.ts → index-DfgHJE7H.d.ts} +1 -1
- package/dist/{index-CNcQmDrK.d.ts → index-DoFCm2Q2.d.ts} +71 -0
- package/dist/{index-mQ6EPmaG.d.ts → index-DsyKhauk.d.ts} +78 -9
- package/dist/{index-12ObcW99.d.ts → index-DtjAdYEc.d.ts} +2 -2
- package/dist/{index-Byar3h1e.d.ts → index-HV6W3xCx.d.ts} +1 -1
- package/dist/{index-CsJpQElv.d.ts → index-NzLDrOkk.d.ts} +2 -2
- package/dist/{index-BnNh5Iml.d.ts → index-SMh42NI8.d.ts} +99 -2
- package/dist/{index-Q4gqBSIZ.d.ts → index-fa72tWIU.d.ts} +1 -1
- package/dist/{index-Bqb_Fyju.d.ts → index-jdjcb3Js.d.ts} +2 -2
- package/dist/{index-BhYFxnjV.d.ts → index-kaKBOZSU.d.ts} +2 -2
- package/dist/index-nKlTsNfV.d.ts +42 -0
- package/dist/index.d.ts +84 -63
- package/dist/index.js +118 -91
- package/dist/locale/index.d.ts +1 -1
- package/dist/locale/index.js +1 -1
- package/dist/size-BuTzpgnR.d.ts +14 -0
- package/dist/size-xcIqExkS.js +79 -0
- package/dist/syntaxTheme-Bcs1YMF7.d.ts +38 -0
- package/dist/syntaxTheme-ClpWALZX.js +75 -0
- package/dist/types-Bt-lSgYX.d.ts +65 -0
- package/dist/types-DZoEm_DG.d.ts +97 -0
- package/dist/{index-Bovw9_8d.d.ts → types-Db3Owy8Q.d.ts} +1 -36
- package/dist/types-JktRxujg.d.ts +107 -0
- package/dist/useAppShellMobile-DTsyuAJ4.js +19 -0
- package/dist/useClickableContainer-DyNpnSEa.js +112 -0
- package/dist/useResizable-CeESZS1v.d.ts +72 -0
- package/dist/useScrollableArea-DDk_CluT.js +172 -0
- package/package.json +73 -1
- package/styles/app-shell.css +151 -0
- package/styles/aspect-ratio.css +49 -0
- package/styles/card.css +5 -1
- package/styles/carousel.css +120 -0
- package/styles/clickable-card.css +101 -0
- package/styles/collapsible.css +37 -0
- package/styles/command-palette.css +183 -0
- package/styles/complex-selector.css +114 -0
- package/styles/field.css +12 -0
- package/styles/form-layout.css +31 -0
- package/styles/heading.css +25 -19
- package/styles/layout.css +280 -0
- package/styles/lightbox.css +144 -0
- package/styles/media-theme.css +51 -0
- package/styles/outline.css +124 -0
- package/styles/resize-handle.css +128 -0
- package/styles/scrollable-area.css +50 -0
- package/styles/section.css +60 -0
- package/styles/side-nav.css +26 -0
- package/styles/stepper.css +357 -0
- package/styles/tab-menu.css +91 -0
- package/styles/text.css +63 -14
- package/styles/theme.css +29 -0
- package/styles/timer.css +34 -0
- package/styles.css +18 -0
- package/dist/Collapsible-BYg9soTk.js +0 -102
- package/dist/TabList-LV1U4ZD6.js +0 -184
- package/dist/composables-Dq9RS33w.js +0 -111
- package/dist/index-BzqRns96.d.ts +0 -64
- package/dist/index-TnaIHsCS.d.ts +0 -87
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as useImperativeAlertDialog } from "../AlertDialog-
|
|
1
|
+
import { n as _sfc_main, t as useImperativeAlertDialog } from "../AlertDialog-ovx4cBjM.js";
|
|
2
2
|
export { _sfc_main as AlertDialog, useImperativeAlertDialog };
|
|
@@ -3,7 +3,7 @@ import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
|
3
3
|
import { t as _sfc_main$2 } from "./Dialog-rfUt3y8P.js";
|
|
4
4
|
import { t as _sfc_main$3 } from "./Heading-Dugosn6j.js";
|
|
5
5
|
import { t as _sfc_main$4 } from "./Stack-gGcYdOAh.js";
|
|
6
|
-
import { t as _sfc_main$5 } from "./Text-
|
|
6
|
+
import { t as _sfc_main$5 } from "./Text-BHVghsWo.js";
|
|
7
7
|
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, h, mergeProps, normalizeClass, openBlock, provide, ref, renderList, renderSlot, shallowRef, toDisplayString, unref, useId, useTemplateRef, withCtx } from "vue";
|
|
8
8
|
import "../styles/alert-dialog.css";
|
|
9
9
|
//#region src/AlertDialog/context.ts
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as AppShellMobileNav, c as AppShellVariant, i as AppShellHeight, n as AppShellBreakpoint, o as AppShellProps, r as AppShellEmits, s as AppShellSlots, t as _default } from "../index-By2mSzUA.js";
|
|
2
|
+
export { _default as AppShell, type AppShellBreakpoint, type AppShellEmits, type AppShellHeight, type AppShellMobileNav, type AppShellProps, type AppShellSlots, type AppShellVariant };
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import { t as appShellMobileKey } from "./useAppShellMobile-DTsyuAJ4.js";
|
|
2
|
+
import { a as _sfc_main$2, n as _sfc_main$4, r as _sfc_main$3, t as _sfc_main$5 } from "./LayoutPanel-C34uOq3e.js";
|
|
3
|
+
import { a as useAstryxMessages } from "./context-Dbo22sck.js";
|
|
4
|
+
import { n as _sfc_main$7, t as _sfc_main$6 } from "./MobileNavToggle-DD9D01aj.js";
|
|
5
|
+
import { n as sideNavRenderModeKey } from "./context-BjNya0v8.js";
|
|
6
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeModels, mergeProps, openBlock, provide, reactive, ref, renderSlot, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
7
|
+
import "../styles/app-shell.css";
|
|
8
|
+
//#region src/SideNav/SideNavRenderMode.vue
|
|
9
|
+
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
10
|
+
name: "AstryxSideNavRenderMode",
|
|
11
|
+
__name: "SideNavRenderMode",
|
|
12
|
+
props: { mode: {} },
|
|
13
|
+
setup(__props) {
|
|
14
|
+
const props = __props;
|
|
15
|
+
provide(sideNavRenderModeKey, computed(() => props.mode));
|
|
16
|
+
return (_ctx, _cache) => {
|
|
17
|
+
return renderSlot(_ctx.$slots, "default");
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/AppShell/AppShell.vue
|
|
23
|
+
const _hoisted_1 = ["data-variant", "data-height"];
|
|
24
|
+
const _hoisted_2 = ["href"];
|
|
25
|
+
const _hoisted_3 = ["data-variant"];
|
|
26
|
+
const _hoisted_4 = {
|
|
27
|
+
key: 0,
|
|
28
|
+
class: "astryx-app-shell__banner"
|
|
29
|
+
};
|
|
30
|
+
const _hoisted_5 = ["data-variant"];
|
|
31
|
+
const _hoisted_6 = ["aria-label"];
|
|
32
|
+
const _hoisted_7 = ["data-elevated"];
|
|
33
|
+
const _hoisted_8 = {
|
|
34
|
+
key: 0,
|
|
35
|
+
class: "astryx-app-shell__backdrop"
|
|
36
|
+
};
|
|
37
|
+
const _hoisted_9 = ["id"];
|
|
38
|
+
const mainId = "astryx-app-shell-main";
|
|
39
|
+
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
40
|
+
name: "AstryxAppShell",
|
|
41
|
+
inheritAttrs: false,
|
|
42
|
+
__name: "AppShell",
|
|
43
|
+
props: /*@__PURE__*/ mergeModels({
|
|
44
|
+
variant: { default: "elevated" },
|
|
45
|
+
contentPadding: {},
|
|
46
|
+
height: { default: "fill" },
|
|
47
|
+
mobileNav: {
|
|
48
|
+
type: [Boolean, Object],
|
|
49
|
+
default: void 0
|
|
50
|
+
}
|
|
51
|
+
}, {
|
|
52
|
+
"mobileNavOpen": {
|
|
53
|
+
type: Boolean,
|
|
54
|
+
default: false
|
|
55
|
+
},
|
|
56
|
+
"mobileNavOpenModifiers": {}
|
|
57
|
+
}),
|
|
58
|
+
emits: /*@__PURE__*/ mergeModels(["mobileNavOpenChange"], ["update:mobileNavOpen"]),
|
|
59
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
60
|
+
const props = __props;
|
|
61
|
+
const emit = __emit;
|
|
62
|
+
const attrs = useAttrs();
|
|
63
|
+
const slots = useSlots();
|
|
64
|
+
const messages = useAstryxMessages();
|
|
65
|
+
const root = useTemplateRef("root");
|
|
66
|
+
const mobileNavId = `astryx-app-shell-${useId()}`;
|
|
67
|
+
const uncontrolledOpen = useModel(__props, "mobileNavOpen");
|
|
68
|
+
__expose({ element: root });
|
|
69
|
+
const BREAKPOINTS = {
|
|
70
|
+
"sm": 640,
|
|
71
|
+
"md": 768,
|
|
72
|
+
"lg": 1024,
|
|
73
|
+
"xl": 1280,
|
|
74
|
+
"2xl": 1536
|
|
75
|
+
};
|
|
76
|
+
const isBelow = ref(false);
|
|
77
|
+
const breakpoint = computed(() => (typeof props.mobileNav === "object" ? props.mobileNav.breakpoint : void 0) ?? "md");
|
|
78
|
+
const query = computed(() => {
|
|
79
|
+
if (breakpoint.value === "none") return "(width < 0px)";
|
|
80
|
+
return `(width < ${BREAKPOINTS[breakpoint.value]}px)`;
|
|
81
|
+
});
|
|
82
|
+
const open = computed({
|
|
83
|
+
get: () => typeof props.mobileNav === "object" && props.mobileNav.isOpen != null ? props.mobileNav.isOpen : uncontrolledOpen.value,
|
|
84
|
+
set: (next) => {
|
|
85
|
+
uncontrolledOpen.value = next;
|
|
86
|
+
emit("mobileNavOpenChange", next);
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
const hasTopNav = computed(() => slots.topNav != null);
|
|
90
|
+
const hasSideNav = computed(() => slots.sideNav != null);
|
|
91
|
+
const hasCustomDrawer = computed(() => slots.mobileNav != null);
|
|
92
|
+
const mobileEnabled = computed(() => props.mobileNav !== false && (hasTopNav.value || hasSideNav.value) && !hasCustomDrawer.value);
|
|
93
|
+
const hasAutoToggle = computed(() => (typeof props.mobileNav !== "object" || props.mobileNav.hasToggle !== false) && !hasCustomDrawer.value);
|
|
94
|
+
const showSideInline = computed(() => hasSideNav.value && !(isBelow.value && mobileEnabled.value));
|
|
95
|
+
const elevate = computed(() => props.variant === "elevated" && hasTopNav.value && showSideInline.value);
|
|
96
|
+
const showMobileBar = computed(() => isBelow.value && mobileEnabled.value && hasAutoToggle.value && hasSideNav.value && !hasTopNav.value);
|
|
97
|
+
watch(query, (value, _previous, onCleanup) => {
|
|
98
|
+
if (typeof window === "undefined" || typeof window.matchMedia !== "function") return;
|
|
99
|
+
const media = window.matchMedia(value);
|
|
100
|
+
const update = () => {
|
|
101
|
+
isBelow.value = media.matches;
|
|
102
|
+
};
|
|
103
|
+
update();
|
|
104
|
+
media.addEventListener("change", update);
|
|
105
|
+
onCleanup(() => media.removeEventListener("change", update));
|
|
106
|
+
}, { immediate: true });
|
|
107
|
+
const mobileState = reactive({
|
|
108
|
+
get isMobile() {
|
|
109
|
+
return isBelow.value;
|
|
110
|
+
},
|
|
111
|
+
get isMobileNavOpen() {
|
|
112
|
+
return open.value;
|
|
113
|
+
},
|
|
114
|
+
mobileNavId,
|
|
115
|
+
get isMobileNavEnabled() {
|
|
116
|
+
return mobileEnabled.value;
|
|
117
|
+
},
|
|
118
|
+
get hasAutoToggle() {
|
|
119
|
+
return hasAutoToggle.value;
|
|
120
|
+
},
|
|
121
|
+
get hasSideNav() {
|
|
122
|
+
return hasSideNav.value;
|
|
123
|
+
},
|
|
124
|
+
toggleMobileNav: () => {
|
|
125
|
+
if (mobileEnabled.value) open.value = !open.value;
|
|
126
|
+
},
|
|
127
|
+
openMobileNav: () => {
|
|
128
|
+
if (mobileEnabled.value) open.value = true;
|
|
129
|
+
},
|
|
130
|
+
closeMobileNav: () => {
|
|
131
|
+
open.value = false;
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
provide(appShellMobileKey, mobileState);
|
|
135
|
+
const forwardedAttrs = computed(() => Object.fromEntries(Object.entries(attrs).filter(([key]) => key !== "class" && key !== "style")));
|
|
136
|
+
const rootClass = computed(() => ["astryx-app-shell", attrs.class]);
|
|
137
|
+
const rootStyle = computed(() => attrs.style);
|
|
138
|
+
function focusMain() {
|
|
139
|
+
root.value?.ownerDocument.getElementById(mainId)?.focus();
|
|
140
|
+
}
|
|
141
|
+
return (_ctx, _cache) => {
|
|
142
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
143
|
+
ref_key: "root",
|
|
144
|
+
ref: root
|
|
145
|
+
}, forwardedAttrs.value, {
|
|
146
|
+
class: rootClass.value,
|
|
147
|
+
style: rootStyle.value,
|
|
148
|
+
"data-variant": __props.variant,
|
|
149
|
+
"data-height": __props.height
|
|
150
|
+
}), [
|
|
151
|
+
createElementVNode("a", {
|
|
152
|
+
class: "astryx-app-shell__skip",
|
|
153
|
+
href: `#${mainId}`,
|
|
154
|
+
onClick: focusMain
|
|
155
|
+
}, toDisplayString(unref(messages).layout.skipToContent), 9, _hoisted_2),
|
|
156
|
+
createVNode(_sfc_main$2, {
|
|
157
|
+
height: __props.height,
|
|
158
|
+
padding: 0
|
|
159
|
+
}, createSlots({
|
|
160
|
+
default: withCtx(() => [createElementVNode("div", {
|
|
161
|
+
class: "astryx-app-shell__main",
|
|
162
|
+
"data-elevated": elevate.value || void 0
|
|
163
|
+
}, [elevate.value ? (openBlock(), createElementBlock("div", _hoisted_8)) : createCommentVNode("v-if", true), createVNode(_sfc_main$3, {
|
|
164
|
+
id: mainId,
|
|
165
|
+
class: "astryx-app-shell__content",
|
|
166
|
+
role: "main",
|
|
167
|
+
tabindex: -1,
|
|
168
|
+
padding: __props.contentPadding ?? 0,
|
|
169
|
+
"is-scrollable": __props.height === "fill",
|
|
170
|
+
"data-variant": __props.variant,
|
|
171
|
+
"data-corner": elevate.value || void 0
|
|
172
|
+
}, {
|
|
173
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
174
|
+
_: 3
|
|
175
|
+
}, 8, [
|
|
176
|
+
"padding",
|
|
177
|
+
"is-scrollable",
|
|
178
|
+
"data-variant",
|
|
179
|
+
"data-corner"
|
|
180
|
+
])], 8, _hoisted_7)]),
|
|
181
|
+
_: 2
|
|
182
|
+
}, [hasTopNav.value || unref(slots).banner || showMobileBar.value ? {
|
|
183
|
+
name: "header",
|
|
184
|
+
fn: withCtx(() => [hasTopNav.value || unref(slots).banner ? (openBlock(), createElementBlock("div", {
|
|
185
|
+
key: 0,
|
|
186
|
+
class: "astryx-app-shell__header",
|
|
187
|
+
role: "banner",
|
|
188
|
+
"data-variant": __props.variant
|
|
189
|
+
}, [createVNode(_sfc_main$4, {
|
|
190
|
+
padding: 0,
|
|
191
|
+
"has-divider": __props.variant === "section" && hasTopNav.value
|
|
192
|
+
}, {
|
|
193
|
+
default: withCtx(() => [unref(slots).banner ? (openBlock(), createElementBlock("div", _hoisted_4, [renderSlot(_ctx.$slots, "banner")])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "topNav")]),
|
|
194
|
+
_: 3
|
|
195
|
+
}, 8, ["has-divider"])], 8, _hoisted_3)) : createCommentVNode("v-if", true), showMobileBar.value ? (openBlock(), createElementBlock("div", {
|
|
196
|
+
key: 1,
|
|
197
|
+
class: "astryx-app-shell__mobile-bar",
|
|
198
|
+
role: "banner",
|
|
199
|
+
"data-variant": __props.variant
|
|
200
|
+
}, [createElementVNode("nav", {
|
|
201
|
+
class: "astryx-app-shell__mobile-nav",
|
|
202
|
+
"aria-label": unref(messages).layout.mobileNavigation
|
|
203
|
+
}, [createVNode(_sfc_main$1, { mode: "topbar" }, {
|
|
204
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "sideNav")]),
|
|
205
|
+
_: 3
|
|
206
|
+
}), createVNode(_sfc_main$6, {
|
|
207
|
+
label: unref(messages).nav.openNavigation,
|
|
208
|
+
"is-open": open.value,
|
|
209
|
+
controls: mobileNavId,
|
|
210
|
+
"onUpdate:isOpen": _cache[0] || (_cache[0] = ($event) => open.value = $event)
|
|
211
|
+
}, null, 8, ["label", "is-open"])], 8, _hoisted_6)], 8, _hoisted_5)) : createCommentVNode("v-if", true)]),
|
|
212
|
+
key: "0"
|
|
213
|
+
} : void 0, showSideInline.value ? {
|
|
214
|
+
name: "start",
|
|
215
|
+
fn: withCtx(() => [createVNode(_sfc_main$5, {
|
|
216
|
+
class: "astryx-app-shell__sidenav",
|
|
217
|
+
padding: 0,
|
|
218
|
+
"has-divider": __props.variant === "section",
|
|
219
|
+
"is-scrollable": __props.height === "fill",
|
|
220
|
+
"data-variant": __props.variant
|
|
221
|
+
}, {
|
|
222
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "sideNav")]),
|
|
223
|
+
_: 3
|
|
224
|
+
}, 8, [
|
|
225
|
+
"has-divider",
|
|
226
|
+
"is-scrollable",
|
|
227
|
+
"data-variant"
|
|
228
|
+
])]),
|
|
229
|
+
key: "1"
|
|
230
|
+
} : void 0]), 1032, ["height"]),
|
|
231
|
+
hasCustomDrawer.value ? renderSlot(_ctx.$slots, "mobileNav", {}, void 0, void 0, 0) : isBelow.value && mobileEnabled.value ? (openBlock(), createBlock(_sfc_main$7, {
|
|
232
|
+
key: 1,
|
|
233
|
+
id: mobileNavId,
|
|
234
|
+
"is-open": open.value,
|
|
235
|
+
"onUpdate:isOpen": _cache[1] || (_cache[1] = ($event) => open.value = $event),
|
|
236
|
+
label: unref(messages).layout.mobileNavigation
|
|
237
|
+
}, {
|
|
238
|
+
default: withCtx(() => [createElementVNode("div", { id: `${mobileNavId}-items` }, null, 8, _hoisted_9), createVNode(_sfc_main$1, { mode: "drawer-content" }, {
|
|
239
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "sideNav")]),
|
|
240
|
+
_: 3
|
|
241
|
+
})]),
|
|
242
|
+
_: 3
|
|
243
|
+
}, 8, ["is-open", "label"])) : createCommentVNode("v-if", true)
|
|
244
|
+
], 16, _hoisted_1);
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
});
|
|
248
|
+
//#endregion
|
|
249
|
+
export { _sfc_main as t };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { computed, createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, renderSlot, useAttrs, useTemplateRef } from "vue";
|
|
2
|
+
import "../styles/aspect-ratio.css";
|
|
3
|
+
//#region src/AspectRatio/AspectRatio.vue
|
|
4
|
+
const _hoisted_1 = ["data-shape"];
|
|
5
|
+
const _hoisted_2 = ["data-astryx-aspect-ratio-override", "data-fit"];
|
|
6
|
+
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
7
|
+
name: "AstryxAspectRatio",
|
|
8
|
+
inheritAttrs: false,
|
|
9
|
+
__name: "AspectRatio",
|
|
10
|
+
props: {
|
|
11
|
+
ratio: {},
|
|
12
|
+
shape: { default: "rectangle" },
|
|
13
|
+
fit: {}
|
|
14
|
+
},
|
|
15
|
+
setup(__props, { expose: __expose }) {
|
|
16
|
+
const props = __props;
|
|
17
|
+
const attrs = useAttrs();
|
|
18
|
+
const root = useTemplateRef("root");
|
|
19
|
+
__expose({ element: root });
|
|
20
|
+
const forwardedAttrs = computed(() => Object.fromEntries(Object.entries(attrs).filter(([key]) => key !== "class" && key !== "style")));
|
|
21
|
+
const rootClass = computed(() => ["astryx-aspect-ratio", attrs.class]);
|
|
22
|
+
const rootStyle = computed(() => [attrs.style, { "--astryx-aspect-ratio": String(props.ratio) }]);
|
|
23
|
+
return (_ctx, _cache) => {
|
|
24
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
25
|
+
ref_key: "root",
|
|
26
|
+
ref: root
|
|
27
|
+
}, forwardedAttrs.value, {
|
|
28
|
+
class: rootClass.value,
|
|
29
|
+
"data-shape": __props.shape,
|
|
30
|
+
style: rootStyle.value
|
|
31
|
+
}), [createElementVNode("div", {
|
|
32
|
+
class: "astryx-aspect-ratio__child",
|
|
33
|
+
"data-astryx-aspect-ratio-override": __props.fit,
|
|
34
|
+
"data-fit": __props.fit
|
|
35
|
+
}, [renderSlot(_ctx.$slots, "default")], 8, _hoisted_2)], 16, _hoisted_1);
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
//#endregion
|
|
40
|
+
export { _sfc_main as t };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as AvatarGroupProps, n as _default, r as AvatarGroupOverflowProps, t as _default$1 } from "../index-
|
|
1
|
+
import { i as AvatarGroupProps, n as _default, r as AvatarGroupOverflowProps, t as _default$1 } from "../index-C6iJwTL0.js";
|
|
2
2
|
export { _default as AvatarGroup, _default$1 as AvatarGroupOverflow, type AvatarGroupOverflowProps, type AvatarGroupProps };
|
package/dist/Banner/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Cr as _default, Dr as BannerSlots, Er as BannerProps, Or as BannerStatus, Tr as BannerEmits, wr as BannerContainer } from "../index-C6iJwTL0.js";
|
|
2
2
|
export { _default as Banner, type BannerContainer, type BannerEmits, type BannerProps, type BannerSlots, type BannerStatus };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as BottomSheetPadding, c as BottomSheetSlots, i as BottomSheetMotion, l as BottomSheetSnapPoint, n as BottomSheetEmits, o as BottomSheetProps, r as BottomSheetHeight, s as BottomSheetPurpose, t as _default, u as BottomSheetState } from "../index-
|
|
1
|
+
import { a as BottomSheetPadding, c as BottomSheetSlots, i as BottomSheetMotion, l as BottomSheetSnapPoint, n as BottomSheetEmits, o as BottomSheetProps, r as BottomSheetHeight, s as BottomSheetPurpose, t as _default, u as BottomSheetState } from "../index-C8wDPDcP.js";
|
|
2
2
|
export { _default as BottomSheet, type BottomSheetEmits, type BottomSheetHeight, type BottomSheetMotion, type BottomSheetPadding, type BottomSheetProps, type BottomSheetPurpose, type BottomSheetSlots, type BottomSheetSnapPoint, type BottomSheetState };
|
package/dist/Button/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as ButtonProps, c as ButtonSizeValue, d as ButtonVariantMap, i as ButtonLinkElement, l as ButtonSlots, n as ButtonElevation, o as ButtonRootElement, r as ButtonEmits, s as ButtonSize, t as ButtonClickAction, u as ButtonVariant } from "../types-WlmsNL1I.js";
|
|
2
|
-
import { t as _default } from "../index-
|
|
2
|
+
import { t as _default } from "../index-C7mxUcDR.js";
|
|
3
3
|
export { _default as Button, _default as default, type ButtonClickAction, type ButtonElevation, type ButtonEmits, type ButtonLinkElement, type ButtonProps, type ButtonRootElement, type ButtonSize, type ButtonSizeValue, type ButtonSlots, type ButtonVariant, type ButtonVariantMap };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Sr as ButtonGroupOrientation, br as ButtonGroupProps, xr as ButtonGroupSlots, yr as _default } from "../index-C6iJwTL0.js";
|
|
2
2
|
export { _default as ButtonGroup, _default as default, type ButtonGroupOrientation, type ButtonGroupProps, type ButtonGroupSlots };
|
package/dist/Calendar/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Calendar-
|
|
1
|
+
import { t as _sfc_main } from "../Calendar-BG7wEsro.js";
|
|
2
2
|
export { _sfc_main as Calendar };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as useGridRovingFocus } from "./useGridRovingFocus-DQQAOYH5.js";
|
|
2
|
+
import { a as useAstryxMessages, i as useAstryxLocale } from "./context-Dbo22sck.js";
|
|
2
3
|
import { n as weekdayNames, t as formatCalendarMonth } from "./locale-Cpk_nrLA.js";
|
|
3
|
-
import { a as useAstryxMessages, i as useAstryxLocale } from "./context-BshXcNYX.js";
|
|
4
4
|
import { Fragment, computed, createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useId, withKeys } from "vue";
|
|
5
5
|
import { CalendarDate, getLocalTimeZone, today } from "@internationalized/date";
|
|
6
6
|
import "../styles/calendar.css";
|