@maggioli-design-system/mds-table-row 4.8.1 → 5.0.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.
Files changed (95) hide show
  1. package/dist/cjs/{index-19c36c53.js → index-cb928c36.js} +201 -136
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/mds-table-row.cjs.entry.js +893 -10
  4. package/dist/cjs/mds-table-row.cjs.js +3 -3
  5. package/dist/collection/collection-manifest.json +1 -1
  6. package/dist/collection/common/floating-controller.js +180 -0
  7. package/dist/collection/common/slot.js +19 -0
  8. package/dist/collection/components/mds-table-row/mds-table-row.css +31 -16
  9. package/dist/collection/components/mds-table-row/mds-table-row.js +118 -23
  10. package/dist/collection/dictionary/animation.js +5 -0
  11. package/dist/collection/dictionary/file-extensions.js +6 -59
  12. package/dist/collection/dictionary/tree.js +13 -0
  13. package/dist/collection/fixtures/filenames.js +62 -1
  14. package/dist/collection/type/animation.js +1 -0
  15. package/dist/collection/type/tree.js +1 -0
  16. package/dist/collection/type/variant-file-format.js +5 -0
  17. package/dist/components/mds-table-row.js +900 -12
  18. package/dist/documentation.d.ts +8 -0
  19. package/dist/documentation.json +121 -16
  20. package/dist/esm/{index-a948f479.js → index-8134a00a.js} +201 -136
  21. package/dist/esm/loader.js +3 -3
  22. package/dist/esm/mds-table-row.entry.js +893 -10
  23. package/dist/esm/mds-table-row.js +4 -4
  24. package/dist/esm-es5/index-8134a00a.js +1 -0
  25. package/dist/esm-es5/loader.js +1 -1
  26. package/dist/esm-es5/mds-table-row.entry.js +6 -1
  27. package/dist/esm-es5/mds-table-row.js +1 -1
  28. package/dist/mds-table-row/mds-table-row.esm.js +1 -1
  29. package/dist/mds-table-row/mds-table-row.js +1 -1
  30. package/dist/mds-table-row/p-11048c96.system.js +1 -0
  31. package/dist/mds-table-row/p-22d4881a.js +2 -0
  32. package/dist/mds-table-row/p-827e2f31.entry.js +6 -0
  33. package/dist/mds-table-row/p-88f814c9.system.js +2 -0
  34. package/dist/mds-table-row/p-ed03fa5e.system.entry.js +6 -0
  35. package/dist/stats.json +267 -70
  36. package/dist/types/common/floating-controller.d.ts +46 -0
  37. package/dist/types/common/slot.d.ts +3 -0
  38. package/dist/types/components/mds-table-row/mds-table-row.d.ts +9 -3
  39. package/dist/types/components.d.ts +8 -1
  40. package/dist/types/dictionary/animation.d.ts +2 -0
  41. package/dist/types/dictionary/tree.d.ts +4 -0
  42. package/dist/types/fixtures/filenames.d.ts +62 -1
  43. package/dist/types/type/animation.d.ts +1 -0
  44. package/dist/types/type/file-types.d.ts +1 -1
  45. package/dist/types/type/tree.d.ts +3 -0
  46. package/dist/types/type/variant-file-format.d.ts +1 -1
  47. package/documentation.json +170 -29
  48. package/package.json +4 -4
  49. package/readme.md +24 -4
  50. package/src/common/floating-controller.ts +263 -0
  51. package/src/common/slot.ts +24 -0
  52. package/src/components/mds-table-row/css/mds-table-row-actions.css +10 -3
  53. package/src/components/mds-table-row/css/mds-table-row-interactive.css +6 -0
  54. package/src/components/mds-table-row/css/mds-table-row-selected.css +5 -0
  55. package/src/components/mds-table-row/css/mds-table-row-sorted.css +11 -0
  56. package/src/components/mds-table-row/mds-table-row.css +11 -26
  57. package/src/components/mds-table-row/mds-table-row.tsx +38 -9
  58. package/src/components/mds-table-row/meta/locale.el.json +4 -0
  59. package/src/components/mds-table-row/meta/locale.en.json +4 -0
  60. package/src/components/mds-table-row/meta/locale.es.json +4 -0
  61. package/src/components/mds-table-row/meta/locale.it.json +4 -0
  62. package/src/components/mds-table-row/readme.md +20 -4
  63. package/src/components.d.ts +8 -1
  64. package/src/dictionary/animation.ts +8 -0
  65. package/src/dictionary/file-extensions.ts +6 -60
  66. package/src/dictionary/tree.ts +21 -0
  67. package/src/fixtures/filenames.ts +63 -0
  68. package/src/fixtures/icons.json +21 -0
  69. package/src/fixtures/iconsauce.json +6 -0
  70. package/src/meta/file-format/locale.el.json +26 -21
  71. package/src/meta/file-format/locale.en.json +26 -21
  72. package/src/meta/file-format/locale.es.json +26 -21
  73. package/src/meta/file-format/locale.it.json +26 -21
  74. package/src/type/animation.ts +3 -0
  75. package/src/type/file-types.ts +6 -0
  76. package/src/type/tree.ts +12 -0
  77. package/src/type/variant-file-format.ts +6 -0
  78. package/www/build/mds-table-row.esm.js +1 -1
  79. package/www/build/mds-table-row.js +1 -1
  80. package/www/build/p-11048c96.system.js +1 -0
  81. package/www/build/p-22d4881a.js +2 -0
  82. package/www/build/p-827e2f31.entry.js +6 -0
  83. package/www/build/p-88f814c9.system.js +2 -0
  84. package/www/build/p-ed03fa5e.system.entry.js +6 -0
  85. package/dist/esm-es5/index-a948f479.js +0 -1
  86. package/dist/mds-table-row/p-5ab8c209.system.entry.js +0 -1
  87. package/dist/mds-table-row/p-98955251.system.js +0 -1
  88. package/dist/mds-table-row/p-bfa177c6.system.js +0 -2
  89. package/dist/mds-table-row/p-d906e5c7.entry.js +0 -1
  90. package/dist/mds-table-row/p-faec61cc.js +0 -2
  91. package/www/build/p-5ab8c209.system.entry.js +0 -1
  92. package/www/build/p-98955251.system.js +0 -1
  93. package/www/build/p-bfa177c6.system.js +0 -2
  94. package/www/build/p-d906e5c7.entry.js +0 -1
  95. package/www/build/p-faec61cc.js +0 -2
