@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
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryx-vue/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.2.0",
|
|
5
5
|
"description": "Vue components for the unofficial astryx-vue community project.",
|
|
6
6
|
"author": "ShenQingchuan",
|
|
7
7
|
"license": "MIT",
|
|
@@ -28,6 +28,14 @@
|
|
|
28
28
|
"types": "./dist/index.d.ts",
|
|
29
29
|
"import": "./dist/index.js"
|
|
30
30
|
},
|
|
31
|
+
"./AppShell": {
|
|
32
|
+
"types": "./dist/AppShell/index.d.ts",
|
|
33
|
+
"import": "./dist/AppShell/index.js"
|
|
34
|
+
},
|
|
35
|
+
"./AspectRatio": {
|
|
36
|
+
"types": "./dist/AspectRatio/index.d.ts",
|
|
37
|
+
"import": "./dist/AspectRatio/index.js"
|
|
38
|
+
},
|
|
31
39
|
"./Avatar": {
|
|
32
40
|
"types": "./dist/Avatar/index.d.ts",
|
|
33
41
|
"import": "./dist/Avatar/index.js"
|
|
@@ -36,10 +44,26 @@
|
|
|
36
44
|
"types": "./dist/AvatarGroup/index.d.ts",
|
|
37
45
|
"import": "./dist/AvatarGroup/index.js"
|
|
38
46
|
},
|
|
47
|
+
"./Carousel": {
|
|
48
|
+
"types": "./dist/Carousel/index.d.ts",
|
|
49
|
+
"import": "./dist/Carousel/index.js"
|
|
50
|
+
},
|
|
39
51
|
"./CheckboxList": {
|
|
40
52
|
"types": "./dist/CheckboxList/index.d.ts",
|
|
41
53
|
"import": "./dist/CheckboxList/index.js"
|
|
42
54
|
},
|
|
55
|
+
"./ClickableCard": {
|
|
56
|
+
"types": "./dist/ClickableCard/index.d.ts",
|
|
57
|
+
"import": "./dist/ClickableCard/index.js"
|
|
58
|
+
},
|
|
59
|
+
"./CommandPalette": {
|
|
60
|
+
"types": "./dist/CommandPalette/index.d.ts",
|
|
61
|
+
"import": "./dist/CommandPalette/index.js"
|
|
62
|
+
},
|
|
63
|
+
"./ComplexSelector": {
|
|
64
|
+
"types": "./dist/ComplexSelector/index.d.ts",
|
|
65
|
+
"import": "./dist/ComplexSelector/index.js"
|
|
66
|
+
},
|
|
43
67
|
"./DateRangeInput": {
|
|
44
68
|
"types": "./dist/DateRangeInput/index.d.ts",
|
|
45
69
|
"import": "./dist/DateRangeInput/index.js"
|
|
@@ -56,14 +80,50 @@
|
|
|
56
80
|
"types": "./dist/FileInput/index.d.ts",
|
|
57
81
|
"import": "./dist/FileInput/index.js"
|
|
58
82
|
},
|
|
83
|
+
"./FormLayout": {
|
|
84
|
+
"types": "./dist/FormLayout/index.d.ts",
|
|
85
|
+
"import": "./dist/FormLayout/index.js"
|
|
86
|
+
},
|
|
87
|
+
"./Icon": {
|
|
88
|
+
"types": "./dist/Icon/index.d.ts",
|
|
89
|
+
"import": "./dist/Icon/index.js"
|
|
90
|
+
},
|
|
91
|
+
"./Layout": {
|
|
92
|
+
"types": "./dist/Layout/index.d.ts",
|
|
93
|
+
"import": "./dist/Layout/index.js"
|
|
94
|
+
},
|
|
95
|
+
"./Lightbox": {
|
|
96
|
+
"types": "./dist/Lightbox/index.d.ts",
|
|
97
|
+
"import": "./dist/Lightbox/index.js"
|
|
98
|
+
},
|
|
59
99
|
"./MetadataList": {
|
|
60
100
|
"types": "./dist/MetadataList/index.d.ts",
|
|
61
101
|
"import": "./dist/MetadataList/index.js"
|
|
62
102
|
},
|
|
103
|
+
"./Outline": {
|
|
104
|
+
"types": "./dist/Outline/index.d.ts",
|
|
105
|
+
"import": "./dist/Outline/index.js"
|
|
106
|
+
},
|
|
63
107
|
"./RadioList": {
|
|
64
108
|
"types": "./dist/RadioList/index.d.ts",
|
|
65
109
|
"import": "./dist/RadioList/index.js"
|
|
66
110
|
},
|
|
111
|
+
"./Resizable": {
|
|
112
|
+
"types": "./dist/Resizable/index.d.ts",
|
|
113
|
+
"import": "./dist/Resizable/index.js"
|
|
114
|
+
},
|
|
115
|
+
"./ScrollableArea": {
|
|
116
|
+
"types": "./dist/ScrollableArea/index.d.ts",
|
|
117
|
+
"import": "./dist/ScrollableArea/index.js"
|
|
118
|
+
},
|
|
119
|
+
"./Section": {
|
|
120
|
+
"types": "./dist/Section/index.d.ts",
|
|
121
|
+
"import": "./dist/Section/index.js"
|
|
122
|
+
},
|
|
123
|
+
"./SelectableCard": {
|
|
124
|
+
"types": "./dist/SelectableCard/index.d.ts",
|
|
125
|
+
"import": "./dist/SelectableCard/index.js"
|
|
126
|
+
},
|
|
67
127
|
"./StatusDot": {
|
|
68
128
|
"types": "./dist/StatusDot/index.d.ts",
|
|
69
129
|
"import": "./dist/StatusDot/index.js"
|
|
@@ -116,10 +176,18 @@
|
|
|
116
176
|
"types": "./dist/Radio/index.d.ts",
|
|
117
177
|
"import": "./dist/Radio/index.js"
|
|
118
178
|
},
|
|
179
|
+
"./Stepper": {
|
|
180
|
+
"types": "./dist/Stepper/index.d.ts",
|
|
181
|
+
"import": "./dist/Stepper/index.js"
|
|
182
|
+
},
|
|
119
183
|
"./Table": {
|
|
120
184
|
"types": "./dist/Table/index.d.ts",
|
|
121
185
|
"import": "./dist/Table/index.js"
|
|
122
186
|
},
|
|
187
|
+
"./Theme": {
|
|
188
|
+
"types": "./dist/Theme/index.d.ts",
|
|
189
|
+
"import": "./dist/Theme/index.js"
|
|
190
|
+
},
|
|
123
191
|
"./Thumbnail": {
|
|
124
192
|
"types": "./dist/Thumbnail/index.d.ts",
|
|
125
193
|
"import": "./dist/Thumbnail/index.js"
|
|
@@ -128,6 +196,10 @@
|
|
|
128
196
|
"types": "./dist/TimeInput/index.d.ts",
|
|
129
197
|
"import": "./dist/TimeInput/index.js"
|
|
130
198
|
},
|
|
199
|
+
"./Timer": {
|
|
200
|
+
"types": "./dist/Timer/index.d.ts",
|
|
201
|
+
"import": "./dist/Timer/index.js"
|
|
202
|
+
},
|
|
131
203
|
"./Timestamp": {
|
|
132
204
|
"types": "./dist/Timestamp/index.d.ts",
|
|
133
205
|
"import": "./dist/Timestamp/index.js"
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.components {
|
|
4
|
+
.astryx-app-shell {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
position: relative;
|
|
8
|
+
overflow: clip;
|
|
9
|
+
min-height: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.astryx-app-shell[data-variant='wash'],
|
|
13
|
+
.astryx-app-shell[data-variant='elevated'] {
|
|
14
|
+
background-color: var(--astryx-color-background-body, #f1f1f1);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.astryx-app-shell[data-variant='surface'],
|
|
18
|
+
.astryx-app-shell[data-variant='section'] {
|
|
19
|
+
background-color: var(--astryx-color-background-surface, #fff);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.astryx-app-shell[data-height='fill'] {
|
|
23
|
+
height: 100dvh;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.astryx-app-shell[data-height='auto'] {
|
|
27
|
+
min-height: 100dvh;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.astryx-app-shell > .astryx-layout {
|
|
31
|
+
flex: 1;
|
|
32
|
+
min-height: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.astryx-app-shell__skip {
|
|
36
|
+
position: absolute;
|
|
37
|
+
width: 1px;
|
|
38
|
+
height: 1px;
|
|
39
|
+
margin: -1px;
|
|
40
|
+
padding: 0;
|
|
41
|
+
overflow: hidden;
|
|
42
|
+
border: 0;
|
|
43
|
+
clip-path: inset(50%);
|
|
44
|
+
white-space: nowrap;
|
|
45
|
+
background-color: var(--astryx-color-background-surface, #fff);
|
|
46
|
+
color: var(--astryx-color-text-accent, #262626);
|
|
47
|
+
font-weight: var(--astryx-font-weight-semibold, 600);
|
|
48
|
+
text-decoration: none;
|
|
49
|
+
z-index: 9999;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.astryx-app-shell__skip:focus {
|
|
53
|
+
position: fixed;
|
|
54
|
+
top: var(--astryx-spacing-2, 8px);
|
|
55
|
+
inset-inline-start: var(--astryx-spacing-2, 8px);
|
|
56
|
+
width: auto;
|
|
57
|
+
height: auto;
|
|
58
|
+
margin: 0;
|
|
59
|
+
padding-block: var(--astryx-spacing-2, 8px);
|
|
60
|
+
padding-inline: var(--astryx-spacing-4, 16px);
|
|
61
|
+
overflow: visible;
|
|
62
|
+
clip-path: none;
|
|
63
|
+
white-space: normal;
|
|
64
|
+
outline: var(--astryx-focus-outline-width, 2px) var(--astryx-focus-outline-style, solid) var(--astryx-focus-outline-color, currentcolor);
|
|
65
|
+
outline-offset: var(--astryx-focus-outline-offset, 3px);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.astryx-app-shell__header[data-variant='wash'],
|
|
69
|
+
.astryx-app-shell__header[data-variant='elevated'],
|
|
70
|
+
.astryx-app-shell__sidenav[data-variant='wash'],
|
|
71
|
+
.astryx-app-shell__sidenav[data-variant='elevated'] {
|
|
72
|
+
background-color: var(--astryx-color-background-body, #f1f1f1);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.astryx-app-shell__header[data-variant='surface'],
|
|
76
|
+
.astryx-app-shell__sidenav[data-variant='surface'] {
|
|
77
|
+
background-color: var(--astryx-color-background-surface, #fff);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.astryx-app-shell__banner {
|
|
81
|
+
flex-shrink: 0;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.astryx-app-shell__mobile-bar {
|
|
85
|
+
display: flex;
|
|
86
|
+
align-items: center;
|
|
87
|
+
height: var(--astryx-spacing-12, 48px);
|
|
88
|
+
padding-inline: var(--astryx-spacing-2, 8px);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.astryx-app-shell__mobile-bar[data-variant='wash'],
|
|
92
|
+
.astryx-app-shell__mobile-bar[data-variant='elevated'] {
|
|
93
|
+
background-color: var(--astryx-color-background-body, #f1f1f1);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.astryx-app-shell__mobile-bar[data-variant='surface'],
|
|
97
|
+
.astryx-app-shell__mobile-bar[data-variant='section'] {
|
|
98
|
+
background-color: var(--astryx-color-background-surface, #fff);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.astryx-app-shell__mobile-nav {
|
|
102
|
+
display: flex;
|
|
103
|
+
align-items: center;
|
|
104
|
+
width: 100%;
|
|
105
|
+
min-width: 0;
|
|
106
|
+
height: 100%;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.astryx-app-shell__mobile-nav > .astryx-mobile-nav-toggle {
|
|
110
|
+
flex: none;
|
|
111
|
+
margin-inline-start: auto;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.astryx-app-shell__main {
|
|
115
|
+
display: contents;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.astryx-app-shell__main[data-elevated] {
|
|
119
|
+
position: relative;
|
|
120
|
+
display: flex;
|
|
121
|
+
flex: 1;
|
|
122
|
+
min-height: 0;
|
|
123
|
+
height: 100%;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.astryx-app-shell__backdrop {
|
|
127
|
+
position: absolute;
|
|
128
|
+
inset: 0;
|
|
129
|
+
background-color: var(--astryx-color-background-surface, #fff);
|
|
130
|
+
border-start-start-radius: var(--astryx-radius-page, 1.75rem);
|
|
131
|
+
pointer-events: none;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.astryx-app-shell__content:focus {
|
|
135
|
+
outline: none;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.astryx-app-shell__content[data-variant='wash'] {
|
|
139
|
+
background-color: var(--astryx-color-background-body, #f1f1f1);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.astryx-app-shell__content[data-variant='surface'],
|
|
143
|
+
.astryx-app-shell__content[data-variant='elevated']:not([data-corner]) {
|
|
144
|
+
background-color: var(--astryx-color-background-surface, #fff);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.astryx-app-shell__content[data-corner] {
|
|
148
|
+
background-color: transparent;
|
|
149
|
+
isolation: isolate;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* fit 的子元素尺寸放在 reset 层,选择器特异性为零。
|
|
5
|
+
* 子元素自己写的宽高和 object-fit 仍然能盖过这里。
|
|
6
|
+
*/
|
|
7
|
+
@layer astryx.reset {
|
|
8
|
+
:where([data-astryx-aspect-ratio-override='cover'], [data-astryx-aspect-ratio-override='contain']) > :where(*) {
|
|
9
|
+
width: 100%;
|
|
10
|
+
height: 100%;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
:where([data-astryx-aspect-ratio-override='cover']) > :where(img, video) {
|
|
14
|
+
object-fit: cover;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:where([data-astryx-aspect-ratio-override='contain']) > :where(img, video) {
|
|
18
|
+
object-fit: contain;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@layer astryx.components {
|
|
23
|
+
.astryx-aspect-ratio {
|
|
24
|
+
position: relative;
|
|
25
|
+
width: 100%;
|
|
26
|
+
overflow: clip;
|
|
27
|
+
min-height: 0;
|
|
28
|
+
flex-shrink: 0;
|
|
29
|
+
aspect-ratio: var(--astryx-aspect-ratio);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.astryx-aspect-ratio[data-shape='ellipse'] {
|
|
33
|
+
border-radius: 50%;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.astryx-aspect-ratio__child {
|
|
37
|
+
position: absolute;
|
|
38
|
+
top: 0;
|
|
39
|
+
inset-inline-start: 0;
|
|
40
|
+
width: 100%;
|
|
41
|
+
height: 100%;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.astryx-aspect-ratio__child[data-fit='center'] {
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
}
|
|
49
|
+
}
|
package/styles/card.css
CHANGED
|
@@ -29,6 +29,10 @@
|
|
|
29
29
|
--container-padding-inline-end: var(--_card-padding-inline-end);
|
|
30
30
|
--container-padding-block-start: var(--_card-padding-block-start);
|
|
31
31
|
--container-padding-block-end: var(--_card-padding-block-end);
|
|
32
|
+
--layout-padding-own-outer-x: initial;
|
|
33
|
+
--layout-padding-own-outer-y: initial;
|
|
34
|
+
--layout-padding-outer-x: var(--_card-padding-inline-start);
|
|
35
|
+
--layout-padding-outer-y: var(--_card-padding-block-start);
|
|
32
36
|
}
|
|
33
37
|
|
|
34
38
|
.astryx-card[data-scrollable='true'] {
|
|
@@ -111,7 +115,7 @@
|
|
|
111
115
|
}
|
|
112
116
|
|
|
113
117
|
.astryx-card[data-variant='muted'] {
|
|
114
|
-
background-color: var(--astryx-card-muted-background, #
|
|
118
|
+
background-color: var(--astryx-card-muted-background, var(--astryx-color-background-muted, #f1f1f1));
|
|
115
119
|
}
|
|
116
120
|
|
|
117
121
|
.astryx-card[data-variant='blue'] {
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.components {
|
|
4
|
+
.astryx-carousel {
|
|
5
|
+
position: relative;
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
min-width: 0;
|
|
9
|
+
max-width: 100%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.astryx-carousel__scroller {
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
gap: var(--astryx-carousel-gap, var(--astryx-spacing-1, 4px));
|
|
16
|
+
width: 100%;
|
|
17
|
+
min-width: 0;
|
|
18
|
+
padding-inline: var(--astryx-carousel-padding, 0);
|
|
19
|
+
padding-bottom: 1px;
|
|
20
|
+
margin-bottom: -1px;
|
|
21
|
+
overflow-x: auto;
|
|
22
|
+
overflow-y: hidden;
|
|
23
|
+
overscroll-behavior-x: contain;
|
|
24
|
+
scroll-behavior: smooth;
|
|
25
|
+
scroll-padding-inline: var(--astryx-carousel-padding, 0);
|
|
26
|
+
scrollbar-width: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.astryx-carousel__scroller::-webkit-scrollbar {
|
|
30
|
+
display: none;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@media (prefers-reduced-motion: reduce) {
|
|
34
|
+
.astryx-carousel__scroller {
|
|
35
|
+
scroll-behavior: auto;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.astryx-carousel__scroller:focus-visible {
|
|
40
|
+
outline: var(--astryx-focus-outline-width, 2px) var(--astryx-focus-outline-style, solid) var(--astryx-focus-outline-color, var(--astryx-color-accent, #0074e2));
|
|
41
|
+
outline-offset: var(--astryx-focus-outline-offset, 3px);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.astryx-carousel__scroller[data-snap] {
|
|
45
|
+
scroll-snap-type: x mandatory;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.astryx-carousel__scroller[data-fade='start'] {
|
|
49
|
+
mask-image: linear-gradient(to right, transparent 0%, rgb(0 0 0 / 30%) 2px, #000 var(--astryx-spacing-1, 4px));
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.astryx-carousel__scroller[data-fade='end'] {
|
|
53
|
+
mask-image: linear-gradient(to left, transparent 0%, rgb(0 0 0 / 30%) 2px, #000 var(--astryx-spacing-1, 4px));
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.astryx-carousel__scroller[data-fade='both'] {
|
|
57
|
+
mask-image: linear-gradient(to right, transparent 0%, rgb(0 0 0 / 30%) 2px, #000 var(--astryx-spacing-1, 4px), #000 calc(100% - var(--astryx-spacing-1, 4px)), rgb(0 0 0 / 30%) calc(100% - 2px), transparent 100%);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
[dir='rtl'] .astryx-carousel__scroller[data-fade='start'] {
|
|
61
|
+
mask-image: linear-gradient(to left, transparent 0%, rgb(0 0 0 / 30%) 2px, #000 var(--astryx-spacing-1, 4px));
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
[dir='rtl'] .astryx-carousel__scroller[data-fade='end'] {
|
|
65
|
+
mask-image: linear-gradient(to right, transparent 0%, rgb(0 0 0 / 30%) 2px, #000 var(--astryx-spacing-1, 4px));
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.astryx-carousel__item {
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-shrink: 0;
|
|
71
|
+
scroll-snap-align: start;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.astryx-carousel__controls {
|
|
75
|
+
position: absolute;
|
|
76
|
+
inset: 0;
|
|
77
|
+
display: flex;
|
|
78
|
+
align-items: center;
|
|
79
|
+
justify-content: space-between;
|
|
80
|
+
pointer-events: none;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.astryx-carousel__pill {
|
|
84
|
+
display: flex;
|
|
85
|
+
align-items: center;
|
|
86
|
+
justify-content: center;
|
|
87
|
+
border-radius: var(--astryx-radius-full, 9999px);
|
|
88
|
+
background-color: var(--astryx-color-background-popover, #fff);
|
|
89
|
+
box-shadow: var(--astryx-shadow-med, 0 2px 4px rgb(0 0 0 / 8%), 0 4px 12px rgb(0 0 0 / 10%));
|
|
90
|
+
pointer-events: auto;
|
|
91
|
+
opacity: 1;
|
|
92
|
+
transition: opacity var(--astryx-duration-fast, 125ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
93
|
+
--astryx-button-radius: var(--astryx-radius-full, 9999px);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.astryx-carousel__pill--start {
|
|
97
|
+
transform: translateX(-50%);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.astryx-carousel__pill--end {
|
|
101
|
+
transform: translateX(50%);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
[dir='rtl'] .astryx-carousel__pill--start {
|
|
105
|
+
transform: translateX(50%);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
[dir='rtl'] .astryx-carousel__pill--end {
|
|
109
|
+
transform: translateX(-50%);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.astryx-carousel__pill[data-hidden] {
|
|
113
|
+
opacity: 0;
|
|
114
|
+
pointer-events: none;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
[dir='rtl'] .astryx-carousel__pill .astryx-icon {
|
|
118
|
+
transform: scaleX(-1);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.components {
|
|
4
|
+
.astryx-clickable-card {
|
|
5
|
+
position: relative;
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
color: inherit;
|
|
8
|
+
text-decoration: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.astryx-clickable-card::after {
|
|
12
|
+
content: '';
|
|
13
|
+
position: absolute;
|
|
14
|
+
inset: 0;
|
|
15
|
+
border-radius: inherit;
|
|
16
|
+
pointer-events: none;
|
|
17
|
+
background-color: transparent;
|
|
18
|
+
transition: background-color var(--astryx-duration-fast, 130ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.astryx-clickable-card:active::after {
|
|
22
|
+
background-color: var(--astryx-color-overlay-pressed, light-dark(#05365919, #ffffff19));
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@media (hover: hover) {
|
|
26
|
+
.astryx-clickable-card:hover::after {
|
|
27
|
+
background-color: var(--astryx-color-overlay-hover, light-dark(#0536590c, #ffffff0c));
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.astryx-clickable-card[data-variant='default']:hover {
|
|
31
|
+
border-color: var(--astryx-color-border-emphasized, #d4d4d4);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.astryx-clickable-card:focus-within {
|
|
36
|
+
outline: var(--astryx-focus-outline-width, 2px) solid var(--astryx-focus-outline-color, var(--astryx-color-text-primary, #171717));
|
|
37
|
+
outline-offset: var(--astryx-focus-outline-offset, 2px);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.astryx-clickable-card[data-disabled='true'] {
|
|
41
|
+
cursor: not-allowed;
|
|
42
|
+
opacity: 0.5;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.astryx-clickable-card[data-disabled='true']::after,
|
|
46
|
+
.astryx-clickable-card[data-disabled='true']:hover::after,
|
|
47
|
+
.astryx-clickable-card[data-disabled='true']:active::after {
|
|
48
|
+
background-color: transparent;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.astryx-selectable-card {
|
|
52
|
+
transition:
|
|
53
|
+
box-shadow var(--astryx-duration-fast, 130ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1)),
|
|
54
|
+
border-color var(--astryx-duration-fast, 130ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.astryx-selectable-card[data-selected='true'] {
|
|
58
|
+
border-color: var(--astryx-selectable-card-accent, var(--astryx-color-accent, #0082fb));
|
|
59
|
+
--_card-ring: inset 0 0 0 2px var(--astryx-selectable-card-accent, var(--astryx-color-accent, #0082fb));
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.astryx-selectable-card[data-selected='true'][data-variant='blue'] {
|
|
63
|
+
--astryx-selectable-card-accent: var(--astryx-color-blue, #0082fb);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.astryx-selectable-card[data-selected='true'][data-variant='cyan'] {
|
|
67
|
+
--astryx-selectable-card-accent: var(--astryx-color-cyan, #0891b2);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.astryx-selectable-card[data-selected='true'][data-variant='gray'] {
|
|
71
|
+
--astryx-selectable-card-accent: var(--astryx-color-gray, #737373);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.astryx-selectable-card[data-selected='true'][data-variant='green'] {
|
|
75
|
+
--astryx-selectable-card-accent: var(--astryx-color-green, #16a34a);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.astryx-selectable-card[data-selected='true'][data-variant='orange'] {
|
|
79
|
+
--astryx-selectable-card-accent: var(--astryx-color-orange, #ea580c);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.astryx-selectable-card[data-selected='true'][data-variant='pink'] {
|
|
83
|
+
--astryx-selectable-card-accent: var(--astryx-color-pink, #db2777);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.astryx-selectable-card[data-selected='true'][data-variant='purple'] {
|
|
87
|
+
--astryx-selectable-card-accent: var(--astryx-color-purple, #9333ea);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.astryx-selectable-card[data-selected='true'][data-variant='red'] {
|
|
91
|
+
--astryx-selectable-card-accent: var(--astryx-color-red, #dc2626);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.astryx-selectable-card[data-selected='true'][data-variant='teal'] {
|
|
95
|
+
--astryx-selectable-card-accent: var(--astryx-color-teal, #0d9488);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.astryx-selectable-card[data-selected='true'][data-variant='yellow'] {
|
|
99
|
+
--astryx-selectable-card-accent: var(--astryx-color-yellow, #ca8a04);
|
|
100
|
+
}
|
|
101
|
+
}
|
package/styles/collapsible.css
CHANGED
|
@@ -133,6 +133,43 @@
|
|
|
133
133
|
opacity: 0;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
+
.astryx-collapsible-group {
|
|
137
|
+
display: flex;
|
|
138
|
+
flex-direction: column;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.astryx-collapsible[data-dividers='true'] {
|
|
142
|
+
border-block-start: var(--astryx-border-width, 1px) solid var(--astryx-color-border, #00000014);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.astryx-collapsible-group > .astryx-collapsible:first-child {
|
|
146
|
+
border-block-start-width: 0;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.astryx-collapsible[data-density='compact'] > .astryx-collapsible-trigger {
|
|
150
|
+
padding-block: var(--astryx-spacing-1, 4px);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.astryx-collapsible[data-density='balanced'] > .astryx-collapsible-trigger {
|
|
154
|
+
padding-block: var(--astryx-spacing-2, 8px);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.astryx-collapsible[data-density='spacious'] > .astryx-collapsible-trigger {
|
|
158
|
+
padding-block: var(--astryx-spacing-3, 12px);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.astryx-collapsible[data-density='compact'] > .astryx-collapsible-content {
|
|
162
|
+
padding-block-end: var(--astryx-spacing-1, 4px);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.astryx-collapsible[data-density='balanced'] > .astryx-collapsible-content {
|
|
166
|
+
padding-block-end: var(--astryx-spacing-2, 8px);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.astryx-collapsible[data-density='spacious'] > .astryx-collapsible-content {
|
|
170
|
+
padding-block-end: var(--astryx-spacing-3, 12px);
|
|
171
|
+
}
|
|
172
|
+
|
|
136
173
|
@media (prefers-reduced-motion: reduce) {
|
|
137
174
|
.astryx-collapsible-content {
|
|
138
175
|
transition-duration: 0.01ms;
|