@loadsmart/miranda-wc 1.7.0 → 1.8.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.
@@ -1,6 +1,8 @@
1
+ export { ALIGN_ITEMS_VALUES, JUSTIFY_CONTENT_VALUES } from './layout.constants';
2
+ export type { JustifyContentValue, AlignItemsValue } from './layout.types';
1
3
  export * from './box';
2
4
  export * from './group';
3
5
  export * from './stack';
4
6
  export * from './grid';
5
- export type { JustifyContentValue, AlignItemsValue } from './layout.types';
7
+ export * from './sidebar';
6
8
  //# sourceMappingURL=index.d.ts.map
@@ -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,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,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,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAChF,YAAY,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3E,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const ALIGN_ITEMS_VALUES: readonly ["center", "flex-start", "flex-end", "stretch"];
2
+ export declare const JUSTIFY_CONTENT_VALUES: readonly ["center", "flex-start", "flex-end", "space-between", "space-around", "space-evenly"];
3
+ //# sourceMappingURL=layout.constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layout.constants.d.ts","sourceRoot":"","sources":["../../../src/components/layout/layout.constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,0DAKrB,CAAC;AAEX,eAAO,MAAM,sBAAsB,gGAOzB,CAAC"}
@@ -1,5 +1,4 @@
1
- export declare const ALIGN_ITEMS_VALUES: readonly ["center", "flex-start", "flex-end", "stretch"];
1
+ import { ALIGN_ITEMS_VALUES, JUSTIFY_CONTENT_VALUES } from './layout.constants';
2
2
  export declare type AlignItemsValue = typeof ALIGN_ITEMS_VALUES[number];
3
- export declare const JUSTIFY_CONTENT_VALUES: readonly ["center", "flex-start", "flex-end", "space-between", "space-around", "space-evenly"];
4
3
  export declare type JustifyContentValue = typeof JUSTIFY_CONTENT_VALUES[number];
5
4
  //# sourceMappingURL=layout.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"layout.types.d.ts","sourceRoot":"","sources":["../../../src/components/layout/layout.types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,0DAA4D,CAAC;AAE5F,oBAAY,eAAe,GAAG,OAAO,kBAAkB,CAAC,MAAM,CAAC,CAAC;AAEhE,eAAO,MAAM,sBAAsB,gGAOzB,CAAC;AAEX,oBAAY,mBAAmB,GAAG,OAAO,sBAAsB,CAAC,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"layout.types.d.ts","sourceRoot":"","sources":["../../../src/components/layout/layout.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAEhF,oBAAY,eAAe,GAAG,OAAO,kBAAkB,CAAE,MAAM,CAAE,CAAC;AAElE,oBAAY,mBAAmB,GAAG,OAAO,sBAAsB,CAAE,MAAM,CAAE,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { Sidebar } from './sidebar';
