@maggioli-design-system/mds-table-row 4.1.0 → 4.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-1066e7b9.js → index-35a1d6b8.js} +205 -45
- package/dist/cjs/loader.cjs.js +2 -11
- package/dist/cjs/mds-table-row.cjs.entry.js +1 -1
- package/dist/cjs/mds-table-row.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/common/aria.js +9 -1
- package/dist/collection/common/unit.js +10 -0
- package/dist/collection/components/mds-table-row/mds-table-row.css +0 -7
- package/dist/collection/components/mds-table-row/mds-table-row.js +4 -1
- package/dist/collection/dictionary/button.js +5 -1
- package/dist/collection/dictionary/icon.js +2 -2
- package/dist/collection/dictionary/variant.js +9 -1
- package/dist/components/index.d.ts +5 -3
- package/dist/components/index.js +1 -2
- package/dist/components/mds-table-row.js +1 -1
- package/dist/documentation.d.ts +361 -88
- package/dist/documentation.json +23 -7
- package/dist/esm/{index-be386e76.js → index-c4b331a6.js} +205 -45
- package/dist/esm/loader.js +3 -12
- package/dist/esm/mds-table-row.entry.js +1 -1
- package/dist/esm/mds-table-row.js +3 -3
- package/dist/esm-es5/index-c4b331a6.js +2 -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 -1
- package/dist/mds-table-row/mds-table-row.esm.js +1 -1
- package/dist/mds-table-row/mds-table-row.js +2 -6
- package/dist/mds-table-row/p-3f3266f0.system.js +2 -0
- package/dist/mds-table-row/p-8af6733c.js +2 -0
- package/dist/mds-table-row/{p-30a6116a.entry.js → p-a5d8ea64.entry.js} +1 -1
- package/dist/mds-table-row/{p-7d3f05d4.system.entry.js → p-c7b7ffd2.system.entry.js} +1 -1
- package/dist/mds-table-row/{p-29cf76f2.system.js → p-e9c26e1c.system.js} +1 -1
- package/dist/stats.json +41 -33
- package/dist/types/common/aria.d.ts +2 -1
- package/dist/types/common/unit.d.ts +2 -0
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +3 -0
- package/dist/types/dictionary/button.d.ts +2 -1
- package/dist/types/dictionary/variant.d.ts +2 -1
- package/dist/types/stencil-public-runtime.d.ts +32 -17
- package/dist/types/type/button.d.ts +1 -0
- package/dist/types/type/variant.d.ts +1 -0
- package/documentation.json +376 -9
- package/loader/index.d.ts +2 -2
- package/package.json +5 -5
- package/readme.md +10 -1
- package/src/common/aria.ts +12 -0
- package/src/common/unit.ts +14 -0
- package/src/components/mds-table-row/mds-table-row.css +1 -1
- package/src/components/mds-table-row/mds-table-row.tsx +5 -0
- package/src/components/mds-table-row/readme.md +8 -1
- package/src/dictionary/button.ts +7 -1
- package/src/dictionary/variant.ts +10 -0
- package/src/fixtures/icons.json +41 -0
- package/src/fixtures/iconsauce.json +38 -0
- package/src/type/button.ts +4 -0
- package/src/type/variant.ts +9 -0
- package/www/build/mds-table-row.esm.js +1 -1
- package/www/build/mds-table-row.js +2 -6
- package/www/build/p-3f3266f0.system.js +2 -0
- package/www/build/p-8af6733c.js +2 -0
- package/www/build/{p-30a6116a.entry.js → p-a5d8ea64.entry.js} +1 -1
- package/www/build/{p-7d3f05d4.system.entry.js → p-c7b7ffd2.system.entry.js} +1 -1
- package/www/build/{p-29cf76f2.system.js → p-e9c26e1c.system.js} +1 -1
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm-es5/index-be386e76.js +0 -2
- package/dist/mds-table-row/p-2647d8bd.system.js +0 -2
- package/dist/mds-table-row/p-426bd1f3.js +0 -2
- package/www/build/p-2647d8bd.system.js +0 -2
- package/www/build/p-426bd1f3.js +0 -2
package/documentation.json
CHANGED
|
@@ -1,23 +1,33 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2023-
|
|
2
|
+
"timestamp": "2023-09-27T10:36:27",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
|
-
"version": "
|
|
6
|
-
"typescriptVersion": "
|
|
5
|
+
"version": "4.3.0",
|
|
6
|
+
"typescriptVersion": "5.1.6"
|
|
7
7
|
},
|
|
8
8
|
"components": [
|
|
9
9
|
{
|
|
10
|
-
"filePath": "
|
|
10
|
+
"filePath": "src/components/mds-table-row/mds-table-row.tsx",
|
|
11
11
|
"encapsulation": "shadow",
|
|
12
12
|
"tag": "mds-table-row",
|
|
13
|
-
"readme": "# mds-table-row\n\n\n",
|
|
14
|
-
"docs": "",
|
|
15
|
-
"docsTags": [
|
|
13
|
+
"readme": "# mds-table-row\n\n\n\nThis is a web-component from Maggioli Design System [Magma](https://magma.maggiolicloud.it), 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.\n",
|
|
14
|
+
"docs": "This is a web-component from Maggioli Design System [Magma](https://magma.maggiolicloud.it), 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.",
|
|
15
|
+
"docsTags": [
|
|
16
|
+
{
|
|
17
|
+
"name": "slot",
|
|
18
|
+
"text": "default - Put `mds-table-cell` element/s."
|
|
19
|
+
}
|
|
20
|
+
],
|
|
16
21
|
"usage": {},
|
|
17
22
|
"props": [
|
|
18
23
|
{
|
|
19
24
|
"name": "interactive",
|
|
20
25
|
"type": "boolean",
|
|
26
|
+
"complexType": {
|
|
27
|
+
"original": "boolean",
|
|
28
|
+
"resolved": "boolean",
|
|
29
|
+
"references": {}
|
|
30
|
+
},
|
|
21
31
|
"mutable": true,
|
|
22
32
|
"attr": "interactive",
|
|
23
33
|
"reflectToAttr": true,
|
|
@@ -43,11 +53,368 @@
|
|
|
43
53
|
}
|
|
44
54
|
],
|
|
45
55
|
"styles": [],
|
|
46
|
-
"slots": [
|
|
56
|
+
"slots": [
|
|
57
|
+
{
|
|
58
|
+
"name": "default",
|
|
59
|
+
"docs": "Put `mds-table-cell` element/s."
|
|
60
|
+
}
|
|
61
|
+
],
|
|
47
62
|
"parts": [],
|
|
48
63
|
"dependents": [],
|
|
49
64
|
"dependencies": [],
|
|
50
65
|
"dependencyGraph": {}
|
|
51
66
|
}
|
|
52
|
-
]
|
|
67
|
+
],
|
|
68
|
+
"typeLibrary": {
|
|
69
|
+
"src/components/mds-accordion/meta/event-detail.ts::MdsAccordionEventDetail": {
|
|
70
|
+
"declaration": "export interface MdsAccordionEventDetail {\n children: NodeListOf<HTMLMdsAccordionItemElement>\n selected: string\n}",
|
|
71
|
+
"docstring": "",
|
|
72
|
+
"path": "src/components/mds-accordion/meta/event-detail.ts"
|
|
73
|
+
},
|
|
74
|
+
"src/type/typography.ts::TypographyTitleType": {
|
|
75
|
+
"declaration": "export type TypographyTitleType =\n | 'action'\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'",
|
|
76
|
+
"docstring": "",
|
|
77
|
+
"path": "src/type/typography.ts"
|
|
78
|
+
},
|
|
79
|
+
"src/components/mds-accordion-item/meta/event-detail.ts::MdsAccordionItemEventDetail": {
|
|
80
|
+
"declaration": "export interface MdsAccordionItemEventDetail {\n id: string;\n selected: boolean;\n}",
|
|
81
|
+
"docstring": "",
|
|
82
|
+
"path": "src/components/mds-accordion-item/meta/event-detail.ts"
|
|
83
|
+
},
|
|
84
|
+
"src/components/mds-accordion-timer-item/meta/event-detail.ts::MdsAccordionTimerItemEventDetail": {
|
|
85
|
+
"declaration": "export interface MdsAccordionTimerItemEventDetail {\n selected: boolean;\n uuid: number;\n}",
|
|
86
|
+
"docstring": "",
|
|
87
|
+
"path": "src/components/mds-accordion-timer-item/meta/event-detail.ts"
|
|
88
|
+
},
|
|
89
|
+
"src/type/variant.ts::ThemeFullVariantType": {
|
|
90
|
+
"declaration": "export type ThemeFullVariantType =\n | 'amaranth'\n | 'aqua'\n | 'blue'\n | 'dark'\n | 'error'\n | 'green'\n | 'info'\n | 'light'\n | 'lime'\n | 'orange'\n | 'orchid'\n | 'sky'\n | 'success'\n | 'violet'\n | 'warning'\n | 'yellow'",
|
|
91
|
+
"docstring": "",
|
|
92
|
+
"path": "src/type/variant.ts"
|
|
93
|
+
},
|
|
94
|
+
"src/type/variant.ts::ToneSimpleVariantType": {
|
|
95
|
+
"declaration": "export type ToneSimpleVariantType =\n | 'strong'\n | 'weak'\n | 'quiet'",
|
|
96
|
+
"docstring": "",
|
|
97
|
+
"path": "src/type/variant.ts"
|
|
98
|
+
},
|
|
99
|
+
"src/type/typography.ts::TypographyInfoType": {
|
|
100
|
+
"declaration": "export type TypographyInfoType =\n | 'caption'\n | 'detail'\n | 'label'\n | 'option'\n | 'paragraph'\n | 'tip'",
|
|
101
|
+
"docstring": "",
|
|
102
|
+
"path": "src/type/typography.ts"
|
|
103
|
+
},
|
|
104
|
+
"src/type/typography.ts::TypographyReadType": {
|
|
105
|
+
"declaration": "export type TypographyReadType =\n | 'caption'\n | 'detail'\n | 'paragraph'",
|
|
106
|
+
"docstring": "",
|
|
107
|
+
"path": "src/type/typography.ts"
|
|
108
|
+
},
|
|
109
|
+
"src/type/typography.ts::TypographyVariants": {
|
|
110
|
+
"declaration": "export type TypographyVariants =\n | 'title'\n | 'info'\n | 'read'\n | 'code'",
|
|
111
|
+
"docstring": "",
|
|
112
|
+
"path": "src/type/typography.ts"
|
|
113
|
+
},
|
|
114
|
+
"src/type/variant.ts::ThemeVariantType": {
|
|
115
|
+
"declaration": "export type ThemeVariantType =\n | 'dark'\n | 'error'\n | 'info'\n | 'light'\n | 'primary'\n | 'success'\n | 'warning'",
|
|
116
|
+
"docstring": "",
|
|
117
|
+
"path": "src/type/variant.ts"
|
|
118
|
+
},
|
|
119
|
+
"src/components/mds-benchmark-bar/meta/types.ts::BenchmarkBarTypographyType": {
|
|
120
|
+
"declaration": "export type BenchmarkBarTypographyType =\n | 'option'\n | 'label'",
|
|
121
|
+
"docstring": "",
|
|
122
|
+
"path": "src/components/mds-benchmark-bar/meta/types.ts"
|
|
123
|
+
},
|
|
124
|
+
"src/components/mds-bibliography/meta/types.ts::BibliographyFormatType": {
|
|
125
|
+
"declaration": "export type BibliographyFormatType =\n | 'apa' // American Psychological Association - Simmons, B. (2015, January 9). The tale of two Flaccos. Grantland. http://grantland.com/the-triangle/the-tale-of-two-flaccos/\n | 'mla' // Modern Language Association - Author's Last name, First name. \"Title of Source.\" Title of Container, Other contributors, Version, Numbers, Publisher, Publication Date, Location.\n | 'turabian'",
|
|
126
|
+
"docstring": "",
|
|
127
|
+
"path": "src/components/mds-bibliography/meta/types.ts"
|
|
128
|
+
},
|
|
129
|
+
"src/components/mds-bibliography/meta/types.ts::BibliographyRelationshipType": {
|
|
130
|
+
"declaration": "export type BibliographyRelationshipType =\n | 'author'\n | 'external'",
|
|
131
|
+
"docstring": "",
|
|
132
|
+
"path": "src/components/mds-bibliography/meta/types.ts"
|
|
133
|
+
},
|
|
134
|
+
"src/components/mds-breadcrumb/meta/event-detail.ts::MdsBreadcrumbEventDetail": {
|
|
135
|
+
"declaration": "export interface MdsBreadcrumbEventDetail {\n caller: HTMLMdsBreadcrumbItemElement\n id: string\n selected?: boolean\n}",
|
|
136
|
+
"docstring": "",
|
|
137
|
+
"path": "src/components/mds-breadcrumb/meta/event-detail.ts"
|
|
138
|
+
},
|
|
139
|
+
"src/components/mds-breadcrumb-item/meta/event-detail.ts::MdsBreadcrumbItemEventDetail": {
|
|
140
|
+
"declaration": "export interface MdsBreadcrumbItemEventDetail {\n id: string\n selected: boolean\n}",
|
|
141
|
+
"docstring": "",
|
|
142
|
+
"path": "src/components/mds-breadcrumb-item/meta/event-detail.ts"
|
|
143
|
+
},
|
|
144
|
+
"src/type/button.ts::ButtonIconPositionType": {
|
|
145
|
+
"declaration": "export type ButtonIconPositionType =\n | 'left'\n | 'right'",
|
|
146
|
+
"docstring": "",
|
|
147
|
+
"path": "src/type/button.ts"
|
|
148
|
+
},
|
|
149
|
+
"src/type/button.ts::ButtonType": {
|
|
150
|
+
"declaration": "export type ButtonType =\n | 'a'\n | 'button'\n | 'reset'\n | 'submit'",
|
|
151
|
+
"docstring": "",
|
|
152
|
+
"path": "src/type/button.ts"
|
|
153
|
+
},
|
|
154
|
+
"src/type/button.ts::ButtonVariantType": {
|
|
155
|
+
"declaration": "export type ButtonVariantType =\n | 'primary'\n | 'dark'\n | 'light'\n | 'error'\n | 'info'\n | 'success'\n | 'warning'",
|
|
156
|
+
"docstring": "",
|
|
157
|
+
"path": "src/type/button.ts"
|
|
158
|
+
},
|
|
159
|
+
"src/type/variant.ts::ToneVariantType": {
|
|
160
|
+
"declaration": "export type ToneVariantType =\n | 'strong' // background strong\n | 'weak' // background weak\n | 'ghost' // bordered\n | 'quiet'",
|
|
161
|
+
"docstring": "",
|
|
162
|
+
"path": "src/type/variant.ts"
|
|
163
|
+
},
|
|
164
|
+
"src/type/button.ts::ButtonSizeType": {
|
|
165
|
+
"declaration": "export type ButtonSizeType =\n | 'sm'\n | 'md'\n | 'lg'\n | 'xl'",
|
|
166
|
+
"docstring": "",
|
|
167
|
+
"path": "src/type/button.ts"
|
|
168
|
+
},
|
|
169
|
+
"src/type/button.ts::ButtonTargetType": {
|
|
170
|
+
"declaration": "export type ButtonTargetType =\n |'self'\n |'blank'",
|
|
171
|
+
"docstring": "",
|
|
172
|
+
"path": "src/type/button.ts"
|
|
173
|
+
},
|
|
174
|
+
"src/components/mds-chip/meta/interface.ts::MdsChipEvent": {
|
|
175
|
+
"declaration": "interface MdsChipEvent {\n event: Event\n element: HTMLMdsChipElement\n}",
|
|
176
|
+
"docstring": "",
|
|
177
|
+
"path": "src/components/mds-chip/meta/interface.ts"
|
|
178
|
+
},
|
|
179
|
+
"src/type/floating-ui.ts::FloatingUIPlacement": {
|
|
180
|
+
"declaration": "export type FloatingUIPlacement =\n | 'bottom'\n | 'bottom-end'\n | 'bottom-start'\n | 'left'\n | 'left-end'\n | 'left-start'\n | 'right'\n | 'right-end'\n | 'right-start'\n | 'top'\n | 'top-end'\n | 'top-start'",
|
|
181
|
+
"docstring": "",
|
|
182
|
+
"path": "src/type/floating-ui.ts"
|
|
183
|
+
},
|
|
184
|
+
"src/type/floating-ui.ts::FloatingUIStrategy": {
|
|
185
|
+
"declaration": "export type FloatingUIStrategy =\n | 'absolute'\n | 'fixed'",
|
|
186
|
+
"docstring": "",
|
|
187
|
+
"path": "src/type/floating-ui.ts"
|
|
188
|
+
},
|
|
189
|
+
"src/components/mds-dropdown/meta/event-detail.ts::MdsDropdownEventDetail": {
|
|
190
|
+
"declaration": "export interface MdsDropdownEventDetail {\n caller: HTMLElement\n visible: boolean\n}",
|
|
191
|
+
"docstring": "",
|
|
192
|
+
"path": "src/components/mds-dropdown/meta/event-detail.ts"
|
|
193
|
+
},
|
|
194
|
+
"src/components/mds-file/meta/types.ts::ExtensionSuffixType": {
|
|
195
|
+
"declaration": "export type ExtensionSuffixType =\n | '7z'\n | 'ace'\n | 'ai'\n | 'db'\n | 'default'\n | 'dmg'\n | 'doc'\n | 'docm'\n | 'docx'\n | 'eml'\n | 'eps'\n | 'exe'\n | 'flac'\n | 'gif'\n | 'htm'\n | 'html'\n | 'jpe'\n | 'jpeg'\n | 'jpg'\n | 'js'\n | 'json'\n | 'jsx'\n | 'm2v'\n | 'mp2'\n | 'mp3'\n | 'mp4'\n | 'mp4v'\n | 'mpeg'\n | 'mpg'\n | 'mpg4'\n | 'mpga'\n | 'odp'\n | 'ods'\n | 'odt'\n | 'pdf'\n | 'php'\n | 'png'\n | 'ppt'\n | 'rar'\n | 'rtf'\n | 'sass'\n | 'shtml'\n | 'svg'\n | 'tar'\n | 'ts'\n | 'txt'\n | 'wav'\n | 'xar'\n | 'xls'\n | 'xlsx'\n | 'zip'",
|
|
196
|
+
"docstring": "",
|
|
197
|
+
"path": "src/components/mds-file/meta/types.ts"
|
|
198
|
+
},
|
|
199
|
+
"src/components/mds-file/meta/event-detail.ts::MdsFileEventDetail": {
|
|
200
|
+
"declaration": "export interface MdsFileEventDetail {\n description: string\n extension: string\n filename: string\n target: HTMLMdsFileElement\n type: string\n}",
|
|
201
|
+
"docstring": "",
|
|
202
|
+
"path": "src/components/mds-file/meta/event-detail.ts"
|
|
203
|
+
},
|
|
204
|
+
"src/components/mds-filter/meta/event-detail.ts::MdsFilterEventDetail": {
|
|
205
|
+
"declaration": "export interface MdsFilterEventDetail {\n children: NodeListOf<HTMLMdsFilterItemElement>\n value: string\n}",
|
|
206
|
+
"docstring": "",
|
|
207
|
+
"path": "src/components/mds-filter/meta/event-detail.ts"
|
|
208
|
+
},
|
|
209
|
+
"src/components/mds-filter-item/meta/event-detail.ts::MdsFilterItemEventDetail": {
|
|
210
|
+
"declaration": "export interface MdsFilterItemEventDetail {\n id: string\n selected: boolean\n}",
|
|
211
|
+
"docstring": "",
|
|
212
|
+
"path": "src/components/mds-filter-item/meta/event-detail.ts"
|
|
213
|
+
},
|
|
214
|
+
"src/components/mds-form/meta/types.ts::CharacterSetType": {
|
|
215
|
+
"declaration": "export type CharacterSetType =\n | '8859-1'\n | 'ansi'\n | 'ascii'\n | 'utf-8'",
|
|
216
|
+
"docstring": "",
|
|
217
|
+
"path": "src/components/mds-form/meta/types.ts"
|
|
218
|
+
},
|
|
219
|
+
"src/components/mds-form/meta/types.ts::FormAutocompleteType": {
|
|
220
|
+
"declaration": "export type FormAutocompleteType =\n | 'off'\n | 'on'",
|
|
221
|
+
"docstring": "",
|
|
222
|
+
"path": "src/components/mds-form/meta/types.ts"
|
|
223
|
+
},
|
|
224
|
+
"src/components/mds-form/meta/types.ts::EnctypeType": {
|
|
225
|
+
"declaration": "export type EnctypeType =\n | 'application/x-www-form-urlencoded'\n | 'multipart/form-data'\n | 'text/plain'",
|
|
226
|
+
"docstring": "",
|
|
227
|
+
"path": "src/components/mds-form/meta/types.ts"
|
|
228
|
+
},
|
|
229
|
+
"src/components/mds-form/meta/types.ts::FormMethodType": {
|
|
230
|
+
"declaration": "export type FormMethodType =\n | 'get'\n | 'post'",
|
|
231
|
+
"docstring": "",
|
|
232
|
+
"path": "src/components/mds-form/meta/types.ts"
|
|
233
|
+
},
|
|
234
|
+
"src/components/mds-header-bar/meta/types.ts::MenuType": {
|
|
235
|
+
"declaration": "export type MenuType =\n | 'all'\n | 'desktop'\n | 'mobile'\n | 'none'",
|
|
236
|
+
"docstring": "",
|
|
237
|
+
"path": "src/components/mds-header-bar/meta/types.ts"
|
|
238
|
+
},
|
|
239
|
+
"src/components/mds-header/meta/event-detail.ts::MdsHeaderEventDetail": {
|
|
240
|
+
"declaration": "export interface MdsHeaderEventDetail {\n bar: HTMLMdsHeaderBarElement\n}",
|
|
241
|
+
"docstring": "",
|
|
242
|
+
"path": "src/components/mds-header/meta/event-detail.ts"
|
|
243
|
+
},
|
|
244
|
+
"src/components/mds-horizontal-scroll/meta/types.ts::SnapType": {
|
|
245
|
+
"declaration": "export type SnapType =\n | 'center'\n | 'end'\n | 'none'\n | 'start'",
|
|
246
|
+
"docstring": "",
|
|
247
|
+
"path": "src/components/mds-horizontal-scroll/meta/types.ts"
|
|
248
|
+
},
|
|
249
|
+
"src/components/mds-img/meta/types.ts::CrossoriginType": {
|
|
250
|
+
"declaration": "export type CrossoriginType =\n | 'anonymous'\n | 'use-credentials'",
|
|
251
|
+
"docstring": "",
|
|
252
|
+
"path": "src/components/mds-img/meta/types.ts"
|
|
253
|
+
},
|
|
254
|
+
"src/type/loading.ts::LoadingType": {
|
|
255
|
+
"declaration": "export type LoadingType =\n | 'eager'\n | 'lazy'",
|
|
256
|
+
"docstring": "",
|
|
257
|
+
"path": "src/type/loading.ts"
|
|
258
|
+
},
|
|
259
|
+
"src/components/mds-img/meta/types.ts::ReferrerpolicyType": {
|
|
260
|
+
"declaration": "export type ReferrerpolicyType =\n | 'no-referrer'\n | 'no-referrer-when-downgrade'\n | 'origin'\n | 'origin-when-cross-origin'\n | 'unsafe-url'",
|
|
261
|
+
"docstring": "",
|
|
262
|
+
"path": "src/components/mds-img/meta/types.ts"
|
|
263
|
+
},
|
|
264
|
+
"src/components/mds-img/meta/event-detail.ts::MdsImgEventDetail": {
|
|
265
|
+
"declaration": "export interface MdsImgEventDetail {\n image: HTMLImageElement\n}",
|
|
266
|
+
"docstring": "",
|
|
267
|
+
"path": "src/components/mds-img/meta/event-detail.ts"
|
|
268
|
+
},
|
|
269
|
+
"src/type/autocomplete.ts::AutocompleteType": {
|
|
270
|
+
"declaration": "export type AutocompleteType =\n | 'additional-name'\n | 'address'\n | 'address-level1'\n | 'address-level2'\n | 'address-level3'\n | 'address-level4'\n | 'address-line1'\n | 'address-line2'\n | 'address-line3'\n | 'bday'\n | 'bday-day'\n | 'bday-month'\n | 'bday-year'\n | 'cc-additional-name'\n | 'cc-csc'\n | 'cc-exp'\n | 'cc-exp-month'\n | 'cc-exp-year'\n | 'cc-family-name'\n | 'cc-family-name'\n | 'cc-given-name'\n | 'cc-name'\n | 'cc-number'\n | 'cc-type'\n | 'country'\n | 'country-name'\n | 'current-password'\n | 'email'\n | 'family-name'\n | 'given-name'\n | 'honorific-prefix'\n | 'honorific-suffix'\n | 'impp'\n | 'language'\n | 'name'\n | 'new-password'\n | 'nickname'\n | 'off'\n | 'on'\n | 'one-time-code'\n | 'organization'\n | 'organization-title'\n | 'photo'\n | 'postal-code'\n | 'sex'\n | 'street-address'\n | 'tel'\n | 'tel-area-code'\n | 'tel-country-code'\n | 'tel-extension'\n | 'tel-local'\n | 'tel-national'\n | 'transaction-amount'\n | 'transaction-currency'\n | 'url'\n | 'username'",
|
|
271
|
+
"docstring": "",
|
|
272
|
+
"path": "src/type/autocomplete.ts"
|
|
273
|
+
},
|
|
274
|
+
"src/type/variant.ts::ThemeStatusVariantType": {
|
|
275
|
+
"declaration": "export type ThemeStatusVariantType =\n | 'error'\n | 'info'\n | 'success'\n | 'warning'",
|
|
276
|
+
"docstring": "",
|
|
277
|
+
"path": "src/type/variant.ts"
|
|
278
|
+
},
|
|
279
|
+
"src/type/input-text-type.ts::InputTextType": {
|
|
280
|
+
"declaration": "export type InputTextType =\n | 'date'\n | 'email'\n | 'number'\n | 'password'\n | 'search'\n | 'tel'\n | 'text'\n | 'textarea'\n | 'time'\n | 'url'",
|
|
281
|
+
"docstring": "",
|
|
282
|
+
"path": "src/type/input-text-type.ts"
|
|
283
|
+
},
|
|
284
|
+
"src/type/input-value-type.ts::InputValueType": {
|
|
285
|
+
"declaration": "export type InputValueType =\n | null\n | number\n | string\n | undefined",
|
|
286
|
+
"docstring": "",
|
|
287
|
+
"path": "src/type/input-value-type.ts"
|
|
288
|
+
},
|
|
289
|
+
"src/components/mds-input/meta/interfaces.ts::InputValue": {
|
|
290
|
+
"declaration": "export interface InputValue {\n value: InputValueType\n}",
|
|
291
|
+
"docstring": "",
|
|
292
|
+
"path": "src/components/mds-input/meta/interfaces.ts"
|
|
293
|
+
},
|
|
294
|
+
"src/components/mds-input-field/meta/types.ts::ValidationModelType": {
|
|
295
|
+
"declaration": "export type ValidationModelType =\n | 'cf'\n | 'email'\n | 'isbn'\n | 'piva'",
|
|
296
|
+
"docstring": "",
|
|
297
|
+
"path": "src/components/mds-input-field/meta/types.ts"
|
|
298
|
+
},
|
|
299
|
+
"src/interface/input-value.ts::InputValue": {
|
|
300
|
+
"declaration": "export interface InputValue {\n value: InputValueType\n}",
|
|
301
|
+
"docstring": "",
|
|
302
|
+
"path": "src/interface/input-value.ts"
|
|
303
|
+
},
|
|
304
|
+
"src/components/mds-input-switch/meta/types.ts::InputSwitchSizeType": {
|
|
305
|
+
"declaration": "export type InputSwitchSizeType =\n | 'sm'\n | 'md'\n | 'lg'",
|
|
306
|
+
"docstring": "",
|
|
307
|
+
"path": "src/components/mds-input-switch/meta/types.ts"
|
|
308
|
+
},
|
|
309
|
+
"src/components/mds-input-switch/meta/types.ts::InputSwitchType": {
|
|
310
|
+
"declaration": "export type InputSwitchType =\n | 'checkbox'\n | 'radio'\n | 'switch'",
|
|
311
|
+
"docstring": "",
|
|
312
|
+
"path": "src/components/mds-input-switch/meta/types.ts"
|
|
313
|
+
},
|
|
314
|
+
"src/type/typography.ts::TypographyType": {
|
|
315
|
+
"declaration": "export type TypographyType =\n | 'action'\n | 'caption'\n | 'snippet'\n | 'detail'\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'\n | 'hack'\n | 'label'\n | 'option'\n | 'paragraph'\n | 'tip'",
|
|
316
|
+
"docstring": "",
|
|
317
|
+
"path": "src/type/typography.ts"
|
|
318
|
+
},
|
|
319
|
+
"src/type/typography.ts::TypographyReadingVariants": {
|
|
320
|
+
"declaration": "export type TypographyReadingVariants =\n | 'info'\n | 'read'",
|
|
321
|
+
"docstring": "",
|
|
322
|
+
"path": "src/type/typography.ts"
|
|
323
|
+
},
|
|
324
|
+
"src/components/mds-modal/meta/types.ts::ModalPositionType": {
|
|
325
|
+
"declaration": "export type ModalPositionType =\n | 'bottom'\n | 'center'\n | 'left'\n | 'right'\n | 'top'",
|
|
326
|
+
"docstring": "",
|
|
327
|
+
"path": "src/components/mds-modal/meta/types.ts"
|
|
328
|
+
},
|
|
329
|
+
"src/type/variant.ts::LabelVariantType": {
|
|
330
|
+
"declaration": "export type LabelVariantType =\n | 'amaranth'\n | 'aqua'\n | 'blue'\n | 'green'\n | 'lime'\n | 'orange'\n | 'orchid'\n | 'sky'\n | 'violet'\n | 'yellow'",
|
|
331
|
+
"docstring": "",
|
|
332
|
+
"path": "src/type/variant.ts"
|
|
333
|
+
},
|
|
334
|
+
"src/components/mds-notification/meta/types.ts::StrategyType": {
|
|
335
|
+
"declaration": "export type StrategyType =\n | 'absolute'\n | 'fixed'\n | 'disabled'",
|
|
336
|
+
"docstring": "",
|
|
337
|
+
"path": "src/components/mds-notification/meta/types.ts"
|
|
338
|
+
},
|
|
339
|
+
"src/components/mds-paginator/meta/event-detail.ts::MdsPaginatorEventDetail": {
|
|
340
|
+
"declaration": "export interface MdsPaginatorEventDetail {\n caller?: HTMLMdsPaginatorItemElement\n page: number\n}",
|
|
341
|
+
"docstring": "",
|
|
342
|
+
"path": "src/components/mds-paginator/meta/event-detail.ts"
|
|
343
|
+
},
|
|
344
|
+
"src/components/mds-price-table-features-cell/meta/types.ts::PriceTableFeaturesCellType": {
|
|
345
|
+
"declaration": "export type PriceTableFeaturesCellType =\n | 'custom'\n | 'label'\n | 'supported'\n | 'text'\n | 'unsupported'",
|
|
346
|
+
"docstring": "",
|
|
347
|
+
"path": "src/components/mds-price-table-features-cell/meta/types.ts"
|
|
348
|
+
},
|
|
349
|
+
"src/components/mds-progress/meta/types.ts::DirectionType": {
|
|
350
|
+
"declaration": "export type DirectionType =\n | 'horizontal'\n | 'vertical'",
|
|
351
|
+
"docstring": "",
|
|
352
|
+
"path": "src/components/mds-progress/meta/types.ts"
|
|
353
|
+
},
|
|
354
|
+
"src/components/mds-stepper-bar/meta/event-detail.ts::MdsStepperBarEventDetail": {
|
|
355
|
+
"declaration": "export interface MdsStepperBarEventDetail {\n step: number\n value: string\n}",
|
|
356
|
+
"docstring": "",
|
|
357
|
+
"path": "src/components/mds-stepper-bar/meta/event-detail.ts"
|
|
358
|
+
},
|
|
359
|
+
"src/components/mds-stepper-bar-item/meta/event-detail.ts::MdsStepperBarItemEventDetail": {
|
|
360
|
+
"declaration": "export interface MdsStepperBarItemEventDetail {\n value: string\n}",
|
|
361
|
+
"docstring": "",
|
|
362
|
+
"path": "src/components/mds-stepper-bar-item/meta/event-detail.ts"
|
|
363
|
+
},
|
|
364
|
+
"src/components/mds-tab/meta/event-detail.ts::MdsTabEventDetail": {
|
|
365
|
+
"declaration": "export interface MdsTabEventDetail {\n id: number\n}",
|
|
366
|
+
"docstring": "",
|
|
367
|
+
"path": "src/components/mds-tab/meta/event-detail.ts"
|
|
368
|
+
},
|
|
369
|
+
"src/components/mds-tab-bar/meta/event-detail.ts::MdsTabBarEventDetail": {
|
|
370
|
+
"declaration": "export interface MdsTabBarEventDetail {\n index: number\n}",
|
|
371
|
+
"docstring": "",
|
|
372
|
+
"path": "src/components/mds-tab-bar/meta/event-detail.ts"
|
|
373
|
+
},
|
|
374
|
+
"src/type/typography.ts::TypographySmallerType": {
|
|
375
|
+
"declaration": "export type TypographySmallerType =\n | 'tip'\n | 'option'",
|
|
376
|
+
"docstring": "",
|
|
377
|
+
"path": "src/type/typography.ts"
|
|
378
|
+
},
|
|
379
|
+
"src/components/mds-text/meta/types.ts::TypographyTagType": {
|
|
380
|
+
"declaration": "export type TypographyTagType =\n | 'abbr'\n | 'address'\n | 'article'\n | 'b'\n | 'bdo'\n | 'blockquote'\n | 'cite'\n | 'code'\n | 'dd'\n | 'del'\n | 'details'\n | 'dfn'\n | 'div'\n | 'dl'\n | 'dt'\n | 'em'\n | 'figcaption'\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'\n | 'i'\n | 'ins'\n | 'kbd'\n | 'label'\n | 'legend'\n | 'li'\n | 'mark'\n | 'ol'\n | 'p'\n | 'pre'\n | 'q'\n | 'rb'\n | 'rt'\n | 'ruby'\n | 's'\n | 'samp'\n | 'small'\n | 'span'\n | 'strong'\n | 'sub'\n | 'summary'\n | 'sup'\n | 'time'\n | 'u'\n | 'ul'\n | 'var'",
|
|
381
|
+
"docstring": "",
|
|
382
|
+
"path": "src/components/mds-text/meta/types.ts"
|
|
383
|
+
},
|
|
384
|
+
"src/type/variant.ts::ThemeLuminanceVariantType": {
|
|
385
|
+
"declaration": "export type ThemeLuminanceVariantType =\n | 'dark'\n | 'light'",
|
|
386
|
+
"docstring": "",
|
|
387
|
+
"path": "src/type/variant.ts"
|
|
388
|
+
},
|
|
389
|
+
"src/type/variant.ts::ToneMinimalVariantType": {
|
|
390
|
+
"declaration": "export type ToneMinimalVariantType =\n| 'strong'\n| 'weak'",
|
|
391
|
+
"docstring": "",
|
|
392
|
+
"path": "src/type/variant.ts"
|
|
393
|
+
},
|
|
394
|
+
"src/components/mds-toast/meta/types.ts::ToastPosition": {
|
|
395
|
+
"declaration": "export type ToastPosition =\n | 'top-left'\n | 'top-center'\n | 'top-right'\n | 'bottom-left'\n | 'bottom-center'\n | 'bottom-right'",
|
|
396
|
+
"docstring": "",
|
|
397
|
+
"path": "src/components/mds-toast/meta/types.ts"
|
|
398
|
+
},
|
|
399
|
+
"src/type/typography.ts::TypographyTooltipType": {
|
|
400
|
+
"declaration": "export type TypographyTooltipType =\n | 'caption'\n | 'detail'\n | 'tip'",
|
|
401
|
+
"docstring": "",
|
|
402
|
+
"path": "src/type/typography.ts"
|
|
403
|
+
},
|
|
404
|
+
"src/components/mds-usage/meta/types.ts::UsageType": {
|
|
405
|
+
"declaration": "export type UsageType =\n | 'do'\n | 'dont'\n | 'info'\n | 'warn'",
|
|
406
|
+
"docstring": "",
|
|
407
|
+
"path": "src/components/mds-usage/meta/types.ts"
|
|
408
|
+
},
|
|
409
|
+
"src/components/mds-video-wall/meta/types.ts::NoiseType": {
|
|
410
|
+
"declaration": "export type NoiseType =\n | 'classic'\n | 'none'\n | 'sharp'\n | 'soft'\n | 'tv'",
|
|
411
|
+
"docstring": "",
|
|
412
|
+
"path": "src/components/mds-video-wall/meta/types.ts"
|
|
413
|
+
},
|
|
414
|
+
"src/components/mds-video-wall/meta/types.ts::PreloadType": {
|
|
415
|
+
"declaration": "export type PreloadType =\n | 'auto'\n | 'metadata'\n | 'none'",
|
|
416
|
+
"docstring": "",
|
|
417
|
+
"path": "src/components/mds-video-wall/meta/types.ts"
|
|
418
|
+
}
|
|
419
|
+
}
|
|
53
420
|
}
|
package/loader/index.d.ts
CHANGED
|
@@ -8,10 +8,10 @@ export interface CustomElementsDefineOptions {
|
|
|
8
8
|
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
9
9
|
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
10
10
|
}
|
|
11
|
-
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions):
|
|
11
|
+
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): void;
|
|
12
12
|
export declare function applyPolyfills(): Promise<void>;
|
|
13
13
|
|
|
14
|
-
/**
|
|
14
|
+
/**
|
|
15
15
|
* Used to specify a nonce value that corresponds with an application's CSP.
|
|
16
16
|
* When set, the nonce will be added to all dynamically created script and style tags at runtime.
|
|
17
17
|
* Alternatively, the nonce value can be set on a meta tag in the DOM head
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maggioli-design-system/mds-table-row",
|
|
3
|
-
"version": "4.1
|
|
4
|
-
"description": "mds-table-row is a web-component from
|
|
3
|
+
"version": "4.2.1",
|
|
4
|
+
"description": "mds-table-row is a web-component from Magma Design System, 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
6
|
"module": "dist/index.js",
|
|
7
7
|
"es2015": "dist/esm/index.mjs",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"prepublishOnly": "npm run build"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@maggioli-design-system/mds-table-cell": "^4.1
|
|
27
|
-
"@maggioli-design-system/styles": "^11.
|
|
28
|
-
"@stencil/core": "^
|
|
26
|
+
"@maggioli-design-system/mds-table-cell": "^4.2.1",
|
|
27
|
+
"@maggioli-design-system/styles": "^11.7.0",
|
|
28
|
+
"@stencil/core": "^4.3.0"
|
|
29
29
|
},
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"author": {
|
package/readme.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
This is a web-component from Maggioli Design System [Magma](https://magma.maggiolicloud.it), 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.
|
|
6
|
+
|
|
5
7
|
<!-- Auto Generated Below -->
|
|
6
8
|
|
|
7
9
|
|
|
@@ -12,6 +14,13 @@
|
|
|
12
14
|
| `interactive` | `interactive` | | `boolean` | `undefined` |
|
|
13
15
|
|
|
14
16
|
|
|
17
|
+
## Slots
|
|
18
|
+
|
|
19
|
+
| Slot | Description |
|
|
20
|
+
| ----------- | ------------------------------- |
|
|
21
|
+
| `"default"` | Put `mds-table-cell` element/s. |
|
|
22
|
+
|
|
23
|
+
|
|
15
24
|
----------------------------------------------
|
|
16
25
|
|
|
17
|
-
Built with love @
|
|
26
|
+
Built with love @ [Gruppo Maggioli](https://www.maggioli.com) from [R&D Department](https://www.maggioli.com/it-it/chi-siamo/ricerca-sviluppo)
|
package/src/common/aria.ts
CHANGED
|
@@ -6,6 +6,8 @@ const hash = (s: string): string => {
|
|
|
6
6
|
return h.toString()
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
+
const randomInt = (max: number): number => Math.floor(Math.random() * max)
|
|
10
|
+
|
|
9
11
|
const unslugName = (name: string): string => {
|
|
10
12
|
return name.split('/')?.slice(-1).pop()?.replace(/-/g, ' ') ?? name
|
|
11
13
|
}
|
|
@@ -20,8 +22,18 @@ const setAttributeIfEmpty = (element: HTMLElement, attribute: string, value: str
|
|
|
20
22
|
|
|
21
23
|
const hashValue = (value: string): string => `${value}-${hash(value)}`
|
|
22
24
|
|
|
25
|
+
const hashRandomValue = (value?: string): string => {
|
|
26
|
+
const randomValue = randomInt(1000000)
|
|
27
|
+
if (value) {
|
|
28
|
+
return `${value}-${hash(randomValue.toString())}`
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
return hash(randomValue.toString())
|
|
32
|
+
}
|
|
33
|
+
|
|
23
34
|
export {
|
|
24
35
|
unslugName,
|
|
25
36
|
setAttributeIfEmpty,
|
|
37
|
+
hashRandomValue,
|
|
26
38
|
hashValue,
|
|
27
39
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const cssDurationToMilliseconds = (duration: string, defaultValue = 1000): number => {
|
|
2
|
+
if (duration.includes('s')) {
|
|
3
|
+
return Number(duration.replace('s', '')) * 1000
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
if (duration.includes('ms')) {
|
|
7
|
+
return Number(duration.replace('s', ''))
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
return defaultValue
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
cssDurationToMilliseconds,
|
|
14
|
+
}
|
|
@@ -12,6 +12,13 @@
|
|
|
12
12
|
| `interactive` | `interactive` | | `boolean` | `undefined` |
|
|
13
13
|
|
|
14
14
|
|
|
15
|
+
## Slots
|
|
16
|
+
|
|
17
|
+
| Slot | Description |
|
|
18
|
+
| ----------- | ------------------------------- |
|
|
19
|
+
| `"default"` | Put `mds-table-cell` element/s. |
|
|
20
|
+
|
|
21
|
+
|
|
15
22
|
----------------------------------------------
|
|
16
23
|
|
|
17
|
-
Built with love @
|
|
24
|
+
Built with love @ [Gruppo Maggioli](https://www.maggioli.com) from [R&D Department](https://www.maggioli.com/it-it/chi-siamo/ricerca-sviluppo)
|
package/src/dictionary/button.ts
CHANGED
|
@@ -15,6 +15,11 @@ const buttonToneVariantDictionary = [
|
|
|
15
15
|
'quiet',
|
|
16
16
|
]
|
|
17
17
|
|
|
18
|
+
const buttonTargetDictionary = [
|
|
19
|
+
'blank',
|
|
20
|
+
'self',
|
|
21
|
+
]
|
|
22
|
+
|
|
18
23
|
const buttonSizeDictionary = [
|
|
19
24
|
'sm',
|
|
20
25
|
'md',
|
|
@@ -28,8 +33,9 @@ const buttonIconPositionDictionary = [
|
|
|
28
33
|
]
|
|
29
34
|
|
|
30
35
|
export {
|
|
36
|
+
buttonIconPositionDictionary,
|
|
31
37
|
buttonSizeDictionary,
|
|
38
|
+
buttonTargetDictionary,
|
|
32
39
|
buttonToneVariantDictionary,
|
|
33
40
|
buttonVariantDictionary,
|
|
34
|
-
buttonIconPositionDictionary,
|
|
35
41
|
}
|
|
@@ -59,6 +59,15 @@ const toneVariantDictionary = [
|
|
|
59
59
|
'quiet',
|
|
60
60
|
]
|
|
61
61
|
|
|
62
|
+
const toneActionVariantDictionary = [
|
|
63
|
+
'primary',
|
|
64
|
+
'secondary',
|
|
65
|
+
'tertiary',
|
|
66
|
+
'strong',
|
|
67
|
+
'weak',
|
|
68
|
+
'quiet',
|
|
69
|
+
]
|
|
70
|
+
|
|
62
71
|
const toneSimpleVariantDictionary = [
|
|
63
72
|
'strong',
|
|
64
73
|
'weak',
|
|
@@ -76,6 +85,7 @@ export {
|
|
|
76
85
|
themeLuminanceVariantDictionary,
|
|
77
86
|
themeStatusVariantDictionary,
|
|
78
87
|
themeVariantDictionary,
|
|
88
|
+
toneActionVariantDictionary,
|
|
79
89
|
toneMinimalVariantDictionary,
|
|
80
90
|
toneSimpleVariantDictionary,
|
|
81
91
|
toneVariantDictionary,
|