@astryx-vue/core 0.1.1 → 0.1.3
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/AppShell/index.d.ts +2 -0
- package/dist/AppShell/index.js +2 -0
- package/dist/AppShell-b0PWt9Fz.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/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-BEyrkUtr.js → Calendar-CYhGDT6f.js} +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-CO3mCs9A.js → Chat-C1aWl5V3.js} +1 -1
- 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-C1X0Rde8.js} +1 -1
- package/dist/ClickableCard/index.d.ts +2 -0
- package/dist/ClickableCard/index.js +2 -0
- package/dist/ClickableCard-Bhds4RRe.js +112 -0
- package/dist/Collapsible/index.d.ts +2 -2
- package/dist/Collapsible/index.js +2 -2
- package/dist/Collapsible-BS9ctCQV.js +192 -0
- package/dist/CommandPalette/index.d.ts +2 -0
- package/dist/CommandPalette/index.js +2 -0
- package/dist/CommandPalette-u5h_E05P.js +489 -0
- package/dist/ComplexSelector/index.d.ts +2 -0
- package/dist/ComplexSelector/index.js +2 -0
- package/dist/ComplexSelector-BHmGWml0.js +293 -0
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-BOIb0zAp.js → DateInput-D2ErjXYO.js} +2 -2
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-DLcbgUBi.js → DateRangeInput-fmQlr_A7.js} +3 -3
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-RitYX_Yx.js → DateTimeInput-Bs1JmcIp.js} +4 -4
- 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-CmAfOpkA.js} +2 -2
- 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/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/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-CwtLr3f_.js} +1 -1
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-DIsqS1Qb.js → MetadataList-DlXQTLog.js} +1 -1
- package/dist/MobileNav/index.d.ts +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-aUZiDwHm.js → MobileNavToggle-CgQamG6E.js} +19 -12
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-Bh8or2S6.js → MultiSelector-DT8ZccMI.js} +3 -3
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.d.ts +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-C3S-4dIu.js → NumberInput-DspJO6z6.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-Kr4iJrNV.js → OverflowList-zXg3g6fy.js} +1 -1
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-BRStpeSB.js → Pagination-DXfgMUKJ.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-BuGKvU9I.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-DlZpQh42.js} +1 -1
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -1
- package/dist/{SideNav-B7LX4RcP.js → SideNav-Cdrigq2A.js} +48 -26
- 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-DxmLfh8O.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-C411uNQU.js +380 -0
- package/dist/Table/index.d.ts +2 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-D5zWaITo.js → Table-7qRmlIQd.js} +5 -5
- 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/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-DMOgWncm.js → Thumbnail-BWVzLLyI.js} +1 -1
- package/dist/{TimeField-DeQ1ukHl.js → TimeField-l3QzU6vC.js} +1 -1
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-jb1nLqZk.js → TimeInput-OkgX-xbQ.js} +2 -2
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-DrWwVQBL.js → Timestamp-DUoP9ari.js} +1 -1
- 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-C4KD0fZD.js} +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DF9r4hTW.js → Tokenizer-BA8sTMPZ.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-CZokS7E_.js} +57 -31
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-D9cR-w7r.js → TreeList-CIbAGOMf.js} +1 -1
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-s4DC1Qem.js → Typeahead-DIw-K4aa.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-D6ECRdc5.js} +84 -0
- package/dist/index-1uRMrk63.d.ts +54 -0
- package/dist/{index-CsJpQElv.d.ts → index-2u4l3wq8.d.ts} +1 -1
- package/dist/{index-BlWLperN.d.ts → index-4FM5lQdV.d.ts} +1 -1
- package/dist/index-Be1czg3M.d.ts +167 -0
- package/dist/{index-Dbmgcm8a.d.ts → index-BeR-1LgF.d.ts} +2 -0
- package/dist/index-BrJzFA5X.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-BkIgRYGz.d.ts → index-C5p2NeCr.d.ts} +2 -2
- package/dist/{index-AkMWQ97a.d.ts → index-C6RecznD.d.ts} +1 -1
- 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-g03bmR4K.d.ts → index-CT8KEpec.d.ts} +2 -2
- package/dist/{index-Bc0dgVM5.d.ts → index-CTolyeii.d.ts} +4 -4
- package/dist/index-CVn0GBdB.d.ts +115 -0
- package/dist/index-CX97hlld.d.ts +158 -0
- package/dist/index-CjtAH60j.d.ts +38 -0
- package/dist/{index-5R_pi3eT.d.ts → index-D-ZuubCK.d.ts} +3 -3
- package/dist/index-DA52oIdw.d.ts +171 -0
- package/dist/{index-D3V7yRUP.d.ts → index-DGNqi2za.d.ts} +1 -1
- 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-CNcQmDrK.d.ts → index-DYChvBOM.d.ts} +42 -0
- package/dist/{index-CQ9F1f_F.d.ts → index-Df2YvC8o.d.ts} +297 -125
- package/dist/{index--dh0s8Li.d.ts → index-DfgHJE7H.d.ts} +1 -1
- package/dist/{index-BnNh5Iml.d.ts → index-SMh42NI8.d.ts} +99 -2
- package/dist/{index-12ObcW99.d.ts → index-ZJyk8RtQ.d.ts} +1 -1
- package/dist/{index-Q4gqBSIZ.d.ts → index-fa72tWIU.d.ts} +1 -1
- 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 +75 -63
- package/dist/index.js +108 -89
- 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/{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 +49 -1
- package/styles/app-shell.css +151 -0
- package/styles/aspect-ratio.css +49 -0
- package/styles/card.css +5 -1
- 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 +19 -17
- package/styles/layout.css +280 -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.css +12 -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-TnaIHsCS.d.ts +0 -87
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
2
|
+
import { n as useAppShellMobile } from "./useAppShellMobile-DTsyuAJ4.js";
|
|
2
3
|
import { t as useListFocus } from "./useListFocus-D0iOJl39.js";
|
|
3
|
-
import { a as useAstryxMessages } from "./context-
|
|
4
|
-
import { t as _sfc_main$7 } from "./
|
|
5
|
-
import {
|
|
4
|
+
import { a as useAstryxMessages } from "./context-D6ECRdc5.js";
|
|
5
|
+
import { n as _sfc_main$8, r as mobileNavKey, t as _sfc_main$7 } from "./MobileNavToggle-CgQamG6E.js";
|
|
6
|
+
import { t as _sfc_main$9 } from "./Icon-5MdZQ18k.js";
|
|
6
7
|
import { n as resolveNavRoot } from "./link-CdcUSxAj.js";
|
|
7
8
|
import { t as _sfc_main$10 } from "./NavItem-FFOisITc.js";
|
|
8
9
|
import { n as navMenuCloseKey, t as _sfc_main$11 } from "./NavDisclosure-DHrSNRDR.js";
|
|
9
10
|
import { n as _sfc_main$13, t as _sfc_main$12 } from "./NavMenuItem-mzNQESpB.js";
|
|
10
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, inject, normalizeClass, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, vShow, withCtx, withDirectives } from "vue";
|
|
11
|
+
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, inject, normalizeClass, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, vShow, withCtx, withDirectives } from "vue";
|
|
11
12
|
import "../styles/top-nav.css";
|
|
12
13
|
//#region src/TopNav/TopNav.vue
|
|
13
14
|
const _hoisted_1$5 = ["aria-label"];
|
|
@@ -26,6 +27,7 @@ const _hoisted_5$1 = {
|
|
|
26
27
|
};
|
|
27
28
|
const _hoisted_6$1 = { class: "astryx-top-nav__end" };
|
|
28
29
|
const _hoisted_7$1 = { class: "astryx-top-nav__drawer" };
|
|
30
|
+
const _hoisted_8$1 = { class: "astryx-top-nav__drawer" };
|
|
29
31
|
const _sfc_main$6 = /*@__PURE__*/ defineComponent({
|
|
30
32
|
name: "AstryxTopNav",
|
|
31
33
|
__name: "TopNav",
|
|
@@ -39,38 +41,62 @@ const _sfc_main$6 = /*@__PURE__*/ defineComponent({
|
|
|
39
41
|
const messages = useAstryxMessages();
|
|
40
42
|
const drawerId = `astryx-top-nav-${useId()}`;
|
|
41
43
|
const mobileOpen = ref(false);
|
|
44
|
+
const shell = useAppShellMobile();
|
|
42
45
|
const queryMatches = props.mobileQuery ? useMediaQuery(props.mobileQuery) : ref(false);
|
|
43
|
-
const
|
|
46
|
+
const shellCompact = computed(() => shell.isMobile && shell.isMobileNavEnabled);
|
|
47
|
+
const isCompact = computed(() => shellCompact.value || Boolean(props.mobileQuery) && queryMatches.value);
|
|
48
|
+
const ownsDrawer = computed(() => isCompact.value && !shellCompact.value);
|
|
44
49
|
const hasCenter = computed(() => slots.center != null);
|
|
45
50
|
const hasDrawer = computed(() => slots.start != null || slots.default != null || slots.center != null);
|
|
51
|
+
const showShellToggle = computed(() => shellCompact.value && shell.hasAutoToggle && (hasDrawer.value || shell.hasSideNav));
|
|
52
|
+
function setShellOpen(next) {
|
|
53
|
+
if (next) shell.openMobileNav();
|
|
54
|
+
else shell.closeMobileNav();
|
|
55
|
+
}
|
|
46
56
|
const label = computed(() => props.label || messages.value.nav.topNav);
|
|
47
57
|
return (_ctx, _cache) => {
|
|
48
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
58
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
59
|
+
createElementVNode("nav", {
|
|
60
|
+
class: normalizeClass(["astryx-top-nav", { "astryx-top-nav--centered": hasCenter.value && !isCompact.value }]),
|
|
61
|
+
"aria-label": label.value
|
|
62
|
+
}, [
|
|
63
|
+
createElementVNode("div", _hoisted_2$5, [unref(slots).heading ? (openBlock(), createElementBlock("div", _hoisted_3$3, [renderSlot(_ctx.$slots, "heading")])) : createCommentVNode("v-if", true), !isCompact.value ? (openBlock(), createElementBlock("div", _hoisted_4$3, [renderSlot(_ctx.$slots, "start"), renderSlot(_ctx.$slots, "default")])) : createCommentVNode("v-if", true)]),
|
|
64
|
+
hasCenter.value && !isCompact.value ? (openBlock(), createElementBlock("div", _hoisted_5$1, [renderSlot(_ctx.$slots, "center")])) : createCommentVNode("v-if", true),
|
|
65
|
+
createElementVNode("div", _hoisted_6$1, [renderSlot(_ctx.$slots, "end"), showShellToggle.value ? (openBlock(), createBlock(_sfc_main$7, {
|
|
66
|
+
key: 0,
|
|
67
|
+
"is-open": unref(shell).isMobileNavOpen,
|
|
68
|
+
controls: unref(shell).mobileNavId,
|
|
69
|
+
"onUpdate:isOpen": setShellOpen
|
|
70
|
+
}, null, 8, ["is-open", "controls"])) : ownsDrawer.value && hasDrawer.value ? (openBlock(), createBlock(_sfc_main$7, {
|
|
71
|
+
key: 1,
|
|
72
|
+
"is-open": mobileOpen.value,
|
|
73
|
+
"onUpdate:isOpen": _cache[0] || (_cache[0] = ($event) => mobileOpen.value = $event),
|
|
74
|
+
controls: drawerId
|
|
75
|
+
}, null, 8, ["is-open"])) : createCommentVNode("v-if", true)])
|
|
76
|
+
], 10, _hoisted_1$5),
|
|
77
|
+
shellCompact.value && hasDrawer.value ? (openBlock(), createBlock(Teleport, {
|
|
55
78
|
key: 0,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
controls: drawerId
|
|
59
|
-
}, null, 8, ["is-open"])) : createCommentVNode("v-if", true)])
|
|
60
|
-
], 10, _hoisted_1$5), isCompact.value && hasDrawer.value ? (openBlock(), createBlock(_sfc_main$9, {
|
|
61
|
-
key: 0,
|
|
62
|
-
id: drawerId,
|
|
63
|
-
"is-open": mobileOpen.value,
|
|
64
|
-
"onUpdate:isOpen": _cache[1] || (_cache[1] = ($event) => mobileOpen.value = $event),
|
|
65
|
-
label: label.value
|
|
66
|
-
}, {
|
|
67
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_7$1, [
|
|
79
|
+
to: `#${unref(shell).mobileNavId}-items`
|
|
80
|
+
}, [createElementVNode("div", _hoisted_7$1, [
|
|
68
81
|
renderSlot(_ctx.$slots, "start"),
|
|
69
82
|
renderSlot(_ctx.$slots, "default"),
|
|
70
83
|
renderSlot(_ctx.$slots, "center")
|
|
71
|
-
])]),
|
|
72
|
-
|
|
73
|
-
|
|
84
|
+
])], 8, ["to"])) : createCommentVNode("v-if", true),
|
|
85
|
+
ownsDrawer.value && hasDrawer.value ? (openBlock(), createBlock(_sfc_main$8, {
|
|
86
|
+
key: 1,
|
|
87
|
+
id: drawerId,
|
|
88
|
+
"is-open": mobileOpen.value,
|
|
89
|
+
"onUpdate:isOpen": _cache[1] || (_cache[1] = ($event) => mobileOpen.value = $event),
|
|
90
|
+
label: label.value
|
|
91
|
+
}, {
|
|
92
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_8$1, [
|
|
93
|
+
renderSlot(_ctx.$slots, "start"),
|
|
94
|
+
renderSlot(_ctx.$slots, "default"),
|
|
95
|
+
renderSlot(_ctx.$slots, "center")
|
|
96
|
+
])]),
|
|
97
|
+
_: 3
|
|
98
|
+
}, 8, ["is-open", "label"])) : createCommentVNode("v-if", true)
|
|
99
|
+
], 64);
|
|
74
100
|
};
|
|
75
101
|
}
|
|
76
102
|
});
|
|
@@ -217,7 +243,7 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
217
243
|
class: "astryx-top-nav-menu__drawer-trigger",
|
|
218
244
|
"aria-expanded": expanded.value ? "true" : "false",
|
|
219
245
|
onClick: _cache[0] || (_cache[0] = ($event) => expanded.value = !expanded.value)
|
|
220
|
-
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$
|
|
246
|
+
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$9, {
|
|
221
247
|
icon: "chevronDown",
|
|
222
248
|
size: "sm",
|
|
223
249
|
class: normalizeClass({ "astryx-top-nav-menu__chevron--open": expanded.value })
|
|
@@ -237,7 +263,7 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
237
263
|
"aria-expanded": isOpen ? "true" : "false",
|
|
238
264
|
"aria-controls": panelId,
|
|
239
265
|
"aria-haspopup": "menu"
|
|
240
|
-
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$
|
|
266
|
+
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$9, {
|
|
241
267
|
icon: "chevronDown",
|
|
242
268
|
size: "sm",
|
|
243
269
|
class: normalizeClass(["astryx-top-nav-menu__chevron", { "astryx-top-nav-menu__chevron--open": isOpen }])
|
|
@@ -388,7 +414,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
388
414
|
class: "astryx-top-nav-menu__drawer-trigger",
|
|
389
415
|
"aria-expanded": expanded.value ? "true" : "false",
|
|
390
416
|
onClick: _cache[0] || (_cache[0] = ($event) => expanded.value = !expanded.value)
|
|
391
|
-
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$
|
|
417
|
+
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$9, {
|
|
392
418
|
icon: "chevronDown",
|
|
393
419
|
size: "sm",
|
|
394
420
|
class: normalizeClass({ "astryx-top-nav-menu__chevron--open": expanded.value })
|
|
@@ -423,7 +449,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
423
449
|
"aria-expanded": isOpen ? "true" : "false",
|
|
424
450
|
"aria-controls": panelId,
|
|
425
451
|
"aria-haspopup": "menu"
|
|
426
|
-
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$
|
|
452
|
+
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$9, {
|
|
427
453
|
icon: "chevronDown",
|
|
428
454
|
size: "sm",
|
|
429
455
|
class: normalizeClass(["astryx-top-nav-menu__chevron", { "astryx-top-nav-menu__chevron--open": isOpen }])
|
package/dist/TreeList/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-
|
|
1
|
+
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-CIbAGOMf.js";
|
|
2
2
|
export { _sfc_main as TreeList, useTreeFocus };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { a as useAstryxMessages } from "./context-D6ECRdc5.js";
|
|
1
2
|
import { t as _sfc_main$2 } from "./Badge-Ba0EwsTj.js";
|
|
2
|
-
import { a as useAstryxMessages } from "./context-BshXcNYX.js";
|
|
3
3
|
import { n as isIconGlyph, t as _sfc_main$3 } from "./Icon-5MdZQ18k.js";
|
|
4
4
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, onMounted, openBlock, reactive, ref, renderList, renderSlot, resolveComponent, toDisplayString, unref, useId, vShow, withCtx, withDirectives } from "vue";
|
|
5
5
|
import "../styles/tree-list.css";
|
package/dist/Typeahead/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Typeahead-
|
|
1
|
+
import { t as _sfc_main } from "../Typeahead-DIw-K4aa.js";
|
|
2
2
|
export { _sfc_main as Typeahead };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as useAstryxMessages } from "./context-
|
|
1
|
+
import { a as useAstryxMessages } from "./context-D6ECRdc5.js";
|
|
2
2
|
import { t as _sfc_main$1 } from "./Spinner-9cYUCnDy.js";
|
|
3
|
-
import { t as _sfc_main$2 } from "./Field-
|
|
4
|
-
import { t as _sfc_main$3 } from "./Token-
|
|
3
|
+
import { t as _sfc_main$2 } from "./Field-8zRxzDHE.js";
|
|
4
|
+
import { t as _sfc_main$3 } from "./Token-C4KD0fZD.js";
|
|
5
5
|
import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-7W90Ny-9.js";
|
|
6
6
|
import { n as _sfc_main$4, t as useTypeaheadMenu } from "./useTypeaheadMenu-Ba7XpcZl.js";
|
|
7
7
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, openBlock, ref, renderSlot, toDisplayString, unref, useId, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { n as UseClipboardReturn, r as useClipboard, t as UseClipboardOptions } from "../useClipboard-CU-kfqeJ.js";
|
|
2
|
-
import { $ as useFocusTrap, A as NumberField, At as useChatStreamScroll, B as LongPressOptions, C as useRestoreFocus, Ct as ComboboxOption, D as UseOverflowReturn, Dt as ChatScrollToBottomOptions, E as UseOverflowOptions, Et as useCoarsePointer, F as parseISODate, Ft as AnnounceFn, G as useListFocus, H as ListFocus, I as toISODate, It as AnnouncePoliteness, J as GridRovingFocus, K as Hotkey, L as todayISODate, Lt as useAnnounce, M as useNumberField, Mt as UseChatNewMessagesOptions, N as addMonths, Nt as UseChatNewMessagesReturn, O as computeOverflow, Ot as UseChatStreamScrollOptions, P as buildMonthGrid, Pt as useChatNewMessages, Q as UseFocusTrapOptions, R as useMediaQuery, S as UseRestoreFocusOptions, St as Combobox, T as ComputeOverflowResult, Tt as useCombobox, U as ListFocusOrientation, V as useLongPress, W as UseListFocusOptions, X as useGridRovingFocus, Y as UseGridRovingFocusOptions, Z as FocusTrap, _ as UseStreamingTextOptions, _t as resolveWeekStart, a as ISOTimeString, at as UseDismissOptions, b as useScrollLock, bt as UseControllableStateOptions, c as TimePresentation, ct as RangeClickResult, d as isTimeInRange, dt as compareISODate, et as FileRejection, f as parseDisplayTime, ft as formatDateRange, g as StreamingTextSpeed, gt as orderRange, h as shiftTime, ht as isSameRange, i as HourFormat, it as selectFiles, j as UseNumberFieldOptions, jt as CHAT_MESSAGE_CLASS, k as useOverflow, kt as UseChatStreamScrollReturn, l as formatDisplayTime, lt as WeekStartsOn, m as resolveTimeSurface, mt as isRangeWithinSpan, n as UseTypeaheadReturn, nt as FileSelectionResult, o as NativePicker, ot as useDismiss, p as parseISOTime, pt as isDayOutsideSpan, q as useHotkeys, r as useTypeahead, rt as formatFileSize, s as ParsedTime, st as ISODateRange, t as UseTypeaheadOptions, tt as FileSelectionOptions, u as formatISOTime, ut as applyRangeClick, v as snapToGraphemeBoundary, vt as spanDays, w as ComputeOverflowInput, wt as UseComboboxOptions, x as RestoreFocus, xt as useControllableState, y as useStreamingText, yt as ControllableState, z as LongPressHandlers } from "../index-BnNh5Iml.js";
|
|
3
2
|
import { a as SearchableItem, c as useAsyncSource, i as SearchSource, n as AsyncSourceStatus, o as UseAsyncSourceOptions, r as CreateStaticSourceOptions, s as createStaticSource, t as AsyncSource } from "../useAsyncSource-xpQovjV_.js";
|
|
4
|
-
|
|
3
|
+
import { $ as useLongPress, $t as useAppShellMobile, A as UseScrollableAreaOptions, At as spanDays, B as computeOverflow, Bt as INTERACTIVE_SELECTORS, C as useScrollLock, Ct as compareISODate, D as ScrollRole, Dt as isSameRange, E as ScrollOverscroll, Et as isRangeWithinSpan, F as useRestoreFocus, Ft as ComboboxOption, G as addMonths, Gt as UseChatStreamScrollReturn, H as NumberField, Ht as useClickableContainer, I as ComputeOverflowInput, It as UseComboboxOptions, J as toISODate, Jt as UseChatNewMessagesOptions, K as buildMonthGrid, Kt as useChatStreamScroll, L as ComputeOverflowResult, Lt as useCombobox, M as useScrollableArea, Mt as UseControllableStateOptions, N as RestoreFocus, Nt as useControllableState, O as ScrollStickyContainment, Ot as orderRange, P as UseRestoreFocusOptions, Pt as Combobox, Q as LongPressOptions, Qt as appShellMobileKey, R as UseOverflowOptions, Rt as useCoarsePointer, S as useScrollOverflow, St as applyRangeClick, T as ScrollAxisState, Tt as isDayOutsideSpan, U as UseNumberFieldOptions, Ut as ChatScrollToBottomOptions, V as useOverflow, Vt as UseClickableContainerOptions, W as useNumberField, Wt as UseChatStreamScrollOptions, X as useMediaQuery, Xt as useChatNewMessages, Y as todayISODate, Yt as UseChatNewMessagesReturn, Z as LongPressHandlers, Zt as AppShellMobile, _ as UseStreamingTextOptions, _t as UseDismissOptions, a as ISOTimeString, at as useHotkeys, b as ScrollOverflowState, bt as RangeClickResult, c as TimePresentation, ct as useGridRovingFocus, d as isTimeInRange, dt as useFocusTrap, en as AnnounceFn, et as ListFocus, f as parseDisplayTime, ft as FileRejection, g as StreamingTextSpeed, gt as selectFiles, h as shiftTime, ht as formatFileSize, i as HourFormat, it as Hotkey, j as UseScrollableAreaResult, jt as ControllableState, k as ScrollableAreaState, kt as resolveWeekStart, l as formatDisplayTime, lt as FocusTrap, m as resolveTimeSurface, mt as FileSelectionResult, n as UseTypeaheadReturn, nn as useAnnounce, nt as UseListFocusOptions, o as NativePicker, ot as GridRovingFocus, p as parseISOTime, pt as FileSelectionOptions, q as parseISODate, qt as CHAT_MESSAGE_CLASS, r as useTypeahead, rt as useListFocus, s as ParsedTime, st as UseGridRovingFocusOptions, t as UseTypeaheadOptions, tn as AnnouncePoliteness, tt as ListFocusOrientation, u as formatISOTime, ut as UseFocusTrapOptions, v as snapToGraphemeBoundary, vt as useDismiss, w as ScrollAxis, wt as formatDateRange, x as UseScrollOverflowResult, xt as WeekStartsOn, y as useStreamingText, yt as ISODateRange, z as UseOverflowReturn, zt as ClickableContainerHandlers } from "../index-SMh42NI8.js";
|
|
4
|
+
import { a as ResizableRegionConfig, c as UseResizableMultiConfig, d as percent, f as useResizable, i as ResizableRegion, l as UseResizableOptions, n as ResizablePercentSize, o as ResizableSize, r as ResizableProps, s as ResizableState, t as ResizableDirection, u as UseResizableSingleOptions } from "../useResizable-CeESZS1v.js";
|
|
5
|
+
export { type AnnounceFn, type AnnouncePoliteness, type AppShellMobile, type AsyncSource, type AsyncSourceStatus, CHAT_MESSAGE_CLASS, type ChatScrollToBottomOptions, type ClickableContainerHandlers, type Combobox, type ComboboxOption, type ComputeOverflowInput, type ComputeOverflowResult, type ControllableState, type CreateStaticSourceOptions, type FileRejection, type FileSelectionOptions, type FileSelectionResult, type FocusTrap, type GridRovingFocus, type Hotkey, type HourFormat, INTERACTIVE_SELECTORS, type ISODateRange, type ISOTimeString, type ListFocus, type ListFocusOrientation, type LongPressHandlers, type LongPressOptions, type NativePicker, type NumberField, type ParsedTime, type RangeClickResult, type ResizableDirection, type ResizablePercentSize, type ResizableProps, type ResizableRegion, type ResizableRegionConfig, type ResizableSize, type ResizableState, type RestoreFocus, type ScrollAxis, type ScrollAxisState, type ScrollOverflowState, type ScrollOverscroll, type ScrollRole, type ScrollStickyContainment, type ScrollableAreaState, type SearchSource, type SearchableItem, type StreamingTextSpeed, type TimePresentation, type UseAsyncSourceOptions, type UseChatNewMessagesOptions, type UseChatNewMessagesReturn, type UseChatStreamScrollOptions, type UseChatStreamScrollReturn, type UseClickableContainerOptions, type UseClipboardOptions, type UseClipboardReturn, type UseComboboxOptions, type UseControllableStateOptions, type UseDismissOptions, type UseFocusTrapOptions, type UseGridRovingFocusOptions, type UseListFocusOptions, type UseNumberFieldOptions, type UseOverflowOptions, type UseOverflowReturn, type UseResizableMultiConfig, type UseResizableOptions, type UseResizableSingleOptions, type UseRestoreFocusOptions, type UseScrollOverflowResult, type UseScrollableAreaOptions, type UseScrollableAreaResult, type UseStreamingTextOptions, type UseTypeaheadOptions, type UseTypeaheadReturn, type WeekStartsOn, addMonths, appShellMobileKey, applyRangeClick, buildMonthGrid, compareISODate, computeOverflow, createStaticSource, formatDateRange, formatDisplayTime, formatFileSize, formatISOTime, isDayOutsideSpan, isRangeWithinSpan, isSameRange, isTimeInRange, orderRange, parseDisplayTime, parseISODate, parseISOTime, percent, resolveTimeSurface, resolveWeekStart, selectFiles, shiftTime, snapToGraphemeBoundary, spanDays, toISODate, todayISODate, useAnnounce, useAppShellMobile, useAsyncSource, useChatNewMessages, useChatStreamScroll, useClickableContainer, useClipboard, useCoarsePointer, useCombobox, useControllableState, useDismiss, useFocusTrap, useGridRovingFocus, useHotkeys, useListFocus, useLongPress, useMediaQuery, useNumberField, useOverflow, useResizable, useRestoreFocus, useScrollLock, useScrollOverflow, useScrollableArea, useStreamingText, useTypeahead };
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { t as useMediaQuery } from "../useMediaQuery-GMmgp28-.js";
|
|
2
2
|
import { t as useAnnounce } from "../announce-Cnio10Wk.js";
|
|
3
|
+
import { n as useAppShellMobile, t as appShellMobileKey } from "../useAppShellMobile-DTsyuAJ4.js";
|
|
3
4
|
import { n as useAsyncSource, t as createStaticSource } from "../useAsyncSource-Gk0VtE7_.js";
|
|
4
5
|
import { n as CHAT_MESSAGE_CLASS, r as useChatNewMessages, t as useChatStreamScroll } from "../useChatStreamScroll-oDfybEos.js";
|
|
6
|
+
import { n as useClickableContainer, t as INTERACTIVE_SELECTORS } from "../useClickableContainer-DyNpnSEa.js";
|
|
5
7
|
import { t as useClipboard } from "../useClipboard-BDfbEsWd.js";
|
|
6
8
|
import { a as parseISOTime, c as useCoarsePointer, i as parseDisplayTime, n as formatISOTime, o as resolveTimeSurface, r as isTimeInRange, s as shiftTime, t as formatDisplayTime } from "../useTimeValue-DWk6oTAZ.js";
|
|
7
9
|
import { t as useCombobox } from "../useCombobox-CTo5C-gc.js";
|
|
8
|
-
import { n as useStreamingText,
|
|
10
|
+
import { a as useResizable, i as percent, n as useStreamingText, o as useControllableState, r as useScrollOverflow, t as snapToGraphemeBoundary } from "../composables-CVfjp9h4.js";
|
|
9
11
|
import { a as todayISODate, c as formatDateRange, d as isSameRange, f as orderRange, i as toISODate, l as isDayOutsideSpan, m as spanDays, n as buildMonthGrid, o as applyRangeClick, p as resolveWeekStart, r as parseISODate, s as compareISODate, t as addMonths, u as isRangeWithinSpan } from "../useMonthGrid-CmJsZTcB.js";
|
|
10
12
|
import { t as useDismiss } from "../useDismiss-CAiHU6QD.js";
|
|
11
13
|
import { n as selectFiles, t as formatFileSize } from "../useFileSelection-BPtaegqK.js";
|
|
@@ -16,6 +18,7 @@ import { t as useListFocus } from "../useListFocus-D0iOJl39.js";
|
|
|
16
18
|
import { t as useLongPress } from "../useLongPress-Cyxwa73s.js";
|
|
17
19
|
import { t as useNumberField } from "../useNumberField-DL-Radsp.js";
|
|
18
20
|
import { n as useOverflow, t as computeOverflow } from "../useOverflow-VrwF5oek.js";
|
|
21
|
+
import { t as useScrollableArea } from "../useScrollableArea-DDk_CluT.js";
|
|
19
22
|
import { t as useScrollLock } from "../scrollLock-BzIvIimL.js";
|
|
20
23
|
import { t as useTypeahead } from "../useTypeahead-PAK8lMYz.js";
|
|
21
|
-
export { CHAT_MESSAGE_CLASS, addMonths, applyRangeClick, buildMonthGrid, compareISODate, computeOverflow, createStaticSource, formatDateRange, formatDisplayTime, formatFileSize, formatISOTime, isDayOutsideSpan, isRangeWithinSpan, isSameRange, isTimeInRange, orderRange, parseDisplayTime, parseISODate, parseISOTime, resolveTimeSurface, resolveWeekStart, selectFiles, shiftTime, snapToGraphemeBoundary, spanDays, toISODate, todayISODate, useAnnounce, useAsyncSource, useChatNewMessages, useChatStreamScroll, useClipboard, useCoarsePointer, useCombobox, useControllableState, useDismiss, useFocusTrap, useGridRovingFocus, useHotkeys, useListFocus, useLongPress, useMediaQuery, useNumberField, useOverflow, useRestoreFocus, useScrollLock, useStreamingText, useTypeahead };
|
|
24
|
+
export { CHAT_MESSAGE_CLASS, INTERACTIVE_SELECTORS, addMonths, appShellMobileKey, applyRangeClick, buildMonthGrid, compareISODate, computeOverflow, createStaticSource, formatDateRange, formatDisplayTime, formatFileSize, formatISOTime, isDayOutsideSpan, isRangeWithinSpan, isSameRange, isTimeInRange, orderRange, parseDisplayTime, parseISODate, parseISOTime, percent, resolveTimeSurface, resolveWeekStart, selectFiles, shiftTime, snapToGraphemeBoundary, spanDays, toISODate, todayISODate, useAnnounce, useAppShellMobile, useAsyncSource, useChatNewMessages, useChatStreamScroll, useClickableContainer, useClipboard, useCoarsePointer, useCombobox, useControllableState, useDismiss, useFocusTrap, useGridRovingFocus, useHotkeys, useListFocus, useLongPress, useMediaQuery, useNumberField, useOverflow, useResizable, useRestoreFocus, useScrollLock, useScrollOverflow, useScrollableArea, useStreamingText, useTypeahead };
|