edvoyui-component-library-test-flight 0.0.90 → 0.0.91

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 (94) 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/avatar/EUIAvatar.vue.d.ts +2 -2
  6. package/dist/avatar/EUIAvatar.vue.d.ts.map +1 -1
  7. package/dist/checkbox/EUICheckbox.vue.d.ts +3 -3
  8. package/dist/checkbox/EUICheckbox.vue.d.ts.map +1 -1
  9. package/dist/datepicker/EUIDatepicker.vue.d.ts +3 -3
  10. package/dist/datepicker/EUIDatepicker.vue.d.ts.map +1 -1
  11. package/dist/dropdown/EUIMultiDropdown.vue.d.ts +2 -2
  12. package/dist/dropdown/EUIMultiDropdown.vue.d.ts.map +1 -1
  13. package/dist/errorMessage/EUIErrorMessage.vue.d.ts +2 -2
  14. package/dist/errorMessage/EUIErrorMessage.vue.d.ts.map +1 -1
  15. package/dist/input/EUIInput.vue.d.ts +2 -2
  16. package/dist/input/EUIInput.vue.d.ts.map +1 -1
  17. package/dist/library-vue-ts.cjs.js +4 -4
  18. package/dist/library-vue-ts.css +1 -1
  19. package/dist/library-vue-ts.es.js +1157 -1119
  20. package/dist/library-vue-ts.umd.js +2 -2
  21. package/dist/loader/EUICircleLoader.vue.d.ts +1 -1
  22. package/dist/loader/EUICircleLoader.vue.d.ts.map +1 -1
  23. package/dist/loader/EUICubeLoader.vue.d.ts +1 -1
  24. package/dist/loader/EUICubeLoader.vue.d.ts.map +1 -1
  25. package/dist/loader/EUILoader.vue.d.ts +2 -2
  26. package/dist/loader/EUILoader.vue.d.ts.map +1 -1
  27. package/dist/loader/EUISquareLoader.vue.d.ts +1 -1
  28. package/dist/loader/EUISquareLoader.vue.d.ts.map +1 -1
  29. package/dist/modal/EUIModal.vue.d.ts +2 -2
  30. package/dist/modal/EUIModal.vue.d.ts.map +1 -1
  31. package/dist/pillSelect/EUIPillSelect.vue.d.ts +2 -2
  32. package/dist/pillSelect/EUIPillSelect.vue.d.ts.map +1 -1
  33. package/dist/popover/EUIPopover.vue.d.ts +2 -2
  34. package/dist/popover/EUIPopover.vue.d.ts.map +1 -1
  35. package/dist/radio/EUIRadio.vue.d.ts +2 -2
  36. package/dist/radio/EUIRadio.vue.d.ts.map +1 -1
  37. package/dist/searchInput/EUISearch.vue.d.ts +2 -2
  38. package/dist/searchInput/EUISearch.vue.d.ts.map +1 -1
  39. package/dist/searchexpand/EUISearchExpand.vue.d.ts +2 -2
  40. package/dist/searchexpand/EUISearchExpand.vue.d.ts.map +1 -1
  41. package/dist/searchexpand/EUISearchToggle.vue.d.ts +2 -2
  42. package/dist/searchexpand/EUISearchToggle.vue.d.ts.map +1 -1
  43. package/dist/select/EUISelect.vue.d.ts +3 -3
  44. package/dist/select/EUISelect.vue.d.ts.map +1 -1
  45. package/dist/selectSearch/EUISelectSearch.vue.d.ts +4 -0
  46. package/dist/selectSearch/EUISelectSearch.vue.d.ts.map +1 -0
  47. package/dist/slideover/EUISlideover.vue.d.ts +2 -2
  48. package/dist/slideover/EUISlideover.vue.d.ts.map +1 -1
  49. package/dist/stepperTimeline/EUIStepperHorizontal.vue.d.ts +2 -2
  50. package/dist/stepperTimeline/EUIStepperHorizontal.vue.d.ts.map +1 -1
  51. package/dist/stepperTimeline/EUIStepperTimeline.vue.d.ts +2 -2
  52. package/dist/stepperTimeline/EUIStepperTimeline.vue.d.ts.map +1 -1
  53. package/dist/stepperTimeline/EUIStepperVertical.vue.d.ts +2 -2
  54. package/dist/stepperTimeline/EUIStepperVertical.vue.d.ts.map +1 -1
  55. package/dist/table/EUIDashboardTable.vue.d.ts +2 -2
  56. package/dist/table/EUIDashboardTable.vue.d.ts.map +1 -1
  57. package/dist/table/EUIPageLimit.vue.d.ts +2 -2
  58. package/dist/table/EUIPageLimit.vue.d.ts.map +1 -1
  59. package/dist/table/EUIPagination.vue.d.ts +2 -2
  60. package/dist/table/EUIPagination.vue.d.ts.map +1 -1
  61. package/dist/table/EUIStudentPagination.vue.d.ts +2 -2
  62. package/dist/table/EUIStudentPagination.vue.d.ts.map +1 -1
  63. package/dist/table/EUITable.vue.d.ts +2 -2
  64. package/dist/table/EUITable.vue.d.ts.map +1 -1
  65. package/dist/table/EUITableCheckbox.vue.d.ts +3 -3
  66. package/dist/table/EUITableCheckbox.vue.d.ts.map +1 -1
  67. package/dist/table/UCheckbox.vue.d.ts +2 -2
  68. package/dist/table/UCheckbox.vue.d.ts.map +1 -1
  69. package/dist/table/UTable.vue.d.ts +2 -2
  70. package/dist/table/UTable.vue.d.ts.map +1 -1
  71. package/dist/tabs/EUITabs.vue.d.ts +2 -2
  72. package/dist/tabs/EUITabs.vue.d.ts.map +1 -1
  73. package/dist/tag/EUITag.vue.d.ts +2 -2
  74. package/dist/tag/EUITag.vue.d.ts.map +1 -1
  75. package/dist/telephone/EUITelephone.vue.d.ts +3 -3
  76. package/dist/telephone/EUITelephone.vue.d.ts.map +1 -1
  77. package/dist/textArea/EUITextArea.vue.d.ts +2 -2
  78. package/dist/textArea/EUITextArea.vue.d.ts.map +1 -1
  79. package/dist/timeLine/EUITimeLine.vue.d.ts +2 -2
  80. package/dist/timeLine/EUITimeLine.vue.d.ts.map +1 -1
  81. package/dist/timeLine/EUITimeLineItem.vue.d.ts +2 -2
  82. package/dist/timeLine/EUITimeLineItem.vue.d.ts.map +1 -1
  83. package/dist/toggle/EUIToggle.vue.d.ts +2 -2
  84. package/dist/toggle/EUIToggle.vue.d.ts.map +1 -1
  85. package/dist/tooltip/EUITooltip.vue.d.ts +2 -2
  86. package/dist/tooltip/EUITooltip.vue.d.ts.map +1 -1
  87. package/package.json +1 -1
  88. package/src/components/input/EUIInput.vue +62 -24
  89. package/dist/EUISelectSearch.vue.d.ts +0 -4
  90. package/dist/EUISelectSearch.vue.d.ts.map +0 -1
  91. package/dist/button/EUIButton.vue.d.ts +0 -5
  92. package/dist/button/EUIButton.vue.d.ts.map +0 -1
  93. /package/src/components/checkbox/{EUICheckbox.stories.ts → EUIcheckbox.stories.ts} +0 -0
  94. /package/src/components/modal/{EUIModal.stories.ts → EUImodal.stories.ts} +0 -0
