@astryx-vue/core 0.27.0 → 0.28.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-CGGkPG4T.js → AlertDialog-B195FgtL.js} +2 -2
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-DGJgCvS6.js → AppShell-CxUmt6hX.js} +4 -4
- 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/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-gctYQ3sV.js → BottomSheet-D3893Ymj.js} +33 -9
- package/dist/{BottomSheet-Dn8gpT4m.js → BottomSheet-DVe5Nw9Z.js} +111 -25
- package/dist/Breadcrumbs/index.d.ts +2 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-Bt6Pp3gV.js → Breadcrumbs-CQa-Jjnn.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +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/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- 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/{CheckboxList-CWHlG8Jq.js → CheckboxList-DGM-cgX5.js} +2 -2
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/Code/index.d.ts +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-BSRdsb6w.js → Collapsible-B2vrr_YP.js} +2 -2
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-DI3J30Ho.js → ComplexSelector-CZiUA6Gm.js} +1 -1
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-CVf4OqJP.js → ContextMenu-8I420g7H.js} +2 -2
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-DK-FI37x.js → DateInput-KZF_A_31.js} +2 -2
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-ClriBc4F.js → DateRangeInput-4GCWgLFN.js} +1 -1
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-BdXkBBYi.js → DateTimeInput-BGcdOmRp.js} +3 -3
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/DropdownMenu/index.d.ts +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-NIGjTT7o.js → DropdownMenu-B-dBiomz.js} +3 -3
- package/dist/{DropdownMenu-CmbnIRug.js → DropdownMenu-CSqkl-Xl.js} +3 -3
- package/dist/{DropdownMenuRadioItem.vue-DINRx71W.d.ts → DropdownMenuRadioItem.vue-C8rePTyz.d.ts} +1 -1
- package/dist/Heading/index.d.ts +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/{Item-DUI1Qnnd.js → Item-C8UAQwFQ.js} +193 -111
- package/dist/Link/index.d.ts +1 -1
- package/dist/List/index.d.ts +2 -2
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-C8SqSrU6.js → ListItem-BlrEngDO.js} +11 -3
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-Dx7rmb-V.js → MobileNavToggle-D5yGMHU4.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-vavlbJ-p.js → MoreMenu-GPcHAauX.js} +1 -1
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-BUXFzIla.js → MultiSelector-BSA613nO.js} +1 -1
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavItem/index.js +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-DvQbXc_H.js → Outline-DI9MZnuQ.js} +106 -50
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-CRrou1P-.js → Pagination-DWfvdCpK.js} +2 -2
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-sERt08TR.js → Popover-CB5UYJZc.js} +3 -3
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CUY0iULe.js → PowerSearch-BW0jBC1d.js} +7 -7
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/ScrollableArea/index.d.ts +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-Bj4q6aT5.js → Selector-4sexgsUO.js} +2 -2
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -2
- package/dist/{SideNav-CHSwzwTt.js → SideNav-B_0Fv-ZU.js} +4 -4
- package/dist/Stack/index.d.ts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/TabList/index.d.ts +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-B7MHrvdy.js → Table-CRLL1RGr.js} +8 -8
- package/dist/Text/index.d.ts +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/{TimeField-hB88chlQ.js → TimeField-B83zAjAA.js} +1 -1
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-JrTs9r66.js → TimeInput-BoIZG-dF.js} +1 -1
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/ToggleButton/index.d.ts +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-iJb-WZ55.js → Tokenizer-DrkIayoF.js} +1 -1
- 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-Ce79A3zT.js → TopNav-Rcz2zriX.js} +2 -2
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-BEPHdVYu.js → TreeList-Dh0uAj2B.js} +48 -7
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/{animator-BooLoGyI.js → animator-BGq5a6vT.js} +4 -300
- package/dist/{batch-CM-vJhQg.js → batch-BhaAWUIt.js} +3 -2
- package/dist/{bezier-Cts7gENO.js → bezier-Df-yGuNZ.js} +1 -90
- package/dist/composables/index.d.ts +1 -1
- package/dist/composables/index.js +3 -2
- package/dist/{composables-BtqijTIO.js → composables-BTRbNgmR.js} +4 -41
- package/dist/{context-DH8E-qjm.js → context-jtpQfR6F.js} +1 -1
- package/dist/{edge-BYXwSggM.js → edge-CJIswPTX.js} +1 -1
- package/dist/{edgeRide-B5mlN2Q4.js → edgeRide-Drk4V-MC.js} +2 -2
- package/dist/{index-BD-Pxni9.d.ts → index--kbwaSXW.d.ts} +2 -2
- package/dist/{index-BO8V3n98.d.ts → index-0COIBuxA.d.ts} +61 -61
- package/dist/{index-DogWVRJi.d.ts → index-0RIgvtdm.d.ts} +1 -1
- package/dist/{index-X4S7_dmq.d.ts → index-BA8exXNP.d.ts} +1 -1
- package/dist/{index-BR3MOBYd.d.ts → index-BgT6mH3U.d.ts} +2 -2
- package/dist/{index-tpkJfk6X.d.ts → index-Bh-GqMzd.d.ts} +7 -0
- package/dist/{index-Bu4R0WZA.d.ts → index-BqQlY3fL.d.ts} +2 -2
- package/dist/{index-waTkqxTz.d.ts → index-C89cIh4E.d.ts} +1 -1
- package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
- package/dist/{index-CRtGmCHi.d.ts → index-CEtFUoIm.d.ts} +1 -1
- package/dist/{index-YKCx03zD.d.ts → index-COgrQZIL.d.ts} +2 -2
- package/dist/{index-Bgk1Rj2A.d.ts → index-CTjkJP4x.d.ts} +1 -1
- package/dist/{index-BO9TY87G.d.ts → index-CUuUoX3h.d.ts} +6 -4
- package/dist/{index-FeZXsFO-.d.ts → index-CbA8rR_b.d.ts} +2 -2
- package/dist/{index-Bzi3A980.d.ts → index-ChqMaV6N.d.ts} +1 -1
- package/dist/{index-C4EuWBql.d.ts → index-ClJINYPl.d.ts} +3 -3
- package/dist/{index-rdwI-mcm.d.ts → index-CtYlR9Cu.d.ts} +1 -1
- package/dist/{index-T5bzxQ30.d.ts → index-DCyYldjP.d.ts} +1 -1
- package/dist/{index-DDVCVpnG.d.ts → index-DE-QPNz0.d.ts} +1 -1
- package/dist/{index-CVNtRsJb.d.ts → index-DW_ASIiu.d.ts} +2 -2
- package/dist/{index-SI2AkpMU.d.ts → index-GyRgg1-v.d.ts} +5 -5
- package/dist/{index-B-oy8Ko6.d.ts → index-MBiq-7Np.d.ts} +6 -6
- package/dist/{index-CfPgindd.d.ts → index-ZKBj_1nu.d.ts} +2 -2
- package/dist/{index-Ea2V_FSK.d.ts → index-aHC2C89h.d.ts} +4 -4
- package/dist/{index-Cm36VS1A.d.ts → index-mK1ICsVg.d.ts} +2 -2
- package/dist/{index-ql9ApSTF.d.ts → index-yQc-te9a.d.ts} +2 -2
- package/dist/index.d.ts +29 -29
- package/dist/index.js +38 -37
- package/dist/{landing-B9Uvex6x.js → landing-CBaXCGEg.js} +2 -2
- package/dist/{lazyBottomSheet-CxEu25bK.js → lazyBottomSheet-BK8yIqcZ.js} +1 -1
- package/dist/resolveMotion-CurhYTVC.js +307 -0
- package/dist/{themeTiming-CWEvdh31.js → themeTiming-BFDOPRjK.js} +1 -1
- package/dist/timing-CSHWQbTJ.js +90 -0
- package/dist/{types-Gw2OjSK9.d.ts → types-ClOMFbqC.d.ts} +2 -2
- package/dist/useAnimatedLayout-DC2l3WrE.js +40 -0
- package/dist/{useMenuDrillIn-CP0P49ej.js → useMenuDrillIn-BQx6lQMz.js} +1 -1
- package/dist/{useRestoreFocus-AeZABFZN.js → useRestoreFocus-DS7uQWok.js} +1 -1
- package/package.json +1 -1
- package/styles/bottom-sheet.css +26 -5
- package/styles/date-input.css +2 -3
- package/styles/list.css +102 -5
- package/styles/metadata-list.css +6 -1
- package/styles/outline.css +2 -1
- package/dist/{Chat-RE_6Ez79.js → Chat-Bg1IuDMt.js} +1 -1
- package/dist/{ClickableCard-CwGxO0GU.js → ClickableCard-ChmOwgYq.js} +1 -1
- package/dist/{NavItem-c1ScHEJY.js → NavItem-kj9FbbFS.js} +1 -1
- package/dist/{index-BqhgeAT4.d.ts → index-D8lv2BiD.d.ts} +1 -1
package/styles/list.css
CHANGED
|
@@ -20,11 +20,49 @@
|
|
|
20
20
|
margin: 0;
|
|
21
21
|
padding-inline-start: 0;
|
|
22
22
|
overflow-inline: clip;
|
|
23
|
+
/* 行的热区只在列表里抬高,不会盖过页面上吸顶的头部。 */
|
|
24
|
+
isolation: isolate;
|
|
23
25
|
list-style-type: none;
|
|
24
26
|
}
|
|
25
27
|
|
|
26
28
|
.astryx-list[data-dividers='true'] {
|
|
27
|
-
gap: 0;
|
|
29
|
+
row-gap: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/*
|
|
33
|
+
* 有序列表的行共用一列标记:列表是两列的网格(标记按内容宽度,其余占满),
|
|
34
|
+
* 每行用子网格接上这两列,数字位数变了,别的行的文字和嵌套列表也不动。
|
|
35
|
+
* 不支持子网格时保持弹性布局。
|
|
36
|
+
*/
|
|
37
|
+
@supports (grid-template-columns: subgrid) {
|
|
38
|
+
.astryx-list[data-list-style='decimal'] {
|
|
39
|
+
display: grid;
|
|
40
|
+
grid-template-columns: max-content minmax(0, 1fr);
|
|
41
|
+
column-gap: var(--astryx-spacing-2, 8px);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.astryx-list[data-list-style='decimal'] > .astryx-list-item {
|
|
45
|
+
grid-column: 1 / -1;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.astryx-list[data-list-style='decimal'] > .astryx-list-item:not(.astryx-item--swipe):has(> .astryx-item__marker-content) {
|
|
49
|
+
display: grid;
|
|
50
|
+
grid-template-columns: subgrid;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* 标记之外的内容在同一格里,仍沿用行的对齐和间距。 */
|
|
55
|
+
.astryx-item__marker-content {
|
|
56
|
+
display: flex;
|
|
57
|
+
flex: 1;
|
|
58
|
+
align-items: inherit;
|
|
59
|
+
align-self: stretch;
|
|
60
|
+
gap: inherit;
|
|
61
|
+
min-width: 0;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.astryx-item[data-align='first-line'] > .astryx-item__marker-content {
|
|
65
|
+
align-self: baseline;
|
|
28
66
|
}
|
|
29
67
|
|
|
30
68
|
.astryx-list:not([data-list-style='none']) {
|
|
@@ -92,6 +130,36 @@
|
|
|
92
130
|
padding-inline-end: max(var(--container-padding-inline-end, 0px), var(--astryx-item-inset-inline));
|
|
93
131
|
}
|
|
94
132
|
|
|
133
|
+
/*
|
|
134
|
+
* 粗指针下,可点的行朝相邻行留出的空隙长出热区。后面的行是没有 z-index 的定位元素,
|
|
135
|
+
* 会盖住前面行的热区,所以热区抬高一层。有分隔线时热区从分隔线外缘起算(最后一行没有分隔线)。
|
|
136
|
+
*/
|
|
137
|
+
@media (pointer: coarse) {
|
|
138
|
+
.astryx-list > .astryx-list-item.astryx-touch-hit-area-band::after {
|
|
139
|
+
z-index: 1;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.astryx-list[data-dividers='true'] > .astryx-list-item.astryx-touch-hit-area-band:not(:last-child)::after {
|
|
143
|
+
margin-block-end: calc(var(--astryx-border-width, 1px) * -1);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/*
|
|
148
|
+
* 圆角卡片、对话框里,作为它第一个或最后一个子元素的 `bleed` 列表:首行、末行取容器
|
|
149
|
+
* 发布的圆角,减去自己保留的块方向内边距(行的底色和焦点环不被容器的弧线裁掉)。
|
|
150
|
+
* 有标题时列表的根是容器的子元素,头部在首行上面,所以只有末行取角。其余的角保持直角。
|
|
151
|
+
*/
|
|
152
|
+
:is(.astryx-card, .astryx-dialog__inner) > .astryx-list[data-edge='bleed']:first-child > .astryx-list-item:first-child {
|
|
153
|
+
border-start-start-radius: max(0px, var(--_container-corner-block-start, 0px) - var(--container-padding-block-start, 0px));
|
|
154
|
+
border-start-end-radius: max(0px, var(--_container-corner-block-start, 0px) - var(--container-padding-block-start, 0px));
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
:is(.astryx-card, .astryx-dialog__inner) > .astryx-list[data-edge='bleed']:last-child > .astryx-list-item:last-child,
|
|
158
|
+
:is(.astryx-card, .astryx-dialog__inner) > .astryx-list-root:last-child > .astryx-list[data-edge='bleed'] > .astryx-list-item:last-child {
|
|
159
|
+
border-end-start-radius: max(0px, var(--_container-corner-block-end, 0px) - var(--container-padding-block-end, 0px));
|
|
160
|
+
border-end-end-radius: max(0px, var(--_container-corner-block-end, 0px) - var(--container-padding-block-end, 0px));
|
|
161
|
+
}
|
|
162
|
+
|
|
95
163
|
.astryx-list-marker {
|
|
96
164
|
box-sizing: border-box;
|
|
97
165
|
display: flex;
|
|
@@ -123,15 +191,21 @@
|
|
|
123
191
|
.astryx-list-marker__number {
|
|
124
192
|
flex-shrink: 0;
|
|
125
193
|
align-self: baseline;
|
|
126
|
-
|
|
194
|
+
/* 数字右对齐、等宽,每个句点都在一条线上;比这一列更宽的数字先挂进行的内边距,再撑宽整列。 */
|
|
195
|
+
min-width: var(--astryx-spacing-4, 16px);
|
|
127
196
|
color: var(--astryx-list-marker-foreground, light-dark(#171717, #fafafa));
|
|
128
197
|
font-size: var(--astryx-text-body-size, 0.875rem);
|
|
198
|
+
font-variant-numeric: tabular-nums;
|
|
129
199
|
line-height: var(--astryx-text-body-leading, 1.4286);
|
|
130
200
|
display: flex;
|
|
131
201
|
justify-content: flex-end;
|
|
132
202
|
white-space: nowrap;
|
|
133
203
|
}
|
|
134
204
|
|
|
205
|
+
.astryx-list-marker__number::before {
|
|
206
|
+
margin-inline-start: calc(-1 * var(--astryx-item-inset-inline, 8px));
|
|
207
|
+
}
|
|
208
|
+
|
|
135
209
|
.astryx-list-marker__number[data-style='decimal']::before {
|
|
136
210
|
content: counter(astryx-list) '.';
|
|
137
211
|
}
|
|
@@ -221,10 +295,32 @@
|
|
|
221
295
|
}
|
|
222
296
|
}
|
|
223
297
|
|
|
224
|
-
.astryx-item[data-astryx-press]:not([data-disabled='true'])
|
|
298
|
+
.astryx-item[data-astryx-press]:not([data-disabled='true']) {
|
|
225
299
|
background-image: var(--_press-paint-image);
|
|
226
300
|
}
|
|
227
301
|
|
|
302
|
+
/*
|
|
303
|
+
* 选中行保留自己的底色,悬停和按下的色调作为图片层叠在上面。
|
|
304
|
+
* 高亮行的底色本来就是悬停色,只表现按下。
|
|
305
|
+
*/
|
|
306
|
+
@media (hover: hover) {
|
|
307
|
+
.astryx-item[data-interactive='true'][data-selected='true']:not([data-disabled='true']):hover {
|
|
308
|
+
background-image: linear-gradient(
|
|
309
|
+
var(--astryx-list-item-hover-background, light-dark(#0536590c, #ffffff0c)),
|
|
310
|
+
var(--astryx-list-item-hover-background, light-dark(#0536590c, #ffffff0c))
|
|
311
|
+
);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
@media not all and (pointer: coarse) {
|
|
316
|
+
.astryx-item[data-interactive='true'][data-selected='true']:not([data-disabled='true']):active {
|
|
317
|
+
background-image: linear-gradient(
|
|
318
|
+
var(--astryx-list-item-pressed-background, light-dark(#05365919, #ffffff19)),
|
|
319
|
+
var(--astryx-list-item-pressed-background, light-dark(#05365919, #ffffff19))
|
|
320
|
+
);
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
228
324
|
/*
|
|
229
325
|
* 行只为自己的按钮或链接画环;委托模式下嵌套控件就是行的唯一 Tab 停点,照旧画在行上。
|
|
230
326
|
* 起止插槽里的其他控件自己画环,同一次聚焦不会出现两个环。
|
|
@@ -314,7 +410,8 @@
|
|
|
314
410
|
position: relative;
|
|
315
411
|
overflow: clip;
|
|
316
412
|
padding: 0;
|
|
317
|
-
|
|
413
|
+
/* pan-y 让浏览器继续滚动列表;pinch-zoom 把双指缩放留给浏览器,页面仍可缩放。 */
|
|
414
|
+
touch-action: pan-y pinch-zoom;
|
|
318
415
|
--_item-swipe-dir: 1;
|
|
319
416
|
--_item-swipe-travel: 0;
|
|
320
417
|
--_item-swipe-duration: 0s;
|
|
@@ -394,7 +491,7 @@
|
|
|
394
491
|
color: var(--astryx-color-on-error, #fff);
|
|
395
492
|
}
|
|
396
493
|
|
|
397
|
-
.astryx-item__swipe-action
|
|
494
|
+
.astryx-item__swipe-action[aria-disabled='true'] {
|
|
398
495
|
opacity: 0.5;
|
|
399
496
|
cursor: default;
|
|
400
497
|
}
|
package/styles/metadata-list.css
CHANGED
|
@@ -77,11 +77,16 @@
|
|
|
77
77
|
font-size: var(--astryx-text-body-size, 1rem);
|
|
78
78
|
line-height: var(--astryx-text-body-leading, 1.5);
|
|
79
79
|
overflow-wrap: break-word;
|
|
80
|
-
word-break: break-word;
|
|
81
80
|
}
|
|
82
81
|
|
|
82
|
+
/*
|
|
83
|
+
* 标签的单词比一列还长时在列内折断。值只在单词比一行还长时才折断:
|
|
84
|
+
* 用 overflow-wrap 而不是 word-break,值的最窄宽度仍是最长的单词,
|
|
85
|
+
* 一行里并排的金额和说明不会被挤到一个字符一行。
|
|
86
|
+
*/
|
|
83
87
|
.astryx-metadata-list__label,
|
|
84
88
|
.astryx-metadata-list__item-label {
|
|
89
|
+
word-break: break-word;
|
|
85
90
|
display: flex;
|
|
86
91
|
align-items: center;
|
|
87
92
|
gap: var(--astryx-spacing-2, 8px);
|
package/styles/outline.css
CHANGED
|
@@ -15,10 +15,10 @@ import { n as observeResize } from "./sharedResizeObserver-BekhnB3E.js";
|
|
|
15
15
|
import { r as TOUCH_POINTER_TYPES } from "./useTouchTriggerInternal-Bl602PtA.js";
|
|
16
16
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
17
17
|
import { t as _sfc_main$27 } from "./Badge-BbPS_49c.js";
|
|
18
|
+
import { r as withholdCallerHandlers } from "./disabledInteraction-Bqoyhoss.js";
|
|
18
19
|
import { t as _sfc_main$28 } from "./Divider-mOZ6vIQw.js";
|
|
19
20
|
import { t as useAnnounceRenderedText } from "./announceRenderedText-CslZ0cev.js";
|
|
20
21
|
import { t as chatMessages } from "./chat-BUFYB3bA.js";
|
|
21
|
-
import { r as withholdCallerHandlers } from "./disabledInteraction-Bqoyhoss.js";
|
|
22
22
|
import { t as _sfc_main$29 } from "./HoverCard-Fr6RLRR8.js";
|
|
23
23
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
24
24
|
import { t as spinnerMessages } from "./spinner-DVia-eDf.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as useClickableContainer } from "./useClickableContainer-Dtjg-nkm.js";
|
|
2
2
|
import { t as usePressFeedback } from "./usePressFeedback-BhNcuxQv.js";
|
|
3
3
|
import { t as _sfc_main$1 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
4
|
-
import { t as _sfc_main$2 } from "./Card-D_OJxmwD.js";
|
|
5
4
|
import { n as disabledInteractionProps } from "./disabledInteraction-Bqoyhoss.js";
|
|
5
|
+
import { t as _sfc_main$2 } from "./Card-D_OJxmwD.js";
|
|
6
6
|
import { computed, createBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, useTemplateRef, withCtx } from "vue";
|
|
7
7
|
import "../styles/clickable-card.css";
|
|
8
8
|
//#region src/ClickableCard/ClickableCard.vue
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
2
2
|
import { t as usePressFeedback } from "./usePressFeedback-BhNcuxQv.js";
|
|
3
3
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
4
|
-
import { n as isNavigableHref, r as resolveNavRoot, t as isExternalNavTarget } from "./link-DuuA2eCL.js";
|
|
5
4
|
import { n as disabledInteractionProps } from "./disabledInteraction-Bqoyhoss.js";
|
|
5
|
+
import { n as isNavigableHref, r as resolveNavRoot, t as isExternalNavTarget } from "./link-DuuA2eCL.js";
|
|
6
6
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useSlots, withCtx } from "vue";
|
|
7
7
|
import "../styles/nav-item.css";
|
|
8
8
|
//#region src/NavItem/NavItem.vue
|
|
@@ -43,9 +43,9 @@ declare const __VLS_base: import("vue").DefineComponent<TokenProps, {}, {}, {},
|
|
|
43
43
|
onRemove?: ((event: Event) => any) | undefined;
|
|
44
44
|
}>, {
|
|
45
45
|
size: TokenSize;
|
|
46
|
+
color: "default" | "blue" | "cyan" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "teal" | "yellow";
|
|
46
47
|
labelHidden: boolean;
|
|
47
48
|
disabled: boolean;
|
|
48
|
-
color: "default" | "blue" | "cyan" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "teal" | "yellow";
|
|
49
49
|
removable: boolean;
|
|
50
50
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
51
51
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|