@timus-networks/theme 2.4.26 → 2.4.28
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/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/development/example.switch.vue +2 -2
- package/dist/runtime/public/scss/element-plus/index.css +6 -5
- package/dist/runtime/public/scss/element-plus/switch.css +5 -4
- package/dist/runtime/public/scss/element-plus/switch.scss +11 -4
- package/dist/runtime/public/scss/element-plus/table.css +1 -1
- package/dist/runtime/public/scss/element-plus/table.scss +1 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -11,7 +11,7 @@ const __filename = __cjs_url__.fileURLToPath(import.meta.url);
|
|
|
11
11
|
const __dirname = __cjs_path__.dirname(__filename);
|
|
12
12
|
const require = __cjs_mod__.createRequire(import.meta.url);
|
|
13
13
|
const name = "@timus-networks/theme";
|
|
14
|
-
const version = "2.4.
|
|
14
|
+
const version = "2.4.28";
|
|
15
15
|
const description = "A comprehensive Nuxt.js module providing a tailored theme experience with integrated TailwindCSS support for applications.";
|
|
16
16
|
const type = "module";
|
|
17
17
|
const exports = {
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
<div class="flex flex-col gap-3">
|
|
69
69
|
<p>Adding the disabled attribute <el-text tag="mark">disables</el-text> Switch.</p>
|
|
70
70
|
<div class="flex items-center gap-4">
|
|
71
|
-
<el-switch v-model="value" disabled />
|
|
72
|
-
<el-switch v-model="value" class="ml-2" />
|
|
71
|
+
<el-switch v-model="value" disabled active-text="disabled text" />
|
|
72
|
+
<el-switch v-model="value" class="ml-2" active-text="disabled text" />
|
|
73
73
|
</div>
|
|
74
74
|
</div>
|
|
75
75
|
<template #footer> <html-encode :tag="snippets.disable" /> </template>
|
|
@@ -13289,17 +13289,18 @@ heights > $common-component-size
|
|
|
13289
13289
|
box-shadow: none;
|
|
13290
13290
|
}
|
|
13291
13291
|
|
|
13292
|
-
.el-switch.is-disabled .el-switch__core
|
|
13293
|
-
cursor: not-allowed;
|
|
13292
|
+
.el-switch.is-disabled .el-switch__core {
|
|
13294
13293
|
background-color: var(--el-switch-on-disabled-color);
|
|
13295
13294
|
border-color: var(--el-switch-on-disabled-color);
|
|
13296
13295
|
}
|
|
13297
|
-
.el-switch.is-disabled
|
|
13296
|
+
.el-switch.is-disabled .el-switch__core, .el-switch.is-disabled .el-switch__label {
|
|
13297
|
+
cursor: not-allowed;
|
|
13298
|
+
}
|
|
13299
|
+
.el-switch.is-disabled.is-checked .el-switch__core {
|
|
13298
13300
|
cursor: not-allowed;
|
|
13299
13301
|
background-color: var(--el-switch-off-disabled-color);
|
|
13300
13302
|
border-color: var(--el-switch-off-disabled-color);
|
|
13301
13303
|
}
|
|
13302
|
-
|
|
13303
13304
|
.el-switch__label {
|
|
13304
13305
|
transition: var(--el-transition-duration-fast);
|
|
13305
13306
|
height: 20px;
|
|
@@ -13664,7 +13665,7 @@ heights > $common-component-size
|
|
|
13664
13665
|
font-weight: var(--el-table-font-weight-body);
|
|
13665
13666
|
color: var(--el-table-text-color);
|
|
13666
13667
|
overflow: initial;
|
|
13667
|
-
transform: translateX(
|
|
13668
|
+
transform: translateX(24px);
|
|
13668
13669
|
margin: 8px 0;
|
|
13669
13670
|
}
|
|
13670
13671
|
.el-table::before {
|
|
@@ -331,17 +331,18 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
|
|
|
331
331
|
box-shadow: none;
|
|
332
332
|
}
|
|
333
333
|
|
|
334
|
-
.el-switch.is-disabled .el-switch__core
|
|
335
|
-
cursor: not-allowed;
|
|
334
|
+
.el-switch.is-disabled .el-switch__core {
|
|
336
335
|
background-color: var(--el-switch-on-disabled-color);
|
|
337
336
|
border-color: var(--el-switch-on-disabled-color);
|
|
338
337
|
}
|
|
339
|
-
.el-switch.is-disabled
|
|
338
|
+
.el-switch.is-disabled .el-switch__core, .el-switch.is-disabled .el-switch__label {
|
|
339
|
+
cursor: not-allowed;
|
|
340
|
+
}
|
|
341
|
+
.el-switch.is-disabled.is-checked .el-switch__core {
|
|
340
342
|
cursor: not-allowed;
|
|
341
343
|
background-color: var(--el-switch-off-disabled-color);
|
|
342
344
|
border-color: var(--el-switch-off-disabled-color);
|
|
343
345
|
}
|
|
344
|
-
|
|
345
346
|
.el-switch__label {
|
|
346
347
|
transition: var(--el-transition-duration-fast);
|
|
347
348
|
height: 20px;
|
|
@@ -105,20 +105,27 @@ $switch-margin: 16px;
|
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
@include when(disabled) {
|
|
108
|
+
& .#{$namespace}-switch__core {
|
|
109
|
+
background-color: getCssVar('switch-on-disabled-color');
|
|
110
|
+
border-color: getCssVar('switch-on-disabled-color');
|
|
111
|
+
}
|
|
112
|
+
& .#{$namespace}-switch__label {
|
|
113
|
+
// color: getCssVar('switch-on-disabled-color');
|
|
114
|
+
}
|
|
108
115
|
& .#{$namespace}-switch__core,
|
|
109
116
|
& .#{$namespace}-switch__label {
|
|
110
117
|
cursor: not-allowed;
|
|
111
|
-
background-color: getCssVar('switch-on-disabled-color');
|
|
112
|
-
border-color: getCssVar('switch-on-disabled-color');
|
|
113
118
|
}
|
|
114
119
|
|
|
115
120
|
@include when(checked) {
|
|
116
|
-
& .#{$namespace}-switch__core
|
|
117
|
-
& .#{$namespace}-switch__label {
|
|
121
|
+
& .#{$namespace}-switch__core {
|
|
118
122
|
cursor: not-allowed;
|
|
119
123
|
background-color: getCssVar('switch-off-disabled-color');
|
|
120
124
|
border-color: getCssVar('switch-off-disabled-color');
|
|
121
125
|
}
|
|
126
|
+
& .#{$namespace}-switch__label {
|
|
127
|
+
// color: getCssVar('switch-off-disabled-color');
|
|
128
|
+
}
|
|
122
129
|
}
|
|
123
130
|
}
|
|
124
131
|
|
|
@@ -332,7 +332,7 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
|
|
|
332
332
|
font-weight: var(--el-table-font-weight-body);
|
|
333
333
|
color: var(--el-table-text-color);
|
|
334
334
|
overflow: initial;
|
|
335
|
-
transform: translateX(
|
|
335
|
+
transform: translateX(24px);
|
|
336
336
|
margin: 8px 0;
|
|
337
337
|
}
|
|
338
338
|
.el-table::before {
|
package/package.json
CHANGED