@@ -1,18 +1,47 @@
1
1
  <template>
2
2
  <div>
3
3
  <label
4
- v-if="!inputFilled && label"
5
- :for="`${name}-${id}`"
6
- :class="[
7
- 'text-xs w-full text-gray-500 cursor-pointer font-medium',
8
- required && `after:content-['*'] after:ml-0.5 after:text-red-500`,
9
- ]"
10
- >
11
- {{ label }}
12
- </label>
4
+ v-if="!inputFilled && label"
5
+ :for="`${name}-${id}`"
6
+ :class="[
7
+ 'text-xs w-full text-gray-500 cursor-pointer font-medium',
8
+ required && `after:content-['*'] after:ml-0.5 after:text-red-500`,
9
+ ]"
10
+ >
11
+ {{ label }}
12
+ </label>
13
13
  <div
14
- :class="[{'pointer-events-none cursor-not-allowed': disabled}, {'h-14 rounded-2xl focus-within:border-purple-600 focus-within:ring-1 focus-within:ring-purple-600 border border-gray-100': inputFilled}, 'group cursor-pointer relative w-full mb-2 overflow-hidden']"
14
+ :class="[
15
+ 'relative',
16
+ { 'pointer-events-none cursor-not-allowed': disabled },
17
+ {
18
+ 'h-14 rounded-2xl focus-within:border-purple-600 focus-within:ring-1 focus-within:ring-purple-600 border border-gray-100':
19
+ inputFilled,
20
+ },
21
+ 'group cursor-pointer relative w-full mb-2 overflow-hidden',
22
+ ]"
15
23
  >
24
+ <button
25
+ :class="inputValue ? ' absolute inset-y-0 right-3 ' : ' hidden '"
26
+ @click="emit('update:modelValue', '')"
27
+ >
28
+ <svg
29
+ xmlns="http://www.w3.org/2000/svg"
30
+ fill="none"
31
+ viewBox="0 0 24 24"
32
+ stroke-width="1.5"
33
+ stroke="currentColor"
34
+ class="size-5"
35
+ >
36
+ <!-- <path stroke-linecap="round" stroke-linejoin="round" d="m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z" />
37
+ -->
38
+ <path
39
+ stroke-linecap="round"
40
+ stroke-linejoin="round"
41
+ d="M6 18 18 6M6 6l12 12"
42
+ />
43
+ </svg>
44
+ </button>
16
45
  <label
