santosp-rslib-project 1.0.1 → 1.0.2

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 (82) hide show
  1. package/dist/components/button.d.ts +1 -1
  2. package/dist/components/button.stories.d.ts +2 -2
  3. package/dist/components/flex.d.ts +1 -1
  4. package/dist/components/grid.d.ts +1 -1
  5. package/dist/components/link.d.ts +1 -1
  6. package/dist/components/link.stories.d.ts +1 -1
  7. package/dist/components/text.d.ts +1 -1
  8. package/dist/components/text.stories.d.ts +2 -3
  9. package/dist/index.css +1 -832
  10. package/dist/index.js +1 -1386
  11. package/dist/rslib-runtime.js +1 -18
  12. package/dist/styled-system/css/css.d.ts +22 -0
  13. package/dist/styled-system/css/cva.d.ts +6 -0
  14. package/dist/styled-system/css/cx.d.ts +5 -0
  15. package/dist/styled-system/css/index.d.ts +5 -0
  16. package/dist/styled-system/css/sva.d.ts +4 -0
  17. package/dist/styled-system/jsx/aspect-ratio.d.ts +10 -0
  18. package/dist/styled-system/jsx/bleed.d.ts +10 -0
  19. package/dist/styled-system/jsx/box.d.ts +10 -0
  20. package/dist/styled-system/jsx/center.d.ts +10 -0
  21. package/dist/styled-system/jsx/circle.d.ts +10 -0
  22. package/dist/styled-system/jsx/container.d.ts +10 -0
  23. package/dist/styled-system/jsx/cq.d.ts +10 -0
  24. package/dist/styled-system/jsx/create-style-context.d.ts +54 -0
  25. package/dist/styled-system/jsx/divider.d.ts +10 -0
  26. package/dist/styled-system/jsx/factory.d.ts +3 -0
  27. package/dist/styled-system/jsx/flex.d.ts +10 -0
  28. package/dist/styled-system/jsx/float.d.ts +10 -0
  29. package/dist/styled-system/jsx/grid-item.d.ts +10 -0
  30. package/dist/styled-system/jsx/grid.d.ts +10 -0
  31. package/dist/styled-system/jsx/hstack.d.ts +10 -0
  32. package/dist/styled-system/jsx/index.d.ts +25 -0
  33. package/dist/styled-system/jsx/is-valid-prop.d.ts +11 -0
  34. package/dist/styled-system/jsx/link-overlay.d.ts +10 -0
  35. package/dist/styled-system/jsx/spacer.d.ts +10 -0
  36. package/dist/styled-system/jsx/square.d.ts +10 -0
  37. package/dist/styled-system/jsx/stack.d.ts +10 -0
  38. package/dist/styled-system/jsx/visually-hidden.d.ts +10 -0
  39. package/dist/styled-system/jsx/vstack.d.ts +10 -0
  40. package/dist/styled-system/jsx/wrap.d.ts +10 -0
  41. package/dist/styled-system/patterns/aspect-ratio.d.ts +20 -0
  42. package/dist/styled-system/patterns/bleed.d.ts +21 -0
  43. package/dist/styled-system/patterns/box.d.ts +20 -0
  44. package/dist/styled-system/patterns/center.d.ts +20 -0
  45. package/dist/styled-system/patterns/circle.d.ts +20 -0
  46. package/dist/styled-system/patterns/container.d.ts +20 -0
  47. package/dist/styled-system/patterns/cq.d.ts +21 -0
  48. package/dist/styled-system/patterns/divider.d.ts +22 -0
  49. package/dist/styled-system/patterns/flex.d.ts +26 -0
  50. package/dist/styled-system/patterns/float.d.ts +23 -0
  51. package/dist/styled-system/patterns/grid-item.d.ts +25 -0
  52. package/dist/styled-system/patterns/grid.d.ts +24 -0
  53. package/dist/styled-system/patterns/hstack.d.ts +21 -0
  54. package/dist/styled-system/patterns/index.d.ts +21 -0
  55. package/dist/styled-system/patterns/link-overlay.d.ts +20 -0
  56. package/dist/styled-system/patterns/spacer.d.ts +20 -0
  57. package/dist/styled-system/patterns/square.d.ts +20 -0
  58. package/dist/styled-system/patterns/stack.d.ts +23 -0
  59. package/dist/styled-system/patterns/visually-hidden.d.ts +20 -0
  60. package/dist/styled-system/patterns/vstack.d.ts +21 -0
  61. package/dist/styled-system/patterns/wrap.d.ts +24 -0
  62. package/dist/styled-system/recipes/button-recipe.d.ts +43 -0
  63. package/dist/styled-system/recipes/index.d.ts +4 -0
  64. package/dist/styled-system/recipes/link-recipe.d.ts +35 -0
  65. package/dist/styled-system/recipes/text-recipe.d.ts +43 -0
  66. package/dist/styled-system/tokens/index.d.ts +9 -0
  67. package/dist/styled-system/tokens/tokens.d.ts +42 -0
  68. package/dist/styled-system/types/composition.d.ts +227 -0
  69. package/dist/styled-system/types/conditions.d.ts +310 -0
  70. package/dist/styled-system/types/csstype.d.ts +22570 -0
  71. package/dist/styled-system/types/global.d.ts +20 -0
  72. package/dist/styled-system/types/index.d.ts +8 -0
  73. package/dist/styled-system/types/jsx.d.ts +69 -0
  74. package/dist/styled-system/types/parts.d.ts +8 -0
  75. package/dist/styled-system/types/pattern.d.ts +78 -0
  76. package/dist/styled-system/types/prop-type.d.ts +242 -0
  77. package/dist/styled-system/types/recipe.d.ts +181 -0
  78. package/dist/styled-system/types/selectors.d.ts +59 -0
  79. package/dist/styled-system/types/static-css.d.ts +56 -0
  80. package/dist/styled-system/types/style-props.d.ts +8089 -0
  81. package/dist/styled-system/types/system-types.d.ts +151 -0
  82. package/package.json +3 -2
@@ -1,4 +1,4 @@
1
- import { type ButtonRecipeVariantProps } from '../../styled-system/recipes';
1
+ import { type ButtonRecipeVariantProps } from '../styled-system/recipes';
2
2
  export interface ButtonProps extends Omit<React.ComponentProps<'button'>, 'color'>, ButtonRecipeVariantProps {
3
3
  children?: React.ReactNode;
4
4
  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,5 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
- import { type FlexProperties } from '../../styled-system/patterns';
2
+ import { type FlexProperties } from '../styled-system/patterns';
3
3
  /**
4
4
  * Flex component props.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
- import { type GridProperties, type GridItemProperties } from '../../styled-system/patterns';
2
+ import { type GridProperties, type GridItemProperties } from '../styled-system/patterns';
3
3
  /**
4
4
  * Grid component props.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { type LinkRecipeVariantProps } from '../../styled-system/recipes';
2
+ import { type LinkRecipeVariantProps } from '../styled-system/recipes';
3
3
  /**
4
4
  * Link component props.
5
5
  *
@@ -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,5 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
- import { type TextRecipeVariantProps } from '../../styled-system/recipes';
2
+ import { type TextRecipeVariantProps } from '../styled-system/recipes';
3
3
  /**
4
4
  * Text component props.
5
5
  *
@@ -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
  };