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.
- package/dist/components/button.d.ts +1 -1
- package/dist/components/button.stories.d.ts +2 -2
- package/dist/components/flex.d.ts +1 -1
- package/dist/components/grid.d.ts +1 -1
- package/dist/components/link.d.ts +1 -1
- package/dist/components/link.stories.d.ts +1 -1
- package/dist/components/text.d.ts +1 -1
- package/dist/components/text.stories.d.ts +2 -3
- package/dist/index.css +1 -832
- package/dist/index.js +1 -1386
- package/dist/rslib-runtime.js +1 -18
- package/dist/styled-system/css/css.d.ts +22 -0
- package/dist/styled-system/css/cva.d.ts +6 -0
- package/dist/styled-system/css/cx.d.ts +5 -0
- package/dist/styled-system/css/index.d.ts +5 -0
- package/dist/styled-system/css/sva.d.ts +4 -0
- package/dist/styled-system/jsx/aspect-ratio.d.ts +10 -0
- package/dist/styled-system/jsx/bleed.d.ts +10 -0
- package/dist/styled-system/jsx/box.d.ts +10 -0
- package/dist/styled-system/jsx/center.d.ts +10 -0
- package/dist/styled-system/jsx/circle.d.ts +10 -0
- package/dist/styled-system/jsx/container.d.ts +10 -0
- package/dist/styled-system/jsx/cq.d.ts +10 -0
- package/dist/styled-system/jsx/create-style-context.d.ts +54 -0
- package/dist/styled-system/jsx/divider.d.ts +10 -0
- package/dist/styled-system/jsx/factory.d.ts +3 -0
- package/dist/styled-system/jsx/flex.d.ts +10 -0
- package/dist/styled-system/jsx/float.d.ts +10 -0
- package/dist/styled-system/jsx/grid-item.d.ts +10 -0
- package/dist/styled-system/jsx/grid.d.ts +10 -0
- package/dist/styled-system/jsx/hstack.d.ts +10 -0
- package/dist/styled-system/jsx/index.d.ts +25 -0
- package/dist/styled-system/jsx/is-valid-prop.d.ts +11 -0
- package/dist/styled-system/jsx/link-overlay.d.ts +10 -0
- package/dist/styled-system/jsx/spacer.d.ts +10 -0
- package/dist/styled-system/jsx/square.d.ts +10 -0
- package/dist/styled-system/jsx/stack.d.ts +10 -0
- package/dist/styled-system/jsx/visually-hidden.d.ts +10 -0
- package/dist/styled-system/jsx/vstack.d.ts +10 -0
- package/dist/styled-system/jsx/wrap.d.ts +10 -0
- package/dist/styled-system/patterns/aspect-ratio.d.ts +20 -0
- package/dist/styled-system/patterns/bleed.d.ts +21 -0
- package/dist/styled-system/patterns/box.d.ts +20 -0
- package/dist/styled-system/patterns/center.d.ts +20 -0
- package/dist/styled-system/patterns/circle.d.ts +20 -0
- package/dist/styled-system/patterns/container.d.ts +20 -0
- package/dist/styled-system/patterns/cq.d.ts +21 -0
- package/dist/styled-system/patterns/divider.d.ts +22 -0
- package/dist/styled-system/patterns/flex.d.ts +26 -0
- package/dist/styled-system/patterns/float.d.ts +23 -0
- package/dist/styled-system/patterns/grid-item.d.ts +25 -0
- package/dist/styled-system/patterns/grid.d.ts +24 -0
- package/dist/styled-system/patterns/hstack.d.ts +21 -0
- package/dist/styled-system/patterns/index.d.ts +21 -0
- package/dist/styled-system/patterns/link-overlay.d.ts +20 -0
- package/dist/styled-system/patterns/spacer.d.ts +20 -0
- package/dist/styled-system/patterns/square.d.ts +20 -0
- package/dist/styled-system/patterns/stack.d.ts +23 -0
- package/dist/styled-system/patterns/visually-hidden.d.ts +20 -0
- package/dist/styled-system/patterns/vstack.d.ts +21 -0
- package/dist/styled-system/patterns/wrap.d.ts +24 -0
- package/dist/styled-system/recipes/button-recipe.d.ts +43 -0
- package/dist/styled-system/recipes/index.d.ts +4 -0
- package/dist/styled-system/recipes/link-recipe.d.ts +35 -0
- package/dist/styled-system/recipes/text-recipe.d.ts +43 -0
- package/dist/styled-system/tokens/index.d.ts +9 -0
- package/dist/styled-system/tokens/tokens.d.ts +42 -0
- package/dist/styled-system/types/composition.d.ts +227 -0
- package/dist/styled-system/types/conditions.d.ts +310 -0
- package/dist/styled-system/types/csstype.d.ts +22570 -0
- package/dist/styled-system/types/global.d.ts +20 -0
- package/dist/styled-system/types/index.d.ts +8 -0
- package/dist/styled-system/types/jsx.d.ts +69 -0
- package/dist/styled-system/types/parts.d.ts +8 -0
- package/dist/styled-system/types/pattern.d.ts +78 -0
- package/dist/styled-system/types/prop-type.d.ts +242 -0
- package/dist/styled-system/types/recipe.d.ts +181 -0
- package/dist/styled-system/types/selectors.d.ts +59 -0
- package/dist/styled-system/types/static-css.d.ts +56 -0
- package/dist/styled-system/types/style-props.d.ts +8089 -0
- package/dist/styled-system/types/system-types.d.ts +151 -0
- package/package.json +3 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ButtonRecipeVariantProps } from '
|
|
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:
|
|
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:
|
|
43
|
+
options: ("primary" | "secondary" | "dark" | "light" | "purple" | "orange" | "red" | "yellow" | "sand" | "petrol" | "olive" | "lead" | "pink" | "neutral" | "green")[];
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
46
|
};
|
|
@@ -18,7 +18,7 @@ declare const meta: {
|
|
|
18
18
|
control: {
|
|
19
19
|
type: "select";
|
|
20
20
|
};
|
|
21
|
-
options:
|
|
21
|
+
options: ("primary" | "secondary" | "dark" | "light" | "purple" | "orange" | "red" | "yellow" | "sand" | "petrol" | "olive" | "lead" | "pink" | "neutral" | "green")[];
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
};
|
|
@@ -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:
|
|
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:
|
|
37
|
+
options: ("primary" | "secondary" | "dark" | "light" | "purple" | "orange" | "red" | "yellow" | "sand" | "petrol" | "olive" | "lead" | "pink" | "neutral" | "green")[];
|
|
39
38
|
};
|
|
40
39
|
};
|
|
41
40
|
};
|