@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
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
import { a as supportsInternalContentWidth, i as spacingVariable, t as formatSize } from "./size-xcIqExkS.js";
|
|
2
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, inject, mergeProps, normalizeStyle, openBlock, provide, renderSlot, unref, useAttrs, useSlots, useTemplateRef, withCtx } from "vue";
|
|
3
|
+
import "../styles/layout.css";
|
|
4
|
+
//#region src/Layout/context.ts
|
|
5
|
+
const layoutSlotsKey = Symbol("astryx-layout-slots");
|
|
6
|
+
const layoutAreaKey = Symbol("astryx-layout-area");
|
|
7
|
+
const layoutDividerKey = Symbol("astryx-layout-dividers");
|
|
8
|
+
const emptySlots = computed(() => ({
|
|
9
|
+
hasHeader: false,
|
|
10
|
+
hasFooter: false,
|
|
11
|
+
hasStart: false,
|
|
12
|
+
hasEnd: false
|
|
13
|
+
}));
|
|
14
|
+
function useLayoutSlots() {
|
|
15
|
+
return inject(layoutSlotsKey, emptySlots);
|
|
16
|
+
}
|
|
17
|
+
function useLayoutArea() {
|
|
18
|
+
return inject(layoutAreaKey, computed(() => null));
|
|
19
|
+
}
|
|
20
|
+
function useLayoutDividers() {
|
|
21
|
+
return inject(layoutDividerKey, computed(() => void 0));
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region src/Layout/LayoutRegion.vue
|
|
25
|
+
const _sfc_main$4 = /*@__PURE__*/ defineComponent({
|
|
26
|
+
__name: "LayoutRegion",
|
|
27
|
+
props: { area: {} },
|
|
28
|
+
setup(__props) {
|
|
29
|
+
const props = __props;
|
|
30
|
+
provide(layoutAreaKey, computed(() => props.area));
|
|
31
|
+
return (_ctx, _cache) => {
|
|
32
|
+
return renderSlot(_ctx.$slots, "default");
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/Layout/Layout.vue
|
|
38
|
+
const _hoisted_1$3 = ["data-height"];
|
|
39
|
+
const _hoisted_2$1 = [
|
|
40
|
+
"data-full-bleed",
|
|
41
|
+
"data-panels",
|
|
42
|
+
"data-width-mode"
|
|
43
|
+
];
|
|
44
|
+
const _hoisted_3 = { class: "astryx-layout__middle" };
|
|
45
|
+
const _hoisted_4 = { class: "astryx-layout__content-slot" };
|
|
46
|
+
const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
47
|
+
name: "AstryxLayout",
|
|
48
|
+
inheritAttrs: false,
|
|
49
|
+
__name: "Layout",
|
|
50
|
+
props: {
|
|
51
|
+
contentWidth: {},
|
|
52
|
+
height: { default: "fill" },
|
|
53
|
+
padding: {},
|
|
54
|
+
defaultHasDividers: { type: Boolean }
|
|
55
|
+
},
|
|
56
|
+
setup(__props, { expose: __expose }) {
|
|
57
|
+
const props = __props;
|
|
58
|
+
const attrs = useAttrs();
|
|
59
|
+
const slots = useSlots();
|
|
60
|
+
const root = useTemplateRef("root");
|
|
61
|
+
const parentDividers = useLayoutDividers();
|
|
62
|
+
__expose({ element: root });
|
|
63
|
+
const slotsState = computed(() => ({
|
|
64
|
+
hasHeader: slots.header != null,
|
|
65
|
+
hasFooter: slots.footer != null,
|
|
66
|
+
hasStart: slots.start != null,
|
|
67
|
+
hasEnd: slots.end != null
|
|
68
|
+
}));
|
|
69
|
+
provide(layoutSlotsKey, slotsState);
|
|
70
|
+
provide(layoutDividerKey, computed(() => props.defaultHasDividers ?? parentDividers.value));
|
|
71
|
+
const panelCount = computed(() => {
|
|
72
|
+
if (slotsState.value.hasStart && slotsState.value.hasEnd) return "both";
|
|
73
|
+
if (slotsState.value.hasStart) return "start";
|
|
74
|
+
if (slotsState.value.hasEnd) return "end";
|
|
75
|
+
return "none";
|
|
76
|
+
});
|
|
77
|
+
const widthMode = computed(() => {
|
|
78
|
+
if (props.contentWidth == null) return void 0;
|
|
79
|
+
return supportsInternalContentWidth(props.contentWidth) && panelCount.value !== "both" ? "internal" : "constrained";
|
|
80
|
+
});
|
|
81
|
+
const forwardedAttrs = computed(() => Object.fromEntries(Object.entries(attrs).filter(([key]) => key !== "class" && key !== "style")));
|
|
82
|
+
const rootClass = computed(() => ["astryx-layout", attrs.class]);
|
|
83
|
+
const rootStyle = computed(() => attrs.style);
|
|
84
|
+
const innerStyle = computed(() => {
|
|
85
|
+
const width = formatSize(props.contentWidth);
|
|
86
|
+
const style = {};
|
|
87
|
+
if (props.padding != null) {
|
|
88
|
+
const step = spacingVariable(props.padding);
|
|
89
|
+
if (step != null) {
|
|
90
|
+
style["--layout-padding-own-outer-x"] = step;
|
|
91
|
+
style["--layout-padding-own-outer-y"] = step;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
if (width != null) {
|
|
95
|
+
style["--layout-content-width"] = width;
|
|
96
|
+
if (supportsInternalContentWidth(props.contentWidth)) style["--layout-alignment-width"] = width;
|
|
97
|
+
}
|
|
98
|
+
return style;
|
|
99
|
+
});
|
|
100
|
+
return (_ctx, _cache) => {
|
|
101
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
102
|
+
ref_key: "root",
|
|
103
|
+
ref: root
|
|
104
|
+
}, forwardedAttrs.value, {
|
|
105
|
+
class: rootClass.value,
|
|
106
|
+
"data-height": __props.height,
|
|
107
|
+
style: rootStyle.value
|
|
108
|
+
}), [createElementVNode("div", {
|
|
109
|
+
class: "astryx-layout__inner",
|
|
110
|
+
"data-full-bleed": __props.padding === 0 || void 0,
|
|
111
|
+
"data-panels": panelCount.value,
|
|
112
|
+
"data-width-mode": widthMode.value,
|
|
113
|
+
style: normalizeStyle(innerStyle.value)
|
|
114
|
+
}, [
|
|
115
|
+
unref(slots).header ? (openBlock(), createBlock(_sfc_main$4, {
|
|
116
|
+
key: 0,
|
|
117
|
+
area: "header"
|
|
118
|
+
}, {
|
|
119
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "header")]),
|
|
120
|
+
_: 3
|
|
121
|
+
})) : createCommentVNode("v-if", true),
|
|
122
|
+
createElementVNode("div", _hoisted_3, [
|
|
123
|
+
unref(slots).start ? (openBlock(), createBlock(_sfc_main$4, {
|
|
124
|
+
key: 0,
|
|
125
|
+
area: "start"
|
|
126
|
+
}, {
|
|
127
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "start")]),
|
|
128
|
+
_: 3
|
|
129
|
+
})) : createCommentVNode("v-if", true),
|
|
130
|
+
createElementVNode("div", _hoisted_4, [createVNode(_sfc_main$4, { area: "content" }, {
|
|
131
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
132
|
+
_: 3
|
|
133
|
+
})]),
|
|
134
|
+
unref(slots).end ? (openBlock(), createBlock(_sfc_main$4, {
|
|
135
|
+
key: 1,
|
|
136
|
+
area: "end"
|
|
137
|
+
}, {
|
|
138
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "end")]),
|
|
139
|
+
_: 3
|
|
140
|
+
})) : createCommentVNode("v-if", true)
|
|
141
|
+
]),
|
|
142
|
+
unref(slots).footer ? (openBlock(), createBlock(_sfc_main$4, {
|
|
143
|
+
key: 1,
|
|
144
|
+
area: "footer"
|
|
145
|
+
}, {
|
|
146
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "footer")]),
|
|
147
|
+
_: 3
|
|
148
|
+
})) : createCommentVNode("v-if", true)
|
|
149
|
+
], 12, _hoisted_2$1)], 16, _hoisted_1$3);
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
//#endregion
|
|
154
|
+
//#region src/Layout/regionPadding.ts
|
|
155
|
+
function regionPaddingStyle(prefix, padding, paddingBlockEnd) {
|
|
156
|
+
if (padding == null && paddingBlockEnd == null) return {};
|
|
157
|
+
const style = {};
|
|
158
|
+
const set = (edge, step) => {
|
|
159
|
+
const value = spacingVariable(step);
|
|
160
|
+
if (value != null) style[`${prefix}-${edge}`] = value;
|
|
161
|
+
};
|
|
162
|
+
if (padding != null) {
|
|
163
|
+
set("inline", padding);
|
|
164
|
+
set("inline-start", padding);
|
|
165
|
+
set("inline-end", padding);
|
|
166
|
+
set("block-start", padding);
|
|
167
|
+
set("block-end", padding);
|
|
168
|
+
}
|
|
169
|
+
set("block-end", paddingBlockEnd);
|
|
170
|
+
return style;
|
|
171
|
+
}
|
|
172
|
+
//#endregion
|
|
173
|
+
//#region src/Layout/LayoutContent.vue
|
|
174
|
+
const _hoisted_1$2 = [
|
|
175
|
+
"role",
|
|
176
|
+
"aria-label",
|
|
177
|
+
"data-panels",
|
|
178
|
+
"data-edge-start",
|
|
179
|
+
"data-edge-end",
|
|
180
|
+
"data-edge-header",
|
|
181
|
+
"data-edge-footer",
|
|
182
|
+
"data-scrollable",
|
|
183
|
+
"data-explicit-padding",
|
|
184
|
+
"data-bleed"
|
|
185
|
+
];
|
|
186
|
+
const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
187
|
+
name: "AstryxLayoutContent",
|
|
188
|
+
inheritAttrs: false,
|
|
189
|
+
__name: "LayoutContent",
|
|
190
|
+
props: {
|
|
191
|
+
padding: {},
|
|
192
|
+
isScrollable: {
|
|
193
|
+
type: Boolean,
|
|
194
|
+
default: true
|
|
195
|
+
},
|
|
196
|
+
label: {},
|
|
197
|
+
role: {}
|
|
198
|
+
},
|
|
199
|
+
setup(__props, { expose: __expose }) {
|
|
200
|
+
const props = __props;
|
|
201
|
+
const attrs = useAttrs();
|
|
202
|
+
const root = useTemplateRef("root");
|
|
203
|
+
const slots = useLayoutSlots();
|
|
204
|
+
__expose({ element: root });
|
|
205
|
+
const panels = computed(() => {
|
|
206
|
+
if (slots.value.hasStart && slots.value.hasEnd) return "both";
|
|
207
|
+
if (slots.value.hasStart) return "start";
|
|
208
|
+
if (slots.value.hasEnd) return "end";
|
|
209
|
+
return "none";
|
|
210
|
+
});
|
|
211
|
+
const forwardedAttrs = computed(() => Object.fromEntries(Object.entries(attrs).filter(([key]) => key !== "class" && key !== "style")));
|
|
212
|
+
const rootClass = computed(() => ["astryx-layout-content", attrs.class]);
|
|
213
|
+
const rootStyle = computed(() => [regionPaddingStyle("--_layout-content", props.padding), attrs.style]);
|
|
214
|
+
return (_ctx, _cache) => {
|
|
215
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
216
|
+
ref_key: "root",
|
|
217
|
+
ref: root
|
|
218
|
+
}, forwardedAttrs.value, {
|
|
219
|
+
class: rootClass.value,
|
|
220
|
+
style: rootStyle.value,
|
|
221
|
+
role: __props.role,
|
|
222
|
+
"aria-label": __props.label,
|
|
223
|
+
"data-panels": panels.value,
|
|
224
|
+
"data-edge-start": !unref(slots).hasStart || void 0,
|
|
225
|
+
"data-edge-end": !unref(slots).hasEnd || void 0,
|
|
226
|
+
"data-edge-header": !unref(slots).hasHeader || void 0,
|
|
227
|
+
"data-edge-footer": !unref(slots).hasFooter || void 0,
|
|
228
|
+
"data-scrollable": __props.isScrollable || void 0,
|
|
229
|
+
"data-explicit-padding": __props.padding != null || void 0,
|
|
230
|
+
"data-bleed": __props.padding === 0 || void 0
|
|
231
|
+
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$2);
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
});
|
|
235
|
+
//#endregion
|
|
236
|
+
//#region src/Layout/LayoutHeader.vue
|
|
237
|
+
const _hoisted_1$1 = [
|
|
238
|
+
"role",
|
|
239
|
+
"aria-label",
|
|
240
|
+
"data-divider"
|
|
241
|
+
];
|
|
242
|
+
const _hoisted_2 = ["data-bleed"];
|
|
243
|
+
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
244
|
+
name: "AstryxLayoutHeader",
|
|
245
|
+
inheritAttrs: false,
|
|
246
|
+
__name: "LayoutHeader",
|
|
247
|
+
props: {
|
|
248
|
+
hasDivider: {
|
|
249
|
+
type: Boolean,
|
|
250
|
+
default: void 0
|
|
251
|
+
},
|
|
252
|
+
height: {},
|
|
253
|
+
padding: {},
|
|
254
|
+
paddingBlockEnd: {},
|
|
255
|
+
label: {},
|
|
256
|
+
role: {}
|
|
257
|
+
},
|
|
258
|
+
setup(__props, { expose: __expose }) {
|
|
259
|
+
const props = __props;
|
|
260
|
+
const attrs = useAttrs();
|
|
261
|
+
const root = useTemplateRef("root");
|
|
262
|
+
const dividers = useLayoutDividers();
|
|
263
|
+
__expose({ element: root });
|
|
264
|
+
const hasDivider = computed(() => props.hasDivider ?? dividers.value ?? false);
|
|
265
|
+
const forwardedAttrs = computed(() => Object.fromEntries(Object.entries(attrs).filter(([key]) => key !== "class" && key !== "style")));
|
|
266
|
+
const rootClass = computed(() => ["astryx-layout-header", attrs.class]);
|
|
267
|
+
const rootStyle = computed(() => [{ height: formatSize(props.height) }, attrs.style]);
|
|
268
|
+
const innerStyle = computed(() => regionPaddingStyle("--_layout-header", props.padding, props.paddingBlockEnd));
|
|
269
|
+
return (_ctx, _cache) => {
|
|
270
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
271
|
+
ref_key: "root",
|
|
272
|
+
ref: root
|
|
273
|
+
}, forwardedAttrs.value, {
|
|
274
|
+
class: rootClass.value,
|
|
275
|
+
style: rootStyle.value,
|
|
276
|
+
role: __props.role,
|
|
277
|
+
"aria-label": __props.label,
|
|
278
|
+
"data-divider": hasDivider.value || void 0
|
|
279
|
+
}), [createElementVNode("div", {
|
|
280
|
+
class: "astryx-layout-header__inner",
|
|
281
|
+
"data-bleed": __props.padding === 0 || void 0,
|
|
282
|
+
style: normalizeStyle(innerStyle.value)
|
|
283
|
+
}, [renderSlot(_ctx.$slots, "default")], 12, _hoisted_2)], 16, _hoisted_1$1);
|
|
284
|
+
};
|
|
285
|
+
}
|
|
286
|
+
});
|
|
287
|
+
//#endregion
|
|
288
|
+
//#region src/Layout/LayoutPanel.vue
|
|
289
|
+
const _hoisted_1 = [
|
|
290
|
+
"role",
|
|
291
|
+
"aria-label",
|
|
292
|
+
"data-area",
|
|
293
|
+
"data-divider",
|
|
294
|
+
"data-collapse",
|
|
295
|
+
"data-edge-header",
|
|
296
|
+
"data-edge-footer",
|
|
297
|
+
"data-scrollable",
|
|
298
|
+
"data-explicit-padding",
|
|
299
|
+
"data-bleed"
|
|
300
|
+
];
|
|
301
|
+
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
302
|
+
name: "AstryxLayoutPanel",
|
|
303
|
+
inheritAttrs: false,
|
|
304
|
+
__name: "LayoutPanel",
|
|
305
|
+
props: {
|
|
306
|
+
hasDivider: {
|
|
307
|
+
type: Boolean,
|
|
308
|
+
default: false
|
|
309
|
+
},
|
|
310
|
+
padding: {},
|
|
311
|
+
isScrollable: {
|
|
312
|
+
type: Boolean,
|
|
313
|
+
default: true
|
|
314
|
+
},
|
|
315
|
+
label: {},
|
|
316
|
+
role: {},
|
|
317
|
+
width: {},
|
|
318
|
+
resizable: {}
|
|
319
|
+
},
|
|
320
|
+
setup(__props, { expose: __expose }) {
|
|
321
|
+
const props = __props;
|
|
322
|
+
const attrs = useAttrs();
|
|
323
|
+
const root = useTemplateRef("root");
|
|
324
|
+
const area = useLayoutArea();
|
|
325
|
+
const slots = useLayoutSlots();
|
|
326
|
+
__expose({ element: root });
|
|
327
|
+
const width = computed(() => formatSize(props.resizable ? props.resizable._size : props.width));
|
|
328
|
+
const collapse = computed(() => !props.hasDivider && props.padding == null);
|
|
329
|
+
const forwardedAttrs = computed(() => Object.fromEntries(Object.entries(attrs).filter(([key]) => key !== "class" && key !== "style")));
|
|
330
|
+
const rootClass = computed(() => ["astryx-layout-panel", attrs.class]);
|
|
331
|
+
const rootStyle = computed(() => [
|
|
332
|
+
{ width: width.value },
|
|
333
|
+
regionPaddingStyle("--_layout-panel", props.padding),
|
|
334
|
+
attrs.style
|
|
335
|
+
]);
|
|
336
|
+
return (_ctx, _cache) => {
|
|
337
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
338
|
+
ref_key: "root",
|
|
339
|
+
ref: root
|
|
340
|
+
}, forwardedAttrs.value, {
|
|
341
|
+
class: rootClass.value,
|
|
342
|
+
style: rootStyle.value,
|
|
343
|
+
role: __props.role,
|
|
344
|
+
"aria-label": __props.label,
|
|
345
|
+
"data-area": unref(area),
|
|
346
|
+
"data-divider": __props.hasDivider || void 0,
|
|
347
|
+
"data-collapse": collapse.value || void 0,
|
|
348
|
+
"data-edge-header": !unref(slots).hasHeader || void 0,
|
|
349
|
+
"data-edge-footer": !unref(slots).hasFooter || void 0,
|
|
350
|
+
"data-scrollable": __props.isScrollable || void 0,
|
|
351
|
+
"data-explicit-padding": __props.padding != null || void 0,
|
|
352
|
+
"data-bleed": __props.padding === 0 || void 0
|
|
353
|
+
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1);
|
|
354
|
+
};
|
|
355
|
+
}
|
|
356
|
+
});
|
|
357
|
+
//#endregion
|
|
358
|
+
export { _sfc_main$3 as a, regionPaddingStyle as i, _sfc_main$1 as n, useLayoutDividers as o, _sfc_main$2 as r, _sfc_main as t };
|
package/dist/List/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as ItemLayout, c as ItemTarget, d as ListEdgeCompensation, f as ListItemProps, g as ListSlots, h as ListProps, i as ItemLabel, l as ItemText, m as ListMarkerStyle, n as ItemDensity, o as ItemProps, p as ListItemSlots, r as ItemElement, s as ItemSlots, t as ItemAlign, u as ListDensity } from "../types-CAZY4Xua.js";
|
|
2
|
-
import { a as useListContext, i as useItemDescriptionId, n as _default$1, r as _default, t as _default$2 } from "../index-
|
|
2
|
+
import { a as useListContext, i as useItemDescriptionId, n as _default$1, r as _default, t as _default$2 } from "../index-D-ZuubCK.js";
|
|
3
3
|
export { _default as Item, type ItemAlign, type ItemDensity, type ItemElement, type ItemLabel, type ItemLayout, type ItemProps, type ItemSlots, type ItemTarget, type ItemText, _default$1 as List, type ListDensity, type ListEdgeCompensation, _default$2 as ListItem, type ListItemProps, type ListItemSlots, type ListMarkerStyle, type ListProps, type ListSlots, useItemDescriptionId, useListContext };
|
package/dist/Markdown/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as MarkdownSlots, a as MarkdownAlign, c as MarkdownDensity, d as MarkdownHeadingProps, f as MarkdownImageProps, g as MarkdownProps, h as MarkdownListProps, i as _default, l as MarkdownDisplay, m as MarkdownLinkProps, n as uniqueSlug, o as MarkdownCodeProps, p as MarkdownInlineCodeProps, r as parseMarkdown, s as MarkdownComponents, t as slugify, u as MarkdownHeadingLevel } from "../index
|
|
1
|
+
import { _ as MarkdownSlots, a as MarkdownAlign, c as MarkdownDensity, d as MarkdownHeadingProps, f as MarkdownImageProps, g as MarkdownProps, h as MarkdownListProps, i as _default, l as MarkdownDisplay, m as MarkdownLinkProps, n as uniqueSlug, o as MarkdownCodeProps, p as MarkdownInlineCodeProps, r as parseMarkdown, s as MarkdownComponents, t as slugify, u as MarkdownHeadingLevel } from "../index-DfgHJE7H.js";
|
|
2
2
|
export { _default as Markdown, type MarkdownAlign, type MarkdownCodeProps, type MarkdownComponents, type MarkdownDensity, type MarkdownDisplay, type MarkdownHeadingLevel, type MarkdownHeadingProps, type MarkdownImageProps, type MarkdownInlineCodeProps, type MarkdownLinkProps, type MarkdownListProps, type MarkdownProps, type MarkdownSlots, parseMarkdown, slugify, uniqueSlug };
|
package/dist/Markdown/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as parseMarkdown, n as slugify, r as uniqueSlug, t as _sfc_main } from "../Markdown-
|
|
1
|
+
import { i as parseMarkdown, n as slugify, r as uniqueSlug, t as _sfc_main } from "../Markdown-CwtLr3f_.js";
|
|
2
2
|
export { _sfc_main as Markdown, parseMarkdown, slugify, uniqueSlug };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
2
2
|
import { t as _sfc_main$2 } from "./Heading-Dugosn6j.js";
|
|
3
|
+
import { a as useAstryxMessages } from "./context-D6ECRdc5.js";
|
|
3
4
|
import { t as _sfc_main$3 } from "./Blockquote-DFqBv_oJ.js";
|
|
4
|
-
import { a as useAstryxMessages } from "./context-BshXcNYX.js";
|
|
5
5
|
import { t as _sfc_main$4 } from "./CheckboxIndicator-DdJmksHt.js";
|
|
6
6
|
import { c as _sfc_main$5, t as _sfc_main$6 } from "./CodeBlock-BQdooQy2.js";
|
|
7
7
|
import { t as _sfc_main$7 } from "./Link-CprjOuTI.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../MetadataList-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../MetadataList-DlXQTLog.js";
|
|
2
2
|
export { _sfc_main as MetadataList, _sfc_main$1 as MetadataListItem };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as useAstryxMessages } from "./context-
|
|
1
|
+
import { a as useAstryxMessages } from "./context-D6ECRdc5.js";
|
|
2
2
|
import { Comment, Fragment, computed, defineComponent, h, inject, provide, ref, useId, useSlots } from "vue";
|
|
3
3
|
import "../styles/metadata-list.css";
|
|
4
4
|
//#region src/MetadataList/context.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MobileNavSide, c as MobileNavToggleProps, i as MobileNavProps, l as mobileNavKey, n as _default, o as MobileNavSlots, r as MobileNavEmits, s as MobileNavToggleEmits, t as _default$1 } from "../index-
|
|
1
|
+
import { a as MobileNavSide, c as MobileNavToggleProps, i as MobileNavProps, l as mobileNavKey, n as _default, o as MobileNavSlots, r as MobileNavEmits, s as MobileNavToggleEmits, t as _default$1 } from "../index-BeR-1LgF.js";
|
|
2
2
|
export { _default as MobileNav, type MobileNavEmits, type MobileNavProps, type MobileNavSide, type MobileNavSlots, _default$1 as MobileNavToggle, type MobileNavToggleEmits, type MobileNavToggleProps, mobileNavKey };
|
package/dist/MobileNav/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, r as mobileNavKey, t as _sfc_main$1 } from "../MobileNavToggle-
|
|
1
|
+
import { n as _sfc_main, r as mobileNavKey, t as _sfc_main$1 } from "../MobileNavToggle-CgQamG6E.js";
|
|
2
2
|
export { _sfc_main as MobileNav, _sfc_main$1 as MobileNavToggle, mobileNavKey };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as useFocusTrap, t as useRestoreFocus } from "./useRestoreFocus-BvMdXVX9.js";
|
|
2
|
-
import { a as useAstryxMessages } from "./context-
|
|
2
|
+
import { a as useAstryxMessages } from "./context-D6ECRdc5.js";
|
|
3
3
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeModels, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, provide, ref, renderSlot, toDisplayString, unref, useId, useModel, watch } from "vue";
|
|
4
4
|
import "../styles/mobile-nav.css";
|
|
5
5
|
//#region src/MobileNav/context.ts
|
|
@@ -7,10 +7,15 @@ import "../styles/mobile-nav.css";
|
|
|
7
7
|
const mobileNavKey = Symbol("astryx-mobile-nav");
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/MobileNav/MobileNav.vue
|
|
10
|
-
const _hoisted_1$1 = [
|
|
10
|
+
const _hoisted_1$1 = [
|
|
11
|
+
"id",
|
|
12
|
+
"aria-labelledby",
|
|
13
|
+
"aria-label"
|
|
14
|
+
];
|
|
11
15
|
const _hoisted_2 = { class: "astryx-mobile-nav__drawer" };
|
|
12
|
-
const _hoisted_3 = ["
|
|
13
|
-
const _hoisted_4 =
|
|
16
|
+
const _hoisted_3 = ["id"];
|
|
17
|
+
const _hoisted_4 = ["aria-label"];
|
|
18
|
+
const _hoisted_5 = { class: "astryx-mobile-nav__body" };
|
|
14
19
|
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
15
20
|
name: "AstryxMobileNav",
|
|
16
21
|
__name: "MobileNav",
|
|
@@ -18,7 +23,8 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
18
23
|
header: {},
|
|
19
24
|
width: { default: 320 },
|
|
20
25
|
side: { default: "auto" },
|
|
21
|
-
label: {}
|
|
26
|
+
label: {},
|
|
27
|
+
id: {}
|
|
22
28
|
}, {
|
|
23
29
|
"isOpen": {
|
|
24
30
|
type: Boolean,
|
|
@@ -34,8 +40,9 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
34
40
|
const isOpen = useModel(__props, "isOpen");
|
|
35
41
|
const dialogRef = ref(null);
|
|
36
42
|
const resolvedSide = ref(props.side === "end" ? "end" : "start");
|
|
37
|
-
const
|
|
38
|
-
const
|
|
43
|
+
const generatedId = `astryx-mobile-nav-${useId()}`;
|
|
44
|
+
const dialogId = computed(() => props.id || generatedId);
|
|
45
|
+
const labelId = computed(() => `${dialogId.value}-label`);
|
|
39
46
|
let previousOverflow = "";
|
|
40
47
|
const accessibleName = computed(() => props.label || props.header || messages.value.nav.mobileNav);
|
|
41
48
|
const trapEnabled = computed(() => isOpen.value);
|
|
@@ -101,21 +108,21 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
101
108
|
});
|
|
102
109
|
return (_ctx, _cache) => {
|
|
103
110
|
return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" eslint-disable-next-line vue-a11y/click-events-have-key-events, vue-a11y/no-static-element-interactions -- 点在 dialog 自身上等于点遮罩;键盘用户走原生 cancel。 "), createElementVNode("dialog", {
|
|
104
|
-
id: dialogId,
|
|
111
|
+
id: dialogId.value,
|
|
105
112
|
ref_key: "dialogRef",
|
|
106
113
|
ref: dialogRef,
|
|
107
114
|
class: normalizeClass(["astryx-mobile-nav", sideIsStart.value ? "astryx-mobile-nav--start" : "astryx-mobile-nav--end"]),
|
|
108
115
|
style: normalizeStyle({ "--astryx-mobile-nav-width": `${__props.width}px` }),
|
|
109
116
|
"aria-modal": "true",
|
|
110
|
-
"aria-labelledby": _ctx.$slots.header || __props.header ? labelId : void 0,
|
|
117
|
+
"aria-labelledby": _ctx.$slots.header || __props.header ? labelId.value : void 0,
|
|
111
118
|
"aria-label": _ctx.$slots.header || __props.header ? void 0 : accessibleName.value,
|
|
112
119
|
onCancel,
|
|
113
120
|
onClick: onDialogClick
|
|
114
121
|
}, [createElementVNode("div", _hoisted_2, [createElementVNode("div", { class: normalizeClass(["astryx-mobile-nav__header", { "astryx-mobile-nav__header--end": !_ctx.$slots.header && !__props.header }]) }, [_ctx.$slots.header || __props.header ? (openBlock(), createElementBlock("div", {
|
|
115
122
|
key: 0,
|
|
116
|
-
id: labelId,
|
|
123
|
+
id: labelId.value,
|
|
117
124
|
class: "astryx-mobile-nav__title"
|
|
118
|
-
}, [renderSlot(_ctx.$slots, "header", {}, () => [createTextVNode(toDisplayString(__props.header), 1)])])) : createCommentVNode("v-if", true), createElementVNode("button", {
|
|
125
|
+
}, [renderSlot(_ctx.$slots, "header", {}, () => [createTextVNode(toDisplayString(__props.header), 1)])], 8, _hoisted_3)) : createCommentVNode("v-if", true), createElementVNode("button", {
|
|
119
126
|
type: "button",
|
|
120
127
|
class: "astryx-mobile-nav__close",
|
|
121
128
|
"aria-label": unref(messages).nav.close,
|
|
@@ -123,7 +130,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
123
130
|
}, [..._cache[1] || (_cache[1] = [createElementVNode("span", {
|
|
124
131
|
class: "astryx-mobile-nav__close-glyph",
|
|
125
132
|
"aria-hidden": "true"
|
|
126
|
-
}, null, -1)])], 8,
|
|
133
|
+
}, null, -1)])], 8, _hoisted_4)], 2), createElementVNode("div", _hoisted_5, [renderSlot(_ctx.$slots, "default")])])], 46, _hoisted_1$1)], 2112);
|
|
127
134
|
};
|
|
128
135
|
}
|
|
129
136
|
});
|
package/dist/MoreMenu/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { An as
|
|
1
|
+
import { An as MoreMenuIcon, Dn as _default, Fn as MoreMenuPresentation, In as MoreMenuProps, Ln as MoreMenuResolvedPresentation, Mn as MoreMenuItem, Nn as MoreMenuItemVariant, On as MoreMenuDivider, Pn as MoreMenuOption, Rn as MoreMenuSection, jn as MoreMenuInitialFocus, kn as MoreMenuEmits, zn as MoreMenuSlots } from "../index-Df2YvC8o.js";
|
|
2
2
|
export { _default as MoreMenu, type MoreMenuDivider, type MoreMenuEmits, type MoreMenuIcon, type MoreMenuInitialFocus, type MoreMenuItem, type MoreMenuItemVariant, type MoreMenuOption, type MoreMenuPresentation, type MoreMenuProps, type MoreMenuResolvedPresentation, type MoreMenuSection, type MoreMenuSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MultiSelectorDivider, c as MultiSelectorOptionData, d as MultiSelectorSection, f as MultiSelectorSize, g as MultiSelectorVariant, h as MultiSelectorTriggerDisplay, i as MultiSelectorCheckboxPosition, l as MultiSelectorPresentation, m as MultiSelectorStatus, n as flattenOptions, o as MultiSelectorEmits, p as MultiSelectorSlots, r as _default, s as MultiSelectorOption, t as SELECT_ALL_VALUE, u as MultiSelectorProps } from "../index-
|
|
1
|
+
import { a as MultiSelectorDivider, c as MultiSelectorOptionData, d as MultiSelectorSection, f as MultiSelectorSize, g as MultiSelectorVariant, h as MultiSelectorTriggerDisplay, i as MultiSelectorCheckboxPosition, l as MultiSelectorPresentation, m as MultiSelectorStatus, n as flattenOptions, o as MultiSelectorEmits, p as MultiSelectorSlots, r as _default, s as MultiSelectorOption, t as SELECT_ALL_VALUE, u as MultiSelectorProps } from "../index-DGNqi2za.js";
|
|
2
2
|
export { _default as MultiSelector, type MultiSelectorCheckboxPosition, type MultiSelectorDivider, type MultiSelectorEmits, type MultiSelectorOption, type MultiSelectorOptionData, type MultiSelectorPresentation, type MultiSelectorProps, type MultiSelectorSection, type MultiSelectorSize, type MultiSelectorSlots, type MultiSelectorStatus, type MultiSelectorTriggerDisplay, type MultiSelectorVariant, SELECT_ALL_VALUE, flattenOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main } from "../MultiSelector-
|
|
1
|
+
import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main } from "../MultiSelector-DT8ZccMI.js";
|
|
2
2
|
export { _sfc_main as MultiSelector, SELECT_ALL_VALUE, flattenOptions };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as useCombobox } from "./useCombobox-CTo5C-gc.js";
|
|
2
2
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
3
|
+
import { a as useAstryxMessages } from "./context-D6ECRdc5.js";
|
|
3
4
|
import { t as _sfc_main$1 } from "./BottomSheet-Dg95HB1s.js";
|
|
4
|
-
import { a as useAstryxMessages } from "./context-BshXcNYX.js";
|
|
5
5
|
import { t as _sfc_main$2 } from "./CheckboxIndicator-DdJmksHt.js";
|
|
6
|
-
import { t as _sfc_main$3 } from "./Field-
|
|
7
|
-
import { t as _sfc_main$4 } from "./Token-
|
|
6
|
+
import { t as _sfc_main$3 } from "./Field-8zRxzDHE.js";
|
|
7
|
+
import { t as _sfc_main$4 } from "./Token-C4KD0fZD.js";
|
|
8
8
|
import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-7W90Ny-9.js";
|
|
9
9
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useId, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
10
10
|
import "../styles/visually-hidden-utility.css";
|
package/dist/NavItem/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as NavItemSize, i as NavItemProps, n as NavIconSlots, o as NavItemSlots, r as NavItemEmits, s as NavLinkComponent, t as NavIconProps } from "../types-BG23kC3S.js";
|
|
2
|
-
import { n as _default, r as resolveNavRoot, t as _default$1 } from "../index-
|
|
2
|
+
import { n as _default, r as resolveNavRoot, t as _default$1 } from "../index-fa72tWIU.js";
|
|
3
3
|
export { _default as NavIcon, type NavIconProps, type NavIconSlots, _default$1 as NavItem, type NavItemEmits, type NavItemProps, type NavItemSize, type NavItemSlots, type NavLinkComponent, resolveNavRoot };
|
package/dist/NavMenu/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as NavMenuEmits, c as NavMenuProps, i as NavDisclosureProps, l as NavMenuFocusRequest, n as _default$1, o as NavMenuItemEmits, r as _default, s as NavMenuItemProps, t as _default$2, u as NavMenuSize } from "../index-
|
|
1
|
+
import { a as NavMenuEmits, c as NavMenuProps, i as NavDisclosureProps, l as NavMenuFocusRequest, n as _default$1, o as NavMenuItemEmits, r as _default, s as NavMenuItemProps, t as _default$2, u as NavMenuSize } from "../index-CT8KEpec.js";
|
|
2
2
|
export { _default as NavDisclosure, type NavDisclosureProps, _default$1 as NavMenu, type NavMenuEmits, type NavMenuFocusRequest, _default$2 as NavMenuItem, type NavMenuItemEmits, type NavMenuItemProps, type NavMenuProps, type NavMenuSize };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as NumberInputEmits, r as NumberInputProps, t as _default } from "../index-
|
|
1
|
+
import { n as NumberInputEmits, r as NumberInputProps, t as _default } from "../index-2u4l3wq8.js";
|
|
2
2
|
export { _default as NumberInput, type NumberInputEmits, type NumberInputProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../NumberInput-
|
|
1
|
+
import { t as _sfc_main } from "../NumberInput-DspJO6z6.js";
|
|
2
2
|
export { _sfc_main as NumberInput };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as useNumberField } from "./useNumberField-DL-Radsp.js";
|
|
2
|
-
import { a as useAstryxMessages } from "./context-
|
|
2
|
+
import { a as useAstryxMessages } from "./context-D6ECRdc5.js";
|
|
3
3
|
import { computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock, ref, unref, useId } from "vue";
|
|
4
4
|
import "../styles/number-input.css";
|
|
5
5
|
//#region src/NumberInput/NumberInput.vue
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Cn as _default, En as OverflowListProps, Tn as OverflowListItem, wn as OverflowListEmits } from "../index-Df2YvC8o.js";
|
|
2
2
|
export { _default as OverflowList, type OverflowListEmits, type OverflowListItem, type OverflowListProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../OverflowList-
|
|
1
|
+
import { t as _sfc_main } from "../OverflowList-zXg3g6fy.js";
|
|
2
2
|
export { _sfc_main as OverflowList };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
2
|
-
import { a as useAstryxMessages } from "./context-
|
|
2
|
+
import { a as useAstryxMessages } from "./context-D6ECRdc5.js";
|
|
3
3
|
import { n as resolveNavRoot } from "./link-CdcUSxAj.js";
|
|
4
4
|
import { t as _sfc_main$2 } from "./NavDisclosure-DHrSNRDR.js";
|
|
5
5
|
import { n as _sfc_main$3, t as _sfc_main$4 } from "./NavMenuItem-mzNQESpB.js";
|
package/dist/Overlay/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as OverlayContainerProps, c as OverlayScrimMode, d as OverlayShowOn, f as OverlaySlots, i as OverlayAlign, l as OverlayScrimProps, m as UseOverlayResult, n as _default$1, o as OverlayPosition, p as UseOverlayOptions, r as _default, s as OverlayProps, t as useOverlay, u as OverlayScrimSlots } from "../index-
|
|
1
|
+
import { a as OverlayContainerProps, c as OverlayScrimMode, d as OverlayShowOn, f as OverlaySlots, i as OverlayAlign, l as OverlayScrimProps, m as UseOverlayResult, n as _default$1, o as OverlayPosition, p as UseOverlayOptions, r as _default, s as OverlayProps, t as useOverlay, u as OverlayScrimSlots } from "../index-BuubzuE8.js";
|
|
2
2
|
export { _default as Overlay, type OverlayAlign, type OverlayContainerProps, type OverlayPosition, type OverlayProps, _default$1 as OverlayScrim, type OverlayScrimMode, type OverlayScrimProps, type OverlayScrimSlots, type OverlayShowOn, type OverlaySlots, type UseOverlayOptions, type UseOverlayResult, useOverlay };
|
package/dist/Pagination/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Pagination-
|
|
1
|
+
import { t as _sfc_main } from "../Pagination-DXfgMUKJ.js";
|
|
2
2
|
export { _sfc_main as Pagination };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as useAstryxMessages } from "./context-
|
|
2
|
-
import { t as _sfc_main$1 } from "./Selector-
|
|
1
|
+
import { a as useAstryxMessages } from "./context-D6ECRdc5.js";
|
|
2
|
+
import { t as _sfc_main$1 } from "./Selector-DlZpQh42.js";
|
|
3
3
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, toValue, unref, vShow, withDirectives } from "vue";
|
|
4
4
|
import "../styles/pagination.css";
|
|
5
5
|
/**
|
package/dist/Popover/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as PopoverRole, i as PopoverProps, n as PopoverPadding, r as PopoverPlacement, t as PopoverAlignment } from "../types-Db3Owy8Q.js";
|
|
2
|
+
import { t as _default } from "../index-CjtAH60j.js";
|
|
2
3
|
export { _default as Popover, type PopoverAlignment, type PopoverPadding, type PopoverPlacement, type PopoverProps, type PopoverRole };
|
package/dist/Radio/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Sn as RadioValue, _n as RadioProps, bn as RadioStatus, cn as _default$1, dn as RadioGroupEmits, fn as RadioGroupProps, gn as RadioOrientation, hn as RadioOption, ln as _default, pn as RadioGroupSlots, un as RadioChangeEvent, vn as RadioSize, xn as RadioStatusType, yn as RadioSlots } from "../index-Df2YvC8o.js";
|
|
2
2
|
export { _default as Radio, type RadioChangeEvent, _default$1 as RadioGroup, type RadioGroupEmits, type RadioGroupProps, type RadioGroupSlots, type RadioOption, type RadioOrientation, type RadioProps, type RadioSize, type RadioSlots, type RadioStatus, type RadioStatusType, type RadioValue };
|
package/dist/Radio/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../RadioGroup-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../RadioGroup-BqjdSCfJ.js";
|
|
2
2
|
export { _sfc_main as Radio, _sfc_main$1 as RadioGroup };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as _sfc_main$2 } from "./Field-
|
|
1
|
+
import { t as _sfc_main$2 } from "./Field-8zRxzDHE.js";
|
|
2
2
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, defineComponent, inject, mergeModels, normalizeStyle, openBlock, provide, renderList, renderSlot, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, withCtx } from "vue";
|
|
3
3
|
import "../styles/radio.css";
|
|
4
4
|
//#region src/Radio/types.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { an as _default$1, mn as RadioListProps, on as RadioListItemProps, sn as _default } from "../index-Df2YvC8o.js";
|
|
2
2
|
export { _default as RadioList, _default$1 as RadioListItem, type RadioListItemProps, type RadioListProps };
|
package/dist/RadioList/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../RadioList-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../RadioList-DI8ujXcT.js";
|
|
2
2
|
export { _sfc_main as RadioList, _sfc_main$1 as RadioListItem };
|