edvoyui-component-library-test-flight 0.0.112 → 0.0.113

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.
Files changed (101) hide show
  1. package/dist/EUIButton.vue.d.ts +5 -0
  2. package/dist/EUIButton.vue.d.ts.map +1 -0
  3. package/dist/accordion/EUIAccordion.vue.d.ts +2 -2
  4. package/dist/accordion/EUIAccordion.vue.d.ts.map +1 -1
  5. package/dist/alerts/EUIAlerts.vue.d.ts +2 -2
  6. package/dist/alerts/EUIAlerts.vue.d.ts.map +1 -1
  7. package/dist/avatar/EUIAvatar.vue.d.ts +2 -2
  8. package/dist/avatar/EUIAvatar.vue.d.ts.map +1 -1
  9. package/dist/breadcrumb/EUIBreadcrumb.vue.d.ts +2 -2
  10. package/dist/breadcrumb/EUIBreadcrumb.vue.d.ts.map +1 -1
  11. package/dist/checkbox/EUICheckbox.vue.d.ts +3 -3
  12. package/dist/checkbox/EUICheckbox.vue.d.ts.map +1 -1
  13. package/dist/datepicker/EUIDatepicker.vue.d.ts +3 -3
  14. package/dist/datepicker/EUIDatepicker.vue.d.ts.map +1 -1
  15. package/dist/dropdown/EUIMultiDropdown.vue.d.ts +2 -2
  16. package/dist/dropdown/EUIMultiDropdown.vue.d.ts.map +1 -1
  17. package/dist/errorMessage/EUIErrorMessage.vue.d.ts +2 -2
  18. package/dist/errorMessage/EUIErrorMessage.vue.d.ts.map +1 -1
  19. package/dist/input/EUIInput.vue.d.ts +2 -2
  20. package/dist/input/EUIInput.vue.d.ts.map +1 -1
  21. package/dist/library-vue-ts.cjs.js +1 -1
  22. package/dist/library-vue-ts.css +1 -1
  23. package/dist/library-vue-ts.es.js +761 -765
  24. package/dist/library-vue-ts.umd.js +2 -2
  25. package/dist/loader/EUICircleLoader.vue.d.ts +1 -1
  26. package/dist/loader/EUICircleLoader.vue.d.ts.map +1 -1
  27. package/dist/loader/EUICubeLoader.vue.d.ts +1 -1
  28. package/dist/loader/EUICubeLoader.vue.d.ts.map +1 -1
  29. package/dist/loader/EUILoader.vue.d.ts +2 -2
  30. package/dist/loader/EUILoader.vue.d.ts.map +1 -1
  31. package/dist/loader/EUISquareLoader.vue.d.ts +1 -1
  32. package/dist/loader/EUISquareLoader.vue.d.ts.map +1 -1
  33. package/dist/modal/EUIModal.vue.d.ts +2 -2
  34. package/dist/modal/EUIModal.vue.d.ts.map +1 -1
  35. package/dist/pillSelect/EUIPillSelect.vue.d.ts +2 -2
  36. package/dist/pillSelect/EUIPillSelect.vue.d.ts.map +1 -1
  37. package/dist/popover/EUIPopover.vue.d.ts +2 -2
  38. package/dist/popover/EUIPopover.vue.d.ts.map +1 -1
  39. package/dist/radio/EUIRadio.vue.d.ts +2 -2
  40. package/dist/radio/EUIRadio.vue.d.ts.map +1 -1
  41. package/dist/searchInput/EUISearch.vue.d.ts +2 -2
  42. package/dist/searchInput/EUISearch.vue.d.ts.map +1 -1
  43. package/dist/searchexpand/EUISearchExpand.vue.d.ts +2 -2
  44. package/dist/searchexpand/EUISearchExpand.vue.d.ts.map +1 -1
  45. package/dist/searchexpand/EUISearchToggle.vue.d.ts +2 -2
  46. package/dist/searchexpand/EUISearchToggle.vue.d.ts.map +1 -1
  47. package/dist/select/EUISelect.vue.d.ts +3 -3
  48. package/dist/select/EUISelect.vue.d.ts.map +1 -1
  49. package/dist/selectSearch/EUISelectSearch.vue.d.ts +4 -0
  50. package/dist/selectSearch/EUISelectSearch.vue.d.ts.map +1 -0
  51. package/dist/slideover/EUISlideover.vue.d.ts +2 -2
  52. package/dist/slideover/EUISlideover.vue.d.ts.map +1 -1
  53. package/dist/stepperTimeline/EUIStepperHorizontal.vue.d.ts +2 -2
  54. package/dist/stepperTimeline/EUIStepperHorizontal.vue.d.ts.map +1 -1
  55. package/dist/stepperTimeline/EUIStepperTimeline.vue.d.ts +2 -2
  56. package/dist/stepperTimeline/EUIStepperTimeline.vue.d.ts.map +1 -1
  57. package/dist/stepperTimeline/EUIStepperVertical.vue.d.ts +2 -2
  58. package/dist/stepperTimeline/EUIStepperVertical.vue.d.ts.map +1 -1
  59. package/dist/table/EUIDashboardTable.vue.d.ts +2 -2
  60. package/dist/table/EUIDashboardTable.vue.d.ts.map +1 -1
  61. package/dist/table/EUIPageLimit.vue.d.ts +2 -2
  62. package/dist/table/EUIPageLimit.vue.d.ts.map +1 -1
  63. package/dist/table/EUIPagination.vue.d.ts +2 -2
  64. package/dist/table/EUIPagination.vue.d.ts.map +1 -1
  65. package/dist/table/EUIStudentPagination.vue.d.ts +2 -2
  66. package/dist/table/EUIStudentPagination.vue.d.ts.map +1 -1
  67. package/dist/table/EUITable.vue.d.ts +2 -2
  68. package/dist/table/EUITable.vue.d.ts.map +1 -1
  69. package/dist/table/EUITableCheckbox.vue.d.ts +3 -3
  70. package/dist/table/EUITableCheckbox.vue.d.ts.map +1 -1
  71. package/dist/table/GrowthTable.vue.d.ts +2 -2
  72. package/dist/table/GrowthTable.vue.d.ts.map +1 -1
  73. package/dist/table/UCheckbox.vue.d.ts +2 -2
  74. package/dist/table/UCheckbox.vue.d.ts.map +1 -1
  75. package/dist/table/UTable.vue.d.ts +2 -2
  76. package/dist/table/UTable.vue.d.ts.map +1 -1
  77. package/dist/tabs/EUITabs.vue.d.ts +2 -2
  78. package/dist/tabs/EUITabs.vue.d.ts.map +1 -1
  79. package/dist/tag/EUITag.vue.d.ts +2 -2
  80. package/dist/tag/EUITag.vue.d.ts.map +1 -1
  81. package/dist/telephone/EUITelephone.vue.d.ts +3 -3
  82. package/dist/telephone/EUITelephone.vue.d.ts.map +1 -1
  83. package/dist/textArea/EUITextArea.vue.d.ts +2 -2
  84. package/dist/textArea/EUITextArea.vue.d.ts.map +1 -1
  85. package/dist/timeLine/EUITimeLine.vue.d.ts +2 -2
  86. package/dist/timeLine/EUITimeLine.vue.d.ts.map +1 -1
  87. package/dist/timeLine/EUITimeLineItem.vue.d.ts +2 -2
  88. package/dist/timeLine/EUITimeLineItem.vue.d.ts.map +1 -1
  89. package/dist/toggle/EUIToggle.vue.d.ts +2 -2
  90. package/dist/toggle/EUIToggle.vue.d.ts.map +1 -1
  91. package/dist/tooltip/EUITooltip.vue.d.ts +2 -2
  92. package/dist/tooltip/EUITooltip.vue.d.ts.map +1 -1
  93. package/package.json +1 -1
  94. package/src/components/table/UTable.vue +58 -86
  95. package/src/components/tabs/EUITabs.vue +8 -1
  96. package/dist/EUISelectSearch.vue.d.ts +0 -4
  97. package/dist/EUISelectSearch.vue.d.ts.map +0 -1
  98. package/dist/button/EUIButton.vue.d.ts +0 -5
  99. package/dist/button/EUIButton.vue.d.ts.map +0 -1
  100. /package/src/components/checkbox/{EUICheckbox.stories.ts → EUIcheckbox.stories.ts} +0 -0
  101. /package/src/components/modal/{EUIModal.stories.ts → EUImodal.stories.ts} +0 -0
