@timus-networks/theme 2.4.269 → 2.4.271

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.268",
4
+ "version": "2.4.270",
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.268";
14
+ const version = "2.4.270";
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 = {
@@ -13741,9 +13741,9 @@ heights > $common-component-size
13741
13741
  align-items: center;
13742
13742
  /* Sonradan ekledim truncate etmek için */
13743
13743
  white-space: nowrap;
13744
- overflow: hidden;
13745
13744
  text-overflow: ellipsis;
13746
13745
  width: min-content;
13746
+ max-width: calc(100% - 120px);
13747
13747
  }
13748
13748
  .el-select__selected-item.el-tooltip__trigger {
13749
13749
  min-width: min-content;
@@ -13776,6 +13776,7 @@ heights > $common-component-size
13776
13776
  text-overflow: ellipsis;
13777
13777
  white-space: nowrap;
13778
13778
  color: var(--el-input-text-color, var(--el-text-color-regular));
13779
+ min-width: 100%;
13779
13780
  }
13780
13781
  .el-select__placeholder.is-transparent {
13781
13782
  user-select: none;
@@ -13808,12 +13809,12 @@ heights > $common-component-size
13808
13809
  }
13809
13810
 
13810
13811
  .el-select__input-wrapper {
13811
- max-width: 80px;
13812
- width: 100%;
13812
+ flex-grow: 1;
13813
+ width: auto;
13813
13814
  }
13814
13815
  .el-select__input-wrapper input {
13815
13816
  min-width: 2px !important;
13816
- width: calc(100% - 3px);
13817
+ width: calc(100% - 3px) !important;
13817
13818
  }
