@sanity-labs/ui-poc 0.0.1-alpha.4 → 0.0.1-alpha.6
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/__tmp__/src/components/box/Box.d.ts +14 -0
- package/dist/__tmp__/src/components/box/Box.d.ts.map +1 -0
- package/dist/__tmp__/src/components/box/box.props.d.ts +3 -0
- package/dist/__tmp__/src/components/box/box.props.d.ts.map +1 -0
- package/dist/__tmp__/src/components/card/Card.d.ts +5 -0
- package/dist/__tmp__/src/components/card/Card.d.ts.map +1 -0
- package/dist/__tmp__/src/components/card/card.props.d.ts +19 -0
- package/dist/__tmp__/src/components/card/card.props.d.ts.map +1 -0
- package/dist/__tmp__/src/components/divider/Divider.d.ts +3 -0
- package/dist/__tmp__/src/components/divider/Divider.d.ts.map +1 -0
- package/dist/__tmp__/src/components/flex/Flex.d.ts +16 -0
- package/dist/__tmp__/src/components/flex/Flex.d.ts.map +1 -0
- package/dist/__tmp__/src/components/flex/flex.props.d.ts +3 -0
- package/dist/__tmp__/src/components/flex/flex.props.d.ts.map +1 -0
- package/dist/__tmp__/src/components/grid/Grid.d.ts +16 -0
- package/dist/__tmp__/src/components/grid/Grid.d.ts.map +1 -0
- package/dist/__tmp__/src/components/grid/grid.props.d.ts +3 -0
- package/dist/__tmp__/src/components/grid/grid.props.d.ts.map +1 -0
- package/dist/__tmp__/src/components/heading/Heading.d.ts +5 -0
- package/dist/__tmp__/src/components/heading/Heading.d.ts.map +1 -0
- package/dist/__tmp__/src/components/heading/heading.props.d.ts +12 -0
- package/dist/__tmp__/src/components/heading/heading.props.d.ts.map +1 -0
- package/dist/__tmp__/src/components/text/Text.d.ts +13 -0
- package/dist/__tmp__/src/components/text/Text.d.ts.map +1 -0
- package/dist/__tmp__/src/components/text/text.props.d.ts +3 -0
- package/dist/__tmp__/src/components/text/text.props.d.ts.map +1 -0
- package/dist/__tmp__/src/index.d.ts +8 -0
- package/dist/__tmp__/src/index.d.ts.map +1 -0
- package/dist/__tmp__/src/props/border.d.ts +19 -0
- package/dist/__tmp__/src/props/border.d.ts.map +1 -0
- package/dist/__tmp__/src/props/flexChild.d.ts +12 -0
- package/dist/__tmp__/src/props/flexChild.d.ts.map +1 -0
- package/dist/__tmp__/src/props/flexParent.d.ts +15 -0
- package/dist/__tmp__/src/props/flexParent.d.ts.map +1 -0
- package/dist/__tmp__/src/props/gap.d.ts +13 -0
- package/dist/__tmp__/src/props/gap.d.ts.map +1 -0
- package/dist/__tmp__/src/props/gridChild.d.ts +18 -0
- package/dist/__tmp__/src/props/gridChild.d.ts.map +1 -0
- package/dist/__tmp__/src/props/gridParent.d.ts +17 -0
- package/dist/__tmp__/src/props/gridParent.d.ts.map +1 -0
- package/dist/__tmp__/src/props/height.d.ts +12 -0
- package/dist/__tmp__/src/props/height.d.ts.map +1 -0
- package/dist/__tmp__/src/props/layout.d.ts +15 -0
- package/dist/__tmp__/src/props/layout.d.ts.map +1 -0
- package/dist/__tmp__/src/props/margin.d.ts +21 -0
- package/dist/__tmp__/src/props/margin.d.ts.map +1 -0
- package/dist/__tmp__/src/props/overflow.d.ts +13 -0
- package/dist/__tmp__/src/props/overflow.d.ts.map +1 -0
- package/dist/__tmp__/src/props/padding.d.ts +21 -0
- package/dist/__tmp__/src/props/padding.d.ts.map +1 -0
- package/dist/__tmp__/src/props/position.d.ts +22 -0
- package/dist/__tmp__/src/props/position.d.ts.map +1 -0
- package/dist/__tmp__/src/props/tone.d.ts +9 -0
- package/dist/__tmp__/src/props/tone.d.ts.map +1 -0
- package/dist/__tmp__/src/props/typography.d.ts +18 -0
- package/dist/__tmp__/src/props/typography.d.ts.map +1 -0
- package/dist/__tmp__/src/props/width.d.ts +12 -0
- package/dist/__tmp__/src/props/width.d.ts.map +1 -0
- package/dist/__tmp__/src/types/Density.d.ts +3 -0
- package/dist/__tmp__/src/types/Density.d.ts.map +1 -0
- package/dist/__tmp__/src/types/Display.d.ts +7 -0
- package/dist/__tmp__/src/types/Display.d.ts.map +1 -0
- package/dist/__tmp__/src/types/Flex.d.ts +9 -0
- package/dist/__tmp__/src/types/Flex.d.ts.map +1 -0
- package/dist/__tmp__/src/types/FontWeight.d.ts +3 -0
- package/dist/__tmp__/src/types/FontWeight.d.ts.map +1 -0
- package/dist/__tmp__/src/types/Grid.d.ts +3 -0
- package/dist/__tmp__/src/types/Grid.d.ts.map +1 -0
- package/dist/__tmp__/src/types/Heading.d.ts +5 -0
- package/dist/__tmp__/src/types/Heading.d.ts.map +1 -0
- package/dist/__tmp__/src/types/Overflow.d.ts +3 -0
- package/dist/__tmp__/src/types/Overflow.d.ts.map +1 -0
- package/dist/__tmp__/src/types/Position.d.ts +3 -0
- package/dist/__tmp__/src/types/Position.d.ts.map +1 -0
- package/dist/__tmp__/src/types/PropDef.d.ts +32 -0
- package/dist/__tmp__/src/types/PropDef.d.ts.map +1 -0
- package/dist/__tmp__/src/types/Radius.d.ts +3 -0
- package/dist/__tmp__/src/types/Radius.d.ts.map +1 -0
- package/dist/__tmp__/src/types/Responsive.d.ts +16 -0
- package/dist/__tmp__/src/types/Responsive.d.ts.map +1 -0
- package/dist/__tmp__/src/types/Space.d.ts +5 -0
- package/dist/__tmp__/src/types/Space.d.ts.map +1 -0
- package/dist/__tmp__/src/types/Text.d.ts +3 -0
- package/dist/__tmp__/src/types/Text.d.ts.map +1 -0
- package/dist/__tmp__/src/types/TextAlign.d.ts +3 -0
- package/dist/__tmp__/src/types/TextAlign.d.ts.map +1 -0
- package/dist/__tmp__/src/types/Tone.d.ts +5 -0
- package/dist/__tmp__/src/types/Tone.d.ts.map +1 -0
- package/dist/__tmp__/src/utils/getProps.d.ts +9 -0
- package/dist/__tmp__/src/utils/getProps.d.ts.map +1 -0
- package/dist/components.css +54 -2
- package/dist/index.d.ts +11 -10
- package/dist/index.js +13 -10
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1544 -114
- package/dist/utilities.css +777 -119
- package/package.json +1 -1
- package/src/components/card/Card.tsx +6 -1
- package/src/components/card/card.css +52 -2
- package/src/components/card/card.props.ts +5 -0
- package/src/css/index.css +3 -0
- package/src/css/tokens/tone.css +14 -0
- package/src/css/utilities/generic/index.css +0 -1
- package/src/props/tone.ts +8 -3
- package/src/styles.css +1755 -115
- package/src/types/Tone.ts +4 -9
- package/src/css/utilities/generic/tone.css +0 -34
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type LayoutProps } from '../../props/layout';
|
|
3
|
+
import { type DisplayBlock } from '../../types/Display';
|
|
4
|
+
import { type Responsive } from '../../types/Responsive';
|
|
5
|
+
/** @public */
|
|
6
|
+
export interface BoxProps<T extends React.ElementType> extends LayoutProps {
|
|
7
|
+
/** Element to render */
|
|
8
|
+
as?: T;
|
|
9
|
+
/** CSS **display** property */
|
|
10
|
+
display?: Responsive<DisplayBlock>;
|
|
11
|
+
}
|
|
12
|
+
/** @public */
|
|
13
|
+
export declare function Box<T extends React.ElementType = 'div'>({ display, ...props }: BoxProps<T> & Omit<React.ComponentPropsWithRef<T>, keyof BoxProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=Box.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../../../src/components/box/Box.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAC,KAAK,WAAW,EAAC,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAC,KAAK,YAAY,EAAC,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAC,KAAK,UAAU,EAAC,MAAM,wBAAwB,CAAA;AAItD,cAAc;AACd,MAAM,WAAW,QAAQ,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAE,SAAQ,WAAW;IACxE,wBAAwB;IACxB,EAAE,CAAC,EAAE,CAAC,CAAA;IACN,+BAA+B;IAC/B,OAAO,CAAC,EAAE,UAAU,CAAC,YAAY,CAAC,CAAA;CACnC;AAED,cAAc;AACd,wBAAgB,GAAG,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,EAAE,EACvD,OAAiB,EACjB,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,MAAM,QAAQ,CAAC,CAAC,CAAC,CAAC,2CASvE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"box.props.d.ts","sourceRoot":"","sources":["../../../../../src/components/box/box.props.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,KAAK,OAAO,EAAC,MAAM,qBAAqB,CAAA;AAEhD,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAU5C,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type CardProps } from './card.props';
|
|
3
|
+
/** @public */
|
|
4
|
+
export declare function Card<T extends React.ElementType = 'div'>({ density, tone, toneLevel, ...props }: CardProps<T> & Omit<React.ComponentPropsWithRef<T>, keyof CardProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../src/components/card/Card.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAC,KAAK,SAAS,EAAY,MAAM,cAAc,CAAA;AAEtD,cAAc;AACd,wBAAgB,IAAI,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,EAAE,EACxD,OAAmB,EACnB,IAAgB,EAChB,SAAoB,EACpB,GAAG,KAAK,EACT,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,MAAM,SAAS,CAAC,CAAC,CAAC,CAAC,2CAYzE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type MarginProps } from '../../props/margin';
|
|
2
|
+
import { type Density } from '../../types/Density';
|
|
3
|
+
import { type DisplayBlock } from '../../types/Display';
|
|
4
|
+
import { type PropDef } from '../../types/PropDef';
|
|
5
|
+
import { type Responsive } from '../../types/Responsive';
|
|
6
|
+
import type { Tone, ToneLevel } from '../../types/Tone';
|
|
7
|
+
/** @public */
|
|
8
|
+
export interface CardProps<T extends React.ElementType> extends MarginProps {
|
|
9
|
+
/** Element to render */
|
|
10
|
+
as?: T;
|
|
11
|
+
/** CSS **display** property */
|
|
12
|
+
display?: Responsive<DisplayBlock>;
|
|
13
|
+
/** Composite prop for setting padding and border radius */
|
|
14
|
+
density?: Responsive<Density>;
|
|
15
|
+
tone?: Tone;
|
|
16
|
+
toneLevel?: ToneLevel;
|
|
17
|
+
}
|
|
18
|
+
export declare const cardProps: Record<string, PropDef>;
|
|
19
|
+
//# sourceMappingURL=card.props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.props.d.ts","sourceRoot":"","sources":["../../../../../src/components/card/card.props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,WAAW,EAAc,MAAM,oBAAoB,CAAA;AAEhE,OAAO,EAAC,KAAK,OAAO,EAAC,MAAM,qBAAqB,CAAA;AAChD,OAAO,EAAgB,KAAK,YAAY,EAAC,MAAM,qBAAqB,CAAA;AACpE,OAAO,EAAC,KAAK,OAAO,EAAC,MAAM,qBAAqB,CAAA;AAChD,OAAO,EAAC,KAAK,UAAU,EAAC,MAAM,wBAAwB,CAAA;AACtD,OAAO,KAAK,EAAC,IAAI,EAAE,SAAS,EAAC,MAAM,kBAAkB,CAAA;AAErD,cAAc;AACd,MAAM,WAAW,SAAS,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAE,SAAQ,WAAW;IACzE,wBAAwB;IACxB,EAAE,CAAC,EAAE,CAAC,CAAA;IACN,+BAA+B;IAC/B,OAAO,CAAC,EAAE,UAAU,CAAC,YAAY,CAAC,CAAA;IAClC,2DAA2D;IAC3D,OAAO,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IAC7B,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,SAAS,CAAC,EAAE,SAAS,CAAA;CACtB;AAED,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAmB7C,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../../../src/components/divider/Divider.tsx"],"names":[],"mappings":"AAEA,cAAc;AACd,wBAAgB,OAAO,4CAOtB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { FlexParentProps } from '../../props/flexParent';
|
|
3
|
+
import type { GapProps } from '../../props/gap';
|
|
4
|
+
import { type LayoutProps } from '../../props/layout';
|
|
5
|
+
import { type DisplayFlex } from '../../types/Display';
|
|
6
|
+
import { type Responsive } from '../../types/Responsive';
|
|
7
|
+
/** @public */
|
|
8
|
+
export interface FlexProps<T extends React.ElementType> extends FlexParentProps, GapProps, LayoutProps {
|
|
9
|
+
/** Element to render */
|
|
10
|
+
as?: T;
|
|
11
|
+
/** CSS **display** property */
|
|
12
|
+
display?: Responsive<DisplayFlex>;
|
|
13
|
+
}
|
|
14
|
+
/** @public */
|
|
15
|
+
export declare function Flex<T extends React.ElementType = 'div'>({ display, ...props }: FlexProps<T> & Omit<React.ComponentPropsWithRef<T>, keyof FlexProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
//# sourceMappingURL=Flex.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../../../src/components/flex/Flex.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,wBAAwB,CAAA;AAC3D,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAA;AAC7C,OAAO,EAAC,KAAK,WAAW,EAAC,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAC,KAAK,WAAW,EAAC,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAC,KAAK,UAAU,EAAC,MAAM,wBAAwB,CAAA;AAItD,cAAc;AACd,MAAM,WAAW,SAAS,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CACpD,SAAQ,eAAe,EAAE,QAAQ,EAAE,WAAW;IAC9C,wBAAwB;IACxB,EAAE,CAAC,EAAE,CAAC,CAAA;IACN,+BAA+B;IAC/B,OAAO,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;CAClC;AAED,cAAc;AACd,wBAAgB,IAAI,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,EAAE,EACxD,OAAgB,EAChB,GAAG,KAAK,EACT,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,MAAM,SAAS,CAAC,CAAC,CAAC,CAAC,2CASzE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flex.props.d.ts","sourceRoot":"","sources":["../../../../../src/components/flex/flex.props.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,KAAK,OAAO,EAAC,MAAM,qBAAqB,CAAA;AAEhD,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAY7C,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type GapProps } from '../../props/gap';
|
|
3
|
+
import { type GridParentProps } from '../../props/gridParent';
|
|
4
|
+
import { type LayoutProps } from '../../props/layout';
|
|
5
|
+
import { type DisplayGrid } from '../../types/Display';
|
|
6
|
+
import { type Responsive } from '../../types/Responsive';
|
|
7
|
+
/** @public */
|
|
8
|
+
export interface GridProps<T extends React.ElementType> extends GridParentProps, GapProps, LayoutProps {
|
|
9
|
+
/** Element to render */
|
|
10
|
+
as?: T;
|
|
11
|
+
/** CSS **display** property */
|
|
12
|
+
display?: Responsive<DisplayGrid>;
|
|
13
|
+
}
|
|
14
|
+
/** @public */
|
|
15
|
+
export declare function Grid<T extends React.ElementType = 'div'>({ display, ...props }: GridProps<T> & Omit<React.ComponentPropsWithRef<T>, keyof GridProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
//# sourceMappingURL=Grid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../../../src/components/grid/Grid.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAC,KAAK,QAAQ,EAAC,MAAM,iBAAiB,CAAA;AAC7C,OAAO,EAAC,KAAK,eAAe,EAAC,MAAM,wBAAwB,CAAA;AAC3D,OAAO,EAAC,KAAK,WAAW,EAAC,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAC,KAAK,WAAW,EAAC,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAC,KAAK,UAAU,EAAC,MAAM,wBAAwB,CAAA;AAItD,cAAc;AACd,MAAM,WAAW,SAAS,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CACpD,SAAQ,eAAe,EAAE,QAAQ,EAAE,WAAW;IAC9C,wBAAwB;IACxB,EAAE,CAAC,EAAE,CAAC,CAAA;IACN,+BAA+B;IAC/B,OAAO,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;CAClC;AAED,cAAc;AACd,wBAAgB,IAAI,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,EAAE,EACxD,OAAgB,EAChB,GAAG,KAAK,EACT,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,MAAM,SAAS,CAAC,CAAC,CAAC,CAAC,2CASzE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid.props.d.ts","sourceRoot":"","sources":["../../../../../src/components/grid/grid.props.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,KAAK,OAAO,EAAC,MAAM,qBAAqB,CAAA;AAEhD,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAY7C,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type HeadingProps } from './heading.props';
|
|
3
|
+
/** @public */
|
|
4
|
+
export declare function Heading<T extends React.ElementType = 'h1'>({ size, weight, ...props }: HeadingProps & Omit<React.ComponentPropsWithRef<T>, keyof HeadingProps>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
//# sourceMappingURL=Heading.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../../../src/components/heading/Heading.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAC,KAAK,YAAY,EAAe,MAAM,iBAAiB,CAAA;AAE/D,cAAc;AACd,wBAAgB,OAAO,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,IAAI,EAAE,EAC1D,IAAQ,EACR,MAAe,EACf,GAAG,KAAK,EACT,EAAE,YAAY,GAAG,IAAI,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,MAAM,YAAY,CAAC,2CA2BzE"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type TypographyProps } from '../../props/typography';
|
|
2
|
+
import { type HeadingSize, type HeadingTag } from '../../types/Heading';
|
|
3
|
+
import { type PropDef } from '../../types/PropDef';
|
|
4
|
+
/** @public */
|
|
5
|
+
export interface HeadingProps extends TypographyProps {
|
|
6
|
+
/** Element to render */
|
|
7
|
+
as?: HeadingTag;
|
|
8
|
+
/** CSS **font-size** property */
|
|
9
|
+
size?: HeadingSize;
|
|
10
|
+
}
|
|
11
|
+
export declare const headingProps: Record<string, PropDef>;
|
|
12
|
+
//# sourceMappingURL=heading.props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heading.props.d.ts","sourceRoot":"","sources":["../../../../../src/components/heading/heading.props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,eAAe,EAAkB,MAAM,wBAAwB,CAAA;AAC5E,OAAO,EAA4B,KAAK,WAAW,EAAE,KAAK,UAAU,EAAC,MAAM,qBAAqB,CAAA;AAChG,OAAO,EAAC,KAAK,OAAO,EAAC,MAAM,qBAAqB,CAAA;AAEhD,cAAc;AACd,MAAM,WAAW,YAAa,SAAQ,eAAe;IACnD,wBAAwB;IACxB,EAAE,CAAC,EAAE,UAAU,CAAA;IACf,iCAAiC;IACjC,IAAI,CAAC,EAAE,WAAW,CAAA;CACnB;AAED,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAWhD,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { TypographyProps } from '../../props/typography';
|
|
3
|
+
import type { TextSize } from '../../types/Text';
|
|
4
|
+
/** @public */
|
|
5
|
+
export interface TextProps<T extends React.ElementType> extends TypographyProps {
|
|
6
|
+
/** Element to render */
|
|
7
|
+
as?: T;
|
|
8
|
+
/** CSS **font-size** property */
|
|
9
|
+
size?: TextSize;
|
|
10
|
+
}
|
|
11
|
+
/** @public */
|
|
12
|
+
export declare function Text<T extends React.ElementType = 'p'>({ size, ...props }: TextProps<T> & Omit<React.ComponentPropsWithRef<T>, keyof TextProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../src/components/text/Text.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,wBAAwB,CAAA;AAC3D,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAA;AAI9C,cAAc;AACd,MAAM,WAAW,SAAS,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAE,SAAQ,eAAe;IAC7E,wBAAwB;IACxB,EAAE,CAAC,EAAE,CAAC,CAAA;IACN,iCAAiC;IACjC,IAAI,CAAC,EAAE,QAAQ,CAAA;CAChB;AAED,cAAc;AACd,wBAAgB,IAAI,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,GAAG,EAAE,EACtD,IAAQ,EACR,GAAG,KAAK,EACT,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,MAAM,SAAS,CAAC,CAAC,CAAC,CAAC,2CAsBzE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text.props.d.ts","sourceRoot":"","sources":["../../../../../src/components/text/text.props.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,KAAK,OAAO,EAAC,MAAM,qBAAqB,CAAA;AAGhD,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAU7C,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './components/box/Box';
|
|
2
|
+
export * from './components/card/Card';
|
|
3
|
+
export * from './components/divider/Divider';
|
|
4
|
+
export * from './components/flex/Flex';
|
|
5
|
+
export * from './components/grid/Grid';
|
|
6
|
+
export * from './components/heading/Heading';
|
|
7
|
+
export * from './components/text/Text';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,wBAAwB,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type PropDef } from '../types/PropDef';
|
|
2
|
+
import { type Radius } from '../types/Radius';
|
|
3
|
+
import { type Responsive } from '../types/Responsive';
|
|
4
|
+
export type BorderProps = {
|
|
5
|
+
/** CSS **border** property */
|
|
6
|
+
border?: Responsive<boolean>;
|
|
7
|
+
/** CSS **border-top** property */
|
|
8
|
+
borderTop?: Responsive<boolean>;
|
|
9
|
+
/** CSS **border-right** property */
|
|
10
|
+
borderRight?: Responsive<boolean>;
|
|
11
|
+
/** CSS **border-bottom** property */
|
|
12
|
+
borderBottom?: Responsive<boolean>;
|
|
13
|
+
/** CSS **border-left** property */
|
|
14
|
+
borderLeft?: Responsive<boolean>;
|
|
15
|
+
/** CSS **border-radius** property */
|
|
16
|
+
radius?: Responsive<Radius>;
|
|
17
|
+
};
|
|
18
|
+
export declare const borderProps: Record<string, PropDef>;
|
|
19
|
+
//# sourceMappingURL=border.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"border.d.ts","sourceRoot":"","sources":["../../../../src/props/border.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,OAAO,EAAC,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAS,KAAK,MAAM,EAAC,MAAM,iBAAiB,CAAA;AACnD,OAAO,EAAC,KAAK,UAAU,EAAC,MAAM,qBAAqB,CAAA;AAEnD,MAAM,MAAM,WAAW,GAAG;IACxB,8BAA8B;IAC9B,MAAM,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IAC5B,kCAAkC;IAClC,SAAS,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IAC/B,oCAAoC;IACpC,WAAW,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IACjC,qCAAqC;IACrC,YAAY,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IAClC,mCAAmC;IACnC,UAAU,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IAChC,qCAAqC;IACrC,MAAM,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;CAC5B,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CA+B/C,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type PropDef } from '../types/PropDef';
|
|
2
|
+
import { type Responsive } from '../types/Responsive';
|
|
3
|
+
export type FlexChildProps = {
|
|
4
|
+
/** CSS **flex-basis** property */
|
|
5
|
+
flexBasis?: Responsive<string>;
|
|
6
|
+
/** CSS **flex-grow** property */
|
|
7
|
+
flexGrow?: Responsive<number>;
|
|
8
|
+
/** CSS **flex-shrink** property */
|
|
9
|
+
flexShrink?: Responsive<number>;
|
|
10
|
+
};
|
|
11
|
+
export declare const flexChildProps: Record<string, PropDef>;
|
|
12
|
+
//# sourceMappingURL=flexChild.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flexChild.d.ts","sourceRoot":"","sources":["../../../../src/props/flexChild.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,OAAO,EAAC,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAC,KAAK,UAAU,EAAC,MAAM,qBAAqB,CAAA;AAEnD,MAAM,MAAM,cAAc,GAAG;IAC3B,kCAAkC;IAClC,SAAS,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAC9B,iCAAiC;IACjC,QAAQ,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAC7B,mCAAmC;IACnC,UAAU,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;CAChC,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAgBlD,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type AlignItems, type FlexDirection, type FlexWrap, type JustifyContent } from '../types/Flex';
|
|
2
|
+
import { type PropDef } from '../types/PropDef';
|
|
3
|
+
import { type Responsive } from '../types/Responsive';
|
|
4
|
+
export type FlexParentProps = {
|
|
5
|
+
/** CSS **align-items** property */
|
|
6
|
+
alignItems?: Responsive<AlignItems>;
|
|
7
|
+
/** CSS **justify-content** property */
|
|
8
|
+
justifyContent?: Responsive<JustifyContent>;
|
|
9
|
+
/** CSS **flex-direction** property */
|
|
10
|
+
flexDirection?: Responsive<FlexDirection>;
|
|
11
|
+
/** CSS **flex-wrap** property */
|
|
12
|
+
flexWrap?: Responsive<FlexWrap>;
|
|
13
|
+
};
|
|
14
|
+
export declare const flexParentProps: Record<string, PropDef>;
|
|
15
|
+
//# sourceMappingURL=flexParent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flexParent.d.ts","sourceRoot":"","sources":["../../../../src/props/flexParent.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,UAAU,EAGf,KAAK,aAAa,EAClB,KAAK,QAAQ,EAEb,KAAK,cAAc,EACpB,MAAM,eAAe,CAAA;AACtB,OAAO,EAAC,KAAK,OAAO,EAAC,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAC,KAAK,UAAU,EAAC,MAAM,qBAAqB,CAAA;AAEnD,MAAM,MAAM,eAAe,GAAG;IAC5B,mCAAmC;IACnC,UAAU,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAA;IACnC,uCAAuC;IACvC,cAAc,CAAC,EAAE,UAAU,CAAC,cAAc,CAAC,CAAA;IAC3C,sCAAsC;IACtC,aAAa,CAAC,EAAE,UAAU,CAAC,aAAa,CAAC,CAAA;IACzC,iCAAiC;IACjC,QAAQ,CAAC,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAA;CAChC,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAqBnD,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type PropDef } from '../types/PropDef';
|
|
2
|
+
import { type Responsive } from '../types/Responsive';
|
|
3
|
+
import { type Space } from '../types/Space';
|
|
4
|
+
export type GapProps = {
|
|
5
|
+
/** CSS **gap** property */
|
|
6
|
+
gap?: Responsive<Space>;
|
|
7
|
+
/** CSS **row-gap** property */
|
|
8
|
+
rowGap?: Responsive<Space>;
|
|
9
|
+
/** CSS **column-gap** property */
|
|
10
|
+
columnGap?: Responsive<Space>;
|
|
11
|
+
};
|
|
12
|
+
export declare const gapProps: Record<string, PropDef>;
|
|
13
|
+
//# sourceMappingURL=gap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gap.d.ts","sourceRoot":"","sources":["../../../../src/props/gap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,OAAO,EAAC,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAC,KAAK,UAAU,EAAC,MAAM,qBAAqB,CAAA;AACnD,OAAO,EAAQ,KAAK,KAAK,EAAC,MAAM,gBAAgB,CAAA;AAEhD,MAAM,MAAM,QAAQ,GAAG;IACrB,2BAA2B;IAC3B,GAAG,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAA;IACvB,+BAA+B;IAC/B,MAAM,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAA;IAC1B,kCAAkC;IAClC,SAAS,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAA;CAC9B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAgB5C,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type PropDef } from '../types/PropDef';
|
|
2
|
+
import { type Responsive } from '../types/Responsive';
|
|
3
|
+
export type GridChildProps = {
|
|
4
|
+
/** CSS **grid-column** property */
|
|
5
|
+
gridColumn?: Responsive<string>;
|
|
6
|
+
/** CSS **grid-column-start** property */
|
|
7
|
+
gridColumnStart?: Responsive<string>;
|
|
8
|
+
/** CSS **grid-column-end** property */
|
|
9
|
+
gridColumnEnd?: Responsive<string>;
|
|
10
|
+
/** CSS **grid-row** property */
|
|
11
|
+
gridRow?: Responsive<string>;
|
|
12
|
+
/** CSS **grid-row-start** property */
|
|
13
|
+
gridRowStart?: Responsive<string>;
|
|
14
|
+
/** CSS **grid-row-end** property */
|
|
15
|
+
gridRowEnd?: Responsive<string>;
|
|
16
|
+
};
|
|
17
|
+
export declare const gridChildProps: Record<string, PropDef>;
|
|
18
|
+
//# sourceMappingURL=gridChild.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gridChild.d.ts","sourceRoot":"","sources":["../../../../src/props/gridChild.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,OAAO,EAAC,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAC,KAAK,UAAU,EAAC,MAAM,qBAAqB,CAAA;AAEnD,MAAM,MAAM,cAAc,GAAG;IAC3B,mCAAmC;IACnC,UAAU,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAC/B,yCAAyC;IACzC,eAAe,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IACpC,uCAAuC;IACvC,aAAa,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAClC,gCAAgC;IAChC,OAAO,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAC5B,sCAAsC;IACtC,YAAY,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IACjC,oCAAoC;IACpC,UAAU,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;CAChC,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CA+BlD,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type GridAutoFlow } from '../types/Grid';
|
|
2
|
+
import { type PropDef } from '../types/PropDef';
|
|
3
|
+
import { type Responsive } from '../types/Responsive';
|
|
4
|
+
export type GridParentProps = {
|
|
5
|
+
/** CSS **grid-auto-flow** property */
|
|
6
|
+
gridAutoFlow?: Responsive<GridAutoFlow>;
|
|
7
|
+
/** CSS **grid-auto-columns** property */
|
|
8
|
+
gridAutoColumns?: Responsive<string>;
|
|
9
|
+
/** CSS **grid-auto-row** property */
|
|
10
|
+
gridAutoRows?: Responsive<string>;
|
|
11
|
+
/** CSS **grid-template-columns** property */
|
|
12
|
+
gridTemplateColumns?: Responsive<string>;
|
|
13
|
+
/** CSS **grid-template-rows** property */
|
|
14
|
+
gridTemplateRows?: Responsive<string>;
|
|
15
|
+
};
|
|
16
|
+
export declare const gridParentProps: Record<string, PropDef>;
|
|
17
|
+
//# sourceMappingURL=gridParent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gridParent.d.ts","sourceRoot":"","sources":["../../../../src/props/gridParent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,YAAY,EAAC,MAAM,eAAe,CAAA;AAC/D,OAAO,EAAC,KAAK,OAAO,EAAC,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAC,KAAK,UAAU,EAAC,MAAM,qBAAqB,CAAA;AAEnD,MAAM,MAAM,eAAe,GAAG;IAC5B,sCAAsC;IACtC,YAAY,CAAC,EAAE,UAAU,CAAC,YAAY,CAAC,CAAA;IACvC,yCAAyC;IACzC,eAAe,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IACpC,qCAAqC;IACrC,YAAY,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IACjC,6CAA6C;IAC7C,mBAAmB,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IACxC,0CAA0C;IAC1C,gBAAgB,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;CACtC,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CA0BnD,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type PropDef } from '../types/PropDef';
|
|
2
|
+
import { type Responsive } from '../types/Responsive';
|
|
3
|
+
export type HeightProps = {
|
|
4
|
+
/** CSS **height** property */
|
|
5
|
+
height?: Responsive<string>;
|
|
6
|
+
/** CSS **min-height** property */
|
|
7
|
+
minHeight?: Responsive<string>;
|
|
8
|
+
/** CSS **max-height** property */
|
|
9
|
+
maxHeight?: Responsive<string>;
|
|
10
|
+
};
|
|
11
|
+
export declare const heightProps: Record<string, PropDef>;
|
|
12
|
+
//# sourceMappingURL=height.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"height.d.ts","sourceRoot":"","sources":["../../../../src/props/height.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,OAAO,EAAC,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAC,KAAK,UAAU,EAAC,MAAM,qBAAqB,CAAA;AAEnD,MAAM,MAAM,WAAW,GAAG;IACxB,8BAA8B;IAC9B,MAAM,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAC3B,kCAAkC;IAClC,SAAS,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAC9B,kCAAkC;IAClC,SAAS,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;CAC/B,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAgB/C,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type PropDef } from '../types/PropDef';
|
|
2
|
+
import { type BorderProps } from './border';
|
|
3
|
+
import { type FlexChildProps } from './flexChild';
|
|
4
|
+
import { type GridChildProps } from './gridChild';
|
|
5
|
+
import { type HeightProps } from './height';
|
|
6
|
+
import { type MarginProps } from './margin';
|
|
7
|
+
import { type OverflowProps } from './overflow';
|
|
8
|
+
import { type PaddingProps } from './padding';
|
|
9
|
+
import { type PositionProps } from './position';
|
|
10
|
+
import { type ToneProps } from './tone';
|
|
11
|
+
import { type WidthProps } from './width';
|
|
12
|
+
export interface LayoutProps extends ToneProps, WidthProps, HeightProps, MarginProps, BorderProps, PaddingProps, PositionProps, OverflowProps, FlexChildProps, GridChildProps {
|
|
13
|
+
}
|
|
14
|
+
export declare const layoutProps: Record<string, PropDef>;
|
|
15
|
+
//# sourceMappingURL=layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/props/layout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,OAAO,EAAC,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAC,KAAK,WAAW,EAAc,MAAM,UAAU,CAAA;AACtD,OAAO,EAAC,KAAK,cAAc,EAAiB,MAAM,aAAa,CAAA;AAC/D,OAAO,EAAC,KAAK,cAAc,EAAiB,MAAM,aAAa,CAAA;AAC/D,OAAO,EAAC,KAAK,WAAW,EAAc,MAAM,UAAU,CAAA;AACtD,OAAO,EAAC,KAAK,WAAW,EAAc,MAAM,UAAU,CAAA;AACtD,OAAO,EAAC,KAAK,aAAa,EAAgB,MAAM,YAAY,CAAA;AAC5D,OAAO,EAAC,KAAK,YAAY,EAAe,MAAM,WAAW,CAAA;AACzD,OAAO,EAAC,KAAK,aAAa,EAAgB,MAAM,YAAY,CAAA;AAC5D,OAAO,EAAC,KAAK,SAAS,EAAY,MAAM,QAAQ,CAAA;AAChD,OAAO,EAAC,KAAK,UAAU,EAAa,MAAM,SAAS,CAAA;AAEnD,MAAM,WAAW,WACf,SACE,SAAS,EACT,UAAU,EACV,WAAW,EACX,WAAW,EACX,WAAW,EACX,YAAY,EACZ,aAAa,EACb,aAAa,EACb,cAAc,EACd,cAAc;CAAG;AAErB,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAW/C,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type PropDef } from '../types/PropDef';
|
|
2
|
+
import { type Responsive } from '../types/Responsive';
|
|
3
|
+
import { type SpaceAuto } from '../types/Space';
|
|
4
|
+
export type MarginProps = {
|
|
5
|
+
/** CSS **margin** property */
|
|
6
|
+
margin?: Responsive<SpaceAuto>;
|
|
7
|
+
/** CSS **margin-left** and **margin-right** properties */
|
|
8
|
+
marginX?: Responsive<SpaceAuto>;
|
|
9
|
+
/** CSS **margin-top** and **margin-bottom** properties */
|
|
10
|
+
marginY?: Responsive<SpaceAuto>;
|
|
11
|
+
/** CSS **margin-top** property */
|
|
12
|
+
marginTop?: Responsive<SpaceAuto>;
|
|
13
|
+
/** CSS **margin-right** property */
|
|
14
|
+
marginRight?: Responsive<SpaceAuto>;
|
|
15
|
+
/** CSS **margin-bottom** property */
|
|
16
|
+
marginBottom?: Responsive<SpaceAuto>;
|
|
17
|
+
/** CSS **margin-left** property */
|
|
18
|
+
marginLeft?: Responsive<SpaceAuto>;
|
|
19
|
+
};
|
|
20
|
+
export declare const marginProps: Record<string, PropDef>;
|
|
21
|
+
//# sourceMappingURL=margin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"margin.d.ts","sourceRoot":"","sources":["../../../../src/props/margin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,OAAO,EAAC,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAC,KAAK,UAAU,EAAC,MAAM,qBAAqB,CAAA;AACnD,OAAO,EAAa,KAAK,SAAS,EAAC,MAAM,gBAAgB,CAAA;AAEzD,MAAM,MAAM,WAAW,GAAG;IACxB,8BAA8B;IAC9B,MAAM,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAA;IAC9B,0DAA0D;IAC1D,OAAO,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAA;IAC/B,0DAA0D;IAC1D,OAAO,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAA;IAC/B,kCAAkC;IAClC,SAAS,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAA;IACjC,oCAAoC;IACpC,WAAW,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAA;IACnC,qCAAqC;IACrC,YAAY,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAA;IACpC,mCAAmC;IACnC,UAAU,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAA;CACnC,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAoC/C,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type Overflow } from '../types/Overflow';
|
|
2
|
+
import { type PropDef } from '../types/PropDef';
|
|
3
|
+
import { type Responsive } from '../types/Responsive';
|
|
4
|
+
export type OverflowProps = {
|
|
5
|
+
/** CSS **overflow** property */
|
|
6
|
+
overflow?: Responsive<Overflow>;
|
|
7
|
+
/** CSS **overflow-x** property */
|
|
8
|
+
overflowX?: Responsive<Overflow>;
|
|
9
|
+
/** CSS **overflow-y** property */
|
|
10
|
+
overflowY?: Responsive<Overflow>;
|
|
11
|
+
};
|
|
12
|
+
export declare const overflowProps: Record<string, PropDef>;
|
|
13
|
+
//# sourceMappingURL=overflow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overflow.d.ts","sourceRoot":"","sources":["../../../../src/props/overflow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,QAAQ,EAAC,MAAM,mBAAmB,CAAA;AACzD,OAAO,EAAC,KAAK,OAAO,EAAC,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAC,KAAK,UAAU,EAAC,MAAM,qBAAqB,CAAA;AAEnD,MAAM,MAAM,aAAa,GAAG;IAC1B,gCAAgC;IAChC,QAAQ,CAAC,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAA;IAC/B,kCAAkC;IAClC,SAAS,CAAC,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAA;IAChC,kCAAkC;IAClC,SAAS,CAAC,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAA;CACjC,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAgBjD,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type PropDef } from '../types/PropDef';
|
|
2
|
+
import { type Responsive } from '../types/Responsive';
|
|
3
|
+
import { type Space } from '../types/Space';
|
|
4
|
+
export interface PaddingProps {
|
|
5
|
+
/** CSS **padding** property */
|
|
6
|
+
padding?: Responsive<Space>;
|
|
7
|
+
/** CSS **padding-left** and **padding-right** properties */
|
|
8
|
+
paddingX?: Responsive<Space>;
|
|
9
|
+
/** CSS **padding-top** and **padding-bottom** properties */
|
|
10
|
+
paddingY?: Responsive<Space>;
|
|
11
|
+
/** CSS **padding-top** property */
|
|
12
|
+
paddingTop?: Responsive<Space>;
|
|
13
|
+
/** CSS **padding-right** property */
|
|
14
|
+
paddingRight?: Responsive<Space>;
|
|
15
|
+
/** CSS **padding-bottom** property */
|
|
16
|
+
paddingBottom?: Responsive<Space>;
|
|
17
|
+
/** CSS **padding-left** property */
|
|
18
|
+
paddingLeft?: Responsive<Space>;
|
|
19
|
+
}
|
|
20
|
+
export declare const paddingProps: Record<string, PropDef>;
|
|
21
|
+
//# sourceMappingURL=padding.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"padding.d.ts","sourceRoot":"","sources":["../../../../src/props/padding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,OAAO,EAAC,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAC,KAAK,UAAU,EAAC,MAAM,qBAAqB,CAAA;AACnD,OAAO,EAAQ,KAAK,KAAK,EAAC,MAAM,gBAAgB,CAAA;AAEhD,MAAM,WAAW,YAAY;IAC3B,+BAA+B;IAC/B,OAAO,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAA;IAC3B,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAA;IAC5B,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAA;IAC5B,mCAAmC;IACnC,UAAU,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAA;IAC9B,qCAAqC;IACrC,YAAY,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAA;IAChC,sCAAsC;IACtC,aAAa,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAA;IACjC,oCAAoC;IACpC,WAAW,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAA;CAChC;AAED,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAoChD,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type Position } from '../types/Position';
|
|
2
|
+
import { type PropDef } from '../types/PropDef';
|
|
3
|
+
import { type Responsive } from '../types/Responsive';
|
|
4
|
+
import { type SpaceAuto } from '../types/Space';
|
|
5
|
+
export type PositionProps = {
|
|
6
|
+
/** CSS **position** property */
|
|
7
|
+
position?: Responsive<Position>;
|
|
8
|
+
/** CSS **inset** property */
|
|
9
|
+
inset?: Responsive<SpaceAuto>;
|
|
10
|
+
/** CSS **top** property */
|
|
11
|
+
top?: Responsive<SpaceAuto>;
|
|
12
|
+
/** CSS **right** property */
|
|
13
|
+
right?: Responsive<SpaceAuto>;
|
|
14
|
+
/** CSS **bottom** property */
|
|
15
|
+
bottom?: Responsive<SpaceAuto>;
|
|
16
|
+
/** CSS **left** property */
|
|
17
|
+
left?: Responsive<SpaceAuto>;
|
|
18
|
+
/** CSS **z-index** property */
|
|
19
|
+
zIndex?: Responsive<number>;
|
|
20
|
+
};
|
|
21
|
+
export declare const positionProps: Record<string, PropDef>;
|
|
22
|
+
//# sourceMappingURL=position.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"position.d.ts","sourceRoot":"","sources":["../../../../src/props/position.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,QAAQ,EAAC,MAAM,mBAAmB,CAAA;AACzD,OAAO,EAAC,KAAK,OAAO,EAAC,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAC,KAAK,UAAU,EAAC,MAAM,qBAAqB,CAAA;AACnD,OAAO,EAAa,KAAK,SAAS,EAAC,MAAM,gBAAgB,CAAA;AAEzD,MAAM,MAAM,aAAa,GAAG;IAC1B,gCAAgC;IAChC,QAAQ,CAAC,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAA;IAC/B,6BAA6B;IAC7B,KAAK,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAA;IAC7B,2BAA2B;IAC3B,GAAG,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAA;IAC3B,6BAA6B;IAC7B,KAAK,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAA;IAC7B,8BAA8B;IAC9B,MAAM,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAA;IAC9B,4BAA4B;IAC5B,IAAI,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAA;IAC5B,+BAA+B;IAC/B,MAAM,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;CAC5B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAoCjD,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type PropDef } from '../types/PropDef';
|
|
2
|
+
import { type Tone, type ToneLevel } from '../types/Tone';
|
|
3
|
+
export type ToneProps = {
|
|
4
|
+
/** CSS **background-color** property */
|
|
5
|
+
tone?: Tone;
|
|
6
|
+
toneLevel?: ToneLevel;
|
|
7
|
+
};
|
|
8
|
+
export declare const toneProps: Record<string, PropDef>;
|
|
9
|
+
//# sourceMappingURL=tone.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tone.d.ts","sourceRoot":"","sources":["../../../../src/props/tone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,OAAO,EAAC,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAO,KAAK,IAAI,EAAc,KAAK,SAAS,EAAC,MAAM,eAAe,CAAA;AAEzE,MAAM,MAAM,SAAS,GAAG;IACtB,wCAAwC;IACxC,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,SAAS,CAAC,EAAE,SAAS,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAW7C,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type FontWeight } from '../types/FontWeight';
|
|
2
|
+
import { type PropDef } from '../types/PropDef';
|
|
3
|
+
import { type TextAlign } from '../types/TextAlign';
|
|
4
|
+
import { type MarginProps } from './margin';
|
|
5
|
+
export interface TypographyProps extends MarginProps {
|
|
6
|
+
/** CSS **text-align** property */
|
|
7
|
+
align?: TextAlign;
|
|
8
|
+
/** CSS **-webkit-line-clamp** property */
|
|
9
|
+
lineClamp?: number;
|
|
10
|
+
/** CSS **color** property */
|
|
11
|
+
muted?: boolean;
|
|
12
|
+
/** CSS **text-box-trim** property */
|
|
13
|
+
trim?: boolean;
|
|
14
|
+
/** CSS **font-weight** property */
|
|
15
|
+
weight?: FontWeight;
|
|
16
|
+
}
|
|
17
|
+
export declare const typographyProps: Record<string, PropDef>;
|
|
18
|
+
//# sourceMappingURL=typography.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../../src/props/typography.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,UAAU,EAAC,MAAM,qBAAqB,CAAA;AAChE,OAAO,EAAC,KAAK,OAAO,EAAC,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAa,KAAK,SAAS,EAAC,MAAM,oBAAoB,CAAA;AAC7D,OAAO,EAAC,KAAK,WAAW,EAAc,MAAM,UAAU,CAAA;AAEtD,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAClD,kCAAkC;IAClC,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,qCAAqC;IACrC,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,mCAAmC;IACnC,MAAM,CAAC,EAAE,UAAU,CAAA;CACpB;AAED,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CA2BnD,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type PropDef } from '../types/PropDef';
|
|
2
|
+
import { type Responsive } from '../types/Responsive';
|
|
3
|
+
export type WidthProps = {
|
|
4
|
+
/** CSS **width** property */
|
|
5
|
+
width?: Responsive<string>;
|
|
6
|
+
/** CSS **min-width** property */
|
|
7
|
+
minWidth?: Responsive<string>;
|
|
8
|
+
/** CSS **max-width** property */
|
|
9
|
+
maxWidth?: Responsive<string>;
|
|
10
|
+
};
|
|
11
|
+
export declare const widthProps: Record<string, PropDef>;
|
|
12
|
+
//# sourceMappingURL=width.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"width.d.ts","sourceRoot":"","sources":["../../../../src/props/width.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,OAAO,EAAC,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAC,KAAK,UAAU,EAAC,MAAM,qBAAqB,CAAA;AAEnD,MAAM,MAAM,UAAU,GAAG;IACvB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAC1B,iCAAiC;IACjC,QAAQ,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAC7B,iCAAiC;IACjC,QAAQ,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;CAC9B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAgB9C,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Density.d.ts","sourceRoot":"","sources":["../../../../src/types/Density.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,0CAA2C,CAAA;AAC/D,MAAM,MAAM,OAAO,GAAG,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,CAAC,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const DISPLAY_BLOCK: readonly ["block", "inline-block", "none"];
|
|
2
|
+
export type DisplayBlock = (typeof DISPLAY_BLOCK)[number];
|
|
3
|
+
export declare const DISPLAY_FLEX: readonly ["flex", "inline-flex", "none"];
|
|
4
|
+
export type DisplayFlex = (typeof DISPLAY_FLEX)[number];
|
|
5
|
+
export declare const DISPLAY_GRID: readonly ["grid", "inline-grid", "none"];
|
|
6
|
+
export type DisplayGrid = (typeof DISPLAY_GRID)[number];
|
|
7
|
+
//# sourceMappingURL=Display.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Display.d.ts","sourceRoot":"","sources":["../../../../src/types/Display.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,4CAA6C,CAAA;AACvE,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAA;AAEzD,eAAO,MAAM,YAAY,0CAA2C,CAAA;AACpE,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAA;AAEvD,eAAO,MAAM,YAAY,0CAA2C,CAAA;AACpE,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const ALIGN_ITEMS: readonly ["baseline", "center", "flex-end", "flex-start", "stretch"];
|
|
2
|
+
export type AlignItems = (typeof ALIGN_ITEMS)[number];
|
|
3
|
+
export declare const JUSTIFY_CONTENT: readonly ["flex-start", "flex-end", "center", "space-between", "space-around", "space-evenly"];
|
|
4
|
+
export type JustifyContent = (typeof JUSTIFY_CONTENT)[number];
|
|
5
|
+
export declare const FLEX_DIRECTION: readonly ["row", "row-reverse", "column", "column-reverse"];
|
|
6
|
+
export type FlexDirection = (typeof FLEX_DIRECTION)[number];
|
|
7
|
+
export declare const FLEX_WRAP: readonly ["wrap", "wrap-reverse", "nowrap"];
|
|
8
|
+
export type FlexWrap = (typeof FLEX_WRAP)[number];
|
|
9
|
+
//# sourceMappingURL=Flex.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../../src/types/Flex.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,sEAAuE,CAAA;AAC/F,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAA;AAErD,eAAO,MAAM,eAAe,gGAOlB,CAAA;AACV,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAA;AAE7D,eAAO,MAAM,cAAc,6DAA8D,CAAA;AACzF,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAA;AAE3D,eAAO,MAAM,SAAS,6CAA8C,CAAA;AACpE,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FontWeight.d.ts","sourceRoot":"","sources":["../../../../src/types/FontWeight.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,oDAAqD,CAAA;AAC7E,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../../src/types/Grid.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,kEAAmE,CAAA;AAC9F,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAA"}
|