17
46
  v-if="inputFilled"
18
47
  :for="`${name}-${id}`"
@@ -23,30 +52,39 @@
23
52
  : 'top-1/2 text-sm w-full text-gray-700 cursor-pointer h-14 pt-5 pb-4',
24
53
  disabled ? 'cursor-not-allowed bg-gray-50 z-10' : 'z-0 bg-white',
25
54
  required && `after:content-['*'] after:ml-0.5 after:text-red-500`,
26
- 'absolute font-medium left-0 px-4 -translate-y-1/2 duration-300 group-focus-within:top-3.5 group-focus-within:text-xs group-focus-within:text-gray-400 rounded-2xl group-focus-within:bg-transparent group-focus-within:-translate-y-1/2 group-focus-within:ring-transparent group-focus-within:h-auto group-focus-within:py-0 first-letter:capitalize transition-all ease-in-out'
55
+ 'absolute font-medium left-0 px-4 -translate-y-1/2 duration-300 group-focus-within:top-3.5 group-focus-within:text-xs group-focus-within:text-gray-400 rounded-2xl group-focus-within:bg-transparent group-focus-within:-translate-y-1/2 group-focus-within:ring-transparent group-focus-within:h-auto group-focus-within:py-0 first-letter:capitalize transition-all ease-in-out',
27
56
  ]"
28
57
  >
29
- {{ label || 'Label' }}
58
+ {{ label || "Label" }}
30
59
  </label>
31
60
  <div
32
61
  v-if="icon && iconType"
33
- :class="['absolute inset-y-0 flex items-center pointer-events-none', iconType === 'startIcon' ? 'left-0 pl-3' : 'right-0 pr-3', disabled ? 'z-20': '']"
62
+ :class="[
63
+ 'absolute inset-y-0 flex items-center pointer-events-none',
64
+ iconType === 'startIcon' ? 'left-0 pl-3' : 'right-0 pr-3',
65
+ disabled ? 'z-20' : '',
66
+ ]"
34
67
  >
35
- <component
36
- :is="icon"
37
- class="text-gray-400 size-6"
38
- aria-hidden="true"
39
- />
68
+ <component :is="icon" class="text-gray-400 size-6" aria-hidden="true" />
40
69
  </div>
41
70
  <input
42
71
  :id="`${name}-${id}`"
43
72
  ref="input"
44
- :type="type"
73
+ :type="type === 'search' ? 'text' : type"
45
74
  :value="modelValue"
46
75
  :placeholder="placeholder"
47
76
  :name="name"
48
- :class="['z-10 block placeholder:text-gray-400 focus:outline-none text-sm font-medium appearance-none disabled:opacity-75 autofill:bg-white leading-6 transition-all duration-100 border-none outline-none', inputFilled ? 'pt-6 pb-3 rounded-2xl size-full' : 'py-3 h-10 w-full ring-1 ring-gray-100 focus-within:ring-purple-600 focus-within:ring-2 ring-inset', !inputFilled && rounded ? 'rounded-2xl' : 'rounded-md', disabled ? 'cursor-not-allowed' : 'cursor-text', getIconClass(), !inputFilled && className]"
49
-
77
+ :class="[
78
+ 'z-10 block placeholder:text-gray-400 focus:outline-none text-sm font-medium appearance-none disabled:opacity-75 autofill:bg-white leading-6 transition-all duration-100 border-none outline-none',
79
+ inputFilled
80
+ ? 'pt-6 pb-3 rounded-2xl size-full'
81
+ : 'py-3 h-10 w-full ring-1 ring-gray-100 focus-within:ring-purple-600 focus-within:ring-2 ring-inset',
82
+ !inputFilled && rounded ? 'rounded-2xl' : 'rounded-md',
83
+ disabled ? 'cursor-not-allowed' : 'cursor-text',
84
+ getIconClass(),
85
+ !inputFilled && className,
86
+ 'pr-8'
87
+ ]"
50
88
  :required="required"
51
89
  :disabled="disabled"
52
90
  :readonly="readonly"
@@ -124,10 +162,10 @@ const props = defineProps({
124
162
  default: false,
125
163
  },
126
164
  inputFilled: {
127
- type:Boolean,
128
- default: false
165
+ type: Boolean,
166
+ default: false,
129
167
  },
130
- rounded:Boolean,
168
+ rounded: Boolean,
131
169
  className: {
132
170
  type: Array as PropType<string[]>,
133
171
  required: false,
@@ -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"}