edvoyui-component-library-test-flight 0.0.127 → 0.0.128
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/EUITextArea.vue.d.ts +4 -0
- package/dist/EUITextArea.vue.d.ts.map +1 -0
- package/dist/accordion/EUIAccordion.vue.d.ts +2 -2
- package/dist/accordion/EUIAccordion.vue.d.ts.map +1 -1
- package/dist/alerts/EUIAlerts.vue.d.ts +2 -2
- package/dist/alerts/EUIAlerts.vue.d.ts.map +1 -1
- package/dist/avatar/EUIAvatar.vue.d.ts +2 -2
- package/dist/avatar/EUIAvatar.vue.d.ts.map +1 -1
- package/dist/breadcrumb/EUIBreadcrumb.vue.d.ts +2 -2
- package/dist/breadcrumb/EUIBreadcrumb.vue.d.ts.map +1 -1
- package/dist/button/EUIButton.vue.d.ts +5 -0
- package/dist/button/EUIButton.vue.d.ts.map +1 -0
- package/dist/checkbox/EUICheckbox.vue.d.ts +3 -3
- package/dist/checkbox/EUICheckbox.vue.d.ts.map +1 -1
- package/dist/datepicker/EUIDatepicker.vue.d.ts +3 -3
- package/dist/datepicker/EUIDatepicker.vue.d.ts.map +1 -1
- package/dist/dropdown/EUIMultiDropdown.vue.d.ts +2 -2
- package/dist/dropdown/EUIMultiDropdown.vue.d.ts.map +1 -1
- package/dist/errorMessage/EUIErrorMessage.vue.d.ts +2 -2
- package/dist/errorMessage/EUIErrorMessage.vue.d.ts.map +1 -1
- package/dist/input/EUIInput.vue.d.ts +2 -2
- package/dist/input/EUIInput.vue.d.ts.map +1 -1
- package/dist/library-vue-ts.cjs.js +33 -33
- package/dist/library-vue-ts.css +1 -1
- package/dist/library-vue-ts.es.js +3486 -3489
- package/dist/library-vue-ts.umd.js +34 -34
- package/dist/loader/EUICircleLoader.vue.d.ts +1 -1
- package/dist/loader/EUICircleLoader.vue.d.ts.map +1 -1
- package/dist/loader/EUICubeLoader.vue.d.ts +1 -1
- package/dist/loader/EUICubeLoader.vue.d.ts.map +1 -1
- package/dist/loader/EUILoader.vue.d.ts +2 -2
- package/dist/loader/EUILoader.vue.d.ts.map +1 -1
- package/dist/loader/EUISquareLoader.vue.d.ts +1 -1
- package/dist/loader/EUISquareLoader.vue.d.ts.map +1 -1
- package/dist/modal/EUIModal.vue.d.ts +2 -2
- package/dist/modal/EUIModal.vue.d.ts.map +1 -1
- package/dist/pillSelect/EUIPillSelect.vue.d.ts +2 -2
- package/dist/pillSelect/EUIPillSelect.vue.d.ts.map +1 -1
- package/dist/popover/EUIPopover.vue.d.ts +2 -2
- package/dist/popover/EUIPopover.vue.d.ts.map +1 -1
- package/dist/radio/EUIRadio.vue.d.ts +2 -2
- package/dist/radio/EUIRadio.vue.d.ts.map +1 -1
- package/dist/searchInput/EUISearch.vue.d.ts +2 -2
- package/dist/searchInput/EUISearch.vue.d.ts.map +1 -1
- package/dist/searchexpand/EUISearchExpand.vue.d.ts +2 -2
- package/dist/searchexpand/EUISearchExpand.vue.d.ts.map +1 -1
- package/dist/searchexpand/EUISearchToggle.vue.d.ts +2 -2
- package/dist/searchexpand/EUISearchToggle.vue.d.ts.map +1 -1
- package/dist/select/EUISelect.vue.d.ts +3 -3
- package/dist/select/EUISelect.vue.d.ts.map +1 -1
- package/dist/selectSearch/EUISelectSearch.vue.d.ts +2 -2
- package/dist/selectSearch/EUISelectSearch.vue.d.ts.map +1 -1
- package/dist/slideover/EUISlideover.vue.d.ts +2 -2
- package/dist/slideover/EUISlideover.vue.d.ts.map +1 -1
- package/dist/stepperTimeline/EUIStepperHorizontal.vue.d.ts +2 -2
- package/dist/stepperTimeline/EUIStepperHorizontal.vue.d.ts.map +1 -1
- package/dist/stepperTimeline/EUIStepperTimeline.vue.d.ts +2 -2
- package/dist/stepperTimeline/EUIStepperTimeline.vue.d.ts.map +1 -1
- package/dist/stepperTimeline/EUIStepperVertical.vue.d.ts +2 -2
- package/dist/stepperTimeline/EUIStepperVertical.vue.d.ts.map +1 -1
- package/dist/table/EUIDashboardTable.vue.d.ts +2 -2
- package/dist/table/EUIDashboardTable.vue.d.ts.map +1 -1
- package/dist/table/EUIPageLimit.vue.d.ts +2 -2
- package/dist/table/EUIPageLimit.vue.d.ts.map +1 -1
- package/dist/table/EUIPagination.vue.d.ts +2 -2
- package/dist/table/EUIPagination.vue.d.ts.map +1 -1
- package/dist/table/EUIStudentPagination.vue.d.ts +2 -2
- package/dist/table/EUIStudentPagination.vue.d.ts.map +1 -1
- package/dist/table/EUITable.vue.d.ts +2 -2
- package/dist/table/EUITable.vue.d.ts.map +1 -1
- package/dist/table/EUITableCheckbox.vue.d.ts +3 -3
- package/dist/table/EUITableCheckbox.vue.d.ts.map +1 -1
- package/dist/table/GrowthTable.vue.d.ts +2 -2
- package/dist/table/GrowthTable.vue.d.ts.map +1 -1
- package/dist/table/UCheckbox.vue.d.ts +2 -2
- package/dist/table/UCheckbox.vue.d.ts.map +1 -1
- package/dist/table/UTable.vue.d.ts +2 -2
- package/dist/table/UTable.vue.d.ts.map +1 -1
- package/dist/tabs/EUITabs.vue.d.ts +2 -2
- package/dist/tabs/EUITabs.vue.d.ts.map +1 -1
- package/dist/tag/EUITag.vue.d.ts +2 -2
- package/dist/tag/EUITag.vue.d.ts.map +1 -1
- package/dist/telephone/EUITelephone.vue.d.ts +3 -3
- package/dist/telephone/EUITelephone.vue.d.ts.map +1 -1
- package/dist/timeLine/EUITimeLine.vue.d.ts +2 -2
- package/dist/timeLine/EUITimeLine.vue.d.ts.map +1 -1
- package/dist/timeLine/EUITimeLineItem.vue.d.ts +2 -2
- package/dist/timeLine/EUITimeLineItem.vue.d.ts.map +1 -1
- package/dist/toggle/EUIToggle.vue.d.ts +2 -2
- package/dist/toggle/EUIToggle.vue.d.ts.map +1 -1
- package/dist/tooltip/EUITooltip.vue.d.ts +2 -2
- package/dist/tooltip/EUITooltip.vue.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/select/EUISelect.vue +23 -4
- package/src/components/table/EUIDashboardTable.vue +2 -2
- package/src/components/tabs/EUITabs.vue +2 -14
- package/dist/EUIButton.vue.d.ts +0 -5
- package/dist/EUIButton.vue.d.ts.map +0 -1
- package/dist/textArea/EUITextArea.vue.d.ts +0 -4
- package/dist/textArea/EUITextArea.vue.d.ts.map +0 -1
- /package/src/components/checkbox/{EUIcheckbox.stories.ts → EUICheckbox.stories.ts} +0 -0
- /package/src/components/modal/{EUImodal.stories.ts → EUIModal.stories.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<!-- npm version patch -->
|
|
3
|
-
<div :class="
|
|
3
|
+
<div :class="{'isUseCustomSelect':isUseCustomSelect}">
|
|
4
4
|
<label
|
|
5
5
|
v-if="!inputFilled && label"
|
|
6
6
|
:class="[
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
inputFilled ? 'rounded-2xl min-h-14' : 'rounded-md min-h-10',
|
|
36
36
|
'group relative w-full bg-white cursor-pointer overflow-hidden',
|
|
37
37
|
{ 'opacity-75': disabled },
|
|
38
|
+
className
|
|
38
39
|
]"
|
|
39
40
|
:clearable="clearable"
|
|
40
41
|
:no-drop="nodropDown"
|
|
@@ -207,6 +208,11 @@ const props = defineProps({
|
|
|
207
208
|
default: "",
|
|
208
209
|
required: false,
|
|
209
210
|
},
|
|
211
|
+
customHeight: {
|
|
212
|
+
type: String,
|
|
213
|
+
default: "",
|
|
214
|
+
required: false,
|
|
215
|
+
},
|
|
210
216
|
customOffset: {
|
|
211
217
|
type: Array as PropType<any>,
|
|
212
218
|
required: false,
|
|
@@ -382,17 +388,21 @@ const search = (x: string) => {
|
|
|
382
388
|
};
|
|
383
389
|
|
|
384
390
|
const selectWidth = computed(() => props.customWidth);
|
|
391
|
+
const selectMaxHeight = computed(() => props.customHeight);
|
|
385
392
|
const offsetValue = computed(() => props.customOffset);
|
|
386
393
|
|
|
387
394
|
const withPopper = (
|
|
388
395
|
dropdownList: HTMLElement,
|
|
389
396
|
component: { $refs: { toggle: Element | VirtualElement } },
|
|
390
|
-
{ width }: any
|
|
397
|
+
{ width, maxHeight }: any
|
|
391
398
|
) => {
|
|
392
399
|
const newwidth = selectWidth.value || width; //setcustom width '400px'
|
|
400
|
+
const newHeight = selectMaxHeight.value || width; //setcustom maxHeight '600px'
|
|
401
|
+
|
|
393
402
|
const newOffset = offsetValue.value || [0, 7]; //setcustom Offset '[123, -1]'
|
|
394
403
|
const customWidth = isUseCustomSelect.value ? newwidth : width;
|
|
395
404
|
dropdownList.style.width = customWidth;
|
|
405
|
+
dropdownList.style.maxHeight = isUseCustomSelect.value ? newHeight : maxHeight
|
|
396
406
|
const offsetValues = isUseCustomSelect.value ? newOffset : [0, 7];
|
|
397
407
|
const popper = createPopper(component.$refs.toggle, dropdownList, {
|
|
398
408
|
placement: "bottom",
|
|
@@ -405,6 +415,7 @@ const withPopper = (
|
|
|
405
415
|
},
|
|
406
416
|
],
|
|
407
417
|
});
|
|
418
|
+
dropdownList.classList.add('toggle-dropdown');
|
|
408
419
|
return () => popper.destroy();
|
|
409
420
|
};
|
|
410
421
|
|
|
@@ -552,6 +563,9 @@ const open = () => {
|
|
|
552
563
|
};
|
|
553
564
|
</script>
|
|
554
565
|
<style lang="scss">
|
|
566
|
+
:root {
|
|
567
|
+
--vs-dropdown-color: theme('colors.gray.600')
|
|
568
|
+
}
|
|
555
569
|
.scrollbar {
|
|
556
570
|
&--hide {
|
|
557
571
|
@apply overflow-y-auto;
|
|
@@ -581,6 +595,11 @@ const open = () => {
|
|
|
581
595
|
}
|
|
582
596
|
}
|
|
583
597
|
}
|
|
598
|
+
.vs__dropdown-menu.toggle-dropdown {
|
|
599
|
+
border-top-style: solid;
|
|
600
|
+
margin-top: -5px !important;
|
|
601
|
+
border-radius: 6px !important;
|
|
602
|
+
}
|
|
584
603
|
|
|
585
604
|
.vs--single.vs--open .vs__selected,
|
|
586
605
|
.vs--single.vs--loading .vs__selected {
|
|
@@ -599,7 +618,7 @@ const open = () => {
|
|
|
599
618
|
@apply bg-purple-100 text-purple-700;
|
|
600
619
|
}
|
|
601
620
|
&--highlight {
|
|
602
|
-
@apply bg-gray-100 text-
|
|
621
|
+
@apply bg-gray-100 text-gray-900 font-medium;
|
|
603
622
|
}
|
|
604
623
|
}
|
|
605
624
|
&-menu {
|
|
@@ -698,7 +717,7 @@ const open = () => {
|
|
|
698
717
|
@apply bg-purple-100 text-purple-700;
|
|
699
718
|
}
|
|
700
719
|
&--highlight {
|
|
701
|
-
@apply bg-gray-100 text-black font-
|
|
720
|
+
@apply bg-gray-100 text-black font-medium;
|
|
702
721
|
}
|
|
703
722
|
}
|
|
704
723
|
&-menu {
|
|
@@ -471,12 +471,12 @@ watch(() => tableContainer.value?.clientWidth, checkOverflow);
|
|
|
471
471
|
tbody {
|
|
472
472
|
@apply snap-y snap-mandatory snap-always;
|
|
473
473
|
tr:not(.norecords) {
|
|
474
|
-
@apply text-gray-500 transition-all duration-
|
|
474
|
+
@apply text-gray-500 transition-all duration-300 rounded-xl bg-white snap-start ease-in-out snap-x snap-mandatory will-change-transform;
|
|
475
475
|
&:hover {
|
|
476
476
|
@apply shadow-[1px_2px_40px_0px_#03022912] ring-1 ring-gray-100 ring-inset z-30;
|
|
477
477
|
}
|
|
478
478
|
td {
|
|
479
|
-
@apply px-4 py-4 text-sm font-normal last-of-type:rounded-r-xl first-of-type:rounded-l-xl transition-
|
|
479
|
+
@apply px-4 py-4 text-sm font-normal last-of-type:rounded-r-xl first-of-type:rounded-l-xl transition-colors duration-100 ease-in-out border-solid border border-l-0 border-r-0 border-white first:border-s last:border-e will-change-contents;
|
|
480
480
|
&:first-of-type.checkable {
|
|
481
481
|
@apply w-14 text-center sticky left-0 top-0 z-[11] bg-white;
|
|
482
482
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
|
|
4
|
-
<div class=" overflow-hidden overflow-x-scroll">
|
|
5
|
-
<div
|
|
3
|
+
<div
|
|
6
4
|
v-if="tabStyle === 'design'"
|
|
7
5
|
class="inline-flex flex-row items-center justify-start px-[0.25rem] min-h-[34px] mb-0.5 bg-gray-100 rounded-[0.625rem] ring-1 ring-gray-200/75 gap-2"
|
|
8
6
|
>
|
|
@@ -16,7 +14,6 @@
|
|
|
16
14
|
:class="[
|
|
17
15
|
tab?.disabled ? ' cursor-not-allowed ' : '',
|
|
18
16
|
isHighlighedActivetab ? ' rounded-t-lg !bg-[#EDE9FE] ' : '',
|
|
19
|
-
'flex-shrink-0'
|
|
20
17
|
]"
|
|
21
18
|
role="tab"
|
|
22
19
|
tabindex="-1"
|
|
@@ -83,7 +80,6 @@
|
|
|
83
80
|
: 'border-transparent text-gray-500',
|
|
84
81
|
tab?.disabled ? ' cursor-not-allowed ' : '',
|
|
85
82
|
isHighlighedActivetab&&activeTabIndex === tabindex ? ' rounded-t-lg !bg-[#EDE9FE]' : '',
|
|
86
|
-
'flex-shrink-0'
|
|
87
83
|
]"
|
|
88
84
|
@click="selectTab(tabindex)"
|
|
89
85
|
>
|
|
@@ -119,7 +115,6 @@
|
|
|
119
115
|
: 'border-transparent text-gray-500 z-0',
|
|
120
116
|
tab?.disabled ? ' cursor-not-allowed ' : '',
|
|
121
117
|
isHighlighedActivetab&&activeTabIndex === tabindex ? ' rounded-t-lg !bg-[#EDE9FE]' : '',
|
|
122
|
-
'flex-shrink-0'
|
|
123
118
|
]"
|
|
124
119
|
@click="selectTab(tabindex)"
|
|
125
120
|
>
|
|
@@ -133,6 +128,7 @@
|
|
|
133
128
|
</slot>
|
|
134
129
|
</button>
|
|
135
130
|
</div>
|
|
131
|
+
|
|
136
132
|
<div v-else class="flex items-center gap-1 p-2 transition-all duration-100">
|
|
137
133
|
<button
|
|
138
134
|
v-for="(tab, tabindex) in tabs"
|
|
@@ -149,7 +145,6 @@
|
|
|
149
145
|
: 'border-white hover:bg-gray-50 text-gray-700',
|
|
150
146
|
tab?.disabled ? ' cursor-not-allowed ' : '',
|
|
151
147
|
isHighlighedActivetab&&activeTabIndex === tabindex ? ' rounded-t-lg !bg-[#EDE9FE]' : '',
|
|
152
|
-
'flex-shrink-0'
|
|
153
148
|
]"
|
|
154
149
|
@click="selectTab(tabindex)"
|
|
155
150
|
>
|
|
@@ -163,9 +158,6 @@
|
|
|
163
158
|
</slot>
|
|
164
159
|
</button>
|
|
165
160
|
</div>
|
|
166
|
-
</div>
|
|
167
|
-
|
|
168
|
-
|
|
169
161
|
<slot name="content" :active-tab="tabs[activeTabIndex]">
|
|
170
162
|
<div
|
|
171
163
|
:class="[
|
|
@@ -205,14 +197,12 @@ const props = defineProps<{
|
|
|
205
197
|
|
|
206
198
|
const emit = defineEmits<{
|
|
207
199
|
(event: "update:activeTab", activeTab: Tab): void;
|
|
208
|
-
(event: "update:defaultActiveIndex", defaultActiveIndex: number): void;
|
|
209
200
|
}>();
|
|
210
201
|
|
|
211
202
|
const activeTabIndex = ref(props.defaultActiveIndex ?? 0);
|
|
212
203
|
|
|
213
204
|
const selectTab = (index: number) => {
|
|
214
205
|
activeTabIndex.value = index;
|
|
215
|
-
emit("update:defaultActiveIndex", activeTabIndex.value );
|
|
216
206
|
emit("update:activeTab", props.tabs[activeTabIndex.value]);
|
|
217
207
|
};
|
|
218
208
|
|
|
@@ -220,8 +210,6 @@ watch(
|
|
|
220
210
|
() => props.defaultActiveIndex,
|
|
221
211
|
(newIndex) => {
|
|
222
212
|
activeTabIndex.value = newIndex ?? 0;
|
|
223
|
-
},{
|
|
224
|
-
immediate:true
|
|
225
213
|
}
|
|
226
214
|
);
|
|
227
215
|
</script>
|
package/dist/EUIButton.vue.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import _sfc_main from "/Users/rajmohan/Documents/Workspace/edvoy-ui-v2/src/components/button/EUIButton.vue?vue&type=script&setup=true&lang.ts";
|
|
2
|
-
export * from "/Users/rajmohan/Documents/Workspace/edvoy-ui-v2/src/components/button/EUIButton.vue?vue&type=script&setup=true&lang.ts";
|
|
3
|
-
import "/Users/rajmohan/Documents/Workspace/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,wHAAwH,CAAC;AAC/I,cAAc,wHAAwH,CAAC;AACvI,OAAO,sHAAsH,CAAC;AAC9H,eAAe,SAAS,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import _sfc_main from "/Users/rajmohan/Documents/Workspace/edvoy-ui-v2/src/components/textArea/EUITextArea.vue?vue&type=script&setup=true&lang.ts";
|
|
2
|
-
export * from "/Users/rajmohan/Documents/Workspace/edvoy-ui-v2/src/components/textArea/EUITextArea.vue?vue&type=script&setup=true&lang.ts";
|
|
3
|
-
export default _sfc_main;
|
|
4
|
-
//# sourceMappingURL=EUITextArea.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EUITextArea.vue.d.ts","sourceRoot":"","sources":["../../src/components/textArea/EUITextArea.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,4HAA4H,CAAC;AACnJ,cAAc,4HAA4H,CAAC;AAC3I,eAAe,SAAS,CAAC"}
|
|
File without changes
|
|
File without changes
|