@@ -56,72 +56,61 @@
56
56
  scope="col"
57
57
  :class="[
58
58
  'snap-start snap-always py-2',
59
- header?.sortable
60
- ? 'cursor-pointer hover:!text-gray-900 pr-8 pl-3'
61
- : 'px-3',
59
+ header?.sortable ? 'cursor-pointer hover:!text-gray-900 pr-8 pl-3': 'px-3',
62
60
  isScrolled && headerIndex === 0 ? stickyClass.head : null,
63
61
  { '!bg-gray-200': currentSort === header.value },
62
+
64
63
  ]"
65
- :style="
66
- headers.length > 6
67
- ? headerStyle(header)
68
- : 'width: 100%;min-width: 250px;background-color: rgb(243 244 246);'
69
- "
64
+ :style="headers.length > 6 ? headerStyle(header) : 'width: 100%;min-width: 250px;background-color: rgb(243 244 246);'"
70
65
  @click="sortBy(header, $event)"
71
66
  >
72
67
  <div class="relative z-0 w-full">
73
- <div
74
- class="w-full text-sm font-medium text-current truncate font-inter"
75
- >
76
- <slot name="header" :header="header">
77
- {{ capitalizeText(header?.text ?? header?.name ?? "") }}
78
- </slot>
79
- <slot
80
- v-if="headerOptional"
81
- name="headerOptionalItem"
82
- ></slot>
83
- </div>
84
- <div
85
- v-if="header?.sortable"
86
- class="absolute -top-0.5 -right-6 size-6 z-10"
68
+ <div
69
+ class="w-full text-sm font-medium text-current truncate font-inter"
70
+ >
71
+ <slot name="header" :header="header">
72
+ {{ capitalizeText(header?.text ?? header?.name ?? "") }}
73
+ </slot>
74
+ <slot v-if="headerOptional" name="headerOptionalItem" ></slot>
75
+ </div>
76
+ <div v-if="header?.sortable" class="absolute -top-0.5 -right-6 size-6 z-10">
77
+ <svg
78
+ width="24"
79
+ height="24"
80
+ viewBox="0 0 24 24"
81
+ fill="none"
82
+ xmlns="http://www.w3.org/2000/svg"
83
+ class="size-6"
87
84
  >
