@astryx-vue/core 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-BylcA4vV.js → AlertDialog-ovx4cBjM.js} +1 -1
- package/dist/AppShell/index.d.ts +2 -0
- package/dist/AppShell/index.js +2 -0
- package/dist/AppShell-EiGyPFbA.js +249 -0
- package/dist/AspectRatio/index.d.ts +2 -0
- package/dist/AspectRatio/index.js +2 -0
- package/dist/AspectRatio-Bij7e-tq.js +40 -0
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-BEyrkUtr.js → Calendar-BG7wEsro.js} +1 -1
- package/dist/Carousel/index.d.ts +2 -0
- package/dist/Carousel/index.js +2 -0
- package/dist/Carousel-BTtHkKea.js +363 -0
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-CO3mCs9A.js → Chat-DjNxw5gv.js} +2 -2
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-C86o3XoG.js → CheckboxInput-CMsEE1_4.js} +4 -2
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-BL2sDOWK.js → CheckboxList-EsIEXjK_.js} +2 -2
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-BqwJvw7o.js → Citation-DijdbUUu.js} +2 -2
- package/dist/ClickableCard/index.d.ts +2 -0
- package/dist/ClickableCard/index.js +2 -0
- package/dist/ClickableCard-Bhds4RRe.js +112 -0
- package/dist/Code/index.d.ts +3 -2
- package/dist/Code/index.js +4 -2
- package/dist/Code-yb_KOFtJ.js +299 -0
- package/dist/{CodeBlock-BQdooQy2.js → CodeBlock-CxTb6j9_.js} +8 -2
- package/dist/Collapsible/index.d.ts +2 -2
- package/dist/Collapsible/index.js +2 -2
- package/dist/Collapsible-9MC08X39.js +192 -0
- package/dist/CommandPalette/index.d.ts +2 -0
- package/dist/CommandPalette/index.js +2 -0
- package/dist/CommandPalette-BD2iODF5.js +489 -0
- package/dist/ComplexSelector/index.d.ts +2 -0
- package/dist/ComplexSelector/index.js +2 -0
- package/dist/ComplexSelector-D9iXd5cH.js +293 -0
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +1 -1
- package/dist/{ContextMenu-dA-ppaRQ.js → ContextMenu-HS_WqYIg.js} +1 -1
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-BOIb0zAp.js → DateInput-DE2TN1Rq.js} +2 -2
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-DLcbgUBi.js → DateRangeInput-1bhPGG2s.js} +4 -4
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-RitYX_Yx.js → DateTimeInput-SnPdgk6P.js} +4 -4
- package/dist/Divider/index.d.ts +1 -1
- package/dist/DropdownMenu/index.js +1 -1
- package/dist/{DropdownMenu-B0gogrvG.js → DropdownMenu-UJGych6v.js} +1 -1
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-Bhlqgsg4.js → EmptyState-CUJdTYKV.js} +1 -1
- package/dist/Field/index.js +2 -2
- package/dist/{Field-VlTBsIEo.js → Field-8zRxzDHE.js} +11 -3
- package/dist/{FieldLabel-B1NRyQlS.js → FieldLabel-DmmJyX7w.js} +6 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-CYvEV503.js → FileInput-BQiwE-GB.js} +3 -3
- package/dist/FormLayout/index.d.ts +2 -0
- package/dist/FormLayout/index.js +2 -0
- package/dist/FormLayout-D47FjiOq.js +40 -0
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/Icon/index.d.ts +3 -0
- package/dist/Icon/index.js +2 -0
- package/dist/{Icon-5MdZQ18k.js → Icon-Dfr4k6-S.js} +1 -1
- package/dist/Layout/index.d.ts +2 -0
- package/dist/Layout/index.js +3 -0
- package/dist/Layout-Bed3kP0M.js +56 -0
- package/dist/LayoutPanel-C34uOq3e.js +358 -0
- package/dist/Lightbox/index.d.ts +2 -0
- package/dist/Lightbox/index.js +2 -0
- package/dist/Lightbox-CshKoB0r.js +384 -0
- package/dist/Link/index.d.ts +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-Dnlp8cVx.js → Markdown-D-Ua055V.js} +2 -2
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-DIsqS1Qb.js → MetadataList-sYph_d8Q.js} +1 -1
- package/dist/MobileNav/index.d.ts +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-aUZiDwHm.js → MobileNavToggle-DD9D01aj.js} +19 -12
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-BXL6Dqsu.js → MoreMenu-BVrK5kkk.js} +1 -1
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-Bh8or2S6.js → MultiSelector-DiYov9sF.js} +3 -3
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.d.ts +1 -1
- package/dist/NavMenu/index.js +1 -1
- package/dist/{NavMenuItem-mzNQESpB.js → NavMenuItem-B-k7olt5.js} +2 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-C3S-4dIu.js → NumberInput-CTYiQxHq.js} +1 -1
- package/dist/Outline/index.d.ts +2 -0
- package/dist/Outline/index.js +2 -0
- package/dist/Outline-DQfEBxlc.js +325 -0
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-Kr4iJrNV.js → OverflowList-BU5VCntl.js} +2 -2
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-BRStpeSB.js → Pagination-HdhtykeF.js} +2 -2
- package/dist/Popover/index.d.ts +2 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-DS6oTV_j.js → RadioGroup-BqjdSCfJ.js} +1 -1
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-pwr93I-z.js → RadioList-DI8ujXcT.js} +1 -1
- package/dist/Resizable/index.d.ts +2 -0
- package/dist/Resizable/index.js +2 -0
- package/dist/Resizable-BhSMfO5B.js +261 -0
- package/dist/ScrollableArea/index.d.ts +2 -0
- package/dist/ScrollableArea/index.js +2 -0
- package/dist/ScrollableArea-DQDYjnxO.js +78 -0
- package/dist/Section/index.d.ts +2 -0
- package/dist/Section/index.js +2 -0
- package/dist/Section-C48Wqfc7.js +68 -0
- package/dist/SelectableCard/index.d.ts +2 -0
- package/dist/SelectableCard/index.js +2 -0
- package/dist/SelectableCard-Bj5s_tIN.js +108 -0
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-DvEUIVEC.js → Selector-Da-2BO3q.js} +1 -1
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -1
- package/dist/{SideNav-B7LX4RcP.js → SideNav-B-Om6Bz3.js} +49 -27
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-DTnWxtnb.js → Slider-D8h_RKcF.js} +1 -1
- package/dist/Stepper/index.d.ts +2 -0
- package/dist/Stepper/index.js +2 -0
- package/dist/Stepper-BZ_8SEZt.js +423 -0
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-CNdnr5TP.js → Switch-SesQzPGZ.js} +4 -2
- package/dist/TabList/index.d.ts +2 -2
- package/dist/TabList/index.js +2 -2
- package/dist/TabList-Cnc2Hs1H.js +380 -0
- package/dist/Table/index.d.ts +2 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-D5zWaITo.js → Table-D-LhAy_J.js} +6 -6
- package/dist/Text/index.d.ts +3 -2
- package/dist/Text/index.js +1 -1
- package/dist/{Text-CKd7e3gK.js → Text-BHVghsWo.js} +12 -2
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-BL0NuB99.js → TextArea-Cv9UVbzS.js} +5 -3
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-B0IKC7g5.js → TextInput-BasnjVvy.js} +5 -3
- package/dist/Theme/index.d.ts +2 -0
- package/dist/Theme/index.js +2 -0
- package/dist/Theme-BuUiiJNr.js +429 -0
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-DMOgWncm.js → Thumbnail-Dc1UpykG.js} +2 -2
- package/dist/{TimeField-DeQ1ukHl.js → TimeField-C7t9Knq9.js} +2 -2
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-jb1nLqZk.js → TimeInput-BXxCOY98.js} +2 -2
- package/dist/Timer/index.d.ts +2 -0
- package/dist/Timer/index.js +2 -0
- package/dist/Timer-B7GV6hqd.js +134 -0
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-DrWwVQBL.js → Timestamp-DlZSmgCJ.js} +3 -3
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-CV2J94bn.js → Token-wt4e80IM.js} +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DF9r4hTW.js → Tokenizer-nmTqdS9n.js} +3 -3
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-BH_s3uap.js → TopNav-notp-mJx.js} +58 -32
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-D9cR-w7r.js → TreeList-s1xBQ0qq.js} +2 -2
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-s4DC1Qem.js → Typeahead-VAuiCurV.js} +3 -3
- package/dist/composables/index.d.ts +3 -2
- package/dist/composables/index.js +5 -2
- package/dist/composables-CVfjp9h4.js +502 -0
- package/dist/context-BjNya0v8.js +19 -0
- package/dist/context-Cfjh8te1.js +29 -0
- package/dist/{context-BshXcNYX.js → context-Dbo22sck.js} +138 -0
- package/dist/context-O2Vb8cJl.js +57 -0
- package/dist/index-1AZ4KZhg.d.ts +96 -0
- package/dist/index-1uRMrk63.d.ts +54 -0
- package/dist/{index-FEy8qFSD.d.ts → index-BHqRH7QW.d.ts} +2 -2
- package/dist/index-BMrggCw-.d.ts +52 -0
- package/dist/{index-BlWLperN.d.ts → index-BUXNRekN.d.ts} +2 -2
- package/dist/index-Bainr_3n.d.ts +31 -0
- package/dist/index-Be1czg3M.d.ts +167 -0
- package/dist/{index-Dbmgcm8a.d.ts → index-BeR-1LgF.d.ts} +2 -0
- package/dist/{index-DXDGk38y.d.ts → index-Bn_odHQ9.d.ts} +1 -1
- package/dist/index-BrJzFA5X.d.ts +38 -0
- package/dist/{index-AkMWQ97a.d.ts → index-BtPZKO20.d.ts} +3 -3
- package/dist/index-Bu0Zd1uw.d.ts +38 -0
- package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
- package/dist/index-By2mSzUA.d.ts +67 -0
- package/dist/index-C59PdX9L.d.ts +141 -0
- package/dist/{index-BkIgRYGz.d.ts → index-C5p2NeCr.d.ts} +2 -2
- package/dist/{index-CQ9F1f_F.d.ts → index-C6iJwTL0.d.ts} +324 -145
- package/dist/{index-B4OOtNP8.d.ts → index-C7mxUcDR.d.ts} +2 -2
- package/dist/{index-BSRk8MFK.d.ts → index-C8wDPDcP.d.ts} +1 -1
- package/dist/index-CDdRQQF3.d.ts +170 -0
- package/dist/index-COqjznX0.d.ts +47 -0
- package/dist/index-CRizexSC.d.ts +147 -0
- package/dist/{index-Bc0dgVM5.d.ts → index-CTolyeii.d.ts} +4 -4
- package/dist/index-CVn0GBdB.d.ts +115 -0
- package/dist/index-Cm_TiLXU.d.ts +22 -0
- package/dist/index-Cn-sSds-.d.ts +68 -0
- package/dist/index-CsVS37na.d.ts +81 -0
- package/dist/{index-5R_pi3eT.d.ts → index-D-ZuubCK.d.ts} +3 -3
- package/dist/{index-g03bmR4K.d.ts → index-D0TlUOtG.d.ts} +2 -2
- package/dist/index-DA52oIdw.d.ts +171 -0
- package/dist/{index-D3V7yRUP.d.ts → index-DOUEn7V0.d.ts} +4 -4
- package/dist/{index-CCA4R0Mf.d.ts → index-DT9S92sh.d.ts} +31 -6
- package/dist/{index-CR6sUmRT.d.ts → index-DXSs3rwa.d.ts} +3 -107
- package/dist/{index--dh0s8Li.d.ts → index-DfgHJE7H.d.ts} +1 -1
- package/dist/{index-CNcQmDrK.d.ts → index-DoFCm2Q2.d.ts} +71 -0
- package/dist/{index-mQ6EPmaG.d.ts → index-DsyKhauk.d.ts} +78 -9
- package/dist/{index-12ObcW99.d.ts → index-DtjAdYEc.d.ts} +2 -2
- package/dist/{index-Byar3h1e.d.ts → index-HV6W3xCx.d.ts} +1 -1
- package/dist/{index-CsJpQElv.d.ts → index-NzLDrOkk.d.ts} +2 -2
- package/dist/{index-BnNh5Iml.d.ts → index-SMh42NI8.d.ts} +99 -2
- package/dist/{index-Q4gqBSIZ.d.ts → index-fa72tWIU.d.ts} +1 -1
- package/dist/{index-Bqb_Fyju.d.ts → index-jdjcb3Js.d.ts} +2 -2
- package/dist/{index-BhYFxnjV.d.ts → index-kaKBOZSU.d.ts} +2 -2
- package/dist/index-nKlTsNfV.d.ts +42 -0
- package/dist/index.d.ts +84 -63
- package/dist/index.js +118 -91
- package/dist/locale/index.d.ts +1 -1
- package/dist/locale/index.js +1 -1
- package/dist/size-BuTzpgnR.d.ts +14 -0
- package/dist/size-xcIqExkS.js +79 -0
- package/dist/syntaxTheme-Bcs1YMF7.d.ts +38 -0
- package/dist/syntaxTheme-ClpWALZX.js +75 -0
- package/dist/types-Bt-lSgYX.d.ts +65 -0
- package/dist/types-DZoEm_DG.d.ts +97 -0
- package/dist/{index-Bovw9_8d.d.ts → types-Db3Owy8Q.d.ts} +1 -36
- package/dist/types-JktRxujg.d.ts +107 -0
- package/dist/useAppShellMobile-DTsyuAJ4.js +19 -0
- package/dist/useClickableContainer-DyNpnSEa.js +112 -0
- package/dist/useResizable-CeESZS1v.d.ts +72 -0
- package/dist/useScrollableArea-DDk_CluT.js +172 -0
- package/package.json +73 -1
- package/styles/app-shell.css +151 -0
- package/styles/aspect-ratio.css +49 -0
- package/styles/card.css +5 -1
- package/styles/carousel.css +120 -0
- package/styles/clickable-card.css +101 -0
- package/styles/collapsible.css +37 -0
- package/styles/command-palette.css +183 -0
- package/styles/complex-selector.css +114 -0
- package/styles/field.css +12 -0
- package/styles/form-layout.css +31 -0
- package/styles/heading.css +25 -19
- package/styles/layout.css +280 -0
- package/styles/lightbox.css +144 -0
- package/styles/media-theme.css +51 -0
- package/styles/outline.css +124 -0
- package/styles/resize-handle.css +128 -0
- package/styles/scrollable-area.css +50 -0
- package/styles/section.css +60 -0
- package/styles/side-nav.css +26 -0
- package/styles/stepper.css +357 -0
- package/styles/tab-menu.css +91 -0
- package/styles/text.css +63 -14
- package/styles/theme.css +29 -0
- package/styles/timer.css +34 -0
- package/styles.css +18 -0
- package/dist/Collapsible-BYg9soTk.js +0 -102
- package/dist/TabList-LV1U4ZD6.js +0 -184
- package/dist/composables-Dq9RS33w.js +0 -111
- package/dist/index-BzqRns96.d.ts +0 -64
- package/dist/index-TnaIHsCS.d.ts +0 -87
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.components {
|
|
4
|
+
.astryx-layout {
|
|
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
|
+
margin-block-start: calc(-1 * var(--container-padding-block-start, 0px));
|
|
9
|
+
margin-block-end: calc(-1 * var(--container-padding-block-end, 0px));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.astryx-layout[data-height='fill'],
|
|
13
|
+
.astryx-layout[data-height='fill'] > .astryx-layout__inner {
|
|
14
|
+
height: calc(100% + var(--container-padding-block-start, 0px) + var(--container-padding-block-end, 0px));
|
|
15
|
+
max-height: var(--container-max-height, none);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.astryx-layout[data-height='auto'],
|
|
19
|
+
.astryx-layout[data-height='auto'] > .astryx-layout__inner {
|
|
20
|
+
min-height: 100%;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.astryx-layout__inner {
|
|
24
|
+
box-sizing: border-box;
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
min-height: 0;
|
|
28
|
+
--container-padding-inline-start: 0px;
|
|
29
|
+
--container-padding-inline-end: 0px;
|
|
30
|
+
--container-padding-block-start: 0px;
|
|
31
|
+
--container-padding-block-end: 0px;
|
|
32
|
+
--layout-content-width: 100cqi;
|
|
33
|
+
--layout-alignment-width: 100cqi;
|
|
34
|
+
--layout-padding-own-outer-x: initial;
|
|
35
|
+
--layout-padding-own-outer-y: initial;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.astryx-layout__inner[data-full-bleed] {
|
|
39
|
+
--layout-padding-own-outer-x: 0px;
|
|
40
|
+
--layout-padding-own-outer-y: 0px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.astryx-layout__middle {
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-direction: row;
|
|
46
|
+
flex: 1;
|
|
47
|
+
min-width: 0;
|
|
48
|
+
min-height: 0;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.astryx-layout__inner[data-width-mode='constrained'] > .astryx-layout__middle,
|
|
52
|
+
.astryx-layout__inner[data-width-mode='internal'][data-panels='both'] > .astryx-layout__middle {
|
|
53
|
+
box-sizing: border-box;
|
|
54
|
+
width: 100%;
|
|
55
|
+
max-width: var(--layout-content-width, none);
|
|
56
|
+
margin-inline: auto;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.astryx-layout__inner[data-width-mode='internal']:not([data-panels='both']) > .astryx-layout__middle {
|
|
60
|
+
container-type: inline-size;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.astryx-layout__inner[data-width-mode='internal'][data-panels='start'] > .astryx-layout__middle,
|
|
64
|
+
.astryx-layout__inner[data-width-mode='internal'][data-panels='end'] > .astryx-layout__middle {
|
|
65
|
+
box-sizing: border-box;
|
|
66
|
+
width: 100%;
|
|
67
|
+
max-width: var(--layout-content-width, none);
|
|
68
|
+
margin-inline: auto;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.astryx-layout__inner[data-width-mode='internal'][data-panels='start'] > .astryx-layout__middle:has(> .astryx-layout__content-slot > .astryx-layout-content),
|
|
72
|
+
.astryx-layout__inner[data-width-mode='internal'][data-panels='end'] > .astryx-layout__middle:has(> .astryx-layout__content-slot > .astryx-layout-content) {
|
|
73
|
+
max-width: none;
|
|
74
|
+
margin-inline: 0;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.astryx-layout__inner[data-width-mode='internal'][data-panels='start'] > .astryx-layout__middle:has(> .astryx-layout__content-slot > .astryx-layout-content) {
|
|
78
|
+
padding-inline-start: max(0px, calc((100% - var(--layout-content-width)) / 2));
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.astryx-layout__inner[data-width-mode='internal'][data-panels='end'] > .astryx-layout__middle:has(> .astryx-layout__content-slot > .astryx-layout-content) {
|
|
82
|
+
padding-inline-end: max(0px, calc((100% - var(--layout-content-width)) / 2));
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.astryx-layout__content-slot {
|
|
86
|
+
display: flex;
|
|
87
|
+
flex-direction: column;
|
|
88
|
+
flex: 1;
|
|
89
|
+
min-width: 0;
|
|
90
|
+
min-height: 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.astryx-layout__inner[data-width-mode='internal'][data-panels='none'] > .astryx-layout__middle > .astryx-layout__content-slot {
|
|
94
|
+
width: 100%;
|
|
95
|
+
max-width: var(--layout-content-width, none);
|
|
96
|
+
margin-inline: auto;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.astryx-layout__inner[data-width-mode='internal'][data-panels='none'] > .astryx-layout__middle > .astryx-layout__content-slot:has(> .astryx-layout-content) {
|
|
100
|
+
max-width: none;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.astryx-layout-header,
|
|
104
|
+
.astryx-layout-footer {
|
|
105
|
+
box-sizing: border-box;
|
|
106
|
+
flex-shrink: 0;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.astryx-layout-header[data-divider] {
|
|
110
|
+
border-block-end: 1px solid var(--astryx-color-border, #ebebeb);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.astryx-layout-footer[data-divider] {
|
|
114
|
+
border-block-start: 1px solid var(--astryx-color-border, #ebebeb);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.astryx-layout-header__inner,
|
|
118
|
+
.astryx-layout-footer__inner {
|
|
119
|
+
box-sizing: border-box;
|
|
120
|
+
max-width: var(--layout-content-width, none);
|
|
121
|
+
margin-inline: auto;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.astryx-layout-header__inner {
|
|
125
|
+
padding-inline: var(--_layout-header-inline, var(--layout-padding-own-outer-x, var(--layout-padding-outer-x, var(--astryx-spacing-4, 16px))));
|
|
126
|
+
padding-block-start: var(--_layout-header-block-start, var(--layout-padding-own-outer-y, var(--layout-padding-outer-y, var(--astryx-spacing-4, 16px))));
|
|
127
|
+
padding-block-end: var(--_layout-header-block-end, var(--layout-padding-inner-y, var(--astryx-spacing-4, 16px)));
|
|
128
|
+
--container-padding-inline-start: var(--_layout-header-inline, var(--layout-padding-own-outer-x, var(--layout-padding-outer-x, var(--astryx-spacing-4, 16px))));
|
|
129
|
+
--container-padding-inline-end: var(--_layout-header-inline, var(--layout-padding-own-outer-x, var(--layout-padding-outer-x, var(--astryx-spacing-4, 16px))));
|
|
130
|
+
--container-padding-block-start: var(--_layout-header-block-start, var(--layout-padding-own-outer-y, var(--layout-padding-outer-y, var(--astryx-spacing-4, 16px))));
|
|
131
|
+
--container-padding-block-end: var(--_layout-header-block-end, var(--layout-padding-inner-y, var(--astryx-spacing-4, 16px)));
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.astryx-layout-footer__inner {
|
|
135
|
+
padding-inline: var(--_layout-footer-inline, var(--layout-padding-own-outer-x, var(--layout-padding-outer-x, var(--astryx-spacing-4, 16px))));
|
|
136
|
+
padding-block-start: var(--_layout-footer-block-start, var(--layout-padding-inner-y, var(--astryx-spacing-4, 16px)));
|
|
137
|
+
padding-block-end: var(--_layout-footer-block-end, var(--layout-padding-own-outer-y, var(--layout-padding-outer-y, var(--astryx-spacing-4, 16px))));
|
|
138
|
+
--container-padding-inline-start: var(--_layout-footer-inline, var(--layout-padding-own-outer-x, var(--layout-padding-outer-x, var(--astryx-spacing-4, 16px))));
|
|
139
|
+
--container-padding-inline-end: var(--_layout-footer-inline, var(--layout-padding-own-outer-x, var(--layout-padding-outer-x, var(--astryx-spacing-4, 16px))));
|
|
140
|
+
--container-padding-block-start: var(--_layout-footer-block-start, var(--layout-padding-inner-y, var(--astryx-spacing-4, 16px)));
|
|
141
|
+
--container-padding-block-end: var(--_layout-footer-block-end, var(--layout-padding-own-outer-y, var(--layout-padding-outer-y, var(--astryx-spacing-4, 16px))));
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.astryx-layout-header__inner[data-bleed],
|
|
145
|
+
.astryx-layout-footer__inner[data-bleed] {
|
|
146
|
+
padding: 0;
|
|
147
|
+
--container-padding-inline-start: 0px;
|
|
148
|
+
--container-padding-inline-end: 0px;
|
|
149
|
+
--container-padding-block-start: 0px;
|
|
150
|
+
--container-padding-block-end: 0px;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.astryx-layout-content,
|
|
154
|
+
.astryx-layout-panel {
|
|
155
|
+
box-sizing: border-box;
|
|
156
|
+
min-width: 0;
|
|
157
|
+
min-height: 0;
|
|
158
|
+
--layout-pad-inline: var(--layout-padding-inner-x, var(--astryx-spacing-4, 16px));
|
|
159
|
+
--layout-pad-block: var(--layout-padding-inner-y, var(--astryx-spacing-4, 16px));
|
|
160
|
+
--layout-pad-outer-x: var(--layout-padding-own-outer-x, var(--layout-padding-outer-x, var(--astryx-spacing-4, 16px)));
|
|
161
|
+
--layout-pad-outer-y: var(--layout-padding-own-outer-y, var(--layout-padding-outer-y, var(--astryx-spacing-4, 16px)));
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.astryx-layout-content {
|
|
165
|
+
height: 100%;
|
|
166
|
+
flex: 1;
|
|
167
|
+
overflow: clip;
|
|
168
|
+
padding-inline-start: var(--_layout-content-inline-start, var(--layout-pad-inline));
|
|
169
|
+
padding-inline-end: var(--_layout-content-inline-end, var(--layout-pad-inline));
|
|
170
|
+
padding-block-start: var(--_layout-content-block-start, var(--layout-pad-block));
|
|
171
|
+
padding-block-end: var(--_layout-content-block-end, var(--layout-pad-block));
|
|
172
|
+
--container-padding-inline-start: var(--_layout-content-inline-start, var(--layout-pad-inline));
|
|
173
|
+
--container-padding-inline-end: var(--_layout-content-inline-end, var(--layout-pad-inline));
|
|
174
|
+
--container-padding-block-start: var(--_layout-content-block-start, var(--layout-pad-block));
|
|
175
|
+
--container-padding-block-end: var(--_layout-content-block-end, var(--layout-pad-block));
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.astryx-layout-content[data-edge-start]:not([data-explicit-padding]) {
|
|
179
|
+
padding-inline-start: var(--layout-pad-outer-x);
|
|
180
|
+
--container-padding-inline-start: var(--layout-pad-outer-x);
|
|
181
|
+
--container-padding-inline-end: var(--layout-pad-outer-x);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.astryx-layout-content[data-edge-end]:not([data-explicit-padding]) {
|
|
185
|
+
padding-inline-end: var(--layout-pad-outer-x);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.astryx-layout-content[data-edge-header]:not([data-explicit-padding]) {
|
|
189
|
+
padding-block-start: var(--layout-pad-outer-y);
|
|
190
|
+
--container-padding-block-start: var(--layout-pad-outer-y);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.astryx-layout-content[data-edge-footer]:not([data-explicit-padding]) {
|
|
194
|
+
padding-block-end: var(--layout-pad-outer-y);
|
|
195
|
+
--container-padding-block-end: var(--layout-pad-outer-y);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.astryx-layout__inner:has(> .astryx-layout-header:not([data-divider])) .astryx-layout-content:not([data-explicit-padding]) {
|
|
199
|
+
padding-block-start: 0;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.astryx-layout__inner:has(> .astryx-layout-footer:not([data-divider])) .astryx-layout-content:not([data-explicit-padding]) {
|
|
203
|
+
padding-block-end: 0;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.astryx-layout-content[data-scrollable] {
|
|
207
|
+
overflow: auto;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.astryx-layout-content[data-panels='none']:not([data-explicit-padding]) {
|
|
211
|
+
padding-inline-start: max(var(--container-padding-inline-start, 0px), calc((100cqi - var(--layout-alignment-width, 100cqi)) / 2 + var(--container-padding-inline-start, 0px)));
|
|
212
|
+
padding-inline-end: max(var(--container-padding-inline-end, 0px), calc((100cqi - var(--layout-alignment-width, 100cqi)) / 2 + var(--container-padding-inline-end, 0px)));
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.astryx-layout-content[data-panels='start']:not([data-explicit-padding]) {
|
|
216
|
+
padding-inline-end: max(var(--container-padding-inline-end, 0px), calc(100cqi - var(--layout-alignment-width, 100cqi) + var(--container-padding-inline-end, 0px)));
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.astryx-layout-content[data-panels='end']:not([data-explicit-padding]) {
|
|
220
|
+
padding-inline-start: max(var(--container-padding-inline-start, 0px), calc(100cqi - var(--layout-alignment-width, 100cqi) + var(--container-padding-inline-start, 0px)));
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.astryx-layout-content[data-bleed],
|
|
224
|
+
.astryx-layout-panel[data-bleed] {
|
|
225
|
+
padding: 0;
|
|
226
|
+
--container-padding-inline-start: 0px;
|
|
227
|
+
--container-padding-inline-end: 0px;
|
|
228
|
+
--container-padding-block-start: 0px;
|
|
229
|
+
--container-padding-block-end: 0px;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.astryx-layout-panel {
|
|
233
|
+
flex-shrink: 0;
|
|
234
|
+
overflow: clip;
|
|
235
|
+
padding-inline-start: var(--_layout-panel-inline-start, var(--layout-pad-inline));
|
|
236
|
+
padding-inline-end: var(--_layout-panel-inline-end, var(--layout-pad-inline));
|
|
237
|
+
padding-block-start: var(--_layout-panel-block-start, var(--layout-pad-block));
|
|
238
|
+
padding-block-end: var(--_layout-panel-block-end, var(--layout-pad-block));
|
|
239
|
+
--container-padding-inline-start: var(--_layout-panel-inline-start, var(--layout-pad-inline));
|
|
240
|
+
--container-padding-inline-end: var(--_layout-panel-inline-end, var(--layout-pad-inline));
|
|
241
|
+
--container-padding-block-start: var(--_layout-panel-block-start, var(--layout-pad-block));
|
|
242
|
+
--container-padding-block-end: var(--_layout-panel-block-end, var(--layout-pad-block));
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.astryx-layout-panel[data-area='start']:not([data-explicit-padding]) {
|
|
246
|
+
padding-inline-start: var(--layout-pad-outer-x);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.astryx-layout-panel[data-area='end']:not([data-explicit-padding]) {
|
|
250
|
+
padding-inline-end: var(--layout-pad-outer-x);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.astryx-layout-panel[data-edge-header]:not([data-explicit-padding]) {
|
|
254
|
+
padding-block-start: var(--layout-pad-outer-y);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.astryx-layout-panel[data-edge-footer]:not([data-explicit-padding]) {
|
|
258
|
+
padding-block-end: var(--layout-pad-outer-y);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.astryx-layout-panel[data-scrollable] {
|
|
262
|
+
overflow: auto;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.astryx-layout-panel[data-area='start'][data-divider] {
|
|
266
|
+
border-inline-end: 1px solid var(--astryx-color-border, #ebebeb);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.astryx-layout-panel[data-area='end'][data-divider] {
|
|
270
|
+
border-inline-start: 1px solid var(--astryx-color-border, #ebebeb);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.astryx-layout-panel[data-area='start'][data-collapse] {
|
|
274
|
+
margin-inline-end: calc(-1 * var(--layout-pad-inline));
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.astryx-layout-panel[data-area='end'][data-collapse] {
|
|
278
|
+
margin-inline-start: calc(-1 * var(--layout-pad-inline));
|
|
279
|
+
}
|
|
280
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.components {
|
|
4
|
+
.astryx-lightbox {
|
|
5
|
+
position: fixed;
|
|
6
|
+
inset: 0;
|
|
7
|
+
width: 100vw;
|
|
8
|
+
max-width: none;
|
|
9
|
+
height: 100vh;
|
|
10
|
+
max-height: none;
|
|
11
|
+
margin: 0;
|
|
12
|
+
padding: 0;
|
|
13
|
+
border: 0;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
background: transparent;
|
|
16
|
+
outline: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.astryx-lightbox::backdrop {
|
|
20
|
+
background-color: var(--astryx-color-overlay, light-dark(#00000080, #000000cc));
|
|
21
|
+
backdrop-filter: blur(2px);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.astryx-lightbox__container {
|
|
25
|
+
position: relative;
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
width: 100%;
|
|
30
|
+
height: 100%;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.astryx-lightbox__media {
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
align-items: center;
|
|
37
|
+
max-width: 100%;
|
|
38
|
+
max-height: 100%;
|
|
39
|
+
min-height: 0;
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.astryx-lightbox__frame {
|
|
44
|
+
display: flex;
|
|
45
|
+
align-items: center;
|
|
46
|
+
justify-content: center;
|
|
47
|
+
max-width: 100%;
|
|
48
|
+
max-height: 100%;
|
|
49
|
+
min-height: 0;
|
|
50
|
+
overflow: hidden;
|
|
51
|
+
user-select: none;
|
|
52
|
+
cursor: default;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.astryx-lightbox__frame[data-zoomable]:not([data-zoomed]) {
|
|
56
|
+
cursor: zoom-in;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.astryx-lightbox__frame[data-zoomed] {
|
|
60
|
+
cursor: grab;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.astryx-lightbox__frame[data-dragging] {
|
|
64
|
+
cursor: grabbing;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.astryx-lightbox__frame:focus-visible {
|
|
68
|
+
outline: var(--astryx-focus-outline-width, 2px) var(--astryx-focus-outline-style, solid) var(--astryx-focus-outline-color, var(--astryx-color-accent, #0074e2));
|
|
69
|
+
outline-offset: var(--astryx-focus-outline-offset, 3px);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.astryx-lightbox__image,
|
|
73
|
+
.astryx-lightbox__video {
|
|
74
|
+
display: block;
|
|
75
|
+
max-width: min(100vw, 100%);
|
|
76
|
+
max-height: calc(100vh - 7rem);
|
|
77
|
+
object-fit: contain;
|
|
78
|
+
outline: none;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.astryx-lightbox__image {
|
|
82
|
+
pointer-events: none;
|
|
83
|
+
transform-origin: center center;
|
|
84
|
+
transition: transform 200ms ease-out;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.astryx-lightbox__image[data-dragging] {
|
|
88
|
+
transition: none;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@media (prefers-reduced-motion: reduce) {
|
|
92
|
+
.astryx-lightbox__image {
|
|
93
|
+
transition-duration: 0ms;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.astryx-lightbox__caption {
|
|
98
|
+
flex-shrink: 0;
|
|
99
|
+
max-width: 600px;
|
|
100
|
+
margin: 0;
|
|
101
|
+
padding-block: var(--astryx-spacing-2, 8px) 0;
|
|
102
|
+
padding-inline: var(--astryx-spacing-3, 12px);
|
|
103
|
+
color: var(--astryx-color-on-dark, #fff);
|
|
104
|
+
font-size: var(--astryx-text-large-size, 1.125rem);
|
|
105
|
+
line-height: var(--astryx-text-large-leading, 1.3333);
|
|
106
|
+
text-align: center;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.astryx-lightbox__close,
|
|
110
|
+
.astryx-lightbox__nav,
|
|
111
|
+
.astryx-lightbox__counter {
|
|
112
|
+
position: absolute;
|
|
113
|
+
z-index: 1;
|
|
114
|
+
color: var(--astryx-color-on-dark, #fff);
|
|
115
|
+
--astryx-button-ghost-foreground: var(--astryx-color-on-dark, #fff);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.astryx-lightbox__close {
|
|
119
|
+
top: var(--astryx-spacing-3, 12px);
|
|
120
|
+
inset-inline-end: var(--astryx-spacing-3, 12px);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.astryx-lightbox__nav {
|
|
124
|
+
top: 50%;
|
|
125
|
+
translate: 0 -50%;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.astryx-lightbox__nav--prev {
|
|
129
|
+
inset-inline-start: var(--astryx-spacing-3, 12px);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.astryx-lightbox__nav--next {
|
|
133
|
+
inset-inline-end: var(--astryx-spacing-3, 12px);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.astryx-lightbox__counter {
|
|
137
|
+
top: var(--astryx-spacing-3, 12px);
|
|
138
|
+
inset-inline-start: var(--astryx-spacing-3, 12px);
|
|
139
|
+
margin: 0;
|
|
140
|
+
color: var(--astryx-color-on-dark, #fff);
|
|
141
|
+
font-size: var(--astryx-text-body-size, 1rem);
|
|
142
|
+
line-height: var(--astryx-text-body-leading, 1.4286);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.components {
|
|
4
|
+
.astryx-media-theme {
|
|
5
|
+
display: contents;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
/*
|
|
9
|
+
* Inverted surfaces do not rely on `color-scheme` alone. Text and heading
|
|
10
|
+
* colors are their own variables, and a `display: contents` wrapper does not
|
|
11
|
+
* always establish a color-scheme for its children. These declarations set
|
|
12
|
+
* the text tokens to the on-dark / on-light colors directly.
|
|
13
|
+
*/
|
|
14
|
+
[data-astryx-media='dark'] {
|
|
15
|
+
color-scheme: dark;
|
|
16
|
+
color: var(--astryx-color-on-dark, #ffffff);
|
|
17
|
+
--astryx-color-text-primary: var(--astryx-color-on-dark, #ffffff);
|
|
18
|
+
--astryx-color-text-secondary: #a3a3a3;
|
|
19
|
+
--astryx-text-foreground: var(--astryx-color-on-dark, #ffffff);
|
|
20
|
+
--astryx-text-supporting-foreground: #a3a3a3;
|
|
21
|
+
--astryx-heading-foreground: var(--astryx-color-on-dark, #ffffff);
|
|
22
|
+
--astryx-color-icon-primary: var(--astryx-color-on-dark, #ffffff);
|
|
23
|
+
--astryx-icon-primary-foreground: var(--astryx-color-on-dark, #ffffff);
|
|
24
|
+
--astryx-color-accent: var(--astryx-color-on-dark, #ffffff);
|
|
25
|
+
--astryx-color-on-accent: var(--astryx-color-on-light, #171717);
|
|
26
|
+
--astryx-button-primary-background: var(--astryx-color-on-dark, #ffffff);
|
|
27
|
+
--astryx-button-primary-foreground: var(--astryx-color-on-light, #171717);
|
|
28
|
+
--astryx-button-secondary-background: #ffffff1a;
|
|
29
|
+
--astryx-button-secondary-foreground: var(--astryx-color-on-dark, #ffffff);
|
|
30
|
+
--astryx-button-ghost-foreground: var(--astryx-color-on-dark, #ffffff);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
[data-astryx-media='light'] {
|
|
34
|
+
color-scheme: light;
|
|
35
|
+
color: var(--astryx-color-on-light, #171717);
|
|
36
|
+
--astryx-color-text-primary: var(--astryx-color-on-light, #171717);
|
|
37
|
+
--astryx-color-text-secondary: #525252;
|
|
38
|
+
--astryx-text-foreground: var(--astryx-color-on-light, #171717);
|
|
39
|
+
--astryx-text-supporting-foreground: #525252;
|
|
40
|
+
--astryx-heading-foreground: var(--astryx-color-on-light, #171717);
|
|
41
|
+
--astryx-color-icon-primary: var(--astryx-color-on-light, #171717);
|
|
42
|
+
--astryx-icon-primary-foreground: var(--astryx-color-on-light, #171717);
|
|
43
|
+
--astryx-color-accent: var(--astryx-color-on-light, #171717);
|
|
44
|
+
--astryx-color-on-accent: #ffffff;
|
|
45
|
+
--astryx-button-primary-background: var(--astryx-color-on-light, #171717);
|
|
46
|
+
--astryx-button-primary-foreground: #ffffff;
|
|
47
|
+
--astryx-button-secondary-background: #0000000f;
|
|
48
|
+
--astryx-button-secondary-foreground: var(--astryx-color-on-light, #171717);
|
|
49
|
+
--astryx-button-ghost-foreground: var(--astryx-color-on-light, #171717);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.components {
|
|
4
|
+
.astryx-outline {
|
|
5
|
+
position: relative;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
gap: var(--astryx-spacing-0-5, 2px);
|
|
9
|
+
width: 100%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.astryx-outline__list {
|
|
13
|
+
display: flex;
|
|
14
|
+
flex: 1;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
gap: var(--astryx-spacing-0-5, 2px);
|
|
17
|
+
min-width: 0;
|
|
18
|
+
margin: 0;
|
|
19
|
+
padding: 0;
|
|
20
|
+
list-style: none;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.astryx-outline__item {
|
|
24
|
+
margin: 0;
|
|
25
|
+
padding: 0;
|
|
26
|
+
list-style: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.astryx-outline__link {
|
|
30
|
+
position: relative;
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
box-sizing: border-box;
|
|
34
|
+
width: 100%;
|
|
35
|
+
padding-block: var(--astryx-spacing-2, 8px);
|
|
36
|
+
padding-inline: var(--astryx-spacing-3, 12px) var(--astryx-spacing-2, 8px);
|
|
37
|
+
border-radius: var(--astryx-radius-element, 0.625rem);
|
|
38
|
+
color: var(--astryx-color-text-secondary, light-dark(#525252, #a3a3a3));
|
|
39
|
+
font-size: var(--astryx-text-body-size, 1rem);
|
|
40
|
+
font-weight: var(--astryx-font-weight-regular, 400);
|
|
41
|
+
line-height: var(--astryx-text-body-leading, 1.4286);
|
|
42
|
+
text-align: start;
|
|
43
|
+
text-decoration: none;
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
transition:
|
|
46
|
+
background-color var(--astryx-duration-fast, 125ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1)),
|
|
47
|
+
color var(--astryx-duration-fast, 125ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.astryx-outline[data-density='compact'] .astryx-outline__link {
|
|
51
|
+
padding-block: var(--astryx-spacing-1, 4px);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.astryx-outline__link[data-level='2'] {
|
|
55
|
+
padding-inline-start: var(--astryx-spacing-7, 28px);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.astryx-outline__link[data-level='3'] {
|
|
59
|
+
padding-inline-start: var(--astryx-spacing-11, 44px);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.astryx-outline__link[data-level='4'] {
|
|
63
|
+
padding-inline-start: var(--astryx-spacing-12, 48px);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@media (hover: hover) {
|
|
67
|
+
.astryx-outline__link:hover {
|
|
68
|
+
color: var(--astryx-color-text-primary, light-dark(#171717, #fafafa));
|
|
69
|
+
background-color: var(--astryx-color-overlay-hover, light-dark(#0000000d, #ffffff0d));
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.astryx-outline__link[data-active] {
|
|
74
|
+
color: var(--astryx-color-text-primary, light-dark(#171717, #fafafa));
|
|
75
|
+
font-weight: var(--astryx-font-weight-semibold, 600);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.astryx-outline__link:focus-visible {
|
|
79
|
+
outline: var(--astryx-focus-outline-width, 2px) var(--astryx-focus-outline-style, solid) var(--astryx-focus-outline-color, var(--astryx-color-accent, #0074e2));
|
|
80
|
+
outline-offset: var(--astryx-focus-outline-offset, 3px);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.astryx-outline__label {
|
|
84
|
+
overflow: hidden;
|
|
85
|
+
text-overflow: ellipsis;
|
|
86
|
+
white-space: nowrap;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.astryx-outline__track {
|
|
90
|
+
position: relative;
|
|
91
|
+
flex-shrink: 0;
|
|
92
|
+
order: -1;
|
|
93
|
+
width: 2px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.astryx-outline__line,
|
|
97
|
+
.astryx-outline__indicator {
|
|
98
|
+
position: absolute;
|
|
99
|
+
inset-inline-start: 0;
|
|
100
|
+
width: 2px;
|
|
101
|
+
border-radius: var(--astryx-radius-full, 9999px);
|
|
102
|
+
pointer-events: none;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.astryx-outline__line {
|
|
106
|
+
inset-block: 0;
|
|
107
|
+
background-color: var(--astryx-color-border, light-dark(#ebebeb, #ffffff1a));
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.astryx-outline__indicator {
|
|
111
|
+
top: var(--astryx-outline-indicator-top, 0px);
|
|
112
|
+
height: var(--astryx-outline-indicator-height, 0px);
|
|
113
|
+
background-color: var(--astryx-color-icon-primary, light-dark(#171717, #fafafa));
|
|
114
|
+
transition:
|
|
115
|
+
top var(--astryx-duration-fast-min, 95ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1)),
|
|
116
|
+
height var(--astryx-duration-fast-min, 95ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@media (prefers-reduced-motion: reduce) {
|
|
120
|
+
.astryx-outline__indicator {
|
|
121
|
+
transition: none;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|