@maggioli-design-system/mds-table-row 2.0.0 → 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/loader.cjs.js +1 -1
- package/dist/cjs/mds-table-row.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/dictionary/typography.js +14 -3
- package/dist/components/index.d.ts +1 -5
- package/dist/components/index.js +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mds-table-row.js +1 -1
- package/dist/mds-table-row/mds-table-row.js +1 -1
- package/dist/mds-table-row/{p-caab8e1e.system.js → p-703c309f.system.js} +0 -0
- package/dist/stats.json +3 -3
- package/dist/types/dictionary/typography.d.ts +5 -3
- package/dist/types/types/typography.d.ts +4 -2
- package/package.json +4 -4
- package/src/components/mds-table-row/.gitlab-ci.yml +1 -1
- package/src/dictionary/typography.ts +19 -4
- package/src/types/typography.ts +13 -2
- package/www/build/mds-table-row.js +1 -1
- /package/www/build/{p-caab8e1e.system.js → p-703c309f.system.js} +0 -0
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-2159a30d.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Esm v2.
|
|
8
|
+
Stencil Client Patch Esm v2.17.0 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchEsm = () => {
|
|
11
11
|
return index.promiseResolve();
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const index = require('./index-2159a30d.js');
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v2.
|
|
6
|
+
Stencil Client Patch Browser v2.17.0 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
const patchBrowser = () => {
|
|
9
9
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('mds-table-row.cjs.js', document.baseURI).href));
|
|
@@ -15,11 +15,17 @@ const typographyDictionary = [
|
|
|
15
15
|
'paragraph',
|
|
16
16
|
'tip',
|
|
17
17
|
];
|
|
18
|
+
const typographyVariationsDictionary = [
|
|
19
|
+
'title',
|
|
20
|
+
'info',
|
|
21
|
+
'read',
|
|
22
|
+
'mono',
|
|
23
|
+
];
|
|
18
24
|
const typographyMonoDictionary = [
|
|
19
25
|
'code',
|
|
20
26
|
'hack',
|
|
21
27
|
];
|
|
22
|
-
const
|
|
28
|
+
const typographyTitleDictionary = [
|
|
23
29
|
'action',
|
|
24
30
|
'h1',
|
|
25
31
|
'h2',
|
|
@@ -28,7 +34,7 @@ const typographyPrimaryDictionary = [
|
|
|
28
34
|
'h5',
|
|
29
35
|
'h6',
|
|
30
36
|
];
|
|
31
|
-
const
|
|
37
|
+
const typographyInfoDictionary = [
|
|
32
38
|
'caption',
|
|
33
39
|
'detail',
|
|
34
40
|
'label',
|
|
@@ -36,6 +42,11 @@ const typographySecondaryDictionary = [
|
|
|
36
42
|
'paragraph',
|
|
37
43
|
'tip',
|
|
38
44
|
];
|
|
45
|
+
const typographyReadDictionary = [
|
|
46
|
+
'caption',
|
|
47
|
+
'detail',
|
|
48
|
+
'paragraph',
|
|
49
|
+
];
|
|
39
50
|
const typographySmallerDictionary = [
|
|
40
51
|
'option',
|
|
41
52
|
'tip',
|
|
@@ -45,4 +56,4 @@ const typographyTooltipDictionary = [
|
|
|
45
56
|
'detail',
|
|
46
57
|
'tip',
|
|
47
58
|
];
|
|
48
|
-
export { typographyDictionary, typographyMonoDictionary,
|
|
59
|
+
export { typographyDictionary, typographyVariationsDictionary, typographyMonoDictionary, typographyTitleDictionary, typographyInfoDictionary, typographyReadDictionary, typographySmallerDictionary, typographyTooltipDictionary, };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/* MdsTableRow custom elements */
|
|
2
|
-
|
|
3
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
+
export { MdsTableRow as MdsTableRow } from '../types/components/mds-table-row/mds-table-row';
|
|
4
3
|
|
|
5
4
|
/**
|
|
6
5
|
* Used to manually set the base path where assets can be found.
|
|
@@ -20,7 +19,4 @@ export interface SetPlatformOptions {
|
|
|
20
19
|
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
21
20
|
}
|
|
22
21
|
export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
|
|
23
|
-
|
|
24
|
-
export type { Components, JSX };
|
|
25
|
-
|
|
26
22
|
export * from '../types/components';
|
package/dist/components/index.js
CHANGED
package/dist/esm/loader.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as promiseResolve, b as bootstrapLazy } from './index-1e8e95d7.js';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
|
-
Stencil Client Patch Esm v2.
|
|
4
|
+
Stencil Client Patch Esm v2.17.0 | MIT Licensed | https://stenciljs.com
|
|
5
5
|
*/
|
|
6
6
|
const patchEsm = () => {
|
|
7
7
|
return promiseResolve();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as promiseResolve, b as bootstrapLazy } from './index-1e8e95d7.js';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
|
-
Stencil Client Patch Browser v2.
|
|
4
|
+
Stencil Client Patch Browser v2.17.0 | MIT Licensed | https://stenciljs.com
|
|
5
5
|
*/
|
|
6
6
|
const patchBrowser = () => {
|
|
7
7
|
const importMeta = import.meta.url;
|
|
@@ -114,7 +114,7 @@ DOMTokenList
|
|
|
114
114
|
|
|
115
115
|
var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
|
|
116
116
|
var start = function() {
|
|
117
|
-
var url = new URL('./p-
|
|
117
|
+
var url = new URL('./p-703c309f.system.js', new URL(resourcesUrl, window.location.origin));
|
|
118
118
|
System.import(url.href);
|
|
119
119
|
};
|
|
120
120
|
|
|
File without changes
|
package/dist/stats.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2022-06-
|
|
2
|
+
"timestamp": "2022-06-27T08:27:33",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "node",
|
|
5
5
|
"version": "18.3.0"
|
|
@@ -73,19 +73,19 @@
|
|
|
73
73
|
"./dist/mds-table-row/mds-table-row.esm.js",
|
|
74
74
|
"./dist/mds-table-row/mds-table-row.js",
|
|
75
75
|
"./dist/mds-table-row/p-50ea2036.system.js",
|
|
76
|
+
"./dist/mds-table-row/p-703c309f.system.js",
|
|
76
77
|
"./dist/mds-table-row/p-c6fbd532.system.js",
|
|
77
78
|
"./dist/mds-table-row/p-c8145b7b.system.entry.js",
|
|
78
79
|
"./dist/mds-table-row/p-ca70a50c.entry.js",
|
|
79
|
-
"./dist/mds-table-row/p-caab8e1e.system.js",
|
|
80
80
|
"./dist/mds-table-row/p-f5a4be35.js",
|
|
81
81
|
"./www/build/index.esm.js",
|
|
82
82
|
"./www/build/mds-table-row.esm.js",
|
|
83
83
|
"./www/build/mds-table-row.js",
|
|
84
84
|
"./www/build/p-50ea2036.system.js",
|
|
85
|
+
"./www/build/p-703c309f.system.js",
|
|
85
86
|
"./www/build/p-c6fbd532.system.js",
|
|
86
87
|
"./www/build/p-c8145b7b.system.entry.js",
|
|
87
88
|
"./www/build/p-ca70a50c.entry.js",
|
|
88
|
-
"./www/build/p-caab8e1e.system.js",
|
|
89
89
|
"./www/build/p-f5a4be35.js"
|
|
90
90
|
]
|
|
91
91
|
},
|
|
@@ -1,7 +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[];
|
|
7
|
-
export { typographyDictionary, typographyMonoDictionary,
|
|
9
|
+
export { typographyDictionary, typographyVariationsDictionary, typographyMonoDictionary, typographyTitleDictionary, typographyInfoDictionary, typographyReadDictionary, typographySmallerDictionary, typographyTooltipDictionary, };
|
|
@@ -1,6 +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';
|
|
6
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": "2.0.
|
|
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",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"prepublishOnly": "npm run build"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@maggioli-design-system/mds-table-cell": "^2.0.
|
|
26
|
-
"@maggioli-design-system/styles": "^
|
|
27
|
-
"@stencil/core": "^2.
|
|
25
|
+
"@maggioli-design-system/mds-table-cell": "^2.0.1",
|
|
26
|
+
"@maggioli-design-system/styles": "^8.0.0",
|
|
27
|
+
"@stencil/core": "^2.17.0"
|
|
28
28
|
},
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"author": {
|
|
@@ -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,6 +47,12 @@ 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',
|
|
@@ -53,9 +66,11 @@ const typographyTooltipDictionary = [
|
|
|
53
66
|
|
|
54
67
|
export {
|
|
55
68
|
typographyDictionary,
|
|
69
|
+
typographyVariationsDictionary,
|
|
56
70
|
typographyMonoDictionary,
|
|
57
|
-
|
|
58
|
-
|
|
71
|
+
typographyTitleDictionary,
|
|
72
|
+
typographyInfoDictionary,
|
|
73
|
+
typographyReadDictionary,
|
|
59
74
|
typographySmallerDictionary,
|
|
60
75
|
typographyTooltipDictionary,
|
|
61
76
|
}
|
package/src/types/typography.ts
CHANGED
|
@@ -15,7 +15,13 @@ export type TypographyType =
|
|
|
15
15
|
| 'paragraph'
|
|
16
16
|
| 'tip'
|
|
17
17
|
|
|
18
|
-
export type
|
|
18
|
+
export type TypographyVariants =
|
|
19
|
+
| 'title'
|
|
20
|
+
| 'info'
|
|
21
|
+
| 'read'
|
|
22
|
+
| 'mono'
|
|
23
|
+
|
|
24
|
+
export type TypographyTitleType =
|
|
19
25
|
| 'action'
|
|
20
26
|
| 'h1'
|
|
21
27
|
| 'h2'
|
|
@@ -24,7 +30,7 @@ export type TypographyPrimaryType =
|
|
|
24
30
|
| 'h5'
|
|
25
31
|
| 'h6'
|
|
26
32
|
|
|
27
|
-
export type
|
|
33
|
+
export type TypographyInfoType =
|
|
28
34
|
| 'caption'
|
|
29
35
|
| 'detail'
|
|
30
36
|
| 'label'
|
|
@@ -32,6 +38,11 @@ export type TypographySecondaryType =
|
|
|
32
38
|
| 'paragraph'
|
|
33
39
|
| 'tip'
|
|
34
40
|
|
|
41
|
+
export type TypographyReadType =
|
|
42
|
+
| 'caption'
|
|
43
|
+
| 'detail'
|
|
44
|
+
| 'paragraph'
|
|
45
|
+
|
|
35
46
|
export type TypographySmallerType =
|
|
36
47
|
| 'tip'
|
|
37
48
|
| 'option'
|
|
@@ -114,7 +114,7 @@ DOMTokenList
|
|
|
114
114
|
|
|
115
115
|
var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
|
|
116
116
|
var start = function() {
|
|
117
|
-
var url = new URL('./p-
|
|
117
|
+
var url = new URL('./p-703c309f.system.js', new URL(resourcesUrl, window.location.origin));
|
|
118
118
|
System.import(url.href);
|
|
119
119
|
};
|
|
120
120
|
|
|
File without changes
|