@astryx-vue/core 0.1.0 → 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/README.md +1 -1
- 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/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-DpYFXwgb.js → Calendar-CYhGDT6f.js} +2 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-Bfd-YPAK.js → Chat-C1aWl5V3.js} +2 -2
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-C86o3XoG.js → CheckboxInput-CMsEE1_4.js} +4 -2
- package/dist/CheckboxList/index.d.ts +2 -0
- package/dist/CheckboxList/index.js +2 -0
- package/dist/CheckboxList-EsIEXjK_.js +174 -0
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-DaDd1teb.js → Citation-C1X0Rde8.js} +2 -2
- package/dist/ClickableCard/index.d.ts +2 -0
- package/dist/ClickableCard/index.js +2 -0
- package/dist/ClickableCard-Bhds4RRe.js +112 -0
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-CK-NWM_1.js → CodeBlock-BQdooQy2.js} +1 -1
- 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/ContextMenu/index.js +1 -1
- package/dist/{ContextMenu-BJh99Exj.js → ContextMenu-dA-ppaRQ.js} +284 -12
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-zJAdXByM.js → DateInput-D2ErjXYO.js} +18 -10
- package/dist/DateRangeInput/index.d.ts +2 -0
- package/dist/DateRangeInput/index.js +2 -0
- package/dist/DateRangeInput-fmQlr_A7.js +385 -0
- package/dist/DateTimeInput/index.d.ts +2 -0
- package/dist/DateTimeInput/index.js +2 -0
- package/dist/DateTimeInput-Bs1JmcIp.js +196 -0
- package/dist/Divider/index.d.ts +1 -1
- package/dist/DropdownMenu/index.d.ts +1 -1
- package/dist/DropdownMenu/index.js +1 -1
- package/dist/{DropdownMenu-C3j2zaEn.js → DropdownMenu-B0gogrvG.js} +2 -2
- package/dist/Field/index.d.ts +2 -2
- package/dist/Field/index.js +3 -4
- package/dist/{Field-VlTBsIEo.js → Field-8zRxzDHE.js} +11 -3
- package/dist/{FieldLabel-B1NRyQlS.js → FieldLabel-DmmJyX7w.js} +6 -1
- package/dist/FieldStatus/index.d.ts +2 -0
- package/dist/FieldStatus/index.js +2 -0
- package/dist/FileInput/index.d.ts +2 -0
- package/dist/FileInput/index.js +2 -0
- package/dist/FileInput-CmAfOpkA.js +238 -0
- package/dist/FormLayout/index.d.ts +2 -0
- package/dist/FormLayout/index.js +2 -0
- package/dist/FormLayout-D47FjiOq.js +40 -0
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/{Icon-B6qNgBP9.js → Icon-5MdZQ18k.js} +10 -2
- 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-DyKIwAL_.js → Markdown-CwtLr3f_.js} +2 -2
- package/dist/MetadataList/index.d.ts +2 -0
- package/dist/MetadataList/index.js +2 -0
- package/dist/MetadataList-DlXQTLog.js +124 -0
- package/dist/MobileNav/index.d.ts +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-BK2iRJF-.js → MobileNavToggle-CgQamG6E.js} +19 -12
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-BjUsVWWk.js → MoreMenu-BXL6Dqsu.js} +2 -2
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-CKTbTj1A.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-DU3_rw7z.js → NumberInput-DspJO6z6.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-B2T5UtiQ.js → OverflowList-zXg3g6fy.js} +1 -1
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-qCgNwwhr.js → Pagination-DXfgMUKJ.js} +2 -2
- package/dist/Popover/index.d.ts +2 -1
- package/dist/Radio/index.d.ts +2 -2
- package/dist/Radio/index.js +2 -2
- package/dist/{Radio-BioQfwHQ.js → RadioGroup-BqjdSCfJ.js} +21 -88
- package/dist/RadioList/index.d.ts +2 -0
- package/dist/RadioList/index.js +2 -0
- package/dist/RadioList-DI8ujXcT.js +122 -0
- 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/SegmentedControl/index.d.ts +1 -1
- 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-C6sPJMtH.js → Selector-DlZpQh42.js} +1 -1
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -1
- package/dist/{SideNav-D9lnn-sM.js → SideNav-Cdrigq2A.js} +49 -27
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-DTnWxtnb.js → Slider-D8h_RKcF.js} +1 -1
- package/dist/Stack/index.d.ts +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 +3 -0
- package/dist/Table/index.js +2 -0
- package/dist/Table-7qRmlIQd.js +967 -0
- package/dist/Text/index.d.ts +1 -1
- 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.d.ts +2 -0
- package/dist/Thumbnail/index.js +2 -0
- package/dist/Thumbnail-BWVzLLyI.js +163 -0
- package/dist/TimeField-l3QzU6vC.js +214 -0
- package/dist/TimeInput/index.d.ts +2 -0
- package/dist/TimeInput/index.js +2 -0
- package/dist/TimeInput-OkgX-xbQ.js +121 -0
- package/dist/Timestamp/index.d.ts +2 -0
- package/dist/Timestamp/index.js +2 -0
- package/dist/Timestamp-DUoP9ari.js +465 -0
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-Ctf9jekS.js → Token-C4KD0fZD.js} +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-D5MPgau0.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-CjbMCbkC.js → TopNav-CZokS7E_.js} +57 -31
- package/dist/TreeList/index.d.ts +2 -0
- package/dist/TreeList/index.js +2 -0
- package/dist/TreeList-CIbAGOMf.js +506 -0
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-BMoU3hfx.js → Typeahead-DIw-K4aa.js} +3 -3
- package/dist/composables/index.d.ts +3 -2
- package/dist/composables/index.js +8 -2
- package/dist/composables-CVfjp9h4.js +502 -0
- package/dist/context-BjNya0v8.js +19 -0
- package/dist/context-Cfjh8te1.js +29 -0
- package/dist/{locale-56lkR7OK.js → context-D6ECRdc5.js} +267 -18
- package/dist/index-1uRMrk63.d.ts +54 -0
- package/dist/{index-Dw21t7Uf.d.ts → index-2u4l3wq8.d.ts} +2 -2
- package/dist/{index-CvLlWLIZ.d.ts → index-B4OOtNP8.d.ts} +4 -4
- package/dist/{index-_1-uvr27.d.ts → index-B8MbfMwV.d.ts} +1 -1
- package/dist/{index-MPcg1Pm4.d.ts → index-BKr7yvVv.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-CnVbMebA.d.ts → index-Bqb_Fyju.d.ts} +3 -3
- 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-HV6W3xCx.d.ts → index-Byar3h1e.d.ts} +1 -1
- package/dist/{index-BQuN_dWR.d.ts → index-BzqRns96.d.ts} +1 -1
- package/dist/{index-BkIgRYGz.d.ts → index-C5p2NeCr.d.ts} +2 -2
- package/dist/{index-Cc2HGODZ.d.ts → index-C6RecznD.d.ts} +3 -3
- 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-Cz9ZHVf6.d.ts → index-CT8KEpec.d.ts} +2 -2
- package/dist/{index-CxspvLBl.d.ts → index-CTolyeii.d.ts} +1 -1
- package/dist/index-CVn0GBdB.d.ts +115 -0
- package/dist/index-CX97hlld.d.ts +158 -0
- package/dist/index-C_2Z65Rp.d.ts +67 -0
- package/dist/index-CjtAH60j.d.ts +38 -0
- package/dist/index-CtlkhQ55.d.ts +36 -0
- package/dist/{index-JeZ0YTyd.d.ts → index-D-ZuubCK.d.ts} +4 -4
- package/dist/index-DA52oIdw.d.ts +171 -0
- package/dist/{index-C8NW9xre.d.ts → index-DGNqi2za.d.ts} +7 -7
- package/dist/{index-CCA4R0Mf.d.ts → index-DT9S92sh.d.ts} +31 -6
- package/dist/index-DXSs3rwa.d.ts +252 -0
- package/dist/{index-C0S2Xzoi.d.ts → index-DYChvBOM.d.ts} +135 -0
- package/dist/index-Da7Jm8Ht.d.ts +10 -0
- package/dist/{index-CaHXYQ_E.d.ts → index-Df2YvC8o.d.ts} +717 -147
- package/dist/{index-DjOdQv5B.d.ts → index-DfgHJE7H.d.ts} +1 -1
- package/dist/{index-CPhDtlv-.d.ts → index-FEy8qFSD.d.ts} +3 -3
- package/dist/{index-DBcbfStA.d.ts → index-SMh42NI8.d.ts} +182 -2
- package/dist/{index-Cdi82rTW.d.ts → index-ZJyk8RtQ.d.ts} +6 -2
- package/dist/{index-BeJqhW4l.d.ts → index-fa72tWIU.d.ts} +3 -3
- package/dist/{index-COxy6LEW.d.ts → index-gW0HW02U.d.ts} +1 -1
- package/dist/{index-BQa836Vz.d.ts → index-iBLzInje.d.ts} +6 -14
- package/dist/{index-BhYFxnjV.d.ts → index-kaKBOZSU.d.ts} +2 -2
- package/dist/index-nKlTsNfV.d.ts +42 -0
- package/dist/index-utZGF4GR.d.ts +79 -0
- package/dist/index.d.ts +76 -59
- package/dist/index.js +119 -78
- package/dist/locale/index.d.ts +1 -1
- package/dist/locale/index.js +2 -1
- package/dist/locale-Cpk_nrLA.js +18 -0
- package/dist/size-BuTzpgnR.d.ts +14 -0
- package/dist/size-xcIqExkS.js +79 -0
- package/dist/{index-Cp0NlzQv.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/useFileSelection-BPtaegqK.js +58 -0
- package/dist/useMonthGrid-CmJsZTcB.js +139 -0
- package/dist/useResizable-CeESZS1v.d.ts +72 -0
- package/dist/useScrollableArea-DDk_CluT.js +172 -0
- package/dist/useTimeValue-DWk6oTAZ.js +113 -0
- package/package.json +97 -1
- package/styles/app-shell.css +151 -0
- package/styles/aspect-ratio.css +49 -0
- package/styles/bordered-control.css +87 -0
- package/styles/calendar.css +8 -2
- package/styles/card.css +5 -1
- package/styles/checkbox-list.css +15 -0
- package/styles/clickable-card.css +101 -0
- package/styles/collapsible.css +37 -0
- package/styles/command-palette.css +183 -0
- package/styles/complex-selector.css +114 -0
- package/styles/date-range-input.css +163 -0
- package/styles/date-time-input.css +40 -0
- package/styles/field.css +14 -3
- package/styles/file-input.css +87 -0
- package/styles/form-layout.css +31 -0
- package/styles/heading.css +19 -17
- package/styles/icon.css +32 -0
- package/styles/layout.css +280 -0
- package/styles/metadata-list.css +107 -0
- package/styles/number-input.css +6 -0
- package/styles/radio.css +32 -0
- package/styles/resize-handle.css +128 -0
- package/styles/scrollable-area.css +50 -0
- package/styles/section.css +60 -0
- package/styles/selector.css +10 -0
- package/styles/side-nav.css +26 -0
- package/styles/stepper.css +357 -0
- package/styles/tab-menu.css +91 -0
- package/styles/table.css +256 -0
- package/styles/text-area.css +6 -1
- package/styles/text-input.css +6 -0
- package/styles/thumbnail.css +151 -0
- package/styles/time-input.css +51 -0
- package/styles/timestamp.css +93 -0
- package/styles/tree-list.css +229 -0
- package/styles.css +23 -0
- package/dist/Collapsible-ByXCGhT8.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,60 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.components {
|
|
4
|
+
.astryx-section {
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
margin-inline-start: calc(-1 * var(--container-padding-inline-start, 0px));
|
|
7
|
+
margin-inline-end: calc(-1 * var(--container-padding-inline-end, 0px));
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.astryx-section:first-child {
|
|
11
|
+
margin-block-start: calc(-1 * var(--container-padding-block-start, 0px));
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.astryx-section:last-child {
|
|
15
|
+
margin-block-end: calc(-1 * var(--container-padding-block-end, 0px));
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.astryx-section__inner {
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
height: 100%;
|
|
21
|
+
--layout-padding-own-outer-x: initial;
|
|
22
|
+
--layout-padding-own-outer-y: initial;
|
|
23
|
+
--_section-pad: var(--astryx-section-padding, var(--astryx-spacing-4, 16px));
|
|
24
|
+
padding-inline-start: var(--_section-inline-start, var(--_section-pad));
|
|
25
|
+
padding-inline-end: var(--_section-inline-end, var(--_section-pad));
|
|
26
|
+
padding-block-start: var(--_section-block-start, var(--_section-pad));
|
|
27
|
+
padding-block-end: var(--_section-block-end, var(--_section-pad));
|
|
28
|
+
--container-padding-inline-start: var(--_section-inline-start, var(--_section-pad));
|
|
29
|
+
--container-padding-inline-end: var(--_section-inline-end, var(--_section-pad));
|
|
30
|
+
--container-padding-block-start: var(--_section-block-start, var(--_section-pad));
|
|
31
|
+
--container-padding-block-end: var(--_section-block-end, var(--_section-pad));
|
|
32
|
+
--layout-padding-outer-x: var(--container-padding-inline-start);
|
|
33
|
+
--layout-padding-outer-y: var(--container-padding-block-start);
|
|
34
|
+
background-color: var(--astryx-color-background-surface, #fff);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.astryx-section__inner[data-variant='transparent'] {
|
|
38
|
+
background-color: transparent;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.astryx-section__inner[data-variant='muted'] {
|
|
42
|
+
background-color: var(--astryx-color-background-muted, #f1f1f1);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.astryx-section__inner[data-divider-top] {
|
|
46
|
+
border-block-start: 1px solid var(--astryx-color-border, #ebebeb);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.astryx-section__inner[data-divider-bottom] {
|
|
50
|
+
border-block-end: 1px solid var(--astryx-color-border, #ebebeb);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.astryx-section__inner[data-divider-start] {
|
|
54
|
+
border-inline-start: 1px solid var(--astryx-color-border, #ebebeb);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.astryx-section__inner[data-divider-end] {
|
|
58
|
+
border-inline-end: 1px solid var(--astryx-color-border, #ebebeb);
|
|
59
|
+
}
|
|
60
|
+
}
|
package/styles/selector.css
CHANGED
|
@@ -285,3 +285,13 @@
|
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
|
+
|
|
289
|
+
/* Unlayered: the field chrome owns focus. A page ring on the trigger or search input stacks a second outline. */
|
|
290
|
+
.astryx-selector-trigger:focus,
|
|
291
|
+
.astryx-selector-trigger:focus-visible,
|
|
292
|
+
.astryx-selector-search-input:focus,
|
|
293
|
+
.astryx-selector-search-input:focus-visible,
|
|
294
|
+
.astryx-selector-clear:focus,
|
|
295
|
+
.astryx-selector-clear:focus-visible {
|
|
296
|
+
outline: none;
|
|
297
|
+
}
|
package/styles/side-nav.css
CHANGED
|
@@ -17,6 +17,32 @@
|
|
|
17
17
|
width: var(--astryx-side-nav-collapsed-width, 48px);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
.astryx-side-nav--topbar {
|
|
21
|
+
display: flex;
|
|
22
|
+
flex: 1 1 auto;
|
|
23
|
+
flex-direction: row;
|
|
24
|
+
align-items: center;
|
|
25
|
+
justify-content: space-between;
|
|
26
|
+
width: auto;
|
|
27
|
+
height: var(--astryx-spacing-12, 48px);
|
|
28
|
+
min-width: 0;
|
|
29
|
+
overflow: hidden;
|
|
30
|
+
background: inherit;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.astryx-side-nav--drawer {
|
|
34
|
+
width: 100%;
|
|
35
|
+
height: auto;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.astryx-side-nav__topbar-icons {
|
|
39
|
+
display: flex;
|
|
40
|
+
flex: none;
|
|
41
|
+
align-items: center;
|
|
42
|
+
gap: var(--astryx-spacing-1, 4px);
|
|
43
|
+
margin-inline-start: auto;
|
|
44
|
+
}
|
|
45
|
+
|
|
20
46
|
.astryx-side-nav__top,
|
|
21
47
|
.astryx-side-nav__bottom {
|
|
22
48
|
display: flex;
|
|
@@ -0,0 +1,357 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.components {
|
|
4
|
+
.astryx-stepper-root {
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.astryx-stepper-root[data-collapsed] {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
align-items: center;
|
|
12
|
+
gap: var(--astryx-spacing-3, 12px);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.astryx-stepper {
|
|
16
|
+
display: flex;
|
|
17
|
+
width: 100%;
|
|
18
|
+
margin: 0;
|
|
19
|
+
padding: 0;
|
|
20
|
+
list-style: none;
|
|
21
|
+
gap: var(--astryx-spacing-0-5, 2px);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.astryx-stepper[data-orientation='horizontal'] {
|
|
25
|
+
gap: var(--astryx-spacing-1, 4px);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.astryx-stepper[data-orientation='vertical'] {
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.astryx-stepper[data-indicator-position='on-track'] {
|
|
33
|
+
gap: 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.astryx-stepper[data-collapsible='true'] {
|
|
37
|
+
container-type: inline-size;
|
|
38
|
+
container-name: astryx-stepper;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.astryx-step {
|
|
42
|
+
position: relative;
|
|
43
|
+
display: flex;
|
|
44
|
+
flex: 1 1 0;
|
|
45
|
+
min-width: 0;
|
|
46
|
+
color: var(--astryx-color-text-primary, #171717);
|
|
47
|
+
font-family: var(--astryx-font-family-body, Figtree, sans-serif);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.astryx-step[data-orientation='horizontal'] {
|
|
51
|
+
flex-direction: column;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.astryx-step[data-orientation='vertical'] {
|
|
55
|
+
flex-direction: row;
|
|
56
|
+
align-items: flex-start;
|
|
57
|
+
gap: var(--astryx-spacing-2, 8px);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.astryx-step[data-density='compact'] { --_step-space: var(--astryx-spacing-1, 4px); }
|
|
61
|
+
.astryx-step[data-density='balanced'] { --_step-space: var(--astryx-spacing-2, 8px); }
|
|
62
|
+
.astryx-step[data-density='spacious'] { --_step-space: var(--astryx-spacing-3, 12px); }
|
|
63
|
+
|
|
64
|
+
.astryx-step-bar,
|
|
65
|
+
.astryx-step-connector {
|
|
66
|
+
background: var(--astryx-color-border, #00000014);
|
|
67
|
+
border-radius: var(--astryx-radius-full, 999px);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.astryx-step-bar[data-filled],
|
|
71
|
+
.astryx-step-connector[data-filled] {
|
|
72
|
+
background: var(--astryx-color-accent, #0082fb);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.astryx-step[data-orientation='horizontal'] > .astryx-step-bar {
|
|
76
|
+
height: var(--astryx-spacing-1, 4px);
|
|
77
|
+
width: 100%;
|
|
78
|
+
margin-block-end: var(--astryx-spacing-0-5, 2px);
|
|
79
|
+
border-radius: 9999px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.astryx-step[data-orientation='vertical'] > .astryx-step-bar {
|
|
83
|
+
width: var(--astryx-spacing-1, 4px);
|
|
84
|
+
align-self: stretch;
|
|
85
|
+
min-height: var(--astryx-spacing-4, 16px);
|
|
86
|
+
border-radius: var(--astryx-radius-full, 999px);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.astryx-step-rail {
|
|
90
|
+
display: flex;
|
|
91
|
+
align-items: center;
|
|
92
|
+
pointer-events: none;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.astryx-step[data-orientation='horizontal'][data-indicator-position='on-track'] > .astryx-step-rail {
|
|
96
|
+
height: var(--astryx-spacing-1, 4px);
|
|
97
|
+
margin-block: calc(var(--astryx-spacing-5, 20px) / 2 - 2px) var(--astryx-spacing-2, 8px);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.astryx-step[data-orientation='vertical'][data-indicator-position='on-track'] {
|
|
101
|
+
gap: var(--astryx-spacing-2, 8px);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.astryx-step[data-orientation='vertical'][data-indicator-position='on-track'] > .astryx-step-rail {
|
|
105
|
+
flex-direction: column;
|
|
106
|
+
align-self: stretch;
|
|
107
|
+
width: 16px;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.astryx-step-connector {
|
|
111
|
+
flex: 1 1 auto;
|
|
112
|
+
min-width: var(--astryx-spacing-2, 8px);
|
|
113
|
+
border-radius: 0;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.astryx-step[data-orientation='horizontal'] .astryx-step-connector {
|
|
117
|
+
height: var(--astryx-spacing-1, 4px);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.astryx-step[data-orientation='vertical'] .astryx-step-connector {
|
|
121
|
+
width: var(--astryx-spacing-1, 4px);
|
|
122
|
+
min-height: var(--astryx-spacing-2, 8px);
|
|
123
|
+
min-width: 0;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.astryx-step:first-child .astryx-step-connector-lead,
|
|
127
|
+
.astryx-step:last-child .astryx-step-connector-trail {
|
|
128
|
+
visibility: hidden;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.astryx-step-control {
|
|
132
|
+
display: flex;
|
|
133
|
+
align-items: flex-start;
|
|
134
|
+
gap: var(--astryx-spacing-2, 8px);
|
|
135
|
+
width: 100%;
|
|
136
|
+
margin: 0;
|
|
137
|
+
padding-block: var(--_step-space);
|
|
138
|
+
padding-inline: var(--_step-space);
|
|
139
|
+
border: 0;
|
|
140
|
+
border-radius: var(--astryx-radius-element, 0.625rem);
|
|
141
|
+
background: transparent;
|
|
142
|
+
color: inherit;
|
|
143
|
+
font: inherit;
|
|
144
|
+
text-align: start;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
button.astryx-step-control {
|
|
148
|
+
cursor: pointer;
|
|
149
|
+
transition: background-color var(--astryx-duration-fast-min, 80ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
@media (hover: hover) {
|
|
153
|
+
button.astryx-step-control:hover {
|
|
154
|
+
background: var(--astryx-color-overlay-hover, light-dark(#0536590c, #ffffff0c));
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
button.astryx-step-control:active {
|
|
159
|
+
background: var(--astryx-color-overlay-pressed, light-dark(#05365919, #ffffff19));
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
button.astryx-step-control:focus-visible {
|
|
163
|
+
outline: var(--astryx-focus-outline-width, 2px) solid var(--astryx-focus-outline-color, var(--astryx-color-text-primary, #171717));
|
|
164
|
+
outline-offset: 2px;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.astryx-step-indicator {
|
|
168
|
+
display: inline-flex;
|
|
169
|
+
align-items: center;
|
|
170
|
+
justify-content: center;
|
|
171
|
+
flex-shrink: 0;
|
|
172
|
+
width: 16px;
|
|
173
|
+
height: 16px;
|
|
174
|
+
border-radius: 9999px;
|
|
175
|
+
background: transparent;
|
|
176
|
+
color: var(--astryx-color-text-primary, #171717);
|
|
177
|
+
font-size: 10px;
|
|
178
|
+
font-weight: 600;
|
|
179
|
+
line-height: 1;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.astryx-step-indicator svg {
|
|
183
|
+
width: 16px;
|
|
184
|
+
height: 16px;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.astryx-step-indicator[data-glyph='number'] {
|
|
188
|
+
background: var(--astryx-color-accent-muted, #f1f1f1);
|
|
189
|
+
color: var(--astryx-color-text-secondary, #525252);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.astryx-step[data-progress='completed'] .astryx-step-indicator[data-glyph='number'],
|
|
193
|
+
.astryx-step[data-progress='in-progress'] .astryx-step-indicator[data-glyph='number'] {
|
|
194
|
+
background: var(--astryx-color-accent, #262626);
|
|
195
|
+
color: var(--astryx-color-background-surface, #fff);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.astryx-step[data-status='accent'] .astryx-step-indicator {
|
|
199
|
+
color: var(--astryx-color-accent, #262626);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.astryx-step[data-status='success'] .astryx-step-indicator {
|
|
203
|
+
background: transparent;
|
|
204
|
+
color: var(--astryx-color-success, #16a34a);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.astryx-step[data-status='warning'] .astryx-step-indicator {
|
|
208
|
+
background: transparent;
|
|
209
|
+
color: var(--astryx-color-warning, #ca8a04);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.astryx-step[data-status='error'] .astryx-step-indicator {
|
|
213
|
+
background: transparent;
|
|
214
|
+
color: var(--astryx-color-error, #dc2626);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.astryx-step[data-progress='not-started'] .astryx-step-label,
|
|
218
|
+
.astryx-step[data-progress='completed'] .astryx-step-label {
|
|
219
|
+
font-weight: var(--astryx-font-weight-regular, 400);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.astryx-step[data-progress='in-progress'] .astryx-step-label {
|
|
223
|
+
font-weight: var(--astryx-font-weight-semibold, 600);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.astryx-step-copy {
|
|
227
|
+
display: flex;
|
|
228
|
+
flex-direction: column;
|
|
229
|
+
min-width: 0;
|
|
230
|
+
gap: var(--astryx-spacing-0-5, 2px);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.astryx-step-label-row {
|
|
234
|
+
display: flex;
|
|
235
|
+
align-items: center;
|
|
236
|
+
gap: var(--astryx-spacing-1, 4px);
|
|
237
|
+
min-width: 0;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.astryx-step-label,
|
|
241
|
+
.astryx-step-description,
|
|
242
|
+
.astryx-step-optional {
|
|
243
|
+
font-size: var(--astryx-text-body-size, 0.875rem);
|
|
244
|
+
line-height: var(--astryx-text-body-leading, 1.4286);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.astryx-step-description,
|
|
248
|
+
.astryx-step-optional {
|
|
249
|
+
color: var(--astryx-color-text-secondary, #525252);
|
|
250
|
+
font-size: var(--astryx-text-supporting-size, 0.75rem);
|
|
251
|
+
line-height: 16px;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.astryx-step-content {
|
|
255
|
+
padding-block-start: var(--astryx-spacing-2, 8px);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.astryx-step[data-orientation='horizontal'][data-indicator-position='separated'] .astryx-step-control {
|
|
259
|
+
align-items: center;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.astryx-step[data-orientation='horizontal'][data-indicator-position='on-track'] .astryx-step-control {
|
|
263
|
+
flex-direction: column;
|
|
264
|
+
align-items: center;
|
|
265
|
+
text-align: center;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.astryx-step[data-orientation='horizontal'][data-indicator-position='on-track'] .astryx-step-indicator {
|
|
269
|
+
margin-block-start: -10px;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.astryx-stepper-root[data-collapsed] .astryx-stepper {
|
|
273
|
+
width: auto;
|
|
274
|
+
justify-content: center;
|
|
275
|
+
gap: var(--astryx-spacing-2, 8px);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.astryx-stepper-root[data-collapsed] .astryx-step {
|
|
279
|
+
flex: 0 0 32px;
|
|
280
|
+
width: 32px;
|
|
281
|
+
min-width: 32px;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.astryx-stepper-root[data-collapsed] .astryx-step-control,
|
|
285
|
+
.astryx-stepper-root[data-collapsed] .astryx-step-content,
|
|
286
|
+
.astryx-stepper-root[data-collapsed] .astryx-step-rail {
|
|
287
|
+
display: none;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.astryx-stepper-root[data-collapsed] .astryx-step-bar {
|
|
291
|
+
margin-block-end: 0;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.astryx-stepper-summary {
|
|
295
|
+
display: flex;
|
|
296
|
+
align-items: center;
|
|
297
|
+
justify-content: center;
|
|
298
|
+
gap: var(--astryx-spacing-3, 12px);
|
|
299
|
+
min-width: 0;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.astryx-stepper-summary-body {
|
|
303
|
+
display: flex;
|
|
304
|
+
flex-direction: column;
|
|
305
|
+
align-items: center;
|
|
306
|
+
gap: var(--astryx-spacing-0-5, 2px);
|
|
307
|
+
min-width: 0;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.astryx-stepper-summary-row {
|
|
311
|
+
display: flex;
|
|
312
|
+
align-items: center;
|
|
313
|
+
gap: var(--astryx-spacing-2, 8px);
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.astryx-stepper-summary .astryx-step-label {
|
|
317
|
+
color: var(--astryx-color-text-primary, #171717);
|
|
318
|
+
font-weight: 600;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.astryx-stepper-nav {
|
|
322
|
+
display: inline-flex;
|
|
323
|
+
align-items: center;
|
|
324
|
+
justify-content: center;
|
|
325
|
+
width: 32px;
|
|
326
|
+
height: 32px;
|
|
327
|
+
margin: 0;
|
|
328
|
+
padding: 0;
|
|
329
|
+
border: 0;
|
|
330
|
+
border-radius: var(--astryx-radius-element, 0.625rem);
|
|
331
|
+
background: transparent;
|
|
332
|
+
color: var(--astryx-color-text-primary, #171717);
|
|
333
|
+
cursor: pointer;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.astryx-stepper-nav svg {
|
|
337
|
+
width: 16px;
|
|
338
|
+
height: 16px;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.astryx-stepper-nav:disabled {
|
|
342
|
+
opacity: 0.4;
|
|
343
|
+
cursor: not-allowed;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
@container astryx-stepper (max-width: 480px) {
|
|
347
|
+
.astryx-stepper[data-collapsible='true'][data-orientation='horizontal'] .astryx-step:not([data-progress='in-progress']) .astryx-step-copy {
|
|
348
|
+
display: none;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
@media (prefers-reduced-motion: reduce) {
|
|
353
|
+
button.astryx-step-control {
|
|
354
|
+
transition-duration: 0s;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.components {
|
|
4
|
+
.astryx-tab-menu {
|
|
5
|
+
gap: var(--astryx-spacing-1, 4px);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.astryx-tab-menu-chevron {
|
|
9
|
+
width: var(--astryx-spacing-4, 16px);
|
|
10
|
+
height: var(--astryx-spacing-4, 16px);
|
|
11
|
+
transition: transform var(--astryx-duration-fast, 130ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.astryx-tab-menu-chevron[data-state='expanded'] {
|
|
15
|
+
transform: rotate(180deg);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.astryx-tab-menu-dropdown {
|
|
19
|
+
position: fixed;
|
|
20
|
+
z-index: 50;
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
gap: var(--astryx-spacing-0-5, 2px);
|
|
24
|
+
min-width: 180px;
|
|
25
|
+
margin: 0;
|
|
26
|
+
padding-block: var(--astryx-spacing-1, 4px);
|
|
27
|
+
padding-inline: var(--astryx-spacing-1, 4px);
|
|
28
|
+
border: 0;
|
|
29
|
+
border-radius: var(--astryx-radius-container, 0.75rem);
|
|
30
|
+
background: var(--astryx-color-background-surface, #fff);
|
|
31
|
+
box-shadow: var(--astryx-shadow-high, 0 8px 24px rgb(0 0 0 / 16%));
|
|
32
|
+
color: var(--astryx-color-text-primary, #171717);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.astryx-tab-menu-heading {
|
|
36
|
+
padding-block: var(--astryx-spacing-1, 4px);
|
|
37
|
+
padding-inline: var(--astryx-spacing-3, 12px);
|
|
38
|
+
color: var(--astryx-color-text-secondary, #525252);
|
|
39
|
+
font-size: var(--astryx-text-supporting-size, 0.75rem);
|
|
40
|
+
font-weight: var(--astryx-font-weight-semibold, 600);
|
|
41
|
+
line-height: var(--astryx-text-supporting-leading, 1.6667);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.astryx-tab-menu-item {
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: space-between;
|
|
48
|
+
gap: var(--astryx-spacing-2, 8px);
|
|
49
|
+
padding-block: var(--astryx-spacing-2, 8px);
|
|
50
|
+
padding-inline: var(--astryx-spacing-3, 12px);
|
|
51
|
+
border-radius: var(--astryx-radius-element, 0.625rem);
|
|
52
|
+
color: var(--astryx-color-text-primary, #171717);
|
|
53
|
+
font-size: var(--astryx-text-label-size, 0.875rem);
|
|
54
|
+
line-height: var(--astryx-text-label-leading, 1.4286);
|
|
55
|
+
cursor: pointer;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.astryx-tab-menu-item[data-selected='true'] {
|
|
59
|
+
font-weight: var(--astryx-font-weight-medium, 500);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@media (hover: hover) {
|
|
63
|
+
.astryx-tab-menu-item:hover {
|
|
64
|
+
background: var(--astryx-color-overlay-hover, light-dark(#0536590c, #ffffff0c));
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.astryx-tab-menu-item:focus-visible {
|
|
69
|
+
outline: var(--astryx-focus-outline-width, 2px) solid var(--astryx-focus-outline-color, var(--astryx-color-text-primary, #171717));
|
|
70
|
+
outline-offset: -2px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.astryx-tab-menu-item-label {
|
|
74
|
+
display: inline-flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
gap: var(--astryx-spacing-2, 8px);
|
|
77
|
+
min-width: 0;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.astryx-tab-menu-icon {
|
|
81
|
+
width: 1rem;
|
|
82
|
+
height: 1rem;
|
|
83
|
+
flex-shrink: 0;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@media (prefers-reduced-motion: reduce) {
|
|
87
|
+
.astryx-tab-menu-chevron {
|
|
88
|
+
transition: none;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|