santosp-rslib-project 1.0.7 → 2.0.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 (87) hide show
  1. package/dist/index.d.ts +20844 -4
  2. package/dist/index.js +502 -1
  3. package/dist/index.umd.cjs +1 -0
  4. package/package.json +50 -41
  5. package/dist/components/button.d.ts +0 -9
  6. package/dist/components/button.recipe.d.ts +0 -1
  7. package/dist/components/button.stories.d.ts +0 -54
  8. package/dist/components/date-picker.d.ts +0 -8
  9. package/dist/components/date-picker.recipe.d.ts +0 -1
  10. package/dist/components/flex.d.ts +0 -19
  11. package/dist/components/grid.d.ts +0 -39
  12. package/dist/components/link.d.ts +0 -34
  13. package/dist/components/link.recipe.d.ts +0 -1
  14. package/dist/components/link.stories.d.ts +0 -30
  15. package/dist/components/text.d.ts +0 -25
  16. package/dist/components/text.recipe.d.ts +0 -1
  17. package/dist/components/text.stories.d.ts +0 -46
  18. package/dist/src/styled-system/css/css.d.ts +0 -22
  19. package/dist/src/styled-system/css/cva.d.ts +0 -6
  20. package/dist/src/styled-system/css/cx.d.ts +0 -5
  21. package/dist/src/styled-system/css/index.d.ts +0 -5
  22. package/dist/src/styled-system/css/sva.d.ts +0 -4
  23. package/dist/src/styled-system/jsx/aspect-ratio.d.ts +0 -10
  24. package/dist/src/styled-system/jsx/bleed.d.ts +0 -10
  25. package/dist/src/styled-system/jsx/box.d.ts +0 -10
  26. package/dist/src/styled-system/jsx/center.d.ts +0 -10
  27. package/dist/src/styled-system/jsx/circle.d.ts +0 -10
  28. package/dist/src/styled-system/jsx/container.d.ts +0 -10
  29. package/dist/src/styled-system/jsx/cq.d.ts +0 -10
  30. package/dist/src/styled-system/jsx/create-style-context.d.ts +0 -54
  31. package/dist/src/styled-system/jsx/divider.d.ts +0 -10
  32. package/dist/src/styled-system/jsx/factory.d.ts +0 -3
  33. package/dist/src/styled-system/jsx/flex.d.ts +0 -10
  34. package/dist/src/styled-system/jsx/float.d.ts +0 -10
  35. package/dist/src/styled-system/jsx/grid-item.d.ts +0 -10
  36. package/dist/src/styled-system/jsx/grid.d.ts +0 -10
  37. package/dist/src/styled-system/jsx/hstack.d.ts +0 -10
  38. package/dist/src/styled-system/jsx/index.d.ts +0 -25
  39. package/dist/src/styled-system/jsx/is-valid-prop.d.ts +0 -11
  40. package/dist/src/styled-system/jsx/link-overlay.d.ts +0 -10
  41. package/dist/src/styled-system/jsx/spacer.d.ts +0 -10
  42. package/dist/src/styled-system/jsx/square.d.ts +0 -10
  43. package/dist/src/styled-system/jsx/stack.d.ts +0 -10
  44. package/dist/src/styled-system/jsx/visually-hidden.d.ts +0 -10
  45. package/dist/src/styled-system/jsx/vstack.d.ts +0 -10
  46. package/dist/src/styled-system/jsx/wrap.d.ts +0 -10
  47. package/dist/src/styled-system/patterns/aspect-ratio.d.ts +0 -20
  48. package/dist/src/styled-system/patterns/bleed.d.ts +0 -21
  49. package/dist/src/styled-system/patterns/box.d.ts +0 -20
  50. package/dist/src/styled-system/patterns/center.d.ts +0 -20
  51. package/dist/src/styled-system/patterns/circle.d.ts +0 -20
  52. package/dist/src/styled-system/patterns/container.d.ts +0 -20
  53. package/dist/src/styled-system/patterns/cq.d.ts +0 -21
  54. package/dist/src/styled-system/patterns/divider.d.ts +0 -22
  55. package/dist/src/styled-system/patterns/flex.d.ts +0 -26
  56. package/dist/src/styled-system/patterns/float.d.ts +0 -23
  57. package/dist/src/styled-system/patterns/grid-item.d.ts +0 -25
  58. package/dist/src/styled-system/patterns/grid.d.ts +0 -24
  59. package/dist/src/styled-system/patterns/hstack.d.ts +0 -21
  60. package/dist/src/styled-system/patterns/index.d.ts +0 -21
  61. package/dist/src/styled-system/patterns/link-overlay.d.ts +0 -20
  62. package/dist/src/styled-system/patterns/spacer.d.ts +0 -20
  63. package/dist/src/styled-system/patterns/square.d.ts +0 -20
  64. package/dist/src/styled-system/patterns/stack.d.ts +0 -23
  65. package/dist/src/styled-system/patterns/visually-hidden.d.ts +0 -20
  66. package/dist/src/styled-system/patterns/vstack.d.ts +0 -21
  67. package/dist/src/styled-system/patterns/wrap.d.ts +0 -24
  68. package/dist/src/styled-system/recipes/button-recipe.d.ts +0 -43
  69. package/dist/src/styled-system/recipes/index.d.ts +0 -4
  70. package/dist/src/styled-system/recipes/link-recipe.d.ts +0 -35
  71. package/dist/src/styled-system/recipes/text-recipe.d.ts +0 -43
  72. package/dist/src/styled-system/tokens/index.d.ts +0 -9
  73. package/dist/src/styled-system/tokens/tokens.d.ts +0 -42
  74. package/dist/src/styled-system/types/composition.d.ts +0 -227
  75. package/dist/src/styled-system/types/conditions.d.ts +0 -310
  76. package/dist/src/styled-system/types/csstype.d.ts +0 -22570
  77. package/dist/src/styled-system/types/global.d.ts +0 -20
  78. package/dist/src/styled-system/types/index.d.ts +0 -8
  79. package/dist/src/styled-system/types/jsx.d.ts +0 -69
  80. package/dist/src/styled-system/types/parts.d.ts +0 -8
  81. package/dist/src/styled-system/types/pattern.d.ts +0 -78
  82. package/dist/src/styled-system/types/prop-type.d.ts +0 -242
  83. package/dist/src/styled-system/types/recipe.d.ts +0 -181
  84. package/dist/src/styled-system/types/selectors.d.ts +0 -59
  85. package/dist/src/styled-system/types/static-css.d.ts +0 -56
  86. package/dist/src/styled-system/types/style-props.d.ts +0 -8089
  87. package/dist/src/styled-system/types/system-types.d.ts +0 -151
