edvoyui-component-library-test-flight 0.0.60 → 0.0.62

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.
@@ -1,5 +1,5 @@
1
1
  export * from "/Volumes/work/repos/edvoy-ui-v2/src/components/searchexpand/EUISearchExpand.vue?vue&type=script&setup=true&lang.ts";
2
- import "/Volumes/work/repos/edvoy-ui-v2/src/components/searchexpand/EUISearchExpand.vue?vue&type=style&index=0&scoped=8366625e&lang.css";
2
+ import "/Volumes/work/repos/edvoy-ui-v2/src/components/searchexpand/EUISearchExpand.vue?vue&type=style&index=0&scoped=3af29ac1&lang.css";
3
3
  declare const _default: any;
4
4
  export default _default;
5
5
  //# sourceMappingURL=EUISearchExpand.vue.d.ts.map
@@ -0,0 +1,5 @@
1
+ export * from "/Volumes/work/repos/edvoy-ui-v2/src/components/table/UCheckbox.vue?vue&type=script&lang.ts";
2
+ import "/Volumes/work/repos/edvoy-ui-v2/src/components/table/UCheckbox.vue?vue&type=style&index=0&lang.scss";
3
+ declare const _default: any;
4
+ export default _default;
5
+ //# sourceMappingURL=UCheckbox.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UCheckbox.vue.d.ts","sourceRoot":"","sources":["../../src/components/table/UCheckbox.vue"],"names":[],"mappings":"AACA,cAAc,4FAA4F,CAAC;AA6B3G,OAAO,qGAAqG,CAAC;;AAE7G,wBAAiF"}
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "/Volumes/work/repos/edvoy-ui-v2/src/components/table/UTable.vue?vue&type=script&setup=true&lang.ts";
2
+ export * from "/Volumes/work/repos/edvoy-ui-v2/src/components/table/UTable.vue?vue&type=script&setup=true&lang.ts";
3
+ export default _sfc_main;
4
+ //# sourceMappingURL=UTable.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UTable.vue.d.ts","sourceRoot":"","sources":["../../src/components/table/UTable.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oGAAoG,CAAC;AAC3H,cAAc,oGAAoG,CAAC;AACnH,eAAe,SAAS,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "edvoyui-component-library-test-flight",
3
3
  "private": false,
4
- "version": "0.0.60",
4
+ "version": "0.0.62",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist/",
@@ -31,6 +31,7 @@ export { default as EUIPagination } from "./table/EUIPagination.vue";
31
31
  export { default as EUIPageLimit } from "./table/EUIPageLimit.vue";
32
32
  export { default as EUITableCheckbox } from "./table/EUITableCheckbox.vue";
33
33
 
34
+ export { default as UTable } from "./table/UTable.vue";
34
35
  export { default as EUITable } from "./table/EUITable.vue";
35
36
  export { default as EUIStudentPagination } from "./table/EUIStudentPagination.vue";
36
37
  export { default as EUIMultiDropdown } from "./dropdown/EUIMultiDropdown.vue";
@@ -10,14 +10,14 @@
10
10
  <div class="relative max-w-80 z-[calc(infinity)]">
11
11
  <div
12
12
  :class="[
13
- 'relative flex items-center duration-300 ease-linear bg-gray-100 border border-gray-200 rounded-full pe-1 group-focus-within:ring-2 ring-purple-200 group-focus-within:border-gray-300 transition-all delay-100',
13
+ 'relative flex items-center duration-300 ease-linear bg-gray-100 rounded-full pe-1 group-focus-within:ring-2 ring-purple-200 group-focus-within:border-gray-200 group-focus-within:border transition-all delay-75',
14
14
  isExpanded
15
15
  ? 'group-focus-within:w-80 text-gray-300 h-10'
16
16
  : 'size-10 text-gray-500',
17
17
  ]"
18
18
  >
19
19
  <SearchBigZoomIn
20
- class="absolute text-current transition-colors size-6 top-2 left-2"
20
+ class="absolute text-current size-6 top-2 left-2"
21
21
  />
