@astryx-vue/core 0.1.3 → 0.2.1
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.js +1 -1
- package/dist/{AppShell-b0PWt9Fz.js → AppShell-1wNIEtK_.js} +2 -2
- package/dist/Avatar/index.d.ts +1 -1
- package/dist/Avatar/index.js +1 -1
- package/dist/Avatar-jmHInHwj.js +244 -0
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-CZcgAMjM.js → AvatarGroup-QyzSrpYA.js} +8 -7
- package/dist/Badge/index.d.ts +1 -1
- package/dist/Badge/index.js +1 -1
- package/dist/Badge-CjDQPF5g.js +30 -0
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Breadcrumbs/index.d.ts +2 -2
- package/dist/Breadcrumbs/index.js +1 -1
- package/dist/{Breadcrumbs-C3YZFQ9w.js → Breadcrumbs-C97HmjkC.js} +45 -11
- 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-DqC3EDN1.js +352 -0
- package/dist/Card/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +2 -0
- package/dist/Carousel/index.js +2 -0
- package/dist/Carousel-BGUnskjo.js +363 -0
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-C1aWl5V3.js → Chat-DCjXRiOF.js} +8 -8
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-C1X0Rde8.js → Citation-DunoAqVH.js} +2 -2
- package/dist/ClickableCard/index.d.ts +1 -1
- 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-CAF-VJnh.js} +8 -2
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-BS9ctCQV.js → Collapsible-DvMiYJp7.js} +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-u5h_E05P.js → CommandPalette-xfm9ldUI.js} +1 -1
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-BHmGWml0.js → ComplexSelector-B6lBTRhP.js} +2 -2
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/ContextMenu/index.js +1 -1
- package/dist/{ContextMenu-dA-ppaRQ.js → ContextMenu-DUkED3Z3.js} +101 -63
- package/dist/DateInput/index.d.ts +2 -2
- package/dist/DateInput/index.js +1 -1
- package/dist/DateInput-Crcg-CCj.js +376 -0
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-fmQlr_A7.js → DateRangeInput-e9KSxBBK.js} +2 -2
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-Bs1JmcIp.js → DateTimeInput-fSOfuLex.js} +5 -3
- package/dist/DropdownMenu/index.d.ts +3 -2
- package/dist/DropdownMenu/index.js +3 -2
- package/dist/{DropdownMenu-B0gogrvG.js → DropdownMenu-8G0B1UND.js} +63 -16
- package/dist/DropdownMenu-XvW4BJob.js +164 -0
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-Bhlqgsg4.js → EmptyState-CUJdTYKV.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-CmAfOpkA.js → FileInput-D-fchyQH.js} +2 -2
- package/dist/Icon/index.d.ts +4 -0
- package/dist/Icon/index.js +3 -0
- package/dist/Icon/plugin.d.ts +45 -0
- package/dist/Icon/plugin.js +177 -0
- package/dist/Icon-Bku25g_K.js +193 -0
- package/dist/Lightbox/index.d.ts +2 -0
- package/dist/Lightbox/index.js +2 -0
- package/dist/Lightbox-uuVGgHxW.js +384 -0
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/Link-DqdQZ37C.js +141 -0
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-CwtLr3f_.js → Markdown-DLICa3db.js} +3 -3
- package/dist/MetadataList/index.d.ts +1 -1
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-DlXQTLog.js → MetadataList-h492rqEN.js} +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-CgQamG6E.js → MobileNavToggle-BMj3Wtuq.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-BXL6Dqsu.js → MoreMenu-DkYi5az5.js} +2 -2
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-DT8ZccMI.js → MultiSelector-C2IS-EaU.js} +2 -2
- 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 +2 -2
- package/dist/NumberInput/index.js +1 -1
- package/dist/NumberInput-CjfAsFwj.js +210 -0
- package/dist/Outline/index.d.ts +2 -0
- package/dist/Outline/index.js +2 -0
- package/dist/Outline-BTmrtvXR.js +325 -0
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-zXg3g6fy.js → OverflowList-CRE8BE7V.js} +2 -2
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +2 -2
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DXfgMUKJ.js → Pagination-BpGXPmc7.js} +76 -22
- package/dist/Popover/index.d.ts +1 -1
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-ChDp-7oe.js → ProgressBar-DO9Chic6.js} +31 -11
- package/dist/Radio/index.d.ts +1 -1
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{Resizable-BuGKvU9I.js → Resizable-CE8XQDL2.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-DkJOLZSR.js +468 -0
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-Cdrigq2A.js → SideNav-DcDWBnXJ.js} +17 -17
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-DxmLfh8O.js → Stepper-DZKaqEoz.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-C411uNQU.js → TabList-hm06QPiW.js} +10 -3
- package/dist/Table/index.js +1 -1
- package/dist/{Table-7qRmlIQd.js → Table-DwehtMap.js} +4 -4
- 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-Cv9UVbzS.js → TextArea-CPwSytdO.js} +12 -6
- package/dist/TextInput/index.d.ts +1 -1
- 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-BWVzLLyI.js → Thumbnail-CAOYds8t.js} +11 -11
- package/dist/{TimeField-l3QzU6vC.js → TimeField-BGbxCoKU.js} +2 -2
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-OkgX-xbQ.js → TimeInput-DJP3l4ZS.js} +1 -1
- 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 +2 -1
- package/dist/{Timestamp-DUoP9ari.js → Timestamp-BzRp8uWc.js} +5 -122
- package/dist/Toast/index.d.ts +2 -2
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-BKXPvEMp.js → Toast-C2ML-bmi.js} +37 -7
- 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-C4KD0fZD.js → Token-CjocuhzE.js} +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-BA8sTMPZ.js → Tokenizer-mYES5SPM.js} +2 -2
- 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-CZokS7E_.js → TopNav-C2t6JkZb.js} +4 -4
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-CIbAGOMf.js → TreeList-THJ0KamE.js} +3 -3
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-DIw-K4aa.js → Typeahead-D7VnvRpK.js} +2 -2
- package/dist/{context-D6ECRdc5.js → context-DzcK4T_C.js} +58 -2
- package/dist/context-O2Vb8cJl.js +57 -0
- package/dist/formatInstant-BDWUIxS7.js +119 -0
- package/dist/index-1AZ4KZhg.d.ts +96 -0
- package/dist/index-3p2BDVHq.d.ts +31 -0
- package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
- package/dist/{index-FEy8qFSD.d.ts → index-BHqRH7QW.d.ts} +2 -2
- package/dist/{index-CTolyeii.d.ts → index-BLOEjvaM.d.ts} +16 -2
- package/dist/index-BMrggCw-.d.ts +52 -0
- package/dist/{index-z4p2k9VR.d.ts → index-Bgv4ZmBl.d.ts} +20 -2
- package/dist/{index-BoRIw-bP.d.ts → index-Bt7ewoz2.d.ts} +32 -2
- package/dist/{index-CjtAH60j.d.ts → index-Bu0Zd1uw.d.ts} +1 -1
- package/dist/{index-uQrLBZfF.d.ts → index-Bu3oXIIS.d.ts} +24 -0
- package/dist/{index-CX97hlld.d.ts → index-CBym0hSq.d.ts} +2 -19
- package/dist/index-CJlBAXwj.d.ts +100 -0
- package/dist/{index-DT9S92sh.d.ts → index-CNjbOgty.d.ts} +15 -0
- package/dist/{index-gW0HW02U.d.ts → index-COxy6LEW.d.ts} +1 -1
- package/dist/index-CRizexSC.d.ts +147 -0
- package/dist/{index-DYChvBOM.d.ts → index-Clmz00IK.d.ts} +31 -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-DRmb-oUa.d.ts → index-CuFLztiI.d.ts} +6 -1
- package/dist/{index-CT8KEpec.d.ts → index-D0TlUOtG.d.ts} +1 -1
- package/dist/{index-fa72tWIU.d.ts → index-D2bSSSBP.d.ts} +1 -1
- package/dist/{index-2u4l3wq8.d.ts → index-DAiGhkNZ.d.ts} +15 -2
- package/dist/{index-DGNqi2za.d.ts → index-DQAnGHu7.d.ts} +5 -5
- package/dist/{index-BfOtLyNH.d.ts → index-D_nYxnNv.d.ts} +1 -1
- package/dist/{index-Df2YvC8o.d.ts → index-DeOftUMq.d.ts} +191 -75
- package/dist/{index-DXDGk38y.d.ts → index-Dg3ZmwEg.d.ts} +11 -0
- package/dist/{index-BiMGXtD-.d.ts → index-DimuSES0.d.ts} +14 -1
- package/dist/{index-C_2Z65Rp.d.ts → index-DnEh-HA0.d.ts} +1 -1
- package/dist/{index-D-ZuubCK.d.ts → index-DnSrjbjP.d.ts} +1 -1
- package/dist/{index-mQ6EPmaG.d.ts → index-DsyKhauk.d.ts} +78 -9
- package/dist/{index-C6RecznD.d.ts → index-I4J7gwa1.d.ts} +51 -9
- package/dist/{index-utZGF4GR.d.ts → index-NOXYEdOI.d.ts} +1 -1
- package/dist/{index-B4OOtNP8.d.ts → index-Z_onS2lR.d.ts} +1 -1
- package/dist/{index-CVn0GBdB.d.ts → index-cG1E0U2s.d.ts} +1 -1
- package/dist/{index-DEeJowZf.d.ts → index-cGagYM1g.d.ts} +15 -2
- package/dist/{index-Ck8qy6Rf.d.ts → index-c_TaW8mM.d.ts} +24 -2
- package/dist/{index-Bqb_Fyju.d.ts → index-jdjcb3Js.d.ts} +2 -2
- package/dist/index.d.ts +78 -68
- package/dist/index.js +107 -96
- package/dist/locale/index.d.ts +1 -1
- package/dist/locale/index.js +1 -1
- package/dist/registry-B1ObuP--.d.ts +45 -0
- package/dist/registry-C7OZb0PJ.js +135 -0
- package/dist/syntaxTheme-Bcs1YMF7.d.ts +38 -0
- package/dist/syntaxTheme-ClpWALZX.js +75 -0
- package/dist/types-BKcxXW--.d.ts +114 -0
- package/dist/types-Bt-lSgYX.d.ts +65 -0
- package/dist/{index-B8MbfMwV.d.ts → types-DDAAT1Xd.d.ts} +36 -82
- package/package.json +30 -1
- package/styles/avatar.css +14 -0
- package/styles/badge.css +8 -0
- package/styles/breadcrumbs.css +6 -1
- package/styles/button.css +13 -0
- package/styles/calendar.css +16 -0
- package/styles/card.css +2 -0
- package/styles/carousel.css +120 -0
- package/styles/chat.css +5 -2
- package/styles/dropdown-menu.css +11 -0
- package/styles/heading.css +6 -2
- package/styles/icon.css +38 -8
- package/styles/lightbox.css +144 -0
- package/styles/link.css +5 -0
- package/styles/media-theme.css +51 -0
- package/styles/number-input.css +22 -0
- package/styles/outline.css +124 -0
- package/styles/pagination.css +45 -1
- package/styles/progress-bar.css +4 -0
- package/styles/selector.css +58 -0
- package/styles/tab-list.css +15 -0
- package/styles/text-area.css +17 -0
- package/styles/text-input.css +5 -0
- package/styles/text.css +63 -14
- package/styles/theme.css +29 -0
- package/styles/timer.css +34 -0
- package/styles/toast.css +7 -0
- package/styles/toolbar.css +11 -0
- package/styles.css +6 -0
- package/dist/Avatar-5s3HSrtN.js +0 -136
- package/dist/Badge-Ba0EwsTj.js +0 -19
- package/dist/Calendar-CYhGDT6f.js +0 -277
- package/dist/DateInput-D2ErjXYO.js +0 -250
- package/dist/Icon-5MdZQ18k.js +0 -86
- package/dist/Link-CprjOuTI.js +0 -92
- package/dist/NumberInput-DspJO6z6.js +0 -147
- package/dist/Selector-DlZpQh42.js +0 -325
- package/dist/index-BzqRns96.d.ts +0 -64
- package/dist/index-ZJyk8RtQ.d.ts +0 -68
- package/dist/{CheckboxList-EsIEXjK_.js → CheckboxList-BbCPiend.js} +1 -1
- package/dist/{index-4FM5lQdV.d.ts → index-BUXNRekN.d.ts} +1 -1
package/styles/heading.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@layer astryx.components {
|
|
4
4
|
.astryx-heading {
|
|
5
5
|
margin: 0;
|
|
6
|
-
color: var(--astryx-heading-foreground, var(--astryx-color-text-primary, #171717));
|
|
6
|
+
color: var(--astryx-heading-foreground, var(--astryx-color-text-primary, light-dark(#171717, #fafafa)));
|
|
7
7
|
font-family: var(--astryx-font-family-body, Figtree, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);
|
|
8
8
|
line-height: var(--astryx-heading-leading, 1.25);
|
|
9
9
|
}
|
|
@@ -21,8 +21,12 @@
|
|
|
21
21
|
display: inline;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
.astryx-heading--color-primary {
|
|
25
|
+
color: var(--astryx-color-text-primary, light-dark(#171717, #fafafa));
|
|
26
|
+
}
|
|
27
|
+
|
|
24
28
|
.astryx-heading--color-secondary {
|
|
25
|
-
color: var(--astryx-color-text-secondary, #525252);
|
|
29
|
+
color: var(--astryx-color-text-secondary, light-dark(#525252, #a3a3a3));
|
|
26
30
|
}
|
|
27
31
|
|
|
28
32
|
.astryx-heading--color-accent {
|
package/styles/icon.css
CHANGED
|
@@ -7,8 +7,16 @@
|
|
|
7
7
|
justify-content: center;
|
|
8
8
|
flex-shrink: 0;
|
|
9
9
|
box-sizing: border-box;
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
width: 1em;
|
|
11
|
+
height: 1em;
|
|
12
|
+
line-height: 1;
|
|
13
|
+
color: currentcolor;
|
|
14
|
+
/*
|
|
15
|
+
* A 1em box with vertical-align: middle sits on the descender, so the
|
|
16
|
+
* drawing looks low next to the letters. -0.125em is the Iconify offset
|
|
17
|
+
* that puts the box on the text baseline.
|
|
18
|
+
*/
|
|
19
|
+
vertical-align: -0.125em;
|
|
12
20
|
}
|
|
13
21
|
|
|
14
22
|
/*
|
|
@@ -32,13 +40,35 @@
|
|
|
32
40
|
}
|
|
33
41
|
|
|
34
42
|
/*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* font-size.
|
|
43
|
+
* The wrapper keeps a box. display:contents would make the SVG's 100%
|
|
44
|
+
* resolve against the icon's parent, so a 1em icon would grow to the line.
|
|
38
45
|
*/
|
|
39
|
-
.astryx-
|
|
40
|
-
|
|
41
|
-
|
|
46
|
+
.astryx-icon__svg {
|
|
47
|
+
display: flex;
|
|
48
|
+
align-items: center;
|
|
49
|
+
justify-content: center;
|
|
50
|
+
width: 100%;
|
|
51
|
+
height: 100%;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.astryx-icon > svg,
|
|
55
|
+
.astryx-icon__svg > svg {
|
|
56
|
+
display: block;
|
|
57
|
+
width: 100%;
|
|
58
|
+
height: 100%;
|
|
59
|
+
fill: currentcolor;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/*
|
|
63
|
+
* A class the caller supplies, such as an UnoCSS icon, paints this box.
|
|
64
|
+
* Those utilities are unlayered and set width/height to 100%, so they have
|
|
65
|
+
* to live on the inner element. On the box itself they would replace the
|
|
66
|
+
* size below and stretch the icon to its flex parent.
|
|
67
|
+
*/
|
|
68
|
+
.astryx-icon__external {
|
|
69
|
+
display: block;
|
|
70
|
+
width: 100%;
|
|
71
|
+
height: 100%;
|
|
42
72
|
}
|
|
43
73
|
|
|
44
74
|
.astryx-icon[data-size='xsm'] {
|
|
@@ -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
|
+
}
|
package/styles/link.css
CHANGED
|
@@ -44,6 +44,11 @@
|
|
|
44
44
|
color: inherit;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
+
.astryx-link.astryx-link--standalone {
|
|
48
|
+
font-size: var(--astryx-font-size-body, var(--text-body-size, 1rem));
|
|
49
|
+
line-height: var(--astryx-line-height-body, var(--text-body-leading, 1.5));
|
|
50
|
+
}
|
|
51
|
+
|
|
47
52
|
.astryx-link__external {
|
|
48
53
|
display: inline-block;
|
|
49
54
|
font-size: 0.75em;
|
|
@@ -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
|
+
}
|
package/styles/number-input.css
CHANGED
|
@@ -26,6 +26,28 @@
|
|
|
26
26
|
height: var(--astryx-input-height-lg, 36px);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
.astryx-number-input[data-status='error'] {
|
|
30
|
+
border-color: var(--astryx-input-error, #e33f4a);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.astryx-number-input[data-status='warning'] {
|
|
34
|
+
border-color: var(--astryx-input-warning, #a67a00);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.astryx-number-input[data-status='success'] {
|
|
38
|
+
border-color: var(--astryx-input-success, #198100);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.astryx-number-input-units,
|
|
42
|
+
.astryx-number-input-clear {
|
|
43
|
+
display: inline-flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
padding-inline: var(--astryx-spacing-2, 8px);
|
|
46
|
+
color: var(--astryx-color-text-secondary, #525252);
|
|
47
|
+
background: transparent;
|
|
48
|
+
border: 0;
|
|
49
|
+
}
|
|
50
|
+
|
|
29
51
|
.astryx-number-input:focus-within {
|
|
30
52
|
border-color: var(--astryx-input-focus, #262626);
|
|
31
53
|
box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--astryx-input-focus, #262626) 15%, transparent);
|
|
@@ -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
|
+
}
|
package/styles/pagination.css
CHANGED
|
@@ -48,7 +48,8 @@
|
|
|
48
48
|
flex-wrap: nowrap;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.astryx-pagination-compact
|
|
51
|
+
.astryx-pagination-compact,
|
|
52
|
+
.astryx-pagination-count {
|
|
52
53
|
display: none;
|
|
53
54
|
flex-shrink: 0;
|
|
54
55
|
align-items: center;
|
|
@@ -56,6 +57,49 @@
|
|
|
56
57
|
white-space: nowrap;
|
|
57
58
|
}
|
|
58
59
|
|
|
60
|
+
.astryx-pagination-count {
|
|
61
|
+
display: inline-flex;
|
|
62
|
+
font-size: var(--astryx-text-supporting-size, 0.75rem);
|
|
63
|
+
line-height: var(--astryx-text-supporting-leading, 1.6667);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.astryx-pagination-dots {
|
|
67
|
+
display: flex;
|
|
68
|
+
align-items: center;
|
|
69
|
+
gap: var(--astryx-spacing-2, 8px);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.astryx-pagination-dot {
|
|
73
|
+
width: 8px;
|
|
74
|
+
height: 8px;
|
|
75
|
+
padding: 0;
|
|
76
|
+
border: 0;
|
|
77
|
+
border-radius: var(--astryx-radius-full, 999px);
|
|
78
|
+
background: var(--astryx-color-border, #d4d4d4);
|
|
79
|
+
cursor: pointer;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.astryx-pagination-dot.is-active {
|
|
83
|
+
background: var(--astryx-color-text-primary, #171717);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.astryx-pagination-dot:disabled {
|
|
87
|
+
cursor: default;
|
|
88
|
+
opacity: 0.4;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.astryx-pagination--sm .astryx-pagination-button,
|
|
92
|
+
.astryx-pagination--sm .astryx-pagination-page {
|
|
93
|
+
min-width: var(--astryx-size-element-sm, 28px);
|
|
94
|
+
height: var(--astryx-size-element-sm, 28px);
|
|
95
|
+
font-size: var(--astryx-text-supporting-size, 0.75rem);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.astryx-pagination--sm .astryx-pagination-dot {
|
|
99
|
+
width: 6px;
|
|
100
|
+
height: 6px;
|
|
101
|
+
}
|
|
102
|
+
|
|
59
103
|
.astryx-pagination-button,
|
|
60
104
|
.astryx-pagination-page {
|
|
61
105
|
position: relative;
|
package/styles/progress-bar.css
CHANGED
|
@@ -76,6 +76,10 @@
|
|
|
76
76
|
background: var(--astryx-progress-bar-error-fill, var(--astryx-input-error, #ff705d));
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
+
.astryx-progress-bar[data-variant='accent'] .astryx-progress-bar-fill {
|
|
80
|
+
background: var(--astryx-progress-bar-accent-fill, var(--astryx-color-accent, #25252a));
|
|
81
|
+
}
|
|
82
|
+
|
|
79
83
|
.astryx-progress-bar[data-variant='info'] .astryx-progress-bar-fill {
|
|
80
84
|
background: var(--astryx-progress-bar-info-fill, var(--astryx-input-info, #6d9cfe));
|
|
81
85
|
}
|
package/styles/selector.css
CHANGED
|
@@ -98,6 +98,29 @@
|
|
|
98
98
|
box-shadow: none;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
+
.astryx-selector-field.is-ghost {
|
|
102
|
+
border-color: transparent;
|
|
103
|
+
background: transparent;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@media (hover: hover) {
|
|
107
|
+
.astryx-selector-field.is-ghost:hover:not(.is-disabled) {
|
|
108
|
+
background: var(--astryx-dropdown-menu-hover-background, light-dark(#0536590c, #ffffff0c));
|
|
109
|
+
box-shadow: none;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.astryx-selector-field.is-ghost:focus-within,
|
|
114
|
+
.astryx-selector-field.is-ghost.is-open {
|
|
115
|
+
border-color: transparent;
|
|
116
|
+
box-shadow: none;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.astryx-selector:has(.astryx-selector-value.is-rich) .astryx-selector-field {
|
|
120
|
+
height: auto;
|
|
121
|
+
min-height: var(--astryx-input-height-md, 32px);
|
|
122
|
+
}
|
|
123
|
+
|
|
101
124
|
.astryx-selector-field.is-disabled .astryx-selector-trigger {
|
|
102
125
|
cursor: default;
|
|
103
126
|
}
|
|
@@ -127,6 +150,11 @@
|
|
|
127
150
|
color: var(--astryx-color-text-secondary, #525252);
|
|
128
151
|
}
|
|
129
152
|
|
|
153
|
+
.astryx-selector-value.is-rich {
|
|
154
|
+
overflow: visible;
|
|
155
|
+
white-space: normal;
|
|
156
|
+
}
|
|
157
|
+
|
|
130
158
|
.astryx-selector-icon {
|
|
131
159
|
display: flex;
|
|
132
160
|
flex: none;
|
|
@@ -188,6 +216,22 @@
|
|
|
188
216
|
animation-timing-function: var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
189
217
|
}
|
|
190
218
|
|
|
219
|
+
.astryx-selector-listbox.is-sheet {
|
|
220
|
+
position: static;
|
|
221
|
+
width: 100%;
|
|
222
|
+
max-width: none;
|
|
223
|
+
max-block-size: none;
|
|
224
|
+
padding: 0;
|
|
225
|
+
background: transparent;
|
|
226
|
+
box-shadow: none;
|
|
227
|
+
animation: none;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.astryx-selector-sheet-title {
|
|
231
|
+
margin-bottom: var(--astryx-spacing-2, 8px);
|
|
232
|
+
font-weight: var(--astryx-font-weight-medium, 500);
|
|
233
|
+
}
|
|
234
|
+
|
|
191
235
|
.astryx-selector-listbox[data-placement='below'] {
|
|
192
236
|
animation-name: astryx-selector-enter-below;
|
|
193
237
|
}
|
|
@@ -257,6 +301,20 @@
|
|
|
257
301
|
cursor: default;
|
|
258
302
|
}
|
|
259
303
|
|
|
304
|
+
.astryx-selector-section {
|
|
305
|
+
padding: var(--astryx-spacing-2, 8px) var(--astryx-spacing-2, 8px) var(--astryx-spacing-1, 4px);
|
|
306
|
+
color: var(--astryx-color-text-secondary, #525252);
|
|
307
|
+
font-size: var(--astryx-text-supporting-size, 0.75rem);
|
|
308
|
+
font-weight: var(--astryx-font-weight-medium, 500);
|
|
309
|
+
line-height: var(--astryx-text-supporting-leading, 1.6667);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.astryx-selector-option-icon {
|
|
313
|
+
width: 1rem;
|
|
314
|
+
height: 1rem;
|
|
315
|
+
margin-bottom: var(--astryx-spacing-1, 4px);
|
|
316
|
+
}
|
|
317
|
+
|
|
260
318
|
.astryx-selector-option-label {
|
|
261
319
|
display: block;
|
|
262
320
|
}
|
package/styles/tab-list.css
CHANGED
|
@@ -30,6 +30,21 @@
|
|
|
30
30
|
padding-bottom: var(--astryx-spacing-1, 4px);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
/* Cancel the container's inline padding so the underline can span the
|
|
34
|
+
content box. The strip pads the labels back onto the content inset,
|
|
35
|
+
minus the padding each tab already has. */
|
|
36
|
+
.astryx-tab-list--full-bleed {
|
|
37
|
+
margin-inline-start: calc(-1 * var(--container-padding-inline-start, 0px));
|
|
38
|
+
margin-inline-end: calc(-1 * var(--container-padding-inline-end, 0px));
|
|
39
|
+
max-width: none;
|
|
40
|
+
width: calc(100% + var(--container-padding-inline-start, 0px) + var(--container-padding-inline-end, 0px));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.astryx-tab-list--full-bleed .astryx-tab-list__strip {
|
|
44
|
+
padding-inline-start: max(var(--container-padding-inline-start, 0px) - var(--astryx-spacing-3, 12px), 0px);
|
|
45
|
+
padding-inline-end: max(var(--container-padding-inline-end, 0px) - var(--astryx-spacing-3, 12px), 0px);
|
|
46
|
+
}
|
|
47
|
+
|
|
33
48
|
.astryx-tab {
|
|
34
49
|
display: inline-flex;
|
|
35
50
|
align-items: center;
|
package/styles/text-area.css
CHANGED
|
@@ -18,6 +18,23 @@
|
|
|
18
18
|
transition: border-color 130ms cubic-bezier(0.24, 1, 0.4, 1);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
.astryx-text-area-count {
|
|
22
|
+
position: absolute;
|
|
23
|
+
right: var(--astryx-spacing-2, 8px);
|
|
24
|
+
bottom: var(--astryx-spacing-1, 4px);
|
|
25
|
+
font-size: 0.75rem;
|
|
26
|
+
line-height: 1;
|
|
27
|
+
color: var(--astryx-color-text-secondary, #525252);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.astryx-text-area-count[data-over='true'] {
|
|
31
|
+
color: var(--astryx-input-error, #e33f4a);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.astryx-text-area:has(.astryx-text-area-count) {
|
|
35
|
+
padding-bottom: var(--astryx-spacing-5, 20px);
|
|
36
|
+
}
|
|
37
|
+
|
|
21
38
|
.astryx-text-area[data-size='sm'] {
|
|
22
39
|
min-height: var(--astryx-text-area-min-height-sm, 64px);
|
|
23
40
|
padding: var(--astryx-spacing-1, 4px) var(--astryx-spacing-2, 8px);
|