@maggioli-design-system/mds-paginator-item 1.0.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/dist/cjs/index-e927fcce.js +1102 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/cjs/mds-paginator-item.cjs.entry.js +62 -0
- package/dist/cjs/mds-paginator-item.cjs.js +19 -0
- package/dist/collection/collection-manifest.json +12 -0
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +115 -0
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +71 -0
- 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/floating-ui.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 +59 -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/floating-ui.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/components/index.d.ts +22 -0
- package/dist/components/index.js +2 -0
- package/dist/components/mds-paginator-item.d.ts +11 -0
- package/dist/components/mds-paginator-item.js +80 -0
- package/dist/esm/index-83a6cf7b.js +1076 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +17 -0
- package/dist/esm/mds-paginator-item.entry.js +58 -0
- package/dist/esm/mds-paginator-item.js +17 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -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/index-83a6cf7b.js +2 -0
- package/dist/esm-es5/index.js +0 -0
- package/dist/esm-es5/loader.js +1 -0
- package/dist/esm-es5/mds-paginator-item.entry.js +1 -0
- package/dist/esm-es5/mds-paginator-item.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/mds-paginator-item/index.esm.js +0 -0
- package/dist/mds-paginator-item/mds-paginator-item.esm.js +1 -0
- package/dist/mds-paginator-item/mds-paginator-item.js +130 -0
- package/dist/mds-paginator-item/p-443e8754.system.entry.js +1 -0
- package/dist/mds-paginator-item/p-4cba8bec.system.js +2 -0
- package/dist/mds-paginator-item/p-50ea2036.system.js +1 -0
- package/dist/mds-paginator-item/p-5763f0b1.system.js +1 -0
- package/dist/mds-paginator-item/p-9275c4d0.js +2 -0
- package/dist/mds-paginator-item/p-b378e187.entry.js +1 -0
- package/dist/stats.json +483 -0
- package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +15 -0
- package/dist/types/components.d.ts +61 -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/floating-ui.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 +9 -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 +1565 -0
- package/dist/types/types/autocomplete.d.ts +2 -0
- package/dist/types/types/button.d.ts +4 -0
- package/dist/types/types/floating-ui.d.ts +2 -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 +8 -0
- package/dist/types/types/variant.d.ts +10 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +12 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- package/package.json +47 -0
- package/readme.md +39 -0
- package/src/components/mds-paginator-item/.gitlab-ci.yml +25 -0
- package/src/components/mds-paginator-item/mds-paginator-item.css +83 -0
- package/src/components/mds-paginator-item/mds-paginator-item.tsx +43 -0
- package/src/components/mds-paginator-item/readme.md +19 -0
- package/src/components.d.ts +61 -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/floating-ui.ts +25 -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 +76 -0
- package/src/dictionary/variant.ts +82 -0
- package/src/fixtures/cities.ts +116 -0
- package/src/fixtures/icons.json +64 -0
- package/src/interface/input-value.ts +5 -0
- package/src/tailwind/components.css +14 -0
- package/src/types/autocomplete.ts +69 -0
- package/src/types/button.ts +24 -0
- package/src/types/floating-ui.ts +17 -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 +57 -0
- package/src/types/variant.ts +73 -0
- package/www/build/index.esm.js +0 -0
- package/www/build/mds-paginator-item.esm.js +1 -0
- package/www/build/mds-paginator-item.js +130 -0
- package/www/build/p-443e8754.system.entry.js +1 -0
- package/www/build/p-4cba8bec.system.js +2 -0
- package/www/build/p-50ea2036.system.js +1 -0
- package/www/build/p-5763f0b1.system.js +1 -0
- package/www/build/p-9275c4d0.js +2 -0
- package/www/build/p-b378e187.entry.js +1 -0
- package/www/host.config.json +15 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-e927fcce.js');
|
|
6
|
+
|
|
7
|
+
/*
|
|
8
|
+
Stencil Client Patch Esm v2.17.0 | MIT Licensed | https://stenciljs.com
|
|
9
|
+
*/
|
|
10
|
+
const patchEsm = () => {
|
|
11
|
+
return index.promiseResolve();
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const defineCustomElements = (win, options) => {
|
|
15
|
+
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
|
+
return patchEsm().then(() => {
|
|
17
|
+
return index.bootstrapLazy([["mds-paginator-item.cjs",[[1,"mds-paginator-item",{"icon":[1],"active":[516],"disabled":[516]}]]]], options);
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
exports.defineCustomElements = defineCustomElements;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-e927fcce.js');
|
|
6
|
+
|
|
7
|
+
function toVal(mix) {
|
|
8
|
+
var k, y, str='';
|
|
9
|
+
|
|
10
|
+
if (typeof mix === 'string' || typeof mix === 'number') {
|
|
11
|
+
str += mix;
|
|
12
|
+
} else if (typeof mix === 'object') {
|
|
13
|
+
if (Array.isArray(mix)) {
|
|
14
|
+
for (k=0; k < mix.length; k++) {
|
|
15
|
+
if (mix[k]) {
|
|
16
|
+
if (y = toVal(mix[k])) {
|
|
17
|
+
str && (str += ' ');
|
|
18
|
+
str += y;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
} else {
|
|
23
|
+
for (k in mix) {
|
|
24
|
+
if (mix[k]) {
|
|
25
|
+
str && (str += ' ');
|
|
26
|
+
str += k;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
return str;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
function clsx () {
|
|
36
|
+
var i=0, tmp, x, str='';
|
|
37
|
+
while (i < arguments.length) {
|
|
38
|
+
if (tmp = arguments[i++]) {
|
|
39
|
+
if (x = toVal(tmp)) {
|
|
40
|
+
str && (str += ' ');
|
|
41
|
+
str += x;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
return str;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
const mdsPaginatorItemCss = ".fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--background-disabled:rgb(var(--tone-neutral-09));--background-hover:rgb(var(--tone-neutral-08));--background-selected:rgb(var(--brand-maggioli-03));--background:rgb(var(--tone-neutral-09));--color-disabled:rgb(var(--tone-neutral-06));--color-hover:rgb(var(--tone-neutral-02));--color-selected:rgb(var(--tone-neutral));--color:rgb(var(--tone-neutral-02));--radius:200px;--shadow-disabled:none;--shadow-hover:none;--shadow-selected:0 0 1px 1px rgba(0, 0, 0, 0.06), 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);--shadow:none;--size:2.25rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding-left:0.75rem;padding-right:0.75rem;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--background);border-radius:var(--radius);-webkit-box-shadow:var(--shadow);box-shadow:var(--shadow);color:var(--color);height:var(--size);min-width:var(--size)}:host(:hover){background-color:var(--background-hover);-webkit-box-shadow:var(--shadow-hover);box-shadow:var(--shadow-hover);color:var(--color-hover);fill:var(--color-hover)}:host([active]){pointer-events:none;background-color:var(--background-selected);-webkit-box-shadow:var(--shadow-selected);box-shadow:var(--shadow-selected);color:var(--color-selected);fill:var(--color-selected)}:host([disabled]){pointer-events:none;background-color:var(--background-disabled);-webkit-box-shadow:var(--shadow-disabled);box-shadow:var(--shadow-disabled);color:var(--color-disabled);fill:var(--color-disabled)}.icon{padding-left:0px;padding-right:0px}";
|
|
49
|
+
|
|
50
|
+
const MdsPaginatorItem = class {
|
|
51
|
+
constructor(hostRef) {
|
|
52
|
+
index.registerInstance(this, hostRef);
|
|
53
|
+
}
|
|
54
|
+
render() {
|
|
55
|
+
return (index.h(index.Host, { class: clsx(this.active && 'active', this.disabled && 'disabled', this.icon && 'icon') }, this.icon !== undefined
|
|
56
|
+
? index.h("mds-icon", { name: this.icon })
|
|
57
|
+
: index.h("mds-text", { class: "text", typography: "detail" }, index.h("slot", null))));
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
MdsPaginatorItem.style = mdsPaginatorItemCss;
|
|
61
|
+
|
|
62
|
+
exports.mds_paginator_item = MdsPaginatorItem;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const index = require('./index-e927fcce.js');
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
Stencil Client Patch Browser v2.17.0 | MIT Licensed | https://stenciljs.com
|
|
7
|
+
*/
|
|
8
|
+
const patchBrowser = () => {
|
|
9
|
+
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('mds-paginator-item.cjs.js', document.baseURI).href));
|
|
10
|
+
const opts = {};
|
|
11
|
+
if (importMeta !== '') {
|
|
12
|
+
opts.resourcesUrl = new URL('.', importMeta).href;
|
|
13
|
+
}
|
|
14
|
+
return index.promiseResolve(opts);
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
patchBrowser().then(options => {
|
|
18
|
+
return index.bootstrapLazy([["mds-paginator-item.cjs",[[1,"mds-paginator-item",{"icon":[1],"active":[516],"disabled":[516]}]]]], options);
|
|
19
|
+
});
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
.fixed {
|
|
2
|
+
|
|
3
|
+
position: fixed;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.absolute {
|
|
7
|
+
|
|
8
|
+
position: absolute;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.border {
|
|
12
|
+
|
|
13
|
+
border-width: 1px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.shadow {
|
|
17
|
+
|
|
18
|
+
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
19
|
+
|
|
20
|
+
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
|
21
|
+
|
|
22
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/*
|
|
26
|
+
* @prop --background-disabled: Sets the background-color of the item when is disabled
|
|
27
|
+
* @prop --background-hover: Sets the background-color of the item when the mouse is over it
|
|
28
|
+
* @prop --background-selected: Sets the background-color of the item when is selected
|
|
29
|
+
* @prop --background: Sets the background-color of the pages area and the item
|
|
30
|
+
* @prop --color-disabled: Sets the color of the item when is disabled
|
|
31
|
+
* @prop --color-hover: Sets the text color of the item when the mouse is over it
|
|
32
|
+
* @prop --color-selected: Sets the text color of the item when is selected
|
|
33
|
+
* @prop --color: Sets the text color of the component
|
|
34
|
+
* @prop --radius: Sets the border-radius of the component
|
|
35
|
+
* @prop --shadow-disabled: Sets the box-shadow of the item when is disabled
|
|
36
|
+
* @prop --shadow-hover: Sets the box-shadow of the item when the mouse is over it
|
|
37
|
+
* @prop --shadow-selected: Sets the box-shadow of the item when is selected
|
|
38
|
+
* @prop --shadow: Sets the box-shadow of the component
|
|
39
|
+
* @prop --size: Sets the height and the min-width of the paginator item
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
:host {
|
|
43
|
+
|
|
44
|
+
--background-disabled: rgb(var(--tone-neutral-09));
|
|
45
|
+
--background-hover: rgb(var(--tone-neutral-08));
|
|
46
|
+
--background-selected: rgb(var(--brand-maggioli-03));
|
|
47
|
+
--background: rgb(var(--tone-neutral-09));
|
|
48
|
+
--color-disabled: rgb(var(--tone-neutral-06));
|
|
49
|
+
--color-hover: rgb(var(--tone-neutral-02));
|
|
50
|
+
--color-selected: rgb(var(--tone-neutral));
|
|
51
|
+
--color: rgb(var(--tone-neutral-02));
|
|
52
|
+
--radius: 200px;
|
|
53
|
+
--shadow-disabled: none;
|
|
54
|
+
--shadow-hover: none;
|
|
55
|
+
--shadow-selected: 0 0 1px 1px rgba(0, 0, 0, 0.06), 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
56
|
+
--shadow: none;
|
|
57
|
+
--size: 2.25rem;
|
|
58
|
+
box-sizing: border-box;
|
|
59
|
+
display: inline-flex;
|
|
60
|
+
flex-shrink: 0;
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
-webkit-user-select: none;
|
|
63
|
+
-moz-user-select: none;
|
|
64
|
+
user-select: none;
|
|
65
|
+
align-items: center;
|
|
66
|
+
justify-content: center;
|
|
67
|
+
padding-left: 0.75rem;
|
|
68
|
+
padding-right: 0.75rem;
|
|
69
|
+
transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;
|
|
70
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
|
71
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
|
|
72
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
73
|
+
transition-duration: 150ms;
|
|
74
|
+
|
|
75
|
+
background-color: var(--background);
|
|
76
|
+
border-radius: var(--radius);
|
|
77
|
+
box-shadow: var(--shadow);
|
|
78
|
+
color: var(--color);
|
|
79
|
+
height: var(--size);
|
|
80
|
+
min-width: var(--size);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
:host( :hover ) {
|
|
84
|
+
background-color: var(--background-hover);
|
|
85
|
+
box-shadow: var(--shadow-hover);
|
|
86
|
+
color: var(--color-hover);
|
|
87
|
+
fill: var(--color-hover);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
:host ( [active]) {
|
|
91
|
+
|
|
92
|
+
pointer-events: none;
|
|
93
|
+
|
|
94
|
+
background-color: var(--background-selected);
|
|
95
|
+
box-shadow: var(--shadow-selected);
|
|
96
|
+
color: var(--color-selected);
|
|
97
|
+
fill: var(--color-selected);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
:host ( [disabled]) {
|
|
101
|
+
|
|
102
|
+
pointer-events: none;
|
|
103
|
+
|
|
104
|
+
background-color: var(--background-disabled);
|
|
105
|
+
box-shadow: var(--shadow-disabled);
|
|
106
|
+
color: var(--color-disabled);
|
|
107
|
+
fill: var(--color-disabled);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.icon {
|
|
111
|
+
|
|
112
|
+
padding-left: 0px;
|
|
113
|
+
|
|
114
|
+
padding-right: 0px;
|
|
115
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { Component, Host, h, Prop } from '@stencil/core';
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
export class MdsPaginatorItem {
|
|
4
|
+
render() {
|
|
5
|
+
return (h(Host, { class: clsx(this.active && 'active', this.disabled && 'disabled', this.icon && 'icon') }, this.icon !== undefined
|
|
6
|
+
? h("mds-icon", { name: this.icon })
|
|
7
|
+
: h("mds-text", { class: "text", typography: "detail" },
|
|
8
|
+
h("slot", null))));
|
|
9
|
+
}
|
|
10
|
+
static get is() { return "mds-paginator-item"; }
|
|
11
|
+
static get encapsulation() { return "shadow"; }
|
|
12
|
+
static get originalStyleUrls() { return {
|
|
13
|
+
"$": ["mds-paginator-item.css"]
|
|
14
|
+
}; }
|
|
15
|
+
static get styleUrls() { return {
|
|
16
|
+
"$": ["mds-paginator-item.css"]
|
|
17
|
+
}; }
|
|
18
|
+
static get properties() { return {
|
|
19
|
+
"icon": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"mutable": false,
|
|
22
|
+
"complexType": {
|
|
23
|
+
"original": "string",
|
|
24
|
+
"resolved": "string",
|
|
25
|
+
"references": {}
|
|
26
|
+
},
|
|
27
|
+
"required": false,
|
|
28
|
+
"optional": true,
|
|
29
|
+
"docs": {
|
|
30
|
+
"tags": [],
|
|
31
|
+
"text": "Specifies the icon used inside the paginator item"
|
|
32
|
+
},
|
|
33
|
+
"attribute": "icon",
|
|
34
|
+
"reflect": false
|
|
35
|
+
},
|
|
36
|
+
"active": {
|
|
37
|
+
"type": "boolean",
|
|
38
|
+
"mutable": false,
|
|
39
|
+
"complexType": {
|
|
40
|
+
"original": "boolean",
|
|
41
|
+
"resolved": "boolean",
|
|
42
|
+
"references": {}
|
|
43
|
+
},
|
|
44
|
+
"required": false,
|
|
45
|
+
"optional": true,
|
|
46
|
+
"docs": {
|
|
47
|
+
"tags": [],
|
|
48
|
+
"text": "Specifies if the item is active or not, is handled from the parent paginator"
|
|
49
|
+
},
|
|
50
|
+
"attribute": "active",
|
|
51
|
+
"reflect": true
|
|
52
|
+
},
|
|
53
|
+
"disabled": {
|
|
54
|
+
"type": "boolean",
|
|
55
|
+
"mutable": false,
|
|
56
|
+
"complexType": {
|
|
57
|
+
"original": "boolean",
|
|
58
|
+
"resolved": "boolean",
|
|
59
|
+
"references": {}
|
|
60
|
+
},
|
|
61
|
+
"required": false,
|
|
62
|
+
"optional": true,
|
|
63
|
+
"docs": {
|
|
64
|
+
"tags": [],
|
|
65
|
+
"text": "Specifies if the item is disabled or not, is handled from the parent paginator"
|
|
66
|
+
},
|
|
67
|
+
"attribute": "disabled",
|
|
68
|
+
"reflect": true
|
|
69
|
+
}
|
|
70
|
+
}; }
|
|
71
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
export { autoCompleteDictionary, };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const buttonVariantDictionary = [
|
|
2
|
+
'dark',
|
|
3
|
+
'error',
|
|
4
|
+
'info',
|
|
5
|
+
'light',
|
|
6
|
+
'primary',
|
|
7
|
+
'success',
|
|
8
|
+
'warning',
|
|
9
|
+
];
|
|
10
|
+
const buttonToneVariantDictionary = [
|
|
11
|
+
'strong',
|
|
12
|
+
'weak',
|
|
13
|
+
'ghost',
|
|
14
|
+
'quiet',
|
|
15
|
+
];
|
|
16
|
+
const buttonSizeDictionary = [
|
|
17
|
+
'sm',
|
|
18
|
+
'md',
|
|
19
|
+
'lg',
|
|
20
|
+
'xl',
|
|
21
|
+
];
|
|
22
|
+
const buttonIconPositionDictionary = [
|
|
23
|
+
'left',
|
|
24
|
+
'right',
|
|
25
|
+
];
|
|
26
|
+
export { buttonSizeDictionary, buttonToneVariantDictionary, buttonVariantDictionary, buttonIconPositionDictionary, };
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
const colorStatusDictionary = [
|
|
14
|
+
'error',
|
|
15
|
+
'info',
|
|
16
|
+
'success',
|
|
17
|
+
'warning',
|
|
18
|
+
];
|
|
19
|
+
export { colorLabelDictionary, colorStatusDictionary, };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const floatingUIPlacementDictionary = [
|
|
2
|
+
'bottom',
|
|
3
|
+
'bottom-end',
|
|
4
|
+
'bottom-start',
|
|
5
|
+
'left',
|
|
6
|
+
'left-end',
|
|
7
|
+
'left-start',
|
|
8
|
+
'right',
|
|
9
|
+
'right-end',
|
|
10
|
+
'right-start',
|
|
11
|
+
'top',
|
|
12
|
+
'top-end',
|
|
13
|
+
'top-start',
|
|
14
|
+
];
|
|
15
|
+
const floatingUIStrategyDictionary = [
|
|
16
|
+
'absolute',
|
|
17
|
+
'fixed',
|
|
18
|
+
];
|
|
19
|
+
export { floatingUIPlacementDictionary, floatingUIStrategyDictionary, };
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
const typographyVariationsDictionary = [
|
|
19
|
+
'title',
|
|
20
|
+
'info',
|
|
21
|
+
'read',
|
|
22
|
+
'mono',
|
|
23
|
+
];
|
|
24
|
+
const typographyMonoDictionary = [
|
|
25
|
+
'code',
|
|
26
|
+
'hack',
|
|
27
|
+
];
|
|
28
|
+
const typographyTitleDictionary = [
|
|
29
|
+
'action',
|
|
30
|
+
'h1',
|
|
31
|
+
'h2',
|
|
32
|
+
'h3',
|
|
33
|
+
'h4',
|
|
34
|
+
'h5',
|
|
35
|
+
'h6',
|
|
36
|
+
];
|
|
37
|
+
const typographyInfoDictionary = [
|
|
38
|
+
'caption',
|
|
39
|
+
'detail',
|
|
40
|
+
'label',
|
|
41
|
+
'option',
|
|
42
|
+
'paragraph',
|
|
43
|
+
'tip',
|
|
44
|
+
];
|
|
45
|
+
const typographyReadDictionary = [
|
|
46
|
+
'caption',
|
|
47
|
+
'detail',
|
|
48
|
+
'paragraph',
|
|
49
|
+
];
|
|
50
|
+
const typographySmallerDictionary = [
|
|
51
|
+
'option',
|
|
52
|
+
'tip',
|
|
53
|
+
];
|
|
54
|
+
const typographyTooltipDictionary = [
|
|
55
|
+
'caption',
|
|
56
|
+
'detail',
|
|
57
|
+
'tip',
|
|
58
|
+
];
|
|
59
|
+
export { typographyDictionary, typographyVariationsDictionary, typographyMonoDictionary, typographyTitleDictionary, typographyInfoDictionary, typographyReadDictionary, typographySmallerDictionary, typographyTooltipDictionary, };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
const themeVariantDictionary = [
|
|
2
|
+
'dark',
|
|
3
|
+
'error',
|
|
4
|
+
'info',
|
|
5
|
+
'light',
|
|
6
|
+
'primary',
|
|
7
|
+
'success',
|
|
8
|
+
'warning',
|
|
9
|
+
];
|
|
10
|
+
const themeLuminanceVariantDictionary = [
|
|
11
|
+
'dark',
|
|
12
|
+
'light',
|
|
13
|
+
];
|
|
14
|
+
const themeStatusVariantDictionary = [
|
|
15
|
+
'error',
|
|
16
|
+
'info',
|
|
17
|
+
'success',
|
|
18
|
+
'warning',
|
|
19
|
+
];
|
|
20
|
+
const themeFullVariantDictionary = [
|
|
21
|
+
'amaranth',
|
|
22
|
+
'aqua',
|
|
23
|
+
'blue',
|
|
24
|
+
'dark',
|
|
25
|
+
'error',
|
|
26
|
+
'green',
|
|
27
|
+
'info',
|
|
28
|
+
'light',
|
|
29
|
+
'lime',
|
|
30
|
+
'orange',
|
|
31
|
+
'orchid',
|
|
32
|
+
'sky',
|
|
33
|
+
'success',
|
|
34
|
+
'violet',
|
|
35
|
+
'warning',
|
|
36
|
+
'yellow',
|
|
37
|
+
];
|
|
38
|
+
const themeLabelVariantDictionary = [
|
|
39
|
+
'amaranth',
|
|
40
|
+
'aqua',
|
|
41
|
+
'blue',
|
|
42
|
+
'green',
|
|
43
|
+
'lime',
|
|
44
|
+
'orange',
|
|
45
|
+
'orchid',
|
|
46
|
+
'sky',
|
|
47
|
+
'violet',
|
|
48
|
+
'yellow',
|
|
49
|
+
];
|
|
50
|
+
const toneVariantDictionary = [
|
|
51
|
+
'strong',
|
|
52
|
+
'weak',
|
|
53
|
+
'ghost',
|
|
54
|
+
'quiet',
|
|
55
|
+
];
|
|
56
|
+
const toneSimpleVariantDictionary = [
|
|
57
|
+
'strong',
|
|
58
|
+
'weak',
|
|
59
|
+
'quiet',
|
|
60
|
+
];
|
|
61
|
+
const toneMinimalVariantDictionary = [
|
|
62
|
+
'strong',
|
|
63
|
+
'weak',
|
|
64
|
+
];
|
|
65
|
+
export { themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneVariantDictionary, };
|