santosp-rslib-project 1.0.1 → 1.0.3

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 (80) hide show
  1. package/dist/components/button.d.ts +2 -1
  2. package/dist/components/button.stories.d.ts +2 -2
  3. package/dist/components/flex.d.ts +4 -4
  4. package/dist/components/grid.d.ts +6 -6
  5. package/dist/components/link.d.ts +6 -6
  6. package/dist/components/link.stories.d.ts +1 -1
  7. package/dist/components/text.d.ts +4 -4
  8. package/dist/components/text.stories.d.ts +2 -3
  9. package/dist/index.js +19 -5
  10. package/dist/styled-system/css/css.d.ts +22 -0
  11. package/dist/styled-system/css/cva.d.ts +6 -0
  12. package/dist/styled-system/css/cx.d.ts +5 -0
  13. package/dist/styled-system/css/index.d.ts +5 -0
  14. package/dist/styled-system/css/sva.d.ts +4 -0
  15. package/dist/styled-system/jsx/aspect-ratio.d.ts +10 -0
  16. package/dist/styled-system/jsx/bleed.d.ts +10 -0
  17. package/dist/styled-system/jsx/box.d.ts +10 -0
  18. package/dist/styled-system/jsx/center.d.ts +10 -0
  19. package/dist/styled-system/jsx/circle.d.ts +10 -0
  20. package/dist/styled-system/jsx/container.d.ts +10 -0
  21. package/dist/styled-system/jsx/cq.d.ts +10 -0
  22. package/dist/styled-system/jsx/create-style-context.d.ts +54 -0
  23. package/dist/styled-system/jsx/divider.d.ts +10 -0
  24. package/dist/styled-system/jsx/factory.d.ts +3 -0
  25. package/dist/styled-system/jsx/flex.d.ts +10 -0
  26. package/dist/styled-system/jsx/float.d.ts +10 -0
  27. package/dist/styled-system/jsx/grid-item.d.ts +10 -0
  28. package/dist/styled-system/jsx/grid.d.ts +10 -0
  29. package/dist/styled-system/jsx/hstack.d.ts +10 -0
  30. package/dist/styled-system/jsx/index.d.ts +25 -0
  31. package/dist/styled-system/jsx/is-valid-prop.d.ts +11 -0
  32. package/dist/styled-system/jsx/link-overlay.d.ts +10 -0
  33. package/dist/styled-system/jsx/spacer.d.ts +10 -0
  34. package/dist/styled-system/jsx/square.d.ts +10 -0
  35. package/dist/styled-system/jsx/stack.d.ts +10 -0
  36. package/dist/styled-system/jsx/visually-hidden.d.ts +10 -0
  37. package/dist/styled-system/jsx/vstack.d.ts +10 -0
  38. package/dist/styled-system/jsx/wrap.d.ts +10 -0
  39. package/dist/styled-system/patterns/aspect-ratio.d.ts +20 -0
  40. package/dist/styled-system/patterns/bleed.d.ts +21 -0
  41. package/dist/styled-system/patterns/box.d.ts +20 -0
  42. package/dist/styled-system/patterns/center.d.ts +20 -0
  43. package/dist/styled-system/patterns/circle.d.ts +20 -0
  44. package/dist/styled-system/patterns/container.d.ts +20 -0
  45. package/dist/styled-system/patterns/cq.d.ts +21 -0
  46. package/dist/styled-system/patterns/divider.d.ts +22 -0
  47. package/dist/styled-system/patterns/flex.d.ts +26 -0
  48. package/dist/styled-system/patterns/float.d.ts +23 -0
  49. package/dist/styled-system/patterns/grid-item.d.ts +25 -0
  50. package/dist/styled-system/patterns/grid.d.ts +24 -0
  51. package/dist/styled-system/patterns/hstack.d.ts +21 -0
  52. package/dist/styled-system/patterns/index.d.ts +21 -0
  53. package/dist/styled-system/patterns/link-overlay.d.ts +20 -0
  54. package/dist/styled-system/patterns/spacer.d.ts +20 -0
  55. package/dist/styled-system/patterns/square.d.ts +20 -0
  56. package/dist/styled-system/patterns/stack.d.ts +23 -0
  57. package/dist/styled-system/patterns/visually-hidden.d.ts +20 -0
  58. package/dist/styled-system/patterns/vstack.d.ts +21 -0
  59. package/dist/styled-system/patterns/wrap.d.ts +24 -0
  60. package/dist/styled-system/recipes/button-recipe.d.ts +43 -0
  61. package/dist/styled-system/recipes/index.d.ts +4 -0
  62. package/dist/styled-system/recipes/link-recipe.d.ts +35 -0
  63. package/dist/styled-system/recipes/text-recipe.d.ts +43 -0
  64. package/dist/styled-system/tokens/index.d.ts +9 -0
  65. package/dist/styled-system/tokens/tokens.d.ts +42 -0
  66. package/dist/styled-system/types/composition.d.ts +227 -0
  67. package/dist/styled-system/types/conditions.d.ts +310 -0
  68. package/dist/styled-system/types/csstype.d.ts +22570 -0
  69. package/dist/styled-system/types/global.d.ts +20 -0
  70. package/dist/styled-system/types/index.d.ts +8 -0
  71. package/dist/styled-system/types/jsx.d.ts +69 -0
  72. package/dist/styled-system/types/parts.d.ts +8 -0
  73. package/dist/styled-system/types/pattern.d.ts +78 -0
  74. package/dist/styled-system/types/prop-type.d.ts +242 -0
  75. package/dist/styled-system/types/recipe.d.ts +181 -0
  76. package/dist/styled-system/types/selectors.d.ts +59 -0
  77. package/dist/styled-system/types/static-css.d.ts +56 -0
  78. package/dist/styled-system/types/style-props.d.ts +8089 -0
  79. package/dist/styled-system/types/system-types.d.ts +151 -0
  80. package/package.json +8 -8