2
+ export { defaultSidebarProps } from './sidebar.constants';
3
+ export type { SidebarProps, SidebarAttributes } from './sidebar.types';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/sidebar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { SidebarProps } from './sidebar.types';
2
+ export declare const defaultSidebarProps: Required<SidebarProps>;
3
+ //# sourceMappingURL=sidebar.constants.d.ts.map
@@ -0,0 +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,CAAE,YAAY,CAKvD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import './sidebar';
2
+ //# sourceMappingURL=sidebar.cy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar.cy.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/sidebar/sidebar.cy.ts"],"names":[],"mappings":"AAMA,OAAO,WAAW,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { LitElement, type PropertyValues } from 'lit';
2
+ import type { SidebarProps } from './sidebar.types';
3
+ export declare class Sidebar extends LitElement {
4
+ static styles: import("lit").CSSResult[];
5
+ static get properties(): {
6
+ gap: {
7
+ type: StringConstructor;
8
+ };
9
+ sideWidth: {
10
+ type: StringConstructor;
11
+ attribute: string;
12
+ };
13
+ minContentWidth: {
14
+ type: StringConstructor;
15
+ attribute: string;
16
+ };
17
+ reversed: {
18
+ type: BooleanConstructor;
19
+ };
20
+ };
21
+ gap: SidebarProps['gap'];
22
+ sideWidth: SidebarProps['sideWidth'];
23
+ minContentWidth: SidebarProps['minContentWidth'];
24
+ reversed: SidebarProps['reversed'];
25
+ constructor();
26
+ protected update(changedProperties: PropertyValues<SidebarProps>): void;
27
+ render(): import("lit-html").TemplateResult<1>;
28
+ }
29
+ declare global {
30
+ interface HTMLElementTagNameMap {
31
+ 'm-sidebar': Sidebar;
32
+ }
33
+ }
34
+ //# sourceMappingURL=sidebar.d.ts.map
@@ -0,0 +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;AAG5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAIpD,qBAAa,OAAQ,SAAQ,UAAU;IACtC,OAAgB,MAAM,4BAAuB;IAE7C,WAAoB,UAAU;;;;;;;;;;;;;;;MAO7B;IAEO,GAAG,EAAE,YAAY,CAAE,KAAK,CAAE,CAAC;IAC3B,SAAS,EAAE,YAAY,CAAE,WAAW,CAAE,CAAC;IACvC,eAAe,EAAE,YAAY,CAAE,iBAAiB,CAAE,CAAC;IACnD,QAAQ,EAAE,YAAY,CAAE,UAAU,CAAE,CAAC;;cAW1B,MAAM,CACxB,iBAAiB,EAAE,cAAc,CAAE,YAAY,CAAE,GAC/C,IAAI;IA6BE,MAAM;CAMf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,WAAW,EAAE,OAAO,CAAC;KACrB;CACD"}
@@ -0,0 +1,3 @@
1
+ export declare function getFlexDirectionValue(reversed?: boolean): "row-reverse" | "row";
2
+ export declare function sidebarStyles(): import("lit").CSSResult;
3
+ //# sourceMappingURL=sidebar.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/sidebar/sidebar.styles.ts"],"names":[],"mappings":"AAMA,wBAAgB,qBAAqB,CAAE,QAAQ,CAAC,EAAE,OAAO,yBAExD;AAED,wBAAgB,aAAa,4BA8B5B"}
@@ -0,0 +1,28 @@
1
+ import type { SpacingToken } from '@loadsmart/miranda-tokens';
2
+ export declare type SidebarProps = {
3
+ /**
4
+ * Spacing token for the gap between the sidebar and the content.
5
+ * @default 'spacing-4'
6
+ */
7
+ gap?: SpacingToken;
8
+ /**
9
+ * The width value for the sidebar.
10
+ * @default 'auto'
11
+ */
12
+ sideWidth?: string;
13
+ /**
14
+ * The minimum width value for the content.
15
+ * @default '50%'
16
+ */
17
+ minContentWidth?: string;
18
+ /**
19
+ * If true, the flex-direction for the container will be row-reversed.
20
+ * @default 'false'
21
+ */
22
+ reversed?: boolean;
23
+ };
24
+ export declare type SidebarAttributes = Pick<SidebarProps, 'gap' | 'reversed'> & {
25
+ 'side-width': SidebarProps['sideWidth'];
26
+ 'min-content-width': SidebarProps['minContentWidth'];
27
+ };
28
+ //# sourceMappingURL=sidebar.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar.types.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/sidebar/sidebar.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,oBAAY,YAAY,GAAG;IAC1B;;;OAGG;IACH,GAAG,CAAC,EAAE,YAAY,CAAC;IACnB;;;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,oBAAY,iBAAiB,GAAG,IAAI,CAAE,YAAY,EAAE,KAAK,GAAG,UAAU,CAAE,GAAG;IAC1E,YAAY,EAAE,YAAY,CAAE,WAAW,CAAE,CAAC;IAC1C,mBAAmB,EAAE,YAAY,CAAE,iBAAiB,CAAE,CAAC;CACvD,CAAC"}