@maggioli-design-system/mds-input-otp 1.0.1
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/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/index-3ce43d21.js +1360 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/mds-input-otp.cjs.entry.js +101 -0
- package/dist/cjs/mds-input-otp.cjs.js +25 -0
- package/dist/collection/collection-manifest.json +12 -0
- package/dist/collection/common/aria.js +45 -0
- package/dist/collection/common/browser.js +7 -0
- package/dist/collection/common/date.js +13 -0
- package/dist/collection/common/device.js +6 -0
- package/dist/collection/common/file.js +48 -0
- package/dist/collection/common/floating-controller.js +201 -0
- package/dist/collection/common/icon.js +15 -0
- package/dist/collection/common/keyboard-manager.js +46 -0
- package/dist/collection/common/locale.js +66 -0
- package/dist/collection/common/slot.js +28 -0
- package/dist/collection/common/string.js +30 -0
- package/dist/collection/common/unit.js +22 -0
- package/dist/collection/common/yugop/core.js +16 -0
- package/dist/collection/common/yugop/index.js +3 -0
- package/dist/collection/common/yugop/random-text.js +59 -0
- package/dist/collection/common/yugop/utils/math.js +11 -0
- package/dist/collection/common/yugop/utils/noop.js +1 -0
- package/dist/collection/common/yugop/utils/prng.js +21 -0
- package/dist/collection/common/yugop/utils/string.js +2 -0
- package/dist/collection/components/mds-input-otp/mds-input-otp.css +16 -0
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +159 -0
- package/dist/collection/components/mds-input-otp/test/mds-input-otp.stories.js +56 -0
- package/dist/collection/dictionary/animation.js +5 -0
- package/dist/collection/dictionary/autocomplete.js +59 -0
- package/dist/collection/dictionary/button.js +39 -0
- package/dist/collection/dictionary/color.js +19 -0
- package/dist/collection/dictionary/file-extensions.js +69 -0
- package/dist/collection/dictionary/floating-ui.js +19 -0
- package/dist/collection/dictionary/icon.js +10 -0
- package/dist/collection/dictionary/input.js +37 -0
- package/dist/collection/dictionary/keyboard.js +84 -0
- package/dist/collection/dictionary/loading.js +5 -0
- package/dist/collection/dictionary/text.js +65 -0
- package/dist/collection/dictionary/tree.js +13 -0
- package/dist/collection/dictionary/typography.js +67 -0
- package/dist/collection/dictionary/variant.js +116 -0
- package/dist/collection/fixtures/cities.js +110 -0
- package/dist/collection/fixtures/filenames.js +118 -0
- package/dist/collection/type/animation.js +1 -0
- package/dist/collection/type/autocomplete.js +1 -0
- package/dist/collection/type/button.js +1 -0
- package/dist/collection/type/date.js +1 -0
- package/dist/collection/type/file-types.js +1 -0
- package/dist/collection/type/floating-ui.js +1 -0
- package/dist/collection/type/form-rel.js +1 -0
- package/dist/collection/type/header-bar.js +1 -0
- package/dist/collection/type/input-tip.js +1 -0
- package/dist/collection/type/input.js +1 -0
- package/dist/collection/type/keyboard.js +1 -0
- package/dist/collection/type/loading.js +1 -0
- package/dist/collection/type/preference.js +1 -0
- package/dist/collection/type/text.js +1 -0
- package/dist/collection/type/tree.js +1 -0
- package/dist/collection/type/typography.js +1 -0
- package/dist/collection/type/variant-file-format.js +91 -0
- package/dist/collection/type/variant.js +1 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.js +1 -0
- package/dist/components/mds-input-otp.d.ts +11 -0
- package/dist/components/mds-input-otp.js +113 -0
- package/dist/documentation.d.ts +443 -0
- package/dist/documentation.json +105 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/index-7080a0cd.js +1332 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/mds-input-otp.entry.js +97 -0
- package/dist/esm/mds-input-otp.js +20 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm-es5/app-globals-0f993ce5.js +1 -0
- package/dist/esm-es5/index-7080a0cd.js +1 -0
- package/dist/esm-es5/index.js +0 -0
- package/dist/esm-es5/loader.js +1 -0
- package/dist/esm-es5/mds-input-otp.entry.js +1 -0
- package/dist/esm-es5/mds-input-otp.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/mds-input-otp/index.esm.js +0 -0
- package/dist/mds-input-otp/mds-input-otp.esm.js +1 -0
- package/dist/mds-input-otp/mds-input-otp.js +127 -0
- package/dist/mds-input-otp/p-0b4b7d22.system.js +1 -0
- package/dist/mds-input-otp/p-50ea2036.system.js +1 -0
- package/dist/mds-input-otp/p-56ba5cbf.system.js +1 -0
- package/dist/mds-input-otp/p-6fa28cad.entry.js +1 -0
- package/dist/mds-input-otp/p-8d749fc9.system.entry.js +1 -0
- package/dist/mds-input-otp/p-9c3d33cc.system.js +2 -0
- package/dist/mds-input-otp/p-dea9d1b9.js +2 -0
- package/dist/mds-input-otp/p-e1255160.js +1 -0
- package/dist/stats.json +588 -0
- package/dist/types/common/aria.d.ts +7 -0
- package/dist/types/common/browser.d.ts +2 -0
- package/dist/types/common/date.d.ts +4 -0
- package/dist/types/common/device.d.ts +2 -0
- package/dist/types/common/file.d.ts +11 -0
- package/dist/types/common/floating-controller.d.ts +47 -0
- package/dist/types/common/icon.d.ts +5 -0
- package/dist/types/common/keyboard-manager.d.ts +12 -0
- package/dist/types/common/locale.d.ts +20 -0
- package/dist/types/common/slot.d.ts +4 -0
- package/dist/types/common/string.d.ts +4 -0
- package/dist/types/common/unit.d.ts +3 -0
- package/dist/types/common/yugop/core.d.ts +10 -0
- package/dist/types/common/yugop/index.d.ts +1 -0
- package/dist/types/common/yugop/random-text.d.ts +31 -0
- package/dist/types/common/yugop/utils/math.d.ts +3 -0
- package/dist/types/common/yugop/utils/noop.d.ts +1 -0
- package/dist/types/common/yugop/utils/prng.d.ts +8 -0
- package/dist/types/common/yugop/utils/string.d.ts +1 -0
- package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +27 -0
- package/dist/types/components/mds-input-otp/test/mds-input-otp.stories.d.ts +21 -0
- package/dist/types/components.d.ts +61 -0
- package/dist/types/dictionary/animation.d.ts +2 -0
- package/dist/types/dictionary/autocomplete.d.ts +2 -0
- package/dist/types/dictionary/button.d.ts +7 -0
- package/dist/types/dictionary/color.d.ts +3 -0
- package/dist/types/dictionary/file-extensions.d.ts +12 -0
- package/dist/types/dictionary/floating-ui.d.ts +3 -0
- package/dist/types/dictionary/icon.d.ts +4 -0
- package/dist/types/dictionary/input.d.ts +5 -0
- package/dist/types/dictionary/keyboard.d.ts +2 -0
- package/dist/types/dictionary/loading.d.ts +2 -0
- package/dist/types/dictionary/text.d.ts +4 -0
- package/dist/types/dictionary/tree.d.ts +4 -0
- package/dist/types/dictionary/typography.d.ts +11 -0
- package/dist/types/dictionary/variant.d.ts +13 -0
- package/dist/types/fixtures/cities.d.ts +2 -0
- package/dist/types/fixtures/filenames.d.ts +63 -0
- package/dist/types/stencil-public-runtime.d.ts +1680 -0
- package/dist/types/type/animation.d.ts +1 -0
- package/dist/types/type/autocomplete.d.ts +2 -0
- package/dist/types/type/button.d.ts +5 -0
- package/dist/types/type/date.d.ts +5 -0
- package/dist/types/type/file-types.d.ts +1 -0
- package/dist/types/type/floating-ui.d.ts +2 -0
- package/dist/types/type/form-rel.d.ts +1 -0
- package/dist/types/type/header-bar.d.ts +2 -0
- package/dist/types/type/input-tip.d.ts +1 -0
- package/dist/types/type/input.d.ts +7 -0
- package/dist/types/type/keyboard.d.ts +12 -0
- package/dist/types/type/loading.d.ts +1 -0
- package/dist/types/type/preference.d.ts +2 -0
- package/dist/types/type/text.d.ts +3 -0
- package/dist/types/type/tree.d.ts +3 -0
- package/dist/types/type/typography.d.ts +10 -0
- package/dist/types/type/variant-file-format.d.ts +11 -0
- package/dist/types/type/variant.d.ts +13 -0
- package/documentation.json +703 -0
- package/loader/cdn.js +2 -0
- package/loader/index.cjs.js +2 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +2 -0
- package/loader/index.js +3 -0
- package/loader/package.json +11 -0
- package/package.json +54 -0
- package/readme.md +41 -0
- package/src/common/aria.ts +59 -0
- package/src/common/browser.ts +10 -0
- package/src/common/date.ts +21 -0
- package/src/common/device.ts +9 -0
- package/src/common/file.ts +62 -0
- package/src/common/floating-controller.ts +286 -0
- package/src/common/icon.ts +25 -0
- package/src/common/keyboard-manager.ts +51 -0
- package/src/common/locale.ts +90 -0
- package/src/common/slot.ts +35 -0
- package/src/common/string.ts +42 -0
- package/src/common/unit.ts +33 -0
- package/src/common/yugop/core.ts +47 -0
- package/src/common/yugop/index.ts +4 -0
- package/src/common/yugop/random-text.ts +95 -0
- package/src/common/yugop/utils/math.ts +21 -0
- package/src/common/yugop/utils/noop.ts +1 -0
- package/src/common/yugop/utils/prng.ts +35 -0
- package/src/common/yugop/utils/string.ts +4 -0
- package/src/components/mds-input-otp/.gitlab-ci.yml +20 -0
- package/src/components/mds-input-otp/mds-input-otp.css +16 -0
- package/src/components/mds-input-otp/mds-input-otp.tsx +123 -0
- package/src/components/mds-input-otp/readme.md +19 -0
- package/src/components/mds-input-otp/test/mds-input-otp.e2e.ts +11 -0
- package/src/components/mds-input-otp/test/mds-input-otp.stories.tsx +90 -0
- package/src/components.d.ts +61 -0
- package/src/dictionary/animation.ts +8 -0
- package/src/dictionary/autocomplete.ts +62 -0
- package/src/dictionary/button.ts +52 -0
- package/src/dictionary/color.ts +24 -0
- package/src/dictionary/file-extensions.ts +88 -0
- package/src/dictionary/floating-ui.ts +25 -0
- package/src/dictionary/icon.ts +15 -0
- package/src/dictionary/input.ts +48 -0
- package/src/dictionary/keyboard.ts +87 -0
- package/src/dictionary/loading.ts +9 -0
- package/src/dictionary/text.ts +73 -0
- package/src/dictionary/tree.ts +21 -0
- package/src/dictionary/typography.ts +88 -0
- package/src/dictionary/variant.ts +141 -0
- package/src/fixtures/cities.ts +116 -0
- package/src/fixtures/filenames.ts +123 -0
- package/src/fixtures/icons.json +447 -0
- package/src/fixtures/iconsauce.json +306 -0
- package/src/meta/file-format/locale.el.json +44 -0
- package/src/meta/file-format/locale.en.json +44 -0
- package/src/meta/file-format/locale.es.json +44 -0
- package/src/meta/file-format/locale.it.json +44 -0
- package/src/meta/keyboard/keys.json +83 -0
- package/src/tailwind/components.css +51 -0
- package/src/tailwind/fouc.css +118 -0
- package/src/tailwind/index.css +4 -0
- package/src/type/animation.ts +3 -0
- package/src/type/autocomplete.ts +68 -0
- package/src/type/button.ts +32 -0
- package/src/type/date.ts +10 -0
- package/src/type/file-types.ts +61 -0
- package/src/type/floating-ui.ts +17 -0
- package/src/type/form-rel.ts +11 -0
- package/src/type/header-bar.ts +11 -0
- package/src/type/input-tip.ts +11 -0
- package/src/type/input.ts +33 -0
- package/src/type/keyboard.ts +93 -0
- package/src/type/loading.ts +3 -0
- package/src/type/preference.ts +11 -0
- package/src/type/text.ts +63 -0
- package/src/type/tree.ts +12 -0
- package/src/type/typography.ts +65 -0
- package/src/type/variant-file-format.ts +126 -0
- package/src/type/variant.ts +119 -0
- package/www/build/index.esm.js +0 -0
- package/www/build/mds-input-otp.esm.js +1 -0
- package/www/build/mds-input-otp.js +127 -0
- package/www/build/p-0b4b7d22.system.js +1 -0
- package/www/build/p-50ea2036.system.js +1 -0
- package/www/build/p-56ba5cbf.system.js +1 -0
- package/www/build/p-6fa28cad.entry.js +1 -0
- package/www/build/p-8d749fc9.system.entry.js +1 -0
- package/www/build/p-9c3d33cc.system.js +2 -0
- package/www/build/p-dea9d1b9.js +2 -0
- package/www/build/p-e1255160.js +1 -0
- package/www/host.config.json +15 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class KeyboardManager {
|
|
2
|
+
private escapeCallback;
|
|
3
|
+
private elements;
|
|
4
|
+
private handleClickBehaviorDispatchEvent;
|
|
5
|
+
private handleEscapeBehaviorDispatchEvent;
|
|
6
|
+
addElement: (el: HTMLElement, name?: string) => void;
|
|
7
|
+
removeElement: (name?: string) => void;
|
|
8
|
+
attachClickBehavior: (name?: string) => void;
|
|
9
|
+
detachClickBehavior: (name?: string) => void;
|
|
10
|
+
attachEscapeBehavior: (callback: () => void) => void;
|
|
11
|
+
detachEscapeBehavior: () => void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type LocaleConfig = {
|
|
2
|
+
el?: Record<string, string | string[]>;
|
|
3
|
+
en: Record<string, string | string[]>;
|
|
4
|
+
es?: Record<string, string | string[]>;
|
|
5
|
+
it?: Record<string, string | string[]>;
|
|
6
|
+
};
|
|
7
|
+
export declare class Locale {
|
|
8
|
+
rollbackLanguage: string;
|
|
9
|
+
language: string;
|
|
10
|
+
config: LocaleConfig;
|
|
11
|
+
closestElement: HTMLElement;
|
|
12
|
+
element: HTMLElement;
|
|
13
|
+
constructor(configData?: LocaleConfig);
|
|
14
|
+
set: (configData: LocaleConfig) => void;
|
|
15
|
+
lang: (el: HTMLElement) => string;
|
|
16
|
+
update: (doc?: Document | ShadowRoot) => void;
|
|
17
|
+
private pluralize;
|
|
18
|
+
get: (tag: string | string[], context?: Record<string, string | number | boolean>) => string;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const hasSlottedElements: (el: HTMLElement, name?: string) => boolean;
|
|
2
|
+
declare const hasSlottedNodes: (el: HTMLElement, name?: string) => boolean;
|
|
3
|
+
declare const hasSlotted: (el: HTMLElement, name?: string) => boolean;
|
|
4
|
+
export { hasSlottedElements, hasSlottedNodes, hasSlotted, };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const generateRandomCharCodeArray: (arg0: number, arg1: number) => (arg0: string) => number[];
|
|
2
|
+
type Options = {
|
|
3
|
+
str: string;
|
|
4
|
+
minCharCode: number;
|
|
5
|
+
maxCharCode: number;
|
|
6
|
+
placeholderChar: string;
|
|
7
|
+
charStep: number;
|
|
8
|
+
};
|
|
9
|
+
export declare const charCodeArrayToString: (arg0: Options) => (arg0: number[]) => string;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './random-text';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
type Options = {
|
|
2
|
+
str: string;
|
|
3
|
+
speed?: number;
|
|
4
|
+
placeholderChar?: string;
|
|
5
|
+
frameOffset?: number;
|
|
6
|
+
charOffset?: number;
|
|
7
|
+
charStep?: number;
|
|
8
|
+
minCharCode?: number;
|
|
9
|
+
maxCharCode?: number;
|
|
10
|
+
onProgress?: (arg0: string) => void;
|
|
11
|
+
onComplete?: (arg0: string) => void;
|
|
12
|
+
};
|
|
13
|
+
declare class RandomText {
|
|
14
|
+
static defaults: Options;
|
|
15
|
+
str: string;
|
|
16
|
+
speed: number;
|
|
17
|
+
placeholderChar: string;
|
|
18
|
+
frameOffset: number;
|
|
19
|
+
charOffset: number;
|
|
20
|
+
charStep: number;
|
|
21
|
+
minCharCode: number;
|
|
22
|
+
maxCharCode: number;
|
|
23
|
+
onProgress: (...args: Array<string>) => string;
|
|
24
|
+
onComplete: (...args: Array<string>) => string;
|
|
25
|
+
rafId: number;
|
|
26
|
+
constructor(options: Options);
|
|
27
|
+
start: () => void;
|
|
28
|
+
stop(): void;
|
|
29
|
+
step(randoms: number[], stepCount: number, speed: number): void;
|
|
30
|
+
}
|
|
31
|
+
export default RandomText;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const noop: (...rest: unknown[]) => unknown;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const strToCharCodeArray: (arg0: string) => number[];
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface MdsInputOtpInterface {
|
|
2
|
+
length?: number;
|
|
3
|
+
autosubmit?: boolean;
|
|
4
|
+
value?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class MdsInputOtp {
|
|
7
|
+
private element;
|
|
8
|
+
internals: ElementInternals;
|
|
9
|
+
/**
|
|
10
|
+
* Number of digits in the OTP code
|
|
11
|
+
*/
|
|
12
|
+
readonly length: number;
|
|
13
|
+
/**
|
|
14
|
+
* Automatically submits the form when the OTP code is complete
|
|
15
|
+
*/
|
|
16
|
+
readonly autosubmit: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* The current value of the OTP code
|
|
19
|
+
*/
|
|
20
|
+
value?: string;
|
|
21
|
+
private getOtpCode;
|
|
22
|
+
private setOtpDigit;
|
|
23
|
+
private submit;
|
|
24
|
+
private handleKeyDown;
|
|
25
|
+
private handlePaste;
|
|
26
|
+
render(): any;
|
|
27
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
argTypes: {
|
|
4
|
+
length: {
|
|
5
|
+
type: {
|
|
6
|
+
name: string;
|
|
7
|
+
};
|
|
8
|
+
description: string;
|
|
9
|
+
};
|
|
10
|
+
autosubmit: {
|
|
11
|
+
type: {
|
|
12
|
+
name: string;
|
|
13
|
+
};
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
19
|
+
export declare const Default: any;
|
|
20
|
+
export declare const FormIntegration: any;
|
|
21
|
+
export declare const AutoSubmit: any;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/**
|
|
4
|
+
* This is an autogenerated file created by the Stencil compiler.
|
|
5
|
+
* It contains typing information for all components that exist in this project.
|
|
6
|
+
*/
|
|
7
|
+
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
+
export namespace Components {
|
|
9
|
+
interface MdsInputOtp {
|
|
10
|
+
/**
|
|
11
|
+
* Automatically submits the form when the OTP code is complete
|
|
12
|
+
*/
|
|
13
|
+
"autosubmit": boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Number of digits in the OTP code
|
|
16
|
+
*/
|
|
17
|
+
"length": number;
|
|
18
|
+
/**
|
|
19
|
+
* The current value of the OTP code
|
|
20
|
+
*/
|
|
21
|
+
"value"?: string;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
declare global {
|
|
25
|
+
interface HTMLMdsInputOtpElement extends Components.MdsInputOtp, HTMLStencilElement {
|
|
26
|
+
}
|
|
27
|
+
var HTMLMdsInputOtpElement: {
|
|
28
|
+
prototype: HTMLMdsInputOtpElement;
|
|
29
|
+
new (): HTMLMdsInputOtpElement;
|
|
30
|
+
};
|
|
31
|
+
interface HTMLElementTagNameMap {
|
|
32
|
+
"mds-input-otp": HTMLMdsInputOtpElement;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
declare namespace LocalJSX {
|
|
36
|
+
interface MdsInputOtp {
|
|
37
|
+
/**
|
|
38
|
+
* Automatically submits the form when the OTP code is complete
|
|
39
|
+
*/
|
|
40
|
+
"autosubmit"?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Number of digits in the OTP code
|
|
43
|
+
*/
|
|
44
|
+
"length"?: number;
|
|
45
|
+
/**
|
|
46
|
+
* The current value of the OTP code
|
|
47
|
+
*/
|
|
48
|
+
"value"?: string;
|
|
49
|
+
}
|
|
50
|
+
interface IntrinsicElements {
|
|
51
|
+
"mds-input-otp": MdsInputOtp;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
export { LocalJSX as JSX };
|
|
55
|
+
declare module "@stencil/core" {
|
|
56
|
+
export namespace JSX {
|
|
57
|
+
interface IntrinsicElements {
|
|
58
|
+
"mds-input-otp": LocalJSX.MdsInputOtp & JSXBase.HTMLAttributes<HTMLMdsInputOtpElement>;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const buttonVariantDictionary: string[];
|
|
2
|
+
declare const buttonToneVariantDictionary: string[];
|
|
3
|
+
declare const buttonTargetDictionary: string[];
|
|
4
|
+
declare const buttonSizeDictionary: string[];
|
|
5
|
+
declare const buttonIconPositionDictionary: string[];
|
|
6
|
+
declare const buttonTypeDictionary: string[];
|
|
7
|
+
export { buttonIconPositionDictionary, buttonSizeDictionary, buttonTargetDictionary, buttonToneVariantDictionary, buttonTypeDictionary, buttonVariantDictionary, };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FileFormat } from "../type/variant-file-format";
|
|
2
|
+
interface FileExtenstion {
|
|
3
|
+
[key: string]: ExtensionInfo;
|
|
4
|
+
}
|
|
5
|
+
interface ExtensionInfo {
|
|
6
|
+
preview?: boolean;
|
|
7
|
+
format: FileFormat;
|
|
8
|
+
description: string;
|
|
9
|
+
}
|
|
10
|
+
declare const fileExtensionsDictionary: FileExtenstion;
|
|
11
|
+
declare const genericMimeToExt: Map<string, string[]>;
|
|
12
|
+
export { FileExtenstion, ExtensionInfo, fileExtensionsDictionary, genericMimeToExt, };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare const inputTextTypeDictionary: string[];
|
|
2
|
+
declare const inputFieldTypeDictionary: string[];
|
|
3
|
+
declare const inputControlsLayoutDictionary: string[];
|
|
4
|
+
declare const inputControlsIconDictionary: string[];
|
|
5
|
+
export { inputControlsIconDictionary, inputControlsLayoutDictionary, inputTextTypeDictionary, inputFieldTypeDictionary, };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const typographyDictionary: string[];
|
|
2
|
+
declare const typographyVariationsDictionary: string[];
|
|
3
|
+
declare const typographyReadingVariationsDictionary: string[];
|
|
4
|
+
declare const typographyMonoDictionary: string[];
|
|
5
|
+
declare const typographyTitleDictionary: string[];
|
|
6
|
+
declare const typographyInfoDictionary: string[];
|
|
7
|
+
declare const typographyReadDictionary: string[];
|
|
8
|
+
declare const typographySmallerDictionary: string[];
|
|
9
|
+
declare const typographyTooltipDictionary: string[];
|
|
10
|
+
declare const typographyInputDictionary: string[];
|
|
11
|
+
export { typographyDictionary, typographyInfoDictionary, typographyInputDictionary, typographyMonoDictionary, typographyReadDictionary, typographyReadingVariationsDictionary, typographySmallerDictionary, typographyTitleDictionary, typographyTooltipDictionary, typographyVariationsDictionary, };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const themeVariantDictionary: string[];
|
|
2
|
+
declare const themeLuminanceVariantDictionary: string[];
|
|
3
|
+
declare const themeStatusVariantDictionary: string[];
|
|
4
|
+
declare const themeFullVariantDictionary: string[];
|
|
5
|
+
declare const themeFullVariantAvatarDictionary: string[];
|
|
6
|
+
declare const themeLabelVariantDictionary: string[];
|
|
7
|
+
declare const toneVariantDictionary: string[];
|
|
8
|
+
declare const themeVariantChipDictionary: string[];
|
|
9
|
+
declare const toneActionVariantDictionary: string[];
|
|
10
|
+
declare const toneSimpleVariantDictionary: string[];
|
|
11
|
+
declare const toneSmartVariantDictionary: string[];
|
|
12
|
+
declare const toneMinimalVariantDictionary: string[];
|
|
13
|
+
export { themeFullVariantAvatarDictionary, themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, themeVariantChipDictionary, toneActionVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneSmartVariantDictionary, toneVariantDictionary, };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
declare const filesList: string[];
|
|
2
|
+
declare const namedFilesList: {
|
|
3
|
+
'7z': string;
|
|
4
|
+
'No extension file': string;
|
|
5
|
+
'png with URL': string;
|
|
6
|
+
ace: string;
|
|
7
|
+
ai: string;
|
|
8
|
+
db: string;
|
|
9
|
+
default: string;
|
|
10
|
+
dmg: string;
|
|
11
|
+
doc: string;
|
|
12
|
+
docm: string;
|
|
13
|
+
docx: string;
|
|
14
|
+
eml: string;
|
|
15
|
+
eps: string;
|
|
16
|
+
exe: string;
|
|
17
|
+
flac: string;
|
|
18
|
+
gif: string;
|
|
19
|
+
htm: string;
|
|
20
|
+
html: string;
|
|
21
|
+
jpe: string;
|
|
22
|
+
jpeg: string;
|
|
23
|
+
jpg: string;
|
|
24
|
+
js: string;
|
|
25
|
+
json: string;
|
|
26
|
+
jsx: string;
|
|
27
|
+
m2v: string;
|
|
28
|
+
mp2: string;
|
|
29
|
+
mp3: string;
|
|
30
|
+
mp4: string;
|
|
31
|
+
mp4v: string;
|
|
32
|
+
mpeg: string;
|
|
33
|
+
mpg4: string;
|
|
34
|
+
mpg: string;
|
|
35
|
+
mpga: string;
|
|
36
|
+
odf: string;
|
|
37
|
+
odp: string;
|
|
38
|
+
ods: string;
|
|
39
|
+
odt: string;
|
|
40
|
+
ole: string;
|
|
41
|
+
p7m: string;
|
|
42
|
+
pdf: string;
|
|
43
|
+
php: string;
|
|
44
|
+
png: string;
|
|
45
|
+
ppt: string;
|
|
46
|
+
rar: string;
|
|
47
|
+
rtf: string;
|
|
48
|
+
sass: string;
|
|
49
|
+
shtml: string;
|
|
50
|
+
svg: string;
|
|
51
|
+
tar: string;
|
|
52
|
+
ts: string;
|
|
53
|
+
tsd: string;
|
|
54
|
+
txt: string;
|
|
55
|
+
wav: string;
|
|
56
|
+
webp: string;
|
|
57
|
+
xar: string;
|
|
58
|
+
xls: string;
|
|
59
|
+
xlsx: string;
|
|
60
|
+
xml: string;
|
|
61
|
+
zip: string;
|
|
62
|
+
};
|
|
63
|
+
export { filesList, namedFilesList, };
|