@timus-networks/theme 2.4.33 → 2.4.37

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.33",
4
+ "version": "2.4.37",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "2.0.0"
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.33";
14
+ const version = "2.4.37";
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 = {
@@ -12,6 +12,8 @@
12
12
  </p>
13
13
  <div class="flex gap-2">
14
14
  <el-form :model="form" label-width="auto" style="max-width: 600px" :label-position="labelPosition" require-asterisk-position="right">
15
+ <p class="el-form-title">Form Title <el-text tag="mark">p.el-form-title</el-text></p>
16
+
15
17
  <el-form-item label="Form Align" :required="true" class="grow">
16
18
  <el-radio-group v-model="labelPosition" aria-label="label position">
17
19
  <el-radio-button value="left">Left</el-radio-button>
@@ -22,6 +24,8 @@
22
24
  <el-form-item label="Activity name" class="grow">
23
25
  <el-input v-model="form.name" />
24
26
  </el-form-item>
27
+
28
+ <p class="el-form-title">Technical Information Title <el-text tag="mark">p.el-form-title</el-text></p>
25
29
  <el-form-item label="Activity form">
26
30
  <el-input v-model="form.desc" type="textarea" />
27
31
  </el-form-item>
@@ -21,7 +21,7 @@
21
21
  <el-table-column property="city" label="City" show-overflow-tooltip />
22
22
  <el-table-column property="zip" label="Zip" show-overflow-tooltip />
23
23
  <el-table-column property="address" label="Address" width="140" show-overflow-tooltip />
24
- <el-table-column min-width="37" fixed="right">
24
+ <el-table-column min-width="37" width="37" fixed="right">
25
25
  <el-dropdown>
26
26
  <el-icon class="more-icon"><el-icon-more-filled /></el-icon>
27
27
  <template #dropdown>
@@ -41,6 +41,41 @@
41
41
  </code>
42
42
  </template>
43
43
  </el-card>
44
+
45
+ <el-card>
46
+ <template #header> Without Border </template>
47
+ <div class="flex flex-col gap-7.5 items-start">
48
+ <p>Just add <el-text tag="mark">.no-border</el-text> to table class attribute.</p>
49
+ <el-table :data="tableData" style="width: 100%" flexible height="300" class="no-border">
50
+ <el-table-column type="selection" width="16" />
51
+ <el-table-column label="Date" width="120" show-overflow-tooltip>
52
+ <template #default="scope">{{ scope.row.date }}</template>
53
+ </el-table-column>
54
+ <el-table-column property="name" label="Name" width="120" show-overflow-tooltip />
55
+ <el-table-column property="state" label="State" width="240" show-overflow-tooltip />
56
+ <el-table-column property="city" label="City" show-overflow-tooltip />
57
+ <el-table-column property="zip" label="Zip" show-overflow-tooltip />
58
+ <el-table-column property="address" label="Address" width="140" show-overflow-tooltip />
59
+ <el-table-column min-width="37" width="37" fixed="right">
60
+ <el-dropdown>
61
+ <el-icon class="more-icon"><el-icon-more-filled /></el-icon>
62
+ <template #dropdown>
63
+ <el-dropdown-menu data-testid="pages-customers-index-yisqvkendj">
64
+ <el-dropdown-item value="1"> Action 01 </el-dropdown-item>
65
+ <el-dropdown-item value="2"> Action 02 </el-dropdown-item>
66
+ <el-dropdown-item value="3"> Action 03 </el-dropdown-item>
67
+ </el-dropdown-menu>
68
+ </template>
69
+ </el-dropdown>
70
+ </el-table-column>
71
+ </el-table>
72
+ </div>
73
+ <template #footer>
74
+ <code class="flex flex-col gap-3 items-start">
75
+ <html-encode :tag="snippets.borderless" />
76
+ </code>
77
+ </template>
78
+ </el-card>
44
79
  </div>
45
80
  </template>
46
81
  <script lang="ts" setup>
@@ -121,5 +156,12 @@
121
156
  <el-table-column prop="address" label="Address" />
122
157
  </el-table>
123
158
  `,
159
+ borderless: `
160
+ <el-table :data="tableData" class="no-border">
161
+ <el-table-column prop="date" label="Date" width="180" />
162
+ <el-table-column prop="name" label="Name" width="180" />
163
+ <el-table-column prop="address" label="Address" />
164
+ </el-table>
165
+ `,
124
166
  });
125
167
  </script>
@@ -318,6 +318,19 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
318
318
  display: block;
319
319
  }
320
320
 
321
+ .el-form .el-form-title {
322
+ font-size: 14px;
323
+ line-height: 18px;
324
+ font-weight: 500;
325
+ margin-bottom: 16px;
326
+ padding-bottom: 8px;
327
+ margin-top: 32px;
328
+ border-bottom: 1px solid var(--el-color-neutral-light-3);
329
+ }
330
+ .el-form .el-form-title:first-child {
331
+ margin-top: 0;
332
+ }
333
+
321
334
  .el-form-item {
322
335
  display: flex;
323
336
  --font-size: 14px;
@@ -60,7 +60,6 @@ $form-item-label-top-margin-bottom: map.merge(
60
60
 
61
61
  @include b(form) {
62
62
  @include set-component-css-var('form', $form);
63
-
64
63
  @include m(inline) {
65
64
  .#{$namespace}-form-item {
66
65
  display: inline-flex;
@@ -77,6 +76,20 @@ $form-item-label-top-margin-bottom: map.merge(
77
76
  }
78
77
  }
79
78
  }
79
+
80
+ .el-form-title {
81
+ font-size: 14px;
82
+ line-height: 18px;
83
+ font-weight: 500;
84
+ margin-bottom: 16px;
85
+ padding-bottom: 8px;
86
+ margin-top: 32px;
87
+ border-bottom: 1px solid var(--el-color-neutral-light-3);
88
+
89
+ &:first-child {
90
+ margin-top: 0;
91
+ }
92
+ }
80
93
  }
81
94
 
82
95
  @include b(form-item) {
@@ -8730,6 +8730,19 @@ heights > $common-component-size
8730
8730
  display: block;
8731
8731
  }
8732
8732
 
8733
+ .el-form .el-form-title {
8734
+ font-size: 14px;
8735
+ line-height: 18px;
8736
+ font-weight: 500;
8737
+ margin-bottom: 16px;
8738
+ padding-bottom: 8px;
8739
+ margin-top: 32px;
8740
+ border-bottom: 1px solid var(--el-color-neutral-light-3);
8741
+ }
8742
+ .el-form .el-form-title:first-child {
8743
+ margin-top: 0;
8744
+ }
8745
+
8733
8746
  .el-form-item {
8734
8747
  display: flex;
8735
8748
  --font-size: 14px;
@@ -14262,6 +14275,13 @@ heights > $common-component-size
14262
14275
  .el-table:not(.el-table--border) > .el-table__inner-wrapper::after {
14263
14276
  content: none;
14264
14277
  }
14278
+ .el-table.no-border {
14279
+ transform: translateX(0px);
14280
+ width: 100% !important;
14281
+ }
14282
+ .el-table.no-border::before {
14283
+ box-shadow: none;
14284
+ }
14265
14285
 
14266
14286
  .el-table-v2 {
14267
14287
  --el-table-border-color: var(--el-color-neutral-light-3);
@@ -913,4 +913,11 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
913
913
  }
914
914
  .el-table:not(.el-table--border) > .el-table__inner-wrapper::after {
915
915
  content: none;
916
+ }
917
+ .el-table.no-border {
918
+ transform: translateX(0px);
919
+ width: 100% !important;
920
+ }
921
+ .el-table.no-border::before {
922
+ box-shadow: none;
916
923
  }
@@ -754,4 +754,12 @@
754
754
  }
755
755
  }
756
756
  }
757
+
758
+ &.no-border {
759
+ transform: translateX(0px);
760
+ width: 100% !important;
761
+ &::before {
762
+ box-shadow: none;
763
+ }
764
+ }
757
765
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timus-networks/theme",
3
- "version": "2.4.33",
3
+ "version": "2.4.37",
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": {