@@ -1,25 +0,0 @@
1
- /* eslint-disable */
2
- export * from './factory';
3
- export * from './is-valid-prop';
4
- export * from './create-style-context';
5
- export * from './box';
6
- export * from './flex';
7
- export * from './stack';
8
- export * from './vstack';
9
- export * from './hstack';
10
- export * from './spacer';
11
- export * from './square';
12
- export * from './circle';
13
- export * from './center';
14
- export * from './link-overlay';
15
- export * from './aspect-ratio';
16
- export * from './grid';
17
- export * from './grid-item';
18
- export * from './wrap';
19
- export * from './container';
20
- export * from './divider';
21
- export * from './float';
22
- export * from './bleed';
23
- export * from './visually-hidden';
24
- export * from './cq';
25
- export type { HTMLStyledProps, StyledComponent } from '../types/jsx';
@@ -1,11 +0,0 @@
1
- /* eslint-disable */
2
- import type { DistributiveOmit, HTMLPandaProps, JsxStyleProps, Pretty } from '../types';
3
-
4
- declare const isCssProperty: (value: string) => boolean;
5
-
6
- type CssPropKey = keyof JsxStyleProps
7
- type OmittedCssProps<T> = Pretty<DistributiveOmit<T, CssPropKey>>
8
-
9
- declare const splitCssProps: <T>(props: T) => [JsxStyleProps, OmittedCssProps<T>]
10
-
11
- export { isCssProperty, splitCssProps };
@@ -1,10 +0,0 @@
1
- /* eslint-disable */
2
- import type { FunctionComponent } from 'react'
3
- import type { LinkOverlayProperties } from '../patterns/link-overlay';
4
- import type { HTMLStyledProps } from '../types/jsx';
5
- import type { DistributiveOmit } from '../types/system-types';
6
-
7
- export interface LinkOverlayProps extends LinkOverlayProperties, DistributiveOmit<HTMLStyledProps<'a'>, keyof LinkOverlayProperties > {}
8
-
9
-
10
- export declare const LinkOverlay: FunctionComponent<LinkOverlayProps>
@@ -1,10 +0,0 @@
1
- /* eslint-disable */
2
- import type { FunctionComponent } from 'react'
3
- import type { SpacerProperties } from '../patterns/spacer';
4
- import type { HTMLStyledProps } from '../types/jsx';
5
- import type { DistributiveOmit } from '../types/system-types';
6
-
7
- export interface SpacerProps extends SpacerProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof SpacerProperties > {}
8
-
9
-
10
- export declare const Spacer: FunctionComponent<SpacerProps>
@@ -1,10 +0,0 @@
1
- /* eslint-disable */
2
- import type { FunctionComponent } from 'react'
3
- import type { SquareProperties } from '../patterns/square';
4
- import type { HTMLStyledProps } from '../types/jsx';
5
- import type { DistributiveOmit } from '../types/system-types';
6
-
7
- export interface SquareProps extends SquareProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof SquareProperties > {}
8
-
9
-
10
- export declare const Square: FunctionComponent<SquareProps>
@@ -1,10 +0,0 @@
1
- /* eslint-disable */
2
- import type { FunctionComponent } from 'react'
3
- import type { StackProperties } from '../patterns/stack';
4
- import type { HTMLStyledProps } from '../types/jsx';
5
- import type { DistributiveOmit } from '../types/system-types';
6
-
7
- export interface StackProps extends StackProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof StackProperties > {}
8
-
9
-
10
- export declare const Stack: FunctionComponent<StackProps>
@@ -1,10 +0,0 @@
1
- /* eslint-disable */
2
- import type { FunctionComponent } from 'react'
3
- import type { VisuallyHiddenProperties } from '../patterns/visually-hidden';
4
- import type { HTMLStyledProps } from '../types/jsx';
5
- import type { DistributiveOmit } from '../types/system-types';
6
-
7
- export interface VisuallyHiddenProps extends VisuallyHiddenProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof VisuallyHiddenProperties > {}
8
-
9
-
10
- export declare const VisuallyHidden: FunctionComponent<VisuallyHiddenProps>
@@ -1,10 +0,0 @@
1
- /* eslint-disable */
2
- import type { FunctionComponent } from 'react'
3
- import type { VstackProperties } from '../patterns/vstack';
4
- import type { HTMLStyledProps } from '../types/jsx';
5
- import type { DistributiveOmit } from '../types/system-types';
6
-
7
- export interface VstackProps extends VstackProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof VstackProperties > {}
8
-
9
-
10
- export declare const VStack: FunctionComponent<VstackProps>
@@ -1,10 +0,0 @@
1
- /* eslint-disable */
2
- import type { FunctionComponent } from 'react'
3
- import type { WrapProperties } from '../patterns/wrap';
4
- import type { HTMLStyledProps } from '../types/jsx';
5
- import type { DistributiveOmit } from '../types/system-types';
6
-
7
- export interface WrapProps extends WrapProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof WrapProperties > {}
8
-
9
-
10
- export declare const Wrap: FunctionComponent<WrapProps>
@@ -1,20 +0,0 @@
1
- /* eslint-disable */
2
- import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
- import type { Properties } from '../types/csstype';
4
- import type { SystemProperties } from '../types/style-props';
5
- import type { DistributiveOmit } from '../types/system-types';
6
- import type { Tokens } from '../tokens/index';
7
-
8
- export interface AspectRatioProperties {
9
- ratio?: ConditionalValue<number>
10
- }
11
-
12
- interface AspectRatioStyles extends AspectRatioProperties, DistributiveOmit<SystemStyleObject, keyof AspectRatioProperties | 'aspectRatio'> {}
13
-
14
- interface AspectRatioPatternFn {
15
- (styles?: AspectRatioStyles): string
16
- raw: (styles?: AspectRatioStyles) => SystemStyleObject
17
- }
18
-
19
-
20
- export declare const aspectRatio: AspectRatioPatternFn;
@@ -1,21 +0,0 @@
1
- /* eslint-disable */
2
- import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
- import type { Properties } from '../types/csstype';
4
- import type { SystemProperties } from '../types/style-props';
5
- import type { DistributiveOmit } from '../types/system-types';
6
- import type { Tokens } from '../tokens/index';
7
-
8
- export interface BleedProperties {
9
- inline?: SystemProperties["marginInline"]
10
- block?: SystemProperties["marginBlock"]
11
- }
12
-
13
- interface BleedStyles extends BleedProperties, DistributiveOmit<SystemStyleObject, keyof BleedProperties > {}
14
-
15
- interface BleedPatternFn {
16
- (styles?: BleedStyles): string
17
- raw: (styles?: BleedStyles) => SystemStyleObject
18
- }
19
-
20
-
21
- export declare const bleed: BleedPatternFn;
@@ -1,20 +0,0 @@
1
- /* eslint-disable */
2
- import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
- import type { Properties } from '../types/csstype';
4
- import type { SystemProperties } from '../types/style-props';
5
- import type { DistributiveOmit } from '../types/system-types';
6
- import type { Tokens } from '../tokens/index';
7
-
8
- export interface BoxProperties {
9
-
10
- }
11
-
12
- interface BoxStyles extends BoxProperties, DistributiveOmit<SystemStyleObject, keyof BoxProperties > {}
13
-
14
- interface BoxPatternFn {
15
- (styles?: BoxStyles): string
16
- raw: (styles?: BoxStyles) => SystemStyleObject
17
- }
18
-
19
-
20
- export declare const box: BoxPatternFn;
@@ -1,20 +0,0 @@
1
- /* eslint-disable */
2
- import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
- import type { Properties } from '../types/csstype';
4
- import type { SystemProperties } from '../types/style-props';
5
- import type { DistributiveOmit } from '../types/system-types';
6
- import type { Tokens } from '../tokens/index';
7
-
8
- export interface CenterProperties {
9
- inline?: ConditionalValue<boolean>
10
- }
11
-
12
- interface CenterStyles extends CenterProperties, DistributiveOmit<SystemStyleObject, keyof CenterProperties > {}
13
-
14
- interface CenterPatternFn {
15
- (styles?: CenterStyles): string
16
- raw: (styles?: CenterStyles) => SystemStyleObject
17
- }
18
-
19
-
20
- export declare const center: CenterPatternFn;
@@ -1,20 +0,0 @@
1
- /* eslint-disable */
2
- import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
- import type { Properties } from '../types/csstype';
4
- import type { SystemProperties } from '../types/style-props';
5
- import type { DistributiveOmit } from '../types/system-types';
6
- import type { Tokens } from '../tokens/index';
7
-
8
- export interface CircleProperties {
9
- size?: SystemProperties["width"]
10
- }
11
-
12
- interface CircleStyles extends CircleProperties, DistributiveOmit<SystemStyleObject, keyof CircleProperties > {}
13
-
14
- interface CirclePatternFn {
15
- (styles?: CircleStyles): string
16
- raw: (styles?: CircleStyles) => SystemStyleObject
17
- }
18
-
19
-
20
- export declare const circle: CirclePatternFn;
@@ -1,20 +0,0 @@
1
- /* eslint-disable */
2
- import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
- import type { Properties } from '../types/csstype';
4
- import type { SystemProperties } from '../types/style-props';
5
- import type { DistributiveOmit } from '../types/system-types';
6
- import type { Tokens } from '../tokens/index';
7
-
8
- export interface ContainerProperties {
9
-
10
- }
11
-
12
- interface ContainerStyles extends ContainerProperties, DistributiveOmit<SystemStyleObject, keyof ContainerProperties > {}
13
-
14
- interface ContainerPatternFn {
15
- (styles?: ContainerStyles): string
16
- raw: (styles?: ContainerStyles) => SystemStyleObject
17
- }
18
-
19
-
20
- export declare const container: ContainerPatternFn;
@@ -1,21 +0,0 @@
1
- /* eslint-disable */
2
- import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
- import type { Properties } from '../types/csstype';
4
- import type { SystemProperties } from '../types/style-props';
5
- import type { DistributiveOmit } from '../types/system-types';
6
- import type { Tokens } from '../tokens/index';
7
-
8
- export interface CqProperties {
9
- name?: ConditionalValue<Tokens["containerNames"] | Properties["containerName"]>
10
- type?: SystemProperties["containerType"]
11
- }
12
-
13
- interface CqStyles extends CqProperties, DistributiveOmit<SystemStyleObject, keyof CqProperties > {}
14
-
15
- interface CqPatternFn {
16
- (styles?: CqStyles): string
17
- raw: (styles?: CqStyles) => SystemStyleObject
18
- }
19
-
20
-
21
- export declare const cq: CqPatternFn;
@@ -1,22 +0,0 @@
1
- /* eslint-disable */
2
- import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
- import type { Properties } from '../types/csstype';
4
- import type { SystemProperties } from '../types/style-props';
5
- import type { DistributiveOmit } from '../types/system-types';
6
- import type { Tokens } from '../tokens/index';
7
-
8
- export interface DividerProperties {
9
- orientation?: "horizontal" | "vertical"
10
- thickness?: ConditionalValue<Tokens["sizes"] | Properties["borderWidth"]>
11
- color?: ConditionalValue<Tokens["colors"] | Properties["borderColor"]>
12
- }
13
-
14
- interface DividerStyles extends DividerProperties, DistributiveOmit<SystemStyleObject, keyof DividerProperties > {}
15
-
16
- interface DividerPatternFn {
17
- (styles?: DividerStyles): string
18
- raw: (styles?: DividerStyles) => SystemStyleObject
19
- }
20
-
21
-
22
- export declare const divider: DividerPatternFn;
@@ -1,26 +0,0 @@
1
- /* eslint-disable */
2
- import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
- import type { Properties } from '../types/csstype';
4
- import type { SystemProperties } from '../types/style-props';
5
- import type { DistributiveOmit } from '../types/system-types';
6
- import type { Tokens } from '../tokens/index';
7
-
8
- export interface FlexProperties {
9
- align?: SystemProperties["alignItems"]
10
- justify?: SystemProperties["justifyContent"]
11
- direction?: SystemProperties["flexDirection"]
12
- wrap?: SystemProperties["flexWrap"]
13
- basis?: SystemProperties["flexBasis"]
14
- grow?: SystemProperties["flexGrow"]
15
- shrink?: SystemProperties["flexShrink"]
16
- }
17
-
18
- interface FlexStyles extends FlexProperties, DistributiveOmit<SystemStyleObject, keyof FlexProperties > {}
19
-
20
- interface FlexPatternFn {
21
- (styles?: FlexStyles): string
22
- raw: (styles?: FlexStyles) => SystemStyleObject
23
- }
24
-
25
-
26
- export declare const flex: FlexPatternFn;
@@ -1,23 +0,0 @@
1
- /* eslint-disable */
2
- import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
- import type { Properties } from '../types/csstype';
4
- import type { SystemProperties } from '../types/style-props';
5
- import type { DistributiveOmit } from '../types/system-types';
6
- import type { Tokens } from '../tokens/index';
7
-
8
- export interface FloatProperties {
9
- offsetX?: ConditionalValue<Tokens["spacing"] | Properties["left"]>
10
- offsetY?: ConditionalValue<Tokens["spacing"] | Properties["top"]>
11
- offset?: ConditionalValue<Tokens["spacing"] | Properties["top"]>
12
- placement?: "bottom-end" | "bottom-start" | "top-end" | "top-start" | "bottom-center" | "top-center" | "middle-center" | "middle-end" | "middle-start"
13
- }
14
-
15
- interface FloatStyles extends FloatProperties, DistributiveOmit<SystemStyleObject, keyof FloatProperties > {}
16
-
17
- interface FloatPatternFn {
18
- (styles?: FloatStyles): string
19
- raw: (styles?: FloatStyles) => SystemStyleObject
20
- }
21
-
22
-
23
- export declare const float: FloatPatternFn;
@@ -1,25 +0,0 @@
1
- /* eslint-disable */
2
- import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
- import type { Properties } from '../types/csstype';
4
- import type { SystemProperties } from '../types/style-props';
5
- import type { DistributiveOmit } from '../types/system-types';
6
- import type { Tokens } from '../tokens/index';
7
-
8
- export interface GridItemProperties {
9
- colSpan?: ConditionalValue<number>
10
- rowSpan?: ConditionalValue<number>
11
- colStart?: ConditionalValue<number>
12
- rowStart?: ConditionalValue<number>
13
- colEnd?: ConditionalValue<number>
14
- rowEnd?: ConditionalValue<number>
15
- }
16
-
17
- interface GridItemStyles extends GridItemProperties, DistributiveOmit<SystemStyleObject, keyof GridItemProperties > {}
18
-
19
- interface GridItemPatternFn {
20
- (styles?: GridItemStyles): string
21
- raw: (styles?: GridItemStyles) => SystemStyleObject
22
- }
23
-
24
-
25
- export declare const gridItem: GridItemPatternFn;
@@ -1,24 +0,0 @@
1
- /* eslint-disable */
2
- import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
- import type { Properties } from '../types/csstype';
4
- import type { SystemProperties } from '../types/style-props';
5
- import type { DistributiveOmit } from '../types/system-types';
6
- import type { Tokens } from '../tokens/index';
7
-
8
- export interface GridProperties {
9
- gap?: SystemProperties["gap"]
10
- columnGap?: SystemProperties["gap"]
11
- rowGap?: SystemProperties["gap"]
12
- columns?: ConditionalValue<number>
13
- minChildWidth?: ConditionalValue<Tokens["sizes"] | Properties["width"]>
14
- }
15
-
16
- interface GridStyles extends GridProperties, DistributiveOmit<SystemStyleObject, keyof GridProperties > {}
17
-
18
- interface GridPatternFn {
19
- (styles?: GridStyles): string
20
- raw: (styles?: GridStyles) => SystemStyleObject
21
- }
22
-
23
-
24
- export declare const grid: GridPatternFn;
@@ -1,21 +0,0 @@
1
- /* eslint-disable */
2
- import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
- import type { Properties } from '../types/csstype';
4
- import type { SystemProperties } from '../types/style-props';
5
- import type { DistributiveOmit } from '../types/system-types';
6
- import type { Tokens } from '../tokens/index';
7
-
8
- export interface HstackProperties {
9
- justify?: SystemProperties["justifyContent"]
10
- gap?: SystemProperties["gap"]
11
- }
12
-
13
- interface HstackStyles extends HstackProperties, DistributiveOmit<SystemStyleObject, keyof HstackProperties > {}
14
-
15
- interface HstackPatternFn {
16
- (styles?: HstackStyles): string
17
- raw: (styles?: HstackStyles) => SystemStyleObject
18
- }
19
-
20
-
21
- export declare const hstack: HstackPatternFn;
@@ -1,21 +0,0 @@
1
- /* eslint-disable */
2
- export * from './box';
3
- export * from './flex';
4
- export * from './stack';
5
- export * from './vstack';
6
- export * from './hstack';
7
- export * from './spacer';
8
- export * from './square';
9
- export * from './circle';
10
- export * from './center';
11
- export * from './link-overlay';
12
- export * from './aspect-ratio';
13
- export * from './grid';
14
- export * from './grid-item';
15
- export * from './wrap';
16
- export * from './container';
17
- export * from './divider';
18
- export * from './float';
19
- export * from './bleed';
20
- export * from './visually-hidden';
21
- export * from './cq';
@@ -1,20 +0,0 @@
1
- /* eslint-disable */
2
- import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
- import type { Properties } from '../types/csstype';
4
- import type { SystemProperties } from '../types/style-props';
5
- import type { DistributiveOmit } from '../types/system-types';
6
- import type { Tokens } from '../tokens/index';
7
-
8
- export interface LinkOverlayProperties {
9
-
10
- }
11
-
12
- interface LinkOverlayStyles extends LinkOverlayProperties, DistributiveOmit<SystemStyleObject, keyof LinkOverlayProperties > {}
13
-
14
- interface LinkOverlayPatternFn {
15
- (styles?: LinkOverlayStyles): string
16
- raw: (styles?: LinkOverlayStyles) => SystemStyleObject
17
- }
18
-
19
-
20
- export declare const linkOverlay: LinkOverlayPatternFn;
@@ -1,20 +0,0 @@
1
- /* eslint-disable */
2
- import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
- import type { Properties } from '../types/csstype';
4
- import type { SystemProperties } from '../types/style-props';
5
- import type { DistributiveOmit } from '../types/system-types';
6
- import type { Tokens } from '../tokens/index';
7
-
8
- export interface SpacerProperties {
9
- size?: ConditionalValue<Tokens["spacing"]>
10
- }
11
-
12
- interface SpacerStyles extends SpacerProperties, DistributiveOmit<SystemStyleObject, keyof SpacerProperties > {}
13
-
14
- interface SpacerPatternFn {
15
- (styles?: SpacerStyles): string
16
- raw: (styles?: SpacerStyles) => SystemStyleObject
17
- }
18
-
19
-
20
- export declare const spacer: SpacerPatternFn;
@@ -1,20 +0,0 @@
1
- /* eslint-disable */
2
- import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
- import type { Properties } from '../types/csstype';
4
- import type { SystemProperties } from '../types/style-props';
5
- import type { DistributiveOmit } from '../types/system-types';
6
- import type { Tokens } from '../tokens/index';
7
-
8
- export interface SquareProperties {
9
- size?: SystemProperties["width"]
10
- }
11
-
12
- interface SquareStyles extends SquareProperties, DistributiveOmit<SystemStyleObject, keyof SquareProperties > {}
13
-
14
- interface SquarePatternFn {
15
- (styles?: SquareStyles): string
16
- raw: (styles?: SquareStyles) => SystemStyleObject
17
- }
18
-
19
-
20
- export declare const square: SquarePatternFn;
@@ -1,23 +0,0 @@
1
- /* eslint-disable */
2
- import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
- import type { Properties } from '../types/csstype';
4
- import type { SystemProperties } from '../types/style-props';
5
- import type { DistributiveOmit } from '../types/system-types';
6
- import type { Tokens } from '../tokens/index';
7
-
8
- export interface StackProperties {
9
- align?: SystemProperties["alignItems"]
10
- justify?: SystemProperties["justifyContent"]
11
- direction?: SystemProperties["flexDirection"]
12
- gap?: SystemProperties["gap"]
13
- }
14
-
15
- interface StackStyles extends StackProperties, DistributiveOmit<SystemStyleObject, keyof StackProperties > {}
16
-
17
- interface StackPatternFn {
18
- (styles?: StackStyles): string
19
- raw: (styles?: StackStyles) => SystemStyleObject
20
- }
21
-
22
-
23
- export declare const stack: StackPatternFn;
@@ -1,20 +0,0 @@
1
- /* eslint-disable */
2
- import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
- import type { Properties } from '../types/csstype';
4
- import type { SystemProperties } from '../types/style-props';
5
- import type { DistributiveOmit } from '../types/system-types';
6
- import type { Tokens } from '../tokens/index';
7
-
8
- export interface VisuallyHiddenProperties {
9
-
10
- }
11
-
12
- interface VisuallyHiddenStyles extends VisuallyHiddenProperties, DistributiveOmit<SystemStyleObject, keyof VisuallyHiddenProperties > {}
13
-
14
- interface VisuallyHiddenPatternFn {
15
- (styles?: VisuallyHiddenStyles): string
16
- raw: (styles?: VisuallyHiddenStyles) => SystemStyleObject
17
- }
18
-
19
-
20
- export declare const visuallyHidden: VisuallyHiddenPatternFn;
@@ -1,21 +0,0 @@
1
- /* eslint-disable */
2
- import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
- import type { Properties } from '../types/csstype';
4
- import type { SystemProperties } from '../types/style-props';
5
- import type { DistributiveOmit } from '../types/system-types';
6
- import type { Tokens } from '../tokens/index';
7
-
8
- export interface VstackProperties {
9
- justify?: SystemProperties["justifyContent"]
10
- gap?: SystemProperties["gap"]
11
- }
12
-
13
- interface VstackStyles extends VstackProperties, DistributiveOmit<SystemStyleObject, keyof VstackProperties > {}
14
-
15
- interface VstackPatternFn {
16
- (styles?: VstackStyles): string
17
- raw: (styles?: VstackStyles) => SystemStyleObject
18
- }
19
-
20
-
21
- export declare const vstack: VstackPatternFn;
@@ -1,24 +0,0 @@
1
- /* eslint-disable */
2
- import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
- import type { Properties } from '../types/csstype';
4
- import type { SystemProperties } from '../types/style-props';
5
- import type { DistributiveOmit } from '../types/system-types';
6
- import type { Tokens } from '../tokens/index';
7
-
8
- export interface WrapProperties {
9
- gap?: SystemProperties["gap"]
10
- rowGap?: SystemProperties["gap"]
11
- columnGap?: SystemProperties["gap"]
12
- align?: SystemProperties["alignItems"]
13
- justify?: SystemProperties["justifyContent"]
14
- }
15
-
16
- interface WrapStyles extends WrapProperties, DistributiveOmit<SystemStyleObject, keyof WrapProperties > {}
17
-
18
- interface WrapPatternFn {
19
- (styles?: WrapStyles): string
20
- raw: (styles?: WrapStyles) => SystemStyleObject
21
- }
22
-
23
-
24
- export declare const wrap: WrapPatternFn;
@@ -1,43 +0,0 @@
1
- /* eslint-disable */
2
- import type { ConditionalValue } from '../types/index';
3
- import type { DistributiveOmit, Pretty } from '../types/system-types';
4
-
5
- interface ButtonRecipeVariant {
6
- /**
7
- * @default "solid"
8
- */
9
- variant: "solid" | "outline" | "ghost"
10
- /**
11
- * @default "md"
12
- */
13
- size: "sm" | "md"
14
- /**
15
- * @default "primary"
16
- */
17
- color: "primary" | "secondary" | "dark" | "light" | "purple" | "orange" | "red" | "yellow" | "sand" | "petrol" | "olive" | "lead" | "pink" | "neutral" | "green"
18
- icon: boolean
19
- }
20
-
21
- type ButtonRecipeVariantMap = {
22
- [key in keyof ButtonRecipeVariant]: Array<ButtonRecipeVariant[key]>
23
- }
24
-
25
-
26
-
27
- export type ButtonRecipeVariantProps = {
28
- [key in keyof ButtonRecipeVariant]?: ButtonRecipeVariant[key] | undefined
29
- }
30
-
31
- export interface ButtonRecipeRecipe {
32
-
33
- __type: ButtonRecipeVariantProps
34
- (props?: ButtonRecipeVariantProps): string
35
- raw: (props?: ButtonRecipeVariantProps) => ButtonRecipeVariantProps
36
- variantMap: ButtonRecipeVariantMap
37
- variantKeys: Array<keyof ButtonRecipeVariant>
38
- splitVariantProps<Props extends ButtonRecipeVariantProps>(props: Props): [ButtonRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof ButtonRecipeVariantProps>>]
39
- getVariantProps: (props?: ButtonRecipeVariantProps) => ButtonRecipeVariantProps
40
- }
41
-
42
-
43
- export declare const buttonRecipe: ButtonRecipeRecipe
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- export * from './text-recipe';
3
- export * from './link-recipe';
4
- export * from './button-recipe';