@sdata/web-vue 4.2.0 → 4.3.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 +17 -117
- package/dist/sd.min.css +2 -2
- package/es/_components/auto-tooltip/auto-tooltip.vue_vue_type_script_setup_true_lang.js +17 -50
- package/es/_components/input-label/input-label.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/_components/picker/input-range.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/picker/input.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/select-view/style/index.css +0 -39
- package/es/anchor/anchor.vue.d.ts +1 -1
- package/es/anchor/index.d.ts +3 -3
- package/es/auto-complete/auto-complete.vue.d.ts +4 -4
- package/es/auto-complete/auto-complete.vue_vue_type_script_setup_true_lang.js +6 -6
- package/es/avatar/avatar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/button/button.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/cascader/cascader-option.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/cascader/cascader-panel.vue.d.ts +1 -1
- package/es/cascader/cascader.vue.d.ts +1 -1
- package/es/cascader/cascader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/clamp/index.d.ts +212 -0
- package/es/clamp/index.js +15 -0
- package/es/clamp/style/css.js +1 -0
- package/es/clamp/style/index.css +0 -0
- package/es/clamp/style/index.d.ts +1 -0
- package/es/clamp/style/index.js +1 -0
- package/es/clamp/style/index.scss +1 -0
- package/es/clamp/style/token.scss +1 -0
- package/es/color-picker/color-picker.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/components.d.ts +4 -0
- package/es/date-picker/picker.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/date-picker/range-picker.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/drawer/drawer.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/ellipsis/ellipsis.vue.d.ts +8 -15
- package/es/ellipsis/ellipsis.vue_vue_type_script_setup_true_lang.js +113 -118
- package/es/ellipsis/index.d.ts +14 -16
- package/es/ellipsis/performant-ellipsis.vue.d.ts +3 -5
- package/es/ellipsis/performant-ellipsis.vue_vue_type_script_setup_true_lang.js +12 -24
- package/es/ellipsis/style/index.css +0 -2
- package/es/ellipsis/style/index.scss +3 -2
- package/es/file-previewer/file-previewer.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/image/image.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/image/preview.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/index.css +17 -117
- package/es/index.d.ts +2 -0
- package/es/index.js +4 -3
- package/es/index.scss +1 -0
- package/es/input/input.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/input-tag/index.d.ts +0 -4
- package/es/input-tag/input-tag.vue.d.ts +3 -7
- package/es/input-tag/input-tag.vue_vue_type_script_setup_true_lang.js +85 -157
- package/es/input-tag/style/index.css +6 -39
- package/es/input-tag/style/index.scss +7 -0
- package/es/input-tag/style/input-tag.scss +0 -45
- package/es/link/link.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/list/index.d.ts +3 -3
- package/es/list/list.vue.d.ts +1 -1
- package/es/menu/base-menu.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/menu/overflow-wrap.vue_vue_type_script_setup_true_lang.js +21 -27
- package/es/menu/style/index.css +5 -2
- package/es/menu/style/index.scss +5 -2
- package/es/modal/index.js +1 -1
- package/es/modal/modal.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/popover/style/index.css +0 -1
- package/es/popover/style/index.scss +0 -1
- package/es/rate/rate.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/sd-vue.js +7 -2
- package/es/secret/secret.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/select/select.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/sender/sender.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/table/index.d.ts +8 -8
- package/es/table/table-tr.vue.d.ts +1 -1
- package/es/table/table.vue.d.ts +2 -2
- package/es/tag/tag.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tag-group/index.d.ts +4 -6
- package/es/tag-group/style/index.css +6 -29
- package/es/tag-group/style/index.scss +9 -34
- package/es/tag-group/tag-group.vue.d.ts +8 -11
- package/es/tag-group/tag-group.vue_vue_type_script_setup_true_lang.js +91 -272
- package/es/textarea/textarea.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/time-picker/time-picker.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tree/node-switcher.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tree/tree.vue.d.ts +12 -12
- package/es/tree/tree.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tree-select/tree-select.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/trigger/trigger.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/typography/base.vue.d.ts +15 -15
- package/es/typography/base.vue_vue_type_script_setup_true_lang.js +93 -164
- package/es/typography/interface.d.ts +1 -2
- package/es/typography/style/index.css +0 -5
- package/es/typography/style/index.scss +0 -7
- package/json/vetur-attributes.json +0 -20
- package/json/vetur-tags.json +2 -10
- package/json/web-types.json +3 -53
- package/package.json +2 -1
- package/es/typography/utils/measure.d.ts +0 -6
- package/es/typography/utils/measure.js +0 -69
package/dist/sd.css
CHANGED
|
@@ -2796,14 +2796,6 @@ body {
|
|
|
2796
2796
|
.sd-select-view-multiple .sd-select-view-inner .sd-select-view-tag.sd-tag-custom-color .sd-icon-hover.sd-tag-icon-hover:hover::before {
|
|
2797
2797
|
background-color: rgba(255, 255, 255, 0.2);
|
|
2798
2798
|
}
|
|
2799
|
-
.sd-select-view-multiple .sd-select-view-inner .sd-select-view-tag.sd-select-view-tag-overflow {
|
|
2800
|
-
flex-shrink: 1;
|
|
2801
|
-
white-space: nowrap;
|
|
2802
|
-
word-break: normal;
|
|
2803
|
-
}
|
|
2804
|
-
.sd-select-view-multiple .sd-select-view-inner .sd-select-view-tag.sd-select-view-tag-overflow .sd-tag-text {
|
|
2805
|
-
max-width: 100%;
|
|
2806
|
-
}
|
|
2807
2799
|
.sd-select-view-multiple .sd-select-view-inner .sd-select-view-tag.sd-select-view-tag-counter {
|
|
2808
2800
|
flex-shrink: 0;
|
|
2809
2801
|
white-space: nowrap;
|
|
@@ -2846,37 +2838,6 @@ body {
|
|
|
2846
2838
|
visibility: hidden;
|
|
2847
2839
|
pointer-events: none;
|
|
2848
2840
|
}
|
|
2849
|
-
.sd-select-view-multiple .sd-select-view-resize-observer {
|
|
2850
|
-
position: absolute;
|
|
2851
|
-
inset: 0;
|
|
2852
|
-
display: block;
|
|
2853
|
-
width: 100%;
|
|
2854
|
-
height: 100%;
|
|
2855
|
-
visibility: hidden;
|
|
2856
|
-
pointer-events: none;
|
|
2857
|
-
}
|
|
2858
|
-
.sd-select-view-multiple .sd-select-view-measure {
|
|
2859
|
-
position: absolute;
|
|
2860
|
-
top: 0;
|
|
2861
|
-
left: 0;
|
|
2862
|
-
display: block;
|
|
2863
|
-
width: 100%;
|
|
2864
|
-
max-width: 100%;
|
|
2865
|
-
overflow: hidden;
|
|
2866
|
-
white-space: nowrap;
|
|
2867
|
-
visibility: hidden;
|
|
2868
|
-
pointer-events: none;
|
|
2869
|
-
}
|
|
2870
|
-
.sd-select-view-multiple .sd-select-view-measure .sd-select-view-tag {
|
|
2871
|
-
display: inline-flex;
|
|
2872
|
-
flex-shrink: 0;
|
|
2873
|
-
}
|
|
2874
|
-
.sd-select-view-multiple .sd-select-view-tag-ellipsis {
|
|
2875
|
-
display: block;
|
|
2876
|
-
min-width: 0;
|
|
2877
|
-
max-width: 100%;
|
|
2878
|
-
vertical-align: bottom;
|
|
2879
|
-
}
|
|
2880
2841
|
.sd-select-view-multiple.sd-select-view-focus .sd-select-view-tag:not(.sd-tag-custom-color):not(.sd-tag-red):not(.sd-tag-orangered):not(.sd-tag-orange):not(.sd-tag-gold):not(.sd-tag-lime):not(.sd-tag-green):not(.sd-tag-cyan):not(.sd-tag-blue):not(.sd-tag-sdblue):not(.sd-tag-purple):not(.sd-tag-pinkpurple):not(.sd-tag-magenta) {
|
|
2881
2842
|
background-color: var(--sd-color-fill-2);
|
|
2882
2843
|
border-color: var(--sd-color-fill-2);
|
|
@@ -3941,11 +3902,6 @@ body {
|
|
|
3941
3902
|
margin-right: -13px;
|
|
3942
3903
|
margin-bottom: calc(1em - 4px - 1px);
|
|
3943
3904
|
}
|
|
3944
|
-
.sd-typography-css-operation {
|
|
3945
|
-
margin-top: -1em;
|
|
3946
|
-
margin-bottom: 1em;
|
|
3947
|
-
text-align: right;
|
|
3948
|
-
}
|
|
3949
3905
|
|
|
3950
3906
|
/**********************************************
|
|
3951
3907
|
* Popup Box
|
|
@@ -5447,6 +5403,12 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
5447
5403
|
display: flex;
|
|
5448
5404
|
width: 100%;
|
|
5449
5405
|
}
|
|
5406
|
+
.sd-tag-group-inner[data-part=content], .sd-tag-group-inner [data-part=content] {
|
|
5407
|
+
display: inline-flex;
|
|
5408
|
+
gap: 4px;
|
|
5409
|
+
align-items: center;
|
|
5410
|
+
max-width: 100%;
|
|
5411
|
+
}
|
|
5450
5412
|
.sd-tag-group-popover {
|
|
5451
5413
|
flex-wrap: wrap;
|
|
5452
5414
|
max-width: 320px;
|
|
@@ -5466,38 +5428,9 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
5466
5428
|
.sd-tag-group-counter-content {
|
|
5467
5429
|
max-width: 100%;
|
|
5468
5430
|
}
|
|
5469
|
-
.sd-tag-group-item-content-overflow {
|
|
5470
|
-
min-width: 0;
|
|
5471
|
-
}
|
|
5472
5431
|
.sd-tag-group-item-content > .sd-tag, .sd-tag-group-counter-content > .sd-tag, .sd-tag-group-item-content > .sd-link, .sd-tag-group-counter-content > .sd-link, .sd-tag-group-item-content > a, .sd-tag-group-counter-content > a, .sd-tag-group-item-content > span, .sd-tag-group-counter-content > span {
|
|
5473
5432
|
max-width: 100%;
|
|
5474
5433
|
}
|
|
5475
|
-
.sd-tag-group-item-ellipsis {
|
|
5476
|
-
max-width: 100%;
|
|
5477
|
-
}
|
|
5478
|
-
.sd-tag-group-measure {
|
|
5479
|
-
position: absolute;
|
|
5480
|
-
top: 0;
|
|
5481
|
-
left: 0;
|
|
5482
|
-
z-index: -1;
|
|
5483
|
-
display: inline-flex;
|
|
5484
|
-
gap: 4px;
|
|
5485
|
-
align-items: center;
|
|
5486
|
-
height: 0;
|
|
5487
|
-
overflow: hidden;
|
|
5488
|
-
white-space: nowrap;
|
|
5489
|
-
visibility: hidden;
|
|
5490
|
-
pointer-events: none;
|
|
5491
|
-
}
|
|
5492
|
-
.sd-tag-group-measure .sd-tag-group-item {
|
|
5493
|
-
flex: 0 0 auto;
|
|
5494
|
-
max-width: none;
|
|
5495
|
-
}
|
|
5496
|
-
.sd-tag-group-resize-observer {
|
|
5497
|
-
position: absolute;
|
|
5498
|
-
inset: 0;
|
|
5499
|
-
pointer-events: none;
|
|
5500
|
-
}
|
|
5501
5434
|
|
|
5502
5435
|
.sd-icon-hover.sd-tabs-icon-hover::before {
|
|
5503
5436
|
width: 16px;
|
|
@@ -9907,7 +9840,6 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
9907
9840
|
margin-top: 4px;
|
|
9908
9841
|
}
|
|
9909
9842
|
.sd-popover-popup-arrow {
|
|
9910
|
-
z-index: 1;
|
|
9911
9843
|
background-color: var(--sd-color-bg-popup);
|
|
9912
9844
|
border: 1px solid var(--sd-color-neutral-3);
|
|
9913
9845
|
}
|
|
@@ -11599,7 +11531,10 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
11599
11531
|
content: " ";
|
|
11600
11532
|
}
|
|
11601
11533
|
.sd-menu-overflow-wrap {
|
|
11534
|
+
display: flex;
|
|
11535
|
+
align-items: center;
|
|
11602
11536
|
width: 100%;
|
|
11537
|
+
white-space: nowrap;
|
|
11603
11538
|
}
|
|
11604
11539
|
.sd-menu-overflow-sub-menu-mirror, .sd-menu-overflow-hidden-menu-item {
|
|
11605
11540
|
position: absolute !important;
|
|
@@ -11692,7 +11627,7 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
11692
11627
|
color: inherit;
|
|
11693
11628
|
}
|
|
11694
11629
|
.sd-menu-pop-trigger.sd-trigger-position-bl {
|
|
11695
|
-
|
|
11630
|
+
margin-top: 14px;
|
|
11696
11631
|
}
|
|
11697
11632
|
.sd-menu-pop-trigger.sd-trigger-position-bl .sd-trigger-arrow {
|
|
11698
11633
|
z-index: 0;
|
|
@@ -11700,7 +11635,7 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
11700
11635
|
border-left: 1px solid var(--sd-color-neutral-3);
|
|
11701
11636
|
}
|
|
11702
11637
|
.sd-menu-pop-trigger.sd-trigger-position-rt {
|
|
11703
|
-
|
|
11638
|
+
margin-left: 8px;
|
|
11704
11639
|
}
|
|
11705
11640
|
.sd-menu-pop-trigger.sd-trigger-position-rt .sd-trigger-arrow {
|
|
11706
11641
|
z-index: 0;
|
|
@@ -12454,14 +12389,6 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
12454
12389
|
.sd-input-tag .sd-input-tag-inner .sd-input-tag-tag.sd-tag-custom-color .sd-icon-hover.sd-tag-icon-hover:hover::before {
|
|
12455
12390
|
background-color: rgba(255, 255, 255, 0.2);
|
|
12456
12391
|
}
|
|
12457
|
-
.sd-input-tag .sd-input-tag-inner .sd-input-tag-tag.sd-input-tag-tag-overflow {
|
|
12458
|
-
flex-shrink: 1;
|
|
12459
|
-
white-space: nowrap;
|
|
12460
|
-
word-break: normal;
|
|
12461
|
-
}
|
|
12462
|
-
.sd-input-tag .sd-input-tag-inner .sd-input-tag-tag.sd-input-tag-tag-overflow .sd-tag-text {
|
|
12463
|
-
max-width: 100%;
|
|
12464
|
-
}
|
|
12465
12392
|
.sd-input-tag .sd-input-tag-inner .sd-input-tag-tag.sd-input-tag-tag-counter {
|
|
12466
12393
|
flex-shrink: 0;
|
|
12467
12394
|
white-space: nowrap;
|
|
@@ -12504,37 +12431,6 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
12504
12431
|
visibility: hidden;
|
|
12505
12432
|
pointer-events: none;
|
|
12506
12433
|
}
|
|
12507
|
-
.sd-input-tag .sd-input-tag-resize-observer {
|
|
12508
|
-
position: absolute;
|
|
12509
|
-
inset: 0;
|
|
12510
|
-
display: block;
|
|
12511
|
-
width: 100%;
|
|
12512
|
-
height: 100%;
|
|
12513
|
-
visibility: hidden;
|
|
12514
|
-
pointer-events: none;
|
|
12515
|
-
}
|
|
12516
|
-
.sd-input-tag .sd-input-tag-measure {
|
|
12517
|
-
position: absolute;
|
|
12518
|
-
top: 0;
|
|
12519
|
-
left: 0;
|
|
12520
|
-
display: block;
|
|
12521
|
-
width: 100%;
|
|
12522
|
-
max-width: 100%;
|
|
12523
|
-
overflow: hidden;
|
|
12524
|
-
white-space: nowrap;
|
|
12525
|
-
visibility: hidden;
|
|
12526
|
-
pointer-events: none;
|
|
12527
|
-
}
|
|
12528
|
-
.sd-input-tag .sd-input-tag-measure .sd-input-tag-tag {
|
|
12529
|
-
display: inline-flex;
|
|
12530
|
-
flex-shrink: 0;
|
|
12531
|
-
}
|
|
12532
|
-
.sd-input-tag .sd-input-tag-tag-ellipsis {
|
|
12533
|
-
display: block;
|
|
12534
|
-
min-width: 0;
|
|
12535
|
-
max-width: 100%;
|
|
12536
|
-
vertical-align: bottom;
|
|
12537
|
-
}
|
|
12538
12434
|
.sd-input-tag.sd-input-tag-focus .sd-input-tag-tag:not(.sd-tag-custom-color):not(.sd-tag-red):not(.sd-tag-orangered):not(.sd-tag-orange):not(.sd-tag-gold):not(.sd-tag-lime):not(.sd-tag-green):not(.sd-tag-cyan):not(.sd-tag-blue):not(.sd-tag-sdblue):not(.sd-tag-purple):not(.sd-tag-pinkpurple):not(.sd-tag-magenta) {
|
|
12539
12435
|
background-color: var(--sd-color-fill-2);
|
|
12540
12436
|
border-color: var(--sd-color-fill-2);
|
|
@@ -12660,6 +12556,12 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
12660
12556
|
transition: transform 0.3s cubic-bezier(0.3, 1.3, 0.3, 1);
|
|
12661
12557
|
}
|
|
12662
12558
|
|
|
12559
|
+
.sd-input-tag-item-holder {
|
|
12560
|
+
display: inline-flex;
|
|
12561
|
+
min-width: 0;
|
|
12562
|
+
max-width: 100%;
|
|
12563
|
+
}
|
|
12564
|
+
|
|
12663
12565
|
.sd-input-number {
|
|
12664
12566
|
position: relative;
|
|
12665
12567
|
box-sizing: border-box;
|
|
@@ -16265,7 +16167,6 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
16265
16167
|
}
|
|
16266
16168
|
.sd-ellipsis--single-line {
|
|
16267
16169
|
overflow: hidden;
|
|
16268
|
-
white-space: nowrap;
|
|
16269
16170
|
text-overflow: ellipsis;
|
|
16270
16171
|
}
|
|
16271
16172
|
.sd-ellipsis-content {
|
|
@@ -16273,7 +16174,6 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
16273
16174
|
max-width: none;
|
|
16274
16175
|
}
|
|
16275
16176
|
.sd-ellipsis--line-clamp {
|
|
16276
|
-
display: -webkit-box;
|
|
16277
16177
|
width: 100%;
|
|
16278
16178
|
word-break: break-word;
|
|
16279
16179
|
}
|