@quaffui/quaff 0.1.0-prealpha14 → 0.1.0-prealpha15
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/components/avatar/QAvatar.svelte +36 -28
- package/dist/components/avatar/QAvatar.svelte.d.ts +0 -1
- package/dist/components/avatar/docs.props.js +2 -0
- package/dist/components/breadcrumbs/QBreadcrumbs.svelte +2 -7
- package/dist/components/breadcrumbs/QBreadcrumbsEl.svelte +9 -17
- package/dist/components/breadcrumbs/docs.props.js +2 -0
- package/dist/components/button/QBtn.svelte +12 -20
- package/dist/components/button/docs.props.js +2 -0
- package/dist/components/card/QCard.svelte +8 -9
- package/dist/components/card/QCardActions.svelte +6 -10
- package/dist/components/card/QCardSection.svelte +7 -9
- package/dist/components/card/docs.props.js +2 -0
- package/dist/components/checkbox/QCheckbox.svelte +6 -8
- package/dist/components/checkbox/docs.props.js +2 -0
- package/dist/components/chip/QChip.svelte +17 -24
- package/dist/components/chip/docs.props.js +2 -0
- package/dist/components/codeBlock/docs.props.js +2 -0
- package/dist/components/dialog/QDialog.svelte +38 -47
- package/dist/components/dialog/QDialog.svelte.d.ts +6 -5
- package/dist/components/dialog/docs.props.js +6 -4
- package/dist/components/dialog/index.scss +5 -4
- package/dist/components/dialog/props.d.ts +4 -4
- package/dist/components/drawer/docs.props.js +2 -0
- package/dist/components/footer/docs.props.js +2 -0
- package/dist/components/header/docs.props.js +2 -0
- package/dist/components/icon/QIcon.svelte +9 -16
- package/dist/components/icon/QIcon.svelte.d.ts +0 -1
- package/dist/components/icon/docs.props.js +2 -0
- package/dist/components/input/docs.props.js +2 -0
- package/dist/components/layout/docs.props.js +2 -0
- package/dist/components/list/QItem.svelte +25 -25
- package/dist/components/list/QItemSection.svelte +6 -9
- package/dist/components/list/QList.svelte +12 -13
- package/dist/components/list/docs.props.js +2 -0
- package/dist/components/private/QDocsSection.svelte +1 -1
- package/dist/components/progress/QCircularProgress.svelte +13 -9
- package/dist/components/progress/QLinearProgress.svelte +17 -23
- package/dist/components/progress/QLinearProgress.svelte.d.ts +0 -1
- package/dist/components/progress/docs.props.js +2 -0
- package/dist/components/progress/index.scss +20 -3
- package/dist/components/radio/QRadio.svelte +2 -8
- package/dist/components/radio/docs.props.js +2 -0
- package/dist/components/railbar/docs.props.js +2 -0
- package/dist/components/select/docs.props.js +2 -0
- package/dist/components/separator/QSeparator.svelte +38 -44
- package/dist/components/separator/docs.props.js +2 -0
- package/dist/components/table/QTable.svelte +8 -15
- package/dist/components/table/docs.props.js +2 -0
- package/dist/components/tabs/docs.props.js +3 -1
- package/dist/components/toggle/QToggle.svelte +7 -15
- package/dist/components/toggle/docs.props.js +2 -0
- package/dist/components/toolbar/QToolbar.svelte +12 -16
- package/dist/components/toolbar/QToolbar.svelte.d.ts +0 -1
- package/dist/components/toolbar/docs.props.js +2 -0
- package/dist/components/tooltip/QTooltip.svelte +10 -8
- package/dist/components/tooltip/docs.props.js +2 -0
- package/dist/components/tooltip/index.scss +1 -0
- package/dist/css/index.css +1 -1
- package/dist/css/mixins/field-mixins.scss +9 -8
- package/dist/css/mixins.scss +3 -1
- package/dist/css/ripple.scss +8 -1
- package/dist/css/shared/q-field.scss +62 -49
- package/dist/css/theme/colors.module.scss +12 -12
- package/dist/helpers/ripple.js +12 -10
- package/dist/helpers/version.d.ts +1 -1
- package/dist/helpers/version.js +1 -1
- package/dist/utils/types.json +24 -1
- package/package.json +2 -2
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
font-family: inherit;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
@mixin clip-border($clip-
|
|
11
|
+
@mixin clip-border($clip-width, $clip-height) {
|
|
12
12
|
clip-path: polygon(
|
|
13
13
|
0% 0%,
|
|
14
14
|
0% 100%,
|
|
@@ -26,26 +26,27 @@
|
|
|
26
26
|
&::after {
|
|
27
27
|
content: "";
|
|
28
28
|
position: absolute;
|
|
29
|
-
top:
|
|
30
|
-
bottom:
|
|
29
|
+
top: -0.0625rem;
|
|
30
|
+
bottom: -0.0625rem;
|
|
31
31
|
width: calc(var(--wrapper-height) / 2);
|
|
32
32
|
height: var(--wrapper-height);
|
|
33
|
-
border:
|
|
33
|
+
border: 0.0625rem solid transparent;
|
|
34
34
|
border-top-color: var(--decorator-color);
|
|
35
35
|
border-radius: $border-radius;
|
|
36
|
+
box-sizing: border-box;
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
&::before {
|
|
39
|
-
left:
|
|
40
|
+
left: -0.0625rem;
|
|
40
41
|
border-top-right-radius: 0px;
|
|
41
42
|
border-bottom-right-radius: 0px;
|
|
42
|
-
$clip-height: 0.
|
|
43
|
+
$clip-height: 0.25rem;
|
|
43
44
|
$clip-width: if($variant == "outlined", 0.9375rem, 0.3125rem);
|
|
44
|
-
@include clip-border($clip-
|
|
45
|
+
@include clip-border($clip-width, $clip-height);
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
&::after {
|
|
48
|
-
right:
|
|
49
|
+
right: -0.0625rem;
|
|
49
50
|
border-top-left-radius: 0px;
|
|
50
51
|
border-bottom-left-radius: 0px;
|
|
51
52
|
}
|
package/dist/css/mixins.scss
CHANGED
|
@@ -65,7 +65,9 @@
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
// Left drawer + Right drawer
|
|
68
|
-
&.q-drawer--left
|
|
68
|
+
&.q-drawer--left
|
|
69
|
+
~ .q-drawer--active.q-drawer--right:not(.q-drawer--offset-#{$pos}, .q-drawer--overlay)
|
|
70
|
+
~ .q-#{$el} {
|
|
69
71
|
width: calc(#{$baseWidth} - #{$LR_Drawer});
|
|
70
72
|
}
|
|
71
73
|
}
|
package/dist/css/ripple.scss
CHANGED
|
@@ -19,19 +19,50 @@ $transition-duration: 0.2s;
|
|
|
19
19
|
|
|
20
20
|
&__wrapper {
|
|
21
21
|
--decorator-color: var(--outline);
|
|
22
|
-
--border-width: 0.0625rem;
|
|
23
22
|
display: flex;
|
|
24
23
|
position: relative;
|
|
25
24
|
height: var(--wrapper-height);
|
|
26
25
|
}
|
|
27
26
|
|
|
27
|
+
&--rounded#{&}--active &__wrapper {
|
|
28
|
+
$clip-x1: 1.25rem;
|
|
29
|
+
$clip-x2: 1.5rem;
|
|
30
|
+
$clip-y: 0.125rem;
|
|
31
|
+
|
|
32
|
+
// clip path has to go beyond 0% and 100% for y because of the floating label
|
|
33
|
+
clip-path: polygon(
|
|
34
|
+
0% -20%,
|
|
35
|
+
$clip-x1 -20%,
|
|
36
|
+
$clip-x1 $clip-y,
|
|
37
|
+
$clip-x2 $clip-y,
|
|
38
|
+
$clip-x2 -20%,
|
|
39
|
+
100% -20%,
|
|
40
|
+
100% 120%,
|
|
41
|
+
0% 120%
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
|
|
28
45
|
&--default &__wrapper,
|
|
29
46
|
&--filled &__wrapper {
|
|
30
|
-
border-bottom:
|
|
47
|
+
border-bottom: 0.0625rem solid var(--decorator-color);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&--focus#{&}--default &__wrapper,
|
|
51
|
+
&--focus#{&}--filled &__wrapper {
|
|
52
|
+
border-bottom: 0.0625rem solid var(--decorator-color);
|
|
53
|
+
box-shadow: inset 0 -0.0625rem 0 var(--decorator-color);
|
|
31
54
|
}
|
|
32
55
|
|
|
33
56
|
&--has-border &__wrapper {
|
|
34
|
-
border:
|
|
57
|
+
border: 0.0625rem solid var(--decorator-color);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&--focus#{&}--has-border &__wrapper {
|
|
61
|
+
box-shadow:
|
|
62
|
+
inset 0.0625rem 0 0 var(--decorator-color),
|
|
63
|
+
inset -0.0625rem 0 0 var(--decorator-color),
|
|
64
|
+
inset 0 0.0625rem 0 0 var(--decorator-color),
|
|
65
|
+
inset 0 -0.0625rem 0 0 var(--decorator-color);
|
|
35
66
|
}
|
|
36
67
|
|
|
37
68
|
&__wrapper {
|
|
@@ -54,6 +85,14 @@ $transition-duration: 0.2s;
|
|
|
54
85
|
|
|
55
86
|
&--label#{&}--active#{&}--has-border &__wrapper {
|
|
56
87
|
border-top-color: transparent;
|
|
88
|
+
box-shadow: none;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&--label#{&}--focus#{&}--has-border &__wrapper {
|
|
92
|
+
box-shadow:
|
|
93
|
+
inset 0.0625rem 0 0 var(--decorator-color),
|
|
94
|
+
inset -0.0625rem 0 0 var(--decorator-color),
|
|
95
|
+
inset 0 -0.0625rem 0 0 var(--decorator-color);
|
|
57
96
|
}
|
|
58
97
|
|
|
59
98
|
&--label#{&}--active#{&}--rounded &__wrapper {
|
|
@@ -95,7 +134,7 @@ $transition-duration: 0.2s;
|
|
|
95
134
|
|
|
96
135
|
&--default:not(#{&}--dense) &__label,
|
|
97
136
|
&--filled:not(#{&}--dense) &__label {
|
|
98
|
-
top:
|
|
137
|
+
top: 0.0625rem;
|
|
99
138
|
}
|
|
100
139
|
|
|
101
140
|
&--slot-prepend#{&}--default &__label,
|
|
@@ -120,24 +159,11 @@ $transition-duration: 0.2s;
|
|
|
120
159
|
left: 1.4375rem;
|
|
121
160
|
}
|
|
122
161
|
|
|
123
|
-
&--has-border#{&}--focus &
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
@include clip-border(0.3125rem, 0.4375rem);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
&--label#{&}--outlined#{&}--focus &__wrapper::before {
|
|
132
|
-
@include clip-border(0.3125rem, 1.0625rem);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
&--rounded#{&}--focus &__input {
|
|
136
|
-
padding-left: 1.375rem;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
&--outlined#{&}--focus &__input {
|
|
140
|
-
padding-left: 0.6875rem;
|
|
162
|
+
&--label#{&}--has-border#{&}--focus &__wrapper {
|
|
163
|
+
&::before,
|
|
164
|
+
&::after {
|
|
165
|
+
box-shadow: inset 0 0.0625rem 0 var(--decorator-color);
|
|
166
|
+
}
|
|
141
167
|
}
|
|
142
168
|
|
|
143
169
|
&--outlined &__label {
|
|
@@ -158,7 +184,7 @@ $transition-duration: 0.2s;
|
|
|
158
184
|
display: block;
|
|
159
185
|
margin-left: 0.25rem;
|
|
160
186
|
flex-grow: 1;
|
|
161
|
-
border-top-width:
|
|
187
|
+
border-top-width: 0.0625rem;
|
|
162
188
|
border-top-style: solid;
|
|
163
189
|
border-top-color: var(--decorator-color);
|
|
164
190
|
min-width: 0.625rem;
|
|
@@ -169,17 +195,17 @@ $transition-duration: 0.2s;
|
|
|
169
195
|
}
|
|
170
196
|
|
|
171
197
|
&--active#{&}--rounded &__label {
|
|
172
|
-
right: calc(var(--wrapper-height) / 2);
|
|
198
|
+
right: calc(var(--wrapper-height) / 2 - 0.125rem);
|
|
173
199
|
}
|
|
174
200
|
|
|
175
201
|
&--active#{&}--outlined &__label {
|
|
176
|
-
right:
|
|
202
|
+
right: 1.375rem;
|
|
177
203
|
}
|
|
178
204
|
|
|
179
205
|
&--active &__label {
|
|
180
206
|
font-size: 0.75rem;
|
|
181
207
|
line-height: 0px;
|
|
182
|
-
margin-top:
|
|
208
|
+
margin-top: -0.0625rem;
|
|
183
209
|
}
|
|
184
210
|
|
|
185
211
|
&--active#{&}--default &__label,
|
|
@@ -189,7 +215,10 @@ $transition-duration: 0.2s;
|
|
|
189
215
|
|
|
190
216
|
&--focus &__wrapper {
|
|
191
217
|
--decorator-color: var(--primary);
|
|
192
|
-
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
&--focus#{&}--has-border &__label::after {
|
|
221
|
+
border-top-width: 0.125rem;
|
|
193
222
|
}
|
|
194
223
|
|
|
195
224
|
&__input {
|
|
@@ -203,7 +232,7 @@ $transition-duration: 0.2s;
|
|
|
203
232
|
&--default &__input,
|
|
204
233
|
&--filled &__input {
|
|
205
234
|
padding: 0 1rem;
|
|
206
|
-
padding-top:
|
|
235
|
+
padding-top: 0.9375rem;
|
|
207
236
|
}
|
|
208
237
|
|
|
209
238
|
&--focus#{&}--default &__input,
|
|
@@ -212,7 +241,7 @@ $transition-duration: 0.2s;
|
|
|
212
241
|
}
|
|
213
242
|
|
|
214
243
|
&--rounded &__input {
|
|
215
|
-
padding: 0
|
|
244
|
+
padding: 0 1.4375rem;
|
|
216
245
|
}
|
|
217
246
|
|
|
218
247
|
&--outlined &__input {
|
|
@@ -255,36 +284,20 @@ $transition-duration: 0.2s;
|
|
|
255
284
|
}
|
|
256
285
|
}
|
|
257
286
|
|
|
258
|
-
// prevent content moving up due to bottom border
|
|
259
|
-
&--focus#{&}--default &__slot-prepend,
|
|
260
|
-
&--focus#{&}--default &__slot-append,
|
|
261
|
-
&--focus#{&}--filled &__slot-prepend,
|
|
262
|
-
&--focus#{&}--filled &__slot-append {
|
|
263
|
-
margin-bottom: -0.0625rem;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
287
|
&__slot-prepend {
|
|
267
|
-
padding-left:
|
|
288
|
+
padding-left: 0.75rem;
|
|
268
289
|
}
|
|
269
290
|
|
|
270
291
|
&--rounded &__slot-prepend {
|
|
271
|
-
padding-left:
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
&--focus#{&}--has-border &__slot-prepend {
|
|
275
|
-
margin-left: -1px;
|
|
292
|
+
padding-left: 1rem;
|
|
276
293
|
}
|
|
277
294
|
|
|
278
295
|
&__slot-append {
|
|
279
|
-
padding-right:
|
|
296
|
+
padding-right: 0.75rem;
|
|
280
297
|
}
|
|
281
298
|
|
|
282
299
|
&--rounded &__slot-append {
|
|
283
|
-
padding-right:
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
&--focus#{&}--has-border &__slot-append {
|
|
287
|
-
margin-right: -1px;
|
|
300
|
+
padding-right: 1rem;
|
|
288
301
|
}
|
|
289
302
|
|
|
290
303
|
&__slot-before {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
}
|
|
19
19
|
.primary {
|
|
20
20
|
@extend .bg-primary;
|
|
21
|
-
@extend .text-on-primary
|
|
21
|
+
@extend .text-on-primary;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.bg-primary-container {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
}
|
|
42
42
|
.primary-container {
|
|
43
43
|
@extend .bg-primary-container;
|
|
44
|
-
@extend .text-on-primary-container
|
|
44
|
+
@extend .text-on-primary-container;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.bg-secondary {
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
}
|
|
65
65
|
.secondary {
|
|
66
66
|
@extend .bg-secondary;
|
|
67
|
-
@extend .text-on-secondary
|
|
67
|
+
@extend .text-on-secondary;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.bg-secondary-container {
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
}
|
|
88
88
|
.secondary-container {
|
|
89
89
|
@extend .bg-secondary-container;
|
|
90
|
-
@extend .text-on-secondary-container
|
|
90
|
+
@extend .text-on-secondary-container;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
.bg-tertiary {
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
}
|
|
111
111
|
.tertiary {
|
|
112
112
|
@extend .bg-tertiary;
|
|
113
|
-
@extend .text-on-tertiary
|
|
113
|
+
@extend .text-on-tertiary;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
.bg-tertiary-container {
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
}
|
|
134
134
|
.tertiary-container {
|
|
135
135
|
@extend .bg-tertiary-container;
|
|
136
|
-
@extend .text-on-tertiary-container
|
|
136
|
+
@extend .text-on-tertiary-container;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
.bg-error {
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
}
|
|
157
157
|
.error {
|
|
158
158
|
@extend .bg-error;
|
|
159
|
-
@extend .text-on-error
|
|
159
|
+
@extend .text-on-error;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
.bg-error-container {
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
}
|
|
180
180
|
.error-container {
|
|
181
181
|
@extend .bg-error-container;
|
|
182
|
-
@extend .text-on-error-container
|
|
182
|
+
@extend .text-on-error-container;
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
.bg-background {
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
}
|
|
203
203
|
.background {
|
|
204
204
|
@extend .bg-background;
|
|
205
|
-
@extend .text-on-background
|
|
205
|
+
@extend .text-on-background;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
.bg-surface {
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
}
|
|
226
226
|
.surface {
|
|
227
227
|
@extend .bg-surface;
|
|
228
|
-
@extend .text-on-surface
|
|
228
|
+
@extend .text-on-surface;
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
.bg-surface-variant {
|
|
@@ -248,7 +248,7 @@
|
|
|
248
248
|
}
|
|
249
249
|
.surface-variant {
|
|
250
250
|
@extend .bg-surface-variant;
|
|
251
|
-
@extend .text-on-surface-variant
|
|
251
|
+
@extend .text-on-surface-variant;
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
.bg-outline {
|
|
@@ -329,4 +329,4 @@
|
|
|
329
329
|
}
|
|
330
330
|
.border-scrim {
|
|
331
331
|
border-color: var(--scrim) !important;
|
|
332
|
-
}
|
|
332
|
+
}
|
package/dist/helpers/ripple.js
CHANGED
|
@@ -1,29 +1,31 @@
|
|
|
1
1
|
const triggerEvents = ["pointerdown", "touchstart", "keydown"];
|
|
2
2
|
const cancelEvents = ["mouseleave", "dragleave", "touchmove", "touchcancel", "pointerup", "keyup"];
|
|
3
3
|
export function ripple(el, options = {}) {
|
|
4
|
+
const rippleContainer = document.createElement("div");
|
|
5
|
+
addClasses();
|
|
6
|
+
setOptions(options);
|
|
7
|
+
el.appendChild(rippleContainer);
|
|
4
8
|
function addClasses(center) {
|
|
5
9
|
let shouldBeCentered = center || options.center;
|
|
6
|
-
if (!
|
|
7
|
-
|
|
10
|
+
if (!rippleContainer.classList.contains("q-ripple--effect")) {
|
|
11
|
+
rippleContainer.classList.add("q-ripple--effect");
|
|
8
12
|
}
|
|
9
|
-
if (!shouldBeCentered &&
|
|
10
|
-
|
|
13
|
+
if (!shouldBeCentered && rippleContainer.classList.contains("q-ripple--center")) {
|
|
14
|
+
rippleContainer.classList.remove("q-ripple--center");
|
|
11
15
|
}
|
|
12
|
-
shouldBeCentered &&
|
|
16
|
+
shouldBeCentered && rippleContainer.classList.add("q-ripple--center");
|
|
13
17
|
}
|
|
14
18
|
function setOptions(options) {
|
|
15
19
|
if (options.duration && options.duration < 0) {
|
|
16
20
|
options.duration = undefined;
|
|
17
21
|
}
|
|
18
22
|
if (options.color) {
|
|
19
|
-
|
|
23
|
+
rippleContainer.style.setProperty("--ripple-color", options.color);
|
|
20
24
|
}
|
|
21
25
|
if (options.duration) {
|
|
22
|
-
|
|
26
|
+
rippleContainer.style.setProperty("--ripple-duration", `${options.duration}ms`);
|
|
23
27
|
}
|
|
24
28
|
}
|
|
25
|
-
addClasses();
|
|
26
|
-
setOptions(options);
|
|
27
29
|
function createRipple(e, center) {
|
|
28
30
|
if (options.disable || el.hasAttribute("aria-disabled"))
|
|
29
31
|
return;
|
|
@@ -52,7 +54,7 @@ export function ripple(el, options = {}) {
|
|
|
52
54
|
ripple.style.left = `${clientX - rect.left - radius}px`;
|
|
53
55
|
ripple.style.top = `${clientY - rect.top - radius}px`;
|
|
54
56
|
ripple.style.width = ripple.style.height = `${radius * 2}px`;
|
|
55
|
-
|
|
57
|
+
rippleContainer.appendChild(ripple);
|
|
56
58
|
function removeRipple() {
|
|
57
59
|
if (ripple === null)
|
|
58
60
|
return;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.1.0-
|
|
1
|
+
declare const _default: "0.1.0-prealpha15";
|
|
2
2
|
export default _default;
|
package/dist/helpers/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default "0.1.0-
|
|
1
|
+
export default "0.1.0-prealpha15";
|
package/dist/utils/types.json
CHANGED
|
@@ -1 +1,24 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"QAvatarShapeOptions": "type QAvatarShapeOptions =\n | \"circle\"\n | \"rounded\"\n | \"top-round\"\n | \"left-round\"\n | \"right-round\"\n | \"bottom-round\"\n | \"top-left-round\"\n | \"top-right-round\"\n | \"bottom-left-round\"\n | \"bottom-right-round\"",
|
|
3
|
+
"QAvatarSizeOptions": "type QAvatarSizeOptions = QuaffSizes | CssValue | number",
|
|
4
|
+
"QBreadcrumbsGutterOptions": "type QBreadcrumbsGutterOptions = \"none\" | \"sm\" | \"md\" | \"lg\"",
|
|
5
|
+
"QBtnSizeOptions": "type QBtnSizeOptions = Exclude<QuaffSizes, \"xs\">",
|
|
6
|
+
"QCardFillColors": "type QCardFillColors = \"primary\" | \"secondary\" | \"tertiary\"",
|
|
7
|
+
"QChipSizeOptions": "type QChipSizeOptions = Exclude<QuaffSizes, \"xs\" | \"xl\">",
|
|
8
|
+
"QDialogPositionOptions": "type QDialogPositionOptions = \"default\" | \"top\" | \"right\" | \"bottom\" | \"left\"",
|
|
9
|
+
"QDrawerBehaviorOptions": "type QDrawerBehaviorOptions = \"default\" | \"desktop\" | \"mobile\"",
|
|
10
|
+
"QDrawerSideOptions": "type QDrawerSideOptions = \"left\" | \"right\"",
|
|
11
|
+
"QIconSizeOptions": "type QIconSizeOptions = QuaffSizes | CssValue | number",
|
|
12
|
+
"QIconTypeOptions": "type QIconTypeOptions = \"outlined\" | \"sharp\" | \"rounded\"",
|
|
13
|
+
"QItemSectionTypes": "type QItemSectionTypes =\n | \"thumbnail\"\n | \"video\"\n | \"avatar\"\n | \"toggle\"\n | \"icon\"\n | \"trailingIcon\"\n | \"trailingText\"\n | \"content\"",
|
|
14
|
+
"QLayoutEvents": "type QLayoutEvents = \"resize\" | \"scroll\" | \"scrollHeight\"",
|
|
15
|
+
"QLayoutViewOptions": "type QLayoutViewOptions = `${\"l\"|\"h\"}${\"h\"|\"H\"}${\"r\"|\"h\"} ${\"l\"|\"L\"}${\"p\"}${\"r\"|\"R\"} ${\"l\"|\"f\"}${\"f\"|\"F\"}${\"r\"|\"f\"}`",
|
|
16
|
+
"QSelectMultipleValue": "type QSelectMultipleValue = QSelectSingleValue[]",
|
|
17
|
+
"QSelectOption": "type QSelectOption = string | { label: string, value: string }",
|
|
18
|
+
"QSelectSingleValue": "type QSelectSingleValue = string | number",
|
|
19
|
+
"QSelectValue": "type QSelectValue = QSelectSingleValue | QSelectMultipleValue",
|
|
20
|
+
"QTableColumn": "type QTableColumn = {\n name: string\n required?: boolean;\n label: string;\n align?: \"left\" | \"center\" | \"right\";\n field: string | ((row: QTableRow) => string);\n format?: (val: string) => string;\n sortable?: boolean;\n sort?: (a: string, b: string) => number;\n};",
|
|
21
|
+
"QTableRow": "type QTableRow = {\n [key: string]: string | number\n};",
|
|
22
|
+
"QTableSort": "type QTableSort = {\n columnField: string | ((row: QTableRow) => string)\n type: \"asc\" | \"desc\";\n} | null;",
|
|
23
|
+
"QTabsVariants": "type QTabsVariants = \"primary\" | \"secondary\" | \"vertical\""
|
|
24
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quaffui/quaff",
|
|
3
|
-
"version": "0.1.0-
|
|
3
|
+
"version": "0.1.0-prealpha15",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite dev",
|
|
6
6
|
"open": "vite dev --open",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"test:unit": "vitest",
|
|
15
15
|
"lint": "prettier --plugin-search-dir . --check . && eslint .",
|
|
16
16
|
"format": "prettier --plugin-search-dir . --write .",
|
|
17
|
-
"docgen": "ts-node-
|
|
17
|
+
"docgen": "NODE_OPTIONS='--loader ts-node/esm/transpile-only --no-warnings' node docgen/props/run.ts",
|
|
18
18
|
"snippet": "ts-node-esm docgen/snippets/parseSnippets.ts"
|
|
19
19
|
},
|
|
20
20
|
"exports": {
|