@astryx-vue/core 0.2.2 → 0.2.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/THIRD_PARTY_NOTICES.md +2 -0
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-Cb41gIAj.js → AppShell-Dd-D4bA2.js} +2 -2
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Breadcrumbs/index.d.ts +3 -2
- package/dist/Breadcrumbs/index.js +3 -2
- package/dist/{Breadcrumbs-CTQ7fjDn.js → Breadcrumbs-CWGfgLNK.js} +13 -8
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +2 -2
- package/dist/Calendar/index.js +1 -1
- package/dist/Calendar-CnOsSjMY.js +656 -0
- package/dist/Card/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-X0cuQkvg.js → Carousel-JA7ilqI_.js} +2 -2
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-M0tiGrNT.js → Chat-C7WrCOE4.js} +3 -3
- package/dist/CheckboxIndicator/index.js +1 -1
- package/dist/CheckboxIndicator-D37cm2Rh.js +68 -0
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-CMsEE1_4.js → CheckboxInput-25Q8ItH-.js} +10 -9
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-BbCPiend.js → CheckboxList-CnCGnkZk.js} +77 -24
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-C1veUk5p.js → Citation-CtwrU33I.js} +2 -2
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +2 -2
- package/dist/{Code-yb_KOFtJ.js → Code-BvefYRpx.js} +2 -1
- package/dist/{CodeBlock-DesTJAkm.js → CodeBlock-BZGzYeoL.js} +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-BestK35V.js → Collapsible-3YerR-FO.js} +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-BArt97V8.js → CommandPalette-BNbM9T9y.js} +1 -1
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-CAoig1RK.js → ComplexSelector-LtbLlrcj.js} +3 -3
- package/dist/ContextMenu/index.d.ts +3 -2
- package/dist/ContextMenu/index.js +3 -2
- package/dist/{ContextMenu-9Im6i43E.js → ContextMenu-DVQl0xL5.js} +204 -56
- package/dist/DateInput/index.d.ts +2 -2
- package/dist/DateInput/index.js +1 -1
- package/dist/DateInput-zm8sNc0t.js +743 -0
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-DwDy3eRo.js → DateRangeInput-DlVFzrf7.js} +54 -19
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-BYiaC9bn.js → DateTimeInput-C7Z-p6Yd.js} +54 -15
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/DropdownMenu/index.d.ts +3 -3
- package/dist/DropdownMenu/index.js +4 -3
- package/dist/{DropdownMenu-Dh-WAHKb.js → DropdownMenu-BoZChdev.js} +308 -63
- package/dist/DropdownMenu-u1psFjis.js +325 -0
- package/dist/DropdownMenuRadioItem.vue-uVM0FD2f.d.ts +564 -0
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-DLO6V12n.js → FileInput-QdlZn7qK.js} +2 -2
- package/dist/Icon/index.d.ts +4 -3
- package/dist/Icon/index.js +2 -2
- package/dist/{Icon-CJKjdJy-.js → Icon-bteSId7T.js} +113 -18
- package/dist/Indicator/index.d.ts +3 -0
- package/dist/Indicator/index.js +2 -0
- package/dist/InputGroup/index.d.ts +2 -2
- package/dist/InputGroup/index.js +3 -2
- package/dist/InputGroup-BzR6JRZb.js +129 -0
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-CdFCS_EA.js → Lightbox-BSzfqZ-u.js} +2 -2
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-BqKloI3w.js → Markdown-B6tSqenv.js} +8 -5
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-CvZkmisf.js → MetadataList-aN1tRn6W.js} +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-Bwi0qXXM.js → MobileNavToggle-fqcSafkc.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-BwJaJrkB.js → MoreMenu-B3brqdK_.js} +1 -1
- package/dist/MultiSelector/index.d.ts +2 -2
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-C-ETfFy_.js → MultiSelector-BD5PMgez.js} +303 -121
- package/dist/{NavDisclosure-DHrSNRDR.js → NavDisclosure-DbYLDXK0.js} +1 -1
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.js +2 -2
- package/dist/{NavMenuItem-B-k7olt5.js → NavMenuItem-DrwIMHKO.js} +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-DjetVB8O.js → NumberInput-CBeU4lEl.js} +1 -1
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-Bz9c-u5y.js → Outline--HVMSB6i.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-ED-KN9Y5.js → OverflowList-FMh7r-r_.js} +3 -3
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-Cb66HMEf.js → Pagination-DlIvESjx.js} +2 -2
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-Crhk9PNP.js → Popover-D7zqpFwU.js} +1 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CjU8y4mi.js → PowerSearch-CMG7Rb69.js} +14 -14
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-BqjdSCfJ.js → RadioGroup-CBqUPq_L.js} +16 -8
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-DI8ujXcT.js → RadioList-CPOJn9Th.js} +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{Resizable-D-TBCg0Y.js → Resizable-CXpvj1TZ.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +2 -2
- package/dist/Selector/index.js +1 -1
- package/dist/Selector-BpPnuWH3.js +618 -0
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-DonEfiAx.js → SideNav-D4TupqgE.js} +3 -3
- package/dist/Stack/index.d.ts +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-D2ZIcUNx.js → Stepper-H-6-T5Ps.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-D3F-stq-.js → TabList-BlzkrObv.js} +2 -2
- package/dist/Table/index.js +1 -1
- package/dist/{Table-CrP2Uffq.js → Table-nqA_njNz.js} +6 -6
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/Theme/index.d.ts +2 -1
- package/dist/Theme/index.js +1 -1
- package/dist/{Theme-BuUiiJNr.js → Theme-CejS9MHm.js} +21 -3
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-BC5JGPGZ.js → Thumbnail-CXb3m_Hv.js} +2 -2
- package/dist/{TimeField-DpHFrNv0.js → TimeField-B3cndWb0.js} +2 -2
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-DJLV0_4z.js → TimeInput-BHQ_LKGm.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-GKNjjt5g.js → Timestamp-Cfuxbb3i.js} +2 -2
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-Chu_eCVs.js → Token-CdVLH0_H.js} +2 -2
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DRDpvQ_l.js → Tokenizer-DlD-S_8-.js} +3 -3
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-CEyWddtA.js → TopNav-DzV874G7.js} +5 -5
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-COS8US8e.js → TreeList-DEwvlZRV.js} +2 -2
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-P7cCqtaQ.js → Typeahead-DQ3tmqYe.js} +3 -3
- package/dist/{context-O2Vb8cJl.js → colorMode-CBgdgDSn.js} +1 -7
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +10 -5
- package/dist/{composables-CVfjp9h4.js → composables-DDI08XFF.js} +98 -1
- package/dist/context-Cws_tXTr.js +7 -0
- package/dist/context-D5-MwxnN.js +4 -0
- package/dist/{context-CiKncNSH.js → context-DmOLCubj.js} +82 -8
- package/dist/{index-DimuSES0.d.ts → index-B1x05arQ.d.ts} +3 -1
- package/dist/index-B9f1rUEv.d.ts +77 -0
- package/dist/{index-D-ZuubCK.d.ts → index-BB5yVIN-.d.ts} +2 -2
- package/dist/{index-Bu0Zd1uw.d.ts → index-BMn9ghAX.d.ts} +3 -3
- package/dist/{index-CJlBAXwj.d.ts → index-BRfR0lhb.d.ts} +41 -4
- package/dist/{index-DNRBbwp_.d.ts → index-BTAgQRP0.d.ts} +758 -111
- package/dist/{index-DA52oIdw.d.ts → index-BcJBLWJ0.d.ts} +2 -2
- package/dist/{index-jdjcb3Js.d.ts → index-Bqb_Fyju.d.ts} +2 -2
- package/dist/{index-CNjbOgty.d.ts → index-C-QpeUlQ.d.ts} +2 -2
- package/dist/{index-DGXviOlp.d.ts → index-C2sfHfBw.d.ts} +31 -5
- package/dist/{index-By2mSzUA.d.ts → index-CA6RbRWx.d.ts} +1 -1
- package/dist/{index-gW0HW02U.d.ts → index-COxy6LEW.d.ts} +1 -1
- package/dist/{index-CVn0GBdB.d.ts → index-Ca8VIE4l.d.ts} +1 -1
- package/dist/{index-CRizexSC.d.ts → index-Ch6BbxCP.d.ts} +2 -67
- package/dist/{index-DWH_HzXi.d.ts → index-ChWlKHjc.d.ts} +1 -1
- package/dist/{index-kVhSuA9t.d.ts → index-Ctu32CLv.d.ts} +4 -4
- package/dist/{index-DOUEn7V0.d.ts → index-D1Twv_fL.d.ts} +65 -6
- package/dist/{index-D_nYxnNv.d.ts → index-D7-WTV6I.d.ts} +1 -1
- package/dist/{index-c_TaW8mM.d.ts → index-D8o50qOE.d.ts} +1 -1
- package/dist/{index-D4I_obqR.d.ts → index-DAiGhkNZ.d.ts} +1 -1
- package/dist/{index-Cs5pcwY3.d.ts → index-DMQG6kdM.d.ts} +3 -3
- package/dist/index-D_UEJIU5.d.ts +83 -0
- package/dist/{index-fa72tWIU.d.ts → index-DkVEBdWa.d.ts} +2 -2
- package/dist/{index-B1TG2GPS.d.ts → index-DxsKyAxq.d.ts} +116 -44
- package/dist/{index-BHqRH7QW.d.ts → index-FEy8qFSD.d.ts} +2 -2
- package/dist/{index-qiZtHnGK.d.ts → index-LIyvJTW3.d.ts} +39 -0
- package/dist/{index-BKr7yvVv.d.ts → index-MPcg1Pm4.d.ts} +1 -1
- package/dist/{index-cGagYM1g.d.ts → index-ViSV0RBx.d.ts} +1 -1
- package/dist/{index-C7mxUcDR.d.ts → index-f4NGT-e2.d.ts} +4 -4
- package/dist/{index-DsyKhauk.d.ts → index-foQMNKZO.d.ts} +1 -1
- package/dist/{index-u5ozu0G7.d.ts → index-vP0EtrJJ.d.ts} +13 -3
- package/dist/{index-CZeoAr0a.d.ts → index-xfkEuGLY.d.ts} +2 -2
- package/dist/index.d.ts +76 -75
- package/dist/index.js +115 -107
- package/dist/locale/index.d.ts +1 -1
- package/dist/locale/index.js +2 -2
- package/dist/{locale-Cpk_nrLA.js → locale-CCwVnyMZ.js} +25 -1
- package/dist/searchResultMessage-DN0HeRRB.js +94 -0
- package/dist/semantic-CKH9XVqa.d.ts +54 -0
- package/dist/{types-pnljWjEE.d.ts → types-CwyibrRB.d.ts} +12 -11
- package/dist/types-jmqqnkKA.d.ts +163 -0
- package/dist/{useAnchoredListbox-7W90Ny-9.js → useAnchoredListbox-BN9LQnon.js} +1 -1
- package/dist/useDatePresentation-C07PnOCw.js +21 -0
- package/dist/{useMonthGrid-CmJsZTcB.js → useDateRange-CIXoE_8k.js} +1 -42
- package/dist/useDisclosureHandle-Df3HhAfC.js +24 -0
- package/dist/{useDismiss-CAiHU6QD.js → useDismiss-Cj8x_51F.js} +8 -4
- package/dist/useFieldControlState-voICDrys.js +18 -0
- package/dist/useHandleRef-6cdKugm8.js +17 -0
- package/dist/useIndicator-i1NORM7W.js +147 -0
- package/dist/useMenuDrillIn-OaEwjK44.js +520 -0
- package/dist/useMonthGrid-fGHSSrFc.js +43 -0
- package/dist/usePendingChange-ib-h8FZK.js +25 -0
- package/dist/useSubmenuMode-CZN9qrUo.js +37 -0
- package/package.json +5 -1
- package/styles/calendar.css +38 -3
- package/styles/check-indicator.css +17 -0
- package/styles/checkbox-indicator.css +29 -10
- package/styles/checkbox-input.css +0 -11
- package/styles/date-input.css +48 -0
- package/styles/dropdown-menu.css +163 -0
- package/styles/field.css +48 -0
- package/styles/icon.css +51 -3
- package/styles/input-group.css +32 -3
- package/styles/multi-selector.css +26 -0
- package/styles/radio-indicator.css +90 -0
- package/styles/radio.css +9 -42
- package/styles/selector.css +112 -14
- package/styles.css +2 -0
- package/dist/Calendar-BFaI5AMv.js +0 -352
- package/dist/CheckboxIndicator-DdJmksHt.js +0 -52
- package/dist/DateInput-BLocxqC3.js +0 -376
- package/dist/DropdownMenu-Ddfr-aEC.js +0 -164
- package/dist/InputGroup-ChrFVxzV.js +0 -42
- package/dist/Selector-DE2IEFML.js +0 -468
- package/dist/index-Bgv4ZmBl.d.ts +0 -72
- package/dist/index-DN7MXPHM.d.ts +0 -398
- package/dist/index-IbUN4M8V.d.ts +0 -40
- package/dist/types-DDAAT1Xd.d.ts +0 -285
- package/dist/useGridRovingFocus-DQQAOYH5.js +0 -99
- /package/dist/{index-BUXNRekN.d.ts → index-BXkNZF3q.d.ts} +0 -0
|
@@ -0,0 +1,564 @@
|
|
|
1
|
+
import { a as ButtonProps } from "./types-WlmsNL1I.js";
|
|
2
|
+
import { n as LayerPlacement, t as LayerAlignment } from "./position-DFW5ymAF.js";
|
|
3
|
+
import { c as ItemTarget } from "./types-CAZY4Xua.js";
|
|
4
|
+
import { Component, VNodeChild } from "vue";
|
|
5
|
+
//#region src/DropdownMenu/types.d.ts
|
|
6
|
+
/** Size of the menu, derived from the trigger button's size. */
|
|
7
|
+
type DropdownMenuSize = 'sm' | 'md' | 'lg';
|
|
8
|
+
/**
|
|
9
|
+
* Where the menu opens.
|
|
10
|
+
*
|
|
11
|
+
* `popover` hangs off the trigger. `bottom-sheet` rises from the bottom edge.
|
|
12
|
+
* `adaptive` uses the sheet only on a compact touch surface.
|
|
13
|
+
*/
|
|
14
|
+
type DropdownMenuPresentation = 'adaptive' | 'bottom-sheet' | 'popover';
|
|
15
|
+
/** Visual variant of one menu row. */
|
|
16
|
+
type DropdownMenuItemVariant = 'default' | 'destructive';
|
|
17
|
+
/**
|
|
18
|
+
* The trigger button's properties.
|
|
19
|
+
*
|
|
20
|
+
* Every `Button` prop is accepted except `clickAction`, which would compete
|
|
21
|
+
* with the menu for the trigger's click. Hover and pressed paint stay the
|
|
22
|
+
* Button's own; the open state is exposed to CSS as `[data-open='true']` on the
|
|
23
|
+
* trigger wrapper.
|
|
24
|
+
*/
|
|
25
|
+
type DropdownMenuButtonProps = Omit<ButtonProps, 'clickAction'>;
|
|
26
|
+
/**
|
|
27
|
+
* The wiring a custom trigger spreads onto the control that opens the menu.
|
|
28
|
+
*
|
|
29
|
+
* These keys are already written in the attribute form the DOM wants, so
|
|
30
|
+
* `v-bind` them wholesale onto the control. The menu is then named by that
|
|
31
|
+
* control through `aria-labelledby`.
|
|
32
|
+
*/
|
|
33
|
+
interface DropdownMenuTriggerProps {
|
|
34
|
+
/** The control's id; the menu points at it with `aria-labelledby`. */
|
|
35
|
+
'id': string;
|
|
36
|
+
'aria-haspopup': 'menu';
|
|
37
|
+
'aria-expanded': boolean;
|
|
38
|
+
'aria-controls': string;
|
|
39
|
+
/** Toggles the menu. */
|
|
40
|
+
'onClick': (event: MouseEvent) => void;
|
|
41
|
+
/** Opens on Enter, Space, ArrowDown and ArrowUp; while open, ArrowDown walks into the menu. */
|
|
42
|
+
'onKeyDown': (event: KeyboardEvent) => void;
|
|
43
|
+
}
|
|
44
|
+
/** One action row of the `items` data API. */
|
|
45
|
+
interface DropdownMenuItemData {
|
|
46
|
+
/**
|
|
47
|
+
* Stable identity for the row. Omit it and the row is keyed by position,
|
|
48
|
+
* which is correct for a fixed menu; set it when `items` can reorder,
|
|
49
|
+
* filter, or grow, so a row keeps its DOM node — and therefore keyboard
|
|
50
|
+
* focus — as the array changes around it.
|
|
51
|
+
*/
|
|
52
|
+
id?: string;
|
|
53
|
+
/** Primary label content. */
|
|
54
|
+
label: string | number;
|
|
55
|
+
/**
|
|
56
|
+
* Icon shown before the label.
|
|
57
|
+
*
|
|
58
|
+
* Pass a CSS icon class — for example an UnoCSS class such as
|
|
59
|
+
* `'i-carbon-copy'` — or a Vue component that draws the SVG. astryx-vue ships
|
|
60
|
+
* no icons of its own.
|
|
61
|
+
*/
|
|
62
|
+
icon?: string | Component;
|
|
63
|
+
/** Secondary line below the label. */
|
|
64
|
+
description?: string | number;
|
|
65
|
+
/**
|
|
66
|
+
* Whether the row is disabled.
|
|
67
|
+
* @default false
|
|
68
|
+
*/
|
|
69
|
+
isDisabled?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Visual variant. `destructive` renders the label, description, and icon in
|
|
72
|
+
* the error color for dangerous actions.
|
|
73
|
+
* @default 'default'
|
|
74
|
+
*/
|
|
75
|
+
variant?: DropdownMenuItemVariant;
|
|
76
|
+
/** Trailing content, such as a keyboard-shortcut hint. */
|
|
77
|
+
endContent?: VNodeChild;
|
|
78
|
+
/**
|
|
79
|
+
* Whether activating the row closes the menu. Set `false` for an action that
|
|
80
|
+
* reports its result on the row itself.
|
|
81
|
+
* @default true
|
|
82
|
+
*/
|
|
83
|
+
hasCloseOnSelect?: boolean;
|
|
84
|
+
/** Address the row navigates to; the row then renders as a link. */
|
|
85
|
+
href?: string;
|
|
86
|
+
/** Link target. Only used with `href`. */
|
|
87
|
+
target?: ItemTarget;
|
|
88
|
+
/** Link relationship. Only used with `href`. */
|
|
89
|
+
rel?: string;
|
|
90
|
+
/** Called when the row is activated. */
|
|
91
|
+
onClick?: (event: MouseEvent) => void;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* A checkbox row of the `items` data API.
|
|
95
|
+
*
|
|
96
|
+
* The checked state is controlled: the row renders `checked` and reports the
|
|
97
|
+
* next value through `onChange`. Toggling leaves the menu open unless
|
|
98
|
+
* `hasCloseOnSelect` is set.
|
|
99
|
+
*/
|
|
100
|
+
interface DropdownMenuCheckboxData {
|
|
101
|
+
type: 'checkbox';
|
|
102
|
+
/** Stable identity for the row. */
|
|
103
|
+
id?: string;
|
|
104
|
+
/** Primary label content. */
|
|
105
|
+
label: string | number;
|
|
106
|
+
/** Icon shown before the label. A CSS class or a component. */
|
|
107
|
+
icon?: string | Component;
|
|
108
|
+
/** Secondary line below the label. */
|
|
109
|
+
description?: string | number;
|
|
110
|
+
/**
|
|
111
|
+
* Whether the row is checked.
|
|
112
|
+
*/
|
|
113
|
+
checked: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* Whether the row is disabled.
|
|
116
|
+
* @default false
|
|
117
|
+
*/
|
|
118
|
+
isDisabled?: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Whether toggling the row closes the menu. Checkbox rows stay open so
|
|
121
|
+
* several can be toggled in one session.
|
|
122
|
+
* @default false
|
|
123
|
+
*/
|
|
124
|
+
hasCloseOnSelect?: boolean;
|
|
125
|
+
/** Trailing content, such as a keyboard-shortcut hint. */
|
|
126
|
+
endContent?: VNodeChild;
|
|
127
|
+
/** Called with the next checked state. */
|
|
128
|
+
onChange?: (checked: boolean) => void;
|
|
129
|
+
}
|
|
130
|
+
/** One option inside a radio group of the `items` data API. */
|
|
131
|
+
interface DropdownMenuRadioOptionData {
|
|
132
|
+
/** Stable identity for the option. */
|
|
133
|
+
id?: string;
|
|
134
|
+
/** Value this option represents. The group's `value` matches it. */
|
|
135
|
+
value: string;
|
|
136
|
+
/** Primary label content. */
|
|
137
|
+
label: string | number;
|
|
138
|
+
/** Icon shown before the label. A CSS class or a component. */
|
|
139
|
+
icon?: string | Component;
|
|
140
|
+
/** Secondary line below the label. */
|
|
141
|
+
description?: string | number;
|
|
142
|
+
/**
|
|
143
|
+
* Whether this option is disabled.
|
|
144
|
+
* @default false
|
|
145
|
+
*/
|
|
146
|
+
isDisabled?: boolean;
|
|
147
|
+
/** Trailing content. */
|
|
148
|
+
endContent?: VNodeChild;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* A single-select radio group of the `items` data API.
|
|
152
|
+
*
|
|
153
|
+
* The selected value is controlled. Choosing an option closes the menu unless
|
|
154
|
+
* `hasCloseOnSelect` is `false`.
|
|
155
|
+
*/
|
|
156
|
+
interface DropdownMenuRadioData {
|
|
157
|
+
type: 'radio';
|
|
158
|
+
/** Stable identity for the group. */
|
|
159
|
+
id?: string;
|
|
160
|
+
/**
|
|
161
|
+
* Accessible name of the group, announced with the options as one set.
|
|
162
|
+
*/
|
|
163
|
+
label: string;
|
|
164
|
+
/**
|
|
165
|
+
* The selected value. Leave it unset when nothing is selected yet.
|
|
166
|
+
*/
|
|
167
|
+
value?: string;
|
|
168
|
+
/**
|
|
169
|
+
* Whether choosing a value closes the menu.
|
|
170
|
+
* @default true
|
|
171
|
+
*/
|
|
172
|
+
hasCloseOnSelect?: boolean;
|
|
173
|
+
/** The options. Exactly one can be selected. */
|
|
174
|
+
items: DropdownMenuRadioOptionData[];
|
|
175
|
+
/** Called with the next selected value. */
|
|
176
|
+
onChange?: (value: string) => void;
|
|
177
|
+
}
|
|
178
|
+
/** A row the data API can place inside a section or at the top level. */
|
|
179
|
+
type DropdownMenuEntry = DropdownMenuItemData | DropdownMenuCheckboxData | DropdownMenuRadioData;
|
|
180
|
+
/** A divider row of the `items` data API. */
|
|
181
|
+
interface DropdownMenuDividerData {
|
|
182
|
+
type: 'divider';
|
|
183
|
+
}
|
|
184
|
+
/** A titled group of rows of the `items` data API. */
|
|
185
|
+
interface DropdownMenuSection {
|
|
186
|
+
type: 'section';
|
|
187
|
+
/** Stable identity for the group. */
|
|
188
|
+
id?: string;
|
|
189
|
+
/** Heading shown above the group's rows and used as its accessible name. */
|
|
190
|
+
title?: string;
|
|
191
|
+
items: DropdownMenuEntry[];
|
|
192
|
+
}
|
|
193
|
+
/** One entry of the `items` data API. */
|
|
194
|
+
type DropdownMenuOption = DropdownMenuEntry | DropdownMenuDividerData | DropdownMenuSection;
|
|
195
|
+
interface DropdownMenuProps {
|
|
196
|
+
/**
|
|
197
|
+
* The design system's own button as the trigger. Ignored when the `trigger`
|
|
198
|
+
* slot renders a control instead.
|
|
199
|
+
* @default { label: 'Menu' }
|
|
200
|
+
*/
|
|
201
|
+
button?: DropdownMenuButtonProps;
|
|
202
|
+
/**
|
|
203
|
+
* Data-mode menu entries: action items, `{ type: 'divider' }`, and
|
|
204
|
+
* `{ type: 'section', title, items }`. Provide either `items` or the default
|
|
205
|
+
* slot; `items` wins when both are present.
|
|
206
|
+
*/
|
|
207
|
+
items?: DropdownMenuOption[];
|
|
208
|
+
/**
|
|
209
|
+
* Controlled open state. Pair it with `v-model:is-menu-open`. Left out, the
|
|
210
|
+
* menu manages its own open state.
|
|
211
|
+
*/
|
|
212
|
+
isMenuOpen?: boolean;
|
|
213
|
+
/**
|
|
214
|
+
* Minimum width of the menu. A length grows for its content; an intrinsic
|
|
215
|
+
* keyword such as `max-content` becomes the preferred width instead. Every
|
|
216
|
+
* form is capped to the viewport. Defaults to the trigger's width, capped.
|
|
217
|
+
*/
|
|
218
|
+
menuWidth?: number | string;
|
|
219
|
+
/**
|
|
220
|
+
* Maximum height of the menu in pixels, for a menu that must fit its rows.
|
|
221
|
+
* Lifts the default 300px cap; the viewport still bounds it.
|
|
222
|
+
*/
|
|
223
|
+
menuMaxHeight?: number;
|
|
224
|
+
/**
|
|
225
|
+
* Where the menu opens relative to the trigger. Flips when there is no room.
|
|
226
|
+
* @default 'below'
|
|
227
|
+
*/
|
|
228
|
+
placement?: LayerPlacement;
|
|
229
|
+
/**
|
|
230
|
+
* `popover` anchors to the trigger. `bottom-sheet` uses a bottom sheet.
|
|
231
|
+
* `adaptive` chooses the sheet on a compact touch surface and a popover
|
|
232
|
+
* otherwise.
|
|
233
|
+
* @default 'popover'
|
|
234
|
+
*/
|
|
235
|
+
presentation?: DropdownMenuPresentation;
|
|
236
|
+
/**
|
|
237
|
+
* How the menu aligns with the trigger along the placement axis.
|
|
238
|
+
* @default 'start'
|
|
239
|
+
*/
|
|
240
|
+
alignment?: LayerAlignment;
|
|
241
|
+
/**
|
|
242
|
+
* Whether the trigger button shows a trailing chevron. Hidden by default on
|
|
243
|
+
* an icon-only trigger.
|
|
244
|
+
* @default true
|
|
245
|
+
*/
|
|
246
|
+
hasChevron?: boolean;
|
|
247
|
+
}
|
|
248
|
+
interface DropdownMenuEmits {
|
|
249
|
+
'update:isMenuOpen': [isOpen: boolean];
|
|
250
|
+
/** Fired when the open state changes. */
|
|
251
|
+
'openChange': [isOpen: boolean];
|
|
252
|
+
/** Fired when the trigger is activated. */
|
|
253
|
+
'click': [];
|
|
254
|
+
}
|
|
255
|
+
interface DropdownMenuSlots {
|
|
256
|
+
/**
|
|
257
|
+
* Compound menu content: items, checkbox rows, radio groups, dividers and
|
|
258
|
+
* groups. Mutually exclusive with `items`.
|
|
259
|
+
*/
|
|
260
|
+
default?: () => VNodeChild;
|
|
261
|
+
/**
|
|
262
|
+
* The control the menu hangs off — an icon button, a chip, an avatar, a list
|
|
263
|
+
* row. Spread the given props onto it.
|
|
264
|
+
*/
|
|
265
|
+
trigger?: (props: DropdownMenuTriggerProps) => VNodeChild;
|
|
266
|
+
/**
|
|
267
|
+
* Content above the rows and outside the menu: a filter field, a switch.
|
|
268
|
+
* It keeps its own keys. Tab moves from it into the menu.
|
|
269
|
+
*/
|
|
270
|
+
header?: () => VNodeChild;
|
|
271
|
+
/**
|
|
272
|
+
* Content below the rows and outside the menu: a creation button, a note.
|
|
273
|
+
* Tab from the last control here closes the menu.
|
|
274
|
+
*/
|
|
275
|
+
footer?: () => VNodeChild;
|
|
276
|
+
}
|
|
277
|
+
interface DropdownMenuItemProps {
|
|
278
|
+
/**
|
|
279
|
+
* Primary label content. Use the `label` slot for rich content.
|
|
280
|
+
*/
|
|
281
|
+
label?: string | number;
|
|
282
|
+
/**
|
|
283
|
+
* Secondary line below the label. Use the `description` slot for rich
|
|
284
|
+
* content.
|
|
285
|
+
*/
|
|
286
|
+
description?: string | number;
|
|
287
|
+
/**
|
|
288
|
+
* Icon shown before the label.
|
|
289
|
+
*
|
|
290
|
+
* Pass a CSS icon class — for example an UnoCSS class such as
|
|
291
|
+
* `'i-carbon-copy'` — or a Vue component that draws the SVG. astryx-vue ships
|
|
292
|
+
* no icons of its own. Use the `icon` slot for arbitrary content.
|
|
293
|
+
*/
|
|
294
|
+
icon?: string | Component;
|
|
295
|
+
/**
|
|
296
|
+
* Whether the row is disabled. A disabled row is skipped by the arrow keys
|
|
297
|
+
* and by typeahead.
|
|
298
|
+
* @default false
|
|
299
|
+
*/
|
|
300
|
+
isDisabled?: boolean;
|
|
301
|
+
/**
|
|
302
|
+
* Visual variant. `destructive` renders the label, description, and icon in
|
|
303
|
+
* the error color for dangerous actions.
|
|
304
|
+
* @default 'default'
|
|
305
|
+
*/
|
|
306
|
+
variant?: DropdownMenuItemVariant;
|
|
307
|
+
/**
|
|
308
|
+
* Whether activating the row closes the menu. Set `false` for an action that
|
|
309
|
+
* reports its result on the row itself.
|
|
310
|
+
* @default true
|
|
311
|
+
*/
|
|
312
|
+
hasCloseOnSelect?: boolean;
|
|
313
|
+
/**
|
|
314
|
+
* Address the row navigates to. The row then renders as one anchor carrying
|
|
315
|
+
* `role="menuitem"`, so a modified click and a middle click keep the
|
|
316
|
+
* browser's meaning.
|
|
317
|
+
*/
|
|
318
|
+
href?: string;
|
|
319
|
+
/**
|
|
320
|
+
* Link target. Only used with `href`.
|
|
321
|
+
*/
|
|
322
|
+
target?: ItemTarget;
|
|
323
|
+
/**
|
|
324
|
+
* Link relationship. `noopener` and `noreferrer` are merged in for
|
|
325
|
+
* `target="_blank"`. Only used with `href`.
|
|
326
|
+
*/
|
|
327
|
+
rel?: string;
|
|
328
|
+
/**
|
|
329
|
+
* Called when the row is activated. On a link row it runs before the browser
|
|
330
|
+
* navigates, and is skipped for a modified click, which the browser owns.
|
|
331
|
+
*/
|
|
332
|
+
onClick?: (event: MouseEvent) => void;
|
|
333
|
+
}
|
|
334
|
+
interface DropdownMenuItemEmits {
|
|
335
|
+
/** Fired when the row is activated. */
|
|
336
|
+
click: [event: MouseEvent];
|
|
337
|
+
}
|
|
338
|
+
interface DropdownMenuItemSlots {
|
|
339
|
+
/** Rich content replacing the `icon` prop. */
|
|
340
|
+
icon?: () => VNodeChild;
|
|
341
|
+
/** Rich content replacing the `label` prop. */
|
|
342
|
+
label?: () => VNodeChild;
|
|
343
|
+
/** Rich content replacing the `description` prop. */
|
|
344
|
+
description?: () => VNodeChild;
|
|
345
|
+
/** Trailing content, such as a keyboard-shortcut hint. */
|
|
346
|
+
endContent?: () => VNodeChild;
|
|
347
|
+
}
|
|
348
|
+
interface DropdownMenuGroupProps {
|
|
349
|
+
/**
|
|
350
|
+
* Heading shown above the group's rows and used as the group's accessible
|
|
351
|
+
* name. Omit it for an unnamed group.
|
|
352
|
+
*/
|
|
353
|
+
title?: string | number;
|
|
354
|
+
}
|
|
355
|
+
interface DropdownMenuGroupSlots {
|
|
356
|
+
/** The rows of the group. */
|
|
357
|
+
default?: () => VNodeChild;
|
|
358
|
+
/** Rich content replacing the `title` prop, still used as the group's name. */
|
|
359
|
+
title?: () => VNodeChild;
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* How a submenu shows its rows.
|
|
363
|
+
*
|
|
364
|
+
* `flyout` opens them beside the row. `drill-in` replaces the menu's rows
|
|
365
|
+
* with them and a Back row, in the same box. `adaptive` drills in when the
|
|
366
|
+
* menu opened on a compact touch surface and flies out otherwise.
|
|
367
|
+
*/
|
|
368
|
+
type DropdownMenuSubMenuPresentation = 'flyout' | 'drill-in' | 'adaptive';
|
|
369
|
+
interface DropdownMenuSubMenuProps {
|
|
370
|
+
/** Row label. */
|
|
371
|
+
label?: string | number;
|
|
372
|
+
/** Icon before the label. A CSS class or a component. */
|
|
373
|
+
icon?: string | Component;
|
|
374
|
+
/** Secondary line under the label. */
|
|
375
|
+
description?: string | number;
|
|
376
|
+
/**
|
|
377
|
+
* Whether the row can open its flyout.
|
|
378
|
+
* @default false
|
|
379
|
+
*/
|
|
380
|
+
isDisabled?: boolean;
|
|
381
|
+
/**
|
|
382
|
+
* Show a spinner in place of the caret, for a submenu whose rows are still
|
|
383
|
+
* loading. Opening still works; the spinner only replaces the caret.
|
|
384
|
+
* @default false
|
|
385
|
+
*/
|
|
386
|
+
hasSpinner?: boolean;
|
|
387
|
+
/**
|
|
388
|
+
* Minimum width of the flyout. A length may grow for its content and is
|
|
389
|
+
* capped to the viewport. Defaults to the flyout's content, at least 160px.
|
|
390
|
+
*/
|
|
391
|
+
menuWidth?: number | string;
|
|
392
|
+
/**
|
|
393
|
+
* How the submenu shows its rows.
|
|
394
|
+
* @default 'adaptive'
|
|
395
|
+
*/
|
|
396
|
+
presentation?: DropdownMenuSubMenuPresentation;
|
|
397
|
+
}
|
|
398
|
+
interface DropdownMenuSubMenuEmits {
|
|
399
|
+
/** Fired when the flyout or the drilled view opens or closes. */
|
|
400
|
+
openChange: [isOpen: boolean];
|
|
401
|
+
}
|
|
402
|
+
interface DropdownMenuSubMenuSlots {
|
|
403
|
+
/** The rows of the nested menu. */
|
|
404
|
+
default?: () => VNodeChild;
|
|
405
|
+
icon?: () => VNodeChild;
|
|
406
|
+
label?: () => VNodeChild;
|
|
407
|
+
description?: () => VNodeChild;
|
|
408
|
+
}
|
|
409
|
+
interface DropdownMenuCheckboxItemProps {
|
|
410
|
+
/**
|
|
411
|
+
* Primary label content. Use the `label` slot for rich content.
|
|
412
|
+
*/
|
|
413
|
+
label?: string | number;
|
|
414
|
+
/**
|
|
415
|
+
* Secondary line below the label.
|
|
416
|
+
*/
|
|
417
|
+
description?: string | number;
|
|
418
|
+
/**
|
|
419
|
+
* Icon shown before the label. A CSS class or a component.
|
|
420
|
+
*/
|
|
421
|
+
icon?: string | Component;
|
|
422
|
+
/**
|
|
423
|
+
* Whether the row is checked. Pair it with `v-model`.
|
|
424
|
+
*/
|
|
425
|
+
modelValue: boolean;
|
|
426
|
+
/**
|
|
427
|
+
* Whether the row is disabled. A disabled row stays in the accessibility
|
|
428
|
+
* tree and is skipped by the arrow keys; activation is blocked.
|
|
429
|
+
* @default false
|
|
430
|
+
*/
|
|
431
|
+
isDisabled?: boolean;
|
|
432
|
+
/**
|
|
433
|
+
* Whether toggling the row closes the menu. Checkbox rows stay open so
|
|
434
|
+
* several can be toggled without reopening the menu.
|
|
435
|
+
* @default false
|
|
436
|
+
*/
|
|
437
|
+
hasCloseOnSelect?: boolean;
|
|
438
|
+
}
|
|
439
|
+
interface DropdownMenuCheckboxItemEmits {
|
|
440
|
+
/** Fired with the next checked state. */
|
|
441
|
+
change: [checked: boolean];
|
|
442
|
+
}
|
|
443
|
+
interface DropdownMenuCheckboxItemSlots {
|
|
444
|
+
icon?: () => VNodeChild;
|
|
445
|
+
label?: () => VNodeChild;
|
|
446
|
+
description?: () => VNodeChild;
|
|
447
|
+
endContent?: () => VNodeChild;
|
|
448
|
+
}
|
|
449
|
+
interface DropdownMenuRadioGroupProps {
|
|
450
|
+
/**
|
|
451
|
+
* The selected value. Leave it unset when nothing is selected yet. Pair it
|
|
452
|
+
* with `v-model`.
|
|
453
|
+
*/
|
|
454
|
+
modelValue?: string;
|
|
455
|
+
/**
|
|
456
|
+
* Accessible name of the group. Required, so the options are announced as
|
|
457
|
+
* one named set. Pass `aria-labelledby` on the group when a visible element
|
|
458
|
+
* already names it.
|
|
459
|
+
*/
|
|
460
|
+
label: string;
|
|
461
|
+
/**
|
|
462
|
+
* Whether choosing a value closes the menu. A radio group is a single
|
|
463
|
+
* choice, so it closes.
|
|
464
|
+
* @default true
|
|
465
|
+
*/
|
|
466
|
+
hasCloseOnSelect?: boolean;
|
|
467
|
+
}
|
|
468
|
+
interface DropdownMenuRadioGroupEmits {
|
|
469
|
+
/** Fired with the next selected value. */
|
|
470
|
+
change: [value: string];
|
|
471
|
+
}
|
|
472
|
+
interface DropdownMenuRadioGroupSlots {
|
|
473
|
+
/** The `DropdownMenuRadioItem` options. */
|
|
474
|
+
default?: () => VNodeChild;
|
|
475
|
+
}
|
|
476
|
+
interface DropdownMenuRadioItemProps {
|
|
477
|
+
/**
|
|
478
|
+
* The value this option represents. The group's model matches it to decide
|
|
479
|
+
* the checked state.
|
|
480
|
+
*/
|
|
481
|
+
value: string;
|
|
482
|
+
/** Primary label content. */
|
|
483
|
+
label?: string | number;
|
|
484
|
+
/** Secondary line below the label. */
|
|
485
|
+
description?: string | number;
|
|
486
|
+
/** Icon shown before the label. A CSS class or a component. */
|
|
487
|
+
icon?: string | Component;
|
|
488
|
+
/**
|
|
489
|
+
* Whether this option is disabled. It stays in the tree and cannot be
|
|
490
|
+
* selected.
|
|
491
|
+
* @default false
|
|
492
|
+
*/
|
|
493
|
+
isDisabled?: boolean;
|
|
494
|
+
}
|
|
495
|
+
interface DropdownMenuRadioItemSlots {
|
|
496
|
+
icon?: () => VNodeChild;
|
|
497
|
+
label?: () => VNodeChild;
|
|
498
|
+
description?: () => VNodeChild;
|
|
499
|
+
endContent?: () => VNodeChild;
|
|
500
|
+
}
|
|
501
|
+
//#endregion
|
|
502
|
+
//#region src/DropdownMenu/DropdownMenuCheckboxItem.vue.d.ts
|
|
503
|
+
type __VLS_Props$1 = Omit<DropdownMenuCheckboxItemProps, 'modelValue'>;
|
|
504
|
+
type __VLS_Slots$2 = DropdownMenuCheckboxItemSlots;
|
|
505
|
+
type __VLS_ModelProps$1 = {
|
|
506
|
+
'modelValue': boolean;
|
|
507
|
+
};
|
|
508
|
+
type __VLS_PublicProps$1 = __VLS_Props$1 & __VLS_ModelProps$1;
|
|
509
|
+
declare const __VLS_base$2: import("vue").DefineComponent<__VLS_PublicProps$1, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
510
|
+
change: (checked: boolean) => any;
|
|
511
|
+
"update:modelValue": (value: boolean) => any;
|
|
512
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$1> & Readonly<{
|
|
513
|
+
onChange?: ((checked: boolean) => any) | undefined;
|
|
514
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
515
|
+
}>, {
|
|
516
|
+
isDisabled: boolean;
|
|
517
|
+
hasCloseOnSelect: boolean;
|
|
518
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
519
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
520
|
+
declare const _default$2: typeof __VLS_export$2;
|
|
521
|
+
type __VLS_WithSlots$2<T, S> = T & {
|
|
522
|
+
new (): {
|
|
523
|
+
$slots: S;
|
|
524
|
+
};
|
|
525
|
+
};
|
|
526
|
+
//#endregion
|
|
527
|
+
//#region src/DropdownMenu/DropdownMenuRadioGroup.vue.d.ts
|
|
528
|
+
type __VLS_Props = Omit<DropdownMenuRadioGroupProps, 'modelValue'>;
|
|
529
|
+
type __VLS_Slots$1 = DropdownMenuRadioGroupSlots;
|
|
530
|
+
type __VLS_ModelProps = {
|
|
531
|
+
'modelValue'?: string | undefined;
|
|
532
|
+
};
|
|
533
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
534
|
+
declare const __VLS_base$1: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
535
|
+
change: (value: string) => any;
|
|
536
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
537
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
538
|
+
onChange?: ((value: string) => any) | undefined;
|
|
539
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
540
|
+
}>, {
|
|
541
|
+
hasCloseOnSelect: boolean;
|
|
542
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
543
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
544
|
+
declare const _default$1: typeof __VLS_export$1;
|
|
545
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
546
|
+
new (): {
|
|
547
|
+
$slots: S;
|
|
548
|
+
};
|
|
549
|
+
};
|
|
550
|
+
//#endregion
|
|
551
|
+
//#region src/DropdownMenu/DropdownMenuRadioItem.vue.d.ts
|
|
552
|
+
type __VLS_Slots = DropdownMenuRadioItemSlots;
|
|
553
|
+
declare const __VLS_base: import("vue").DefineComponent<DropdownMenuRadioItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DropdownMenuRadioItemProps> & Readonly<{}>, {
|
|
554
|
+
isDisabled: boolean;
|
|
555
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
556
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
557
|
+
declare const _default: typeof __VLS_export;
|
|
558
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
559
|
+
new (): {
|
|
560
|
+
$slots: S;
|
|
561
|
+
};
|
|
562
|
+
};
|
|
563
|
+
//#endregion
|
|
564
|
+
export { DropdownMenuSize as A, DropdownMenuRadioGroupEmits as C, DropdownMenuRadioItemSlots as D, DropdownMenuRadioItemProps as E, DropdownMenuSubMenuSlots as F, DropdownMenuTriggerProps as I, DropdownMenuSubMenuEmits as M, DropdownMenuSubMenuPresentation as N, DropdownMenuRadioOptionData as O, DropdownMenuSubMenuProps as P, DropdownMenuRadioData as S, DropdownMenuRadioGroupSlots as T, DropdownMenuItemSlots as _, DropdownMenuCheckboxData as a, DropdownMenuPresentation as b, DropdownMenuCheckboxItemSlots as c, DropdownMenuEntry as d, DropdownMenuGroupProps as f, DropdownMenuItemProps as g, DropdownMenuItemEmits as h, DropdownMenuButtonProps as i, DropdownMenuSlots as j, DropdownMenuSection as k, DropdownMenuDividerData as l, DropdownMenuItemData as m, _default$1 as n, DropdownMenuCheckboxItemEmits as o, DropdownMenuGroupSlots as p, _default$2 as r, DropdownMenuCheckboxItemProps as s, _default as t, DropdownMenuEmits as u, DropdownMenuItemVariant as v, DropdownMenuRadioGroupProps as w, DropdownMenuProps as x, DropdownMenuOption as y };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Bn as _default, Gn as FileInputStatus, Hn as FileInputMode, Kn as FileInputValue, Un as FileInputProps, Vn as FileInputEmits, Wn as FileInputSize } from "../index-
|
|
1
|
+
import { Bn as _default, Gn as FileInputStatus, Hn as FileInputMode, Kn as FileInputValue, Un as FileInputProps, Vn as FileInputEmits, Wn as FileInputSize } from "../index-BTAgQRP0.js";
|
|
2
2
|
export { _default as FileInput, type FileInputEmits, type FileInputMode, type FileInputProps, type FileInputSize, type FileInputStatus, type FileInputValue };
|
package/dist/FileInput/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../FileInput-
|
|
1
|
+
import { t as _sfc_main } from "../FileInput-QdlZn7qK.js";
|
|
2
2
|
export { _sfc_main as FileInput };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
2
2
|
import { t as useAnnounce } from "./announce-Cnio10Wk.js";
|
|
3
3
|
import { n as selectFiles, t as formatFileSize } from "./useFileSelection-BPtaegqK.js";
|
|
4
|
-
import { a as useAstryxMessages } from "./context-
|
|
4
|
+
import { a as useAstryxMessages } from "./context-DmOLCubj.js";
|
|
5
5
|
import { t as _sfc_main$2 } from "./FieldIcon--NTgW5IU.js";
|
|
6
6
|
import { t as _sfc_main$3 } from "./IconButton-BNQuz9W_.js";
|
|
7
|
-
import { t as _sfc_main$4 } from "./Icon-
|
|
7
|
+
import { t as _sfc_main$4 } from "./Icon-bteSId7T.js";
|
|
8
8
|
import { t as _sfc_main$5 } from "./Spinner-9cYUCnDy.js";
|
|
9
9
|
import { t as _sfc_main$6 } from "./Field-8zRxzDHE.js";
|
|
10
10
|
import { computed, createBlock, createCommentVNode, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, openBlock, shallowRef, toDisplayString, unref, useId, useModel, useTemplateRef, withCtx } from "vue";
|
package/dist/Icon/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { a as IconSize, i as IconProps, n as IconColor, o as IconSlots, r as IconName } from "../types-
|
|
2
|
-
import { a as
|
|
1
|
+
import { a as IconSize, i as IconProps, n as IconColor, o as IconSlots, r as IconName } from "../types-CwyibrRB.js";
|
|
2
|
+
import { a as iconGlyphSlug, i as IconGlyphName, n as _default, o as isIconGlyph, r as ICON_GLYPHS, t as useSemanticIcon } from "../index-vP0EtrJJ.js";
|
|
3
3
|
import { i as addIcon, n as IconifyIcon, r as addCollection, t as IconifyCollection } from "../registry-B1ObuP--.js";
|
|
4
|
-
|
|
4
|
+
import { n as defaultSemanticIcons, r as resolveSemanticIcon, t as SemanticIconMap } from "../semantic-CKH9XVqa.js";
|
|
5
|
+
export { ICON_GLYPHS, _default as Icon, type IconColor, type IconGlyphName, type IconName, type IconProps, type IconSize, type IconSlots, type IconifyCollection, type IconifyIcon, type SemanticIconMap, addCollection, addIcon, defaultSemanticIcons, iconGlyphSlug, isIconGlyph, resolveSemanticIcon, useSemanticIcon };
|
package/dist/Icon/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as
|
|
1
|
+
import { a as ICON_GLYPHS, i as resolveSemanticIcon, n as useSemanticIcon, o as iconGlyphSlug, r as defaultSemanticIcons, s as isIconGlyph, t as _sfc_main } from "../Icon-bteSId7T.js";
|
|
2
2
|
import { n as addCollection, r as addIcon } from "../registry-C7OZb0PJ.js";
|
|
3
|
-
export { ICON_GLYPHS, _sfc_main as Icon, addCollection, addIcon, iconGlyphSlug, isIconGlyph };
|
|
3
|
+
export { ICON_GLYPHS, _sfc_main as Icon, addCollection, addIcon, defaultSemanticIcons, iconGlyphSlug, isIconGlyph, resolveSemanticIcon, useSemanticIcon };
|