@maggioli-design-system/mds-table-row 1.3.1 → 2.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.
- package/dist/cjs/{index-797b786c.js → index-2159a30d.js} +166 -376
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mds-table-row.cjs.entry.js +4 -45
- package/dist/cjs/mds-table-row.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/mds-table-row/mds-table-row.css +21 -22
- package/dist/collection/components/mds-table-row/mds-table-row.js +21 -5
- package/dist/collection/dictionary/floating-ui.js +19 -0
- package/dist/collection/dictionary/icon.js +2 -2
- package/dist/collection/dictionary/typography.js +19 -3
- package/dist/collection/types/floating-ui.js +1 -0
- package/dist/components/index.d.ts +2 -6
- package/dist/components/index.js +1 -0
- package/dist/components/mds-table-row.js +7 -48
- package/dist/esm/{index-7d849f54.js → index-1e8e95d7.js} +166 -376
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mds-table-row.entry.js +4 -45
- package/dist/esm/mds-table-row.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm-es5/index-1e8e95d7.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 +1 -1
- package/dist/mds-table-row/p-703c309f.system.js +1 -0
- package/dist/mds-table-row/p-c6fbd532.system.js +2 -0
- package/dist/mds-table-row/p-c8145b7b.system.entry.js +1 -0
- package/dist/mds-table-row/p-ca70a50c.entry.js +1 -0
- package/dist/mds-table-row/p-f5a4be35.js +2 -0
- package/dist/stats.json +93 -56
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +1 -1
- package/dist/types/components.d.ts +2 -0
- package/dist/types/dictionary/floating-ui.d.ts +3 -0
- package/dist/types/dictionary/typography.d.ts +6 -3
- package/dist/types/types/floating-ui.d.ts +2 -0
- package/dist/types/types/typography.d.ts +5 -2
- package/package.json +6 -4
- package/readme.md +8 -0
- package/src/components/mds-table-row/.gitlab-ci.yml +25 -0
- package/src/components/mds-table-row/mds-table-row.css +11 -21
- package/src/components/mds-table-row/mds-table-row.tsx +4 -5
- package/src/components/mds-table-row/readme.md +7 -0
- package/src/components.d.ts +2 -0
- package/src/dictionary/floating-ui.ts +25 -0
- package/src/dictionary/icon.ts +2 -2
- package/src/dictionary/typography.ts +26 -4
- package/src/fixtures/icons.json +64 -0
- package/src/tailwind/components.css +14 -0
- package/src/types/floating-ui.ts +17 -0
- package/src/types/typography.ts +18 -2
- package/www/build/mds-table-row.esm.js +1 -1
- package/www/build/mds-table-row.js +1 -1
- package/www/build/p-703c309f.system.js +1 -0
- package/www/build/p-c6fbd532.system.js +2 -0
- package/www/build/p-c8145b7b.system.entry.js +1 -0
- package/www/build/p-ca70a50c.entry.js +1 -0
- package/www/build/p-f5a4be35.js +2 -0
- package/dist/esm-es5/index-7d849f54.js +0 -1
- package/dist/mds-table-row/p-13e3a2cc.system.js +0 -1
- package/dist/mds-table-row/p-15f2406e.system.js +0 -1
- package/dist/mds-table-row/p-3619a466.js +0 -1
- package/dist/mds-table-row/p-4829abc6.system.entry.js +0 -1
- package/dist/mds-table-row/p-db71d0ac.entry.js +0 -1
- package/www/build/p-13e3a2cc.system.js +0 -1
- package/www/build/p-15f2406e.system.js +0 -1
- package/www/build/p-3619a466.js +0 -1
- package/www/build/p-4829abc6.system.entry.js +0 -1
- package/www/build/p-db71d0ac.entry.js +0 -1
package/dist/stats.json
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2022-
|
|
2
|
+
"timestamp": "2022-06-27T08:27:33",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "node",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "18.3.0"
|
|
6
6
|
},
|
|
7
7
|
"app": {
|
|
8
8
|
"namespace": "MdsTableRow",
|
|
9
9
|
"fsNamespace": "mds-table-row",
|
|
10
10
|
"components": 1,
|
|
11
11
|
"entries": 1,
|
|
12
|
-
"bundles":
|
|
12
|
+
"bundles": 62,
|
|
13
13
|
"outputs": [
|
|
14
14
|
{
|
|
15
15
|
"name": "dist-collection",
|
|
16
|
-
"files":
|
|
16
|
+
"files": 21,
|
|
17
17
|
"generatedFiles": [
|
|
18
18
|
"./dist/collection/components/mds-table-row/mds-table-row.js",
|
|
19
19
|
"./dist/collection/dictionary/autocomplete.js",
|
|
20
20
|
"./dist/collection/dictionary/button.js",
|
|
21
21
|
"./dist/collection/dictionary/color.js",
|
|
22
|
+
"./dist/collection/dictionary/floating-ui.js",
|
|
22
23
|
"./dist/collection/dictionary/icon.js",
|
|
23
24
|
"./dist/collection/dictionary/input-text-type.js",
|
|
24
25
|
"./dist/collection/dictionary/loading.js",
|
|
@@ -28,6 +29,7 @@
|
|
|
28
29
|
"./dist/collection/interface/input-value.js",
|
|
29
30
|
"./dist/collection/types/autocomplete.js",
|
|
30
31
|
"./dist/collection/types/button.js",
|
|
32
|
+
"./dist/collection/types/floating-ui.js",
|
|
31
33
|
"./dist/collection/types/form-rel.js",
|
|
32
34
|
"./dist/collection/types/input-text-type.js",
|
|
33
35
|
"./dist/collection/types/input-value-type.js",
|
|
@@ -50,17 +52,17 @@
|
|
|
50
52
|
"name": "dist-lazy",
|
|
51
53
|
"files": 35,
|
|
52
54
|
"generatedFiles": [
|
|
53
|
-
"./dist/cjs/index-
|
|
55
|
+
"./dist/cjs/index-2159a30d.js",
|
|
54
56
|
"./dist/cjs/index.cjs.js",
|
|
55
57
|
"./dist/cjs/loader.cjs.js",
|
|
56
58
|
"./dist/cjs/mds-table-row.cjs.entry.js",
|
|
57
59
|
"./dist/cjs/mds-table-row.cjs.js",
|
|
58
|
-
"./dist/esm-es5/index-
|
|
60
|
+
"./dist/esm-es5/index-1e8e95d7.js",
|
|
59
61
|
"./dist/esm-es5/index.js",
|
|
60
62
|
"./dist/esm-es5/loader.js",
|
|
61
63
|
"./dist/esm-es5/mds-table-row.entry.js",
|
|
62
64
|
"./dist/esm-es5/mds-table-row.js",
|
|
63
|
-
"./dist/esm/index-
|
|
65
|
+
"./dist/esm/index-1e8e95d7.js",
|
|
64
66
|
"./dist/esm/index.js",
|
|
65
67
|
"./dist/esm/loader.js",
|
|
66
68
|
"./dist/esm/mds-table-row.entry.js",
|
|
@@ -70,21 +72,21 @@
|
|
|
70
72
|
"./dist/mds-table-row/index.esm.js",
|
|
71
73
|
"./dist/mds-table-row/mds-table-row.esm.js",
|
|
72
74
|
"./dist/mds-table-row/mds-table-row.js",
|
|
73
|
-
"./dist/mds-table-row/p-13e3a2cc.system.js",
|
|
74
|
-
"./dist/mds-table-row/p-15f2406e.system.js",
|
|
75
|
-
"./dist/mds-table-row/p-3619a466.js",
|
|
76
|
-
"./dist/mds-table-row/p-4829abc6.system.entry.js",
|
|
77
75
|
"./dist/mds-table-row/p-50ea2036.system.js",
|
|
78
|
-
"./dist/mds-table-row/p-
|
|
76
|
+
"./dist/mds-table-row/p-703c309f.system.js",
|
|
77
|
+
"./dist/mds-table-row/p-c6fbd532.system.js",
|
|
78
|
+
"./dist/mds-table-row/p-c8145b7b.system.entry.js",
|
|
79
|
+
"./dist/mds-table-row/p-ca70a50c.entry.js",
|
|
80
|
+
"./dist/mds-table-row/p-f5a4be35.js",
|
|
79
81
|
"./www/build/index.esm.js",
|
|
80
82
|
"./www/build/mds-table-row.esm.js",
|
|
81
83
|
"./www/build/mds-table-row.js",
|
|
82
|
-
"./www/build/p-13e3a2cc.system.js",
|
|
83
|
-
"./www/build/p-15f2406e.system.js",
|
|
84
|
-
"./www/build/p-3619a466.js",
|
|
85
|
-
"./www/build/p-4829abc6.system.entry.js",
|
|
86
84
|
"./www/build/p-50ea2036.system.js",
|
|
87
|
-
"./www/build/p-
|
|
85
|
+
"./www/build/p-703c309f.system.js",
|
|
86
|
+
"./www/build/p-c6fbd532.system.js",
|
|
87
|
+
"./www/build/p-c8145b7b.system.entry.js",
|
|
88
|
+
"./www/build/p-ca70a50c.entry.js",
|
|
89
|
+
"./www/build/p-f5a4be35.js"
|
|
88
90
|
]
|
|
89
91
|
},
|
|
90
92
|
{
|
|
@@ -117,12 +119,12 @@
|
|
|
117
119
|
"components": [
|
|
118
120
|
"mds-table-row"
|
|
119
121
|
],
|
|
120
|
-
"bundleId": "p-
|
|
121
|
-
"fileName": "p-
|
|
122
|
+
"bundleId": "p-ca70a50c",
|
|
123
|
+
"fileName": "p-ca70a50c.entry.js",
|
|
122
124
|
"imports": [
|
|
123
|
-
"p-
|
|
125
|
+
"p-f5a4be35.js"
|
|
124
126
|
],
|
|
125
|
-
"originalByteSize":
|
|
127
|
+
"originalByteSize": 1357
|
|
126
128
|
}
|
|
127
129
|
],
|
|
128
130
|
"esm": [
|
|
@@ -134,9 +136,9 @@
|
|
|
134
136
|
"bundleId": "mds-table-row",
|
|
135
137
|
"fileName": "mds-table-row.entry.js",
|
|
136
138
|
"imports": [
|
|
137
|
-
"index-
|
|
139
|
+
"index-1e8e95d7.js"
|
|
138
140
|
],
|
|
139
|
-
"originalByteSize":
|
|
141
|
+
"originalByteSize": 1361
|
|
140
142
|
}
|
|
141
143
|
],
|
|
142
144
|
"es5": [
|
|
@@ -148,9 +150,9 @@
|
|
|
148
150
|
"bundleId": "mds-table-row",
|
|
149
151
|
"fileName": "mds-table-row.entry.js",
|
|
150
152
|
"imports": [
|
|
151
|
-
"index-
|
|
153
|
+
"index-1e8e95d7.js"
|
|
152
154
|
],
|
|
153
|
-
"originalByteSize":
|
|
155
|
+
"originalByteSize": 1361
|
|
154
156
|
}
|
|
155
157
|
],
|
|
156
158
|
"system": [
|
|
@@ -159,12 +161,12 @@
|
|
|
159
161
|
"components": [
|
|
160
162
|
"mds-table-row"
|
|
161
163
|
],
|
|
162
|
-
"bundleId": "p-
|
|
163
|
-
"fileName": "p-
|
|
164
|
+
"bundleId": "p-c8145b7b.system",
|
|
165
|
+
"fileName": "p-c8145b7b.system.entry.js",
|
|
164
166
|
"imports": [
|
|
165
|
-
"p-
|
|
167
|
+
"p-c6fbd532.system.js"
|
|
166
168
|
],
|
|
167
|
-
"originalByteSize":
|
|
169
|
+
"originalByteSize": 1636
|
|
168
170
|
}
|
|
169
171
|
],
|
|
170
172
|
"commonjs": [
|
|
@@ -176,9 +178,9 @@
|
|
|
176
178
|
"bundleId": "mds-table-row.cjs",
|
|
177
179
|
"fileName": "mds-table-row.cjs.entry.js",
|
|
178
180
|
"imports": [
|
|
179
|
-
"index-
|
|
181
|
+
"index-2159a30d.js"
|
|
180
182
|
],
|
|
181
|
-
"originalByteSize":
|
|
183
|
+
"originalByteSize": 1431
|
|
182
184
|
}
|
|
183
185
|
]
|
|
184
186
|
},
|
|
@@ -198,7 +200,7 @@
|
|
|
198
200
|
"tags": [],
|
|
199
201
|
"text": ""
|
|
200
202
|
},
|
|
201
|
-
"encapsulation": "
|
|
203
|
+
"encapsulation": "shadow",
|
|
202
204
|
"excludeFromCollection": false,
|
|
203
205
|
"events": [],
|
|
204
206
|
"internal": false,
|
|
@@ -215,13 +217,29 @@
|
|
|
215
217
|
],
|
|
216
218
|
"methods": [],
|
|
217
219
|
"potentialCmpRefs": [],
|
|
218
|
-
"properties": [
|
|
219
|
-
"shadowDelegatesFocus": null,
|
|
220
|
-
"states": [
|
|
220
|
+
"properties": [
|
|
221
221
|
{
|
|
222
|
-
"name": "interactive"
|
|
222
|
+
"name": "interactive",
|
|
223
|
+
"type": "boolean",
|
|
224
|
+
"attribute": "interactive",
|
|
225
|
+
"reflect": true,
|
|
226
|
+
"mutable": true,
|
|
227
|
+
"required": false,
|
|
228
|
+
"optional": false,
|
|
229
|
+
"complexType": {
|
|
230
|
+
"original": "boolean",
|
|
231
|
+
"resolved": "boolean",
|
|
232
|
+
"references": {}
|
|
233
|
+
},
|
|
234
|
+
"docs": {
|
|
235
|
+
"tags": [],
|
|
236
|
+
"text": ""
|
|
237
|
+
},
|
|
238
|
+
"internal": false
|
|
223
239
|
}
|
|
224
|
-
]
|
|
240
|
+
],
|
|
241
|
+
"shadowDelegatesFocus": false,
|
|
242
|
+
"states": []
|
|
225
243
|
}
|
|
226
244
|
],
|
|
227
245
|
"entries": [
|
|
@@ -233,15 +251,31 @@
|
|
|
233
251
|
"isCollectionDependency": false,
|
|
234
252
|
"componentClassName": "MdsTableRow",
|
|
235
253
|
"elementRef": null,
|
|
236
|
-
"encapsulation": "
|
|
237
|
-
"shadowDelegatesFocus":
|
|
238
|
-
"properties": [
|
|
239
|
-
"virtualProperties": [],
|
|
240
|
-
"states": [
|
|
254
|
+
"encapsulation": "shadow",
|
|
255
|
+
"shadowDelegatesFocus": false,
|
|
256
|
+
"properties": [
|
|
241
257
|
{
|
|
242
|
-
"name": "interactive"
|
|
258
|
+
"name": "interactive",
|
|
259
|
+
"type": "boolean",
|
|
260
|
+
"attribute": "interactive",
|
|
261
|
+
"reflect": true,
|
|
262
|
+
"mutable": true,
|
|
263
|
+
"required": false,
|
|
264
|
+
"optional": false,
|
|
265
|
+
"complexType": {
|
|
266
|
+
"original": "boolean",
|
|
267
|
+
"resolved": "boolean",
|
|
268
|
+
"references": {}
|
|
269
|
+
},
|
|
270
|
+
"docs": {
|
|
271
|
+
"tags": [],
|
|
272
|
+
"text": ""
|
|
273
|
+
},
|
|
274
|
+
"internal": false
|
|
243
275
|
}
|
|
244
276
|
],
|
|
277
|
+
"virtualProperties": [],
|
|
278
|
+
"states": [],
|
|
245
279
|
"methods": [],
|
|
246
280
|
"listeners": [
|
|
247
281
|
{
|
|
@@ -262,7 +296,7 @@
|
|
|
262
296
|
"styleIdentifier": "mdsTableRowStyle",
|
|
263
297
|
"externalStyles": [
|
|
264
298
|
{
|
|
265
|
-
"absolutePath": "/
|
|
299
|
+
"absolutePath": "/builds/maggiolispa/ricerca-sviluppo-new-media/design-system/projects/stencil/.build/mds-table-row/src/components/mds-table-row/mds-table-row.css",
|
|
266
300
|
"relativePath": "mds-table-row.css",
|
|
267
301
|
"originalComponentPath": "mds-table-row.css"
|
|
268
302
|
}
|
|
@@ -299,8 +333,8 @@
|
|
|
299
333
|
"tags": [],
|
|
300
334
|
"text": ""
|
|
301
335
|
},
|
|
302
|
-
"jsFilePath": "/
|
|
303
|
-
"sourceFilePath": "/
|
|
336
|
+
"jsFilePath": "/builds/maggiolispa/ricerca-sviluppo-new-media/design-system/projects/stencil/.build/mds-table-row/src/components/mds-table-row/mds-table-row.js",
|
|
337
|
+
"sourceFilePath": "/builds/maggiolispa/ricerca-sviluppo-new-media/design-system/projects/stencil/.build/mds-table-row/src/components/mds-table-row/mds-table-row.tsx",
|
|
304
338
|
"sourceMapPath": null,
|
|
305
339
|
"hasAttributeChangedCallbackFn": false,
|
|
306
340
|
"hasComponentWillLoadFn": false,
|
|
@@ -325,19 +359,19 @@
|
|
|
325
359
|
"hasMember": true,
|
|
326
360
|
"hasMethod": false,
|
|
327
361
|
"hasMode": false,
|
|
328
|
-
"hasAttribute":
|
|
329
|
-
"hasProp":
|
|
362
|
+
"hasAttribute": true,
|
|
363
|
+
"hasProp": true,
|
|
330
364
|
"hasPropNumber": false,
|
|
331
|
-
"hasPropBoolean":
|
|
365
|
+
"hasPropBoolean": true,
|
|
332
366
|
"hasPropString": false,
|
|
333
|
-
"hasPropMutable":
|
|
334
|
-
"hasReflect":
|
|
367
|
+
"hasPropMutable": true,
|
|
368
|
+
"hasReflect": true,
|
|
335
369
|
"hasRenderFn": true,
|
|
336
|
-
"hasState":
|
|
370
|
+
"hasState": false,
|
|
337
371
|
"hasStyle": true,
|
|
338
372
|
"hasVdomAttribute": true,
|
|
339
373
|
"hasVdomXlink": false,
|
|
340
|
-
"hasVdomClass":
|
|
374
|
+
"hasVdomClass": false,
|
|
341
375
|
"hasVdomFunctional": false,
|
|
342
376
|
"hasVdomKey": false,
|
|
343
377
|
"hasVdomListener": false,
|
|
@@ -349,7 +383,6 @@
|
|
|
349
383
|
"hasWatchCallback": false,
|
|
350
384
|
"isPlain": false,
|
|
351
385
|
"htmlAttrNames": [
|
|
352
|
-
"class",
|
|
353
386
|
"role"
|
|
354
387
|
],
|
|
355
388
|
"htmlTagNames": [
|
|
@@ -369,7 +402,7 @@
|
|
|
369
402
|
],
|
|
370
403
|
"componentGraph": {
|
|
371
404
|
"sc-mds-table-row": [
|
|
372
|
-
"p-
|
|
405
|
+
"p-f5a4be35.js"
|
|
373
406
|
]
|
|
374
407
|
},
|
|
375
408
|
"sourceGraph": {
|
|
@@ -377,7 +410,10 @@
|
|
|
377
410
|
"./src/dictionary/autocomplete.ts": [],
|
|
378
411
|
"./src/dictionary/button.ts": [],
|
|
379
412
|
"./src/dictionary/color.ts": [],
|
|
380
|
-
"./src/dictionary/
|
|
413
|
+
"./src/dictionary/floating-ui.ts": [],
|
|
414
|
+
"./src/dictionary/icon.ts": [
|
|
415
|
+
"./src/fixtures/icons.json"
|
|
416
|
+
],
|
|
381
417
|
"./src/dictionary/input-text-type.ts": [],
|
|
382
418
|
"./src/dictionary/loading.ts": [],
|
|
383
419
|
"./src/dictionary/typography.ts": [],
|
|
@@ -386,6 +422,7 @@
|
|
|
386
422
|
"./src/interface/input-value.ts": [],
|
|
387
423
|
"./src/types/autocomplete.ts": [],
|
|
388
424
|
"./src/types/button.ts": [],
|
|
425
|
+
"./src/types/floating-ui.ts": [],
|
|
389
426
|
"./src/types/form-rel.ts": [],
|
|
390
427
|
"./src/types/input-text-type.ts": [],
|
|
391
428
|
"./src/types/input-value-type.ts": [],
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
export namespace Components {
|
|
9
9
|
interface MdsTableRow {
|
|
10
|
+
"interactive": boolean;
|
|
10
11
|
}
|
|
11
12
|
}
|
|
12
13
|
declare global {
|
|
@@ -22,6 +23,7 @@ declare global {
|
|
|
22
23
|
}
|
|
23
24
|
declare namespace LocalJSX {
|
|
24
25
|
interface MdsTableRow {
|
|
26
|
+
"interactive"?: boolean;
|
|
25
27
|
}
|
|
26
28
|
interface IntrinsicElements {
|
|
27
29
|
"mds-table-row": MdsTableRow;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
declare const typographyDictionary: string[];
|
|
2
|
+
declare const typographyVariationsDictionary: string[];
|
|
2
3
|
declare const typographyMonoDictionary: string[];
|
|
3
|
-
declare const
|
|
4
|
-
declare const
|
|
4
|
+
declare const typographyTitleDictionary: string[];
|
|
5
|
+
declare const typographyInfoDictionary: string[];
|
|
6
|
+
declare const typographyReadDictionary: string[];
|
|
5
7
|
declare const typographySmallerDictionary: string[];
|
|
6
|
-
|
|
8
|
+
declare const typographyTooltipDictionary: string[];
|
|
9
|
+
export { typographyDictionary, typographyVariationsDictionary, typographyMonoDictionary, typographyTitleDictionary, typographyInfoDictionary, typographyReadDictionary, typographySmallerDictionary, typographyTooltipDictionary, };
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export declare type TypographyType = 'action' | 'caption' | 'code' | 'detail' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'hack' | 'label' | 'option' | 'paragraph' | 'tip';
|
|
2
|
-
export declare type
|
|
3
|
-
export declare type
|
|
2
|
+
export declare type TypographyVariants = 'title' | 'info' | 'read' | 'mono';
|
|
3
|
+
export declare type TypographyTitleType = 'action' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
4
|
+
export declare type TypographyInfoType = 'caption' | 'detail' | 'label' | 'option' | 'paragraph' | 'tip';
|
|
5
|
+
export declare type TypographyReadType = 'caption' | 'detail' | 'paragraph';
|
|
4
6
|
export declare type TypographySmallerType = 'tip' | 'option';
|
|
5
7
|
export declare type TypographyMonoType = 'code' | 'hack';
|
|
8
|
+
export declare type TypographyTooltipType = 'caption' | 'detail' | 'tip';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maggioli-design-system/mds-table-row",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "mds-table-row is a web-component from Maggioli Design System Magma, 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",
|
|
@@ -18,11 +18,13 @@
|
|
|
18
18
|
"www/"
|
|
19
19
|
],
|
|
20
20
|
"scripts": {
|
|
21
|
-
"build": "rm src/components.d.ts || true && stencil build --docs-readme"
|
|
21
|
+
"build": "rm src/components.d.ts || true && stencil build --docs-readme",
|
|
22
|
+
"prepublishOnly": "npm run build"
|
|
22
23
|
},
|
|
23
24
|
"dependencies": {
|
|
24
|
-
"@maggioli-design-system/mds-table-cell": "^
|
|
25
|
-
"@
|
|
25
|
+
"@maggioli-design-system/mds-table-cell": "^2.0.1",
|
|
26
|
+
"@maggioli-design-system/styles": "^8.0.0",
|
|
27
|
+
"@stencil/core": "^2.17.0"
|
|
26
28
|
},
|
|
27
29
|
"license": "MIT",
|
|
28
30
|
"author": {
|
package/readme.md
CHANGED
|
@@ -5,12 +5,20 @@
|
|
|
5
5
|
<!-- Auto Generated Below -->
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
## Properties
|
|
9
|
+
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ------------- | ------------- | ----------- | --------- | ----------- |
|
|
12
|
+
| `interactive` | `interactive` | | `boolean` | `undefined` |
|
|
13
|
+
|
|
14
|
+
|
|
8
15
|
## CSS Custom Properties
|
|
9
16
|
|
|
10
17
|
| Name | Description |
|
|
11
18
|
| ------------------------ | ---------------------------------------------------------------------- |
|
|
12
19
|
| `--background-row-hover` | The cell background-color when the mouse go over the table row element |
|
|
13
20
|
| `--border-color` | The border color between table rows |
|
|
21
|
+
| `--border-width` | The border width between table rows |
|
|
14
22
|
| `--radius` | The radius of the table (header and footer excluded) |
|
|
15
23
|
|
|
16
24
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
.base-table-row:
|
|
2
|
+
variables:
|
|
3
|
+
COMPONENT: mds-table-row
|
|
4
|
+
|
|
5
|
+
# ISOLATE
|
|
6
|
+
table-row-isolate:
|
|
7
|
+
extends: [.base-isolate, .base-table-row]
|
|
8
|
+
dependencies: [base-stencil-build]
|
|
9
|
+
|
|
10
|
+
# TEST
|
|
11
|
+
table-row-publish-test:
|
|
12
|
+
extends: [.base-stencil-publish-test, .base-table-row]
|
|
13
|
+
dependencies: [base-stencil-build, table-row-isolate]
|
|
14
|
+
|
|
15
|
+
# PUBLISH
|
|
16
|
+
table-row-publish:
|
|
17
|
+
extends: [.base-stencil-publish, .base-table-row]
|
|
18
|
+
dependencies: [base-stencil-build, table-row-isolate]
|
|
19
|
+
needs: [base-stencil-build, table-row-isolate, table-row-publish-test]
|
|
20
|
+
|
|
21
|
+
# INSTALL TEST
|
|
22
|
+
table-row-install-test:
|
|
23
|
+
extends: [.base-stencil-install-test, .base-table-row]
|
|
24
|
+
needs: [table-row-publish]
|
|
25
|
+
|
|
@@ -7,38 +7,28 @@
|
|
|
7
7
|
* @prop --radius: The radius of the table (header and footer excluded)
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
:host {
|
|
11
11
|
@apply
|
|
12
12
|
border-b
|
|
13
13
|
table-row;
|
|
14
14
|
|
|
15
|
-
border-bottom: var(--border-width, theme('borderWidth.2')) solid var(--border-color, theme('colors.
|
|
15
|
+
border-bottom: var(--border-width, theme('borderWidth.2')) solid var(--border-color, theme('colors.tone-neutral-09'));
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
@apply border-transparent;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
mds-table-row:first-child mds-table-cell:first-child {
|
|
23
|
-
border-top-left-radius: var(--radius, theme('borderRadius.lg'));
|
|
24
|
-
}
|
|
18
|
+
:host ( :first-child ) {
|
|
25
19
|
|
|
26
|
-
|
|
27
|
-
|
|
20
|
+
--radius-top-left: var(--radius, theme('borderRadius.lg'));
|
|
21
|
+
--radius-top-right: var(--radius, theme('borderRadius.lg'));
|
|
28
22
|
}
|
|
29
23
|
|
|
30
|
-
|
|
31
|
-
border-
|
|
32
|
-
}
|
|
24
|
+
:host ( :last-child ) {
|
|
25
|
+
@apply border-transparent;
|
|
33
26
|
|
|
34
|
-
|
|
35
|
-
|
|
27
|
+
--radius-bottom-left: var(--radius, theme('borderRadius.lg'));
|
|
28
|
+
--radius-bottom-right: var(--radius, theme('borderRadius.lg'));
|
|
36
29
|
}
|
|
37
30
|
|
|
38
|
-
|
|
39
|
-
@apply opacity-50;
|
|
40
|
-
}
|
|
31
|
+
:host ( [interactive]:hover ) {
|
|
41
32
|
|
|
42
|
-
|
|
43
|
-
background-color: var(--background-row-hover, theme('colors.adjust-tone')) !important;
|
|
33
|
+
--background: var(--background-row-hover, theme('colors.tone-neutral'));
|
|
44
34
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { Component, Host, h, Listen,
|
|
2
|
-
import clsx from 'clsx'
|
|
1
|
+
import { Component, Host, h, Listen, Prop } from '@stencil/core'
|
|
3
2
|
@Component({
|
|
4
3
|
tag: 'mds-table-row',
|
|
5
4
|
styleUrl: 'mds-table-row.css',
|
|
6
|
-
shadow:
|
|
5
|
+
shadow: true,
|
|
7
6
|
})
|
|
8
7
|
export class MdsTableRow {
|
|
9
8
|
|
|
10
|
-
@
|
|
9
|
+
@Prop({ mutable: true, reflect: true }) interactive: boolean
|
|
11
10
|
|
|
12
11
|
@Listen('tableInteractive', { target: 'body' })
|
|
13
12
|
tableInteractiveHandler (event: CustomEvent<boolean>): void {
|
|
@@ -16,7 +15,7 @@ export class MdsTableRow {
|
|
|
16
15
|
|
|
17
16
|
render () {
|
|
18
17
|
return (
|
|
19
|
-
<Host
|
|
18
|
+
<Host role="row">
|
|
20
19
|
<slot/>
|
|
21
20
|
</Host>
|
|
22
21
|
)
|
|
@@ -5,6 +5,13 @@
|
|
|
5
5
|
<!-- Auto Generated Below -->
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
## Properties
|
|
9
|
+
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ------------- | ------------- | ----------- | --------- | ----------- |
|
|
12
|
+
| `interactive` | `interactive` | | `boolean` | `undefined` |
|
|
13
|
+
|
|
14
|
+
|
|
8
15
|
## CSS Custom Properties
|
|
9
16
|
|
|
10
17
|
| Name | Description |
|
package/src/components.d.ts
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "@stencil/core/internal";
|
|
8
8
|
export namespace Components {
|
|
9
9
|
interface MdsTableRow {
|
|
10
|
+
"interactive": boolean;
|
|
10
11
|
}
|
|
11
12
|
}
|
|
12
13
|
declare global {
|
|
@@ -22,6 +23,7 @@ declare global {
|
|
|
22
23
|
}
|
|
23
24
|
declare namespace LocalJSX {
|
|
24
25
|
interface MdsTableRow {
|
|
26
|
+
"interactive"?: boolean;
|
|
25
27
|
}
|
|
26
28
|
interface IntrinsicElements {
|
|
27
29
|
"mds-table-row": MdsTableRow;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
|
|
2
|
+
const floatingUIPlacementDictionary = [
|
|
3
|
+
'bottom',
|
|
4
|
+
'bottom-end',
|
|
5
|
+
'bottom-start',
|
|
6
|
+
'left',
|
|
7
|
+
'left-end',
|
|
8
|
+
'left-start',
|
|
9
|
+
'right',
|
|
10
|
+
'right-end',
|
|
11
|
+
'right-start',
|
|
12
|
+
'top',
|
|
13
|
+
'top-end',
|
|
14
|
+
'top-start',
|
|
15
|
+
]
|
|
16
|
+
|
|
17
|
+
const floatingUIStrategyDictionary = [
|
|
18
|
+
'absolute',
|
|
19
|
+
'fixed',
|
|
20
|
+
]
|
|
21
|
+
|
|
22
|
+
export {
|
|
23
|
+
floatingUIPlacementDictionary,
|
|
24
|
+
floatingUIStrategyDictionary,
|
|
25
|
+
}
|
package/src/dictionary/icon.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
const iconsDictionary =
|
|
1
|
+
import jsonIconsDictionary from '../fixtures/icons.json'
|
|
2
|
+
const iconsDictionary = jsonIconsDictionary
|
|
3
3
|
export {
|
|
4
4
|
iconsDictionary,
|
|
5
5
|
}
|
|
@@ -16,12 +16,19 @@ const typographyDictionary = [
|
|
|
16
16
|
'tip',
|
|
17
17
|
]
|
|
18
18
|
|
|
19
|
+
const typographyVariationsDictionary = [
|
|
20
|
+
'title',
|
|
21
|
+
'info',
|
|
22
|
+
'read',
|
|
23
|
+
'mono',
|
|
24
|
+
]
|
|
25
|
+
|
|
19
26
|
const typographyMonoDictionary = [
|
|
20
27
|
'code',
|
|
21
28
|
'hack',
|
|
22
29
|
]
|
|
23
30
|
|
|
24
|
-
const
|
|
31
|
+
const typographyTitleDictionary = [
|
|
25
32
|
'action',
|
|
26
33
|
'h1',
|
|
27
34
|
'h2',
|
|
@@ -31,7 +38,7 @@ const typographyPrimaryDictionary = [
|
|
|
31
38
|
'h6',
|
|
32
39
|
]
|
|
33
40
|
|
|
34
|
-
const
|
|
41
|
+
const typographyInfoDictionary = [
|
|
35
42
|
'caption',
|
|
36
43
|
'detail',
|
|
37
44
|
'label',
|
|
@@ -40,15 +47,30 @@ const typographySecondaryDictionary = [
|
|
|
40
47
|
'tip',
|
|
41
48
|
]
|
|
42
49
|
|
|
50
|
+
const typographyReadDictionary = [
|
|
51
|
+
'caption',
|
|
52
|
+
'detail',
|
|
53
|
+
'paragraph',
|
|
54
|
+
]
|
|
55
|
+
|
|
43
56
|
const typographySmallerDictionary = [
|
|
44
57
|
'option',
|
|
45
58
|
'tip',
|
|
46
59
|
]
|
|
47
60
|
|
|
61
|
+
const typographyTooltipDictionary = [
|
|
62
|
+
'caption',
|
|
63
|
+
'detail',
|
|
64
|
+
'tip',
|
|
65
|
+
]
|
|
66
|
+
|
|
48
67
|
export {
|
|
49
68
|
typographyDictionary,
|
|
69
|
+
typographyVariationsDictionary,
|
|
50
70
|
typographyMonoDictionary,
|
|
51
|
-
|
|
52
|
-
|
|
71
|
+
typographyTitleDictionary,
|
|
72
|
+
typographyInfoDictionary,
|
|
73
|
+
typographyReadDictionary,
|
|
53
74
|
typographySmallerDictionary,
|
|
75
|
+
typographyTooltipDictionary,
|
|
54
76
|
}
|