lew-ui 2.5.1 → 2.5.2
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/index.mjs +9 -9
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -18198,43 +18198,43 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
18198
18198
|
switch (size) {
|
|
18199
18199
|
case "small":
|
|
18200
18200
|
return {
|
|
18201
|
-
"--lew-switch-width": "
|
|
18201
|
+
"--lew-switch-width": "42px",
|
|
18202
18202
|
"--lew-switch-height": "26px",
|
|
18203
18203
|
"--lew-switch-dot-width": "18px",
|
|
18204
18204
|
"--lew-switch-dot-height": "18px",
|
|
18205
18205
|
"--lew-switch-dot-width-active": "20px",
|
|
18206
18206
|
"--lew-switch-dot-transform": "translate(4px, 4px)",
|
|
18207
|
-
"--lew-switch-dot-transform-active": "translate(
|
|
18207
|
+
"--lew-switch-dot-transform-active": "translate(17px, 4px)"
|
|
18208
18208
|
};
|
|
18209
18209
|
case "medium":
|
|
18210
18210
|
return {
|
|
18211
|
-
"--lew-switch-width": "
|
|
18211
|
+
"--lew-switch-width": "44px",
|
|
18212
18212
|
"--lew-switch-height": "28px",
|
|
18213
18213
|
"--lew-switch-dot-width": "20px",
|
|
18214
18214
|
"--lew-switch-dot-height": "20px",
|
|
18215
18215
|
"--lew-switch-dot-width-active": "22px",
|
|
18216
18216
|
"--lew-switch-dot-transform": "translate(4px, 4px)",
|
|
18217
|
-
"--lew-switch-dot-transform-active": "translate(
|
|
18217
|
+
"--lew-switch-dot-transform-active": "translate(17px, 4px)"
|
|
18218
18218
|
};
|
|
18219
18219
|
case "large":
|
|
18220
18220
|
return {
|
|
18221
|
-
"--lew-switch-width": "
|
|
18221
|
+
"--lew-switch-width": "46px",
|
|
18222
18222
|
"--lew-switch-height": "30px",
|
|
18223
18223
|
"--lew-switch-dot-width": "22px",
|
|
18224
18224
|
"--lew-switch-dot-height": "22px",
|
|
18225
18225
|
"--lew-switch-dot-width-active": "24px",
|
|
18226
18226
|
"--lew-switch-dot-transform": "translate(4px, 4px)",
|
|
18227
|
-
"--lew-switch-dot-transform-active": "translate(
|
|
18227
|
+
"--lew-switch-dot-transform-active": "translate(17px, 4px)"
|
|
18228
18228
|
};
|
|
18229
18229
|
default:
|
|
18230
18230
|
return {
|
|
18231
|
-
"--lew-switch-width": "
|
|
18231
|
+
"--lew-switch-width": "44px",
|
|
18232
18232
|
"--lew-switch-height": "28px",
|
|
18233
18233
|
"--lew-switch-dot-width": "20px",
|
|
18234
18234
|
"--lew-switch-dot-height": "20px",
|
|
18235
18235
|
"--lew-switch-dot-width-active": "24px",
|
|
18236
18236
|
"--lew-switch-dot-transform": "translate(4px, 4px)",
|
|
18237
|
-
"--lew-switch-dot-transform-active": "translate(
|
|
18237
|
+
"--lew-switch-dot-transform-active": "translate(17px, 4px)"
|
|
18238
18238
|
};
|
|
18239
18239
|
}
|
|
18240
18240
|
});
|
|
@@ -18257,7 +18257,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
18257
18257
|
};
|
|
18258
18258
|
}
|
|
18259
18259
|
});
|
|
18260
|
-
const LewSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-
|
|
18260
|
+
const LewSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-f9d855ca"]]);
|
|
18261
18261
|
const sliderModel = {
|
|
18262
18262
|
modelValue: {
|
|
18263
18263
|
type: [Number, void 0],
|