@sdata/web-vue 4.0.0 → 4.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/sd.css +189 -0
- package/dist/sd.min.css +2 -2
- package/es/badge/badge.vue.d.ts +2 -0
- package/es/badge/badge.vue_vue_type_script_setup_true_lang.js +19 -4
- package/es/badge/index.d.ts +3 -0
- package/es/bloom-menu/bloom-menu.js +5 -0
- package/es/bloom-menu/bloom-menu.vue.d.ts +52 -0
- package/es/bloom-menu/bloom-menu.vue_vue_type_script_setup_true_lang.js +380 -0
- package/es/bloom-menu/index.d.ts +6 -0
- package/es/bloom-menu/index.js +10 -0
- package/es/bloom-menu/style/css.js +2 -0
- package/es/bloom-menu/style/index.css +135 -0
- package/es/bloom-menu/style/index.d.ts +2 -0
- package/es/bloom-menu/style/index.js +2 -0
- package/es/bloom-menu/style/index.scss +153 -0
- package/es/bloom-menu/style/token.scss +24 -0
- package/es/bloom-menu/types.d.ts +11 -0
- package/es/components.d.ts +3 -0
- package/es/index.css +189 -0
- package/es/index.d.ts +4 -0
- package/es/index.js +5 -1
- package/es/index.scss +2 -0
- package/es/locale/interface.d.ts +2 -0
- package/es/locale/lang/en-us.js +2 -0
- package/es/locale/lang/zh-cn.js +2 -0
- package/es/number-flow/continuous.d.ts +2 -0
- package/es/number-flow/continuous.js +7 -0
- package/es/number-flow/formatter.d.ts +15 -0
- package/es/number-flow/formatter.js +54 -0
- package/es/number-flow/group-key.d.ts +11 -0
- package/es/number-flow/group-key.js +4 -0
- package/es/number-flow/index.d.ts +63 -0
- package/es/number-flow/index.js +15 -0
- package/es/number-flow/number-flow-group.js +5 -0
- package/es/number-flow/number-flow-group.vue.d.ts +12 -0
- package/es/number-flow/number-flow-group.vue_vue_type_script_setup_true_lang.js +58 -0
- package/es/number-flow/number-flow.js +5 -0
- package/es/number-flow/number-flow.vue.d.ts +20 -0
- package/es/number-flow/number-flow.vue_vue_type_script_setup_true_lang.js +284 -0
- package/es/number-flow/style/css.js +2 -0
- package/es/number-flow/style/index.css +85 -0
- package/es/number-flow/style/index.d.ts +2 -0
- package/es/number-flow/style/index.js +2 -0
- package/es/number-flow/style/index.scss +93 -0
- package/es/number-flow/style/token.scss +5 -0
- package/es/number-flow/types.d.ts +46 -0
- package/es/number-flow/use-can-animate.d.ts +4 -0
- package/es/number-flow/use-can-animate.js +30 -0
- package/es/rich-text-editor/index.d.ts +3 -3
- package/es/rich-text-editor/rich-text-editor.vue.d.ts +1 -1
- package/es/sd-vue.js +5 -0
- package/es/statistic/countdown.vue.d.ts +9 -0
- package/es/statistic/countdown.vue_vue_type_script_setup_true_lang.js +29 -2
- package/es/statistic/index.d.ts +15 -0
- package/es/statistic/statistic.vue.d.ts +3 -3
- package/es/statistic/statistic.vue_vue_type_script_setup_true_lang.js +31 -62
- package/es/statistic/style/index.css +3 -0
- package/es/statistic/style/index.scss +5 -0
- package/json/vetur-attributes.json +8 -0
- package/json/vetur-tags.json +12 -1
- package/json/web-types.json +35 -1
- package/package.json +1 -1
package/dist/sd.css
CHANGED
|
@@ -7938,6 +7938,9 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
7938
7938
|
font-size: inherit;
|
|
7939
7939
|
white-space: nowrap;
|
|
7940
7940
|
}
|
|
7941
|
+
.sd-statistic-content .sd-statistic-value .sd-number-flow-fraction {
|
|
7942
|
+
font-size: inherit;
|
|
7943
|
+
}
|
|
7941
7944
|
.sd-statistic-content .sd-statistic-value-decimal {
|
|
7942
7945
|
display: inline-block;
|
|
7943
7946
|
font-size: inherit;
|
|
@@ -10515,6 +10518,74 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
10515
10518
|
transition: height 0.3s cubic-bezier(0.34, 0.69, 0.1, 1), margin 0.3s cubic-bezier(0.34, 0.69, 0.1, 1), padding 0.3s cubic-bezier(0.34, 0.69, 0.1, 1), opacity 0.3s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
10516
10519
|
}
|
|
10517
10520
|
|
|
10521
|
+
.sd-number-flow {
|
|
10522
|
+
display: inline-flex;
|
|
10523
|
+
align-items: baseline;
|
|
10524
|
+
line-height: 1;
|
|
10525
|
+
direction: ltr;
|
|
10526
|
+
white-space: nowrap;
|
|
10527
|
+
isolation: isolate;
|
|
10528
|
+
}
|
|
10529
|
+
.sd-number-flow-content, .sd-number-flow-part, .sd-number-flow-digit-track, .sd-number-flow-digit-value, .sd-number-flow-symbol {
|
|
10530
|
+
display: inline-block;
|
|
10531
|
+
}
|
|
10532
|
+
.sd-number-flow-content {
|
|
10533
|
+
margin: -0.25em -0.2em;
|
|
10534
|
+
padding: 0.25em 0.2em;
|
|
10535
|
+
overflow: hidden;
|
|
10536
|
+
}
|
|
10537
|
+
.sd-number-flow-part {
|
|
10538
|
+
position: relative;
|
|
10539
|
+
vertical-align: bottom;
|
|
10540
|
+
}
|
|
10541
|
+
.sd-number-flow-digit {
|
|
10542
|
+
height: 1em;
|
|
10543
|
+
overflow: hidden;
|
|
10544
|
+
}
|
|
10545
|
+
.sd-number-flow-digit-track {
|
|
10546
|
+
display: flex;
|
|
10547
|
+
flex-direction: column;
|
|
10548
|
+
height: 1em;
|
|
10549
|
+
transform: translateY(calc(1em * var(--sd-number-flow-start)));
|
|
10550
|
+
}
|
|
10551
|
+
.sd-number-flow-digit-value {
|
|
10552
|
+
flex: 0 0 1em;
|
|
10553
|
+
height: 1em;
|
|
10554
|
+
line-height: 1;
|
|
10555
|
+
text-align: center;
|
|
10556
|
+
font-variant-numeric: tabular-nums;
|
|
10557
|
+
}
|
|
10558
|
+
.sd-number-flow-prepared .sd-number-flow-digit-track {
|
|
10559
|
+
transition: none;
|
|
10560
|
+
}
|
|
10561
|
+
.sd-number-flow-animating .sd-number-flow-digit-track {
|
|
10562
|
+
transform: translateY(calc(1em * var(--sd-number-flow-end)));
|
|
10563
|
+
transition: transform var(--sd-number-flow-spin-duration, var(--sd-number-flow-duration)) var(--sd-number-flow-spin-easing, var(--sd-number-flow-easing)), opacity var(--sd-number-flow-opacity-duration) ease-out;
|
|
10564
|
+
}
|
|
10565
|
+
.sd-number-flow-symbol {
|
|
10566
|
+
white-space: pre;
|
|
10567
|
+
}
|
|
10568
|
+
.sd-number-flow-will-change :is(.sd-number-flow-content, .sd-number-flow-part, .sd-number-flow-digit-track, .sd-number-flow-symbol) {
|
|
10569
|
+
will-change: transform;
|
|
10570
|
+
}
|
|
10571
|
+
.sd-number-flow-custom-prefix {
|
|
10572
|
+
margin-right: 4px;
|
|
10573
|
+
}
|
|
10574
|
+
.sd-number-flow-custom-suffix {
|
|
10575
|
+
margin-left: 4px;
|
|
10576
|
+
}
|
|
10577
|
+
|
|
10578
|
+
.sd-number-flow-group {
|
|
10579
|
+
display: inline-flex;
|
|
10580
|
+
gap: 4px;
|
|
10581
|
+
align-items: baseline;
|
|
10582
|
+
}
|
|
10583
|
+
|
|
10584
|
+
@media (prefers-reduced-motion: reduce) {
|
|
10585
|
+
.sd-number-flow-digit-track {
|
|
10586
|
+
transition: none;
|
|
10587
|
+
}
|
|
10588
|
+
}
|
|
10518
10589
|
.sd-modal-container {
|
|
10519
10590
|
position: fixed;
|
|
10520
10591
|
inset: 0;
|
|
@@ -21932,6 +22003,124 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
21932
22003
|
display: inline-flex;
|
|
21933
22004
|
}
|
|
21934
22005
|
|
|
22006
|
+
.sd-bloom-menu {
|
|
22007
|
+
display: inline-flex;
|
|
22008
|
+
font-family: inter, "-apple-system", blinkmacsystemfont, "PingFang SC", "Hiragino Sans GB", "noto sans", "Microsoft YaHei", "Helvetica Neue", helvetica, arial, sans-serif;
|
|
22009
|
+
}
|
|
22010
|
+
.sd-bloom-menu-trigger-content {
|
|
22011
|
+
display: inline-flex;
|
|
22012
|
+
gap: 8px;
|
|
22013
|
+
align-items: center;
|
|
22014
|
+
white-space: nowrap;
|
|
22015
|
+
}
|
|
22016
|
+
.sd-bloom-menu-trigger-content svg {
|
|
22017
|
+
width: 16px;
|
|
22018
|
+
height: 16px;
|
|
22019
|
+
}
|
|
22020
|
+
.sd-bloom-menu-panel {
|
|
22021
|
+
--bloom-menu-panel-width: min(86vw, 420px);
|
|
22022
|
+
--bloom-menu-panel-color: var(--sd-color-text-1);
|
|
22023
|
+
--bloom-menu-panel-background: var(--sd-color-bg-2);
|
|
22024
|
+
--bloom-menu-panel-border-color: var(--sd-color-neutral-3);
|
|
22025
|
+
--bloom-menu-panel-border-radius: var(--sd-border-radius-medium);
|
|
22026
|
+
--bloom-menu-panel-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
|
22027
|
+
overflow: hidden;
|
|
22028
|
+
border: 1px solid var(--sd-color-neutral-3);
|
|
22029
|
+
}
|
|
22030
|
+
.sd-bloom-menu-popup {
|
|
22031
|
+
padding: 0;
|
|
22032
|
+
}
|
|
22033
|
+
.sd-bloom-menu-content {
|
|
22034
|
+
width: 100%;
|
|
22035
|
+
}
|
|
22036
|
+
.sd-bloom-menu-header {
|
|
22037
|
+
display: flex;
|
|
22038
|
+
align-items: center;
|
|
22039
|
+
justify-content: space-between;
|
|
22040
|
+
padding: 12px 16px;
|
|
22041
|
+
color: var(--sd-color-text-2);
|
|
22042
|
+
border-bottom: 1px solid var(--sd-color-neutral-3);
|
|
22043
|
+
}
|
|
22044
|
+
.sd-bloom-menu-title {
|
|
22045
|
+
font-weight: 500;
|
|
22046
|
+
font-size: 14px;
|
|
22047
|
+
}
|
|
22048
|
+
.sd-bloom-menu-close {
|
|
22049
|
+
color: inherit;
|
|
22050
|
+
}
|
|
22051
|
+
.sd-bloom-menu-close:hover {
|
|
22052
|
+
color: var(--sd-color-text-1);
|
|
22053
|
+
}
|
|
22054
|
+
.sd-bloom-menu-close svg {
|
|
22055
|
+
width: 16px;
|
|
22056
|
+
height: 16px;
|
|
22057
|
+
}
|
|
22058
|
+
.sd-bloom-menu-grid {
|
|
22059
|
+
display: grid;
|
|
22060
|
+
grid-template-columns: repeat(var(--bloom-menu-columns), minmax(0, 1fr));
|
|
22061
|
+
}
|
|
22062
|
+
.sd-bloom-menu-item {
|
|
22063
|
+
min-width: 0;
|
|
22064
|
+
height: auto;
|
|
22065
|
+
padding: 24px 12px;
|
|
22066
|
+
color: var(--sd-color-text-2);
|
|
22067
|
+
border-radius: 0;
|
|
22068
|
+
}
|
|
22069
|
+
.sd-bloom-menu-item:hover:not(:disabled) {
|
|
22070
|
+
color: var(--sd-color-text-1);
|
|
22071
|
+
background: var(--sd-color-fill-2);
|
|
22072
|
+
}
|
|
22073
|
+
.sd-bloom-menu-item:focus-visible {
|
|
22074
|
+
position: relative;
|
|
22075
|
+
z-index: 1;
|
|
22076
|
+
outline: 2px solid rgb(var(--sd-primary-6));
|
|
22077
|
+
outline-offset: -2px;
|
|
22078
|
+
}
|
|
22079
|
+
.sd-bloom-menu-item-border-right {
|
|
22080
|
+
border-right: 1px solid var(--sd-color-neutral-3);
|
|
22081
|
+
}
|
|
22082
|
+
.sd-bloom-menu-item-border-bottom {
|
|
22083
|
+
border-bottom: 1px solid var(--sd-color-neutral-3);
|
|
22084
|
+
}
|
|
22085
|
+
.sd-bloom-menu-item-disabled, .sd-bloom-menu-item:disabled {
|
|
22086
|
+
color: var(--sd-color-text-4);
|
|
22087
|
+
cursor: not-allowed;
|
|
22088
|
+
}
|
|
22089
|
+
.sd-bloom-menu-item-content {
|
|
22090
|
+
display: flex;
|
|
22091
|
+
flex-direction: column;
|
|
22092
|
+
gap: 8px;
|
|
22093
|
+
align-items: center;
|
|
22094
|
+
min-width: 0;
|
|
22095
|
+
}
|
|
22096
|
+
.sd-bloom-menu-item-icon {
|
|
22097
|
+
display: inline-flex;
|
|
22098
|
+
font-size: 20px;
|
|
22099
|
+
}
|
|
22100
|
+
.sd-bloom-menu-item-icon svg {
|
|
22101
|
+
width: 20px;
|
|
22102
|
+
height: 20px;
|
|
22103
|
+
}
|
|
22104
|
+
.sd-bloom-menu-item-label {
|
|
22105
|
+
max-width: 100%;
|
|
22106
|
+
overflow: hidden;
|
|
22107
|
+
font-weight: 500;
|
|
22108
|
+
font-size: 14px;
|
|
22109
|
+
white-space: nowrap;
|
|
22110
|
+
text-overflow: ellipsis;
|
|
22111
|
+
}
|
|
22112
|
+
.sd-bloom-menu-empty {
|
|
22113
|
+
padding: 24px 16px;
|
|
22114
|
+
color: var(--sd-color-text-2);
|
|
22115
|
+
font-size: 14px;
|
|
22116
|
+
text-align: center;
|
|
22117
|
+
}
|
|
22118
|
+
|
|
22119
|
+
@media (prefers-reduced-motion: reduce) {
|
|
22120
|
+
.sd-bloom-menu-item, .sd-bloom-menu-close {
|
|
22121
|
+
transition: none;
|
|
22122
|
+
}
|
|
22123
|
+
}
|
|
21935
22124
|
.sd-avatar {
|
|
21936
22125
|
position: relative;
|
|
21937
22126
|
display: inline-flex;
|