88
- <svg
89
- width="24"
90
- height="24"
91
- viewBox="0 0 24 24"
92
- fill="none"
93
- xmlns="http://www.w3.org/2000/svg"
94
- class="size-6"
95
- >
96
- <rect width="24" height="24" fill="none" />
97
- <path
98
- d="M8 10C9.06206 8.5381 10.3071 7.2287 11.7021 6.1058C11.8774 5.9647 12.1226 5.9647 12.2979 6.1058C13.6929 7.2287 14.9379 8.5381 16 10"
99
- :stroke="
100
- currentSortDir === 'asc' &&
101
- currentSort === header?.value
102
- ? '#111827'
103
- : '#9ca3af'
104
- "
105
- stroke-opacity="0.8"
106
- stroke-width="2"
107
- stroke-linecap="round"
108
- stroke-linejoin="round"
109
- />
110
- <path
111
- d="M8 14C9.06206 15.4619 10.3071 16.7713 11.7021 17.8942C11.8774 18.0353 12.1226 18.0353 12.2979 17.8942C13.6929 16.7713 14.9379 15.4619 16 14"
112
- :stroke="
113
- currentSortDir === 'desc' &&
114
- currentSort === header?.value
115
- ? '#111827'
116
- : '#9ca3af'
117
- "
118
- stroke-opacity="0.8"
119
- stroke-width="2"
120
- stroke-linecap="round"
121
- stroke-linejoin="round"
122
- />
123
- </svg>
124
- </div>
85
+ <rect width="24" height="24" fill="none" />
86
+ <path
87
+ d="M8 10C9.06206 8.5381 10.3071 7.2287 11.7021 6.1058C11.8774 5.9647 12.1226 5.9647 12.2979 6.1058C13.6929 7.2287 14.9379 8.5381 16 10"
88
+ :stroke="
89
+ currentSortDir === 'asc' &&
90
+ currentSort === header?.value
91
+ ? '#111827'
92
+ : '#9ca3af'
93
+ "
94
+ stroke-opacity="0.8"
95
+ stroke-width="2"
96
+ stroke-linecap="round"
97
+ stroke-linejoin="round"
98
+ />
99
+ <path
100
+ d="M8 14C9.06206 15.4619 10.3071 16.7713 11.7021 17.8942C11.8774 18.0353 12.1226 18.0353 12.2979 17.8942C13.6929 16.7713 14.9379 15.4619 16 14"
101
+ :stroke="
102
+ currentSortDir === 'desc' &&
103
+ currentSort === header?.value
104
+ ? '#111827'
105
+ : '#9ca3af'
106
+ "
107
+ stroke-opacity="0.8"
108
+ stroke-width="2"
109
+ stroke-linecap="round"
110
+ stroke-linejoin="round"
111
+ />
112
+ </svg>
113
+ </div>
125
114
  </div>
