@astryx-vue/core 0.5.1 → 0.6.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-Dorcqkwf.js → AlertDialog-CBkJecfc.js} +1 -1
- package/dist/AppShell/index.d.ts +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-Df9SFUhh.js → Banner-CswzZPfJ.js} +1 -1
- package/dist/Breadcrumbs/index.d.ts +2 -2
- package/dist/Breadcrumbs/index.js +1 -1
- package/dist/{Breadcrumbs-kPETVOpi.js → Breadcrumbs-DRXYUqOk.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-bxKFDhhg.js → Button-xMGOU3Wj.js} +25 -6
- 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.js +1 -1
- package/dist/{Carousel-CeRJOasP.js → Carousel-2kgXe9Jj.js} +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-CfvndIgD.js → Chat-sNg2CZ_P.js} +1 -1
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-CMtJ0qXQ.js → CheckboxInput-DDORpsYN.js} +2 -2
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-Cg8GC1l2.js → CheckboxList-B8_wed6z.js} +3 -3
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-ChAfiw9T.js → ClickableCard-DM66XZ07.js} +21 -10
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-DSjv__N9.js → CodeBlock-CysuhZZ9.js} +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-DcPOOrZp.js → ComplexSelector-32r0RVQE.js} +2 -2
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-BfR_bV-E.js → DateInput-B57PrbII.js} +3 -3
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-DholSURy.js → DateRangeInput-D-umWs1s.js} +4 -4
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-B6-bHZlz.js → DateTimeInput-BMw1A5Q3.js} +4 -4
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +1 -1
- package/dist/{Dialog-C2qblOuT.js → Dialog-CL8u76KG.js} +1 -1
- package/dist/DropdownMenu/index.d.ts +2 -2
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-DaxYMyco.js → DropdownMenu-C0QDklYy.js} +1 -1
- package/dist/{DropdownMenu-BwsljguO.js → DropdownMenu-DO9lDRvW.js} +1 -1
- package/dist/{DropdownMenuRadioItem.vue-C6W2wPLv.d.ts → DropdownMenuRadioItem.vue-D-VSfulY.d.ts} +1 -1
- package/dist/Field/index.js +3 -3
- package/dist/{Field-ff-Jmtg1.js → Field-DRQuVVlH.js} +1 -1
- package/dist/{FieldInfoTip-DRXvsWkr.js → FieldInfoTip-Ci5usYvE.js} +2 -2
- package/dist/{FieldLabel-CCA3AmQX.js → FieldLabel-MeJlcRRG.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-CnBaHvNx.js → FileInput-lAMIbbni.js} +3 -3
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-BkR7nVB3.js → IconButton-BmMIccb4.js} +1 -1
- package/dist/{InputClearButton-DKnC8sst.js → InputClearButton-CBCi06tn.js} +1 -1
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-BBspcJsS.js → InputGroup-DN69Nt4T.js} +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-DclM0Brf.js → Lightbox-DmrWEQY7.js} +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-C50dTXDc.js → Link-Dq-v9ioN.js} +31 -7
- package/dist/List/index.d.ts +3 -3
- package/dist/List/index.js +1 -1
- package/dist/{ListItem-BQXMu1Tb.js → ListItem-Cq_nU1YV.js} +7 -0
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-Cs8R5hG6.js → Markdown-b8M7X3Pg.js} +2 -2
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-BAgTOJL3.js → MoreMenu-op981Hx8.js} +2 -2
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-V_VrLRdF.js → MultiSelector-DVqD6OEy.js} +4 -4
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-C8iCWQih.js → NumberInput-DP7XAtGl.js} +4 -4
- package/dist/OverflowList/index.d.ts +1 -1
- 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-DfsCrTIx.js → Pagination-L0IDhBbo.js} +2 -2
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-Dmpyfb45.js → Popover-DsGCMcaU.js} +1 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-BX8pD6L4.js → PowerSearch-CBYYhpvA.js} +14 -14
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-Bcu-oL8r.js → RadioGroup-aPYacVf4.js} +1 -1
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-C8Y3PhDF.js → RadioList-bSQ-r2bJ.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 +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-PBkInp3I.js → Selector-Dle5Lbvs.js} +3 -3
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-CzhSOS4W.js → SideNav-2YawTRxj.js} +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-BZwZrqCw.js → Slider-gMrMfGWl.js} +2 -2
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-q1ieKrJM.js → Stepper-BB-tXsGy.js} +67 -7
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-D145VGQZ.js → Switch-DBdLd0-t.js} +8 -3
- 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-B2bj8INX.js → Table-BwfRe7_x.js} +9 -9
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-Dxl4UuIg.js → TextArea-DpDQCb59.js} +4 -4
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-Ciy-VyBn.js → TextInput-CzAq1vnQ.js} +4 -4
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-DnWOc0od.js → Thumbnail-CiTkiqS_.js} +1 -1
- package/dist/{TimeField-Bglx_QpO.js → TimeField-Dajh0ej2.js} +2 -2
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-T_kjTVaa.js → TimeInput-BVrrBcMF.js} +2 -2
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-DUUoQOjg.js → Timestamp-Bf6iQTk6.js} +26 -10
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-BaTlbgA5.js → ToggleButton-Cq82SwPx.js} +3 -2
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-BHzLrzib.js → Token-CBrEN21_.js} +22 -13
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-BxJM9mMl.js → Tokenizer-DxOCrbq3.js} +4 -4
- 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/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-C7e2vky1.js → Typeahead-XpX5aA-Q.js} +4 -4
- package/dist/{TypeaheadMenu-wfBWRFQ6.js → TypeaheadMenu-By-HLpFy.js} +4 -0
- package/dist/composables/index.js +1 -1
- package/dist/disabledInteraction-C9lrgFxB.js +28 -0
- package/dist/{index-mkbGYz8f.d.ts → index-3t5RAfNP.d.ts} +2 -2
- package/dist/{index-jBub29ti.d.ts → index-B1WWphal.d.ts} +1 -1
- package/dist/{index-TXcNH86P.d.ts → index-B1eCxBCY.d.ts} +1 -1
- package/dist/{index-DbiZvj1P.d.ts → index-B8EnP-PB.d.ts} +1 -1
- package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
- package/dist/{index-wY6dKz6c.d.ts → index-BEZ4ezJk.d.ts} +2 -2
- package/dist/{index-BnEhvmdR.d.ts → index-BaxM-pFP.d.ts} +4 -4
- package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
- package/dist/{index-CUCcYKxl.d.ts → index-C3f1zsJR.d.ts} +6 -3
- package/dist/{index-Ds201-d2.d.ts → index-C732aNMY.d.ts} +2 -2
- package/dist/{index-C1zwvxPH.d.ts → index-CL8JvxHW.d.ts} +2 -2
- package/dist/{index-gW0HW02U.d.ts → index-COxy6LEW.d.ts} +1 -1
- package/dist/{index-CuEB_3NR.d.ts → index-C_6RCsGf.d.ts} +1 -1
- package/dist/{index-CVn0GBdB.d.ts → index-ChOyJzJh.d.ts} +1 -1
- package/dist/{index-5Ia2MHj4.d.ts → index-CqSDC6Af.d.ts} +5 -5
- package/dist/{index-hCpxKePE.d.ts → index-D5N9ikrS.d.ts} +1 -1
- package/dist/{index-DXJ3U3ve.d.ts → index-DLAG3m9W.d.ts} +2 -2
- package/dist/{index-CiNdjn8Q.d.ts → index-DR3eQt87.d.ts} +57 -57
- package/dist/{index-fHZNanjH.d.ts → index-DTyX3QfK.d.ts} +4 -4
- package/dist/{index-BhLLG-Gi.d.ts → index-D_K1wfRa.d.ts} +2 -2
- package/dist/{index-8px-LKw_.d.ts → index-Dacg7XTH.d.ts} +2 -2
- package/dist/{index-C7sam-SB.d.ts → index-Dl4Kx5Pl.d.ts} +1 -1
- package/dist/{index-Cq31D3fJ.d.ts → index-GpET2_oj.d.ts} +1 -1
- package/dist/{index-EvhMa33P.d.ts → index-RW8kvEwf.d.ts} +4 -4
- package/dist/{index-j0WJTviq.d.ts → index-TA1zVibb.d.ts} +2 -2
- package/dist/{index-BzbvGjqT.d.ts → index-WrrH8ulk.d.ts} +6 -6
- package/dist/{index-COgrQZIL.d.ts → index-YKCx03zD.d.ts} +2 -2
- package/dist/{index-B9e52paP.d.ts → index-rszZajcw.d.ts} +7 -4
- package/dist/index.d.ts +32 -32
- package/dist/index.js +53 -53
- package/dist/{searchResultMessage-Do17kweN.js → searchResultMessage-DEyqvflW.js} +1 -1
- package/dist/{types-DGYHIu4I.d.ts → types-Dxs5rf-2.d.ts} +40 -7
- package/dist/{useInputStatusIcon-yj_rY6TQ.js → useInputStatusIcon-BZPOzGDC.js} +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/{utils-z3Q6BGIJ.js → utils-BE5HBOBX.js} +6 -10
- package/package.json +1 -1
- package/styles/banner.css +10 -0
- package/styles/calendar.css +15 -2
- package/styles/list.css +68 -6
- package/styles/markdown.css +9 -0
- package/styles/pagination.css +9 -0
- package/styles/stepper.css +44 -3
- package/dist/{index-BqhgeAT4.d.ts → index-CHx33xGa.d.ts} +2 -2
package/styles/stepper.css
CHANGED
|
@@ -79,13 +79,51 @@
|
|
|
79
79
|
|
|
80
80
|
.astryx-step-bar,
|
|
81
81
|
.astryx-step-connector {
|
|
82
|
+
position: relative;
|
|
82
83
|
background: var(--astryx-color-border, #00000014);
|
|
83
84
|
border-radius: var(--astryx-radius-full, 999px);
|
|
84
85
|
}
|
|
85
86
|
|
|
86
|
-
|
|
87
|
-
|
|
87
|
+
/*
|
|
88
|
+
* 进度条底色是边框色。填满的部分画在 ::before 上,从起点拉长到整段。
|
|
89
|
+
* 时长和延迟写在步骤的自定义属性上。只有向前走一步才有时长;
|
|
90
|
+
* 后退、一次跳过多步,以及第一次渲染,时长都是 0s。
|
|
91
|
+
* 轨道模式的一段由两截组成,所以用 linear,接缝处才不会停一下。
|
|
92
|
+
*/
|
|
93
|
+
.astryx-step-bar::before,
|
|
94
|
+
.astryx-step-connector::before {
|
|
95
|
+
content: "";
|
|
96
|
+
position: absolute;
|
|
97
|
+
inset: 0;
|
|
98
|
+
border-radius: inherit;
|
|
88
99
|
background: var(--astryx-color-accent, #0082fb);
|
|
100
|
+
transform: scaleX(0);
|
|
101
|
+
transform-origin: left center;
|
|
102
|
+
transition-property: transform;
|
|
103
|
+
transition-duration: var(--_step-fill-duration, 0s);
|
|
104
|
+
transition-delay: var(--_step-fill-delay, 0s);
|
|
105
|
+
transition-timing-function: linear;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.astryx-step[data-orientation='vertical'] > .astryx-step-bar::before,
|
|
109
|
+
.astryx-step[data-orientation='vertical'] .astryx-step-connector::before {
|
|
110
|
+
transform: scaleY(0);
|
|
111
|
+
transform-origin: center top;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.astryx-step-bar[data-filled]::before,
|
|
115
|
+
.astryx-step-connector[data-filled]::before {
|
|
116
|
+
transform: scaleX(1);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.astryx-step[data-orientation='vertical'] > .astryx-step-bar[data-filled]::before,
|
|
120
|
+
.astryx-step[data-orientation='vertical'] .astryx-step-connector[data-filled]::before {
|
|
121
|
+
transform: scaleY(1);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
:is([dir='rtl']) .astryx-step[data-orientation='horizontal'] > .astryx-step-bar::before,
|
|
125
|
+
:is([dir='rtl']) .astryx-step[data-orientation='horizontal'] .astryx-step-connector::before {
|
|
126
|
+
transform-origin: right center;
|
|
89
127
|
}
|
|
90
128
|
|
|
91
129
|
.astryx-step[data-orientation='horizontal'] > .astryx-step-bar {
|
|
@@ -404,8 +442,11 @@
|
|
|
404
442
|
}
|
|
405
443
|
|
|
406
444
|
@media (prefers-reduced-motion: reduce) {
|
|
407
|
-
button.astryx-step-control
|
|
445
|
+
button.astryx-step-control,
|
|
446
|
+
.astryx-step-bar::before,
|
|
447
|
+
.astryx-step-connector::before {
|
|
408
448
|
transition-duration: 0s;
|
|
449
|
+
transition-delay: 0s;
|
|
409
450
|
}
|
|
410
451
|
}
|
|
411
452
|
}
|
|
@@ -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
|
-
labelHidden: boolean;
|
|
47
|
-
disabled: boolean;
|
|
48
46
|
color: "default" | "blue" | "cyan" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "teal" | "yellow";
|
|
47
|
+
disabled: boolean;
|
|
48
|
+
labelHidden: boolean;
|
|
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>;
|