@gridui/grid 2.1.4 → 2.3.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.
Files changed (52) hide show
  1. package/README.md +26 -17
  2. package/dist/{primitives/container → container}/container.d.ts +2 -2
  3. package/dist/{primitives/container → container}/style.d.ts +2 -2
  4. package/dist/dashboard-frame/dashboard-frame.d.ts +21 -0
  5. package/dist/dashboard-frame/style.d.ts +12 -0
  6. package/dist/frame-boundary/frame-boundary.d.ts +15 -0
  7. package/dist/frame-boundary/style.d.ts +9 -0
  8. package/dist/frame-footer/frame-footer.d.ts +20 -0
  9. package/dist/{frame/chrome → frame-footer}/style.d.ts +1 -2
  10. package/dist/frame-header/frame-header.d.ts +15 -0
  11. package/dist/frame-rail/frame-rail.d.ts +11 -0
  12. package/dist/{frame/rail → frame-rail}/style.d.ts +1 -1
  13. package/dist/{frame/rail/rail.d.ts → frame-rail-group/frame-rail-group.d.ts} +3 -7
  14. package/dist/frame-region/frame-region.d.ts +12 -0
  15. package/dist/frame-region-row/frame-region-row.d.ts +12 -0
  16. package/dist/{frame/section.d.ts → frame-section/frame-section.d.ts} +7 -7
  17. package/dist/frame-sections/frame-sections.d.ts +9 -0
  18. package/dist/{frame/texture/texture.d.ts → frame-texture/frame-texture.d.ts} +3 -3
  19. package/dist/grid/grid.d.ts +37 -0
  20. package/dist/grid/responsive.d.ts +9 -0
  21. package/dist/{primitives/grid → grid}/style.d.ts +1 -2
  22. package/dist/{primitives/grid → grid}/tracks.d.ts +3 -2
  23. package/dist/{primitives/grid → grid-item}/grid-item.d.ts +4 -4
  24. package/dist/grid-item/responsive.d.ts +8 -0
  25. package/dist/grid-item/style.d.ts +7 -0
  26. package/dist/index.d.ts +44 -2
  27. package/dist/index.js +535 -310
  28. package/dist/index.js.map +4 -4
  29. package/dist/page-frame/page-frame.d.ts +18 -0
  30. package/dist/{frame/page → page-frame}/style.d.ts +2 -2
  31. package/dist/{primitives/row → row}/row.d.ts +2 -2
  32. package/dist/{primitives/row → row}/style.d.ts +1 -1
  33. package/dist/shared/chrome-style.d.ts +7 -0
  34. package/dist/shared/chrome.d.ts +16 -0
  35. package/dist/{frame/decoration → shared}/decoration.d.ts +3 -2
  36. package/dist/shared/frame-style.d.ts +11 -0
  37. package/dist/shared/responsive-types.d.ts +8 -0
  38. package/dist/shared/texture-types.d.ts +7 -0
  39. package/dist/{primitives → shared}/types.d.ts +1 -1
  40. package/dist/{primitives/split → split}/split.d.ts +4 -3
  41. package/dist/{primitives/stack → stack}/stack.d.ts +3 -3
  42. package/dist/{primitives/stack → stack}/style.d.ts +1 -1
  43. package/dist/styles.css +246 -79
  44. package/package.json +5 -10
  45. package/dist/frame/boundary/boundary.d.ts +0 -12
  46. package/dist/frame/chrome/chrome.d.ts +0 -29
  47. package/dist/frame/export.d.ts +0 -19
  48. package/dist/frame/page/page.d.ts +0 -20
  49. package/dist/frame/style.d.ts +0 -11
  50. package/dist/primitives/export.d.ts +0 -19
  51. package/dist/primitives/grid/grid.d.ts +0 -21
  52. package/dist/primitives/responsive.d.ts +0 -11
package/README.md CHANGED
@@ -5,8 +5,9 @@ See the [usage handbook](../../docs/usage/README.md) and
5
5
 
6
6
  `@gridui/grid` owns Container, Grid, GridItem, Split, Stack, Row,
7
7
  PageFrame, FrameSections, FrameSection, frame chrome, rails, textures,
8
- and structural boundaries. It does not know website routes or domain state.
9
- Load its explicit `styles.css` export after theme styles and before Layout.
8
+ FrameRegion/FrameRegionRow for composed edge geometry,
9
+ and the public FrameBoundary primitive for structural boundaries. It does not know website routes or domain state.
10
+ Load its explicit `styles.css` export after Theme and before styles of composed families.
10
11
  Theme supplies token values; `@gridui/style-utils/responsive` supplies the
