@stokelp/ui 2.94.0 → 2.95.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/input/HighlightedInput.d.ts +22 -0
- package/dist/components/input/index.d.ts +1 -0
- package/dist/theme/recipes/highlightedInput.d.ts +2 -0
- package/dist/theme/recipes/index.d.ts +1 -0
- package/dist/ui.cjs +9 -9
- package/dist/ui.cjs.map +1 -1
- package/dist/ui.css +1 -1
- package/dist/ui.js +2043 -1994
- package/dist/ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ComponentProps, FC } from 'react';
|
|
2
|
+
import { ComponentVariants } from '../../utils/slots';
|
|
3
|
+
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
4
|
+
import { HighlightedInputRecipe, InputVariantProps } from '@stokelp/styled-system/recipes';
|
|
5
|
+
export declare const Root: ComponentVariants<StyledComponent<"div", {}>, HighlightedInputRecipe>;
|
|
6
|
+
export declare const InputSlot: StyledComponent<"input", InputVariantProps>;
|
|
7
|
+
export declare const Renderer: StyledComponent<"p", {}>;
|
|
8
|
+
export declare const Highlight: StyledComponent<"span", {}>;
|
|
9
|
+
export interface HighlightedInputRootProps extends ComponentProps<typeof Root> {
|
|
10
|
+
}
|
|
11
|
+
export interface HighlightedInputInputProps extends ComponentProps<typeof InputSlot> {
|
|
12
|
+
}
|
|
13
|
+
export interface HighlightedInputRendererProps extends ComponentProps<typeof Renderer> {
|
|
14
|
+
}
|
|
15
|
+
export interface HighlightedInputHighlightProps extends ComponentProps<typeof Highlight> {
|
|
16
|
+
}
|
|
17
|
+
type HighlightedInputProps = {
|
|
18
|
+
regex: RegExp;
|
|
19
|
+
placeholder?: string;
|
|
20
|
+
} & HighlightedInputRootProps;
|
|
21
|
+
export declare const HighlightedInput: FC<HighlightedInputProps>;
|
|
22
|
+
export {};
|