@maggioli-design-system/mds-list 3.6.1 → 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-eed6e3cd.js +12 -12
- package/dist/cjs/mds-list.cjs.entry.js +7 -7
- package/dist/cjs/mds-list.cjs.js +1 -1
- 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-f9ba0199.js +12 -12
- package/dist/esm/mds-list.entry.js +7 -7
- package/dist/esm/mds-list.js +1 -1
- package/dist/esm-es5/mds-list.entry.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/{www/build/p-4d396277.system.js → dist/mds-list/p-df1ca8ef.system.js} +1 -1
- package/dist/mds-list/p-fb5df3d9.entry.js +1 -0
- package/dist/stats.json +17 -17
- 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/{dist/mds-list/p-4d396277.system.js → www/build/p-df1ca8ef.system.js} +1 -1
- package/www/build/p-fb5df3d9.entry.js +1 -0
- package/dist/mds-list/p-0498e110.system.entry.js +0 -1
- package/dist/mds-list/p-11d0c9eb.entry.js +0 -1
- package/www/build/p-0498e110.system.entry.js +0 -1
- package/www/build/p-11d0c9eb.entry.js +0 -1
|
@@ -887,19 +887,19 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
887
887
|
return module[exportName];
|
|
888
888
|
}
|
|
889
889
|
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
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
|
+
}
|
|
901
902
|
}
|
|
902
|
-
}
|
|
903
903
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
904
904
|
/* @vite-ignore */
|
|
905
905
|
/* webpackInclude: /\.entry\.js$/ */
|
|
@@ -4,15 +4,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
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
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
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, };
|
|
@@ -1,21 +1,37 @@
|
|
|
1
1
|
const inputTextTypeDictionary = [
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
'date',
|
|
3
|
+
'email',
|
|
4
|
+
'number',
|
|
5
|
+
'password',
|
|
6
|
+
'search',
|
|
7
|
+
'tel',
|
|
8
|
+
'text',
|
|
9
|
+
'textarea',
|
|
10
|
+
'time',
|
|
11
|
+
'url',
|
|
12
|
+
];
|
|
13
|
+
const inputFieldTypeDictionary = [
|
|
14
|
+
'date',
|
|
15
|
+
'email',
|
|
16
|
+
'number',
|
|
17
|
+
'password',
|
|
18
|
+
'search',
|
|
19
|
+
'tel',
|
|
20
|
+
'text',
|
|
21
|
+
'textarea',
|
|
22
|
+
'time',
|
|
23
|
+
'url',
|
|
24
|
+
'cc',
|
|
25
|
+
'cf',
|
|
26
|
+
'isbn',
|
|
27
|
+
'piva',
|
|
12
28
|
];
|
|
13
29
|
const inputControlsLayoutDictionary = [
|
|
14
|
-
|
|
15
|
-
|
|
30
|
+
'horizontal',
|
|
31
|
+
'vertical',
|
|
16
32
|
];
|
|
17
33
|
const inputControlsIconDictionary = [
|
|
18
|
-
|
|
19
|
-
|
|
34
|
+
'arrow',
|
|
35
|
+
'arithmetic',
|
|
20
36
|
];
|
|
21
|
-
export { inputControlsIconDictionary, inputControlsLayoutDictionary, inputTextTypeDictionary, };
|
|
37
|
+
export { inputControlsIconDictionary, inputControlsLayoutDictionary, inputTextTypeDictionary, inputFieldTypeDictionary, };
|