11
12
  React-free spacing and breakpoint-value calculations.
12
13
 
@@ -17,9 +18,13 @@ controls and tables inside those regions so their own borders remain intact.
17
18
  See [linear regions](docs/README.md#linear-regions) for the full contract.
18
19
 
19
20
  FrameSection and FrameFooter accept `tone="neutral" | "brand" | "warning" | "danger"`.
20
- Non-neutral tones scope background, foreground, muted text, borders, controls,
21
- and focus colors to that region. Theme owns the paired light/dark tokens;
22
- Grid owns their inherited application. Nested non-neutral tones establish their own palette; neutral inherits its surroundings.
21
+ Non-neutral tones reuse Theme's public `paletteClass` contract for background,
22
+ foreground, muted text, borders, controls, and focus colors. Theme owns both
23
+ palette values and their scoped semantic mapping; Grid owns region geometry.
24
+ Nested non-neutral tones establish their own palette; `tone="neutral"` continues
25
+ to inherit its surroundings. Use `paletteClass("neutral")` from `@gridui/theme`
26
+ on a native content surface for an explicit reset to registered application
27
+ neutral colors without adding a section or boundary.
23
28
 
24
29
  FrameSection owns its leading separator and inline frame edges. Use
25
30
  `boundary="none"` and `edges="none"` when an enclosing region owns them.
@@ -51,8 +56,13 @@ the final section's tone for its leading line.
51
56
  Grid `frame="cells"` owns outer and cell edges; `frame="internal"` owns seams
52
57
  inside an existing frame. Use `fillLastRow` with direct GridItem children to
53
58
  fill incomplete rows at every breakpoint. Explicit gaps are disallowed in
54
- framed grids. Hover/focus outlines paint above neighboring seams and page lines.
55
- Table cell lines remain Data-owned and control borders remain Controls-owned.
59
+ framed grids. For wrapping lists with a container-driven track count, use
60
+ `columns="auto"` with `minItemWidth` and optional responsive gap. The minimum is
61
+ capped to available space. `Grid asChild` and `GridItem asChild` preserve native
62
+ ul/ol/li hosts without wrapper elements. Adaptive mode excludes frames and
63
+ `fillLastRow`; root `asChild` also excludes `fillLastRow`, preserving the fixed
64
+ planner's direct-item contract. Hover/focus outlines paint above neighboring seams and page lines.
65
+ Table cell lines belong to Table; functional control borders belong to their Core families.
56
66
 
57
67
  See the [Grid contract](docs/README.md#grid-foundation) for geometry and API.
58
68
 
@@ -61,14 +71,11 @@ See the [Grid contract](docs/README.md#grid-foundation) for geometry and API.
61
71
  The package root `src/index.ts` declares the public API, and `src/styles.css`
62
72
  imports component styles. Neither entry point contains component implementation.
63
73
 
64
- - `primitives/` groups Container, Grid/GridItem with track planning, Split,
65
- Stack, and Row with their own styles. `responsive.ts` retains only column,
66
- track, and span geometry; shared responsive spacing comes from Style-utils.
67
- `geometry.css` owns the shared Container/frame-rail tracks.
68
- - `frame/` groups page hosts, chrome, rails, boundaries, decorations, and
69
- textures with their CSS and variants. `section.tsx` composes those groups.
70
- Only shared content styles and tone variants remain in `frame/style.ts`;
71
- `tone.css` owns inherited region colors. Primitives never import Frame.
74
+ Every public component owns a matching directory, such as `src/grid/`,
75
+ `src/grid-item/`, `src/split/`, and `src/frame-section/`. Private parts, styles,
76
+ and helpers stay beside their owner. `src/shared/` contains only collaborators
77
+ used by multiple components: track planning, inherited frame geometry, region
78
+ tones, and shared boundary/chrome rules. Responsive spacing comes from Style-utils.
72
79
 
73
80
  Cross-package browser fixtures live in root
74
81
  `scripts/development/preview/fixtures` and use public exports. Browser
@@ -78,9 +85,11 @@ Unit tests mirror these owners under `test/unit/primitives/` and
78
85
  `test/unit/frame/`. Tests can combine public primitives to protect their
79
86
  collaboration. Keep ordinary presentation in the owner's CVA `style.ts`. Retain
80
87
  track resolution, seams, and decorative geometry in colocated CSS imported by
81
- the root stylesheet. See the shared
82
- style organization contract.
88
+ the root stylesheet. See the [source conventions](../../docs/development/typescript-conventions.md#component-directories).
83
89
  Consumers use the package root and explicit stylesheet export; internal file
84
90
  paths are private.
85
91
 
86
92
  See [quarterly release history](.changeset/history/) for prepared release notes and consumption records.
93
+
94
+ `DashboardFrame` supplies full-height workspace gutters and structural edges without
95
+ creating a main landmark. See [dashboard frames](docs/README.md#dashboard-frames).
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * @author WMXPY
3
3
  * @package Grid
4
- * @namespace Primitives_Container
4
+ * @namespace Container
5
5
  * @description Container
6
6
  */
7
- import type { ElementProps } from "../types";
7
+ import type { ElementProps } from "../shared/types";
8
8
  import type { FC } from "react";
9
9
  export type ContainerProps = ElementProps & {
10
10
  readonly width?: "narrow" | "standard" | "wide";
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * @author WMXPY
3
3
  * @package Grid
4
- * @namespace Primitives_Container
4
+ * @namespace Container
5
5
  * @description Style
6
6
  */
7
7
  export declare const containerVariants: (props?: ({
8
- width?: "standard" | "narrow" | "wide" | null | undefined;
8
+ width?: "narrow" | "standard" | "wide" | null | undefined;
9
9
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @package Grid
4
+ * @namespace DashboardFrame
5
+ * @description Dashboard Frame
6
+ */
7
+ import { type FrameDecorationStyle } from "../shared/decoration";
8
+ import { dashboardFrameVariants } from "./style";
9
+ import type { VariantProps } from "class-variance-authority";
10
+ import type { ComponentPropsWithRef, FC } from "react";
11
+ export type DashboardFrameSize = NonNullable<VariantProps<typeof dashboardFrameVariants>["startSize"]>;
12
+ export type DashboardFrameProps = ComponentPropsWithRef<"div"> & {
13
+ readonly decoration?: FrameDecorationStyle;
14
+ readonly startDecoration?: FrameDecorationStyle;
15
+ readonly endDecoration?: FrameDecorationStyle;
16
+ readonly startSize?: DashboardFrameSize;
17
+ readonly endSize?: DashboardFrameSize;
18
+ readonly compactStartSize?: DashboardFrameSize;
19
+ readonly compactEndSize?: DashboardFrameSize;
20
+ };
21
+ export declare const DashboardFrame: FC<DashboardFrameProps>;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @package Grid
4
+ * @namespace DashboardFrame
5
+ * @description Style
6
+ */
7
+ export declare const dashboardFrameVariants: (props?: ({
8
+ startSize?: "small" | "none" | "medium" | "large" | null | undefined;
9
+ endSize?: "small" | "none" | "medium" | "large" | null | undefined;
10
+ compactStartSize?: "small" | "none" | "medium" | "large" | null | undefined;
11
+ compactEndSize?: "small" | "none" | "medium" | "large" | null | undefined;
12
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @package Grid
4
+ * @namespace FrameBoundary
5
+ * @description Frame Boundary
6
+ */
7
+ import { frameBoundaryStyles } from "./style";
8
+ import type { VariantProps } from "class-variance-authority";
9
+ import type { ComponentPropsWithRef, FC } from "react";
10
+ export type FrameBoundaryStyle = NonNullable<VariantProps<typeof frameBoundaryStyles>["boundary"]>;
11
+ export type FrameBoundaryProps = Omit<ComponentPropsWithRef<"div">, "children"> & {
12
+ readonly boundary?: FrameBoundaryStyle;
13
+ readonly extent?: "content" | "frame";
14
+ };
15
+ export declare const FrameBoundary: FC<FrameBoundaryProps>;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @package Grid
4
+ * @namespace FrameBoundary
5
+ * @description Style
6
+ */
7
+ export declare const frameBoundaryStyles: (props?: ({
8
+ boundary?: "line" | "none" | "band" | "stripe" | "space" | null | undefined;
9
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @package Grid
4
+ * @namespace FrameFooter
5
+ * @description Frame Footer
6
+ */
7
+ import { type FrameBoundaryStyle } from "../frame-boundary/frame-boundary";
8
+ import { type ChromeProps } from "../shared/chrome";
9
+ import { type FrameDecorationStyle } from "../shared/decoration";
10
+ import { type FrameTone } from "../shared/frame-style";
11
+ import type { ComponentPropsWithRef, FC, ReactNode } from "react";
12
+ export type FrameFooterProps = ComponentPropsWithRef<"footer"> & ChromeProps & {
13
+ readonly contentLayout?: "flex" | "block";
14
+ readonly tone?: FrameTone;
15
+ readonly boundary?: FrameBoundaryStyle;
16
+ readonly decoration?: FrameDecorationStyle;
17
+ readonly signature?: ReactNode;
18
+ readonly signatureAppearance?: "standard" | "cropped";
19
+ };
20
+ export declare const FrameFooter: FC<FrameFooterProps>;
@@ -1,9 +1,8 @@
1
1
  /**
2
2
  * @author WMXPY
3
3
  * @package Grid
4
- * @namespace Frame_Chrome
4
+ * @namespace FrameFooter
5
5
  * @description Style
6
6
  */
7
- export declare const frameChromeStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
8
7
  export declare const frameSignatureStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
9
8
  export declare const frameSignatureCroppedStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @package Grid
4
+ * @namespace FrameHeader
5
+ * @description Frame Header
6
+ */
7
+ import { type ChromeProps } from "../shared/chrome";
8
+ import { type Space } from "@gridui/style-utils/responsive";
9
+ import type { ComponentPropsWithRef, FC } from "react";
10
+ export type FrameHeaderProps = ComponentPropsWithRef<"header"> & ChromeProps & {
11
+ readonly wrap?: boolean;
12
+ readonly gap?: Space;
13
+ readonly justify?: "start" | "between";
14
+ };
15
+ export declare const FrameHeader: FC<FrameHeaderProps>;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @package Grid
4
+ * @namespace FrameRail
5
+ * @description Frame Rail
6
+ */
7
+ import type { ComponentPropsWithRef, FC } from "react";
8
+ export type FrameRailProps = ComponentPropsWithRef<"div"> & {
9
+ readonly placement?: "start" | "sticky-bottom";
10
+ };
11
+ export declare const FrameRail: FC<FrameRailProps>;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @author WMXPY
3
3
  * @package Grid
4
- * @namespace Frame_Rail
4
+ * @namespace FrameRail
5
5
  * @description Style
6
6
  */
7
7
  export declare const frameRailStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
@@ -1,15 +1,11 @@
1
1
  /**
2
2
  * @author WMXPY
3
3
  * @package Grid
4
- * @namespace Frame_Rail
5
- * @description Rail
4
+ * @namespace FrameRailGroup
5
+ * @description Frame Rail Group
6
6
  */
7
- import type { Responsive, Space } from "@gridui/style-utils/responsive";
7
+ import { type Responsive, type Space } from "@gridui/style-utils/responsive";
8
8
  import type { ComponentPropsWithRef, FC, ReactNode } from "react";
9
- export type FrameRailProps = ComponentPropsWithRef<"div"> & {
10
- readonly placement?: "start" | "sticky-bottom";
11
- };
12
- export declare const FrameRail: FC<FrameRailProps>;
13
9
  export type FrameRailGroupProps = ComponentPropsWithRef<"div"> & {
14
10
  readonly rail?: ReactNode;
15
11
  readonly railWidth?: Responsive<Space>;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @package Grid
4
+ * @namespace FrameRegion
5
+ * @description Frame Region
6
+ */
7
+ import type { ComponentPropsWithRef, FC } from "react";
8
+ export type FrameRegionProps = ComponentPropsWithRef<"div"> & {
9
+ readonly asChild?: boolean;
10
+ readonly edge?: "none" | "left" | "right" | "both";
11
+ };
12
+ export declare const FrameRegion: FC<FrameRegionProps>;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @package Grid
4
+ * @namespace FrameRegionRow
5
+ * @description Frame Region Row
6
+ */
7
+ import type { ComponentPropsWithRef, FC } from "react";
8
+ export type FrameRegionRowProps = ComponentPropsWithRef<"div"> & {
9
+ readonly asChild?: boolean;
10
+ readonly contentInset?: number | string;
11
+ };
12
+ export declare const FrameRegionRow: FC<FrameRegionRowProps>;
@@ -1,14 +1,14 @@
1
1
  /**
2
2
  * @author WMXPY
3
3
  * @package Grid
4
- * @namespace Frame
5
- * @description Section
4
+ * @namespace FrameSection
5
+ * @description Frame Section
6
6
  */
7
- import type { FrameBoundaryStyle } from "./boundary/boundary";
8
- import type { FrameDecorationStyle } from "./decoration/decoration";
9
- import type { FrameTone } from "./style";
10
- import type { FrameTextureStyle } from "./texture/texture";
11
- import type { Responsive, Space } from "@gridui/style-utils/responsive";
7
+ import { type FrameBoundaryStyle } from "../frame-boundary/frame-boundary";
8
+ import { type FrameDecorationStyle } from "../shared/decoration";
9
+ import { type FrameTone } from "../shared/frame-style";
10
+ import type { FrameTextureStyle } from "../shared/texture-types";
11
+ import { type Responsive, type Space } from "@gridui/style-utils/responsive";
12
12
  import type { ComponentPropsWithRef, FC } from "react";
13
13
  export type FrameSectionProps = ComponentPropsWithRef<"section"> & {
14
14
  readonly tone?: FrameTone;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @package Grid
4
+ * @namespace FrameSections
5
+ * @description Frame Sections
6
+ */
7
+ import type { ComponentPropsWithRef, FC } from "react";
8
+ export type FrameSectionsProps = ComponentPropsWithRef<"div">;
9
+ export declare const FrameSections: FC<FrameSectionsProps>;
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * @author WMXPY
3
3
  * @package Grid
4
- * @namespace Frame_Texture
5
- * @description Texture
4
+ * @namespace FrameTexture
5
+ * @description Frame Texture
6
6
  */
7
+ import type { FrameTextureStyle } from "../shared/texture-types";
7
8
  import type { FC } from "react";
8
- export type FrameTextureStyle = "none" | "grid" | "dots" | "lines";
9
9
  export type FrameTextureProps = {
10
10
  readonly texture: FrameTextureStyle;
11
11
  };
@@ -0,0 +1,37 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @package Grid
4
+ * @namespace Grid
5
+ * @description Grid
6
+ */
7
+ import type { ElementProps } from "../shared/types";
8
+ import type { GridColumns } from "./responsive";
9
+ import { type Responsive, type Space } from "@gridui/style-utils/responsive";
10
+ import { type FC, type ReactElement } from "react";
11
+ type GridFrameOptions = {
12
+ readonly frame?: "none";
13
+ readonly gap?: Responsive<Space>;
14
+ } | {
15
+ readonly frame: "none" | "cells" | "internal";
16
+ readonly gap?: never;
17
+ };
18
+ type GridLayoutOptions = ({
19
+ readonly columns?: Responsive<GridColumns>;
20
+ readonly minItemWidth?: never;
21
+ } & GridFrameOptions) | {
22
+ readonly columns: "auto";
23
+ readonly minItemWidth: Responsive<string | number>;
24
+ readonly frame?: "none";
25
+ readonly gap?: Responsive<Space>;
26
+ readonly fillLastRow?: false;
27
+ };
28
+ export type GridProps = ElementProps & GridLayoutOptions & ({
29
+ readonly asChild?: false;
30
+ readonly fillLastRow?: boolean;
31
+ } | {
32
+ readonly asChild: true;
33
+ readonly children: ReactElement;
34
+ readonly fillLastRow?: false;
35
+ });
36
+ export declare const Grid: FC<GridProps>;
37
+ export {};
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @package Grid
4
+ * @namespace Grid
5
+ * @description Responsive
6
+ */
7
+ import type { Columns } from "../shared/responsive-types";
8
+ export type GridTrack = "1fr" | "auto";
9
+ export type GridColumns = Columns | readonly [GridTrack, ...GridTrack[]];
@@ -1,12 +1,11 @@
1
1
  /**
2
2
  * @author WMXPY
3
3
  * @package Grid
4
- * @namespace Primitives_Grid
4
+ * @namespace Grid
5
5
  * @description Style
6
6
  */
7
7
  export declare const gridStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
8
8
  export declare const gridCellsStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
9
- export declare const gridItemStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
10
9
  export declare const gridInternalStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
11
10
  export declare const gridVariants: (props?: ({
12
11
  frame?: "none" | "cells" | "internal" | null | undefined;
@@ -1,10 +1,11 @@
1
1
  /**
2
2
  * @author WMXPY
3
3
  * @package Grid
4
- * @namespace Primitives_Grid
4
+ * @namespace Grid
5
5
  * @description Tracks
6
6
  */
7
- import type { GridColumns } from "../responsive";
7
+ import type { GridColumns } from "./responsive";
8
8
  export declare const gridColumnCount: (columns: GridColumns) => number;
9
9
  export declare const gridTemplate: (columns: GridColumns) => string;
10
+ export declare const adaptiveGridTemplate: (minItemWidth: string | number) => string;
10
11
  export declare const fillGridRowSpans: (columns: number, spans: readonly number[]) => number[];
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * @author WMXPY
3
3
  * @package Grid
4
- * @namespace Primitives_Grid
4
+ * @namespace GridItem
5
5
  * @description Grid Item
6
6
  */
7
- import type { Span } from "../responsive";
8
- import type { ElementProps } from "../types";
9
- import type { Responsive, Space } from "@gridui/style-utils/responsive";
7
+ import type { Span } from "../shared/responsive-types";
8
+ import type { ElementProps } from "../shared/types";
9
+ import { type Responsive, type Space } from "@gridui/style-utils/responsive";
10
10
  import type { FC } from "react";
11
11
  export type GridItemProps = ElementProps & {
12
12
  readonly asChild?: boolean;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @package Grid
4
+ * @namespace GridItem
5
+ * @description Responsive
6
+ */
7
+ import type { Span } from "../shared/responsive-types";
8
+ export declare const spanValue: (value: Span) => string;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @package Grid
4
+ * @namespace GridItem
5
+ * @description Style
6
+ */
7
+ export declare const gridItemStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
package/dist/index.d.ts CHANGED
@@ -4,5 +4,47 @@
4
4
  * @namespace Root
5
5
  * @description Index
6
6
  */
7
- export * from "./frame/export";
8
- export * from "./primitives/export";
7
+ export type { ContainerProps } from "./container/container";
8
+ export { Container } from "./container/container";
9
+ export type { DashboardFrameProps, DashboardFrameSize } from "./dashboard-frame/dashboard-frame";
10
+ export { DashboardFrame } from "./dashboard-frame/dashboard-frame";
11
+ export type { FrameBoundaryProps, FrameBoundaryStyle } from "./frame-boundary/frame-boundary";
12
+ export { FrameBoundary } from "./frame-boundary/frame-boundary";
13
+ export type { FrameFooterProps } from "./frame-footer/frame-footer";
14
+ export { FrameFooter } from "./frame-footer/frame-footer";
15
+ export type { FrameHeaderProps } from "./frame-header/frame-header";
16
+ export { FrameHeader } from "./frame-header/frame-header";
17
+ export type { FrameRailProps } from "./frame-rail/frame-rail";
18
+ export { FrameRail } from "./frame-rail/frame-rail";
19
+ export type { FrameRailGroupProps } from "./frame-rail-group/frame-rail-group";
20
+ export { FrameRailGroup } from "./frame-rail-group/frame-rail-group";
21
+ export type { FrameRegionProps } from "./frame-region/frame-region";
22
+ export { FrameRegion } from "./frame-region/frame-region";
23
+ export type { FrameRegionRowProps } from "./frame-region-row/frame-region-row";
24
+ export { FrameRegionRow } from "./frame-region-row/frame-region-row";
25
+ export type { FrameSectionProps } from "./frame-section/frame-section";
26
+ export { FrameSection } from "./frame-section/frame-section";
27
+ export type { FrameSectionsProps } from "./frame-sections/frame-sections";
28
+ export { FrameSections } from "./frame-sections/frame-sections";
29
+ export type { FrameTextureProps } from "./frame-texture/frame-texture";
30
+ export { FrameTexture } from "./frame-texture/frame-texture";
31
+ export type { GridProps } from "./grid/grid";
32
+ export { Grid } from "./grid/grid";
33
+ export type { GridColumns } from "./grid/responsive";
34
+ export type { GridTrack } from "./grid/responsive";
35
+ export type { GridItemProps } from "./grid-item/grid-item";
36
+ export { GridItem } from "./grid-item/grid-item";
37
+ export type { PageFrameProps } from "./page-frame/page-frame";
38
+ export { PageFrame } from "./page-frame/page-frame";
39
+ export type { RowProps } from "./row/row";
40
+ export { Row } from "./row/row";
41
+ export type { FrameDecorationStyle } from "./shared/decoration";
42
+ export type { FrameTone } from "./shared/frame-style";
43
+ export type { Columns } from "./shared/responsive-types";
44
+ export type { Span } from "./shared/responsive-types";
45
+ export type { FrameTextureStyle } from "./shared/texture-types";
46
+ export type { SplitDirection } from "./split/split";
47
+ export type { SplitProps } from "./split/split";
48
+ export { Split } from "./split/split";
49
+ export type { StackProps } from "./stack/stack";
50
+ export { Stack } from "./stack/stack";