126
115
  </th>
127
116
  </tr>
@@ -133,7 +122,7 @@
133
122
  :key="`table-row-${rowIndex}`"
134
123
  >
135
124
  <tr
136
- :id="`row-${rowIndex}`"
125
+ :id="`row-${rowIndex}`"
137
126
  @mouseenter="
138
127
  $attrs.mouseenter
139
128
  ? $emit('mouseenter', row, rowIndex)
@@ -145,7 +134,7 @@
145
134
  : null
146
135
  "
147
136
  class="group"
148
- :class="{ 'bg-purple-100': activeRowIndex == rowIndex }"
137
+ :class="{'bg-purple-100': activeRowIndex==rowIndex}"
149
138
  >
150
139
  <td
151
140
  v-if="checkable"
@@ -161,13 +150,10 @@
161
150
  />
162
151
  </td>
163
152
  <td
164
- v-for="(header, headerIndex) in headers"
153
+ v-for="(header, headerIndex) in headers"
165
154
  :key="headerIndex"
166
155
  :style="bodyStyle(header)"
167
- :class="[
168
- isScrolled && headerIndex === 0 ? stickyClass.body : null,
169
- { '!bg-purple-100': activeRowIndex == rowIndex },
170
- ]"
156
+ :class="[isScrolled && headerIndex === 0 ? stickyClass.body : null,{'!bg-purple-100': activeRowIndex==rowIndex}]"
171
157
  >
172
158
  <slot
173
159
  :name="`item.${header?.value}`"
@@ -175,9 +161,7 @@
175
161
  :rowIndex="rowIndex"
176
162
  :headerIndex="headerIndex"
177
163
  >
178
- <span class="block truncate">{{
179
- getValueByPath(row, header?.value)
180
- }}</span>
164
+ <span class="block truncate">{{ getValueByPath(row, header?.value) }}</span>
181
165
  </slot>
182
166
  </td>
183
167
  </tr>
@@ -194,23 +178,13 @@
194
178
  >
195
179
  <div
196
180
  class="flex items-center justify-center w-[calc(100vw-14rem)]"
197
- :class="[
198
- tableHeight
199
- ? tableHeight
200
- : 'h-[calc(100svh-12rem)] max-h-[calc(100svh-12rem)]',
201
- ]"
181
+ :class="[tableHeight ? tableHeight : 'h-[calc(100svh-12rem)] max-h-[calc(100svh-12rem)]']"
202
182
  >
203
183
  <div class="text-center">
204
184
  <div class="mx-auto overflow-hidden rounded-md size-56">
205
- <img
206
- src="@/assets/images/search-nodata.png"
207
- alt=""
208
- class="block object-contain object-center h-auto max-w-full opacity-90"
209
- />
210
- </div>
211
- <div class="my-2 text-xl font-medium text-gray-500">
212
- No matching records found
213
- </div>
185
+ <img src="@/assets/images/search-nodata.png" alt="" class="block object-contain object-center h-auto max-w-full opacity-90" />
186
+ </div>
187
+ <div class="my-2 text-xl font-medium text-gray-500">No matching records found</div>
214
188
  </div>
215
189
  </div>
216
190
  </td>
@@ -220,7 +194,6 @@
220
194
  </table>
221
195
  </div>
222
196
  <div
223
- v-if="stickyFooter"
224
197
  class="sticky bottom-0 left-0 z-50 flex items-center justify-between px-2 py-1 bg-white border-t border-gray-300"
225
198
  >
226
199
  <slot name="tableCount">
