@timus-networks/theme 2.4.8 → 2.4.10

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@timus-networks/theme",
3
3
  "configKey": "themeOptions",
4
- "version": "2.4.8",
4
+ "version": "2.4.10",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "2.0.0"
package/dist/module.mjs CHANGED
@@ -12,7 +12,7 @@ const __filename = __cjs_url__.fileURLToPath(import.meta.url);
12
12
  const __dirname = __cjs_path__.dirname(__filename);
13
13
  const require = __cjs_mod__.createRequire(import.meta.url);
14
14
  const name = "@timus-networks/theme";
15
- const version = "2.4.8";
15
+ const version = "2.4.10";
16
16
  const description = "A comprehensive Nuxt.js module providing a tailored theme experience with integrated TailwindCSS support for applications.";
17
17
  const type = "module";
18
18
  const exports = {
@@ -59,6 +59,20 @@
59
59
  </template>
60
60
  </el-card>
61
61
 
62
+ <el-card>
63
+ <template #header>Vertical Group</template>
64
+ <div class="flex flex-col gap-3 items-start">
65
+ <p>To made checkbox group vertical just add <el-text tag="mark">class="el-vertical-group"</el-text> to <el-text tag="mark">el-checkbox-group</el-text> component.</p>
66
+ <div class="flex flex-col gap-4 items-start">
67
+ Selected: {{ value }}
68
+ <el-checkbox-group v-model="checkList" class="el-vertical-group">
69
+ <el-checkbox v-for="(size, index) of sizes" :key="index" :value="index" :size="size">Option 1</el-checkbox>
70
+ </el-checkbox-group>
71
+ </div>
72
+ </div>
73
+ <template #footer> <html-encode :tag="snippets.vertical" /> </template>
74
+ </el-card>
75
+
62
76
  <el-card>
63
77
  <template #header> Indeterminate </template>
64
78
  <div class="flex flex-col gap-3 items-start">
@@ -148,7 +162,8 @@ export default defineComponent({
148
162
  </el-checkbox-group>
149
163
  `,
150
164
  indeterminate: ` <el-checkbox v-model="checkAll" :indeterminate="isIndeterminate" @change="handleCheckAllChange"> Check all </el-checkbox> `,
151
- min_max: ``
165
+ min_max: ``,
166
+ vertical: ` <el-checkbox-group v-model="value" class="el-vertical-group" />`
152
167
  },
153
168
  checkAll: false,
154
169
  checkList: ["Value selected and disabled", "Value A"],
@@ -10,6 +10,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
10
10
  group: string;
11
11
  indeterminate: string;
12
12
  min_max: string;
13
+ vertical: string;
13
14
  };
14
15
  checkAll: boolean;
15
16
  checkList: string[];
@@ -21,6 +21,20 @@
21
21
  <template #footer> <html-encode :tag="snippets.sizes" /> </template>
22
22
  </el-card>
23
23
 
24
+ <el-card>
25
+ <template #header>Vertical Group</template>
26
+ <div class="flex flex-col gap-3 items-start">
27
+ <p>To made radio group vertical just add <el-text tag="mark">class="el-vertical-group"</el-text> to <el-text tag="mark">el-radio-group</el-text> component.</p>
28
+ <div class="flex flex-col gap-4 items-start">
29
+ Selected: {{ value }}
30
+ <el-radio-group v-model="value" class="el-vertical-group">
31
+ <el-radio v-for="(size, index) of sizes" :key="index" :value="index" :size="size">Option 1</el-radio>
32
+ </el-radio-group>
33
+ </div>
34
+ </div>
35
+ <template #footer> <html-encode :tag="snippets.vertical" /> </template>
36
+ </el-card>
37
+
24
38
  <el-card>
25
39
  <template #header> Disabled </template>
26
40
  <div class="flex flex-col gap-3 items-start">
@@ -135,7 +149,8 @@ export default defineComponent({
135
149
  <el-radio :value="1" border>Option A</el-radio>
136
150
  <el-radio :value="2" border>Option B</el-radio>
137
151
  </el-radio-group>
138
- `
152
+ `,
153
+ vertical: ` <el-radio-group v-model="value" class="el-vertical-group" />`
139
154
  },
140
155
  checkAll: false,
141
156
  checkList: ["Value selected and disabled", "Value A"],
@@ -11,6 +11,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
11
11
  group: string;
12
12
  button: string;
13
13
  bordered: string;
14
+ vertical: string;
14
15
  };
15
16
  checkAll: boolean;
16
17
  checkList: string[];
@@ -5,14 +5,9 @@ export default defineNuxtPlugin((nuxtApp) => {
5
5
  "Invalid prop: custom validator"
6
6
  // Add other warnings to ignore here
7
7
  ];
8
- if (process.env.NODE_ENV === "development") {
9
- const originalWarn = console.warn;
10
- console.warn = (...args) => {
11
- if (!ignoredWarnings.some((warning) => args[0]?.includes(warning))) {
12
- console.group("Vue Warning");
13
- originalWarn(...args);
14
- console.groupEnd();
15
- }
16
- };
17
- }
8
+ nuxtApp.vueApp.config.warnHandler = (msg, instance, trace) => {
9
+ if (!ignoredWarnings.some((warning) => msg.includes(warning))) {
10
+ console.warn(`[Vue warn]: ${msg}${trace}`);
11
+ }
12
+ };
18
13
  });
@@ -5,14 +5,9 @@ export default defineNuxtPlugin((nuxtApp) => {
5
5
  "Invalid prop: custom validator"
6
6
  // Add other warnings to ignore here
7
7
  ];
8
- if (process.env.NODE_ENV === "development") {
9
- const originalWarn = console.warn;
10
- console.warn = (...args) => {
11
- if (!ignoredWarnings.some((warning) => args[0]?.includes(warning))) {
12
- console.group("Vue Warning");
13
- originalWarn(...args);
14
- console.groupEnd();
15
- }
16
- };
17
- }
8
+ nuxtApp.vueApp.config.warnHandler = (msg, instance, trace) => {
9
+ if (!ignoredWarnings.some((warning) => msg.includes(warning))) {
10
+ console.warn(`[Vue warn]: ${msg}${trace}`);
11
+ }
12
+ };
18
13
  });
@@ -304,4 +304,8 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
304
304
  display: inline-flex;
305
305
  font-size: 0;
306
306
  line-height: 0;
307
+ }
308
+ .el-checkbox-group.el-vertical-group {
309
+ align-items: flex-start;
310
+ flex-direction: column;
307
311
  }
@@ -5,4 +5,9 @@
5
5
  display: inline-flex;
6
6
  font-size: 0;
7
7
  line-height: 0;
8
+
9
+ &.el-vertical-group {
10
+ align-items: flex-start;
11
+ flex-direction: column;
12
+ }
8
13
  }
@@ -3102,6 +3102,10 @@ heights > $common-component-size
3102
3102
  font-size: 0;
3103
3103
  line-height: 0;
3104
3104
  }
3105
+ .el-checkbox-group.el-vertical-group {
3106
+ align-items: flex-start;
3107
+ flex-direction: column;
3108
+ }
3105
3109
 
3106
3110
  .el-checkbox {
3107
3111
  --el-checkbox-font-size: 14px;
@@ -11606,10 +11610,13 @@ heights > $common-component-size
11606
11610
 
11607
11611
  .el-radio-group {
11608
11612
  display: inline-flex;
11609
- align-items: center;
11610
11613
  flex-wrap: wrap;
11611
11614
  font-size: 0;
11612
11615
  }
11616
+ .el-radio-group.el-vertical-group {
11617
+ align-items: flex-start;
11618
+ flex-direction: column;
11619
+ }
11613
11620
 
11614
11621
  .el-radio {
11615
11622
  --el-radio-font-size: var(--el-font-size-base);
@@ -302,7 +302,10 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
302
302
  **/
303
303
  .el-radio-group {
304
304
  display: inline-flex;
305
- align-items: center;
306
305
  flex-wrap: wrap;
307
306
  font-size: 0;
307
+ }
308
+ .el-radio-group.el-vertical-group {
309
+ align-items: flex-start;
310
+ flex-direction: column;
308
311
  }
@@ -3,7 +3,11 @@
3
3
 
4
4
  @include b(radio-group) {
5
5
  display: inline-flex;
6
- align-items: center;
7
6
  flex-wrap: wrap;
8
7
  font-size: 0;
8
+
9
+ &.el-vertical-group {
10
+ align-items: flex-start;
11
+ flex-direction: column;
12
+ }
9
13
  }
@@ -1206,7 +1206,9 @@ select {
1206
1206
  white-space: nowrap;
1207
1207
  }
1208
1208
 
1209
- html, body, #main {
1209
+ html,
1210
+ body,
1211
+ #main {
1210
1212
  display: flex;
1211
1213
  flex-direction: column;
1212
1214
  flex-grow: 1;
@@ -1218,51 +1220,31 @@ body {
1218
1220
  font-family: var(--font-family);
1219
1221
  }
1220
1222
 
1221
- [v-cloak] {
1222
- border: 1px solid red;
1223
- display: none;
1224
- }
1225
-
1226
- /**
1227
-
1228
- .layout-enter-active,
1229
- .layout-leave-active {
1230
- transition: opacity 0.4s;
1231
- background-color: red;
1232
- opacity: 0;
1223
+ .page-footer {
1224
+ align-items: center;
1225
+ display: flex;
1226
+ gap: 30px;
1227
+ justify-content: center;
1228
+ padding: 8px 0;
1233
1229
  }
1234
- .layout-enter-from,
1235
- .layout-leave-to {
1236
- transition: opacity 0.4s;
1237
- background-color: blue;
1238
- opacity: 0;
1230
+ .page-footer .el-button {
1231
+ flex-basis: 100%;
1232
+ justify-content: center;
1239
1233
  }
1240
1234
 
1241
- */
1242
- /*
1243
- bu okey
1244
1235
  .page-enter-active,
1245
- .page-leave-active {
1246
- transition: opacity 2s;
1247
- background-color: red;
1248
- opacity: 0;
1249
- }
1250
-
1251
- .page-enter-to,
1252
- .page-leave-from {
1253
- transition: opacity 2s;
1254
- transition-delay: 2s;
1255
- opacity: 1;
1256
- background-color: blue;
1257
- }
1258
- */
1259
- .page-enter-active, .page-leave-active, .layout-enter-active, .layout-leave-active {
1236
+ .page-leave-active,
1237
+ .layout-enter-active,
1238
+ .layout-leave-active {
1260
1239
  opacity: 1;
1261
1240
  transition: opacity 0.4s;
1262
1241
  transition-delay: 0.4s;
1263
1242
  }
1264
1243
 
1265
- .page-enter-from, .page-leave-to, .layout-enter-from, .layout-leave-to {
1244
+ .page-enter-from,
1245
+ .page-leave-to,
1246
+ .layout-enter-from,
1247
+ .layout-leave-to {
1266
1248
  opacity: 0;
1267
1249
  transition: opacity 0.4s;
1268
1250
  }
@@ -8,7 +8,9 @@
8
8
  @import 'logo.scss';
9
9
  @import 'selectbox.scss';
10
10
  // @import 'layers.scss';
11
- html, body, #main {
11
+ html,
12
+ body,
13
+ #main {
12
14
  display: flex;
13
15
  flex-direction: column;
14
16
  flex-grow: 1;
@@ -20,53 +22,32 @@ body {
20
22
  font-family: var(--font-family);
21
23
  }
22
24
 
23
- [v-cloak] {
24
- border: 1px solid red;
25
- display: none;
26
- }
27
-
28
- /**
25
+ .page-footer {
26
+ align-items: center;
27
+ display: flex;
28
+ gap: 30px;
29
+ justify-content: center;
30
+ padding: 8px 0;
29
31
 
30
- .layout-enter-active,
31
- .layout-leave-active {
32
- transition: opacity 0.4s;
33
- background-color: red;
34
- opacity: 0;
35
- }
36
- .layout-enter-from,
37
- .layout-leave-to {
38
- transition: opacity 0.4s;
39
- background-color: blue;
40
- opacity: 0;
32
+ .el-button {
33
+ flex-basis: 100%;
34
+ justify-content: center;
35
+ }
41
36
  }
42
37
 
43
- */
44
-
45
- /*
46
- bu okey
47
38
  .page-enter-active,
48
- .page-leave-active {
49
- transition: opacity 2s;
50
- background-color: red;
51
- opacity: 0;
52
- }
53
-
54
- .page-enter-to,
55
- .page-leave-from {
56
- transition: opacity 2s;
57
- transition-delay: 2s;
58
- opacity: 1;
59
- background-color: blue;
60
- }
61
- */
62
-
63
- .page-enter-active, .page-leave-active, .layout-enter-active, .layout-leave-active {
39
+ .page-leave-active,
40
+ .layout-enter-active,
41
+ .layout-leave-active {
64
42
  opacity: 1;
65
43
  transition: opacity 0.4s;
66
44
  transition-delay: 0.4s;
67
45
  }
68
46
 
69
- .page-enter-from, .page-leave-to, .layout-enter-from, .layout-leave-to {
47
+ .page-enter-from,
48
+ .page-leave-to,
49
+ .layout-enter-from,
50
+ .layout-leave-to {
70
51
  opacity: 0;
71
52
  transition: opacity 0.4s;
72
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timus-networks/theme",
3
- "version": "2.4.8",
3
+ "version": "2.4.10",
4
4
  "description": "A comprehensive Nuxt.js module providing a tailored theme experience with integrated TailwindCSS support for applications.",
5
5
  "type": "module",
6
6
  "exports": {