13818
13819
  .el-select__input-wrapper.is-hidden {
13819
13820
  position: absolute;
@@ -80,11 +80,11 @@
80
80
  <el-card>
81
81
  <template #header> Basic multiple select </template>
82
82
  <div class="flex flex-col gap-3 items-start">
83
- <p>
83
+ <p class="max-w-lg">
84
84
  Multiple select uses tags to display selected options. Set <el-text tag="mark">multiple</el-text> attribute for el-select to enable multiple mode. In this case, the value
85
85
  of v-model will be an array of selected options. By default the selected options will be displayed as Tags. You can collapse them to a text by using
86
86
  <el-text tag="mark">collapse-tags</el-text> attribute. You can check them when mouse hover collapse text by using
87
- <el-text tag="mark">collapse-tags-tooltip</el-text> attribute.
87
+ <el-text tag="mark">collapse-tags-tooltip</el-text> attribute. Make sure to add <el-text tag="mark">class="wrap"</el-text> to the el-select to enable wrap mode.
88
88
  </p>
89
89
  <div v-for="(size, index) of sizes" :key="index + 'multiple'" class="flex flex-col items-start justify-start mb-4">
90
90
  <h3>{{ capitalize(size) }}</h3>
@@ -95,6 +95,18 @@
95
95
  <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
96
96
  </el-select>
97
97
  </div>
98
+ <div class="flex gap-4 flex-col">
99
+ <p>Wrap mode</p>
100
+ <el-select v-model="multiple.one" multiple placeholder="Select" style="width: 184px" :size="size" class="wrap">
101
+ <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
102
+ </el-select>
103
+ </div>
104
+ <div class="flex gap-4 flex-col">
105
+ <p>No wrap mode</p>
106
+ <el-select :key="multiple.one.length" v-model="multiple.one" filterable multiple placeholder="Select" :size="size">
107
+ <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
108
+ </el-select>
109
+ </div>
98
110
  <div class="flex gap-4 flex-col">
99
111
  <p>use collapse-tags</p>
100
112
  <el-select v-model="multiple.two" multiple collapse-tags placeholder="Select" style="width: 184px" :size="size">
@@ -402,6 +414,7 @@ export default defineComponent({
402
414
  model: [],
403
415
  multiple: { one: [], two: [], three: [], four: [] },
404
416
  options: [
417
+ { value: "0", label: "All" },
405
418
  { value: "Option 1", label: "Option 1" },
406
419
  { value: "Option 2", label: "Option 2", disabled: true },
407
420
  { value: "Option 3", label: "Option 3 uzun" },
@@ -12849,9 +12849,9 @@ h6,
12849
12849
  align-items: center;
12850
12850
  /* Sonradan ekledim truncate etmek için */
12851
12851
  white-space: nowrap;
12852
- overflow: hidden;
12853
12852
  text-overflow: ellipsis;
12854
12853
  width: min-content;
12854
+ max-width: calc(100% - 120px);
12855
12855
  }
12856
12856
  .el-select__selected-item.el-tooltip__trigger {
12857
12857
  min-width: min-content;
@@ -12884,6 +12884,7 @@ h6,
12884
12884
  text-overflow: ellipsis;
12885
12885
  white-space: nowrap;
12886
12886
  color: var(--el-input-text-color, var(--el-text-color-regular));
12887
+ min-width: 100%;
12887
12888
  }
12888
12889
  .el-select__placeholder.is-transparent {
12889
12890
  user-select: none;
@@ -12916,12 +12917,12 @@ h6,
12916
12917
  }
12917
12918
 
12918
12919
  .el-select__input-wrapper {
12919
- max-width: 80px;
12920
- width: 100%;
12920
+ flex-grow: 1;
12921
+ width: auto;
12921
12922
  }
12922
12923
  .el-select__input-wrapper input {
12923
12924
  min-width: 2px !important;
12924
- width: calc(100% - 3px);
12925
+ width: calc(100% - 3px) !important;
12925
12926
  }
12926
12927
  .el-select__input-wrapper.is-hidden {
12927
12928
  position: absolute;
@@ -591,9 +591,9 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
591
591
  align-items: center;
592
592
  /* Sonradan ekledim truncate etmek için */
593
593
  white-space: nowrap;
594
- overflow: hidden;
595
594
  text-overflow: ellipsis;
596
595
  width: min-content;
596
+ max-width: calc(100% - 120px);
597
597
  }
598
598
  .el-select__selected-item.el-tooltip__trigger {
599
599
  min-width: min-content;
@@ -626,6 +626,7 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
626
626
  text-overflow: ellipsis;
627
627
  white-space: nowrap;
628
628
  color: var(--el-input-text-color, var(--el-text-color-regular));
629
+ min-width: 100%;
629
630
  }
630
631
  .el-select__placeholder.is-transparent {
631
632
  user-select: none;
@@ -658,12 +659,12 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
658
659
  }
659
660
 
660
661
  .el-select__input-wrapper {
661
- max-width: 80px;
662
- width: 100%;
662
+ flex-grow: 1;
663
+ width: auto;
663
664
  }
664
665
  .el-select__input-wrapper input {
665
666
  min-width: 2px !important;
666
- width: calc(100% - 3px);
667
+ width: calc(100% - 3px) !important;
667
668
  }
668
669
  .el-select__input-wrapper.is-hidden {
669
670
  position: absolute;
@@ -591,9 +591,9 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
591
591
  align-items: center;
592
592
  /* Sonradan ekledim truncate etmek için */
593
593
  white-space: nowrap;
594
- overflow: hidden;
595
594
  text-overflow: ellipsis;
596
595
  width: min-content;
596
+ max-width: calc(100% - 120px);
597
597
  }
598
598
  .el-select__selected-item.el-tooltip__trigger {
599
599
  min-width: min-content;
@@ -626,6 +626,7 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
626
626
  text-overflow: ellipsis;
627
627
  white-space: nowrap;
628
628
  color: var(--el-input-text-color, var(--el-text-color-regular));
629
+ min-width: 100%;
629
630
  }
630
631
  .el-select__placeholder.is-transparent {
631
632
  user-select: none;
@@ -658,12 +659,12 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
658
659
  }
659
660
 
660
661
  .el-select__input-wrapper {
661
- max-width: 80px;
662
- width: 100%;
662
+ flex-grow: 1;
663
+ width: auto;
663
664
  }
664
665
  .el-select__input-wrapper input {
665
666
  min-width: 2px !important;
666
- width: calc(100% - 3px);
667
+ width: calc(100% - 3px) !important;
667
668
  }
668
669
  .el-select__input-wrapper.is-hidden {
669
670
  position: absolute;
@@ -179,9 +179,10 @@
179
179
 
180
180
  /* Sonradan ekledim truncate etmek için */
181
181
  white-space: nowrap;
182
- overflow: hidden;
182
+ // overflow: hidden;
183
183
  text-overflow: ellipsis;
184
184
  width: min-content;
185
+ max-width: calc(100% - 120px);
185
186
 
186
187
  &.el-tooltip__trigger {
187
188
  min-width: min-content;
@@ -210,6 +211,7 @@
210
211
  width: 100%;
211
212
  @include utils-ellipsis;
212
213
  color: var(#{getCssVarName('input-text-color')}, map.get($input, 'text-color'));
214
+ min-width: 100%;
213
215
 
214
216
  @include when(transparent) {
215
217
  user-select: none;
@@ -223,15 +225,20 @@
223
225
 
224
226
  @include e(input-wrapper) {
225
227
  // bunu sonradan ekledim truncate etmek için max-width: 100% yerine
226
- max-width: 80px;
227
228
  // max-width: 100%;
228
- width: 100%;
229
+ //max-width: 80px;
230
+ //width: 100%;
231
+
232
+ // width: 100%;
233
+ flex-grow: 1;
234
+ width: auto;
235
+ // min-width: 120px;
229
236
 
230
237
  input {
231
238
  //max-width: 2px !important;
232
239
  // field-sizing: content;
233
240
  min-width: 2px !important;
234
- width: calc(100% - 3px);
241
+ width: calc(100% - 3px) !important;
235
242
  }
236
243
 
237
244
  @include when(hidden) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timus-networks/theme",
3
- "version": "2.4.269",
3
+ "version": "2.4.271",
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": {