@astryx-vue/core 0.29.0 → 0.30.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-B195FgtL.js → AlertDialog-D_lrpZz_.js} +4 -4
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-DpFHPRlE.js → Avatar-IVvsyeGV.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-DVU5-fWC.js → Banner-Ctg1puM6.js} +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-DVe5Nw9Z.js → BottomSheet-CmNOXlZO.js} +39 -29
- package/dist/{BottomSheet-D3893Ymj.js → BottomSheet-_K41Oliv.js} +8 -2
- package/dist/Breadcrumbs/index.js +1 -1
- package/dist/{Breadcrumbs-CQa-Jjnn.js → Breadcrumbs-CdGqhFKU.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-yJiHoWps.js → Button-CvHeZGf1.js} +3 -3
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/{ButtonTooltip-CNKOQHYR.js → ButtonTooltip-ZpQP-aQg.js} +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Card/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-DPhwOTjx.js → Carousel-CbdHb8MD.js} +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-Bg1IuDMt.js → Chat-B7ccEmTR.js} +3 -3
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-C-UseBJo.js → CheckboxInput-5r6VWqId.js} +2 -2
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-DGM-cgX5.js → CheckboxListItem-CKeQzQ0W.js} +3 -3
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-3QLhu3jZ.js → CodeBlock-4i1vvmOc.js} +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-CtY5ZCR7.js → CommandPalette-BMwvTjff.js} +1 -1
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-CZiUA6Gm.js → ComplexSelector-B4iFyilD.js} +4 -4
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +1 -1
- package/dist/{ContextMenu-8I420g7H.js → ContextMenu-DquYeIEF.js} +2 -2
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-KZF_A_31.js → DateInput-MNNyi4XK.js} +4 -4
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-4GCWgLFN.js → DateRangeInput-DOHntScL.js} +4 -4
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-BGcdOmRp.js → DateTimeInput-BaghFHW6.js} +5 -5
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-DjhG_vpE.js → Dialog-CGf64DqF.js} +1 -1
- package/dist/{Dialog-CKDlXonX.js → Dialog-Ctha_b_L.js} +1 -1
- package/dist/{DialogHeader-C1Bz4Knk.js → DialogHeader-BxTV37GT.js} +2 -2
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-BqcPP0z7.js → Drawer-DAnc2ut9.js} +2 -2
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-CSqkl-Xl.js → DropdownMenu-BPi0pm0w.js} +2 -2
- package/dist/{DropdownMenu-B-dBiomz.js → DropdownMenu-DuSVFQoS.js} +3 -3
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-DNjqNAT3.js → EmptyState-BGo1nrnT.js} +2 -2
- package/dist/Field/index.js +3 -3
- package/dist/{Field-DrUMz0oj.js → Field-d5R_kRMv.js} +1 -1
- package/dist/{FieldInfoTip-DmDOcxU1.js → FieldInfoTip-BhKtjq3g.js} +2 -2
- package/dist/{FieldLabel-DsFZnW1l.js → FieldLabel-BHNpYFx7.js} +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-0u4zjJfx.js → FileInput-BCg4HROm.js} +4 -4
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-BG1PBVkf.js → Heading-BFK3PftX.js} +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-Fr6RLRR8.js → HoverCard-DGjsPn-Q.js} +3 -3
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-CEjiXpUg.js → IconButton-BZgU_THt.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-CKRaCO6I.js → InfoTip-E2-OzKti.js} +1 -1
- package/dist/{InputClearButton-ByUJXRmY.js → InputClearButton-B62_uexC.js} +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-H8DP0TAG.js → InputGroup-DKBqRYFf.js} +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-LI6h7LFn.js → Lightbox-Bou1gTfv.js} +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-Dx2ql41g.js → Link-CaJ5lmKk.js} +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-BHWf2IOO.js → Markdown-BE6vdvPG.js} +3 -3
- package/dist/MetadataList/index.d.ts +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-GPcHAauX.js → MoreMenu-CNzTagqr.js} +4 -4
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-BSA613nO.js → MultiSelector-MGEiRi1W.js} +6 -6
- package/dist/{NavDisclosure-B66SHKdd.js → NavDisclosure-DsUYuMJr.js} +1 -1
- package/dist/{NavHeadingSurface-BZCzkCPJ.js → NavHeadingSurface-QdM33nOf.js} +1 -1
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-BoKuJq-K.js → NavMenu-ZN5cqCxO.js} +1 -1
- package/dist/{NavMenuItem-Ez3_K8iI.js → NavMenuItem-xm3e0V8q.js} +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-lqUmTsqB.js → NumberInput-D4ECOHh_.js} +4 -4
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-B6En7wIj.js → OverflowList-m1tf_fR1.js} +2 -2
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DWfvdCpK.js → Pagination-BdjxuxM3.js} +2 -2
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-CB5UYJZc.js → Popover-DEj8xWN-.js} +5 -5
- package/dist/PowerSearch/index.d.ts +2 -2
- package/dist/PowerSearch/index.js +1 -1
- package/dist/PowerSearch-BJDFietK.js +4829 -0
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-yw2BCtB_.js → ProgressBar-DCAEXJuP.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-B8QoJyJu.js → RadioGroup-B3UoJrOA.js} +2 -2
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-BEv82wbs.js → RadioListItem-CD7kUGlN.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-BkWz-I2J.js → SegmentedControl-DGd6JlaD.js} +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-4sexgsUO.js → Selector-BD0u-5Fy.js} +5 -5
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-B_0Fv-ZU.js → SideNav-DoqCLRiX.js} +4 -4
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-Bmksx8ng.js → Slider-DHR7HZ7N.js} +2 -2
- package/dist/Stack/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-Bz4l43St.js → StatusDot-DFJavm30.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-CeNEvvTn.js → Switch-CnFC7jGw.js} +2 -2
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-BLLxHXwu.js → TabList-fMlX8m6n.js} +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-Ck4haR13.js → Table-DoKmVdhZ.js} +11 -11
- package/dist/Text/index.d.ts +1 -1
- package/dist/Text/index.js +1 -1
- package/dist/{Text-DkSHitKh.js → Text-D48QFTtL.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-CAcjMvls.js → TextArea-y9mmYAIy.js} +5 -5
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-BvQQTG75.js → TextInput-BLGEh7vE.js} +5 -5
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-Bv-M13fy.js → Thumbnail-Dm8krgGF.js} +2 -2
- package/dist/{TimeField-B83zAjAA.js → TimeField-DS30hnty.js} +4 -4
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-BoIZG-dF.js → TimeInput-DcY4b3dg.js} +2 -2
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-qjI_QrCz.js → Timer-DgQdZAEa.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-CJ_HUcek.js → Timestamp-BhBuBHu8.js} +3 -3
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-CFpOSuAr.js → Toast-CnLk7LzS.js} +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-BtXMvoOA.js → ToggleButton-B9IJcpdJ.js} +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DrkIayoF.js → Tokenizer-D7ZCTbnf.js} +165 -154
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-ByLqPCP7.js → Tooltip-CxzlUVN0.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-Rcz2zriX.js → TopNav-CK_F6Ud5.js} +3 -3
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-D2O3n477.js → Typeahead-Cs-46obm.js} +5 -5
- package/dist/composables/index.js +4 -4
- package/dist/{index-X4S7_dmq.d.ts → index-BA8exXNP.d.ts} +1 -1
- package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
- package/dist/{index-DIkdln91.d.ts → index-BIqW3_GP.d.ts} +2 -2
- package/dist/{index-6fLylXRI.d.ts → index-BL9fE6gs.d.ts} +8 -8
- package/dist/{index-Ct8M2d4q.d.ts → index-BVeTS-R5.d.ts} +7 -7
- package/dist/{index-BR3MOBYd.d.ts → index-BgT6mH3U.d.ts} +2 -2
- package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
- package/dist/{index-ChqMaV6N.d.ts → index-Bzi3A980.d.ts} +1 -1
- package/dist/{index-BjqoHLMq.d.ts → index-C1e8LNx2.d.ts} +1 -1
- package/dist/{index-I64GPV90.d.ts → index-C6IcBhAn.d.ts} +3 -3
- package/dist/{index-C4S65SAW.d.ts → index-CKnr0JlT.d.ts} +1 -1
- package/dist/{index-DVX2jlTQ.d.ts → index-CUuUoX3h.d.ts} +1 -1
- package/dist/{index-mK1ICsVg.d.ts → index-Cm36VS1A.d.ts} +2 -2
- package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
- package/dist/{index-BFGtLIp8.d.ts → index-D14kSf-g.d.ts} +2 -2
- package/dist/{index-In41wHf3.d.ts → index-DGe-ApvN.d.ts} +4 -4
- package/dist/{index-D8l_CmL-.d.ts → index-DIw5D3zj.d.ts} +2 -2
- package/dist/{index-BqQlY3fL.d.ts → index-DQ3akoRZ.d.ts} +4 -4
- package/dist/{index-ZXrvTM3A.d.ts → index-DVS4jM-l.d.ts} +2 -2
- package/dist/{index-DPhQZXYw.d.ts → index-DYabo8TI.d.ts} +1 -1
- package/dist/{index-BtqvPjAf.d.ts → index-DofC9Rll.d.ts} +1 -1
- package/dist/{index-aHC2C89h.d.ts → index-Ea2V_FSK.d.ts} +4 -4
- package/dist/{index-CBOv5j3c.d.ts → index-FeZXsFO-.d.ts} +3 -3
- package/dist/{index-DPklTi3o.d.ts → index-Q1oG9yIT.d.ts} +1 -1
- package/dist/{index-DCyYldjP.d.ts → index-T5bzxQ30.d.ts} +1 -1
- package/dist/{index-CdvmnNMH.d.ts → index-YKCx03zD.d.ts} +1 -1
- package/dist/{index-NOxH5oYj.d.ts → index-etx25Eq-.d.ts} +1 -1
- package/dist/{index-B9iQwixh.d.ts → index-hUa5oQ5O.d.ts} +97 -86
- package/dist/{index-yQc-te9a.d.ts → index-ql9ApSTF.d.ts} +2 -2
- package/dist/{index-CtYlR9Cu.d.ts → index-rdwI-mcm.d.ts} +1 -1
- package/dist/{index-NOXYEdOI.d.ts → index-utZGF4GR.d.ts} +1 -1
- package/dist/{index-C89cIh4E.d.ts → index-waTkqxTz.d.ts} +1 -1
- package/dist/index.d.ts +34 -34
- package/dist/index.js +79 -77
- package/dist/{lazyBottomSheet-BK8yIqcZ.js → lazyBottomSheet-Cmd-WMEE.js} +1 -1
- package/dist/{useLayerMountTarget-BmZyeKWE.js → mount-7R_s-bHB.js} +15 -42
- package/dist/{stillPointerGate-D3loXLh7.js → stillPointerGate-BbMABRyU.js} +1 -1
- package/dist/{tooltipFocusRules-DvVDuqZI.js → tooltipFocusRules-CpUOvFEU.js} +1 -1
- package/dist/{tooltipTriggerRules-DyPyWOdP.js → tooltipTriggerRules-zN2xGd9K.js} +1 -1
- package/dist/{triggerVariant-DG0VhG-X.js → triggerVariant-DPuBmzpp.js} +1 -1
- package/dist/{useDismiss-C7_S7qUA.js → useDismiss-BKtyCwx4.js} +1 -1
- package/dist/{useInputStatusIcon-CGj9gMj8.js → useInputStatusIcon-BngSzjVd.js} +1 -1
- package/dist/useLayerMountTarget-zwZQglr2.js +44 -0
- package/dist/{useTooltip-Bsm43vbi.js → useTooltip-DvBKna-w.js} +3 -3
- package/dist/{useTruncationTooltip-wc6Lzz34.js → useTruncationTooltip-DNAii2Nv.js} +3 -3
- package/dist/{useTypeaheadMenuConfig-Do0jOyEm.js → useTypeaheadMenuConfig-BT9Lwsu7.js} +1 -1
- package/package.json +1 -1
- package/styles/bottom-sheet.css +5 -0
- package/styles/power-search-sheet.css +205 -0
- package/styles.css +1 -0
- package/dist/PowerSearch-q3jvh5Tw.js +0 -2797
- package/dist/{index-BqhgeAT4.d.ts → index-D8lv2BiD.d.ts} +1 -1
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.components {
|
|
4
|
+
/*
|
|
5
|
+
* 底部弹层呈现里的字段:沿用行内字段的框,不换行;按钮里不能放控件,所以触发器、标签、
|
|
6
|
+
* 末尾内容是兄弟元素。没有可输入的地方,光标表示「按」。
|
|
7
|
+
*/
|
|
8
|
+
.astryx-power-search-control.astryx-power-search-sheet-field {
|
|
9
|
+
flex-wrap: nowrap;
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.astryx-power-search-control.astryx-power-search-sheet-field.has-tokens {
|
|
14
|
+
padding: calc(var(--astryx-spacing-1, 4px) - var(--astryx-border-width, 1px));
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.astryx-power-search-control.astryx-power-search-sheet-field.is-disabled {
|
|
18
|
+
cursor: default;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.astryx-power-search-sheet-field__content {
|
|
22
|
+
display: flex;
|
|
23
|
+
flex: 1 1 auto;
|
|
24
|
+
flex-wrap: wrap;
|
|
25
|
+
align-items: center;
|
|
26
|
+
gap: var(--astryx-spacing-1, 4px);
|
|
27
|
+
min-width: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* 框负责聚焦描边,触发器自己不画。有标签时它铺满整个框,点标签或空白处都打开弹层。 */
|
|
31
|
+
.astryx-power-search-sheet-trigger {
|
|
32
|
+
appearance: none;
|
|
33
|
+
flex: 1 1 40px;
|
|
34
|
+
align-self: stretch;
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
min-width: 40px;
|
|
38
|
+
margin: 0;
|
|
39
|
+
padding: 0 var(--astryx-spacing-1, 4px);
|
|
40
|
+
border: 0;
|
|
41
|
+
background: transparent;
|
|
42
|
+
color: var(--astryx-color-text-secondary, #525252);
|
|
43
|
+
font: inherit;
|
|
44
|
+
text-align: start;
|
|
45
|
+
cursor: inherit;
|
|
46
|
+
outline: none;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.astryx-power-search-sheet-trigger.has-tokens {
|
|
50
|
+
position: absolute;
|
|
51
|
+
inset: 0;
|
|
52
|
+
padding: 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/* 占位文字太长时一行省略号收尾,不把字段撑高。 */
|
|
56
|
+
.astryx-power-search-sheet-trigger__placeholder {
|
|
57
|
+
min-width: 0;
|
|
58
|
+
overflow: hidden;
|
|
59
|
+
text-overflow: ellipsis;
|
|
60
|
+
white-space: nowrap;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/* 标签只是展示,点击穿到下面的触发器;自定义标签里的控件仍能点。 */
|
|
64
|
+
.astryx-power-search-sheet-field .astryx-power-search-token,
|
|
65
|
+
.astryx-power-search-sheet-field .astryx-power-search-icon {
|
|
66
|
+
position: relative;
|
|
67
|
+
pointer-events: none;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.astryx-power-search-sheet-field .astryx-power-search-token :is(button, a, input, [tabindex]) {
|
|
71
|
+
pointer-events: auto;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.astryx-power-search-sheet-field__end {
|
|
75
|
+
position: relative;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.astryx-power-search-sheet-field__status {
|
|
79
|
+
display: inline-flex;
|
|
80
|
+
color: var(--astryx-input-status-color, var(--astryx-color-text-secondary, #525252));
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.astryx-power-search-sheet-field__status:empty {
|
|
84
|
+
display: none;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* 弹层内容:标题吸顶、底栏吸底,中间滚动。 */
|
|
88
|
+
.astryx-power-search-sheet {
|
|
89
|
+
--astryx-power-search-sheet-surface: var(--astryx-bottom-sheet-background, var(--astryx-color-background-surface, #fff));
|
|
90
|
+
|
|
91
|
+
display: flex;
|
|
92
|
+
flex-direction: column;
|
|
93
|
+
min-height: 100%;
|
|
94
|
+
isolation: isolate;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.astryx-power-search-sheet--fixed-footer {
|
|
98
|
+
height: 100%;
|
|
99
|
+
overflow: hidden;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* 弹层自己在抓手下面留出 24px,「筛选条件」和「添加筛选条件」的标题靠这一段就够了。 */
|
|
103
|
+
.astryx-power-search-sheet__header {
|
|
104
|
+
position: sticky;
|
|
105
|
+
top: 0;
|
|
106
|
+
z-index: 1;
|
|
107
|
+
display: flex;
|
|
108
|
+
flex-direction: column;
|
|
109
|
+
gap: var(--astryx-spacing-3, 12px);
|
|
110
|
+
padding: 0 var(--astryx-spacing-4, 16px) var(--astryx-spacing-3, 12px);
|
|
111
|
+
background: var(--astryx-power-search-sheet-surface);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/*
|
|
115
|
+
* 值那一步整页一起滚,吸顶的标题会碰到弹层顶边。标题往上伸进抓手下面那一段,
|
|
116
|
+
* 再用自己的内边距把那一段补回来,停着和吸住时都不被抓手挡住。
|
|
117
|
+
*/
|
|
118
|
+
.astryx-power-search-sheet__header--scrolls-to-top {
|
|
119
|
+
margin-block-start: calc(-1 * var(--astryx-spacing-6, 24px));
|
|
120
|
+
padding-block-start: var(--astryx-spacing-6, 24px);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.astryx-power-search-sheet__header-row {
|
|
124
|
+
display: flex;
|
|
125
|
+
align-items: center;
|
|
126
|
+
gap: var(--astryx-spacing-2, 8px);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.astryx-power-search-sheet__title {
|
|
130
|
+
flex-grow: 1;
|
|
131
|
+
min-width: 0;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.astryx-power-search-sheet__body {
|
|
135
|
+
display: flex;
|
|
136
|
+
flex-direction: column;
|
|
137
|
+
flex-grow: 1;
|
|
138
|
+
gap: var(--astryx-spacing-4, 16px);
|
|
139
|
+
padding: 0 var(--astryx-spacing-4, 16px) var(--astryx-spacing-4, 16px);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.astryx-power-search-sheet__scroll {
|
|
143
|
+
flex-grow: 1;
|
|
144
|
+
min-height: 0;
|
|
145
|
+
overflow-y: auto;
|
|
146
|
+
overscroll-behavior: contain;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.astryx-power-search-sheet__content {
|
|
150
|
+
display: flex;
|
|
151
|
+
flex-direction: column;
|
|
152
|
+
gap: var(--astryx-spacing-4, 16px);
|
|
153
|
+
min-height: 100%;
|
|
154
|
+
padding: 0 var(--astryx-spacing-4, 16px) var(--astryx-spacing-4, 16px);
|
|
155
|
+
box-sizing: border-box;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.astryx-power-search-sheet__empty {
|
|
159
|
+
display: flex;
|
|
160
|
+
flex-grow: 1;
|
|
161
|
+
align-items: center;
|
|
162
|
+
justify-content: center;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.astryx-power-search-sheet__section {
|
|
166
|
+
padding: var(--astryx-spacing-3, 12px);
|
|
167
|
+
border-radius: var(--astryx-radius-container, 12px);
|
|
168
|
+
background: var(--astryx-color-background-muted, #f1f1f1);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.astryx-power-search-sheet__row-value {
|
|
172
|
+
font-weight: var(--astryx-font-weight-bold, 700);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.astryx-power-search-sheet__choice {
|
|
176
|
+
display: inline-flex;
|
|
177
|
+
align-items: center;
|
|
178
|
+
gap: var(--astryx-spacing-2, 8px);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.astryx-power-search-sheet__chevron:dir(rtl) {
|
|
182
|
+
transform: scaleX(-1);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.astryx-power-search-sheet__footer {
|
|
186
|
+
position: sticky;
|
|
187
|
+
bottom: 0;
|
|
188
|
+
display: flex;
|
|
189
|
+
justify-content: space-between;
|
|
190
|
+
gap: var(--astryx-spacing-2, 8px);
|
|
191
|
+
padding: var(--astryx-spacing-3, 12px) var(--astryx-spacing-4, 16px);
|
|
192
|
+
background: var(--astryx-power-search-sheet-surface);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.astryx-power-search-sheet--fixed-footer .astryx-power-search-sheet__footer {
|
|
196
|
+
position: relative;
|
|
197
|
+
flex-shrink: 0;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.astryx-power-search-sheet__footer-action {
|
|
201
|
+
flex: 1 1 0;
|
|
202
|
+
min-width: 0;
|
|
203
|
+
min-height: 44px;
|
|
204
|
+
}
|
|
205
|
+
}
|
package/styles.css
CHANGED
|
@@ -66,6 +66,7 @@
|
|
|
66
66
|
@import './styles/overlay.css';
|
|
67
67
|
@import './styles/popover.css';
|
|
68
68
|
@import './styles/power-search.css';
|
|
69
|
+
@import './styles/power-search-sheet.css';
|
|
69
70
|
@import './styles/pressable.css';
|
|
70
71
|
@import './styles/progress-bar.css';
|
|
71
72
|
@import './styles/radio.css';
|