@loadsmart/miranda-wc 1.28.0 → 1.28.2
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/box/box.constants.d.ts +4 -1
- package/dist/components/layout/box/box.constants.d.ts.map +1 -1
- package/dist/components/layout/box/box.d.ts.map +1 -1
- package/dist/components/layout/box/box.types.d.ts +2 -2
- package/dist/components/layout/box/box.types.d.ts.map +1 -1
- package/dist/components/layout/grid/grid.constants.d.ts +4 -1
- package/dist/components/layout/grid/grid.constants.d.ts.map +1 -1
- package/dist/components/layout/grid/grid.d.ts.map +1 -1
- package/dist/components/layout/grid/grid.types.d.ts +4 -4
- package/dist/components/layout/grid/grid.types.d.ts.map +1 -1
- package/dist/components/layout/group/group.constants.d.ts +4 -1
- package/dist/components/layout/group/group.constants.d.ts.map +1 -1
- package/dist/components/layout/group/group.d.ts.map +1 -1
- package/dist/components/layout/group/group.types.d.ts +2 -2
- package/dist/components/layout/group/group.types.d.ts.map +1 -1
- package/dist/components/layout/sidebar/sidebar.constants.d.ts +4 -1
- package/dist/components/layout/sidebar/sidebar.constants.d.ts.map +1 -1
- package/dist/components/layout/sidebar/sidebar.d.ts.map +1 -1
- package/dist/components/layout/sidebar/sidebar.types.d.ts +2 -2
- package/dist/components/layout/sidebar/sidebar.types.d.ts.map +1 -1
- package/dist/components/layout/stack/stack.constants.d.ts +4 -1
- package/dist/components/layout/stack/stack.constants.d.ts.map +1 -1
- package/dist/components/layout/stack/stack.d.ts.map +1 -1
- package/dist/components/layout/stack/stack.types.d.ts +2 -2
- package/dist/components/layout/stack/stack.types.d.ts.map +1 -1
- package/dist/components/layout/switcher/switcher.constants.d.ts +4 -1
- package/dist/components/layout/switcher/switcher.constants.d.ts.map +1 -1
- package/dist/components/layout/switcher/switcher.d.ts.map +1 -1
- package/dist/components/layout/switcher/switcher.types.d.ts +4 -4
- package/dist/components/layout/switcher/switcher.types.d.ts.map +1 -1
- package/dist/index.js +473 -473
- package/dist/index.js.map +1 -1
- package/dist/utils/get-spacing-value.d.ts +11 -0
- package/dist/utils/get-spacing-value.d.ts.map +1 -0
- package/package.json +3 -3
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import type { SpacingToken } from '@loadsmart/miranda-tokens';
|
|
1
2
|
import type { BoxProps } from './box.types';
|
|
2
|
-
export declare const defaultBoxProps: Required<Omit<BoxProps, 'backgroundColor'
|
|
3
|
+
export declare const defaultBoxProps: Required<Omit<BoxProps, 'backgroundColor' | 'padding'>> & {
|
|
4
|
+
padding: SpacingToken;
|
|
5
|
+
};
|
|
3
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,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,eAAO,MAAM,eAAe,EAAE,QAAQ,
|
|
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,CAAC,QAAQ,EAAE,iBAAiB,GAAG,SAAS,CAAC,CAC7C,GAAG;IAAE,OAAO,EAAE,YAAY,CAAA;CAM1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/box/box.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/box/box.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAM5D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAI5C,qBAAa,GAAI,SAAQ,UAAU;IAClC,OAAgB,MAAM,4BAAiB;IAEvC,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;MAS7B;IAEO,OAAO,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAC;IAE7B,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;IAiCnE,MAAM;CAGf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,OAAO,EAAE,GAAG,CAAC;KACb;CACD"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SpacingTokenWithNone, ColorToken, BorderRadiusToken, BorderWidthToken } from '@loadsmart/miranda-tokens';
|
|
2
2
|
export type BoxProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Spacing token for padding.
|
|
5
5
|
* @default 'spacing-4'
|
|
6
6
|
*/
|
|
7
|
-
padding?:
|
|
7
|
+
padding?: SpacingTokenWithNone;
|
|
8
8
|
/**
|
|
9
9
|
* Color token for background-color. If not provided, the background would be transparent.
|
|
10
10
|
*/
|
|
@@ -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,
|
|
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;AAEnC,MAAM,MAAM,QAAQ,GAAG;IACtB;;;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;AAEF,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,QAAQ,EAAE,SAAS,CAAC,GAAG;IACvD,kBAAkB,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IAChD,eAAe,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC;IAC1C,cAAc,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IACxC,cAAc,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IACxC,YAAY,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;CACpC,CAAC"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { type SpacingToken } from '@loadsmart/miranda-tokens';
|
|
1
2
|
import type { GridProps } from './grid.types';
|
|
2
|
-
export declare const defaultGridProps: Required<Omit<GridProps, 'rowGap' | 'columnGap'
|
|
3
|
+
export declare const defaultGridProps: Required<Omit<GridProps, 'gap' | 'rowGap' | 'columnGap'>> & {
|
|
4
|
+
gap: SpacingToken;
|
|
5
|
+
};
|
|
3
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":"
|
|
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,CACtC,IAAI,CAAC,SAAS,EAAE,KAAK,GAAG,QAAQ,GAAG,WAAW,CAAC,CAC/C,GAAG;IACH,GAAG,EAAE,YAAY,CAAC;CAIlB,CAAC"}
|
|
@@ -1 +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;
|
|
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;AAI5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9C,qBAAa,IAAK,SAAQ,UAAU;IACnC,OAAgB,MAAM,4BAAkB;IAExC,WAAoB,UAAU;;;;;;;;;;;;;;;;MAO7B;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,18 +1,18 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SpacingTokenWithNone } from '@loadsmart/miranda-tokens';
|
|
2
2
|
export type GridProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Spacing token for the grid gap.
|
|
5
5
|
* @default 'spacing-4'
|
|
6
6
|
*/
|
|
7
|
-
gap?:
|
|
7
|
+
gap?: SpacingTokenWithNone;
|
|
8
8
|
/**
|
|
9
9
|
* Spacing token for the vertical grid gap.
|
|
10
10
|
*/
|
|
11
|
-
rowGap?:
|
|
11
|
+
rowGap?: SpacingTokenWithNone;
|
|
12
12
|
/**
|
|
13
13
|
* Spacing token for the horizontal grid gap.
|
|
14
14
|
*/
|
|
15
|
-
columnGap?:
|
|
15
|
+
columnGap?: SpacingTokenWithNone;
|
|
16
16
|
/**
|
|
17
17
|
* Value for the minimum width applied to the grid template columns.
|
|
18
18
|
* @default 'value for spacing-30 token'
|
|
@@ -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,
|
|
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;AAEtE,MAAM,MAAM,SAAS,GAAG;IACvB;;;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,3 +1,6 @@
|
|
|
1
|
+
import type { SpacingToken } from '@loadsmart/miranda-tokens';
|
|
1
2
|
import type { GroupProps } from './group.types';
|
|
2
|
-
export declare const defaultGroupProps: Required<GroupProps
|
|
3
|
+
export declare const defaultGroupProps: Required<Omit<GroupProps, 'gap'>> & {
|
|
4
|
+
gap: SpacingToken;
|
|
5
|
+
};
|
|
3
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,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CAAC,UAAU,
|
|
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,CAAC,IAAI,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,GAAG;IACnE,GAAG,EAAE,YAAY,CAAC;CAKlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/group/group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/group/group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAI5D,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;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,11 +1,11 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SpacingTokenWithNone } from '@loadsmart/miranda-tokens';
|
|
2
2
|
import type { JustifyContentValue, AlignItemsValue } from '../layout.types';
|
|
3
3
|
export type GroupProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Spacing token for the gap between the children.
|
|
6
6
|
* @default 'spacing-4'
|
|
7
7
|
*/
|
|
8
|
-
gap?:
|
|
8
|
+
gap?: SpacingTokenWithNone;
|
|
9
9
|
/**
|
|
10
10
|
* Value for align-items.
|
|
11
11
|
* @default 'stretch'
|
|
@@ -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,
|
|
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;AAE5E,MAAM,MAAM,UAAU,GAAG;IACxB;;;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,3 +1,6 @@
|
|
|
1
|
+
import type { SpacingToken } from '@loadsmart/miranda-tokens';
|
|
1
2
|
import type { SidebarProps } from './sidebar.types';
|
|
2
|
-
export declare const defaultSidebarProps: Required<SidebarProps
|
|
3
|
+
export declare const defaultSidebarProps: Required<Omit<SidebarProps, 'gap'>> & {
|
|
4
|
+
gap: SpacingToken;
|
|
5
|
+
};
|
|
3
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,iBAAiB,CAAC;AAEpD,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,YAAY,
|
|
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,CAAC,IAAI,CAAC,YAAY,EAAE,KAAK,CAAC,CAAC,GAAG;IACvE,GAAG,EAAE,YAAY,CAAC;CAMlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/sidebar/sidebar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/sidebar/sidebar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAI5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAIpD,qBAAa,OAAQ,SAAQ,UAAU;IACtC,OAAgB,MAAM,4BAAqB;IAE3C,WAAoB,UAAU;;;;;;;;;;;;;;;MAO7B;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,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SpacingTokenWithNone } from '@loadsmart/miranda-tokens';
|
|
2
2
|
export type SidebarProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Spacing token for the gap between the sidebar and the content.
|
|
5
5
|
* @default 'spacing-4'
|
|
6
6
|
*/
|
|
7
|
-
gap?:
|
|
7
|
+
gap?: SpacingTokenWithNone;
|
|
8
8
|
/**
|
|
9
9
|
* The width value for the sidebar.
|
|
10
10
|
* @default 'auto'
|
|
@@ -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,
|
|
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;AAEtE,MAAM,MAAM,YAAY,GAAG;IAC1B;;;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,3 +1,6 @@
|
|
|
1
|
+
import type { SpacingToken } from '@loadsmart/miranda-tokens';
|
|
1
2
|
import type { StackProps } from './stack.types';
|
|
2
|
-
export declare const defaultStackProps: Required<StackProps
|
|
3
|
+
export declare const defaultStackProps: Required<Omit<StackProps, 'gap'>> & {
|
|
4
|
+
gap: SpacingToken;
|
|
5
|
+
};
|
|
3
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,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CAAC,UAAU,
|
|
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,CAAC,IAAI,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,GAAG;IACnE,GAAG,EAAE,YAAY,CAAC;CAKlB,CAAC"}
|
|
@@ -1 +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;
|
|
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;AAI5D,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;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,11 +1,11 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SpacingTokenWithNone } from '@loadsmart/miranda-tokens';
|
|
2
2
|
import type { JustifyContentValue, AlignItemsValue } from '../layout.types';
|
|
3
3
|
export type StackProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Spacing token for the gap between the children.
|
|
6
6
|
* @default 'spacing-4'
|
|
7
7
|
*/
|
|
8
|
-
gap?:
|
|
8
|
+
gap?: SpacingTokenWithNone;
|
|
9
9
|
/**
|
|
10
10
|
* Value for align-items.
|
|
11
11
|
* @default 'stretch'
|
|
@@ -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,
|
|
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;AAE5E,MAAM,MAAM,UAAU,GAAG;IACxB;;;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,3 +1,6 @@
|
|
|
1
|
+
import type { SpacingToken } from '@loadsmart/miranda-tokens';
|
|
1
2
|
import type { SwitcherProps } from './switcher.types';
|
|
2
|
-
export declare const defaultSwitcherProps: Required<Omit<SwitcherProps, 'rowGap' | 'columnGap' | 'limit'
|
|
3
|
+
export declare const defaultSwitcherProps: Required<Omit<SwitcherProps, 'gap' | 'rowGap' | 'columnGap' | 'limit'>> & {
|
|
4
|
+
gap: SpacingToken;
|
|
5
|
+
};
|
|
3
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,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAC1C,IAAI,CAAC,aAAa,EAAE,QAAQ,GAAG,WAAW,GAAG,OAAO,CAAC,
|
|
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,KAAK,GAAG,QAAQ,GAAG,WAAW,GAAG,OAAO,CAAC,CAC7D,GAAG;IACH,GAAG,EAAE,YAAY,CAAC;CAIlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switcher.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/switcher/switcher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"switcher.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/switcher/switcher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAI5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAItD,qBAAa,QAAS,SAAQ,UAAU;IACvC,OAAgB,MAAM,4BAAsB;IAE5C,WAAoB,UAAU;;;;;;;;;;;;;;;;;;MAQ7B;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,18 +1,18 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SpacingTokenWithNone } from '@loadsmart/miranda-tokens';
|
|
2
2
|
export type SwitcherProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Spacing token for the gap between the children.
|
|
5
5
|
* @default 'spacing-4'
|
|
6
6
|
*/
|
|
7
|
-
gap?:
|
|
7
|
+
gap?: SpacingTokenWithNone;
|
|
8
8
|
/**
|
|
9
9
|
* Spacing token for the vertical gap between the children.
|
|
10
10
|
*/
|
|
11
|
-
rowGap?:
|
|
11
|
+
rowGap?: SpacingTokenWithNone;
|
|
12
12
|
/**
|
|
13
13
|
* Spacing token for the horizontal gap between the children.
|
|
14
14
|
*/
|
|
15
|
-
columnGap?:
|
|
15
|
+
columnGap?: SpacingTokenWithNone;
|
|
16
16
|
/**
|
|
17
17
|
* A css value representing the container breakpoint.
|
|
18
18
|
* @default '10rem'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switcher.types.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/switcher/switcher.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"switcher.types.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/switcher/switcher.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEtE,MAAM,MAAM,aAAa,GAAG;IAC3B;;;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,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,aAAa,EAAE,QAAQ,GAAG,WAAW,CAAC,GAAG;IAC9E,SAAS,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IACnC,YAAY,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;CACzC,CAAC"}
|