22
22
  <input
23
23
  v-if="isExpanded"
@@ -1,6 +1,5 @@
1
1
  <template>
2
2
  <label :class="classes">
3
- <span class="text-[0.5rem] absolute z-20 top-0 text-gray-400">{{ selected }}</span>
4
3
  <input
5
4
  v-model="selected"
6
5
  data-test="checkbox-toggle"
@@ -100,31 +99,28 @@ export default {
100
99
 
101
100
  <style lang="scss">
102
101
  .ui-checkbox {
103
- @apply inline-flex items-center mt-3 cursor-pointer;
102
+ @apply inline-flex items-center cursor-pointer;
104
103
  &__input {
105
- @apply w-5 h-5 flex-shrink-0 border border-solid border-gray-50 bg-white appearance-none inline-block select-none cursor-pointer align-middle rounded relative;
104
+ @apply w-5 h-5 flex-shrink-0 border border-solid border-gray-200 bg-white appearance-none inline-block select-none cursor-pointer align-middle rounded relative;
106
105
  &::after {
107
- @apply absolute hidden border-solid inset-x-0 top-0 m-auto;
106
+ @apply absolute hidden border-solid inset-x-0 top-0 m-auto w-1.5 h-2.5 bottom-0.5;
108
107
  content: "";
109
- width: 6px;
110
- height: 10px;
111
- bottom: 2px;
112
108
  border-width: 0 3px 3px 0;
113
109
  -webkit-transform: rotate(45deg);
114
110
  -ms-transform: rotate(45deg);
115
111
  transform: rotate(45deg);
116
112
  }
117
113
  &:hover {
118
- @apply bg-gray-300;
114
+ @apply bg-purple-100 border-purple-200;
119
115
  }
120
116
  &:checked {
121
- @apply bg-white border-blue-600;
117
+ @apply bg-white border-purple-600;
122
118
  &::after {
123
- @apply block border-blue-600;
119
+ @apply block border-purple-700;
124
120
  }
125
121
  }
126
122
  &:focus {
127
- @apply outline-none border-2 border-blue-600 bg-gray-200;
123
+ @apply outline-none border-2 border-purple-700 bg-purple-100;
128
124
  }
129
125
  &:disabled {
130
126
  @apply bg-gray-300 border-gray-100 cursor-not-allowed;
@@ -134,7 +130,7 @@ export default {
134
130
  &:checked {
135
131
  @apply bg-white border-white;
136
132
  &::after {
137
- @apply block border-gray-50;
133
+ @apply block border-gray-100;
138
134
  }
139
135
  }
140
136
  }
@@ -155,9 +151,9 @@ export default {
155
151
  }
156
152
  &--indeterminate & {
157
153
  &__input {
158
- @apply border-blue-600;
154
+ @apply border-purple-700;
159
155
  &::after {
160
- @apply block bg-blue-600 border-0 bottom-0 transform-none;
156
+ @apply block bg-purple-700 border-0 bottom-0 transform-none;
161
157
  width: 10px;
162
158
  height: 2px;
163
159
  }
@@ -0,0 +1,73 @@
1
+ .ui-table {
2
+ @apply bg-white bg-no-repeat;
3
+ background-image: linear-gradient(to right, white, white),
4
+ linear-gradient(to right, white, white),
5
+ linear-gradient(to right, rgba(223, 231, 242, 1), rgba(255, 255, 255, 0)),
6
+ linear-gradient(to left, rgba(223, 231, 242, 1), rgba(255, 255, 255, 0)),
7
+ linear-gradient(to top, white, rgba(255, 255, 255, 0)),
8
+ linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(223, 231, 242, 1));
9
+ background-position: left center, right center, left center, right center,
10
+ left bottom, left bottom;
11
+ background-size: 30px 100%, 30px 100%, 20px 100%, 20px 100%, 100% 100px,
12
+ 100% 20px;
13
+ background-attachment: local, local, scroll, scroll, local, scroll;
14
+
15
+ .table {
16
+ @apply border-separate w-full border-0 border-spacing-0 border-gray-50 box-border;
17
+ border-spacing: 0;
18
+ thead {
19
+ @apply sticky top-0 left-0 z-20 before:-bottom-px before:left-0 before:absolute before:h-px before:w-full before:bg-gray-300 rounded-xl;
20
+ tr {
21
+ @apply flex flex-grow;
22
+ th {
23
+ @apply bg-gray-50 px-3 py-2 text-sm text-gray-600 text-left first-letter:uppercase border border-l-0 border-solid border-gray-200/50 cursor-auto whitespace-nowrap flex items-center last-of-type:rounded-tr-lg first-of-type:rounded-tl-lg first:border-l last:border-r font-medium snap-start snap-always h-12;
24
+ transition: all 0.15s ease-out;
25
+ &:first-of-type.checkable {
26
+ @apply min-h-11 flex items-center justify-center px-2 max-w-[45px] w-[45px] sticky left-0 top-0 z-20 bg-gray-100;
27
+ }
28
+ &:last-of-type {
29
+ max-width: unset !important;
30
+ }
31
+ }
32
+ }
33
+ }
34
+ tbody {
35
+ tr:not(.norecords) {
36
+ @apply flex flex-grow transition-all duration-100 ease-in-out last:mb-px;
37
+ &:hover {
38
+ transition: all 0.15s ease-out;
39
+ @apply bg-purple-50;
40
+ td {
41
+ @apply border-purple-500 border-t first:rounded-l-sm last:rounded-r-sm border-r-gray-200 last:border-r-purple-500 transition-colors duration-100 ease-in font-medium text-gray-900 bg-purple-50;
42
+ &:first-of-type.checkable {
43
+ @apply bg-purple-50;
44
+ }
45
+ }
46
+ }
47
+ td {
48
+ @apply relative text-sm text-gray-900 border-b border-solid break-words flex items-center border-0 first:border-l border-r border-gray-100 py-1.5 px-3 h-12;
49
+ &:first-of-type.checkable {
50
+ @apply w-[45px] text-center sticky left-0 top-0 z-[11] bg-white;
51
+ }
52
+ &:last-of-type {
53
+ max-width: unset !important;
54
+ }
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
60
+
61
+ .search-icon {
62
+ span {
63
+ &::after {
64
+ @apply absolute m-auto;
65
+ content: "";
66
+ width: 18px;
67
+ height: 18px;
68
+ top: 10px;
69
+ right: 14px;
70
+ background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='iso-8859-1'%3F%3E%3C!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='18px' height='18px' fill='%2393a3b8' viewBox='0 0 28.931 28.932' style='enable-background:new 0 0 28.931 28.932;' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M28.344,25.518l-6.114-6.115c1.486-2.067,2.303-4.537,2.303-7.137c0-3.275-1.275-6.355-3.594-8.672 C18.625,1.278,15.543,0,12.266,0C8.99,0,5.909,1.275,3.593,3.594C1.277,5.909,0.001,8.99,0.001,12.266 c0,3.276,1.275,6.356,3.592,8.674c2.316,2.316,5.396,3.594,8.673,3.594c2.599,0,5.067-0.813,7.136-2.303l6.114,6.115 c0.392,0.391,0.902,0.586,1.414,0.586c0.513,0,1.024-0.195,1.414-0.586C29.125,27.564,29.125,26.299,28.344,25.518z M6.422,18.111 c-1.562-1.562-2.421-3.639-2.421-5.846S4.86,7.983,6.422,6.421c1.561-1.562,3.636-2.422,5.844-2.422s4.284,0.86,5.845,2.422 c1.562,1.562,2.422,3.638,2.422,5.845s-0.859,4.283-2.422,5.846c-1.562,1.562-3.636,2.42-5.845,2.42S7.981,19.672,6.422,18.111z'/%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3C/svg%3E%0A");
71
+ }
72
+ }
73
+ }