@@ -1,4 +1,5 @@
1
- import { type ButtonRecipeVariantProps } from '../../styled-system/recipes';
1
+ import React from 'react';
2
+ import { type ButtonRecipeVariantProps } from '../styled-system/recipes';
2
3
  export interface ButtonProps extends Omit<React.ComponentProps<'button'>, 'color'>, ButtonRecipeVariantProps {
3
4
  children?: React.ReactNode;
4
5
  className?: string;
@@ -28,7 +28,7 @@ declare const meta: {
28
28
  control: {
29
29
  type: "select";
30
30
  };
31
- options: string[];
31
+ options: ("solid" | "outline" | "ghost")[];
32
32
  };
33
33
  size: {
34
34
  control: {
@@ -40,7 +40,7 @@ declare const meta: {
40
40
  control: {
41
41
  type: "select";
42
42
  };
43
- options: string[];
43
+ options: ("primary" | "secondary" | "dark" | "light" | "purple" | "orange" | "red" | "yellow" | "sand" | "petrol" | "olive" | "lead" | "pink" | "neutral" | "green")[];
44
44
  };
45
45
  };
46
46
  };
@@ -1,16 +1,16 @@
1
- import type { ReactNode } from 'react';
2
- import { type FlexProperties } from '../../styled-system/patterns';
1
+ import React from 'react';
2
+ import { type FlexProperties } from '../styled-system/patterns';
3
3
  /**
4
4
  * Flex component props.
5
5
  *
6
- * @property {ReactNode} [children] - Text node children.
6
+ * @property {React.ReactNode} [children] - Text node children.
7
7
  * @property {string} [className] - Additional CSS classes.
8
8
  */
9
9
  export interface FlexProps extends FlexProperties {
10
10
  /**
11
11
  * Text node children.
12
12
  */
13
- children?: ReactNode;
13
+ children?: React.ReactNode;
14
14
  /**
15
15
  * Additional CSS classes.
16
16
  */
@@ -1,16 +1,16 @@
1
- import type { ReactNode } from 'react';
2
- import { type GridProperties, type GridItemProperties } from '../../styled-system/patterns';
1
+ import React from 'react';
2
+ import { type GridProperties, type GridItemProperties } from '../styled-system/patterns';
3
3
  /**
4
4
  * Grid component props.
5
5
  *
6
- * @property {ReactNode} [children] - Text node children.
6
+ * @property {React.ReactNode} [children] - Text node children.
7
7
  * @property {string} [className] - Additional CSS classes.
8
8
  */
9
9
  export interface GridProps extends GridProperties {
10
10
  /**
11
11
  * Text node children.
12
12
  */
13
- children?: ReactNode;
13
+ children?: React.ReactNode;
14
14
  /**
15
15
  * Additional CSS classes.
16
16
  */
@@ -19,14 +19,14 @@ export interface GridProps extends GridProperties {
19
19
  /**
20
20
  * Grid item component props.
21
21
  *
22
- * @property {ReactNode} [children] - Text node children.
22
+ * @property {React.ReactNode} [children] - Text node children.
23
23
  * @property {string} [className] - Additional CSS classes.
24
24
  */
25
25
  export interface GridItemProps extends GridItemProperties {
26
26
  /**
27
27
  * Text node children.
28
28
  */
29
- children?: ReactNode;
29
+ children?: React.ReactNode;
30
30
  /**
31
31
  * Additional CSS classes.
32
32
  */
@@ -1,10 +1,10 @@
1
- import { ReactNode } from 'react';
2
- import { type LinkRecipeVariantProps } from '../../styled-system/recipes';
1
+ import React from 'react';
2
+ import { type LinkRecipeVariantProps } from '../styled-system/recipes';
3
3
  /**
4
4
  * Link component props.
5
5
  *
6
6
  * @property {string} [className] - Additional CSS classes.
7
- * @property {ReactNode} [children] - Text node children.
7
+ * @property {React.ReactNode} [children] - Text node children.
8
8
  * @property {string} href - Link href attribute.
9
9
  * @property {ReactNode} [leftIcon] - Left icon element.
10
10
  * @property {ReactNode} [rightIcon] - Right icon element.
@@ -17,7 +17,7 @@ export interface LinkProps extends LinkRecipeVariantProps, Omit<React.ComponentP
17
17
  /**
18
18
  * Text node children.
19
19
  */
20
- children?: ReactNode;
20
+ children?: React.ReactNode;
21
21
  /**
22
22
  * Link href attribute.
23
23
  */
@@ -25,10 +25,10 @@ export interface LinkProps extends LinkRecipeVariantProps, Omit<React.ComponentP
25
25
  /**
26
26
  * Left icon element.
27
27
  */
28
- leftIcon?: ReactNode;
28
+ leftIcon?: React.ReactNode;
29
29
  /**
30
30
  * Right icon element.
31
31
  */
32
- rightIcon?: ReactNode;
32
+ rightIcon?: React.ReactNode;
33
33
  }
34
34
  export declare const Link: (props: LinkProps) => import("react/jsx-runtime").JSX.Element;
@@ -18,7 +18,7 @@ declare const meta: {
18
18
  control: {
19
19
  type: "select";
20
20
  };
21
- options: string[];
21
+ options: ("primary" | "secondary" | "dark" | "light" | "purple" | "orange" | "red" | "yellow" | "sand" | "petrol" | "olive" | "lead" | "pink" | "neutral" | "green")[];
22
22
  };
23
23
  };
24
24
  };
@@ -1,9 +1,9 @@
1
- import type { ReactNode } from 'react';
2
- import { type TextRecipeVariantProps } from '../../styled-system/recipes';
1
+ import React from 'react';
2
+ import { type TextRecipeVariantProps } from '../styled-system/recipes';
3
3
  /**
4
4
  * Text component props.
5
5
  *
6
- * @property {ReactNode} [children] - Text node children.
6
+ * @property {React.ReactNode} [children] - Text node children.
7
7
  * @property {string} [className] - Additional CSS classes.
8
8
  * @property {'h1'|'h2'|'h3'|'h4'|'h5'|'h6'} [tag=h1] - HTML tag name.
9
9
  */
@@ -11,7 +11,7 @@ export interface TextProps extends TextRecipeVariantProps, Omit<React.ComponentP
11
11
  /**
12
12
  * Text node children.
13
13
  */
14
- children?: ReactNode;
14
+ children?: React.ReactNode;
15
15
  /**
16
16
  * Additional CSS classes.
17
17
  */
@@ -1,6 +1,5 @@
1
1
  import type { StoryObj } from '@storybook/react';
2
2
  import { type TextProps } from './text';
3
- import { type FontSizeToken } from '../../styled-system/tokens';
4
3
  declare const meta: {
5
4
  title: string;
6
5
  component: (props: TextProps) => import("react/jsx-runtime").JSX.Element;
@@ -29,13 +28,13 @@ declare const meta: {
29
28
  control: {
30
29
  type: "select";
31
30
  };
32
- options: FontSizeToken[];
31
+ options: ("h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "sm" | "md" | "lg" | "xxs" | "xs")[];
33
32
  };
34
33
  color: {
35
34
  control: {
36
35
  type: "select";
37
36
  };
38
- options: string[];
37
+ options: ("primary" | "secondary" | "dark" | "light" | "purple" | "orange" | "red" | "yellow" | "sand" | "petrol" | "olive" | "lead" | "pink" | "neutral" | "green")[];
39
38
  };
40
39
  };
41
40
  };
package/dist/index.js CHANGED
@@ -1,7 +1,6 @@
1
1
  /*! For license information please see index.js.LICENSE.txt */
2
2
  import * as __rspack_external_react from "react";
3
3
  import { __webpack_require__ } from "./rslib-runtime.js";
4
- import clsx from "clsx";
5
4
  __webpack_require__.add({
6
5
  "./node_modules/react/cjs/react-jsx-runtime.development.js" (__unused_rspack_module, exports, __webpack_require__) {
7
6
  /**
@@ -835,13 +834,28 @@ const buttonRecipe = /* @__PURE__ */ Object.assign(helpers_memo(buttonRecipeFn.r
835
834
  },
836
835
  getVariantProps: buttonRecipeFn.getVariantProps
837
836
  });
837
+ function clsx_r(e) {
838
+ var t, f, n = "";
839
+ if ("string" == typeof e || "number" == typeof e) n += e;
840
+ else if ("object" == typeof e) if (Array.isArray(e)) {
841
+ var o = e.length;
842
+ for(t = 0; t < o; t++)e[t] && (f = clsx_r(e[t])) && (n && (n += " "), n += f);
843
+ } else for(f in e)e[f] && (n && (n += " "), n += f);
844
+ return n;
845
+ }
846
+ function clsx() {
847
+ for(var e, t, f = 0, n = "", o = arguments.length; f < o; f++)(e = arguments[f]) && (t = clsx_r(e)) && (n && (n += " "), n += t);
848
+ return n;
849
+ }
850
+ const dist_clsx = clsx;
838
851
  const jsx_runtime = __webpack_require__("./node_modules/react/jsx-runtime.js");
852
+ __webpack_require__("react");
839
853
  const Button = (props)=>{
840
854
  const { children, type = 'button', className, rightIcon, leftIcon, color, icon, size, variant, ...rest } = props;
841
855
  return /*#__PURE__*/ (0, jsx_runtime.jsxs)("button", {
842
856
  ...rest,
843
857
  type: type,
844
- className: clsx(buttonRecipe({
858
+ className: dist_clsx(buttonRecipe({
845
859
  color,
846
860
  icon,
847
861
  size,
@@ -859,7 +873,7 @@ const Text = (props)=>{
859
873
  const Tag = tag;
860
874
  return /*#__PURE__*/ (0, jsx_runtime.jsx)(Tag, {
861
875
  ...rest,
862
- className: clsx(textRecipe({
876
+ className: dist_clsx(textRecipe({
863
877
  bold,
864
878
  color,
865
879
  size,
@@ -1345,7 +1359,7 @@ cq.raw = getCqStyle;
1345
1359
  const Flex = (props)=>{
1346
1360
  const { children, className, ...variants } = props;
1347
1361
  return /*#__PURE__*/ (0, jsx_runtime.jsx)("div", {
1348
- className: clsx(flex(variants), className),
1362
+ className: dist_clsx(flex(variants), className),
1349
1363
  children: children
1350
1364
  });
1351
1365
  };
@@ -1370,7 +1384,7 @@ const Link = (props)=>{
1370
1384
  onKeyDown: handleKeyDown,
1371
1385
  tabIndex: disabled ? -1 : 1,
1372
1386
  ...rest,
1373
- className: clsx(linkRecipe({
1387
+ className: dist_clsx(linkRecipe({
1374
1388
  color,
1375
1389
  disabled
1376
1390
  }), className),
@@ -0,0 +1,22 @@
1
+ /* eslint-disable */
2
+ import type { SystemStyleObject } from '../types/index';
3
+
4
+ type Styles = SystemStyleObject | undefined | null | false
5
+
6
+ interface CssRawFunction {
7
+ (styles: Styles): SystemStyleObject
8
+ (styles: Styles[]): SystemStyleObject
9
+ (...styles: Array<Styles | Styles[]>): SystemStyleObject
10
+ (styles: Styles): SystemStyleObject
11
+ }
12
+
13
+ interface CssFunction {
14
+ (styles: Styles): string
15
+ (styles: Styles[]): string
16
+ (...styles: Array<Styles | Styles[]>): string
17
+ (styles: Styles): string
18
+
19
+ raw: CssRawFunction
20
+ }
21
+
22
+ export declare const css: CssFunction;
@@ -0,0 +1,6 @@
1
+ /* eslint-disable */
2
+ import type { RecipeCreatorFn } from '../types/recipe';
3
+
4
+ export declare const cva: RecipeCreatorFn
5
+
6
+ export type { RecipeVariant, RecipeVariantProps } from '../types/recipe';
@@ -0,0 +1,5 @@
1
+ /* eslint-disable */
2
+ type Argument = string | boolean | null | undefined
3
+
4
+ /** Conditionally join classNames into a single string */
5
+ export declare function cx(...args: Argument[]): string
@@ -0,0 +1,5 @@
1
+ /* eslint-disable */
2
+ export * from './css';
3
+ export * from './cx';
4
+ export * from './cva';
5
+ export * from './sva';
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ import type { SlotRecipeCreatorFn } from '../types/recipe';
3
+
4
+ export declare const sva: SlotRecipeCreatorFn
@@ -0,0 +1,10 @@
1
+ /* eslint-disable */
2
+ import type { FunctionComponent } from 'react'
3
+ import type { AspectRatioProperties } from '../patterns/aspect-ratio';
4
+ import type { HTMLStyledProps } from '../types/jsx';
5
+ import type { DistributiveOmit } from '../types/system-types';
6
+
7
+ export interface AspectRatioProps extends AspectRatioProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof AspectRatioProperties | 'aspectRatio'> {}
8
+
9
+
10
+ export declare const AspectRatio: FunctionComponent<AspectRatioProps>
@@ -0,0 +1,10 @@
1
+ /* eslint-disable */
2
+ import type { FunctionComponent } from 'react'
3
+ import type { BleedProperties } from '../patterns/bleed';
4
+ import type { HTMLStyledProps } from '../types/jsx';
5
+ import type { DistributiveOmit } from '../types/system-types';
6
+
7
+ export interface BleedProps extends BleedProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof BleedProperties > {}
8
+
9
+
10
+ export declare const Bleed: FunctionComponent<BleedProps>
@@ -0,0 +1,10 @@
1
+ /* eslint-disable */
2
+ import type { FunctionComponent } from 'react'
3
+ import type { BoxProperties } from '../patterns/box';
4
+ import type { HTMLStyledProps } from '../types/jsx';
5
+ import type { DistributiveOmit } from '../types/system-types';
6
+
7
+ export interface BoxProps extends BoxProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof BoxProperties > {}
8
+
9
+
10
+ export declare const Box: FunctionComponent<BoxProps>
@@ -0,0 +1,10 @@
1
+ /* eslint-disable */
2
+ import type { FunctionComponent } from 'react'
3
+ import type { CenterProperties } from '../patterns/center';
4
+ import type { HTMLStyledProps } from '../types/jsx';
5
+ import type { DistributiveOmit } from '../types/system-types';
6
+
7
+ export interface CenterProps extends CenterProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof CenterProperties > {}
8
+
9
+
10
+ export declare const Center: FunctionComponent<CenterProps>
@@ -0,0 +1,10 @@
1
+ /* eslint-disable */
2
+ import type { FunctionComponent } from 'react'
3
+ import type { CircleProperties } from '../patterns/circle';
4
+ import type { HTMLStyledProps } from '../types/jsx';
5
+ import type { DistributiveOmit } from '../types/system-types';
6
+
7
+ export interface CircleProps extends CircleProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof CircleProperties > {}
8
+
9
+
10
+ export declare const Circle: FunctionComponent<CircleProps>
@@ -0,0 +1,10 @@
1
+ /* eslint-disable */
2
+ import type { FunctionComponent } from 'react'
3
+ import type { ContainerProperties } from '../patterns/container';
4
+ import type { HTMLStyledProps } from '../types/jsx';
5
+ import type { DistributiveOmit } from '../types/system-types';
6
+
7
+ export interface ContainerProps extends ContainerProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof ContainerProperties > {}
8
+
9
+
10
+ export declare const Container: FunctionComponent<ContainerProps>
@@ -0,0 +1,10 @@
1
+ /* eslint-disable */
2
+ import type { FunctionComponent } from 'react'
3
+ import type { CqProperties } from '../patterns/cq';
4
+ import type { HTMLStyledProps } from '../types/jsx';
5
+ import type { DistributiveOmit } from '../types/system-types';
6
+
7
+ export interface CqProps extends CqProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof CqProperties > {}
8
+
9
+
10
+ export declare const Cq: FunctionComponent<CqProps>
@@ -0,0 +1,54 @@
1
+ /* eslint-disable */
2
+ import type { SlotRecipeRuntimeFn, RecipeVariantProps } from '../types/recipe';
3
+ import type { JsxHTMLProps, JsxStyleProps, Assign } from '../types/system-types';
4
+ import type { JsxFactoryOptions, ComponentProps, DataAttrs, AsProps } from '../types/jsx';
5
+ import type { ComponentType, ElementType } from 'react'
6
+
7
+ interface UnstyledProps {
8
+ unstyled?: boolean | undefined
9
+ }
10
+
11
+ type SvaFn<S extends string = any> = SlotRecipeRuntimeFn<S, any>
12
+ interface SlotRecipeFn {
13
+ __type: any
14
+ __slot: string
15
+ (props?: any): any
16
+ }
17
+ type SlotRecipe = SvaFn | SlotRecipeFn
18
+
19
+ type InferSlot<R extends SlotRecipe> = R extends SlotRecipeFn ? R['__slot'] : R extends SvaFn<infer S> ? S : never
20
+
21
+ interface WithProviderOptions<P = {}> {
22
+ defaultProps?: (Partial<P> & DataAttrs) | undefined
23
+ }
24
+
25
+ type StyleContextProvider<T extends ElementType, R extends SlotRecipe> = ComponentType<
26
+ JsxHTMLProps<ComponentProps<T> & UnstyledProps & AsProps, Assign<RecipeVariantProps<R>, JsxStyleProps>>
27
+ >
28
+
29
+ type StyleContextRootProvider<T extends ElementType, R extends SlotRecipe> = ComponentType<
30
+ ComponentProps<T> & UnstyledProps & RecipeVariantProps<R>
31
+ >
32
+
33
+ type StyleContextConsumer<T extends ElementType> = ComponentType<
34
+ JsxHTMLProps<ComponentProps<T> & UnstyledProps & AsProps, JsxStyleProps>
35
+ >
36
+
37
+ export interface StyleContext<R extends SlotRecipe> {
38
+ withRootProvider: <T extends ElementType>(
39
+ Component: T,
40
+ options?: WithProviderOptions<ComponentProps<T>> | undefined
41
+ ) => StyleContextRootProvider<T, R>
42
+ withProvider: <T extends ElementType>(
43
+ Component: T,
44
+ slot: InferSlot<R>,
45
+ options?: JsxFactoryOptions<ComponentProps<T>> | undefined
46
+ ) => StyleContextProvider<T, R>
47
+ withContext: <T extends ElementType>(
48
+ Component: T,
49
+ slot: InferSlot<R>,
50
+ options?: JsxFactoryOptions<ComponentProps<T>> | undefined
51
+ ) => StyleContextConsumer<T>
52
+ }
53
+
54
+ export declare function createStyleContext<R extends SlotRecipe>(recipe: R): StyleContext<R>
@@ -0,0 +1,10 @@
1
+ /* eslint-disable */
2
+ import type { FunctionComponent } from 'react'
3
+ import type { DividerProperties } from '../patterns/divider';
4
+ import type { HTMLStyledProps } from '../types/jsx';
5
+ import type { DistributiveOmit } from '../types/system-types';
6
+
7
+ export interface DividerProps extends DividerProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof DividerProperties > {}
8
+
9
+
10
+ export declare const Divider: FunctionComponent<DividerProps>
@@ -0,0 +1,3 @@
1
+ /* eslint-disable */
2
+ import type { Styled } from '../types/jsx';
3
+ export declare const styled: Styled
@@ -0,0 +1,10 @@
1
+ /* eslint-disable */
2
+ import type { FunctionComponent } from 'react'
3
+ import type { FlexProperties } from '../patterns/flex';
4
+ import type { HTMLStyledProps } from '../types/jsx';
5
+ import type { DistributiveOmit } from '../types/system-types';
6
+
7
+ export interface FlexProps extends FlexProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof FlexProperties > {}
8
+
9
+
10
+ export declare const Flex: FunctionComponent<FlexProps>
@@ -0,0 +1,10 @@
1
+ /* eslint-disable */
2
+ import type { FunctionComponent } from 'react'
3
+ import type { FloatProperties } from '../patterns/float';
4
+ import type { HTMLStyledProps } from '../types/jsx';
5
+ import type { DistributiveOmit } from '../types/system-types';
6
+
7
+ export interface FloatProps extends FloatProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof FloatProperties > {}
8
+
9
+
10
+ export declare const Float: FunctionComponent<FloatProps>
@@ -0,0 +1,10 @@
1
+ /* eslint-disable */
2
+ import type { FunctionComponent } from 'react'
3
+ import type { GridItemProperties } from '../patterns/grid-item';
4
+ import type { HTMLStyledProps } from '../types/jsx';
5
+ import type { DistributiveOmit } from '../types/system-types';
6
+
7
+ export interface GridItemProps extends GridItemProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof GridItemProperties > {}
8
+
9
+
10
+ export declare const GridItem: FunctionComponent<GridItemProps>
@@ -0,0 +1,10 @@
1
+ /* eslint-disable */
2
+ import type { FunctionComponent } from 'react'
3
+ import type { GridProperties } from '../patterns/grid';
4
+ import type { HTMLStyledProps } from '../types/jsx';
5
+ import type { DistributiveOmit } from '../types/system-types';
6
+
7
+ export interface GridProps extends GridProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof GridProperties > {}
8
+
9
+
10
+ export declare const Grid: FunctionComponent<GridProps>
@@ -0,0 +1,10 @@
1
+ /* eslint-disable */
2
+ import type { FunctionComponent } from 'react'
3
+ import type { HstackProperties } from '../patterns/hstack';
4
+ import type { HTMLStyledProps } from '../types/jsx';
5
+ import type { DistributiveOmit } from '../types/system-types';
6
+
7
+ export interface HstackProps extends HstackProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof HstackProperties > {}
8
+
9
+
10
+ export declare const HStack: FunctionComponent<HstackProps>
@@ -0,0 +1,25 @@
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';
@@ -0,0 +1,11 @@
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 };
@@ -0,0 +1,10 @@
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>
@@ -0,0 +1,10 @@
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>
@@ -0,0 +1,10 @@
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>
@@ -0,0 +1,10 @@
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>
@@ -0,0 +1,10 @@
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>
@@ -0,0 +1,10 @@
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>
@@ -0,0 +1,10 @@
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>