@loadsmart/miranda-wc 1.32.0 → 1.33.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/base-layout/base-layout.d.ts +45 -0
- package/dist/components/layout/base-layout/base-layout.d.ts.map +1 -0
- package/dist/components/layout/base-layout/base-layout.styles.d.ts +2 -0
- package/dist/components/layout/base-layout/base-layout.styles.d.ts.map +1 -0
- package/dist/components/layout/base-layout/base-layout.types.d.ts +32 -0
- package/dist/components/layout/base-layout/base-layout.types.d.ts.map +1 -0
- package/dist/components/layout/box/box.constants.d.ts +1 -1
- package/dist/components/layout/box/box.constants.d.ts.map +1 -1
- package/dist/components/layout/box/box.d.ts +30 -6
- package/dist/components/layout/box/box.d.ts.map +1 -1
- package/dist/components/layout/box/box.styles.d.ts.map +1 -1
- package/dist/components/layout/box/box.types.d.ts +2 -8
- package/dist/components/layout/box/box.types.d.ts.map +1 -1
- package/dist/components/layout/box/index.d.ts +1 -1
- package/dist/components/layout/box/index.d.ts.map +1 -1
- package/dist/components/layout/grid/grid.constants.d.ts +1 -1
- package/dist/components/layout/grid/grid.constants.d.ts.map +1 -1
- package/dist/components/layout/grid/grid.d.ts +30 -2
- package/dist/components/layout/grid/grid.d.ts.map +1 -1
- package/dist/components/layout/grid/grid.types.d.ts +2 -1
- package/dist/components/layout/grid/grid.types.d.ts.map +1 -1
- package/dist/components/layout/group/group.constants.d.ts +1 -1
- package/dist/components/layout/group/group.constants.d.ts.map +1 -1
- package/dist/components/layout/group/group.d.ts +30 -2
- package/dist/components/layout/group/group.d.ts.map +1 -1
- package/dist/components/layout/group/group.types.d.ts +2 -1
- package/dist/components/layout/group/group.types.d.ts.map +1 -1
- package/dist/components/layout/sidebar/sidebar.constants.d.ts +1 -1
- package/dist/components/layout/sidebar/sidebar.constants.d.ts.map +1 -1
- package/dist/components/layout/sidebar/sidebar.d.ts +30 -2
- package/dist/components/layout/sidebar/sidebar.d.ts.map +1 -1
- package/dist/components/layout/sidebar/sidebar.types.d.ts +2 -1
- package/dist/components/layout/sidebar/sidebar.types.d.ts.map +1 -1
- package/dist/components/layout/stack/stack.constants.d.ts +1 -1
- package/dist/components/layout/stack/stack.constants.d.ts.map +1 -1
- package/dist/components/layout/stack/stack.d.ts +30 -2
- package/dist/components/layout/stack/stack.d.ts.map +1 -1
- package/dist/components/layout/stack/stack.types.d.ts +2 -1
- package/dist/components/layout/stack/stack.types.d.ts.map +1 -1
- package/dist/components/layout/switcher/switcher.constants.d.ts +1 -1
- package/dist/components/layout/switcher/switcher.constants.d.ts.map +1 -1
- package/dist/components/layout/switcher/switcher.d.ts +30 -2
- package/dist/components/layout/switcher/switcher.d.ts.map +1 -1
- package/dist/components/layout/switcher/switcher.types.d.ts +2 -1
- package/dist/components/layout/switcher/switcher.types.d.ts.map +1 -1
- package/dist/components/text/text.styles.d.ts.map +1 -1
- package/dist/index.js +232 -210
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { LitElement, type PropertyValues } from 'lit';
|
|
2
|
+
import type { BaseLayoutProps } from './base-layout.types';
|
|
3
|
+
export declare class BaseLayout extends LitElement {
|
|
4
|
+
#private;
|
|
5
|
+
static styles: import("lit").CSSResult[];
|
|
6
|
+
static get properties(): {
|
|
7
|
+
padding: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
};
|
|
10
|
+
paddingX: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
attribute: string;
|
|
13
|
+
};
|
|
14
|
+
paddingY: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
attribute: string;
|
|
17
|
+
};
|
|
18
|
+
paddingT: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
attribute: string;
|
|
21
|
+
};
|
|
22
|
+
paddingB: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
attribute: string;
|
|
25
|
+
};
|
|
26
|
+
paddingL: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
attribute: string;
|
|
29
|
+
};
|
|
30
|
+
paddingR: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
attribute: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
padding: BaseLayoutProps['padding'];
|
|
36
|
+
paddingX: BaseLayoutProps['paddingX'];
|
|
37
|
+
paddingY: BaseLayoutProps['paddingY'];
|
|
38
|
+
paddingT: BaseLayoutProps['paddingT'];
|
|
39
|
+
paddingB: BaseLayoutProps['paddingB'];
|
|
40
|
+
paddingL: BaseLayoutProps['paddingL'];
|
|
41
|
+
paddingR: BaseLayoutProps['paddingR'];
|
|
42
|
+
protected update(changedProperties: PropertyValues<BaseLayoutProps>): void;
|
|
43
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=base-layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-layout.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/base-layout/base-layout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAK5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG3D,qBAAa,UAAW,SAAQ,UAAU;;IACzC,OAAgB,MAAM,4BAAwB;IAE9C,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAU7B;IAEO,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC;IAEpC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IAEtC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IAEtC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IAEtC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IAEtC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IAEtC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;cAE3B,MAAM,CACxB,iBAAiB,EAAE,cAAc,CAAC,eAAe,CAAC,GAChD,IAAI;IA6BE,MAAM;CAcf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-layout.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/base-layout/base-layout.styles.ts"],"names":[],"mappings":"AAEA,wBAAgB,gBAAgB,4BAqB/B"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { SpacingTokenWithNone } from '@loadsmart/miranda-tokens';
|
|
2
|
+
export type BaseLayoutProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Spacing token for the padding.
|
|
5
|
+
*/
|
|
6
|
+
padding?: SpacingTokenWithNone;
|
|
7
|
+
/**
|
|
8
|
+
* Spacing token for the horizontal padding. This property has priority over padding.
|
|
9
|
+
*/
|
|
10
|
+
paddingX?: SpacingTokenWithNone;
|
|
11
|
+
/**
|
|
12
|
+
* Spacing token for the vertical padding. This property has priority over padding.
|
|
13
|
+
*/
|
|
14
|
+
paddingY?: SpacingTokenWithNone;
|
|
15
|
+
/**
|
|
16
|
+
* Spacing token for the top padding. This property has priority over paddingY.
|
|
17
|
+
*/
|
|
18
|
+
paddingT?: SpacingTokenWithNone;
|
|
19
|
+
/**
|
|
20
|
+
* Spacing token for the bottom padding. This property has priority over paddingY.
|
|
21
|
+
*/
|
|
22
|
+
paddingB?: SpacingTokenWithNone;
|
|
23
|
+
/**
|
|
24
|
+
* Spacing token for the left padding. This property has priority over paddingX.
|
|
25
|
+
*/
|
|
26
|
+
paddingL?: SpacingTokenWithNone;
|
|
27
|
+
/**
|
|
28
|
+
* Spacing token for the right padding. This property has priority over paddingX.
|
|
29
|
+
*/
|
|
30
|
+
paddingR?: SpacingTokenWithNone;
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=base-layout.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-layout.types.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/base-layout/base-layout.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEtE,MAAM,MAAM,eAAe,GAAG;IAC7B;;OAEG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,EAAE,oBAAoB,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,oBAAoB,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,oBAAoB,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,oBAAoB,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,oBAAoB,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,oBAAoB,CAAC;CAChC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SpacingToken } from '@loadsmart/miranda-tokens';
|
|
2
2
|
import type { BoxProps } from './box.types';
|
|
3
|
-
export declare const defaultBoxProps: Required<
|
|
3
|
+
export declare const defaultBoxProps: Required<Pick<BoxProps, 'padding' | 'borderRadius' | 'borderWidth' | 'borderColor' | 'textAlign'>> & {
|
|
4
4
|
padding: SpacingToken;
|
|
5
5
|
};
|
|
6
6
|
//# sourceMappingURL=box.constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"box.constants.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/box/box.constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,eAAO,MAAM,eAAe,EAAE,QAAQ,CACrC,IAAI,
|
|
1
|
+
{"version":3,"file":"box.constants.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/box/box.constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,eAAO,MAAM,eAAe,EAAE,QAAQ,CACrC,IAAI,CACH,QAAQ,EACR,SAAS,GAAG,cAAc,GAAG,aAAa,GAAG,aAAa,GAAG,WAAW,CACxE,CACD,GAAG;IAAE,OAAO,EAAE,YAAY,CAAA;CAM1B,CAAC"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type PropertyValues } from 'lit';
|
|
2
2
|
import type { BoxProps } from './box.types';
|
|
3
|
-
|
|
3
|
+
import { BaseLayout } from '../base-layout/base-layout';
|
|
4
|
+
export declare class Box extends BaseLayout {
|
|
4
5
|
static styles: import("lit").CSSResult[];
|
|
5
6
|
static get properties(): {
|
|
6
|
-
padding: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
};
|
|
9
7
|
backgroundColor: {
|
|
10
8
|
type: StringConstructor;
|
|
11
9
|
attribute: string;
|
|
@@ -26,8 +24,34 @@ export declare class Box extends LitElement {
|
|
|
26
24
|
type: StringConstructor;
|
|
27
25
|
attribute: string;
|
|
28
26
|
};
|
|
27
|
+
padding: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
};
|
|
30
|
+
paddingX: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
attribute: string;
|
|
33
|
+
};
|
|
34
|
+
paddingY: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
attribute: string;
|
|
37
|
+
};
|
|
38
|
+
paddingT: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
attribute: string;
|
|
41
|
+
};
|
|
42
|
+
paddingB: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
attribute: string;
|
|
45
|
+
};
|
|
46
|
+
paddingL: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
attribute: string;
|
|
49
|
+
};
|
|
50
|
+
paddingR: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
attribute: string;
|
|
53
|
+
};
|
|
29
54
|
};
|
|
30
|
-
padding: BoxProps['padding'];
|
|
31
55
|
backgroundColor: BoxProps['backgroundColor'];
|
|
32
56
|
borderRadius: BoxProps['borderRadius'];
|
|
33
57
|
borderWidth: BoxProps['borderWidth'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/box/box.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/box/box.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIhD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAG5C,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,qBAAa,GAAI,SAAQ,UAAU;IAClC,OAAgB,MAAM,4BAAkC;IAExD,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAS7B;IAEO,eAAe,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IAE7C,YAAY,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC;IAEvC,WAAW,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IAErC,WAAW,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IAErC,SAAS,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;;cAYtB,MAAM,CAAC,iBAAiB,EAAE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI;IAuCnE,MAAM;CAGf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,OAAO,EAAE,GAAG,CAAC;KACb;CACD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"box.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/box/box.styles.ts"],"names":[],"mappings":"AAOA,wBAAgB,SAAS,
|
|
1
|
+
{"version":3,"file":"box.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/box/box.styles.ts"],"names":[],"mappings":"AAOA,wBAAgB,SAAS,4BAoBxB"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { SpacingTokenWithNone, ColorToken, BorderRadiusToken, BorderWidthToken } from '@loadsmart/miranda-tokens';
|
|
2
|
-
|
|
2
|
+
import type { BaseLayoutProps } from '../base-layout/base-layout.types';
|
|
3
|
+
export type BoxProps = BaseLayoutProps & {
|
|
3
4
|
/**
|
|
4
5
|
* Spacing token for padding.
|
|
5
6
|
* @default 'spacing-4'
|
|
@@ -30,11 +31,4 @@ export type BoxProps = {
|
|
|
30
31
|
*/
|
|
31
32
|
textAlign?: 'left' | 'center' | 'right';
|
|
32
33
|
};
|
|
33
|
-
export type BoxAttributes = Pick<BoxProps, 'padding'> & {
|
|
34
|
-
'background-color': BoxProps['backgroundColor'];
|
|
35
|
-
'border-radius': BoxProps['borderRadius'];
|
|
36
|
-
'border-width': BoxProps['borderWidth'];
|
|
37
|
-
'border-color': BoxProps['borderColor'];
|
|
38
|
-
'text-align': BoxProps['textAlign'];
|
|
39
|
-
};
|
|
40
34
|
//# sourceMappingURL=box.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"box.types.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/box/box.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,oBAAoB,EACpB,UAAU,EACV,iBAAiB,EACjB,gBAAgB,EAChB,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"box.types.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/box/box.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,oBAAoB,EACpB,UAAU,EACV,iBAAiB,EACjB,gBAAgB,EAChB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAExE,MAAM,MAAM,QAAQ,GAAG,eAAe,GAAG;IACxC;;;OAGG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B;;OAEG;IACH,eAAe,CAAC,EAAE,UAAU,CAAC;IAC7B;;;OAGG;IACH,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC;;;OAGG;IACH,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B;;;OAGG;IACH,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;CACxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/box/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,YAAY,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/box/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,YAAY,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type SpacingToken } from '@loadsmart/miranda-tokens';
|
|
2
2
|
import type { GridProps } from './grid.types';
|
|
3
|
-
export declare const defaultGridProps: Required<
|
|
3
|
+
export declare const defaultGridProps: Required<Pick<GridProps, 'minColumnWidth'>> & {
|
|
4
4
|
gap: SpacingToken;
|
|
5
5
|
};
|
|
6
6
|
//# sourceMappingURL=grid.constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid.constants.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/grid/grid.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAY,MAAM,2BAA2B,CAAC;AAExE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,eAAO,MAAM,gBAAgB,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"grid.constants.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/grid/grid.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAY,MAAM,2BAA2B,CAAC;AAExE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,IAAI,CAAC,SAAS,EAAE,gBAAgB,CAAC,CAAC,GAAG;IAC5E,GAAG,EAAE,YAAY,CAAC;CAIlB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type PropertyValues } from 'lit';
|
|
2
2
|
import type { GridProps } from './grid.types';
|
|
3
|
-
|
|
3
|
+
import { BaseLayout } from '../base-layout/base-layout';
|
|
4
|
+
export declare class Grid extends BaseLayout {
|
|
4
5
|
static styles: import("lit").CSSResult[];
|
|
5
6
|
static get properties(): {
|
|
6
7
|
gap: {
|
|
@@ -18,6 +19,33 @@ export declare class Grid extends LitElement {
|
|
|
18
19
|
type: StringConstructor;
|
|
19
20
|
attribute: string;
|
|
20
21
|
};
|
|
22
|
+
padding: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
};
|
|
25
|
+
paddingX: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
attribute: string;
|
|
28
|
+
};
|
|
29
|
+
paddingY: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
attribute: string;
|
|
32
|
+
};
|
|
33
|
+
paddingT: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
attribute: string;
|
|
36
|
+
};
|
|
37
|
+
paddingB: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
attribute: string;
|
|
40
|
+
};
|
|
41
|
+
paddingL: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
attribute: string;
|
|
44
|
+
};
|
|
45
|
+
paddingR: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
attribute: string;
|
|
48
|
+
};
|
|
21
49
|
};
|
|
22
50
|
gap: GridProps['gap'];
|
|
23
51
|
rowGap: GridProps['rowGap'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/grid/grid.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/grid/grid.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIhD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,qBAAa,IAAK,SAAQ,UAAU;IACnC,OAAgB,MAAM,4BAAmC;IAEzD,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQ7B;IAEO,GAAG,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC;IAEtB,MAAM,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC;IAE5B,SAAS,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IAElC,cAAc,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAC;;cASjC,MAAM,CACxB,iBAAiB,EAAE,cAAc,CAAC,SAAS,CAAC,GAC1C,IAAI;IAqCE,MAAM;CAGf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,QAAQ,EAAE,IAAI,CAAC;KACf;CACD"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { SpacingTokenWithNone } from '@loadsmart/miranda-tokens';
|
|
2
|
-
|
|
2
|
+
import type { BaseLayoutProps } from '../base-layout/base-layout.types';
|
|
3
|
+
export type GridProps = BaseLayoutProps & {
|
|
3
4
|
/**
|
|
4
5
|
* Spacing token for the grid gap.
|
|
5
6
|
* @default 'spacing-4'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid.types.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/grid/grid.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"grid.types.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/grid/grid.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAExE,MAAM,MAAM,SAAS,GAAG,eAAe,GAAG;IACzC;;;OAGG;IACH,GAAG,CAAC,EAAE,oBAAoB,CAAC;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,GAAG;IACrD,SAAS,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC;IAC/B,YAAY,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IACrC,kBAAkB,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAC;CAChD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SpacingToken } from '@loadsmart/miranda-tokens';
|
|
2
2
|
import type { GroupProps } from './group.types';
|
|
3
|
-
export declare const defaultGroupProps: Required<
|
|
3
|
+
export declare const defaultGroupProps: Required<Pick<GroupProps, 'align' | 'justify'>> & {
|
|
4
4
|
gap: SpacingToken;
|
|
5
5
|
};
|
|
6
6
|
//# sourceMappingURL=group.constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group.constants.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/group/group.constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,eAAO,MAAM,iBAAiB,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"group.constants.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/group/group.constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CACvC,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,SAAS,CAAC,CACrC,GAAG;IACH,GAAG,EAAE,YAAY,CAAC;CAKlB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type PropertyValues } from 'lit';
|
|
2
2
|
import type { GroupProps } from './group.types';
|
|
3
|
-
|
|
3
|
+
import { BaseLayout } from '../base-layout/base-layout';
|
|
4
|
+
export declare class Group extends BaseLayout {
|
|
4
5
|
static styles: import("lit").CSSResult[];
|
|
5
6
|
static get properties(): {
|
|
6
7
|
gap: {
|
|
@@ -12,6 +13,33 @@ export declare class Group extends LitElement {
|
|
|
12
13
|
justify: {
|
|
13
14
|
type: StringConstructor;
|
|
14
15
|
};
|
|
16
|
+
padding: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
};
|
|
19
|
+
paddingX: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
attribute: string;
|
|
22
|
+
};
|
|
23
|
+
paddingY: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
attribute: string;
|
|
26
|
+
};
|
|
27
|
+
paddingT: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
attribute: string;
|
|
30
|
+
};
|
|
31
|
+
paddingB: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
attribute: string;
|
|
34
|
+
};
|
|
35
|
+
paddingL: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
attribute: string;
|
|
38
|
+
};
|
|
39
|
+
paddingR: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
attribute: string;
|
|
42
|
+
};
|
|
15
43
|
};
|
|
16
44
|
gap: GroupProps['gap'];
|
|
17
45
|
align: GroupProps['align'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/group/group.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/group/group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,qBAAa,KAAM,SAAQ,UAAU;IACpC,OAAgB,MAAM,4BAAoC;IAE1D,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAO7B;IAEO,GAAG,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC;IAEvB,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAE3B,OAAO,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;;cAUpB,MAAM,CACxB,iBAAiB,EAAE,cAAc,CAAC,UAAU,CAAC,GAC3C,IAAI;IAiBE,MAAM;CAGf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,SAAS,EAAE,KAAK,CAAC;KACjB;CACD"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { SpacingTokenWithNone } from '@loadsmart/miranda-tokens';
|
|
2
2
|
import type { JustifyContentValue, AlignItemsValue } from '../layout.types';
|
|
3
|
-
|
|
3
|
+
import type { BaseLayoutProps } from '../base-layout/base-layout.types';
|
|
4
|
+
export type GroupProps = BaseLayoutProps & {
|
|
4
5
|
/**
|
|
5
6
|
* Spacing token for the gap between the children.
|
|
6
7
|
* @default 'spacing-4'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group.types.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/group/group.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"group.types.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/group/group.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAExE,MAAM,MAAM,UAAU,GAAG,eAAe,GAAG;IAC1C;;;OAGG;IACH,GAAG,CAAC,EAAE,oBAAoB,CAAC;IAC3B;;;OAGG;IACH,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB;;;OAGG;IACH,OAAO,CAAC,EAAE,mBAAmB,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SpacingToken } from '@loadsmart/miranda-tokens';
|
|
2
2
|
import type { SidebarProps } from './sidebar.types';
|
|
3
|
-
export declare const defaultSidebarProps: Required<
|
|
3
|
+
export declare const defaultSidebarProps: Required<Pick<SidebarProps, 'sideWidth' | 'minContentWidth' | 'reversed'>> & {
|
|
4
4
|
gap: SpacingToken;
|
|
5
5
|
};
|
|
6
6
|
//# sourceMappingURL=sidebar.constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar.constants.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/sidebar/sidebar.constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD,eAAO,MAAM,mBAAmB,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"sidebar.constants.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/sidebar/sidebar.constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CACzC,IAAI,CAAC,YAAY,EAAE,WAAW,GAAG,iBAAiB,GAAG,UAAU,CAAC,CAChE,GAAG;IACH,GAAG,EAAE,YAAY,CAAC;CAMlB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type PropertyValues } from 'lit';
|
|
2
2
|
import type { SidebarProps } from './sidebar.types';
|
|
3
|
-
|
|
3
|
+
import { BaseLayout } from '../base-layout/base-layout';
|
|
4
|
+
export declare class Sidebar extends BaseLayout {
|
|
4
5
|
static styles: import("lit").CSSResult[];
|
|
5
6
|
static get properties(): {
|
|
6
7
|
gap: {
|
|
@@ -17,6 +18,33 @@ export declare class Sidebar extends LitElement {
|
|
|
17
18
|
reversed: {
|
|
18
19
|
type: BooleanConstructor;
|
|
19
20
|
};
|
|
21
|
+
padding: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
};
|
|
24
|
+
paddingX: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
attribute: string;
|
|
27
|
+
};
|
|
28
|
+
paddingY: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
attribute: string;
|
|
31
|
+
};
|
|
32
|
+
paddingT: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
attribute: string;
|
|
35
|
+
};
|
|
36
|
+
paddingB: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
attribute: string;
|
|
39
|
+
};
|
|
40
|
+
paddingL: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
attribute: string;
|
|
43
|
+
};
|
|
44
|
+
paddingR: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
attribute: string;
|
|
47
|
+
};
|
|
20
48
|
};
|
|
21
49
|
gap: SidebarProps['gap'];
|
|
22
50
|
sideWidth: SidebarProps['sideWidth'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/sidebar/sidebar.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/sidebar/sidebar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIhD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAGpD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,qBAAa,OAAQ,SAAQ,UAAU;IACtC,OAAgB,MAAM,4BAAsC;IAE5D,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQ7B;IAEO,GAAG,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC;IAEzB,SAAS,EAAE,YAAY,CAAC,WAAW,CAAC,CAAC;IAErC,eAAe,EAAE,YAAY,CAAC,iBAAiB,CAAC,CAAC;IAEjD,QAAQ,EAAE,YAAY,CAAC,UAAU,CAAC,CAAC;;cAWxB,MAAM,CACxB,iBAAiB,EAAE,cAAc,CAAC,YAAY,CAAC,GAC7C,IAAI;IA6BE,MAAM;CAMf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,WAAW,EAAE,OAAO,CAAC;KACrB;CACD"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { SpacingTokenWithNone } from '@loadsmart/miranda-tokens';
|
|
2
|
-
|
|
2
|
+
import type { BaseLayoutProps } from '../base-layout/base-layout.types';
|
|
3
|
+
export type SidebarProps = BaseLayoutProps & {
|
|
3
4
|
/**
|
|
4
5
|
* Spacing token for the gap between the sidebar and the content.
|
|
5
6
|
* @default 'spacing-4'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar.types.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/sidebar/sidebar.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"sidebar.types.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/sidebar/sidebar.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAExE,MAAM,MAAM,YAAY,GAAG,eAAe,GAAG;IAC5C;;;OAGG;IACH,GAAG,CAAC,EAAE,oBAAoB,CAAC;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,YAAY,EAAE,KAAK,GAAG,UAAU,CAAC,GAAG;IACxE,YAAY,EAAE,YAAY,CAAC,WAAW,CAAC,CAAC;IACxC,mBAAmB,EAAE,YAAY,CAAC,iBAAiB,CAAC,CAAC;CACrD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SpacingToken } from '@loadsmart/miranda-tokens';
|
|
2
2
|
import type { StackProps } from './stack.types';
|
|
3
|
-
export declare const defaultStackProps: Required<
|
|
3
|
+
export declare const defaultStackProps: Required<Pick<StackProps, 'align' | 'justify'>> & {
|
|
4
4
|
gap: SpacingToken;
|
|
5
5
|
};
|
|
6
6
|
//# sourceMappingURL=stack.constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stack.constants.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/stack/stack.constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,eAAO,MAAM,iBAAiB,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"stack.constants.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/stack/stack.constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CACvC,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,SAAS,CAAC,CACrC,GAAG;IACH,GAAG,EAAE,YAAY,CAAC;CAKlB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type PropertyValues } from 'lit';
|
|
2
2
|
import type { StackProps } from './stack.types';
|
|
3
|
-
|
|
3
|
+
import { BaseLayout } from '../base-layout/base-layout';
|
|
4
|
+
export declare class Stack extends BaseLayout {
|
|
4
5
|
static styles: import("lit").CSSResult[];
|
|
5
6
|
static get properties(): {
|
|
6
7
|
gap: {
|
|
@@ -12,6 +13,33 @@ export declare class Stack extends LitElement {
|
|
|
12
13
|
justify: {
|
|
13
14
|
type: StringConstructor;
|
|
14
15
|
};
|
|
16
|
+
padding: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
};
|
|
19
|
+
paddingX: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
attribute: string;
|
|
22
|
+
};
|
|
23
|
+
paddingY: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
attribute: string;
|
|
26
|
+
};
|
|
27
|
+
paddingT: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
attribute: string;
|
|
30
|
+
};
|
|
31
|
+
paddingB: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
attribute: string;
|
|
34
|
+
};
|
|
35
|
+
paddingL: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
attribute: string;
|
|
38
|
+
};
|
|
39
|
+
paddingR: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
attribute: string;
|
|
42
|
+
};
|
|
15
43
|
};
|
|
16
44
|
gap: StackProps['gap'];
|
|
17
45
|
align: StackProps['align'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stack.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/stack/stack.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"stack.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/stack/stack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,qBAAa,KAAM,SAAQ,UAAU;IACpC,OAAgB,MAAM,4BAAoC;IAE1D,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAO7B;IAEO,GAAG,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC;IAEvB,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAE3B,OAAO,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;;cAUpB,MAAM,CACxB,iBAAiB,EAAE,cAAc,CAAC,UAAU,CAAC,GAC3C,IAAI;IAiBE,MAAM;CAGf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,SAAS,EAAE,KAAK,CAAC;KACjB;CACD"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { SpacingTokenWithNone } from '@loadsmart/miranda-tokens';
|
|
2
2
|
import type { JustifyContentValue, AlignItemsValue } from '../layout.types';
|
|
3
|
-
|
|
3
|
+
import type { BaseLayoutProps } from '../base-layout/base-layout.types';
|
|
4
|
+
export type StackProps = BaseLayoutProps & {
|
|
4
5
|
/**
|
|
5
6
|
* Spacing token for the gap between the children.
|
|
6
7
|
* @default 'spacing-4'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stack.types.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/stack/stack.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"stack.types.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/stack/stack.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAExE,MAAM,MAAM,UAAU,GAAG,eAAe,GAAG;IAC1C;;;OAGG;IACH,GAAG,CAAC,EAAE,oBAAoB,CAAC;IAC3B;;;OAGG;IACH,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB;;;OAGG;IACH,OAAO,CAAC,EAAE,mBAAmB,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SpacingToken } from '@loadsmart/miranda-tokens';
|
|
2
2
|
import type { SwitcherProps } from './switcher.types';
|
|
3
|
-
export declare const defaultSwitcherProps: Required<
|
|
3
|
+
export declare const defaultSwitcherProps: Required<Pick<SwitcherProps, 'threshold'>> & {
|
|
4
4
|
gap: SpacingToken;
|
|
5
5
|
};
|
|
6
6
|
//# sourceMappingURL=switcher.constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switcher.constants.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/switcher/switcher.constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAC1C,IAAI,CAAC,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"switcher.constants.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/switcher/switcher.constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAC1C,IAAI,CAAC,aAAa,EAAE,WAAW,CAAC,CAChC,GAAG;IACH,GAAG,EAAE,YAAY,CAAC;CAIlB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type PropertyValues } from 'lit';
|
|
2
2
|
import type { SwitcherProps } from './switcher.types';
|
|
3
|
-
|
|
3
|
+
import { BaseLayout } from '../base-layout/base-layout';
|
|
4
|
+
export declare class Switcher extends BaseLayout {
|
|
4
5
|
static styles: import("lit").CSSResult[];
|
|
5
6
|
static get properties(): {
|
|
6
7
|
gap: {
|
|
@@ -20,6 +21,33 @@ export declare class Switcher extends LitElement {
|
|
|
20
21
|
limit: {
|
|
21
22
|
type: NumberConstructor;
|
|
22
23
|
};
|
|
24
|
+
padding: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
};
|
|
27
|
+
paddingX: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
attribute: string;
|
|
30
|
+
};
|
|
31
|
+
paddingY: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
attribute: string;
|
|
34
|
+
};
|
|
35
|
+
paddingT: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
attribute: string;
|
|
38
|
+
};
|
|
39
|
+
paddingB: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
attribute: string;
|
|
42
|
+
};
|
|
43
|
+
paddingL: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
attribute: string;
|
|
46
|
+
};
|
|
47
|
+
paddingR: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
attribute: string;
|
|
50
|
+
};
|
|
23
51
|
};
|
|
24
52
|
gap: SwitcherProps['gap'];
|
|
25
53
|
rowGap: SwitcherProps['rowGap'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switcher.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/switcher/switcher.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"switcher.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/switcher/switcher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIhD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGtD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,qBAAa,QAAS,SAAQ,UAAU;IACvC,OAAgB,MAAM,4BAAuC;IAE7D,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAS7B;IAEO,GAAG,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC;IAE1B,MAAM,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAEhC,SAAS,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IAEtC,SAAS,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IAEtC,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;;cASnB,MAAM,CACxB,iBAAiB,EAAE,cAAc,CAAC,aAAa,CAAC,GAC9C,IAAI;IAqCE,MAAM;CAmBf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,YAAY,EAAE,QAAQ,CAAC;KACvB;CACD"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { SpacingTokenWithNone } from '@loadsmart/miranda-tokens';
|
|
2
|
-
|
|
2
|
+
import type { BaseLayoutProps } from '../base-layout/base-layout.types';
|
|
3
|
+
export type SwitcherProps = BaseLayoutProps & {
|
|
3
4
|
/**
|
|
4
5
|
* Spacing token for the gap between the children.
|
|
5
6
|
* @default 'spacing-4'
|