@maggioli-design-system/mds-table-row 1.1.1 → 1.4.0
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-b308d20f.js} +156 -371
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mds-table-row.cjs.entry.js +3 -44
- 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 -31
- package/dist/collection/components/mds-table-row/mds-table-row.js +21 -5
- package/dist/collection/dictionary/icon.js +5 -2
- package/dist/collection/dictionary/typography.js +7 -1
- package/dist/collection/dictionary/variant.js +6 -1
- package/dist/{custom-elements → components}/index.d.ts +1 -20
- package/dist/components/index.js +1 -0
- package/dist/components/mds-table-row.d.ts +11 -0
- package/dist/components/mds-table-row.js +39 -0
- package/dist/esm/{index-7d849f54.js → index-7d3be39d.js} +156 -371
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mds-table-row.entry.js +3 -44
- package/dist/esm/mds-table-row.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm-es5/index-7d3be39d.js +1 -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-24980e09.entry.js +1 -0
- package/dist/mds-table-row/p-5002b598.js +1 -0
- package/dist/mds-table-row/p-84058f8c.system.js +1 -0
- package/dist/mds-table-row/p-bfe52009.system.js +1 -0
- package/dist/mds-table-row/p-f2da3252.system.entry.js +1 -0
- package/dist/stats.json +109 -59
- 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/icon.d.ts +1 -1
- package/dist/types/dictionary/typography.d.ts +2 -1
- package/dist/types/dictionary/variant.d.ts +2 -1
- package/dist/types/stencil-public-runtime.d.ts +6 -4
- package/dist/types/types/typography.d.ts +3 -2
- package/dist/types/types/variant.d.ts +2 -1
- package/package.json +12 -16
- package/readme.md +17 -0
- package/src/components/mds-table-row/mds-table-row.css +18 -21
- package/src/components/mds-table-row/mds-table-row.tsx +4 -5
- package/src/components/mds-table-row/readme.md +17 -0
- package/src/components.d.ts +2 -0
- package/src/dictionary/icon.ts +7 -2
- package/src/dictionary/typography.ts +8 -0
- package/src/dictionary/variant.ts +7 -0
- package/src/types/typography.ts +6 -0
- package/src/types/variant.ts +6 -1
- package/www/build/mds-table-row.esm.js +1 -1
- package/www/build/mds-table-row.js +1 -1
- package/www/build/p-24980e09.entry.js +1 -0
- package/www/build/p-5002b598.js +1 -0
- package/www/build/p-84058f8c.system.js +1 -0
- package/www/build/p-bfe52009.system.js +1 -0
- package/www/build/p-f2da3252.system.entry.js +1 -0
- package/dist/collection/dictionary/status.js +0 -7
- package/dist/collection/dictionary/tag.js +0 -53
- package/dist/custom-elements/index.js +0 -74
- 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-3619a466.js +0 -1
- package/dist/mds-table-row/p-c3576dff.system.entry.js +0 -1
- package/dist/mds-table-row/p-cc341cca.system.js +0 -1
- package/dist/mds-table-row/p-d6429c2e.entry.js +0 -1
- package/dist/types/dictionary/status.d.ts +0 -2
- package/dist/types/dictionary/tag.d.ts +0 -2
- package/src/dictionary/status.ts +0 -10
- package/src/dictionary/tag.ts +0 -57
- package/www/build/p-13e3a2cc.system.js +0 -1
- package/www/build/p-3619a466.js +0 -1
- package/www/build/p-c3576dff.system.entry.js +0 -1
- package/www/build/p-cc341cca.system.js +0 -1
- package/www/build/p-d6429c2e.entry.js +0 -1
|
@@ -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,2 +1,2 @@
|
|
|
1
|
-
declare const iconsDictionary:
|
|
1
|
+
declare const iconsDictionary: any[];
|
|
2
2
|
export { iconsDictionary, };
|
|
@@ -2,4 +2,5 @@ declare const typographyDictionary: string[];
|
|
|
2
2
|
declare const typographyMonoDictionary: string[];
|
|
3
3
|
declare const typographyPrimaryDictionary: string[];
|
|
4
4
|
declare const typographySecondaryDictionary: string[];
|
|
5
|
-
|
|
5
|
+
declare const typographySmallerDictionary: string[];
|
|
6
|
+
export { typographyDictionary, typographyMonoDictionary, typographyPrimaryDictionary, typographySecondaryDictionary, typographySmallerDictionary, };
|
|
@@ -5,4 +5,5 @@ declare const themeFullVariantDictionary: string[];
|
|
|
5
5
|
declare const themeLabelVariantDictionary: string[];
|
|
6
6
|
declare const toneVariantDictionary: string[];
|
|
7
7
|
declare const toneSimpleVariantDictionary: string[];
|
|
8
|
-
|
|
8
|
+
declare const toneMinimalVariantDictionary: string[];
|
|
9
|
+
export { themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneVariantDictionary, };
|
|
@@ -666,7 +666,7 @@ export declare namespace JSXBase {
|
|
|
666
666
|
use: JSXBase.SVGAttributes;
|
|
667
667
|
view: JSXBase.SVGAttributes;
|
|
668
668
|
}
|
|
669
|
-
interface SlotAttributes {
|
|
669
|
+
interface SlotAttributes extends JSXAttributes {
|
|
670
670
|
name?: string;
|
|
671
671
|
slot?: string;
|
|
672
672
|
onSlotchange?: (event: Event) => void;
|
|
@@ -1427,9 +1427,7 @@ export declare namespace JSXBase {
|
|
|
1427
1427
|
z?: number | string;
|
|
1428
1428
|
zoomAndPan?: string;
|
|
1429
1429
|
}
|
|
1430
|
-
interface DOMAttributes<T
|
|
1431
|
-
key?: string | number;
|
|
1432
|
-
ref?: (elm?: T) => void;
|
|
1430
|
+
interface DOMAttributes<T> extends JSXAttributes<T> {
|
|
1433
1431
|
slot?: string;
|
|
1434
1432
|
part?: string;
|
|
1435
1433
|
exportparts?: string;
|
|
@@ -1550,6 +1548,10 @@ export declare namespace JSXBase {
|
|
|
1550
1548
|
onTransitionEndCapture?: (event: TransitionEvent) => void;
|
|
1551
1549
|
}
|
|
1552
1550
|
}
|
|
1551
|
+
export interface JSXAttributes<T = Element> {
|
|
1552
|
+
key?: string | number;
|
|
1553
|
+
ref?: (elm?: T) => void;
|
|
1554
|
+
}
|
|
1553
1555
|
export interface CustomElementsDefineOptions {
|
|
1554
1556
|
exclude?: string[];
|
|
1555
1557
|
resourcesUrl?: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export declare type TypographyType = 'action' | 'caption' | 'code' | 'detail' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'hack' | 'label' | 'option' | 'paragraph';
|
|
1
|
+
export declare type TypographyType = 'action' | 'caption' | 'code' | 'detail' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'hack' | 'label' | 'option' | 'paragraph' | 'tip';
|
|
2
2
|
export declare type TypographyPrimaryType = 'action' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
3
|
-
export declare type TypographySecondaryType = 'caption' | 'detail' | 'label' | 'option' | 'paragraph';
|
|
3
|
+
export declare type TypographySecondaryType = 'caption' | 'detail' | 'label' | 'option' | 'paragraph' | 'tip';
|
|
4
|
+
export declare type TypographySmallerType = 'tip' | 'option';
|
|
4
5
|
export declare type TypographyMonoType = 'code' | 'hack';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare type ThemeStatusVariantType = 'error' | 'info' | 'success' | 'warning';
|
|
2
|
-
export declare type ThemeVariantType = 'dark' | '
|
|
2
|
+
export declare type ThemeVariantType = 'dark' | 'error' | 'info' | 'light' | 'primary' | 'success' | 'warning';
|
|
3
3
|
export declare type ThemeFullVariantType = 'amaranth' | 'aqua' | 'blue' | 'dark' | 'error' | 'green' | 'info' | 'light' | 'lime' | 'orange' | 'orchid' | 'sky' | 'success' | 'violet' | 'warning' | 'yellow';
|
|
4
4
|
export declare type ThemeLuminanceVariantType = 'dark' | 'light';
|
|
5
5
|
export declare type LabelVariantType = 'amaranth' | 'aqua' | 'blue' | 'green' | 'lime' | 'orange' | 'orchid' | 'sky' | 'violet' | 'yellow';
|
|
@@ -7,3 +7,4 @@ export declare type ActionVariantType = 'primary' | 'dark' | 'light';
|
|
|
7
7
|
export declare type StateVariantType = 'disabled' | 'focused' | 'readonly';
|
|
8
8
|
export declare type ToneVariantType = 'strong' | 'weak' | 'ghost' | 'quiet';
|
|
9
9
|
export declare type ToneSimpleVariantType = 'strong' | 'weak' | 'quiet';
|
|
10
|
+
export declare type ToneMinimalVariantType = 'strong' | 'weak';
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maggioli-design-system/mds-table-row",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
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
|
-
"module": "dist/
|
|
6
|
+
"module": "dist/index.js",
|
|
7
7
|
"es2015": "dist/esm/index.mjs",
|
|
8
8
|
"es2017": "dist/esm/index.mjs",
|
|
9
|
-
"types": "dist/
|
|
9
|
+
"types": "dist/types/components.d.ts",
|
|
10
10
|
"collection": "dist/collection/collection-manifest.json",
|
|
11
11
|
"collection:main": "dist/collection/index.js",
|
|
12
12
|
"unpkg": "dist/mds-table-row/mds-table-row.esm.js",
|
|
@@ -18,15 +18,11 @@
|
|
|
18
18
|
"www/"
|
|
19
19
|
],
|
|
20
20
|
"scripts": {
|
|
21
|
-
"build": "stencil build --docs-readme"
|
|
21
|
+
"build": "rm src/components.d.ts || true && stencil build --docs-readme"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@maggioli-design-system/mds-table": "
|
|
25
|
-
"@
|
|
26
|
-
"@maggioli-design-system/mds-table-cell": "latest",
|
|
27
|
-
"@maggioli-design-system/mds-table-footer": "latest",
|
|
28
|
-
"@maggioli-design-system/mds-table-header": "latest",
|
|
29
|
-
"@stencil/core": "^2.10.0"
|
|
24
|
+
"@maggioli-design-system/mds-table-cell": "^1.2.0",
|
|
25
|
+
"@stencil/core": "^2.14.0"
|
|
30
26
|
},
|
|
31
27
|
"license": "MIT",
|
|
32
28
|
"author": {
|
|
@@ -36,14 +32,14 @@
|
|
|
36
32
|
},
|
|
37
33
|
"contributors": [
|
|
38
34
|
{
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
35
|
+
"name": "Andrea Pruccoli",
|
|
36
|
+
"email": "andrea.pruccoli@maggioli.it",
|
|
37
|
+
"role": "Software Engineer"
|
|
42
38
|
},
|
|
43
39
|
{
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
40
|
+
"name": "Vittorio Vittori",
|
|
41
|
+
"email": "vittorio.vittori@maggioli.it",
|
|
42
|
+
"role": "UX UI Designer"
|
|
47
43
|
}
|
|
48
44
|
]
|
|
49
45
|
}
|
package/readme.md
CHANGED
|
@@ -5,6 +5,23 @@
|
|
|
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
|
+
|
|
15
|
+
## CSS Custom Properties
|
|
16
|
+
|
|
17
|
+
| Name | Description |
|
|
18
|
+
| ------------------------ | ---------------------------------------------------------------------- |
|
|
19
|
+
| `--background-row-hover` | The cell background-color when the mouse go over the table row element |
|
|
20
|
+
| `--border-color` | The border color between table rows |
|
|
21
|
+
| `--border-width` | The border width between table rows |
|
|
22
|
+
| `--radius` | The radius of the table (header and footer excluded) |
|
|
23
|
+
|
|
24
|
+
|
|
8
25
|
----------------------------------------------
|
|
9
26
|
|
|
10
27
|
Built with love @ **Maggioli Informatica / R&D Department**
|
|
@@ -1,37 +1,34 @@
|
|
|
1
1
|
@tailwind utilities;
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* @prop --background-row-hover: The cell background-color when the mouse go over the table row element
|
|
5
|
+
* @prop --border-color: The border color between table rows
|
|
6
|
+
* @prop --border-width: The border width between table rows
|
|
7
|
+
* @prop --radius: The radius of the table (header and footer excluded)
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
:host {
|
|
4
11
|
@apply
|
|
5
12
|
border-b
|
|
6
13
|
table-row;
|
|
7
14
|
|
|
8
|
-
border-bottom
|
|
15
|
+
border-bottom: var(--border-width, theme('borderWidth.2')) solid var(--border-color, theme('colors.adjust-tone-09'));
|
|
9
16
|
}
|
|
10
17
|
|
|
11
|
-
|
|
12
|
-
@apply border-transparent;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.table-row:first-child .table-cell:first-child {
|
|
16
|
-
border-top-left-radius: var(--radius, theme('borderRadius.lg'));
|
|
17
|
-
}
|
|
18
|
+
:host ( :first-child ) {
|
|
18
19
|
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
--radius-top-left: var(--radius, theme('borderRadius.lg'));
|
|
21
|
+
--radius-top-right: var(--radius, theme('borderRadius.lg'));
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
|
|
24
|
-
border-
|
|
25
|
-
}
|
|
24
|
+
:host ( :last-child ) {
|
|
25
|
+
@apply border-transparent;
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
--radius-bottom-left: var(--radius, theme('borderRadius.lg'));
|
|
28
|
+
--radius-bottom-right: var(--radius, theme('borderRadius.lg'));
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
@apply opacity-50;
|
|
33
|
-
}
|
|
31
|
+
:host ( [interactive]:hover ) {
|
|
34
32
|
|
|
35
|
-
|
|
36
|
-
background-color: var(--row-background-hover, theme('colors.adjust-tone-10'));
|
|
33
|
+
--background: var(--background-row-hover, theme('colors.adjust-tone'));
|
|
37
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,23 @@
|
|
|
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
|
+
|
|
15
|
+
## CSS Custom Properties
|
|
16
|
+
|
|
17
|
+
| Name | Description |
|
|
18
|
+
| ------------------------ | ---------------------------------------------------------------------- |
|
|
19
|
+
| `--background-row-hover` | The cell background-color when the mouse go over the table row element |
|
|
20
|
+
| `--border-color` | The border color between table rows |
|
|
21
|
+
| `--border-width` | The border width between table rows |
|
|
22
|
+
| `--radius` | The radius of the table (header and footer excluded) |
|
|
23
|
+
|
|
24
|
+
|
|
8
25
|
----------------------------------------------
|
|
9
26
|
|
|
10
27
|
Built with love @ **Maggioli Informatica / R&D Department**
|
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;
|
package/src/dictionary/icon.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
import mggIconsDictionary from '@maggioli-design-system/icons/original/dictionary.json'
|
|
2
|
-
const iconsDictionary =
|
|
1
|
+
import mggIconsDictionary from '@maggioli-design-system/icons/dist/original/dictionary.json'
|
|
2
|
+
const iconsDictionary = []
|
|
3
|
+
|
|
4
|
+
for (const icon of Object.keys(mggIconsDictionary).sort()) {
|
|
5
|
+
iconsDictionary.push(`mgg-icons-${icon}`)
|
|
6
|
+
}
|
|
7
|
+
|
|
3
8
|
export {
|
|
4
9
|
iconsDictionary,
|
|
5
10
|
}
|
|
@@ -13,6 +13,7 @@ const typographyDictionary = [
|
|
|
13
13
|
'label',
|
|
14
14
|
'option',
|
|
15
15
|
'paragraph',
|
|
16
|
+
'tip',
|
|
16
17
|
]
|
|
17
18
|
|
|
18
19
|
const typographyMonoDictionary = [
|
|
@@ -36,6 +37,12 @@ const typographySecondaryDictionary = [
|
|
|
36
37
|
'label',
|
|
37
38
|
'option',
|
|
38
39
|
'paragraph',
|
|
40
|
+
'tip',
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
const typographySmallerDictionary = [
|
|
44
|
+
'option',
|
|
45
|
+
'tip',
|
|
39
46
|
]
|
|
40
47
|
|
|
41
48
|
export {
|
|
@@ -43,4 +50,5 @@ export {
|
|
|
43
50
|
typographyMonoDictionary,
|
|
44
51
|
typographyPrimaryDictionary,
|
|
45
52
|
typographySecondaryDictionary,
|
|
53
|
+
typographySmallerDictionary,
|
|
46
54
|
}
|
|
@@ -3,6 +3,7 @@ const themeVariantDictionary = [
|
|
|
3
3
|
'error',
|
|
4
4
|
'info',
|
|
5
5
|
'light',
|
|
6
|
+
'primary',
|
|
6
7
|
'success',
|
|
7
8
|
'warning',
|
|
8
9
|
]
|
|
@@ -64,12 +65,18 @@ const toneSimpleVariantDictionary = [
|
|
|
64
65
|
'quiet',
|
|
65
66
|
]
|
|
66
67
|
|
|
68
|
+
const toneMinimalVariantDictionary = [
|
|
69
|
+
'strong',
|
|
70
|
+
'weak',
|
|
71
|
+
]
|
|
72
|
+
|
|
67
73
|
export {
|
|
68
74
|
themeFullVariantDictionary,
|
|
69
75
|
themeLabelVariantDictionary,
|
|
70
76
|
themeLuminanceVariantDictionary,
|
|
71
77
|
themeStatusVariantDictionary,
|
|
72
78
|
themeVariantDictionary,
|
|
79
|
+
toneMinimalVariantDictionary,
|
|
73
80
|
toneSimpleVariantDictionary,
|
|
74
81
|
toneVariantDictionary,
|
|
75
82
|
}
|
package/src/types/typography.ts
CHANGED
|
@@ -13,6 +13,7 @@ export type TypographyType =
|
|
|
13
13
|
| 'label'
|
|
14
14
|
| 'option'
|
|
15
15
|
| 'paragraph'
|
|
16
|
+
| 'tip'
|
|
16
17
|
|
|
17
18
|
export type TypographyPrimaryType =
|
|
18
19
|
| 'action'
|
|
@@ -29,6 +30,11 @@ export type TypographySecondaryType =
|
|
|
29
30
|
| 'label'
|
|
30
31
|
| 'option'
|
|
31
32
|
| 'paragraph'
|
|
33
|
+
| 'tip'
|
|
34
|
+
|
|
35
|
+
export type TypographySmallerType =
|
|
36
|
+
| 'tip'
|
|
37
|
+
| 'option'
|
|
32
38
|
|
|
33
39
|
export type TypographyMonoType =
|
|
34
40
|
| 'code'
|
package/src/types/variant.ts
CHANGED
|
@@ -6,9 +6,10 @@ export type ThemeStatusVariantType =
|
|
|
6
6
|
|
|
7
7
|
export type ThemeVariantType =
|
|
8
8
|
| 'dark'
|
|
9
|
-
| 'light'
|
|
10
9
|
| 'error'
|
|
11
10
|
| 'info'
|
|
11
|
+
| 'light'
|
|
12
|
+
| 'primary'
|
|
12
13
|
| 'success'
|
|
13
14
|
| 'warning'
|
|
14
15
|
|
|
@@ -66,3 +67,7 @@ export type ToneSimpleVariantType =
|
|
|
66
67
|
| 'strong'
|
|
67
68
|
| 'weak'
|
|
68
69
|
| 'quiet'
|
|
70
|
+
|
|
71
|
+
export type ToneMinimalVariantType =
|
|
72
|
+
| 'strong'
|
|
73
|
+
| 'weak'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as t}from"./p-
|
|
1
|
+
import{p as e,b as t}from"./p-5002b598.js";(()=>{const t=import.meta.url,r={};return""!==t&&(r.resourcesUrl=new URL(".",t).href),e(r)})().then((e=>t([["p-24980e09",[[1,"mds-table-row",{interactive:[1540]},[[16,"tableInteractive","tableInteractiveHandler"]]]]]],e)));
|
|
@@ -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-bfe52009.system.js', new URL(resourcesUrl, window.location.origin));
|
|
118
118
|
System.import(url.href);
|
|
119
119
|
};
|
|
120
120
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as o,H as t}from"./p-5002b598.js";let a=class{constructor(o){r(this,o)}tableInteractiveHandler(r){this.interactive=r.detail}render(){return o(t,{role:"row"},o("slot",null))}};a.style=".border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{display:table-row;border-bottom-width:1px;border-bottom:var(--border-width, 2px) solid var(--border-color, rgb(var(--adjust-tone-09)))}:host(:first-child){--radius-top-left:var(--radius, 0.5rem);--radius-top-right:var(--radius, 0.5rem)}:host(:last-child){border-color:transparent;--radius-bottom-left:var(--radius, 0.5rem);--radius-bottom-right:var(--radius, 0.5rem)}:host([interactive]:hover){--background:var(--background-row-hover, rgb(var(--adjust-tone)))}";export{a as mds_table_row}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let t,e,n=!1;const l="undefined"!=typeof window?window:{},s=l.document||{head:{}},o={t:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,l)=>t.addEventListener(e,n,l),rel:(t,e,n,l)=>t.removeEventListener(e,n,l),ce:(t,e)=>new CustomEvent(t,e)},r=t=>Promise.resolve(t),i=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(t){}return!1})(),c=(t,e,n)=>{n&&n.map((([n,l,s])=>{const r=a(t,n),i=u(e,s),c=f(n);o.ael(r,l,i,c),(e.o=e.o||[]).push((()=>o.rel(r,l,i,c)))}))},u=(t,e)=>n=>{try{256&t.t?t.i[e](n):(t.u=t.u||[]).push([e,n])}catch(t){z(t)}},a=(t,e)=>16&e?s.body:t,f=t=>0!=(2&t),h=new WeakMap,$=t=>"sc-"+t.h,d={},y=t=>"object"==(t=typeof t)||"function"===t,m=(t,e,...n)=>{let l=null,s=!1,o=!1,r=[];const i=e=>{for(let n=0;n<e.length;n++)l=e[n],Array.isArray(l)?i(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof t&&!y(l))&&(l+=""),s&&o?r[r.length-1].$+=l:r.push(s?p(null,l):l),o=s)};i(n);const c=p(t,null);return c.m=e,r.length>0&&(c.p=r),c},p=(t,e)=>({t:0,S:t,$:e,g:null,p:null,m:null}),w={},b=(t,e,n,l,s,o)=>{if(n!==l){let r=_(t,e);e.toLowerCase();{const i=y(l);if((r||i&&null!==l)&&!s)try{if(t.tagName.includes("-"))t[e]=l;else{let s=null==l?"":l;"list"===e?r=!1:null!=n&&t[e]==s||(t[e]=s)}}catch(t){}null==l||!1===l?!1===l&&""!==t.getAttribute(e)||t.removeAttribute(e):(!r||4&o||s)&&!i&&t.setAttribute(e,l=!0===l?"":l)}}},S=(t,e,n,l)=>{const s=11===e.g.nodeType&&e.g.host?e.g.host:e.g,o=t&&t.m||d,r=e.m||d;for(l in o)l in r||b(s,l,o[l],void 0,n,e.t);for(l in r)b(s,l,o[l],r[l],n,e.t)},g=(e,n,l)=>{let o,r,i=n.p[l],c=0;if(o=i.g=s.createElement(i.S),S(null,i,!1),null!=t&&o["s-si"]!==t&&o.classList.add(o["s-si"]=t),i.p)for(c=0;c<i.p.length;++c)r=g(e,i,c),r&&o.appendChild(r);return o},v=(t,n,l,s,o,r)=>{let i,c=t;for(c.shadowRoot&&c.tagName===e&&(c=c.shadowRoot);o<=r;++o)s[o]&&(i=g(null,l,o),i&&(s[o].g=i,c.insertBefore(i,n)))},M=(t,e,n,l)=>{for(;e<=n;++e)(l=t[e])&&l.g.remove()},j=(t,e)=>t.S===e.S,k=(t,e)=>{const n=e.g=t.g,l=t.p,s=e.p;"slot"===e.S||S(t,e,!1),null!==l&&null!==s?((t,e,n,l)=>{let s,o=0,r=0,i=e.length-1,c=e[0],u=e[i],a=l.length-1,f=l[0],h=l[a];for(;o<=i&&r<=a;)null==c?c=e[++o]:null==u?u=e[--i]:null==f?f=l[++r]:null==h?h=l[--a]:j(c,f)?(k(c,f),c=e[++o],f=l[++r]):j(u,h)?(k(u,h),u=e[--i],h=l[--a]):j(c,h)?(k(c,h),t.insertBefore(c.g,u.g.nextSibling),c=e[++o],h=l[--a]):j(u,f)?(k(u,f),t.insertBefore(u.g,c.g),u=e[--i],f=l[++r]):(s=g(e&&e[r],n,r),f=l[++r],s&&c.g.parentNode.insertBefore(s,c.g));o>i?v(t,null==l[a+1]?null:l[a+1].g,n,l,r,a):r>a&&M(e,o,i)})(n,l,e,s):null!==s?v(n,null,e,s,0,s.length-1):null!==l&&M(l,0,l.length-1)},C=(t,e)=>{e&&!t.v&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.v=e)))},O=(t,e)=>{if(t.t|=16,!(4&t.t))return C(t,t.M),Z((()=>P(t,e)));t.t|=512},P=(t,e)=>{const n=t.i;return e&&(t.t|=256,t.u&&(t.u.map((([t,e])=>H(n,t,e))),t.u=null)),L(void 0,(()=>x(t,n,e)))},x=async(t,e,n)=>{const l=t.j,o=l["s-rc"];n&&(t=>{const e=t.k,n=t.j,l=e.t,o=((t,e)=>{let n=$(e),l=G.get(n);if(t=11===t.nodeType?t:s,l)if("string"==typeof l){let e,o=h.get(t=t.head||t);o||h.set(t,o=new Set),o.has(n)||(e=s.createElement("style"),e.innerHTML=l,t.insertBefore(e,t.querySelector("link")),o&&o.add(n))}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(t);E(t,e),o&&(o.map((t=>t())),l["s-rc"]=void 0);{const e=l["s-p"],n=()=>T(t);0===e.length?n():(Promise.all(e).then(n),t.t|=4,e.length=0)}},E=(n,l)=>{try{l=l.render(),n.t&=-17,n.t|=2,((n,l)=>{const s=n.j,o=n.k,r=n.C||p(null,null),i=(t=>t&&t.S===w)(l)?l:m(null,null,l);e=s.tagName,o.O&&(i.m=i.m||{},o.O.map((([t,e])=>i.m[e]=s[t]))),i.S=null,i.t|=4,n.C=i,i.g=r.g=s.shadowRoot||s,t=s["s-sc"],k(r,i)})(n,l)}catch(t){z(t,n.j)}return null},T=t=>{const e=t.j,n=t.M;64&t.t||(t.t|=64,R(e),t.P(e),n||A()),t.v&&(t.v(),t.v=void 0),512&t.t&&Y((()=>O(t,!1))),t.t&=-517},A=()=>{R(s.documentElement),Y((()=>(t=>{const e=o.ce("appload",{detail:{namespace:"mds-table-row"}});return t.dispatchEvent(e),e})(l)))},H=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(t){z(t)}},L=(t,e)=>t&&t.then?t.then(e):e(),R=t=>t.classList.add("hydrated"),U=(t,e,n)=>{if(e.T){const l=Object.entries(e.T),s=t.prototype;if(l.map((([t,[l]])=>{(31&l||2&n&&32&l)&&Object.defineProperty(s,t,{get(){return((t,e)=>F(this).A.get(e))(0,t)},set(n){((t,e,n,l)=>{const s=F(t),o=s.A.get(e),r=s.t,i=s.i;n=((t,e)=>null==t||y(t)?t:4&e?"false"!==t&&(""===t||!!t):t)(n,l.T[e][0]),8&r&&void 0!==o||n===o||(s.A.set(e,n),i&&2==(18&r)&&O(s,!1))})(this,t,n,e)},configurable:!0,enumerable:!0})})),1&n){const n=new Map;s.attributeChangedCallback=function(t,e,l){o.jmp((()=>{const e=n.get(t);if(this.hasOwnProperty(e))l=this[e],delete this[e];else if(s.hasOwnProperty(e)&&"number"==typeof this[e]&&this[e]==l)return;this[e]=(null!==l||"boolean"!=typeof this[e])&&l}))},t.observedAttributes=l.filter((([t,e])=>15&e[0])).map((([t,l])=>{const s=l[1]||t;return n.set(s,t),512&l[0]&&e.O.push([t,s]),s}))}}return t},W=(t,e={})=>{const n=[],r=e.exclude||[],u=l.customElements,a=s.head,f=a.querySelector("meta[charset]"),h=s.createElement("style"),d=[];let y,m=!0;Object.assign(o,e),o.l=new URL(e.resourcesUrl||"./",s.baseURI).href,t.map((t=>{t[1].map((e=>{const l={t:e[0],h:e[1],T:e[2],H:e[3]};l.T=e[2],l.H=e[3],l.O=[];const s=l.h,a=class extends HTMLElement{constructor(t){super(t),V(t=this,l),1&l.t&&t.attachShadow({mode:"open"})}connectedCallback(){y&&(clearTimeout(y),y=null),m?d.push(this):o.jmp((()=>(t=>{if(0==(1&o.t)){const e=F(t),n=e.k,l=()=>{};if(1&e.t)c(t,e,n.H);else{e.t|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){C(e,e.M=n);break}}n.T&&Object.entries(n.T).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n,l,s)=>{if(0==(32&e.t)){{if(e.t|=32,(s=D(n)).then){const t=()=>{};s=await s,t()}s.isProxied||(U(s,n,2),s.isProxied=!0);const t=()=>{};e.t|=8;try{new s(e)}catch(t){z(t)}e.t&=-9,t()}if(s.style){let t=s.style;const e=$(n);if(!G.has(e)){const l=()=>{};((t,e,n)=>{let l=G.get(t);i&&n?(l=l||new CSSStyleSheet,l.replace(e)):l=e,G.set(t,l)})(e,t,!!(1&n.t)),l()}}}const o=e.M,r=()=>O(e,!0);o&&o["s-rc"]?o["s-rc"].push(r):r()})(0,e,n)}l()}})(this)))}disconnectedCallback(){o.jmp((()=>(()=>{if(0==(1&o.t)){const t=F(this);t.o&&(t.o.map((t=>t())),t.o=void 0)}})()))}componentOnReady(){return F(this).L}};l.R=t[0],r.includes(s)||u.get(s)||(n.push(s),u.define(s,U(a,l,1)))}))})),h.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",h.setAttribute("data-styles",""),a.insertBefore(h,f?f.nextSibling:a.firstChild),m=!1,d.length?d.map((t=>t.connectedCallback())):o.jmp((()=>y=setTimeout(A,30)))},q=new WeakMap,F=t=>q.get(t),N=(t,e)=>q.set(e.i=t,e),V=(t,e)=>{const n={t:0,j:t,k:e,A:new Map};return n.L=new Promise((t=>n.P=t)),t["s-p"]=[],t["s-rc"]=[],c(t,n,e.H),q.set(t,n)},_=(t,e)=>e in t,z=(t,e)=>(0,console.error)(t,e),B=new Map,D=t=>{const e=t.h.replace(/-/g,"_"),n=t.R,l=B.get(n);return l?l[e]:import(`./${n}.entry.js`).then((t=>(B.set(n,t),t[e])),z)},G=new Map,I=[],J=[],K=(t,e)=>l=>{t.push(l),n||(n=!0,e&&4&o.t?Y(X):o.raf(X))},Q=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){z(t)}t.length=0},X=()=>{Q(I),Q(J),(n=I.length>0)&&o.raf(X)},Y=t=>r().then(t),Z=K(J,!0);export{w as H,W as b,m as h,r as p,N as r}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(r,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t))e[t]=r[t]};return e(r,t)};return function(r,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,r,t,n){function a(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,i){function o(e){try{u(n.next(e))}catch(e){i(e)}}function l(e){try{u(n["throw"](e))}catch(e){i(e)}}function u(e){e.done?t(e.value):a(e.value).then(o,l)}u((n=n.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(e){return function(r){return u([e,r])}}function u(o){if(n)throw new TypeError("Generator is already executing.");while(t)try{if(n=1,a&&(i=o[0]&2?a["return"]:o[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,o[1])).done)return i;if(a=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;a=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){t.label=o[1];break}if(o[0]===6&&t.label<i[1]){t.label=i[1];i=o;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(o);break}if(i[2])t.ops.pop();t.trys.pop();continue}o=r.call(e,t)}catch(e){o=[6,e];a=0}finally{n=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,r,t){if(t||arguments.length===2)for(var n=0,a=r.length,i;n<a;n++){if(i||!(n in r)){if(!i)i=Array.prototype.slice.call(r,0,n);i[n]=r[n]}}return e.concat(i||Array.prototype.slice.call(r))};System.register([],(function(e,r){"use strict";return{execute:function(){var t=this;var n="mds-table-row";var a;var i;var o=false;var l=false;var u=typeof window!=="undefined"?window:{};var s=u.document||{head:{}};var f={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,r,t,n){return e.addEventListener(r,t,n)},rel:function(e,r,t,n){return e.removeEventListener(r,t,n)},ce:function(e,r){return new CustomEvent(e,r)}};var $=e("p",(function(e){return Promise.resolve(e)}));var c=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var v=function(e,r,t,n){if(t){t.map((function(t){var n=t[0],a=t[1],i=t[2];var o=h(e,n);var l=d(r,i);var u=p(n);f.ael(o,a,l,u);(r.$rmListeners$=r.$rmListeners$||[]).push((function(){return f.rel(o,a,l,u)}))}))}};var d=function(e,r){return function(t){try{{if(e.$flags$&256){e.$lazyInstance$[r](t)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([r,t])}}}catch(e){$e(e)}}};var h=function(e,r){if(r&16)return s.body;return e};var p=function(e){return(e&2)!==0};var m="{visibility:hidden}.hydrated{visibility:inherit}";var g=function(e,r){if(r===void 0){r=""}{return function(){return}}};var y=function(e,r){{return function(){return}}};var b=new WeakMap;var w=function(e,r,t){var n=de.get(e);if(c&&t){n=n||new CSSStyleSheet;n.replace(r)}else{n=r}de.set(e,n)};var _=function(e,r,t,n){var a=R(r);var i=de.get(a);e=e.nodeType===11?e:s;if(i){if(typeof i==="string"){e=e.head||e;var o=b.get(e);var l=void 0;if(!o){b.set(e,o=new Set)}if(!o.has(a)){{{l=s.createElement("style");l.innerHTML=i}e.insertBefore(l,e.querySelector("link"))}if(o){o.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var S=function(e){var r=e.$cmpMeta$;var t=e.$hostElement$;var n=r.$flags$;var a=g("attachStyles",r.$tagName$);var i=_(t.shadowRoot?t.shadowRoot:t.getRootNode(),r);if(n&10){t["s-sc"]=i;t.classList.add(i+"-h")}a()};var R=function(e,r){return"sc-"+e.$tagName$};var L={};var C=function(e){return e!=null};var E=function(e){e=typeof e;return e==="object"||e==="function"};var N=e("h",(function(e,r){var t=[];for(var n=2;n<arguments.length;n++){t[n-2]=arguments[n]}var a=null;var i=false;var o=false;var l=[];var u=function(r){for(var t=0;t<r.length;t++){a=r[t];if(Array.isArray(a)){u(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!E(a)){a=String(a)}if(i&&o){l[l.length-1].$text$+=a}else{l.push(i?x(null,a):a)}o=i}}};u(t);var s=x(e,null);s.$attrs$=r;if(l.length>0){s.$children$=l}return s}));var x=function(e,r){var t={$flags$:0,$tag$:e,$text$:r,$elm$:null,$children$:null};{t.$attrs$=null}return t};var M=e("H",{});var A=function(e){return e&&e.$tag$===M};var P=function(e,r,t,n,a,i){if(t!==n){var o=fe(e,r);r.toLowerCase();{var l=E(n);if((o||l&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var u=n==null?"":n;if(r==="list"){o=false}else if(t==null||e[r]!=u){e[r]=u}}else{e[r]=n}}catch(e){}}if(n==null||n===false){if(n!==false||e.getAttribute(r)===""){{e.removeAttribute(r)}}}else if((!o||i&4||a)&&!l){n=n===true?"":n;{e.setAttribute(r,n)}}}}};var j=function(e,r,t,n){var a=r.$elm$.nodeType===11&&r.$elm$.host?r.$elm$.host:r.$elm$;var i=e&&e.$attrs$||L;var o=r.$attrs$||L;{for(n in i){if(!(n in o)){P(a,n,i[n],undefined,t,r.$flags$)}}}for(n in o){P(a,n,i[n],o[n],t,r.$flags$)}};var k=function(e,r,t,n){var i=r.$children$[t];var l=0;var u;var f;{u=i.$elm$=s.createElement(i.$tag$);{j(null,i,o)}if(C(a)&&u["s-si"]!==a){u.classList.add(u["s-si"]=a)}if(i.$children$){for(l=0;l<i.$children$.length;++l){f=k(e,i,l);if(f){u.appendChild(f)}}}}return u};var O=function(e,r,t,n,a,o){var l=e;var u;if(l.shadowRoot&&l.tagName===i){l=l.shadowRoot}for(;a<=o;++a){if(n[a]){u=k(null,t,a);if(u){n[a].$elm$=u;l.insertBefore(u,r)}}}};var T=function(e,r,t,n,a){for(;r<=t;++r){if(n=e[r]){a=n.$elm$;a.remove()}}};var q=function(e,r,t,n){var a=0;var i=0;var o=r.length-1;var l=r[0];var u=r[o];var s=n.length-1;var f=n[0];var $=n[s];var c;while(a<=o&&i<=s){if(l==null){l=r[++a]}else if(u==null){u=r[--o]}else if(f==null){f=n[++i]}else if($==null){$=n[--s]}else if(B(l,f)){I(l,f);l=r[++a];f=n[++i]}else if(B(u,$)){I(u,$);u=r[--o];$=n[--s]}else if(B(l,$)){I(l,$);e.insertBefore(l.$elm$,u.$elm$.nextSibling);l=r[++a];$=n[--s]}else if(B(u,f)){I(u,f);e.insertBefore(u.$elm$,l.$elm$);u=r[--o];f=n[++i]}else{{c=k(r&&r[i],t,i);f=n[++i]}if(c){{l.$elm$.parentNode.insertBefore(c,l.$elm$)}}}}if(a>o){O(e,n[s+1]==null?null:n[s+1].$elm$,t,n,i,s)}else if(i>s){T(r,a,o)}};var B=function(e,r){if(e.$tag$===r.$tag$){return true}return false};var I=function(e,r){var t=r.$elm$=e.$elm$;var n=e.$children$;var a=r.$children$;var i=r.$tag$;{{if(i==="slot");else{j(e,r,o)}}if(n!==null&&a!==null){q(t,n,r,a)}else if(a!==null){O(t,null,r,a,0,a.length-1)}else if(n!==null){T(n,0,n.length-1)}}};var U=function(e,r){var t=e.$hostElement$;var n=e.$cmpMeta$;var o=e.$vnode$||x(null,null);var l=A(r)?r:N(null,null,r);i=t.tagName;if(n.$attrsToReflect$){l.$attrs$=l.$attrs$||{};n.$attrsToReflect$.map((function(e){var r=e[0],n=e[1];return l.$attrs$[n]=t[r]}))}l.$tag$=null;l.$flags$|=4;e.$vnode$=l;l.$elm$=o.$elm$=t.shadowRoot||t;{a=t["s-sc"]}I(o,l)};var z=function(e,r,t){var n=f.ce(r,t);e.dispatchEvent(n);return n};var H=function(e,r){if(r&&!e.$onRenderResolve$&&r["s-p"]){r["s-p"].push(new Promise((function(r){return e.$onRenderResolve$=r})))}};var V=function(e,r){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}H(e,e.$ancestorComponent$);var t=function(){return W(e,r)};return we(t)};var W=function(e,r){var t=g("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;if(r){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var r=e[0],t=e[1];return K(n,r,t)}));e.$queuedListeners$=null}}}t();return Q(a,(function(){return F(e,n,r)}))};var F=function(e,r,n){return __awaiter(t,void 0,void 0,(function(){var t,a,i,o,l,u;return __generator(this,(function(s){t=e.$hostElement$;a=g("update",e.$cmpMeta$.$tagName$);i=t["s-rc"];if(n){S(e)}o=g("render",e.$cmpMeta$.$tagName$);{G(e,r)}if(i){i.map((function(e){return e()}));t["s-rc"]=undefined}o();a();{l=t["s-p"];u=function(){return D(e)};if(l.length===0){u()}else{Promise.all(l).then(u);e.$flags$|=4;l.length=0}}return[2]}))}))};var G=function(e,r,t){try{r=r.render();{e.$flags$&=~16}{e.$flags$|=2}{{{U(e,r)}}}}catch(r){$e(r,e.$hostElement$)}return null};var D=function(e){var r=e.$cmpMeta$.$tagName$;var t=e.$hostElement$;var n=g("postUpdate",r);var a=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{X(t)}n();{e.$onReadyResolve$(t);if(!a){J()}}}else{n()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){be((function(){return V(e,false)}))}e.$flags$&=~(4|512)}};var J=function(e){{X(s.documentElement)}be((function(){return z(u,"appload",{detail:{namespace:n}})}))};var K=function(e,r,t){if(e&&e[r]){try{return e[r](t)}catch(e){$e(e)}}return undefined};var Q=function(e,r){return e&&e.then?e.then(r):r()};var X=function(e){return e.classList.add("hydrated")};var Y=function(e,r){if(e!=null&&!E(e)){if(r&4){return e==="false"?false:e===""||!!e}return e}return e};var Z=function(e,r){return le(e).$instanceValues$.get(r)};var ee=function(e,r,t,n){var a=le(e);var i=a.$instanceValues$.get(r);var o=a.$flags$;var l=a.$lazyInstance$;t=Y(t,n.$members$[r][0]);if((!(o&8)||i===undefined)&&t!==i){a.$instanceValues$.set(r,t);if(l){if((o&(2|16))===2){V(a,false)}}}};var re=function(e,r,t){if(r.$members$){var n=Object.entries(r.$members$);var a=e.prototype;n.map((function(e){var n=e[0],i=e[1][0];if(i&31||t&2&&i&32){Object.defineProperty(a,n,{get:function(){return Z(this,n)},set:function(e){ee(this,n,e,r)},configurable:true,enumerable:true})}}));if(t&1){var i=new Map;a.attributeChangedCallback=function(e,r,t){var n=this;f.jmp((function(){var r=i.get(e);if(n.hasOwnProperty(r)){t=n[r];delete n[r]}else if(a.hasOwnProperty(r)&&typeof n[r]==="number"&&n[r]==t){return}n[r]=t===null&&typeof n[r]==="boolean"?false:t}))};e.observedAttributes=n.filter((function(e){var r=e[0],t=e[1];return t[0]&15})).map((function(e){var t=e[0],n=e[1];var a=n[1]||t;i.set(a,t);if(n[0]&512){r.$attrsToReflect$.push([t,a])}return a}))}}return e};var te=function(e,r,n,a,i){return __awaiter(t,void 0,void 0,(function(){var e,t,a,o,l,u,s;return __generator(this,(function(f){switch(f.label){case 0:if(!((r.$flags$&32)===0))return[3,3];r.$flags$|=32;i=ve(n);if(!i.then)return[3,2];e=y();return[4,i];case 1:i=f.sent();e();f.label=2;case 2:if(!i.isProxied){re(i,n,2);i.isProxied=true}t=g("createInstance",n.$tagName$);{r.$flags$|=8}try{new i(r)}catch(e){$e(e)}{r.$flags$&=~8}t();if(i.style){a=i.style;o=R(n);if(!de.has(o)){l=g("registerStyles",n.$tagName$);w(o,a,!!(n.$flags$&1));l()}}f.label=3;case 3:u=r.$ancestorComponent$;s=function(){return V(r,true)};if(u&&u["s-rc"]){u["s-rc"].push(s)}else{s()}return[2]}}))}))};var ne=function(e){if((f.$flags$&1)===0){var r=le(e);var t=r.$cmpMeta$;var n=g("connectedCallback",t.$tagName$);if(!(r.$flags$&1)){r.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){H(r,r.$ancestorComponent$=a);break}}}if(t.$members$){Object.entries(t.$members$).map((function(r){var t=r[0],n=r[1][0];if(n&31&&e.hasOwnProperty(t)){var a=e[t];delete e[t];e[t]=a}}))}{te(e,r,t)}}else{v(e,r,t.$listeners$)}n()}};var ae=function(e){if((f.$flags$&1)===0){var r=le(e);{if(r.$rmListeners$){r.$rmListeners$.map((function(e){return e()}));r.$rmListeners$=undefined}}}};var ie=e("b",(function(e,r){if(r===void 0){r={}}var t=g();var n=[];var a=r.exclude||[];var i=u.customElements;var o=s.head;var l=o.querySelector("meta[charset]");var $=s.createElement("style");var c=[];var v;var d=true;Object.assign(f,r);f.$resourcesUrl$=new URL(r.resourcesUrl||"./",s.baseURI).href;e.map((function(e){e[1].map((function(r){var t={$flags$:r[0],$tagName$:r[1],$members$:r[2],$listeners$:r[3]};{t.$members$=r[2]}{t.$listeners$=r[3]}{t.$attrsToReflect$=[]}var o=t.$tagName$;var l=function(e){__extends(r,e);function r(r){var n=e.call(this,r)||this;r=n;se(r,t);if(t.$flags$&1){{{r.attachShadow({mode:"open"})}}}return n}r.prototype.connectedCallback=function(){var e=this;if(v){clearTimeout(v);v=null}if(d){c.push(this)}else{f.jmp((function(){return ne(e)}))}};r.prototype.disconnectedCallback=function(){var e=this;f.jmp((function(){return ae(e)}))};r.prototype.componentOnReady=function(){return le(this).$onReadyPromise$};return r}(HTMLElement);t.$lazyBundleId$=e[0];if(!a.includes(o)&&!i.get(o)){n.push(o);i.define(o,re(l,t,1))}}))}));{$.innerHTML=n+m;$.setAttribute("data-styles","");o.insertBefore($,l?l.nextSibling:o.firstChild)}d=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{f.jmp((function(){return v=setTimeout(J,30)}))}}t()}));var oe=new WeakMap;var le=function(e){return oe.get(e)};var ue=e("r",(function(e,r){return oe.set(r.$lazyInstance$=e,r)}));var se=function(e,r){var t={$flags$:0,$hostElement$:e,$cmpMeta$:r,$instanceValues$:new Map};{t.$onReadyPromise$=new Promise((function(e){return t.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}v(e,t,r.$listeners$);return oe.set(e,t)};var fe=function(e,r){return r in e};var $e=function(e,r){return(0,console.error)(e,r)};var ce=new Map;var ve=function(e,t,n){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var o=ce.get(i);if(o){return o[a]}return r.import("./".concat(i,".entry.js").concat("")).then((function(e){{ce.set(i,e)}return e[a]}),$e)};var de=new Map;var he=[];var pe=[];var me=function(e,r){return function(t){e.push(t);if(!l){l=true;if(r&&f.$flags$&4){be(ye)}else{f.raf(ye)}}}};var ge=function(e){for(var r=0;r<e.length;r++){try{e[r](performance.now())}catch(e){$e(e)}}e.length=0};var ye=function(){ge(he);{ge(pe);if(l=he.length>0){f.raf(ye)}}};var be=function(e){return $().then(e)};var we=me(pe,true)}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-84058f8c.system.js"],(function(e,t){"use strict";var r,n;return{setters:[function(e){r=e.p;n=e.b}],execute:function(){var e=function(){var e=t.meta.url;var n={};if(e!==""){n.resourcesUrl=new URL(".",e).href}return r(n)};e().then((function(e){return n([["p-f2da3252.system",[[1,"mds-table-row",{interactive:[1540]},[[16,"tableInteractive","tableInteractiveHandler"]]]]]],e)}))}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-84058f8c.system.js"],(function(r){"use strict";var t,o,a;return{setters:[function(r){t=r.r;o=r.h;a=r.H}],execute:function(){var e=".border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{display:table-row;border-bottom-width:1px;border-bottom:var(--border-width, 2px) solid var(--border-color, rgb(var(--adjust-tone-09)))}:host(:first-child){--radius-top-left:var(--radius, 0.5rem);--radius-top-right:var(--radius, 0.5rem)}:host(:last-child){border-color:transparent;--radius-bottom-left:var(--radius, 0.5rem);--radius-bottom-right:var(--radius, 0.5rem)}:host([interactive]:hover){--background:var(--background-row-hover, rgb(var(--adjust-tone)))}";var s=r("mds_table_row",function(){function r(r){t(this,r)}r.prototype.tableInteractiveHandler=function(r){this.interactive=r.detail};r.prototype.render=function(){return o(a,{role:"row"},o("slot",null))};return r}());s.style=e}}}));
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
const tagsDictionary = [
|
|
2
|
-
'abbr',
|
|
3
|
-
'address',
|
|
4
|
-
'article',
|
|
5
|
-
'b',
|
|
6
|
-
'bdo',
|
|
7
|
-
'blockquote',
|
|
8
|
-
'cite',
|
|
9
|
-
'code',
|
|
10
|
-
'dd',
|
|
11
|
-
'del',
|
|
12
|
-
'details',
|
|
13
|
-
'dfn',
|
|
14
|
-
'div',
|
|
15
|
-
'dl',
|
|
16
|
-
'dt',
|
|
17
|
-
'em',
|
|
18
|
-
'figcaption',
|
|
19
|
-
'h1',
|
|
20
|
-
'h2',
|
|
21
|
-
'h3',
|
|
22
|
-
'h4',
|
|
23
|
-
'h5',
|
|
24
|
-
'h6',
|
|
25
|
-
'i',
|
|
26
|
-
'ins',
|
|
27
|
-
'kbd',
|
|
28
|
-
'label',
|
|
29
|
-
'legend',
|
|
30
|
-
'li',
|
|
31
|
-
'mark',
|
|
32
|
-
'ol',
|
|
33
|
-
'p',
|
|
34
|
-
'pre',
|
|
35
|
-
'q',
|
|
36
|
-
'rb',
|
|
37
|
-
'rt',
|
|
38
|
-
'ruby',
|
|
39
|
-
's',
|
|
40
|
-
'samp',
|
|
41
|
-
'small',
|
|
42
|
-
'span',
|
|
43
|
-
'strong',
|
|
44
|
-
'sub',
|
|
45
|
-
'summary',
|
|
46
|
-
'sup',
|
|
47
|
-
'time',
|
|
48
|
-
'u',
|
|
49
|
-
'ul',
|
|
50
|
-
'var',
|
|
51
|
-
'wbr',
|
|
52
|
-
];
|
|
53
|
-
export { tagsDictionary, };
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { h, Host, proxyCustomElement } from '@stencil/core/internal/client';
|
|
2
|
-
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
|
|
3
|
-
|
|
4
|
-
function toVal(mix) {
|
|
5
|
-
var k, y, str='';
|
|
6
|
-
|
|
7
|
-
if (typeof mix === 'string' || typeof mix === 'number') {
|
|
8
|
-
str += mix;
|
|
9
|
-
} else if (typeof mix === 'object') {
|
|
10
|
-
if (Array.isArray(mix)) {
|
|
11
|
-
for (k=0; k < mix.length; k++) {
|
|
12
|
-
if (mix[k]) {
|
|
13
|
-
if (y = toVal(mix[k])) {
|
|
14
|
-
str && (str += ' ');
|
|
15
|
-
str += y;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
} else {
|
|
20
|
-
for (k in mix) {
|
|
21
|
-
if (mix[k]) {
|
|
22
|
-
str && (str += ' ');
|
|
23
|
-
str += k;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
return str;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
function clsx () {
|
|
33
|
-
var i=0, tmp, x, str='';
|
|
34
|
-
while (i < arguments.length) {
|
|
35
|
-
if (tmp = arguments[i++]) {
|
|
36
|
-
if (x = toVal(tmp)) {
|
|
37
|
-
str && (str += ' ');
|
|
38
|
-
str += x;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
return str;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
const mdsTableRowCss = ".table-row {\n\n display: table-row;\n}\n\n.border {\n\n border-width: 1px;\n}\n\n.shadow {\n\n --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);\n\n -webkit-box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n {\n\n display: table-row;\n}\n\n.table-row {\n\n border-bottom-width: 1px;\n\n border-bottom-color: var(--border-color, rgb(var(--adjust-tone-09)));\n}\n\n.table-row:last-child {\n\n border-color: transparent;\n}\n\n.table-row:first-child .table-cell:first-child {\n border-top-left-radius: var(--radius, 0.5rem);\n}\n\n.table-row:last-child .table-cell:first-child {\n border-bottom-left-radius: var(--radius, 0.5rem);\n}\n\n.table-row:first-child .table-cell:last-child {\n border-top-right-radius: var(--radius, 0.5rem);\n}\n\n.table-row:last-child .table-cell:last-child {\n border-bottom-right-radius: var(--radius, 0.5rem);\n}\n\n.table-row:focus {\n\n opacity: 0.5;\n}\n\n.table-row--interactive:hover .table-cell {\n background-color: var(--row-background-hover, rgb(var(--adjust-tone-10)));\n}\n";
|
|
46
|
-
|
|
47
|
-
let MdsTableRow$1 = class extends HTMLElement {
|
|
48
|
-
constructor() {
|
|
49
|
-
super();
|
|
50
|
-
this.__registerHost();
|
|
51
|
-
}
|
|
52
|
-
tableInteractiveHandler(event) {
|
|
53
|
-
this.interactive = event.detail;
|
|
54
|
-
}
|
|
55
|
-
render() {
|
|
56
|
-
return (h(Host, { class: clsx('table-row', this.interactive && 'table-row--interactive'), role: "row" }, h("slot", null)));
|
|
57
|
-
}
|
|
58
|
-
static get style() { return mdsTableRowCss; }
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
const MdsTableRow = /*@__PURE__*/proxyCustomElement(MdsTableRow$1, [4,"mds-table-row",{"interactive":[32]},[[16,"tableInteractive","tableInteractiveHandler"]]]);
|
|
62
|
-
const defineCustomElements = (opts) => {
|
|
63
|
-
if (typeof customElements !== 'undefined') {
|
|
64
|
-
[
|
|
65
|
-
MdsTableRow
|
|
66
|
-
].forEach(cmp => {
|
|
67
|
-
if (!customElements.get(cmp.is)) {
|
|
68
|
-
customElements.define(cmp.is, cmp, opts);
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
export { MdsTableRow, defineCustomElements };
|