@@ -7,8 +7,12 @@
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  export namespace Components {
9
9
  interface MdsTableRow {
10
- "interactive": boolean;
10
+ "interactive"?: boolean;
11
11
  "overlayActions": boolean;
12
+ "selectable"?: boolean;
13
+ "selected"?: boolean;
14
+ "updateLang": () => Promise<void>;
15
+ "value"?: string | number;
12
16
  }
13
17
  }
14
18
  declare global {
@@ -26,6 +30,9 @@ declare namespace LocalJSX {
26
30
  interface MdsTableRow {
27
31
  "interactive"?: boolean;
28
32
  "overlayActions"?: boolean;
33
+ "selectable"?: boolean;
34
+ "selected"?: boolean;
35
+ "value"?: string | number;
29
36
  }
30
37
  interface IntrinsicElements {
31
38
  "mds-table-row": MdsTableRow;
@@ -0,0 +1,2 @@
1
+ declare const horizontalActionsAnimationDictionary: string[];
2
+ export { horizontalActionsAnimationDictionary, };
@@ -0,0 +1,4 @@
1
+ declare const treeActionsDictionary: string[];
2
+ declare const treeAppearanceDictionary: string[];
3
+ declare const treeIconDictionary: string[];
4
+ export { treeActionsDictionary, treeAppearanceDictionary, treeIconDictionary, };
@@ -1,2 +1,63 @@
1
1
  declare const filesList: string[];
2
- export { filesList, };
2
+ declare const namedFilesList: {
3
+ '7z': string;
4
+ 'No extension file': string;
5
+ 'png with URL': string;
6
+ ace: string;
7
+ ai: string;
8
+ db: string;
9
+ default: string;
10
+ dmg: string;
11
+ doc: string;
12
+ docm: string;
13
+ docx: string;
14
+ eml: string;
15
+ eps: string;
16
+ exe: string;
17
+ flac: string;
18
+ gif: string;
19
+ htm: string;
20
+ html: string;
21
+ jpe: string;
22
+ jpeg: string;
23
+ jpg: string;
24
+ js: string;
25
+ json: string;
26
+ jsx: string;
27
+ m2v: string;
28
+ mp2: string;
29
+ mp3: string;
30
+ mp4: string;
31
+ mp4v: string;
32
+ mpeg: string;
33
+ mpg4: string;
34
+ mpg: string;
35
+ mpga: string;
36
+ odf: string;
37
+ odp: string;
38
+ ods: string;
39
+ odt: string;
40
+ ole: string;
41
+ p7m: string;
42
+ pdf: string;
43
+ php: string;
44
+ png: string;
45
+ ppt: string;
46
+ rar: string;
47
+ rtf: string;
48
+ sass: string;
49
+ shtml: string;
50
+ svg: string;
51
+ tar: string;
52
+ ts: string;
53
+ tsd: string;
54
+ txt: string;
55
+ wav: string;
56
+ webp: string;
57
+ xar: string;
58
+ xls: string;
59
+ xlsx: string;
60
+ xml: string;
61
+ zip: string;
62
+ };
63
+ export { filesList, namedFilesList, };
@@ -0,0 +1 @@
1
+ export type HorizontalActionsAnimationType = 'fade' | 'slide';
@@ -1 +1 @@
1
- export type ExtensionSuffixType = '7z' | 'ace' | 'ai' | 'db' | 'default' | 'dmg' | 'doc' | 'docm' | 'docx' | 'eml' | 'eps' | 'exe' | 'flac' | 'gif' | 'heic' | 'htm' | 'html' | 'jpe' | 'jpeg' | 'jpg' | 'js' | 'json' | 'jsx' | 'm2v' | 'mp2' | 'mp3' | 'mp4' | 'mp4v' | 'mpeg' | 'mpg' | 'mpg4' | 'mpga' | 'odp' | 'ods' | 'odt' | 'pdf' | 'php' | 'png' | 'ppt' | 'rar' | 'rtf' | 'sass' | 'shtml' | 'svg' | 'tar' | 'tiff' | 'ts' | 'txt' | 'wav' | 'webp' | 'xar' | 'xls' | 'xlsx' | 'zip';
1
+ export type ExtensionSuffixType = '7z' | 'ace' | 'ai' | 'db' | 'default' | 'dmg' | 'doc' | 'docm' | 'docx' | 'eml' | 'eps' | 'exe' | 'flac' | 'gif' | 'heic' | 'htm' | 'html' | 'jpe' | 'jpeg' | 'jpg' | 'js' | 'json' | 'jsx' | 'm2v' | 'mp2' | 'mp3' | 'mp4' | 'mp4v' | 'mpeg' | 'mpg' | 'mpg4' | 'mpga' | 'odf' | 'odp' | 'ods' | 'odt' | 'odt' | 'ole' | 'p7m' | 'pdf' | 'php' | 'png' | 'ppt' | 'rar' | 'rtf' | 'sass' | 'shtml' | 'svg' | 'tar' | 'tiff' | 'ts' | 'tsd' | 'txt' | 'wav' | 'webp' | 'xar' | 'xls' | 'xlsx' | 'xml' | 'zip';
@@ -0,0 +1,3 @@
1
+ export type TreeAppearance = 'none' | 'depth';
2
+ export type TreeIcon = 'folder' | 'chevron';
3
+ export type TreeActions = 'auto' | 'visible';
@@ -1,5 +1,5 @@
1
1
  import { ThemeFullVariantType } from "./variant";
2
- type FileFormat = 'archive' | 'attachment' | 'audio' | 'code' | 'data' | 'document' | 'email' | 'executable' | 'image' | 'markup' | 'slide' | 'spreadsheet' | 'text' | 'vector' | 'video';
2
+ type FileFormat = 'archive' | 'attachment' | 'audio' | 'certificate' | 'code' | 'data' | 'document' | 'email' | 'executable' | 'image' | 'markup' | 'slide' | 'spreadsheet' | 'text' | 'vector' | 'video';
3
3
  interface FileFormatVariant {
4
4
  icon: string;
5
5
  variant: ThemeFullVariantType;
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2024-12-05T15:33:30",
2
+ "timestamp": "2025-02-06T07:52:44",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
- "version": "4.22.2",
5
+ "version": "4.25.1",
6
6
  "typescriptVersion": "5.5.4"
7
7
  },
8
8
  "components": [
@@ -22,13 +22,13 @@
22
22
  "props": [
23
23
  {
24
24
  "name": "interactive",
25
- "type": "boolean",
25
+ "type": "boolean | undefined",
26
26
  "complexType": {
27
27
  "original": "boolean",
28
- "resolved": "boolean",
28
+ "resolved": "boolean | undefined",
29
29
  "references": {}
30
30
  },
31
- "mutable": true,
31
+ "mutable": false,
32
32
  "attr": "interactive",
33
33
  "reflectToAttr": true,
34
34
  "docs": "",
@@ -36,10 +36,15 @@
36
36
  "values": [
37
37
  {
38
38
  "type": "boolean"
39
+ },
40
+ {
41
+ "type": "undefined"
39
42
  }
40
43
  ],
41
- "optional": false,
42
- "required": false
44
+ "optional": true,
45
+ "required": false,
46
+ "getter": false,
47
+ "setter": false
43
48
  },
44
49
  {
45
50
  "name": "overlayActions",
@@ -49,7 +54,7 @@
49
54
  "resolved": "boolean",
50
55
  "references": {}
51
56
  },
52
- "mutable": true,
57
+ "mutable": false,
53
58
  "attr": "overlay-actions",
54
59
  "reflectToAttr": true,
55
60
  "docs": "",
@@ -60,19 +65,119 @@
60
65
  }
61
66
  ],
62
67
  "optional": false,
63
- "required": false
68
+ "required": false,
69
+ "getter": false,
70
+ "setter": false
71
+ },
72
+ {
73
+ "name": "selectable",
74
+ "type": "boolean | undefined",
75
+ "complexType": {
76
+ "original": "boolean",
77
+ "resolved": "boolean | undefined",
78
+ "references": {}
79
+ },
80
+ "mutable": false,
81
+ "attr": "selectable",
82
+ "reflectToAttr": true,
83
+ "docs": "",
84
+ "docsTags": [],
85
+ "default": "undefined",
86
+ "values": [
87
+ {
88
+ "type": "boolean"
89
+ },
90
+ {
91
+ "type": "undefined"
92
+ }
93
+ ],
94
+ "optional": true,
95
+ "required": false,
96
+ "getter": false,
97
+ "setter": false
98
+ },
99
+ {
100
+ "name": "selected",
101
+ "type": "boolean | undefined",
102
+ "complexType": {
103
+ "original": "boolean",
104
+ "resolved": "boolean | undefined",
105
+ "references": {}
106
+ },
107
+ "mutable": true,
108
+ "attr": "selected",
109
+ "reflectToAttr": true,
110
+ "docs": "",
111
+ "docsTags": [],
112
+ "values": [
113
+ {
114
+ "type": "boolean"
115
+ },
116
+ {
117
+ "type": "undefined"
118
+ }
119
+ ],
120
+ "optional": true,
121
+ "required": false,
122
+ "getter": false,
123
+ "setter": false
124
+ },
125
+ {
126
+ "name": "value",
127
+ "type": "number | string | undefined",
128
+ "complexType": {
129
+ "original": "string | number",
130
+ "resolved": "number | string | undefined",
131
+ "references": {}
132
+ },
133
+ "mutable": false,
134
+ "attr": "value",
135
+ "reflectToAttr": true,
136
+ "docs": "",
137
+ "docsTags": [],
138
+ "values": [
139
+ {
140
+ "type": "number"
141
+ },
142
+ {
143
+ "type": "string"
144
+ },
145
+ {
146
+ "type": "undefined"
147
+ }
148
+ ],
149
+ "optional": true,
150
+ "required": false,
151
+ "getter": false,
152
+ "setter": false
64
153
  }
65
154
  ],
66
- "methods": [],
67
- "events": [],
68
- "listeners": [
155
+ "methods": [
69
156
  {
70
- "event": "mdsTableInteractiveChange",
71
- "target": "document",
72
- "capture": false,
73
- "passive": false
157
+ "name": "updateLang",
158
+ "returns": {
159
+ "type": "Promise<void>",
160
+ "docs": ""
161
+ },
162
+ "complexType": {
163
+ "signature": "() => Promise<void>",
164
+ "parameters": [],
165
+ "references": {
166
+ "Promise": {
167
+ "location": "global",
168
+ "id": "global::Promise"
169
+ }
170
+ },
171
+ "return": "Promise<void>"
172
+ },
173
+ "signature": "updateLang() => Promise<void>",
174
+ "parameters": [],
175
+ "docs": "",
176
+ "docsTags": []
74
177
  }
75
178
  ],
179
+ "events": [],
180
+ "listeners": [],
76
181
  "styles": [],
77
182
  "slots": [
78
183
  {
@@ -83,11 +188,17 @@
83
188
  "parts": [],
84
189
  "dependents": [],
85
190
  "dependencies": [
86
- "mds-table-cell"
191
+ "mds-table-cell",
192
+ "mds-input-switch"
87
193
  ],
88
194
  "dependencyGraph": {
89
195
  "mds-table-row": [
90
- "mds-table-cell"
196
+ "mds-table-cell",
197
+ "mds-input-switch"
198
+ ],
199
+ "mds-input-switch": [
200
+ "mds-icon",
201
+ "mds-text"
91
202
  ]
92
203
  }
93
204
  }
@@ -213,6 +324,11 @@
213
324
  "docstring": "",
214
325
  "path": "src/type/button.ts"
215
326
  },
327
+ "src/type/text.ts::TypographyTruncateType": {
328
+ "declaration": "export type TypographyTruncateType =\n | 'all'\n | 'none'\n | 'word'",
329
+ "docstring": "",
330
+ "path": "src/type/text.ts"
331
+ },
216
332
  "src/type/variant.ts::ChipVariantType": {
217
333
  "declaration": "export type ChipVariantType =\n | 'primary'\n | 'secondary'\n | 'dark'\n | 'error'\n | 'info'\n | 'success'\n | 'warning'",
218
334
  "docstring": "",
@@ -244,7 +360,7 @@
244
360
  "path": "src/components/mds-dropdown/meta/event-detail.ts"
245
361
  },
246
362
  "src/type/file-types.ts::ExtensionSuffixType": {
247
- "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 | 'heic'\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 | 'tiff'\n | 'ts'\n | 'txt'\n | 'wav'\n | 'webp'\n | 'xar'\n | 'xls'\n | 'xlsx'\n | 'zip'",
363
+ "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 | 'heic'\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 | 'odf'\n | 'odp'\n | 'ods'\n | 'odt'\n | 'odt'\n | 'ole'\n | 'p7m'\n | 'pdf'\n | 'php'\n | 'png'\n | 'ppt'\n | 'rar'\n | 'rtf'\n | 'sass'\n | 'shtml'\n | 'svg'\n | 'tar'\n | 'tiff'\n | 'ts'\n | 'tsd'\n | 'txt'\n | 'wav'\n | 'webp'\n | 'xar'\n | 'xls'\n | 'xlsx'\n | 'xml'\n | 'zip'",
248
364
  "docstring": "",
249
365
  "path": "src/type/file-types.ts"
250
366
  },
@@ -253,11 +369,6 @@
253
369
  "docstring": "",
254
370
  "path": "src/components/mds-file/meta/event-detail.ts"
255
371
  },
256
- "src/type/text.ts::TypographyTruncateType": {
257
- "declaration": "export type TypographyTruncateType =\n | 'all'\n | 'none'\n | 'word'",
258
- "docstring": "",
259
- "path": "src/type/text.ts"
260
- },
261
372
  "src/components/mds-file-preview/meta/event-detail.ts::MdsFilePreviewEventDetail": {
262
373
  "declaration": "export interface MdsFilePreviewEventDetail {\n extension: string\n filename: string\n target: HTMLMdsFilePreviewElement\n}",
263
374
  "docstring": "",
@@ -483,11 +594,6 @@
483
594
  "docstring": "",
484
595
  "path": "src/components/mds-progress/meta/types.ts"
485
596
  },
486
- "src/type/date.ts::ISO8601Date": {
487
- "declaration": "type ISO8601Date = ISO8601DateFormat<string, 'ISO8601Date'>",
488
- "docstring": "",
489
- "path": "src/type/date.ts"
490
- },
491
597
  "src/components/mds-push-notification/meta/types.ts::NotificationDateFormatType": {
492
598
  "declaration": "string",
493
599
  "docstring": "",
@@ -518,6 +624,11 @@
518
624
  "docstring": "",
519
625
  "path": "src/components/mds-stepper-bar-item/meta/event-detail.ts"
520
626
  },
627
+ "src/type/animation.ts::HorizontalActionsAnimationType": {
628
+ "declaration": "export type HorizontalActionsAnimationType =\n | 'fade'\n | 'slide'",
629
+ "docstring": "",
630
+ "path": "src/type/animation.ts"
631
+ },
521
632
  "src/components/mds-tab/meta/event-detail.ts::MdsTabEventDetail": {
522
633
  "declaration": "export interface MdsTabEventDetail {\n id: number\n value?: string\n}",
523
634
  "docstring": "",
@@ -538,6 +649,16 @@
538
649
  "docstring": "",
539
650
  "path": "src/components/mds-tab-item/meta/event-detail.ts"
540
651
  },
652
+ "src/components/mds-table/meta/event-detail.ts::MdsTableSelectionEventDetail": {
653
+ "declaration": "export interface MdsTableSelectionEventDetail {\n rows: MdsTableRowSelection[]\n}",
654
+ "docstring": "",
655
+ "path": "src/components/mds-table/meta/event-detail.ts"
656
+ },
657
+ "src/components/mds-table/meta/type.ts::MdsTableRowSelection": {
658
+ "declaration": "{\n index: number\n value?: string | number\n}",
659
+ "docstring": "",
660
+ "path": "src/components/mds-table/meta/type.ts"
661
+ },
541
662
  "src/components/mds-table-header-cell/meta/types.ts::SortDirectionType": {
542
663
  "declaration": "export type SortDirectionType =\n | 'ascending'\n | 'descending'\n | 'none'",
543
664
  "docstring": "",
@@ -568,6 +689,26 @@
568
689
  "docstring": "",
569
690
  "path": "src/type/typography.ts"
570
691
  },
692
+ "src/type/tree.ts::TreeAppearance": {
693
+ "declaration": "export type TreeAppearance =\n | 'none'\n | 'depth'",
694
+ "docstring": "",
695
+ "path": "src/type/tree.ts"
696
+ },
697
+ "src/type/tree.ts::TreeIcon": {
698
+ "declaration": "export type TreeIcon =\n | 'folder'\n | 'chevron'",
699
+ "docstring": "",
700
+ "path": "src/type/tree.ts"
701
+ },
702
+ "src/type/tree.ts::TreeActions": {
703
+ "declaration": "export type TreeActions =\n | 'auto'\n | 'visible'",
704
+ "docstring": "",
705
+ "path": "src/type/tree.ts"
706
+ },
707
+ "src/components/mds-tree-item/meta/event-detail.ts::MdsTreeItemEventDetail": {
708
+ "declaration": "export interface MdsTreeItemEventDetail {\n element: HTMLMdsTreeItemElement\n}",
709
+ "docstring": "",
710
+ "path": "src/components/mds-tree-item/meta/event-detail.ts"
711
+ },
571
712
  "src/components/mds-usage/meta/types.ts::UsageType": {
572
713
  "declaration": "export type UsageType =\n | 'do'\n | 'dont'\n | 'info'\n | 'warn'",
573
714
  "docstring": "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maggioli-design-system/mds-table-row",
3
- "version": "4.8.1",
3
+ "version": "5.0.1",
4
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 JavaScript framework you are using.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -23,9 +23,9 @@
23
23
  "prepublishOnly": "npm run build"
24
24
  },
25
25
  "dependencies": {
26
- "@maggioli-design-system/mds-table-cell": "4.7.2",
27
- "@maggioli-design-system/styles": "15.5.0",
28
- "@stencil/core": "4.22.2"
26
+ "@maggioli-design-system/mds-table-cell": "5.0.1",
27
+ "@maggioli-design-system/styles": "15.7.0",
28
+ "@stencil/core": "4.25.1"
29
29
  },
30
30
  "license": "MIT",
31
31
  "author": {
package/readme.md CHANGED
@@ -9,10 +9,26 @@ This is a web-component from Maggioli Design System [Magma](https://magma.maggio
9
9
 
10
10
  ## Properties
11
11
 
12
- | Property | Attribute | Description | Type | Default |
13
- | ---------------- | ----------------- | ----------- | --------- | ----------- |
14
- | `interactive` | `interactive` | | `boolean` | `undefined` |
15
- | `overlayActions` | `overlay-actions` | | `boolean` | `undefined` |
12
+ | Property | Attribute | Description | Type | Default |
13
+ | ---------------- | ----------------- | ----------- | ------------------------------- | ----------- |
14
+ | `interactive` | `interactive` | | `boolean \| undefined` | `undefined` |
15
+ | `overlayActions` | `overlay-actions` | | `boolean` | `undefined` |
16
+ | `selectable` | `selectable` | | `boolean \| undefined` | `undefined` |
17
+ | `selected` | `selected` | | `boolean \| undefined` | `undefined` |
18
+ | `value` | `value` | | `number \| string \| undefined` | `undefined` |
19
+
20
+
21
+ ## Methods
22
+
23
+ ### `updateLang() => Promise<void>`
24
+
25
+
26
+
27
+ #### Returns
28
+
29
+ Type: `Promise<void>`
30
+
31
+
16
32
 
17
33
 
18
34
  ## Slots
@@ -27,11 +43,15 @@ This is a web-component from Maggioli Design System [Magma](https://magma.maggio
27
43
  ### Depends on
28
44
 
29
45
  - [mds-table-cell](../mds-table-cell)
46
+ - [mds-input-switch](../mds-input-switch)
30
47
 
31
48
  ### Graph
32
49
  ```mermaid
33
50
  graph TD;
34
51
  mds-table-row --> mds-table-cell
52
+ mds-table-row --> mds-input-switch
53
+ mds-input-switch --> mds-icon
54
+ mds-input-switch --> mds-text
35
55
  style mds-table-row fill:#f9f,stroke:#333,stroke-width:4px
36
56
  ```
37
57