@volverjs/ui-vue 0.0.10-beta.42 → 0.0.10-beta.43
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/VvAccordionGroup/VvAccordionGroup.vue.d.ts +12 -12
- package/dist/components/VvAccordionGroup/index.d.ts +4 -4
- package/dist/components/VvAction/VvAction.vue.d.ts +2 -2
- package/dist/components/VvAction/index.d.ts +1 -1
- package/dist/components/VvAlert/VvAlert.vue.d.ts +6 -6
- package/dist/components/VvAlert/index.d.ts +4 -3
- package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +9 -9
- package/dist/components/VvAlertGroup/index.d.ts +4 -4
- package/dist/components/VvAvatarGroup/VvAvatarGroup.vue.d.ts +4 -4
- package/dist/components/VvAvatarGroup/index.d.ts +2 -2
- package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +13 -13
- package/dist/components/VvBreadcrumb/index.d.ts +1 -1
- package/dist/components/VvButton/VvButton.vue.d.ts +4 -4
- package/dist/components/VvButton/index.d.ts +2 -2
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +4 -4
- package/dist/components/VvButtonGroup/index.d.ts +2 -2
- package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +3 -3
- package/dist/components/VvCheckboxGroup/index.d.ts +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +438 -559
- package/dist/components/VvCombobox/index.d.ts +21 -241
- package/dist/components/VvDialog/VvDialog.es.js +41 -165
- package/dist/components/VvDialog/VvDialog.umd.js +1 -1
- package/dist/components/VvDialog/VvDialog.vue.d.ts +9 -0
- package/dist/components/VvDialog/index.d.ts +7 -0
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +33 -268
- package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +8 -6
- package/dist/components/VvDropdown/index.d.ts +9 -117
- package/dist/components/VvIcon/VvIcon.vue.d.ts +1 -1
- package/dist/components/VvInputFile/VvInputFile.vue.d.ts +22 -105
- package/dist/components/VvInputFile/index.d.ts +7 -28
- package/dist/components/VvInputText/VvInputClearAction.d.ts +2 -2
- package/dist/components/VvInputText/VvInputPasswordAction.d.ts +4 -4
- package/dist/components/VvInputText/VvInputText.vue.d.ts +4 -4
- package/dist/components/VvInputText/index.d.ts +4 -9
- package/dist/components/VvNav/VvNav.vue.d.ts +9 -9
- package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +3 -3
- package/dist/components/VvRadioGroup/index.d.ts +1 -1
- package/dist/components/VvSelect/VvSelect.vue.d.ts +174 -184
- package/dist/components/VvSelect/index.d.ts +4 -4
- package/dist/components/VvTab/VvTab.vue.d.ts +13 -13
- package/dist/components/VvTab/index.d.ts +2 -2
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +2 -2
- package/dist/components/VvTextarea/index.d.ts +1 -1
- package/dist/components/VvTooltip/VvTooltip.vue.d.ts +2 -2
- package/dist/components/VvTooltip/index.d.ts +1 -1
- package/dist/components/index.es.js +23 -25
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/alert/useAlert.d.ts +47 -77
- package/dist/composables/index.es.js +1 -2
- package/dist/composables/useBlurhash.d.ts +1 -1
- package/dist/composables/useOptions.d.ts +3 -3
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/index.es.js +1 -4
- package/dist/index.umd.js +1 -1
- package/dist/props/index.d.ts +14 -121
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +283 -347
- package/dist/test/expect.d.ts +0 -1
- package/dist/types/input-file.d.ts +2 -9
- package/dist/utils/ObjectUtilities.d.ts +1 -1
- package/package.json +29 -30
- package/src/Volver.ts +6 -6
- package/src/assets/icons/detailed.json +1 -1
- package/src/assets/icons/normal.json +1 -1
- package/src/assets/icons/simple.json +1 -1
- package/src/components/VvButtonGroup/index.ts +1 -1
- package/src/components/VvCombobox/index.ts +6 -6
- package/src/components/VvDialog/VvDialog.vue +3 -5
- package/src/components/VvDialog/index.ts +4 -0
- package/src/components/VvInputText/VvInputText.vue +18 -18
- package/src/components/common/HintSlot.ts +2 -2
- package/src/composables/group/useInjectedGroupState.ts +3 -3
- package/src/composables/group/useProvideGroupState.ts +3 -3
- package/src/composables/useDefaults.ts +4 -4
- package/src/props/index.ts +1 -1
- package/src/types/group.ts +1 -1
- package/src/types/input-file.ts +10 -18
package/dist/index.es.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
-
var __publicField = (obj, key, value) =>
|
|
4
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
|
-
return value;
|
|
6
|
-
};
|
|
3
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
7
4
|
import { addCollection, addIcon, addAPIProvider } from "@iconify/vue";
|
|
8
5
|
import { ref } from "vue";
|
|
9
6
|
const SPLIT_LOWER_UPPER_RE = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu");
|
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@iconify/vue"),require("vue")):"function"==typeof define&&define.amd?define(["exports","@iconify/vue","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).volver={},e.vue$1,e.vue)}(this,(function(e,t,n){"use strict";var i=Object.defineProperty,o=(e,t,n)=>((
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@iconify/vue"),require("vue")):"function"==typeof define&&define.amd?define(["exports","@iconify/vue","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).volver={},e.vue$1,e.vue)}(this,(function(e,t,n){"use strict";var i=Object.defineProperty,o=(e,t,n)=>((e,t,n)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n);const r=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),s=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),c=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),l=/[^\p{L}\d]+/giu,u="$1\0$2",a="";function f(e){let t=e.trim();t=t.replace(r,u).replace(s,u),t=t.replace(l,"\0");let n=0,i=t.length;for(;"\0"===t.charAt(n);)n++;if(n===i)return[];for(;"\0"===t.charAt(i-1);)i--;return t.slice(n,i).split(/\0/g)}function d(e){const t=f(e);for(let n=0;n<t.length;n++){const e=t[n],i=c.exec(e);if(i){const o=i.index+(i[1]??i[2]).length;t.splice(n,1,e.slice(0,o),e.slice(o))}}return t}function h(e,t){const[n,i,o]=function(e,t={}){const n=t.split??(t.separateNumbers?d:f),i=t.prefixCharacters??a,o=t.suffixCharacters??a;let r=0,s=e.length;for(;r<e.length;){const t=e.charAt(r);if(!i.includes(t))break;r++}for(;s>r;){const t=s-1,n=e.charAt(t);if(!o.includes(n))break;s=t}return[e.slice(0,r),n(e.slice(r,s)),e.slice(s)]}(e,t);return n+i.map((r=null==t?void 0:t.locale,!1===r?e=>e.toLowerCase():e=>e.toLocaleLowerCase(r))).join((null==t?void 0:t.delimiter)??" ")+o;var r}const p=Symbol.for("volver");function v(e,t,n){const i=n||e.name;if(!i)return e;const o=null==t?void 0:t[i],r=e.props;return o&&r?{...e,name:i,props:Object.keys(r).reduce(((e,t)=>{if(!(t in o))return e[t]=r[t],e;const n=o[t];return"function"==typeof r[t]||Array.isArray(r[t])?(e[t]={type:r[t],default:n},e):(e[t]={...r[t],default:n},e)}),{})}:{...e,name:i}}class g{constructor({fetchWithCredentials:e,fetchOptions:t,iconsProvider:i,nuxt:r,iconsCollections:s,defaults:c}={}){o(this,"_fetchOptions",{}),o(this,"_iconsCollections",[]),o(this,"_iconsProvider","vv"),o(this,"_nuxt",!1),o(this,"defaults",n.ref({})),t&&(this._fetchOptions=t),e&&(this._fetchOptions={...this._fetchOptions,credentials:"include"}),i&&(this._iconsProvider=i),r&&(this._nuxt=r),s&&Array.isArray(s)&&s.forEach((e=>{this.addCollection(e,this._iconsProvider)})),c&&(this.defaults.value=c)}get nuxt(){return this._nuxt}get iconsProvider(){return this._iconsProvider}get iconsCollections(){return this._iconsCollections}addCollection(e,n=this._iconsProvider){return this._iconsCollections.push(e),t.addCollection(e,n)}addIcon(e,n){return t.addIcon(e,n)}addIconsAPIProvider(e,n){return t.addAPIProvider(e,n)}fetchIcon(e,t={cache:"force-cache"}){return new Promise(((n,i)=>{fetch(e,{...this._fetchOptions,...t}).catch((e=>i(e))).then((e=>null==e?void 0:e.text())).then((e=>n(e)))}))}}const b={install(e,t={}){const n=new g(t);e.config.globalProperties.$vv=n,t.components&&Object.entries(t.components).forEach((([n,i])=>{e.component(n,v(i,t.defaults))})),t.aliases&&Object.entries(t.aliases).forEach((([n,i])=>{e.component(n,v(i,t.defaults,n))})),t.directives&&Object.entries(t.directives).forEach((([t,n])=>{const i=function(e,t){return h(e,{delimiter:"-",...t})}(t);i.startsWith("v-")&&(t=i.substring(2).toLocaleLowerCase()),e.directive(t,n)})),e.provide(p,n)}};e.VolverPlugin=b,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
|
package/dist/props/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
import type { Option } from '@/types/generic';
|
|
3
3
|
import type { NavItem } from '@/types/nav';
|
|
4
|
+
import type { AutoPlacementOptions, FlipOptions, OffsetOptions, ShiftOptions, SizeOptions } from '@/types/floating-ui';
|
|
4
5
|
import { Placement, Strategy, Position, Side, ButtonType, ActionTag, StorageType } from '@/constants';
|
|
5
6
|
import type { VvIconProps } from '@/components/VvIcon';
|
|
6
7
|
export declare const LinkProps: {
|
|
@@ -158,7 +159,7 @@ export declare const OptionsProps: {
|
|
|
158
159
|
* List of options, can be string[] or object[]
|
|
159
160
|
*/
|
|
160
161
|
options: {
|
|
161
|
-
type: PropType<(
|
|
162
|
+
type: PropType<(Option | string)[]>;
|
|
162
163
|
default: () => never[];
|
|
163
164
|
};
|
|
164
165
|
/**
|
|
@@ -215,7 +216,7 @@ export declare const IconProps: {
|
|
|
215
216
|
* VvIcon position
|
|
216
217
|
*/
|
|
217
218
|
iconPosition: {
|
|
218
|
-
type: PropType
|
|
219
|
+
type: PropType<`${Position}`>;
|
|
219
220
|
default: Position;
|
|
220
221
|
validation: (value: Position) => boolean;
|
|
221
222
|
};
|
|
@@ -260,7 +261,7 @@ export declare const DropdownProps: {
|
|
|
260
261
|
* Dropdown placement
|
|
261
262
|
*/
|
|
262
263
|
placement: {
|
|
263
|
-
type: PropType
|
|
264
|
+
type: PropType<`${Side}` | `${Placement}`>;
|
|
264
265
|
default: Side;
|
|
265
266
|
validator: (value: Side & Placement) => boolean;
|
|
266
267
|
};
|
|
@@ -268,7 +269,7 @@ export declare const DropdownProps: {
|
|
|
268
269
|
* Dropdown strategy
|
|
269
270
|
*/
|
|
270
271
|
strategy: {
|
|
271
|
-
type: PropType
|
|
272
|
+
type: PropType<`${Strategy}`>;
|
|
272
273
|
default: undefined;
|
|
273
274
|
validator: (value: Strategy) => boolean;
|
|
274
275
|
};
|
|
@@ -284,7 +285,7 @@ export declare const DropdownProps: {
|
|
|
284
285
|
* @see https://floating-ui.com/docs/offset
|
|
285
286
|
*/
|
|
286
287
|
offset: {
|
|
287
|
-
type: PropType<
|
|
288
|
+
type: PropType<OffsetOptions | number | string>;
|
|
288
289
|
default: number;
|
|
289
290
|
};
|
|
290
291
|
/**
|
|
@@ -292,31 +293,7 @@ export declare const DropdownProps: {
|
|
|
292
293
|
* @see https://floating-ui.com/docs/shift
|
|
293
294
|
*/
|
|
294
295
|
shift: {
|
|
295
|
-
type: PropType<
|
|
296
|
-
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
297
|
-
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
298
|
-
altBoundary?: boolean | undefined;
|
|
299
|
-
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
300
|
-
crossAxis?: boolean | undefined;
|
|
301
|
-
mainAxis?: boolean | undefined;
|
|
302
|
-
limiter?: {
|
|
303
|
-
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/utils").Coords;
|
|
304
|
-
options?: any;
|
|
305
|
-
} | undefined;
|
|
306
|
-
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
307
|
-
} | import("@floating-ui/core").Derivable<{
|
|
308
|
-
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
309
|
-
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
310
|
-
altBoundary?: boolean | undefined;
|
|
311
|
-
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
312
|
-
crossAxis?: boolean | undefined;
|
|
313
|
-
mainAxis?: boolean | undefined;
|
|
314
|
-
limiter?: {
|
|
315
|
-
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/utils").Coords;
|
|
316
|
-
options?: any;
|
|
317
|
-
} | undefined;
|
|
318
|
-
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
319
|
-
}> | undefined>;
|
|
296
|
+
type: PropType<ShiftOptions | boolean>;
|
|
320
297
|
default: boolean;
|
|
321
298
|
};
|
|
322
299
|
/**
|
|
@@ -324,31 +301,7 @@ export declare const DropdownProps: {
|
|
|
324
301
|
* @see https://floating-ui.com/docs/flip
|
|
325
302
|
*/
|
|
326
303
|
flip: {
|
|
327
|
-
type: PropType<
|
|
328
|
-
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
329
|
-
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
330
|
-
altBoundary?: boolean | undefined;
|
|
331
|
-
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
332
|
-
crossAxis?: boolean | undefined;
|
|
333
|
-
mainAxis?: boolean | undefined;
|
|
334
|
-
fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
335
|
-
fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
|
|
336
|
-
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
337
|
-
flipAlignment?: boolean | undefined;
|
|
338
|
-
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
339
|
-
} | import("@floating-ui/core").Derivable<{
|
|
340
|
-
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
341
|
-
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
342
|
-
altBoundary?: boolean | undefined;
|
|
343
|
-
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
344
|
-
crossAxis?: boolean | undefined;
|
|
345
|
-
mainAxis?: boolean | undefined;
|
|
346
|
-
fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
347
|
-
fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
|
|
348
|
-
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
349
|
-
flipAlignment?: boolean | undefined;
|
|
350
|
-
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
351
|
-
}> | undefined>;
|
|
304
|
+
type: PropType<FlipOptions | boolean>;
|
|
352
305
|
default: boolean;
|
|
353
306
|
};
|
|
354
307
|
/**
|
|
@@ -356,47 +309,7 @@ export declare const DropdownProps: {
|
|
|
356
309
|
* @see https://floating-ui.com/docs/size
|
|
357
310
|
*/
|
|
358
311
|
size: {
|
|
359
|
-
type: PropType<
|
|
360
|
-
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
361
|
-
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
362
|
-
altBoundary?: boolean | undefined;
|
|
363
|
-
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
364
|
-
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
365
|
-
apply?: ((args: {
|
|
366
|
-
x: number;
|
|
367
|
-
y: number;
|
|
368
|
-
initialPlacement: import("@floating-ui/utils").Placement;
|
|
369
|
-
placement: import("@floating-ui/utils").Placement;
|
|
370
|
-
strategy: import("@floating-ui/utils").Strategy;
|
|
371
|
-
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
372
|
-
rects: import("@floating-ui/utils").ElementRects;
|
|
373
|
-
platform: import("@floating-ui/core").Platform;
|
|
374
|
-
elements: import("@floating-ui/dom").Elements;
|
|
375
|
-
} & {
|
|
376
|
-
availableWidth: number;
|
|
377
|
-
availableHeight: number;
|
|
378
|
-
}) => void | Promise<void>) | undefined;
|
|
379
|
-
} | import("@floating-ui/core").Derivable<{
|
|
380
|
-
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
381
|
-
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
382
|
-
altBoundary?: boolean | undefined;
|
|
383
|
-
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
384
|
-
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
385
|
-
apply?: ((args: {
|
|
386
|
-
x: number;
|
|
387
|
-
y: number;
|
|
388
|
-
initialPlacement: import("@floating-ui/utils").Placement;
|
|
389
|
-
placement: import("@floating-ui/utils").Placement;
|
|
390
|
-
strategy: import("@floating-ui/utils").Strategy;
|
|
391
|
-
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
392
|
-
rects: import("@floating-ui/utils").ElementRects;
|
|
393
|
-
platform: import("@floating-ui/core").Platform;
|
|
394
|
-
elements: import("@floating-ui/dom").Elements;
|
|
395
|
-
} & {
|
|
396
|
-
availableWidth: number;
|
|
397
|
-
availableHeight: number;
|
|
398
|
-
}) => void | Promise<void>) | undefined;
|
|
399
|
-
}> | undefined>;
|
|
312
|
+
type: PropType<SizeOptions | boolean>;
|
|
400
313
|
default: () => {
|
|
401
314
|
padding: number;
|
|
402
315
|
};
|
|
@@ -406,27 +319,7 @@ export declare const DropdownProps: {
|
|
|
406
319
|
* @see https://floating-ui.com/docs/autoPlacement
|
|
407
320
|
*/
|
|
408
321
|
autoPlacement: {
|
|
409
|
-
type: PropType<
|
|
410
|
-
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
411
|
-
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
412
|
-
altBoundary?: boolean | undefined;
|
|
413
|
-
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
414
|
-
crossAxis?: boolean | undefined;
|
|
415
|
-
alignment?: import("@floating-ui/utils").Alignment | null | undefined;
|
|
416
|
-
autoAlignment?: boolean | undefined;
|
|
417
|
-
allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
418
|
-
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
419
|
-
} | import("@floating-ui/core").Derivable<{
|
|
420
|
-
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
421
|
-
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
422
|
-
altBoundary?: boolean | undefined;
|
|
423
|
-
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
424
|
-
crossAxis?: boolean | undefined;
|
|
425
|
-
alignment?: import("@floating-ui/utils").Alignment | null | undefined;
|
|
426
|
-
autoAlignment?: boolean | undefined;
|
|
427
|
-
allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
428
|
-
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
429
|
-
}> | undefined>;
|
|
322
|
+
type: PropType<AutoPlacementOptions | boolean>;
|
|
430
323
|
default: boolean;
|
|
431
324
|
};
|
|
432
325
|
/**
|
|
@@ -562,7 +455,7 @@ export declare const InputTextareaProps: {
|
|
|
562
455
|
* VvIcon position
|
|
563
456
|
*/
|
|
564
457
|
iconPosition: {
|
|
565
|
-
type: PropType
|
|
458
|
+
type: PropType<`${Position}`>;
|
|
566
459
|
default: Position;
|
|
567
460
|
validation: (value: Position) => boolean;
|
|
568
461
|
};
|
|
@@ -872,7 +765,7 @@ export declare const CheckboxRadioGroupProps: {
|
|
|
872
765
|
* List of options, can be string[] or object[]
|
|
873
766
|
*/
|
|
874
767
|
options: {
|
|
875
|
-
type: PropType<(
|
|
768
|
+
type: PropType<(Option | string)[]>;
|
|
876
769
|
default: () => never[];
|
|
877
770
|
};
|
|
878
771
|
/**
|
|
@@ -930,7 +823,7 @@ export declare const ActionProps: {
|
|
|
930
823
|
* Button type
|
|
931
824
|
*/
|
|
932
825
|
type: {
|
|
933
|
-
type: PropType
|
|
826
|
+
type: PropType<`${ButtonType}`>;
|
|
934
827
|
default: ButtonType;
|
|
935
828
|
validator: (value: ButtonType) => boolean;
|
|
936
829
|
};
|
|
@@ -1014,7 +907,7 @@ export declare const NavProps: {
|
|
|
1014
907
|
};
|
|
1015
908
|
export declare const StorageProps: {
|
|
1016
909
|
storageType: {
|
|
1017
|
-
type: PropType
|
|
910
|
+
type: PropType<`${StorageType}`>;
|
|
1018
911
|
default: StorageType;
|
|
1019
912
|
validator: (value: StorageType) => boolean;
|
|
1020
913
|
};
|