@@ -294,7 +267,6 @@ const props = defineProps({
294
267
  default: () => [],
295
268
  required: true,
296
269
  },
297
- stickyFooter: { type: Boolean, default: true },
298
270
  paginated: { type: Boolean, default: false },
299
271
  tableExpanded: { type: Boolean, default: false },
300
272
  search: { type: String, default: "" },
@@ -333,7 +305,7 @@ const {
333
305
  headers,
334
306
  paginated,
335
307
  isRowCheckable,
336
- activeRowIndex,
308
+ activeRowIndex
337
309
  } = toRefs(props);
338
310
 
339
311
  // Emits used
@@ -11,7 +11,10 @@
11
11
  :id="`id-${tab.name}`"
12
12
  type="button"
13
13
  class="[&:not(:focus-visible)]:focus:outline-none relative w-full inline-flex items-center transition-colors duration-100"
14
- :class="tab?.disabled ? ' cursor-not-allowed ' : ''"
14
+ :class="[
15
+ tab?.disabled ? ' cursor-not-allowed ' : '',
16
+ isHighlighedActivetab ? ' rounded-t-lg !bg-[#EDE9FE] ' : '',
17
+ ]"
15
18
  role="tab"
16
19
  tabindex="-1"
17
20
  @click="selectTab(tabindex)"
@@ -72,6 +75,7 @@
72
75
  ? 'border-gray-900 text-gray-900'
73
76
  : 'border-transparent text-gray-500',
74
77
  tab?.disabled ? ' cursor-not-allowed ' : '',
78
+ isHighlighedActivetab&&activeTabIndex === tabindex ? ' rounded-t-lg !bg-[#EDE9FE]' : '',
75
79
  ]"
76
80
  @click="selectTab(tabindex)"
77
81
  >
@@ -106,6 +110,7 @@
106
110
  ? 'border-purple-800 text-purple-800 bg-white z-10 rounded-t-lg shadow-[0px_2px_4px_0px_rgba(55,65,81,0.1)]'
107
111
  : 'border-transparent text-gray-500 z-0',
108
112
  tab?.disabled ? ' cursor-not-allowed ' : '',
113
+ isHighlighedActivetab&&activeTabIndex === tabindex ? ' rounded-t-lg !bg-[#EDE9FE]' : '',
109
114
  ]"
110
115
  @click="selectTab(tabindex)"
111
116
  >
@@ -135,6 +140,7 @@
135
140
  ? 'shadow-lg shadow-gray-100 bg-white border-gray-200 focus-within:border-purple-600 text-gray-900'
136
141
  : 'border-white hover:bg-gray-50 text-gray-700',
137
142
  tab?.disabled ? ' cursor-not-allowed ' : '',
143
+ isHighlighedActivetab&&activeTabIndex === tabindex ? ' rounded-t-lg !bg-[#EDE9FE]' : '',
138
144
  ]"
139
145
  @click="selectTab(tabindex)"
140
146
  >
@@ -182,6 +188,7 @@ const props = defineProps<{
182
188
  contentClass?: string[] | string;
183
189
  tabSize?: "sm" | "md";
184
190
  tabAlign?: "start" | "justify" | "end";
191
+ isHighlighedActivetab?: boolean;
185
192
  }>();
186
193
 
187
194
  const emit = defineEmits<{
@@ -1,4 +0,0 @@
1
- import _sfc_main from "/Volumes/work/repos/edvoy-ui-v2/src/components/selectSearch/EUISelectSearch.vue?vue&type=script&setup=true&lang.ts";
2
- export * from "/Volumes/work/repos/edvoy-ui-v2/src/components/selectSearch/EUISelectSearch.vue?vue&type=script&setup=true&lang.ts";
3
- export default _sfc_main;
4
- //# sourceMappingURL=EUISelectSearch.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EUISelectSearch.vue.d.ts","sourceRoot":"","sources":["../src/components/selectSearch/EUISelectSearch.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oHAAoH,CAAC;AAC3I,cAAc,oHAAoH,CAAC;AACnI,eAAe,SAAS,CAAC"}
@@ -1,5 +0,0 @@
1
- import _sfc_main from "/Volumes/work/repos/edvoy-ui-v2/src/components/button/EUIButton.vue?vue&type=script&setup=true&lang.ts";
2
- export * from "/Volumes/work/repos/edvoy-ui-v2/src/components/button/EUIButton.vue?vue&type=script&setup=true&lang.ts";
3
- import "/Volumes/work/repos/edvoy-ui-v2/src/components/button/EUIButton.vue?vue&type=style&index=0&lang.scss";
4
- export default _sfc_main;
5
- //# sourceMappingURL=EUIButton.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EUIButton.vue.d.ts","sourceRoot":"","sources":["../../src/components/button/EUIButton.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,wGAAwG,CAAC;AAC/H,cAAc,wGAAwG,CAAC;AACvH,OAAO,sGAAsG,CAAC;AAC9G,eAAe,SAAS,CAAC"}