@dolanske/vui 1.2.1 → 1.3.0
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/README.md +4 -27
- package/dist/components/Dropdown/Dropdown.vue.d.ts +15 -21
- package/dist/components/Popout/Popout.vue.d.ts +7 -13
- package/dist/shared/helpers.d.ts +2 -0
- package/dist/vui.css +1 -1
- package/dist/vui.js +3059 -3005
- package/package.json +1 -1
- package/src/components/CopyClipboard/CopyClipboard.vue +10 -3
- package/src/components/Dropdown/Dropdown.vue +1 -15
- package/src/components/Input/Counter.vue +1 -1
- package/src/components/Input/Password.vue +1 -1
- package/src/components/Pagination/Pagination.vue +25 -10
- package/src/components/Popout/Popout.vue +30 -9
- package/src/components/Popout/popout.scss +1 -0
- package/src/components/Table/Head.vue +23 -16
- package/src/components/Table/table.scss +7 -6
- package/src/components/Tooltip/Tooltip.vue +9 -17
- package/src/components/Tooltip/tooltip.scss +1 -4
- package/src/examples/ExampleCopyClipboard.vue +2 -2
- package/src/examples/ExamplePopouts.vue +1 -1
- package/src/examples/ExampleTables.vue +164 -0
- package/src/shared/helpers.ts +7 -0
- package/src/style/animation.scss +33 -5
- package/src/style/layout.scss +0 -35
- package/src/style/typography.scss +4 -2
package/src/style/animation.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.fade-enter-active,
|
|
2
2
|
.fade-leave-active {
|
|
3
|
-
transition:
|
|
3
|
+
transition: opacity 0.15s cubic-bezier(0.65, 0, 0.35, 1);
|
|
4
4
|
will-change: opacity;
|
|
5
5
|
}
|
|
6
6
|
|
|
@@ -9,14 +9,42 @@
|
|
|
9
9
|
opacity: 0;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
// Positioned fade-ins
|
|
13
|
+
|
|
14
|
+
// Defaults
|
|
15
|
+
.fade-top-enter-active,
|
|
16
|
+
.fade-top-leave-active,
|
|
17
|
+
.fade-bottom-enter-active,
|
|
18
|
+
.fade-bottom-leave-active,
|
|
19
|
+
.fade-right-enter-active,
|
|
20
|
+
.fade-right-leave-active,
|
|
21
|
+
.fade-left-enter-active,
|
|
22
|
+
.fade-left-leave-active {
|
|
14
23
|
transition: var(--transition);
|
|
15
24
|
transition-property: transform, opacity;
|
|
16
25
|
}
|
|
17
26
|
|
|
18
|
-
|
|
19
|
-
.fade-
|
|
27
|
+
// Specifics
|
|
28
|
+
.fade-top-enter-from,
|
|
29
|
+
.fade-top-leave-to {
|
|
30
|
+
opacity: 0;
|
|
31
|
+
transform: translateY(8px);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.fade-bottom-enter-from,
|
|
35
|
+
.fade-bottom-leave-to {
|
|
20
36
|
opacity: 0;
|
|
21
37
|
transform: translateY(8px);
|
|
22
38
|
}
|
|
39
|
+
|
|
40
|
+
.fade-right-enter-from,
|
|
41
|
+
.fade-right-leave-to {
|
|
42
|
+
opacity: 0;
|
|
43
|
+
transform: translateX(8px);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.fade-left-enter-from,
|
|
47
|
+
.fade-left-leave-to {
|
|
48
|
+
opacity: 0;
|
|
49
|
+
transform: translateX(-8px);
|
|
50
|
+
}
|
package/src/style/layout.scss
CHANGED
|
@@ -163,19 +163,6 @@ $sizes: 0, 'xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl', 'xxxl';
|
|
|
163
163
|
.p-#{$size} {
|
|
164
164
|
padding: var(--space-#{$size});
|
|
165
165
|
}
|
|
166
|
-
|
|
167
|
-
// Gap
|
|
168
|
-
// .g-#{$size} {
|
|
169
|
-
// gap: var(--space-#{$size});
|
|
170
|
-
// }
|
|
171
|
-
|
|
172
|
-
// .g-y-#{$size} {
|
|
173
|
-
// row-gap: var(--space-#{$size});
|
|
174
|
-
// }
|
|
175
|
-
|
|
176
|
-
// .g-x-#{$size} {
|
|
177
|
-
// column-gap: var(--space-#{$size});
|
|
178
|
-
// }
|
|
179
166
|
}
|
|
180
167
|
|
|
181
168
|
// Z-index
|
|
@@ -186,25 +173,3 @@ $zindexes: 0, 10, 20, 30, 40, 50, auto;
|
|
|
186
173
|
z-index: $zindex;
|
|
187
174
|
}
|
|
188
175
|
}
|
|
189
|
-
|
|
190
|
-
// Grid
|
|
191
|
-
|
|
192
|
-
// .grid {
|
|
193
|
-
// display: grid;
|
|
194
|
-
// }
|
|
195
|
-
|
|
196
|
-
// .inline-grid {
|
|
197
|
-
// display: inline-table;
|
|
198
|
-
// }
|
|
199
|
-
|
|
200
|
-
// $cols: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10;
|
|
201
|
-
|
|
202
|
-
// @each $col in $cols {
|
|
203
|
-
// .col-#{$col} {
|
|
204
|
-
// grid-template-columns: repeat($col, 1fr);
|
|
205
|
-
// }
|
|
206
|
-
|
|
207
|
-
// .row {
|
|
208
|
-
// grid-template-rows: repeat($col, 1fr);
|
|
209
|
-
// }
|
|
210
|
-
// }
|