sakura-ui-plus 1.0.5 → 1.0.6
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/es/index.js
CHANGED
|
@@ -622,8 +622,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
622
622
|
],
|
|
623
623
|
style: [selectStyle.value]
|
|
624
624
|
}, _ctx.$attrs), [
|
|
625
|
-
(openBlock(), createBlock(resolveDynamicComponent(selectComponent.value), {
|
|
626
|
-
ref: "elSelectRef",
|
|
625
|
+
(openBlock(), createBlock(resolveDynamicComponent(selectComponent.value), mergeProps({ ref: "elSelectRef" }, _ctx.$attrs, {
|
|
627
626
|
modelValue: selectValue.value,
|
|
628
627
|
"onUpdate:modelValue": [
|
|
629
628
|
_cache[0] || (_cache[0] = ($event) => selectValue.value = $event),
|
|
@@ -639,7 +638,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
639
638
|
"empty-values": _emptyValues.value,
|
|
640
639
|
size: __props.size,
|
|
641
640
|
options: __props.options
|
|
642
|
-
}, createSlots({ _: 2 }, [
|
|
641
|
+
}), createSlots({ _: 2 }, [
|
|
643
642
|
_ctx.$slots.header ? {
|
|
644
643
|
name: "header",
|
|
645
644
|
fn: withCtx(() => [
|
|
@@ -683,7 +682,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
683
682
|
]),
|
|
684
683
|
key: "3"
|
|
685
684
|
} : void 0
|
|
686
|
-
]),
|
|
685
|
+
]), 1040, ["modelValue", "clearable", "placeholder", "multiple", "collapse-tags", "collapse-tags-tooltip", "disabled", "loading", "empty-values", "size", "options"]))
|
|
687
686
|
], 16)
|
|
688
687
|
]),
|
|
689
688
|
_: 3
|
|
@@ -1425,7 +1424,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
1425
1424
|
closeIconSize: { default: 16 },
|
|
1426
1425
|
closeIconColor: { default: "#909399" },
|
|
1427
1426
|
background: { default: "#fff" },
|
|
1428
|
-
modal: { type: Boolean }
|
|
1427
|
+
modal: { type: Boolean, default: true }
|
|
1429
1428
|
}, {
|
|
1430
1429
|
"modelValue": {
|
|
1431
1430
|
type: Boolean,
|
package/dist/lib/index.js
CHANGED
|
@@ -624,8 +624,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
624
624
|
],
|
|
625
625
|
style: [selectStyle.value]
|
|
626
626
|
}, _ctx.$attrs), [
|
|
627
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(selectComponent.value), {
|
|
628
|
-
ref: "elSelectRef",
|
|
627
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(selectComponent.value), vue.mergeProps({ ref: "elSelectRef" }, _ctx.$attrs, {
|
|
629
628
|
modelValue: selectValue.value,
|
|
630
629
|
"onUpdate:modelValue": [
|
|
631
630
|
_cache[0] || (_cache[0] = ($event) => selectValue.value = $event),
|
|
@@ -641,7 +640,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
641
640
|
"empty-values": _emptyValues.value,
|
|
642
641
|
size: __props.size,
|
|
643
642
|
options: __props.options
|
|
644
|
-
}, vue.createSlots({ _: 2 }, [
|
|
643
|
+
}), vue.createSlots({ _: 2 }, [
|
|
645
644
|
_ctx.$slots.header ? {
|
|
646
645
|
name: "header",
|
|
647
646
|
fn: vue.withCtx(() => [
|
|
@@ -685,7 +684,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
685
684
|
]),
|
|
686
685
|
key: "3"
|
|
687
686
|
} : void 0
|
|
688
|
-
]),
|
|
687
|
+
]), 1040, ["modelValue", "clearable", "placeholder", "multiple", "collapse-tags", "collapse-tags-tooltip", "disabled", "loading", "empty-values", "size", "options"]))
|
|
689
688
|
], 16)
|
|
690
689
|
]),
|
|
691
690
|
_: 3
|
|
@@ -1427,7 +1426,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1427
1426
|
closeIconSize: { default: 16 },
|
|
1428
1427
|
closeIconColor: { default: "#909399" },
|
|
1429
1428
|
background: { default: "#fff" },
|
|
1430
|
-
modal: { type: Boolean }
|
|
1429
|
+
modal: { type: Boolean, default: true }
|
|
1431
1430
|
}, {
|
|
1432
1431
|
"modelValue": {
|
|
1433
1432
|
type: Boolean,
|
package/dist/style.css
CHANGED
|
@@ -4213,6 +4213,9 @@
|
|
|
4213
4213
|
--sakura-dialog-title-font-size: var(--sakura-font-size-medium);
|
|
4214
4214
|
--sakura-dialog-title-color: var(--sakura-text-color-primary);
|
|
4215
4215
|
--sakura-dialog-title-font-weight: var(--sakura-font-weight-primary);
|
|
4216
|
+
--sakura-dialog-header-padding: var(--sakura-dialog-padding);
|
|
4217
|
+
--sakura-dialog-body-padding: var(--sakura-dialog-padding);
|
|
4218
|
+
--sakura-dialog-footer-padding: var(--sakura-dialog-padding);
|
|
4216
4219
|
padding: 0;
|
|
4217
4220
|
border-radius: var(--sakura-dialog-border-radius);
|
|
4218
4221
|
overflow: hidden;
|
|
@@ -4239,8 +4242,8 @@
|
|
|
4239
4242
|
display: flex;
|
|
4240
4243
|
flex-direction: row;
|
|
4241
4244
|
align-items: center;
|
|
4242
|
-
margin-bottom: var(--sakura-dialog-padding);
|
|
4243
|
-
padding: var(--sakura-dialog-padding);
|
|
4245
|
+
margin-bottom: var(--sakura-dialog-header-padding);
|
|
4246
|
+
padding: var(--sakura-dialog-header-padding);
|
|
4244
4247
|
padding-bottom: 0;
|
|
4245
4248
|
}
|
|
4246
4249
|
.sakura-dialog {
|
|
@@ -4279,7 +4282,7 @@
|
|
|
4279
4282
|
.sakura-dialog .sakura-dialog__body {
|
|
4280
4283
|
display: flex;
|
|
4281
4284
|
flex-direction: column;
|
|
4282
|
-
padding: 0 var(--sakura-dialog-padding);
|
|
4285
|
+
padding: 0 var(--sakura-dialog-body-padding);
|
|
4283
4286
|
}
|
|
4284
4287
|
.sakura-dialog {
|
|
4285
4288
|
/**
|
|
@@ -4299,8 +4302,8 @@
|
|
|
4299
4302
|
display: flex;
|
|
4300
4303
|
flex-direction: row;
|
|
4301
4304
|
align-items: center;
|
|
4302
|
-
margin-top: var(--sakura-dialog-padding);
|
|
4303
|
-
padding: var(--sakura-dialog-padding);
|
|
4305
|
+
margin-top: var(--sakura-dialog-footer-padding);
|
|
4306
|
+
padding: var(--sakura-dialog-footer-padding);
|
|
4304
4307
|
padding-top: 0;
|
|
4305
4308
|
}
|
|
4306
4309
|
.sakura-dialog {
|
|
@@ -4430,6 +4433,9 @@
|
|
|
4430
4433
|
--sakura-drawer-title-font-size: var(--sakura-font-size-medium);
|
|
4431
4434
|
--sakura-drawer-title-color: var(--sakura-text-color-primary);
|
|
4432
4435
|
--sakura-drawer-title-font-weight: var(--sakura-font-weight-primary);
|
|
4436
|
+
--sakura-drawer-header-padding: var(--sakura-drawer-padding);
|
|
4437
|
+
--sakura-drawer-body-padding: var(--sakura-drawer-padding);
|
|
4438
|
+
--sakura-drawer-footer-padding: var(--sakura-drawer-padding);
|
|
4433
4439
|
padding: 0;
|
|
4434
4440
|
border-radius: var(--sakura-drawer-border-radius) 0 0 var(--sakura-drawer-border-radius);
|
|
4435
4441
|
overflow: hidden;
|
|
@@ -4464,7 +4470,7 @@
|
|
|
4464
4470
|
display: flex;
|
|
4465
4471
|
flex-direction: row;
|
|
4466
4472
|
align-items: center;
|
|
4467
|
-
padding: var(--sakura-drawer-padding);
|
|
4473
|
+
padding: var(--sakura-drawer-header-padding);
|
|
4468
4474
|
padding-bottom: 0;
|
|
4469
4475
|
}
|
|
4470
4476
|
.sakura-drawer {
|
|
@@ -4504,7 +4510,7 @@
|
|
|
4504
4510
|
flex: 1;
|
|
4505
4511
|
display: flex;
|
|
4506
4512
|
flex-direction: column;
|
|
4507
|
-
padding: var(--sakura-drawer-padding);
|
|
4513
|
+
padding: var(--sakura-drawer-body-padding);
|
|
4508
4514
|
overflow: hidden;
|
|
4509
4515
|
}
|
|
4510
4516
|
.sakura-drawer {
|
|
@@ -4525,7 +4531,7 @@
|
|
|
4525
4531
|
display: flex;
|
|
4526
4532
|
flex-direction: row;
|
|
4527
4533
|
align-items: center;
|
|
4528
|
-
padding: var(--sakura-drawer-padding);
|
|
4534
|
+
padding: var(--sakura-drawer-footer-padding);
|
|
4529
4535
|
padding-top: 0;
|
|
4530
4536
|
}
|
|
4531
4537
|
.sakura-drawer {
|
|
@@ -33,6 +33,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
33
33
|
cancelButtonText: string;
|
|
34
34
|
confirmButtonText: string;
|
|
35
35
|
showClose: boolean;
|
|
36
|
+
modal: boolean;
|
|
36
37
|
borderRadius: string | number;
|
|
37
38
|
top: string | number;
|
|
38
39
|
confirmButtonType: import('../../index.ts').ComponentType;
|
|
@@ -1860,6 +1860,7 @@ declare const _default: {
|
|
|
1860
1860
|
cancelButtonText: string;
|
|
1861
1861
|
confirmButtonText: string;
|
|
1862
1862
|
showClose: boolean;
|
|
1863
|
+
modal: boolean;
|
|
1863
1864
|
borderRadius: string | number;
|
|
1864
1865
|
top: string | number;
|
|
1865
1866
|
confirmButtonType: import('..').ComponentType;
|
|
@@ -1896,6 +1897,7 @@ declare const _default: {
|
|
|
1896
1897
|
cancelButtonText: string;
|
|
1897
1898
|
confirmButtonText: string;
|
|
1898
1899
|
showClose: boolean;
|
|
1900
|
+
modal: boolean;
|
|
1899
1901
|
borderRadius: string | number;
|
|
1900
1902
|
top: string | number;
|
|
1901
1903
|
confirmButtonType: import('..').ComponentType;
|
|
@@ -1934,6 +1936,7 @@ declare const _default: {
|
|
|
1934
1936
|
cancelButtonText: string;
|
|
1935
1937
|
confirmButtonText: string;
|
|
1936
1938
|
showClose: boolean;
|
|
1939
|
+
modal: boolean;
|
|
1937
1940
|
borderRadius: string | number;
|
|
1938
1941
|
top: string | number;
|
|
1939
1942
|
confirmButtonType: import('..').ComponentType;
|