@stokelp/ui 1.0.1 → 1.1.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.
- package/dist/components/form/FormLabel.d.ts +2 -1
- package/dist/components/textarea/Textarea.d.ts +8 -9
- package/dist/style.css +1 -1
- package/dist/theme/recipes/index.d.ts +1 -1
- package/dist/theme/recipes/textarea.d.ts +2 -2
- package/dist/ui.cjs +39 -39
- package/dist/ui.cjs.map +1 -1
- package/dist/ui.js +3031 -2981
- package/dist/ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { FormLabelVariantProps } from '@stokelp/styled-system/recipes';
|
|
2
2
|
import { StyledComponent } from '@stokelp/styled-system/jsx';
|
|
3
3
|
import type { ComponentProps, FC, ReactNode } from 'react';
|
|
4
|
-
|
|
4
|
+
declare const StyledFormLabel: StyledComponent<"label", FormLabelVariantProps>;
|
|
5
5
|
export interface FormLabelProps extends ComponentProps<typeof StyledFormLabel> {
|
|
6
6
|
addon?: ReactNode;
|
|
7
7
|
}
|
|
8
8
|
export declare const FormLabel: FC<FormLabelProps>;
|
|
9
|
+
export {};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}>, TextareaVariantProps>;
|
|
9
|
-
export interface TextareaProps extends ComponentProps<typeof Textarea> {
|
|
1
|
+
import type { FC } from 'react';
|
|
2
|
+
import { HTMLStyledProps } from '@stokelp/styled-system/types';
|
|
3
|
+
export interface TextareaProps extends Omit<HTMLStyledProps<'textarea'>, 'children'> {
|
|
4
|
+
label?: string;
|
|
5
|
+
labelAddon?: string;
|
|
6
|
+
isInvalid?: boolean;
|
|
7
|
+
isRequired?: boolean;
|
|
10
8
|
}
|
|
9
|
+
export declare const Textarea: FC<TextareaProps>;
|