@maggioli-design-system/mds-list 3.6.0 → 3.6.2
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-9c256f25.js → index-eed6e3cd.js} +43 -18
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mds-list.cjs.entry.js +8 -8
- package/dist/cjs/mds-list.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/common/aria.js +18 -18
- package/dist/collection/common/keyboard-manager.js +38 -38
- package/dist/collection/common/unit.js +7 -7
- package/dist/collection/components/mds-list/mds-list.css +7 -2
- package/dist/collection/components/mds-list/mds-list.js +15 -15
- package/dist/collection/components/mds-list/test/mds-list.stories.js +1 -1
- package/dist/collection/dictionary/autocomplete.js +56 -56
- package/dist/collection/dictionary/button.js +19 -19
- package/dist/collection/dictionary/color.js +14 -14
- package/dist/collection/dictionary/floating-ui.js +14 -14
- package/dist/collection/dictionary/input.js +31 -15
- package/dist/collection/dictionary/loading.js +2 -2
- package/dist/collection/dictionary/typography.js +46 -46
- package/dist/collection/dictionary/variant.js +54 -54
- package/dist/collection/fixtures/cities.js +107 -107
- package/dist/components/mds-list.d.ts +2 -2
- package/dist/components/mds-list.js +21 -21
- package/dist/documentation.json +2 -2
- package/dist/esm/{index-91cc404a.js → index-f9ba0199.js} +43 -18
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mds-list.entry.js +8 -8
- package/dist/esm/mds-list.js +3 -3
- package/dist/esm-es5/index-f9ba0199.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-list.js +1 -1
- package/dist/mds-list/mds-list.esm.js +1 -1
- package/dist/mds-list/mds-list.js +15 -15
- package/dist/mds-list/p-52d919ce.system.entry.js +1 -0
- package/dist/mds-list/p-b1d4af82.js +2 -0
- package/dist/mds-list/p-df1ca8ef.system.js +1 -0
- package/dist/mds-list/p-fb5df3d9.entry.js +1 -0
- package/dist/mds-list/p-ffc044a5.system.js +2 -0
- package/dist/stats.json +30 -30
- package/dist/types/common/keyboard-manager.d.ts +9 -9
- package/dist/types/components/mds-list/mds-list.d.ts +1 -1
- package/dist/types/components/mds-list/test/mds-list.stories.d.ts +1 -1
- package/dist/types/dictionary/input.d.ts +2 -1
- package/dist/types/interface/input-value.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +8 -0
- package/documentation.json +14 -4
- package/package.json +4 -4
- package/src/components/mds-list/mds-list.css +2 -2
- package/src/dictionary/input.ts +18 -0
- package/src/fixtures/icons.json +3 -0
- package/src/fixtures/iconsauce.json +3 -0
- package/www/build/mds-list.esm.js +1 -1
- package/www/build/mds-list.js +15 -15
- package/www/build/p-52d919ce.system.entry.js +1 -0
- package/www/build/p-b1d4af82.js +2 -0
- package/www/build/p-df1ca8ef.system.js +1 -0
- package/www/build/p-fb5df3d9.entry.js +1 -0
- package/www/build/p-ffc044a5.system.js +2 -0
- package/dist/esm-es5/index-91cc404a.js +0 -1
- package/dist/mds-list/p-5ca4f187.system.js +0 -2
- package/dist/mds-list/p-6405aac0.entry.js +0 -1
- package/dist/mds-list/p-8bf8e6ee.system.entry.js +0 -1
- package/dist/mds-list/p-b6cf7a75.js +0 -2
- package/dist/mds-list/p-f85753c1.system.js +0 -1
- package/www/build/p-5ca4f187.system.js +0 -2
- package/www/build/p-6405aac0.entry.js +0 -1
- package/www/build/p-8bf8e6ee.system.entry.js +0 -1
- package/www/build/p-b6cf7a75.js +0 -2
- package/www/build/p-f85753c1.system.js +0 -1
|
@@ -48,6 +48,13 @@ const uniqueTime = (key, measureText) => {
|
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
const HYDRATED_CSS = '{visibility:hidden}[hydrated]{visibility:inherit}';
|
|
51
|
+
/**
|
|
52
|
+
* Constant for styles to be globally applied to `slot-fb` elements for pseudo-slot behavior.
|
|
53
|
+
*
|
|
54
|
+
* Two cascading rules must be used instead of a `:not()` selector due to Stencil browser
|
|
55
|
+
* support as of Stencil v4.
|
|
56
|
+
*/
|
|
57
|
+
const SLOT_FB_CSS = 'slot-fb{display:contents}slot-fb[hidden]{display:none}';
|
|
51
58
|
const isDef = (v) => v != null;
|
|
52
59
|
/**
|
|
53
60
|
* Check whether a value is a 'complex type', defined here as an object or a
|
|
@@ -199,6 +206,10 @@ const addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
199
206
|
}
|
|
200
207
|
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
201
208
|
}
|
|
209
|
+
// Add styles for `slot-fb` elements if we're using slots outside the Shadow DOM
|
|
210
|
+
if (cmpMeta.$flags$ & 4 /* CMP_FLAGS.hasSlotRelocation */) {
|
|
211
|
+
styleElm.innerHTML += SLOT_FB_CSS;
|
|
212
|
+
}
|
|
202
213
|
if (appliedStyles) {
|
|
203
214
|
appliedStyles.add(scopeId);
|
|
204
215
|
}
|
|
@@ -716,12 +727,13 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
716
727
|
const customElements = win.customElements;
|
|
717
728
|
const head = doc.head;
|
|
718
729
|
const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
|
|
719
|
-
const
|
|
730
|
+
const dataStyles = /*@__PURE__*/ doc.createElement('style');
|
|
720
731
|
const deferredConnectedCallbacks = [];
|
|
721
732
|
let appLoadFallback;
|
|
722
733
|
let isBootstrapping = true;
|
|
723
734
|
Object.assign(plt, options);
|
|
724
735
|
plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
|
|
736
|
+
let hasSlotRelocation = false;
|
|
725
737
|
lazyBundles.map((lazyBundle) => {
|
|
726
738
|
lazyBundle[1].map((compactMeta) => {
|
|
727
739
|
const cmpMeta = {
|
|
@@ -730,6 +742,11 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
730
742
|
$members$: compactMeta[2],
|
|
731
743
|
$listeners$: compactMeta[3],
|
|
732
744
|
};
|
|
745
|
+
// Check if we are using slots outside the shadow DOM in this component.
|
|
746
|
+
// We'll use this information later to add styles for `slot-fb` elements
|
|
747
|
+
if (cmpMeta.$flags$ & 4 /* CMP_FLAGS.hasSlotRelocation */) {
|
|
748
|
+
hasSlotRelocation = true;
|
|
749
|
+
}
|
|
733
750
|
const tagName = cmpMeta.$tagName$;
|
|
734
751
|
const HostElement = class extends HTMLElement {
|
|
735
752
|
// StencilLazyHost
|
|
@@ -777,15 +794,23 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
777
794
|
}
|
|
778
795
|
});
|
|
779
796
|
});
|
|
797
|
+
// Add styles for `slot-fb` elements if any of our components are using slots outside the Shadow DOM
|
|
798
|
+
if (hasSlotRelocation) {
|
|
799
|
+
dataStyles.innerHTML += SLOT_FB_CSS;
|
|
800
|
+
}
|
|
801
|
+
// Add hydration styles
|
|
780
802
|
{
|
|
781
|
-
|
|
782
|
-
|
|
803
|
+
dataStyles.innerHTML += cmpTags + HYDRATED_CSS;
|
|
804
|
+
}
|
|
805
|
+
// If we have styles, add them to the DOM
|
|
806
|
+
if (dataStyles.innerHTML.length) {
|
|
807
|
+
dataStyles.setAttribute('data-styles', '');
|
|
808
|
+
head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
783
809
|
// Apply CSP nonce to the style tag if it exists
|
|
784
810
|
const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
|
|
785
811
|
if (nonce != null) {
|
|
786
|
-
|
|
812
|
+
dataStyles.setAttribute('nonce', nonce);
|
|
787
813
|
}
|
|
788
|
-
head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
789
814
|
}
|
|
790
815
|
// Process deferred connectedCallbacks now all components have been registered
|
|
791
816
|
isBootstrapping = false;
|
|
@@ -862,19 +887,19 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
862
887
|
return module[exportName];
|
|
863
888
|
}
|
|
864
889
|
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
890
|
+
if (!hmrVersionId || !BUILD.hotModuleReplacement) {
|
|
891
|
+
const processMod = importedModule => {
|
|
892
|
+
cmpModules.set(bundleId, importedModule);
|
|
893
|
+
return importedModule[exportName];
|
|
894
|
+
}
|
|
895
|
+
switch(bundleId) {
|
|
896
|
+
|
|
897
|
+
case 'mds-list.cjs':
|
|
898
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
899
|
+
/* webpackMode: "lazy" */
|
|
900
|
+
'./mds-list.cjs.entry.js')); }).then(processMod, consoleError);
|
|
901
|
+
}
|
|
876
902
|
}
|
|
877
|
-
}
|
|
878
903
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
879
904
|
/* @vite-ignore */
|
|
880
905
|
/* webpackInclude: /\.entry\.js$/ */
|
|
@@ -949,7 +974,7 @@ const flush = () => {
|
|
|
949
974
|
}
|
|
950
975
|
}
|
|
951
976
|
};
|
|
952
|
-
const nextTick =
|
|
977
|
+
const nextTick = (cb) => promiseResolve().then(cb);
|
|
953
978
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
954
979
|
|
|
955
980
|
exports.Host = Host;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-eed6e3cd.js');
|
|
6
6
|
|
|
7
7
|
const defineCustomElements = (win, options) => {
|
|
8
8
|
if (typeof window === 'undefined') return undefined;
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-eed6e3cd.js');
|
|
6
6
|
|
|
7
|
-
const mdsListCss = ".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{gap:1rem;padding-left:1rem;display:grid}ul{margin:
|
|
7
|
+
const mdsListCss = ".fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.text{font-size:1rem}.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{gap:1rem;padding-left:1rem;display:grid}ul{margin:0rem;padding:0rem}";
|
|
8
8
|
|
|
9
9
|
const MdsList = class {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return (index.h(index.Host, null, index.h("slot", null)));
|
|
15
|
+
}
|
|
16
16
|
};
|
|
17
17
|
MdsList.style = mdsListCss;
|
|
18
18
|
|
package/dist/cjs/mds-list.cjs.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-eed6e3cd.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Browser v4.
|
|
8
|
+
Stencil Client Patch Browser v4.8.0 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchBrowser = () => {
|
|
11
11
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('mds-list.cjs.js', document.baseURI).href));
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
const hash = (s) => {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
let i, h;
|
|
3
|
+
for (i = 0, h = 0; i < s.length; i++) {
|
|
4
|
+
h = Math.imul(31, h) + s.charCodeAt(i) | 0;
|
|
5
|
+
}
|
|
6
|
+
return h.toString();
|
|
7
7
|
};
|
|
8
8
|
const randomInt = (max) => Math.floor(Math.random() * max);
|
|
9
9
|
const unslugName = (name) => {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
var _a, _b, _c;
|
|
11
|
+
return (_c = (_b = (_a = name.split('/')) === null || _a === void 0 ? void 0 : _a.slice(-1).pop()) === null || _b === void 0 ? void 0 : _b.replace(/-/g, ' ')) !== null && _c !== void 0 ? _c : name;
|
|
12
12
|
};
|
|
13
13
|
const setAttributeIfEmpty = (element, attribute, value) => {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
var _a;
|
|
15
|
+
if (element.hasAttribute(attribute)) {
|
|
16
|
+
return (_a = element.getAttribute(attribute)) !== null && _a !== void 0 ? _a : '';
|
|
17
|
+
}
|
|
18
|
+
element.setAttribute(attribute, value);
|
|
19
|
+
return value;
|
|
20
20
|
};
|
|
21
21
|
const hashValue = (value) => `${value}-${hash(value)}`;
|
|
22
22
|
const hashRandomValue = (value) => {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
const randomValue = randomInt(1000000);
|
|
24
|
+
if (value) {
|
|
25
|
+
return `${value}-${hash(randomValue.toString())}`;
|
|
26
|
+
}
|
|
27
|
+
return hash(randomValue.toString());
|
|
28
28
|
};
|
|
29
29
|
export { unslugName, setAttributeIfEmpty, hashRandomValue, hashValue, };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
export class KeyboardManager {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
2
|
+
constructor() {
|
|
3
|
+
this.elements = [];
|
|
4
|
+
this.handleClickBehaviorDispatchEvent = (event) => {
|
|
5
|
+
if (event.code === 'Space' || event.code === 'Enter' || event.code === 'NumpadEnter') {
|
|
6
|
+
event.target.click();
|
|
7
|
+
}
|
|
8
|
+
};
|
|
9
|
+
this.handleEscapeBehaviorDispatchEvent = (event) => {
|
|
10
|
+
if (event.code === 'Escape' && this.escapeCallback) {
|
|
11
|
+
this.escapeCallback();
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
this.addElement = (el, name = 'element') => {
|
|
15
|
+
this.elements[name] = el;
|
|
16
|
+
};
|
|
17
|
+
this.attachClickBehavior = (name = 'element') => {
|
|
18
|
+
if (this.elements[name]) {
|
|
19
|
+
this.elements[name].addEventListener('keydown', this.handleClickBehaviorDispatchEvent);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
this.detachClickBehavior = (name = 'element') => {
|
|
23
|
+
if (this.elements[name]) {
|
|
24
|
+
this.elements[name].removeEventListener('keydown', this.handleClickBehaviorDispatchEvent);
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
this.attachEscapeBehavior = (callBack) => {
|
|
28
|
+
this.escapeCallback = callBack;
|
|
29
|
+
if (window !== undefined) {
|
|
30
|
+
window.addEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this));
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
this.detachEscapeBehavior = () => {
|
|
34
|
+
this.escapeCallback = () => { return; };
|
|
35
|
+
if (window !== undefined) {
|
|
36
|
+
window.removeEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this));
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
40
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
const cssDurationToMilliseconds = (duration, defaultValue = 1000) => {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
if (duration.includes('s')) {
|
|
3
|
+
return Number(duration.replace('s', '')) * 1000;
|
|
4
|
+
}
|
|
5
|
+
if (duration.includes('ms')) {
|
|
6
|
+
return Number(duration.replace('s', ''));
|
|
7
|
+
}
|
|
8
|
+
return defaultValue;
|
|
9
9
|
};
|
|
10
10
|
export { cssDurationToMilliseconds, };
|
|
@@ -13,6 +13,11 @@
|
|
|
13
13
|
border-width: 1px
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
.text {
|
|
17
|
+
|
|
18
|
+
font-size: 1rem
|
|
19
|
+
}
|
|
20
|
+
|
|
16
21
|
.shadow {
|
|
17
22
|
|
|
18
23
|
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
@@ -33,7 +38,7 @@
|
|
|
33
38
|
|
|
34
39
|
ul {
|
|
35
40
|
|
|
36
|
-
margin:
|
|
41
|
+
margin: 0rem;
|
|
37
42
|
|
|
38
|
-
padding:
|
|
43
|
+
padding: 0rem
|
|
39
44
|
}
|
|
@@ -3,19 +3,19 @@ import { Host, h } from "@stencil/core";
|
|
|
3
3
|
* @slot default - Add `mds-list-item` element/s.
|
|
4
4
|
*/
|
|
5
5
|
export class MdsList {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
6
|
+
render() {
|
|
7
|
+
return (h(Host, null, h("slot", null)));
|
|
8
|
+
}
|
|
9
|
+
static get is() { return "mds-list"; }
|
|
10
|
+
static get encapsulation() { return "shadow"; }
|
|
11
|
+
static get originalStyleUrls() {
|
|
12
|
+
return {
|
|
13
|
+
"$": ["mds-list.css"]
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
static get styleUrls() {
|
|
17
|
+
return {
|
|
18
|
+
"$": ["mds-list.css"]
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
21
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export default {
|
|
3
|
-
|
|
3
|
+
title: 'UI / List',
|
|
4
4
|
};
|
|
5
5
|
const Template = () => h("mds-list", null, h("mds-list-item", null, "Pane"), h("mds-list-item", null, "Acqua"), h("mds-list-item", null, "Pasta"));
|
|
6
6
|
export const Default = Template.bind({});
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
const autoCompleteDictionary = [
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
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
58
|
];
|
|
59
59
|
export { autoCompleteDictionary, };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
const buttonVariantDictionary = [
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
'dark',
|
|
3
|
+
'error',
|
|
4
|
+
'info',
|
|
5
|
+
'light',
|
|
6
|
+
'primary',
|
|
7
|
+
'success',
|
|
8
|
+
'warning',
|
|
9
9
|
];
|
|
10
10
|
const buttonToneVariantDictionary = [
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
'strong',
|
|
12
|
+
'weak',
|
|
13
|
+
'ghost',
|
|
14
|
+
'quiet',
|
|
15
15
|
];
|
|
16
16
|
const buttonTargetDictionary = [
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
'blank',
|
|
18
|
+
'self',
|
|
19
19
|
];
|
|
20
20
|
const buttonSizeDictionary = [
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
'sm',
|
|
22
|
+
'md',
|
|
23
|
+
'lg',
|
|
24
|
+
'xl',
|
|
25
25
|
];
|
|
26
26
|
const buttonIconPositionDictionary = [
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
'left',
|
|
28
|
+
'right',
|
|
29
29
|
];
|
|
30
30
|
export { buttonIconPositionDictionary, buttonSizeDictionary, buttonTargetDictionary, buttonToneVariantDictionary, buttonVariantDictionary, };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
const colorLabelDictionary = [
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
'amaranth',
|
|
3
|
+
'aqua',
|
|
4
|
+
'blue',
|
|
5
|
+
'green',
|
|
6
|
+
'lime',
|
|
7
|
+
'orange',
|
|
8
|
+
'orchid',
|
|
9
|
+
'sky',
|
|
10
|
+
'violet',
|
|
11
|
+
'yellow',
|
|
12
12
|
];
|
|
13
13
|
const colorStatusDictionary = [
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
'error',
|
|
15
|
+
'info',
|
|
16
|
+
'success',
|
|
17
|
+
'warning',
|
|
18
18
|
];
|
|
19
19
|
export { colorLabelDictionary, colorStatusDictionary, };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
const floatingUIPlacementDictionary = [
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
14
|
];
|
|
15
15
|
const floatingUIStrategyDictionary = [
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
'absolute',
|
|
17
|
+
'fixed',
|
|
18
18
|
];
|
|
19
19
|
export { floatingUIPlacementDictionary, floatingUIStrategyDictionary, };
|