@loadsmart/miranda-wc 1.5.0 → 1.7.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/components/layout/grid/grid.constants.d.ts +3 -0
- package/dist/components/layout/grid/grid.constants.d.ts.map +1 -0
- package/dist/components/layout/grid/grid.cy.d.ts +2 -0
- package/dist/components/layout/grid/grid.cy.d.ts.map +1 -0
- package/dist/components/layout/grid/grid.d.ts +35 -0
- package/dist/components/layout/grid/grid.d.ts.map +1 -0
- package/dist/components/layout/grid/grid.styles.d.ts +2 -0
- package/dist/components/layout/grid/grid.styles.d.ts.map +1 -0
- package/dist/components/layout/grid/grid.types.d.ts +27 -0
- package/dist/components/layout/grid/grid.types.d.ts.map +1 -0
- package/dist/components/layout/grid/index.d.ts +4 -0
- package/dist/components/layout/grid/index.d.ts.map +1 -0
- package/dist/components/layout/index.d.ts +2 -0
- package/dist/components/layout/index.d.ts.map +1 -1
- package/dist/components/layout/stack/index.d.ts +4 -0
- package/dist/components/layout/stack/index.d.ts.map +1 -0
- package/dist/components/layout/stack/stack.constants.d.ts +3 -0
- package/dist/components/layout/stack/stack.constants.d.ts.map +1 -0
- package/dist/components/layout/stack/stack.cy.d.ts +2 -0
- package/dist/components/layout/stack/stack.cy.d.ts.map +1 -0
- package/dist/components/layout/stack/stack.d.ts +28 -0
- package/dist/components/layout/stack/stack.d.ts.map +1 -0
- package/dist/components/layout/stack/stack.styles.d.ts +2 -0
- package/dist/components/layout/stack/stack.styles.d.ts.map +1 -0
- package/dist/components/layout/stack/stack.types.d.ts +21 -0
- package/dist/components/layout/stack/stack.types.d.ts.map +1 -0
- package/dist/index.js +135 -107
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid.constants.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/grid/grid.constants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CACtC,IAAI,CAAE,SAAS,EAAE,QAAQ,GAAG,WAAW,CAAE,CAIzC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid.cy.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/grid/grid.cy.ts"],"names":[],"mappings":"AAKA,OAAO,QAAQ,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { LitElement, type PropertyValues } from 'lit';
|
|
2
|
+
import type { GridProps } from './grid.types';
|
|
3
|
+
export declare class Grid extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
static get properties(): {
|
|
6
|
+
gap: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
};
|
|
9
|
+
rowGap: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
attribute: string;
|
|
12
|
+
};
|
|
13
|
+
columnGap: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
attribute: string;
|
|
16
|
+
};
|
|
17
|
+
minColumnWidth: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
attribute: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
gap: GridProps['gap'];
|
|
23
|
+
rowGap: GridProps['rowGap'];
|
|
24
|
+
columnGap: GridProps['columnGap'];
|
|
25
|
+
minColumnWidth: GridProps['minColumnWidth'];
|
|
26
|
+
constructor();
|
|
27
|
+
protected update(changedProperties: PropertyValues<GridProps>): void;
|
|
28
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
29
|
+
}
|
|
30
|
+
declare global {
|
|
31
|
+
interface HTMLElementTagNameMap {
|
|
32
|
+
'm-grid': Grid;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=grid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/grid/grid.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAG5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9C,qBAAa,IAAK,SAAQ,UAAU;IACnC,OAAgB,MAAM,4BAAoB;IAE1C,WAAoB,UAAU;;;;;;;;;;;;;;;;MAO7B;IAEO,GAAG,EAAE,SAAS,CAAE,KAAK,CAAE,CAAC;IACxB,MAAM,EAAE,SAAS,CAAE,QAAQ,CAAE,CAAC;IAC9B,SAAS,EAAE,SAAS,CAAE,WAAW,CAAE,CAAC;IACpC,cAAc,EAAE,SAAS,CAAE,gBAAgB,CAAE,CAAC;;cASnC,MAAM,CACxB,iBAAiB,EAAE,cAAc,CAAE,SAAS,CAAE,GAC5C,IAAI;IAkCE,MAAM;CAGf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,QAAQ,EAAE,IAAI,CAAC;KACf;CACD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/grid/grid.styles.ts"],"names":[],"mappings":"AAMA,wBAAgB,UAAU,4BAmBzB"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { SpacingToken } from '@loadsmart/miranda-tokens';
|
|
2
|
+
export declare type GridProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Spacing token for the grid gap.
|
|
5
|
+
* @default 'spacing-4'
|
|
6
|
+
*/
|
|
7
|
+
gap?: SpacingToken;
|
|
8
|
+
/**
|
|
9
|
+
* Spacing token for the vertical grid gap.
|
|
10
|
+
*/
|
|
11
|
+
rowGap?: SpacingToken;
|
|
12
|
+
/**
|
|
13
|
+
* Spacing token for the horizontal grid gap.
|
|
14
|
+
*/
|
|
15
|
+
columnGap?: SpacingToken;
|
|
16
|
+
/**
|
|
17
|
+
* Value for the minimum width applied to the grid template columns.
|
|
18
|
+
* @default 'value for spacing-30 token'
|
|
19
|
+
*/
|
|
20
|
+
minColumnWidth?: string;
|
|
21
|
+
};
|
|
22
|
+
export declare type GridAttributes = Pick<GridProps, 'gap'> & {
|
|
23
|
+
'row-gap': GridProps['rowGap'];
|
|
24
|
+
'column-gap': GridProps['columnGap'];
|
|
25
|
+
'min-column-width': GridProps['minColumnWidth'];
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=grid.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid.types.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/grid/grid.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,oBAAY,SAAS,GAAG;IACvB;;;OAGG;IACH,GAAG,CAAC,EAAE,YAAY,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,oBAAY,cAAc,GAAG,IAAI,CAAE,SAAS,EAAE,KAAK,CAAE,GAAG;IACvD,SAAS,EAAE,SAAS,CAAE,QAAQ,CAAE,CAAC;IACjC,YAAY,EAAE,SAAS,CAAE,WAAW,CAAE,CAAC;IACvC,kBAAkB,EAAE,SAAS,CAAE,gBAAgB,CAAE,CAAC;CAClD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/grid/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,YAAY,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/layout/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,YAAY,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/layout/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,YAAY,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/stack/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stack.constants.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/stack/stack.constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CAAC,UAAU,CAIlD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stack.cy.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/stack/stack.cy.ts"],"names":[],"mappings":"AAMA,OAAO,SAAS,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { LitElement, type PropertyValues } from 'lit';
|
|
2
|
+
import type { StackProps } from './stack.types';
|
|
3
|
+
export declare class Stack extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
static get properties(): {
|
|
6
|
+
gap: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
};
|
|
9
|
+
align: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
};
|
|
12
|
+
justify: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
gap: StackProps['gap'];
|
|
17
|
+
align: StackProps['align'];
|
|
18
|
+
justify: StackProps['justify'];
|
|
19
|
+
constructor();
|
|
20
|
+
protected update(changedProperties: PropertyValues<StackProps>): void;
|
|
21
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
22
|
+
}
|
|
23
|
+
declare global {
|
|
24
|
+
interface HTMLElementTagNameMap {
|
|
25
|
+
'm-stack': Stack;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=stack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stack.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/stack/stack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAG5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAIhD,qBAAa,KAAM,SAAQ,UAAU;IACpC,OAAgB,MAAM,4BAAmB;IAEzC,WAAoB,UAAU;;;;;;;;;;MAM7B;IAEO,GAAG,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC;IACvB,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC3B,OAAO,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;;cAUpB,MAAM,CAAC,iBAAiB,EAAE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI;IAQrE,MAAM;CAGf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,SAAS,EAAE,KAAK,CAAC;KACjB;CACD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stack.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/stack/stack.styles.ts"],"names":[],"mappings":"AAMA,wBAAgB,WAAW,4BAe1B"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { SpacingToken } from '@loadsmart/miranda-tokens';
|
|
2
|
+
import type { JustifyContentValue, AlignItemsValue } from '../layout.types';
|
|
3
|
+
export declare type StackProps = {
|
|
4
|
+
/**
|
|
5
|
+
* Spacing token for the gap between the children.
|
|
6
|
+
* @default 'spacing-4'
|
|
7
|
+
*/
|
|
8
|
+
gap?: SpacingToken;
|
|
9
|
+
/**
|
|
10
|
+
* Value for align-items.
|
|
11
|
+
* @default 'stretch'
|
|
12
|
+
*/
|
|
13
|
+
align?: AlignItemsValue;
|
|
14
|
+
/**
|
|
15
|
+
* Value for justify-content.
|
|
16
|
+
* @default 'flex-start'
|
|
17
|
+
*/
|
|
18
|
+
justify?: JustifyContentValue;
|
|
19
|
+
};
|
|
20
|
+
export declare type StackAttributes = StackProps;
|
|
21
|
+
//# sourceMappingURL=stack.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stack.types.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/stack/stack.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAE5E,oBAAY,UAAU,GAAG;IACxB;;;OAGG;IACH,GAAG,CAAC,EAAE,YAAY,CAAC;IACnB;;;OAGG;IACF,KAAK,CAAC,EAAE,eAAe,CAAC;IACzB;;;OAGG;IACF,OAAO,CAAC,EAAE,mBAAmB,CAAC;CAC/B,CAAA;AAED,oBAAY,eAAe,GAAG,UAAU,CAAA"}
|