@maggioli-design-system/mds-table-row 1.0.1 → 1.2.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/{index-e090c8aa.js → index-797b786c.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mds-table-row.cjs.entry.js +3 -3
- package/dist/cjs/{magma-components.cjs.js → mds-table-row.cjs.js} +3 -3
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/mds-table-row/mds-table-row.css +59 -0
- package/dist/{mds-table-row.js → collection/components/mds-table-row/mds-table-row.js} +1 -1
- package/dist/collection/dictionary/autocomplete.js +59 -0
- package/dist/collection/dictionary/button.js +26 -0
- package/dist/collection/dictionary/color.js +19 -0
- package/dist/collection/dictionary/icon.js +3 -0
- package/dist/collection/dictionary/input-text-type.js +13 -0
- package/dist/collection/dictionary/loading.js +5 -0
- package/dist/collection/dictionary/typography.js +43 -0
- package/dist/collection/dictionary/variant.js +65 -0
- package/dist/collection/fixtures/cities.js +110 -0
- package/dist/collection/interface/input-value.js +1 -0
- package/dist/collection/types/autocomplete.js +1 -0
- package/dist/collection/types/button.js +1 -0
- package/dist/collection/types/form-rel.js +1 -0
- package/dist/collection/types/input-text-type.js +1 -0
- package/dist/collection/types/input-value-type.js +1 -0
- package/dist/collection/types/loading.js +1 -0
- package/dist/collection/types/typography.js +1 -0
- package/dist/collection/types/variant.js +1 -0
- package/dist/{custom-elements → components}/index.d.ts +1 -20
- package/dist/components/index.js +1 -0
- package/dist/components/mds-table-row.d.ts +11 -0
- package/dist/components/mds-table-row.js +79 -0
- package/dist/esm/{index-4e8ec826.js → index-7d849f54.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mds-table-row.entry.js +3 -3
- package/dist/esm/{magma-components.js → mds-table-row.js} +2 -2
- package/dist/esm-es5/index-7d849f54.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-table-row.entry.js +1 -1
- package/dist/esm-es5/mds-table-row.js +1 -0
- package/dist/{magma-components → mds-table-row}/index.esm.js +0 -0
- package/dist/mds-table-row/mds-table-row.esm.js +1 -0
- package/dist/{magma-components/magma-components.js → mds-table-row/mds-table-row.js} +3 -3
- package/dist/mds-table-row/p-031e68b1.system.entry.js +1 -0
- package/dist/mds-table-row/p-13e3a2cc.system.js +1 -0
- package/dist/{magma-components/p-fe9da335.system.js → mds-table-row/p-15f2406e.system.js} +1 -1
- package/dist/{magma-components/p-c0c8d8ca.js → mds-table-row/p-3619a466.js} +1 -1
- package/dist/{magma-components → mds-table-row}/p-50ea2036.system.js +0 -0
- package/dist/mds-table-row/p-dab964fd.entry.js +1 -0
- package/dist/stats.json +148 -57
- package/dist/types/{Users/vitto/repo/design-system/projects/stencil/src/components/mds-table-row/.stencil/src/components → components}/mds-table-row/mds-table-row.d.ts +0 -0
- package/dist/types/dictionary/autocomplete.d.ts +2 -0
- package/dist/types/dictionary/button.d.ts +5 -0
- package/dist/types/dictionary/color.d.ts +3 -0
- package/dist/types/dictionary/icon.d.ts +2 -0
- package/dist/types/dictionary/input-text-type.d.ts +2 -0
- package/dist/types/dictionary/loading.d.ts +2 -0
- package/dist/types/dictionary/typography.d.ts +6 -0
- package/dist/types/dictionary/variant.d.ts +9 -0
- package/dist/types/fixtures/cities.d.ts +2 -0
- package/dist/types/interface/input-value.d.ts +4 -0
- package/dist/types/stencil-public-runtime.d.ts +6 -4
- package/dist/types/types/autocomplete.d.ts +2 -0
- package/dist/types/types/button.d.ts +4 -0
- package/dist/types/types/form-rel.d.ts +1 -0
- package/dist/types/types/input-text-type.d.ts +1 -0
- package/dist/types/types/input-value-type.d.ts +1 -0
- package/dist/types/types/loading.d.ts +1 -0
- package/dist/types/types/typography.d.ts +5 -0
- package/dist/types/types/variant.d.ts +10 -0
- package/loader/package.json +1 -1
- package/package.json +22 -25
- package/readme.md +10 -1
- package/src/components/mds-table-row/mds-table-row.css +44 -0
- package/src/components/mds-table-row/mds-table-row.tsx +25 -0
- package/src/components/mds-table-row/readme.md +19 -0
- package/src/dictionary/autocomplete.ts +62 -0
- package/src/dictionary/button.ts +35 -0
- package/src/dictionary/color.ts +24 -0
- package/src/dictionary/icon.ts +5 -0
- package/src/dictionary/input-text-type.ts +17 -0
- package/src/dictionary/loading.ts +9 -0
- package/src/dictionary/typography.ts +54 -0
- package/src/dictionary/variant.ts +82 -0
- package/src/fixtures/cities.ts +116 -0
- package/src/interface/input-value.ts +5 -0
- package/src/types/autocomplete.ts +69 -0
- package/src/types/button.ts +24 -0
- package/src/types/form-rel.ts +11 -0
- package/src/types/input-text-type.ts +11 -0
- package/src/types/input-value-type.ts +5 -0
- package/src/types/loading.ts +3 -0
- package/src/types/typography.ts +41 -0
- package/src/types/variant.ts +73 -0
- package/www/build/index.esm.js +0 -0
- package/www/build/mds-table-row.esm.js +1 -0
- package/www/build/mds-table-row.js +130 -0
- package/www/build/p-031e68b1.system.entry.js +1 -0
- package/www/build/p-13e3a2cc.system.js +1 -0
- package/www/build/p-15f2406e.system.js +1 -0
- package/www/build/p-3619a466.js +1 -0
- package/www/build/p-50ea2036.system.js +1 -0
- package/www/build/p-dab964fd.entry.js +1 -0
- package/www/host.config.json +15 -0
- package/dist/custom-elements/index.js +0 -74
- package/dist/esm-es5/index-4e8ec826.js +0 -1
- package/dist/esm-es5/magma-components.js +0 -1
- package/dist/magma-components/magma-components.esm.js +0 -1
- package/dist/magma-components/p-07a1cccc.entry.js +0 -1
- package/dist/magma-components/p-42a8d741.system.js +0 -1
- package/dist/magma-components/p-5555d1ad.system.entry.js +0 -1
- package/dist/mds-table-row.css +0 -73
- package/dist/stencil.config.js +0 -4
- package/dist/types/Users/vitto/repo/design-system/projects/stencil/src/components/mds-table-row/.stencil/src/components/mds-table-row/stencil.config.d.ts +0 -2
- package/dist/types/Users/vitto/repo/design-system/projects/stencil/src/components/mds-table-row/.stencil/stencil.config.d.ts +0 -2
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const typographyDictionary: string[];
|
|
2
|
+
declare const typographyMonoDictionary: string[];
|
|
3
|
+
declare const typographyPrimaryDictionary: string[];
|
|
4
|
+
declare const typographySecondaryDictionary: string[];
|
|
5
|
+
declare const typographySmallerDictionary: string[];
|
|
6
|
+
export { typographyDictionary, typographyMonoDictionary, typographyPrimaryDictionary, typographySecondaryDictionary, typographySmallerDictionary, };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const themeVariantDictionary: string[];
|
|
2
|
+
declare const themeLuminanceVariantDictionary: string[];
|
|
3
|
+
declare const themeStatusVariantDictionary: string[];
|
|
4
|
+
declare const themeFullVariantDictionary: string[];
|
|
5
|
+
declare const themeLabelVariantDictionary: string[];
|
|
6
|
+
declare const toneVariantDictionary: string[];
|
|
7
|
+
declare const toneSimpleVariantDictionary: string[];
|
|
8
|
+
declare const toneMinimalVariantDictionary: string[];
|
|
9
|
+
export { themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneVariantDictionary, };
|
|
@@ -666,7 +666,7 @@ export declare namespace JSXBase {
|
|
|
666
666
|
use: JSXBase.SVGAttributes;
|
|
667
667
|
view: JSXBase.SVGAttributes;
|
|
668
668
|
}
|
|
669
|
-
interface SlotAttributes {
|
|
669
|
+
interface SlotAttributes extends JSXAttributes {
|
|
670
670
|
name?: string;
|
|
671
671
|
slot?: string;
|
|
672
672
|
onSlotchange?: (event: Event) => void;
|
|
@@ -1427,9 +1427,7 @@ export declare namespace JSXBase {
|
|
|
1427
1427
|
z?: number | string;
|
|
1428
1428
|
zoomAndPan?: string;
|
|
1429
1429
|
}
|
|
1430
|
-
interface DOMAttributes<T
|
|
1431
|
-
key?: string | number;
|
|
1432
|
-
ref?: (elm?: T) => void;
|
|
1430
|
+
interface DOMAttributes<T> extends JSXAttributes<T> {
|
|
1433
1431
|
slot?: string;
|
|
1434
1432
|
part?: string;
|
|
1435
1433
|
exportparts?: string;
|
|
@@ -1550,6 +1548,10 @@ export declare namespace JSXBase {
|
|
|
1550
1548
|
onTransitionEndCapture?: (event: TransitionEvent) => void;
|
|
1551
1549
|
}
|
|
1552
1550
|
}
|
|
1551
|
+
export interface JSXAttributes<T = Element> {
|
|
1552
|
+
key?: string | number;
|
|
1553
|
+
ref?: (elm?: T) => void;
|
|
1554
|
+
}
|
|
1553
1555
|
export interface CustomElementsDefineOptions {
|
|
1554
1556
|
exclude?: string[];
|
|
1555
1557
|
resourcesUrl?: string;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare type AutocompleteType = 'additional-name' | 'address' | 'address-level1' | 'address-level2' | 'address-level3' | 'address-level4' | 'address-line1' | 'address-line2' | 'address-line3' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year' | 'cc-additional-name' | 'cc-csc' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-family-name' | 'cc-family-name' | 'cc-given-name' | 'cc-name' | 'cc-number' | 'cc-type' | 'country' | 'country-name' | 'current-password' | 'email' | 'family-name' | 'given-name' | 'honorific-prefix' | 'honorific-suffix' | 'impp' | 'language' | 'name' | 'new-password' | 'nickname' | 'off' | 'on' | 'one-time-code' | 'organization' | 'organization-title' | 'photo' | 'postal-code' | 'sex' | 'street-address' | 'tel' | 'tel-area-code' | 'tel-country-code' | 'tel-extension' | 'tel-local' | 'tel-national' | 'transaction-amount' | 'transaction-currency' | 'url' | 'username';
|
|
2
|
+
export declare type InputTextType = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'textarea' | 'time' | 'url';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare type ButtonType = 'a' | 'button' | 'reset' | 'submit';
|
|
2
|
+
export declare type ButtonSizeType = 'sm' | 'md' | 'lg' | 'xl';
|
|
3
|
+
export declare type ButtonIconPositionType = 'left' | 'right';
|
|
4
|
+
export declare type ButtonVariantType = 'primary' | 'dark' | 'light' | 'error' | 'info' | 'success' | 'warning';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type FormRelType = 'external' | 'help' | 'license' | 'next' | 'nofollow' | 'noopener' | 'noreferrer' | 'opener' | 'prev' | 'search';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type InputTextType = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'textarea' | 'time' | 'url';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type InputValueType = null | number | string | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type LoadingType = 'eager' | 'lazy';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare type TypographyType = 'action' | 'caption' | 'code' | 'detail' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'hack' | 'label' | 'option' | 'paragraph' | 'tip';
|
|
2
|
+
export declare type TypographyPrimaryType = 'action' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
3
|
+
export declare type TypographySecondaryType = 'caption' | 'detail' | 'label' | 'option' | 'paragraph' | 'tip';
|
|
4
|
+
export declare type TypographySmallerType = 'tip' | 'option';
|
|
5
|
+
export declare type TypographyMonoType = 'code' | 'hack';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare type ThemeStatusVariantType = 'error' | 'info' | 'success' | 'warning';
|
|
2
|
+
export declare type ThemeVariantType = 'dark' | 'error' | 'info' | 'light' | 'primary' | 'success' | 'warning';
|
|
3
|
+
export declare type ThemeFullVariantType = 'amaranth' | 'aqua' | 'blue' | 'dark' | 'error' | 'green' | 'info' | 'light' | 'lime' | 'orange' | 'orchid' | 'sky' | 'success' | 'violet' | 'warning' | 'yellow';
|
|
4
|
+
export declare type ThemeLuminanceVariantType = 'dark' | 'light';
|
|
5
|
+
export declare type LabelVariantType = 'amaranth' | 'aqua' | 'blue' | 'green' | 'lime' | 'orange' | 'orchid' | 'sky' | 'violet' | 'yellow';
|
|
6
|
+
export declare type ActionVariantType = 'primary' | 'dark' | 'light';
|
|
7
|
+
export declare type StateVariantType = 'disabled' | 'focused' | 'readonly';
|
|
8
|
+
export declare type ToneVariantType = 'strong' | 'weak' | 'ghost' | 'quiet';
|
|
9
|
+
export declare type ToneSimpleVariantType = 'strong' | 'weak' | 'quiet';
|
|
10
|
+
export declare type ToneMinimalVariantType = 'strong' | 'weak';
|
package/loader/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,52 +1,49 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maggioli-design-system/mds-table-row",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "mds-table-row is a web-component from Maggioli Design System Magma, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScirpt framework you are using.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
|
-
"module": "dist/
|
|
6
|
+
"module": "dist/index.js",
|
|
7
7
|
"es2015": "dist/esm/index.mjs",
|
|
8
8
|
"es2017": "dist/esm/index.mjs",
|
|
9
|
-
"types": "dist/
|
|
9
|
+
"types": "dist/types/components.d.ts",
|
|
10
10
|
"collection": "dist/collection/collection-manifest.json",
|
|
11
11
|
"collection:main": "dist/collection/index.js",
|
|
12
12
|
"unpkg": "dist/mds-table-row/mds-table-row.esm.js",
|
|
13
13
|
"files": [
|
|
14
|
-
"src/components.d.ts",
|
|
15
14
|
"dist/",
|
|
16
15
|
"loader/",
|
|
17
|
-
"readme.md"
|
|
16
|
+
"readme.md",
|
|
17
|
+
"src/",
|
|
18
|
+
"www/"
|
|
18
19
|
],
|
|
19
20
|
"scripts": {
|
|
20
|
-
"build": "stencil build --docs
|
|
21
|
+
"build": "rm src/components.d.ts || true && stencil build --docs-readme"
|
|
21
22
|
},
|
|
22
23
|
"dependencies": {
|
|
23
|
-
"@maggioli-design-system/mds-table": "
|
|
24
|
-
"@maggioli-design-system/mds-table-body": "
|
|
25
|
-
"@maggioli-design-system/mds-table-cell": "
|
|
26
|
-
"@maggioli-design-system/mds-table-footer": "
|
|
27
|
-
"@maggioli-design-system/mds-table-header": "
|
|
28
|
-
|
|
24
|
+
"@maggioli-design-system/mds-table": "^1.1.3",
|
|
25
|
+
"@maggioli-design-system/mds-table-body": "^1.2.1",
|
|
26
|
+
"@maggioli-design-system/mds-table-cell": "^1.1.1",
|
|
27
|
+
"@maggioli-design-system/mds-table-footer": "^1.0.4",
|
|
28
|
+
"@maggioli-design-system/mds-table-header": "^1.0.4",
|
|
29
|
+
"@stencil/core": "^2.12.0"
|
|
30
|
+
},
|
|
29
31
|
"license": "MIT",
|
|
30
32
|
"author": {
|
|
31
33
|
"name": "Vittorio Vittori",
|
|
32
34
|
"email": "vittorio.vittori@maggioli.it",
|
|
33
35
|
"url": "http://vit.to"
|
|
34
|
-
},
|
|
36
|
+
},
|
|
35
37
|
"contributors": [
|
|
36
38
|
{
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"name": "Stefano Pascazi",
|
|
43
|
-
"email": "stefano.pascazi@maggioli.it",
|
|
44
|
-
"role": "Software Engineer"
|
|
39
|
+
"name": "Andrea Pruccoli",
|
|
40
|
+
"email": "andrea.pruccoli@maggioli.it",
|
|
41
|
+
"role": "Software Engineer"
|
|
45
42
|
},
|
|
46
43
|
{
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
44
|
+
"name": "Vittorio Vittori",
|
|
45
|
+
"email": "vittorio.vittori@maggioli.it",
|
|
46
|
+
"role": "UX UI Designer"
|
|
50
47
|
}
|
|
51
|
-
]
|
|
48
|
+
]
|
|
52
49
|
}
|
package/readme.md
CHANGED
|
@@ -5,6 +5,15 @@
|
|
|
5
5
|
<!-- Auto Generated Below -->
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
## CSS Custom Properties
|
|
9
|
+
|
|
10
|
+
| Name | Description |
|
|
11
|
+
| ------------------------ | ---------------------------------------------------------------------- |
|
|
12
|
+
| `--background-row-hover` | The cell background-color when the mouse go over the table row element |
|
|
13
|
+
| `--border-color` | The border color between table rows |
|
|
14
|
+
| `--radius` | The radius of the table (header and footer excluded) |
|
|
15
|
+
|
|
16
|
+
|
|
8
17
|
----------------------------------------------
|
|
9
18
|
|
|
10
|
-
|
|
19
|
+
Built with love @ **Maggioli Informatica / R&D Department**
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
@tailwind utilities;
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @prop --background-row-hover: The cell background-color when the mouse go over the table row element
|
|
5
|
+
* @prop --border-color: The border color between table rows
|
|
6
|
+
* @prop --radius: The radius of the table (header and footer excluded)
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
mds-table-row {
|
|
10
|
+
@apply
|
|
11
|
+
border-b
|
|
12
|
+
table-row;
|
|
13
|
+
|
|
14
|
+
border-bottom-color: var(--border-color, theme('colors.adjust-tone-09'));
|
|
15
|
+
border-bottom-style: solid;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
mds-table-row:last-child {
|
|
19
|
+
@apply border-transparent;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
mds-table-row:first-child mds-table-cell:first-child {
|
|
23
|
+
border-top-left-radius: var(--radius, theme('borderRadius.lg'));
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
mds-table-row:last-child mds-table-cell:first-child {
|
|
27
|
+
border-bottom-left-radius: var(--radius, theme('borderRadius.lg'));
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
mds-table-row:first-child mds-table-cell:last-child {
|
|
31
|
+
border-top-right-radius: var(--radius, theme('borderRadius.lg'));
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
mds-table-row:last-child mds-table-cell:last-child {
|
|
35
|
+
border-bottom-right-radius: var(--radius, theme('borderRadius.lg'));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
mds-table-row:focus {
|
|
39
|
+
@apply opacity-50;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
mds-table-row.interactive:hover mds-table-cell {
|
|
43
|
+
background-color: var(--background-row-hover, theme('colors.adjust-tone')) !important;
|
|
44
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Component, Host, h, Listen, State } from '@stencil/core'
|
|
2
|
+
import clsx from 'clsx'
|
|
3
|
+
@Component({
|
|
4
|
+
tag: 'mds-table-row',
|
|
5
|
+
styleUrl: 'mds-table-row.css',
|
|
6
|
+
shadow: false,
|
|
7
|
+
})
|
|
8
|
+
export class MdsTableRow {
|
|
9
|
+
|
|
10
|
+
@State() interactive?: boolean
|
|
11
|
+
|
|
12
|
+
@Listen('tableInteractive', { target: 'body' })
|
|
13
|
+
tableInteractiveHandler (event: CustomEvent<boolean>): void {
|
|
14
|
+
this.interactive = event.detail
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
render () {
|
|
18
|
+
return (
|
|
19
|
+
<Host class={clsx(this.interactive && 'interactive')} role="row">
|
|
20
|
+
<slot/>
|
|
21
|
+
</Host>
|
|
22
|
+
)
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# mds-table-row
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
<!-- Auto Generated Below -->
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## CSS Custom Properties
|
|
9
|
+
|
|
10
|
+
| Name | Description |
|
|
11
|
+
| ------------------------ | ---------------------------------------------------------------------- |
|
|
12
|
+
| `--background-row-hover` | The cell background-color when the mouse go over the table row element |
|
|
13
|
+
| `--border-color` | The border color between table rows |
|
|
14
|
+
| `--radius` | The radius of the table (header and footer excluded) |
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
----------------------------------------------
|
|
18
|
+
|
|
19
|
+
Built with love @ **Maggioli Informatica / R&D Department**
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
const autoCompleteDictionary = [
|
|
2
|
+
'additional-name',
|
|
3
|
+
'address',
|
|
4
|
+
'address-level1',
|
|
5
|
+
'address-level2',
|
|
6
|
+
'address-level3',
|
|
7
|
+
'address-level4',
|
|
8
|
+
'address-line1',
|
|
9
|
+
'address-line2',
|
|
10
|
+
'address-line3',
|
|
11
|
+
'bday',
|
|
12
|
+
'bday-day',
|
|
13
|
+
'bday-month',
|
|
14
|
+
'bday-year',
|
|
15
|
+
'cc-additional-name',
|
|
16
|
+
'cc-csc',
|
|
17
|
+
'cc-exp',
|
|
18
|
+
'cc-exp-month',
|
|
19
|
+
'cc-exp-year',
|
|
20
|
+
'cc-family-name',
|
|
21
|
+
'cc-family-name',
|
|
22
|
+
'cc-given-name',
|
|
23
|
+
'cc-name',
|
|
24
|
+
'cc-number',
|
|
25
|
+
'cc-type',
|
|
26
|
+
'country',
|
|
27
|
+
'country-name',
|
|
28
|
+
'current-password',
|
|
29
|
+
'email',
|
|
30
|
+
'family-name',
|
|
31
|
+
'given-name',
|
|
32
|
+
'honorific-prefix',
|
|
33
|
+
'honorific-suffix',
|
|
34
|
+
'impp',
|
|
35
|
+
'language',
|
|
36
|
+
'name',
|
|
37
|
+
'new-password',
|
|
38
|
+
'nickname',
|
|
39
|
+
'off',
|
|
40
|
+
'on',
|
|
41
|
+
'one-time-code',
|
|
42
|
+
'organization',
|
|
43
|
+
'organization-title',
|
|
44
|
+
'photo',
|
|
45
|
+
'postal-code',
|
|
46
|
+
'sex',
|
|
47
|
+
'street-address',
|
|
48
|
+
'tel',
|
|
49
|
+
'tel-area-code',
|
|
50
|
+
'tel-country-code',
|
|
51
|
+
'tel-extension',
|
|
52
|
+
'tel-local',
|
|
53
|
+
'tel-national',
|
|
54
|
+
'transaction-amount',
|
|
55
|
+
'transaction-currency',
|
|
56
|
+
'url',
|
|
57
|
+
'username',
|
|
58
|
+
]
|
|
59
|
+
|
|
60
|
+
export {
|
|
61
|
+
autoCompleteDictionary,
|
|
62
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const buttonVariantDictionary = [
|
|
2
|
+
'dark',
|
|
3
|
+
'error',
|
|
4
|
+
'info',
|
|
5
|
+
'light',
|
|
6
|
+
'primary',
|
|
7
|
+
'success',
|
|
8
|
+
'warning',
|
|
9
|
+
]
|
|
10
|
+
|
|
11
|
+
const buttonToneVariantDictionary = [
|
|
12
|
+
'strong',
|
|
13
|
+
'weak',
|
|
14
|
+
'ghost',
|
|
15
|
+
'quiet',
|
|
16
|
+
]
|
|
17
|
+
|
|
18
|
+
const buttonSizeDictionary = [
|
|
19
|
+
'sm',
|
|
20
|
+
'md',
|
|
21
|
+
'lg',
|
|
22
|
+
'xl',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
const buttonIconPositionDictionary = [
|
|
26
|
+
'left',
|
|
27
|
+
'right',
|
|
28
|
+
]
|
|
29
|
+
|
|
30
|
+
export {
|
|
31
|
+
buttonSizeDictionary,
|
|
32
|
+
buttonToneVariantDictionary,
|
|
33
|
+
buttonVariantDictionary,
|
|
34
|
+
buttonIconPositionDictionary,
|
|
35
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const colorLabelDictionary = [
|
|
2
|
+
'amaranth',
|
|
3
|
+
'aqua',
|
|
4
|
+
'blue',
|
|
5
|
+
'green',
|
|
6
|
+
'lime',
|
|
7
|
+
'orange',
|
|
8
|
+
'orchid',
|
|
9
|
+
'sky',
|
|
10
|
+
'violet',
|
|
11
|
+
'yellow',
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
const colorStatusDictionary = [
|
|
15
|
+
'error',
|
|
16
|
+
'info',
|
|
17
|
+
'success',
|
|
18
|
+
'warning',
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
export {
|
|
22
|
+
colorLabelDictionary,
|
|
23
|
+
colorStatusDictionary,
|
|
24
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
const typographyDictionary = [
|
|
2
|
+
'action',
|
|
3
|
+
'caption',
|
|
4
|
+
'code',
|
|
5
|
+
'detail',
|
|
6
|
+
'h1',
|
|
7
|
+
'h2',
|
|
8
|
+
'h3',
|
|
9
|
+
'h4',
|
|
10
|
+
'h5',
|
|
11
|
+
'h6',
|
|
12
|
+
'hack',
|
|
13
|
+
'label',
|
|
14
|
+
'option',
|
|
15
|
+
'paragraph',
|
|
16
|
+
'tip',
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
const typographyMonoDictionary = [
|
|
20
|
+
'code',
|
|
21
|
+
'hack',
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
const typographyPrimaryDictionary = [
|
|
25
|
+
'action',
|
|
26
|
+
'h1',
|
|
27
|
+
'h2',
|
|
28
|
+
'h3',
|
|
29
|
+
'h4',
|
|
30
|
+
'h5',
|
|
31
|
+
'h6',
|
|
32
|
+
]
|
|
33
|
+
|
|
34
|
+
const typographySecondaryDictionary = [
|
|
35
|
+
'caption',
|
|
36
|
+
'detail',
|
|
37
|
+
'label',
|
|
38
|
+
'option',
|
|
39
|
+
'paragraph',
|
|
40
|
+
'tip',
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
const typographySmallerDictionary = [
|
|
44
|
+
'option',
|
|
45
|
+
'tip',
|
|
46
|
+
]
|
|
47
|
+
|
|
48
|
+
export {
|
|
49
|
+
typographyDictionary,
|
|
50
|
+
typographyMonoDictionary,
|
|
51
|
+
typographyPrimaryDictionary,
|
|
52
|
+
typographySecondaryDictionary,
|
|
53
|
+
typographySmallerDictionary,
|
|
54
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
const themeVariantDictionary = [
|
|
2
|
+
'dark',
|
|
3
|
+
'error',
|
|
4
|
+
'info',
|
|
5
|
+
'light',
|
|
6
|
+
'primary',
|
|
7
|
+
'success',
|
|
8
|
+
'warning',
|
|
9
|
+
]
|
|
10
|
+
|
|
11
|
+
const themeLuminanceVariantDictionary = [
|
|
12
|
+
'dark',
|
|
13
|
+
'light',
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
const themeStatusVariantDictionary = [
|
|
17
|
+
'error',
|
|
18
|
+
'info',
|
|
19
|
+
'success',
|
|
20
|
+
'warning',
|
|
21
|
+
]
|
|
22
|
+
|
|
23
|
+
const themeFullVariantDictionary = [
|
|
24
|
+
'amaranth',
|
|
25
|
+
'aqua',
|
|
26
|
+
'blue',
|
|
27
|
+
'dark',
|
|
28
|
+
'error',
|
|
29
|
+
'green',
|
|
30
|
+
'info',
|
|
31
|
+
'light',
|
|
32
|
+
'lime',
|
|
33
|
+
'orange',
|
|
34
|
+
'orchid',
|
|
35
|
+
'sky',
|
|
36
|
+
'success',
|
|
37
|
+
'violet',
|
|
38
|
+
'warning',
|
|
39
|
+
'yellow',
|
|
40
|
+
]
|
|
41
|
+
|
|
42
|
+
const themeLabelVariantDictionary = [
|
|
43
|
+
'amaranth',
|
|
44
|
+
'aqua',
|
|
45
|
+
'blue',
|
|
46
|
+
'green',
|
|
47
|
+
'lime',
|
|
48
|
+
'orange',
|
|
49
|
+
'orchid',
|
|
50
|
+
'sky',
|
|
51
|
+
'violet',
|
|
52
|
+
'yellow',
|
|
53
|
+
]
|
|
54
|
+
|
|
55
|
+
const toneVariantDictionary = [
|
|
56
|
+
'strong',
|
|
57
|
+
'weak',
|
|
58
|
+
'ghost',
|
|
59
|
+
'quiet',
|
|
60
|
+
]
|
|
61
|
+
|
|
62
|
+
const toneSimpleVariantDictionary = [
|
|
63
|
+
'strong',
|
|
64
|
+
'weak',
|
|
65
|
+
'quiet',
|
|
66
|
+
]
|
|
67
|
+
|
|
68
|
+
const toneMinimalVariantDictionary = [
|
|
69
|
+
'strong',
|
|
70
|
+
'weak',
|
|
71
|
+
]
|
|
72
|
+
|
|
73
|
+
export {
|
|
74
|
+
themeFullVariantDictionary,
|
|
75
|
+
themeLabelVariantDictionary,
|
|
76
|
+
themeLuminanceVariantDictionary,
|
|
77
|
+
themeStatusVariantDictionary,
|
|
78
|
+
themeVariantDictionary,
|
|
79
|
+
toneMinimalVariantDictionary,
|
|
80
|
+
toneSimpleVariantDictionary,
|
|
81
|
+
toneVariantDictionary,
|
|
82
|
+
}
|