@maggioli-design-system/mds-input-tip 1.2.2 → 1.2.3
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-442db91d.js → index-66d8bb25.js} +143 -58
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mds-input-tip.cjs.entry.js +7 -1
- package/dist/cjs/mds-input-tip.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/common/floating-controller.js +180 -0
- package/dist/collection/common/slot.js +19 -0
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +10 -0
- package/dist/collection/dictionary/animation.js +5 -0
- package/dist/collection/dictionary/file-extensions.js +6 -59
- package/dist/collection/dictionary/tree.js +13 -0
- package/dist/collection/fixtures/filenames.js +62 -1
- package/dist/collection/type/animation.js +1 -0
- package/dist/collection/type/tree.js +1 -0
- package/dist/collection/type/variant-file-format.js +5 -0
- package/dist/components/mds-input-tip.js +6 -0
- package/dist/documentation.d.ts +8 -0
- package/dist/documentation.json +8 -4
- package/dist/esm/{index-8fed469d.js → index-4e431d49.js} +143 -58
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mds-input-tip.entry.js +7 -1
- package/dist/esm/mds-input-tip.js +3 -3
- package/dist/esm-es5/index-4e431d49.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-input-tip.entry.js +1 -1
- package/dist/esm-es5/mds-input-tip.js +1 -1
- package/dist/mds-input-tip/mds-input-tip.esm.js +1 -1
- package/dist/mds-input-tip/mds-input-tip.js +1 -1
- package/dist/mds-input-tip/{p-4486a5e4.entry.js → p-3bf85392.entry.js} +1 -1
- package/dist/mds-input-tip/{p-fadf816e.system.entry.js → p-5c7f52a4.system.entry.js} +1 -1
- package/dist/mds-input-tip/p-7eeec96b.system.js +2 -0
- package/dist/mds-input-tip/p-b8376582.js +2 -0
- package/dist/mds-input-tip/{p-c915dfb3.system.js → p-c7ede63a.system.js} +1 -1
- package/dist/stats.json +60 -36
- package/dist/types/common/floating-controller.d.ts +46 -0
- package/dist/types/common/slot.d.ts +3 -0
- package/dist/types/dictionary/animation.d.ts +2 -0
- package/dist/types/dictionary/tree.d.ts +4 -0
- package/dist/types/fixtures/filenames.d.ts +62 -1
- package/dist/types/type/animation.d.ts +1 -0
- package/dist/types/type/file-types.d.ts +1 -1
- package/dist/types/type/tree.d.ts +3 -0
- package/dist/types/type/variant-file-format.d.ts +1 -1
- package/documentation.json +49 -15
- package/package.json +4 -4
- package/src/common/floating-controller.ts +263 -0
- package/src/common/slot.ts +24 -0
- package/src/dictionary/animation.ts +8 -0
- package/src/dictionary/file-extensions.ts +6 -60
- package/src/dictionary/tree.ts +21 -0
- package/src/fixtures/filenames.ts +63 -0
- package/src/fixtures/icons.json +21 -0
- package/src/fixtures/iconsauce.json +6 -0
- package/src/meta/file-format/locale.el.json +26 -21
- package/src/meta/file-format/locale.en.json +26 -21
- package/src/meta/file-format/locale.es.json +26 -21
- package/src/meta/file-format/locale.it.json +26 -21
- package/src/type/animation.ts +3 -0
- package/src/type/file-types.ts +6 -0
- package/src/type/tree.ts +12 -0
- package/src/type/variant-file-format.ts +6 -0
- package/www/build/mds-input-tip.esm.js +1 -1
- package/www/build/mds-input-tip.js +1 -1
- package/www/build/{p-4486a5e4.entry.js → p-3bf85392.entry.js} +1 -1
- package/www/build/{p-fadf816e.system.entry.js → p-5c7f52a4.system.entry.js} +1 -1
- package/www/build/p-7eeec96b.system.js +2 -0
- package/www/build/p-b8376582.js +2 -0
- package/www/build/{p-c915dfb3.system.js → p-c7ede63a.system.js} +1 -1
- package/dist/esm-es5/index-8fed469d.js +0 -1
- package/dist/mds-input-tip/p-37c61f56.system.js +0 -2
- package/dist/mds-input-tip/p-3e967425.js +0 -2
- package/www/build/p-37c61f56.system.js +0 -2
- package/www/build/p-3e967425.js +0 -2
@@ -1,7 +1,13 @@
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
2
2
|
export class MdsInputTip {
|
3
3
|
constructor() {
|
4
|
+
/**
|
5
|
+
* Specifies if the component is active and shows expanded children or not
|
6
|
+
*/
|
4
7
|
this.active = false;
|
8
|
+
/**
|
9
|
+
* Specifies the position of the element relative to its container
|
10
|
+
*/
|
5
11
|
this.position = 'top';
|
6
12
|
}
|
7
13
|
render() {
|
@@ -35,6 +41,8 @@ export class MdsInputTip {
|
|
35
41
|
"tags": [],
|
36
42
|
"text": "Specifies if the component is active and shows expanded children or not"
|
37
43
|
},
|
44
|
+
"getter": false,
|
45
|
+
"setter": false,
|
38
46
|
"attribute": "active",
|
39
47
|
"reflect": true,
|
40
48
|
"defaultValue": "false"
|
@@ -59,6 +67,8 @@ export class MdsInputTip {
|
|
59
67
|
"tags": [],
|
60
68
|
"text": "Specifies the position of the element relative to its container"
|
61
69
|
},
|
70
|
+
"getter": false,
|
71
|
+
"setter": false,
|
62
72
|
"attribute": "position",
|
63
73
|
"reflect": true,
|
64
74
|
"defaultValue": "'top'"
|
@@ -14,8 +14,8 @@ const fileExtensionsDictionary = {
|
|
14
14
|
exe: { format: 'executable', description: 'fileEXE' },
|
15
15
|
flac: { format: 'audio', description: 'uncompressedAudio' },
|
16
16
|
gif: { format: 'image', description: 'compressedImage', preview: true },
|
17
|
-
htm: { format: 'markup', description: 'documentWeb' },
|
18
17
|
heic: { format: 'image', description: 'imageHEFF' },
|
18
|
+
htm: { format: 'markup', description: 'documentWeb' },
|
19
19
|
html: { format: 'markup', description: 'documentWeb' },
|
20
20
|
jpe: { format: 'image', description: 'compressedImage', preview: true },
|
21
21
|
jpeg: { format: 'image', description: 'compressedImage', preview: true },
|
@@ -32,9 +32,12 @@ const fileExtensionsDictionary = {
|
|
32
32
|
mpg4: { format: 'video', description: 'videoSD' },
|
33
33
|
mpg: { format: 'video', description: 'videoSD' },
|
34
34
|
mpga: { format: 'audio', description: 'compressedAudio' },
|
35
|
+
odf: { format: 'document', description: 'openDocumentFormat' },
|
35
36
|
odp: { format: 'slide', description: 'slideLO' },
|
36
37
|
ods: { format: 'spreadsheet', description: 'spreadsheetLO' },
|
37
38
|
odt: { format: 'text', description: 'documentLO' },
|
39
|
+
ole: { format: 'document', description: 'objectLinkingAndEmbedding' },
|
40
|
+
p7m: { format: 'certificate', description: 'documentDigitalSingnature' },
|
38
41
|
pdf: { format: 'document', description: 'documentAdobe' },
|
39
42
|
php: { format: 'code', description: 'filePHP' },
|
40
43
|
png: { format: 'image', description: 'imagePNG', preview: true },
|
@@ -47,6 +50,7 @@ const fileExtensionsDictionary = {
|
|
47
50
|
tar: { format: 'archive', description: 'uncompressedArchive' },
|
48
51
|
tiff: { format: 'image', description: 'imageTIFF' },
|
49
52
|
ts: { format: 'code', description: 'fileTS' },
|
53
|
+
tsd: { format: 'certificate', description: 'certificateTSD' },
|
50
54
|
tsx: { format: 'code', description: 'fileTSX' },
|
51
55
|
txt: { format: 'text', description: 'documentTXT' },
|
52
56
|
wav: { format: 'audio', description: 'uncompressedAudio' },
|
@@ -54,66 +58,9 @@ const fileExtensionsDictionary = {
|
|
54
58
|
xar: { format: 'archive', description: 'compressedArchive' },
|
55
59
|
xls: { format: 'spreadsheet', description: 'spreadsheetMS' },
|
56
60
|
xlsx: { format: 'spreadsheet', description: 'spreadsheetMS' },
|
61
|
+
xml: { format: 'markup', description: 'extensibleMarkupLanguage' },
|
57
62
|
zip: { format: 'archive', description: 'compressedArchive' },
|
58
63
|
};
|
59
|
-
// const fileExtensionsDictionary: FileExtenstion = {
|
60
|
-
// '7z': { format: 'archive', description: 'Archivio compresso' },
|
61
|
-
// ace: { format: 'archive', description: 'Archivio compresso' },
|
62
|
-
// ai: { format: 'vector', description: 'Vettoriale Adobe Illustrator' },
|
63
|
-
// dart: { format: 'code', description: 'Dart' },
|
64
|
-
// db: { format: 'data', description: 'File di database' },
|
65
|
-
// default: { format: 'attachment', description: 'Formato sconosciuto' },
|
66
|
-
// dmg: { format: 'executable', description: 'Apple Disk Image' },
|
67
|
-
// doc: { format: 'text', description: 'Documento Microsoft Word' },
|
68
|
-
// docm: { format: 'text', description: 'Documento Microsoft Word' },
|
69
|
-
// docx: { format: 'text', description: 'Documento Microsoft Word Compresso' },
|
70
|
-
// eml: { format: 'email', description: 'E-mail di posta elettronica' },
|
71
|
-
// eps: { format: 'vector', description: 'Vettoriale Corel Draw' },
|
72
|
-
// exe: { format: 'executable', description: 'File eseguibile Windows' },
|
73
|
-
// flac: { format: 'audio', description: 'Audio non compresso' },
|
74
|
-
// gif: { format: 'image', description: 'Immagine compressa', preview: true },
|
75
|
-
// htm: { format: 'markup', description: 'Pagina web' },
|
76
|
-
// heic: { format: 'image', description: 'High Efficiency Image File Format' },
|
77
|
-
// html: { format: 'markup', description: 'Pagina web' },
|
78
|
-
// jpe: { format: 'image', description: 'Immagine compressa', preview: true },
|
79
|
-
// jpeg: { format: 'image', description: 'Immagine compressa', preview: true },
|
80
|
-
// jpg: { format: 'image', description: 'Immagine compressa', preview: true },
|
81
|
-
// js: { format: 'code', description: 'JavaScript' },
|
82
|
-
// json: { format: 'data', description: 'JavaScript Object Notation' },
|
83
|
-
// jsx: { format: 'code', description: 'JavaScript' },
|
84
|
-
// m2v: { format: 'video', description: 'Filmato SD' },
|
85
|
-
// mp2: { format: 'audio', description: 'Audio compresso' },
|
86
|
-
// mp3: { format: 'audio', description: 'Audio compresso' },
|
87
|
-
// mp4: { format: 'video', description: 'Filmato HD' },
|
88
|
-
// mp4v: { format: 'video', description: 'Filmato HD' },
|
89
|
-
// mpeg: { format: 'video', description: 'Filmato SD' },
|
90
|
-
// mpg4: { format: 'video', description: 'Filmato SD' },
|
91
|
-
// mpg: { format: 'video', description: 'Filmato SD' },
|
92
|
-
// mpga: { format: 'audio', description: 'Audio compresso' },
|
93
|
-
// odp: { format: 'slide', description: 'Slide di presentazione LibreOffice' },
|
94
|
-
// ods: { format: 'spreadsheet', description: 'Foglio di calcolo LibreOffice' },
|
95
|
-
// odt: { format: 'text', description: 'File di testo LibreOffice' },
|
96
|
-
// pdf: { format: 'document', description: 'Documento Adobe' },
|
97
|
-
// php: { format: 'code', description: 'Hypertext Preprocessor' },
|
98
|
-
// png: { format: 'image', description: 'Immagine Portable Network Graphics', preview: true },
|
99
|
-
// ppt: { format: 'slide', description: 'Slide di presentazione PowerPoint' },
|
100
|
-
// rar: { format: 'archive', description: 'Archivio compresso' },
|
101
|
-
// rtf: { format: 'text', description: 'Documento di testo Rich Text Format' },
|
102
|
-
// sass: { format: 'code', description: 'Syntactically Awesome StyleSheets' },
|
103
|
-
// shtml: { format: 'markup', description: 'Pagina web' },
|
104
|
-
// svg: { format: 'vector', description: 'Scalable Vector Graphics', preview: true },
|
105
|
-
// tar: { format: 'archive', description: 'Archivio non compresso' },
|
106
|
-
// tiff: { format: 'image', description: 'Tag Image File Format' },
|
107
|
-
// ts: { format: 'code', description: 'TypeScript' },
|
108
|
-
// tsx: { format: 'code', description: 'TypeScript Extended Syntax' },
|
109
|
-
// txt: { format: 'text', description: 'Documento di testo non formattato' },
|
110
|
-
// wav: { format: 'audio', description: 'Audio non compresso' },
|
111
|
-
// webp: { format: 'image', description: 'Immagine Web Picture', preview: true },
|
112
|
-
// xar: { format: 'archive', description: 'Archivio compresso' },
|
113
|
-
// xls: { format: 'spreadsheet', description: 'Foglio di calcolo Office' },
|
114
|
-
// xlsx: { format: 'spreadsheet', description: 'Foglio di calcolo Office' },
|
115
|
-
// zip: { format: 'archive', description: 'Archivio compresso' },
|
116
|
-
// }
|
117
64
|
const genericMimeToExt = new Map([
|
118
65
|
['image', ['.png', '.jpg', '.jpeg', '.tiff', '.webp', '.jpe', '.gif', '.heic']],
|
119
66
|
['audio', ['.mp2', '.mp3', '.mpga', '.wav', '.flac']],
|
@@ -0,0 +1,13 @@
|
|
1
|
+
const treeActionsDictionary = [
|
2
|
+
'auto',
|
3
|
+
'visible',
|
4
|
+
];
|
5
|
+
const treeAppearanceDictionary = [
|
6
|
+
'depth',
|
7
|
+
'none',
|
8
|
+
];
|
9
|
+
const treeIconDictionary = [
|
10
|
+
'folder',
|
11
|
+
'chevron',
|
12
|
+
];
|
13
|
+
export { treeActionsDictionary, treeAppearanceDictionary, treeIconDictionary, };
|
@@ -54,4 +54,65 @@ const filesList = [
|
|
54
54
|
'wisconsin_bypassing_small.xar',
|
55
55
|
'wooden.jsx',
|
56
56
|
];
|
57
|
-
|
57
|
+
const namedFilesList = {
|
58
|
+
'7z': 'frozen_haptic.7z',
|
59
|
+
'No extension file': 'this_is_an_extensionless_file',
|
60
|
+
'png with URL': 'https://i2.wp.com/clipart.info/images/ccovers/1495750818Apple-PNG-Clip-Art.png',
|
61
|
+
ace: 'sky_marketing.ace',
|
62
|
+
ai: 'foreground_overriding.ai',
|
63
|
+
db: 'matrix_black_hat.db',
|
64
|
+
default: 'copying.default',
|
65
|
+
dmg: 'protocol_designer.dmg',
|
66
|
+
doc: 'forges.doc',
|
67
|
+
docm: 'officer_somalia.docm',
|
68
|
+
docx: 'upgradable_gold.docx',
|
69
|
+
eml: 'brunei_logistical.eml',
|
70
|
+
eps: 'alarm_circuit_plastic.eps',
|
71
|
+
exe: 'rss_systematic_avon.exe',
|
72
|
+
flac: 'liaison_panel_central.flac',
|
73
|
+
gif: 'initiatives_group.gif',
|
74
|
+
htm: 'books_monetize_arizona.htm',
|
75
|
+
html: 'flexibility_auto_money.html',
|
76
|
+
jpe: 'intelligent_radical.jpe',
|
77
|
+
jpeg: 'iowa_installation.jpeg',
|
78
|
+
jpg: 'buckinghamshire_macao.jpg',
|
79
|
+
js: 'monitor.js',
|
80
|
+
json: 'calculating.json',
|
81
|
+
jsx: 'wooden.jsx',
|
82
|
+
m2v: 'interface_bedfordshire_solid.m2v',
|
83
|
+
mp2: 'explicit.mp2',
|
84
|
+
mp3: 'optimization_radical.mp3',
|
85
|
+
mp4: 'nebraska.mp4',
|
86
|
+
mp4v: 'reduced_regional_greenland.mp4v',
|
87
|
+
mpeg: 'impactful_alarm_handmade.mpeg',
|
88
|
+
mpg4: 'revolutionize.mpg4',
|
89
|
+
mpg: 'complexity_deposit.mpg',
|
90
|
+
mpga: 'ports_copy_granite.mpga',
|
91
|
+
odf: 'This is a file_to_read.odf',
|
92
|
+
odp: 'needs_based_solid.odp',
|
93
|
+
ods: 'compressing_black_colorado.ods',
|
94
|
+
odt: 'salad_compressing.odt',
|
95
|
+
ole: 'Document-RPF_Open-new.ole',
|
96
|
+
p7m: 'file with certificate from government.pdf.p7m',
|
97
|
+
pdf: 'connect_local_visualize.pdf',
|
98
|
+
php: 'fish.php',
|
99
|
+
png: 'awesome_orchestration.png',
|
100
|
+
ppt: 'gorgeous_manager_savings.ppt',
|
101
|
+
rar: 'unbranded.rar',
|
102
|
+
rtf: 'pound.rtf',
|
103
|
+
sass: 'open_source_gorgeous.sass',
|
104
|
+
shtml: 'brand.shtml',
|
105
|
+
svg: 'b2c_tan_sports.svg',
|
106
|
+
tar: 'graphic_frozen_bedfordshire.tar',
|
107
|
+
ts: 'forge_face.ts',
|
108
|
+
tsd: 'Marked file-7483274hy6Fg6R8.tsd',
|
109
|
+
txt: 'bedfordshire_iceland_identity.txt',
|
110
|
+
wav: 'synergistic.wav',
|
111
|
+
webp: 'open_source.webp',
|
112
|
+
xar: 'wisconsin_bypassing_small.xar',
|
113
|
+
xls: 'metrics_lempira_account.xls',
|
114
|
+
xlsx: 'hdd_navigate_panama.xlsx',
|
115
|
+
xml: 'Markup language.xml',
|
116
|
+
zip: 'tuna_table_fall.zip',
|
117
|
+
};
|
118
|
+
export { filesList, namedFilesList, };
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -3,6 +3,7 @@ import baselineAttachFile from "@icon/mi/baseline/attach-file.svg";
|
|
3
3
|
import baselineAudiotrack from "@icon/mi/baseline/audiotrack.svg";
|
4
4
|
import baselineTerminal from "@icon/mi/baseline/terminal.svg";
|
5
5
|
import baselineInsertDriveFile from "@icon/mi/baseline/insert-drive-file.svg";
|
6
|
+
import mdiLicense from "@icon/mdi/license.svg";
|
6
7
|
import mdiHardDisk from "@icon/mdi/harddisk.svg";
|
7
8
|
import baselineEmail from "@icon/mi/baseline/email.svg";
|
8
9
|
import baselineWysiwyg from "@icon/mi/baseline/wysiwyg.svg";
|
@@ -26,6 +27,10 @@ const fileFormatsVariant = {
|
|
26
27
|
icon: baselineAudiotrack,
|
27
28
|
variant: 'violet',
|
28
29
|
},
|
30
|
+
certificate: {
|
31
|
+
icon: mdiLicense,
|
32
|
+
variant: 'orange',
|
33
|
+
},
|
29
34
|
code: {
|
30
35
|
icon: baselineTerminal,
|
31
36
|
variant: 'yellow',
|
@@ -8,7 +8,13 @@ const MdsInputTip$1 = /*@__PURE__*/ proxyCustomElement(class MdsInputTip extends
|
|
8
8
|
super();
|
9
9
|
this.__registerHost();
|
10
10
|
this.__attachShadow();
|
11
|
+
/**
|
12
|
+
* Specifies if the component is active and shows expanded children or not
|
13
|
+
*/
|
11
14
|
this.active = false;
|
15
|
+
/**
|
16
|
+
* Specifies the position of the element relative to its container
|
17
|
+
*/
|
12
18
|
this.position = 'top';
|
13
19
|
}
|
14
20
|
render() {
|
package/dist/documentation.d.ts
CHANGED
@@ -316,6 +316,14 @@ export interface JsonDocsProp {
|
|
316
316
|
* ```
|
317
317
|
*/
|
318
318
|
required: boolean;
|
319
|
+
/**
|
320
|
+
* `true` if the prop has a `get()`. `false` otherwise
|
321
|
+
*/
|
322
|
+
getter: boolean;
|
323
|
+
/**
|
324
|
+
* `true` if the prop has a `set()`. `false` otherwise
|
325
|
+
*/
|
326
|
+
setter: boolean;
|
319
327
|
}
|
320
328
|
export interface JsonDocsMethod {
|
321
329
|
name: string;
|
package/dist/documentation.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
{
|
2
|
-
"timestamp": "
|
2
|
+
"timestamp": "2025-02-06T09:13:05",
|
3
3
|
"compiler": {
|
4
4
|
"name": "@stencil/core",
|
5
|
-
"version": "4.
|
5
|
+
"version": "4.25.1",
|
6
6
|
"typescriptVersion": "5.5.4"
|
7
7
|
},
|
8
8
|
"components": [
|
@@ -37,7 +37,9 @@
|
|
37
37
|
}
|
38
38
|
],
|
39
39
|
"optional": true,
|
40
|
-
"required": false
|
40
|
+
"required": false,
|
41
|
+
"getter": false,
|
42
|
+
"setter": false
|
41
43
|
},
|
42
44
|
{
|
43
45
|
"name": "position",
|
@@ -73,7 +75,9 @@
|
|
73
75
|
}
|
74
76
|
],
|
75
77
|
"optional": true,
|
76
|
-
"required": false
|
78
|
+
"required": false,
|
79
|
+
"getter": false,
|
80
|
+
"setter": false
|
77
81
|
}
|
78
82
|
],
|
79
83
|
"methods": [],
|