@spark-web/text-input 3.0.0 → 4.0.0-rc.1
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/CHANGELOG.md +32 -0
- package/dist/declarations/src/children-to-adornments.d.ts +1 -1
- package/dist/declarations/src/index.d.ts +6 -6
- package/dist/declarations/src/input-adornment.d.ts +1 -1
- package/dist/declarations/src/input-container.d.ts +2 -2
- package/dist/declarations/src/text-input.d.ts +2 -2798
- package/dist/spark-web-text-input.cjs.d.ts +1 -0
- package/dist/spark-web-text-input.cjs.dev.js +5 -3
- package/dist/spark-web-text-input.cjs.prod.js +5 -3
- package/dist/spark-web-text-input.esm.js +5 -3
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# @spark-web/text-input
|
|
2
2
|
|
|
3
|
+
## 4.0.0-rc.1
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- rc
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies []:
|
|
12
|
+
- @spark-web/field@4.0.0-rc.1
|
|
13
|
+
- @spark-web/theme@4.0.0-rc.1
|
|
14
|
+
- @spark-web/utils@2.0.0-rc.1
|
|
15
|
+
- @spark-web/a11y@2.0.0-rc.1
|
|
16
|
+
- @spark-web/text@2.0.0-rc.1
|
|
17
|
+
- @spark-web/box@2.0.0-rc.1
|
|
18
|
+
|
|
19
|
+
## 4.0.0-rc.0
|
|
20
|
+
|
|
21
|
+
### Major Changes
|
|
22
|
+
|
|
23
|
+
- rc versio
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies []:
|
|
28
|
+
- @spark-web/field@4.0.0-rc.0
|
|
29
|
+
- @spark-web/theme@4.0.0-rc.0
|
|
30
|
+
- @spark-web/a11y@2.0.0-rc.0
|
|
31
|
+
- @spark-web/text@2.0.0-rc.0
|
|
32
|
+
- @spark-web/box@2.0.0-rc.0
|
|
33
|
+
- @spark-web/utils@2.0.0-rc.0
|
|
34
|
+
|
|
3
35
|
## 3.0.0
|
|
4
36
|
|
|
5
37
|
### Minor Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReactElement } from 'react';
|
|
2
|
-
import type { InputAdornmentProps } from
|
|
2
|
+
import type { InputAdornmentProps } from "./input-adornment.js";
|
|
3
3
|
export declare type AdornmentChild = ReactElement<InputAdornmentProps> | null | undefined;
|
|
4
4
|
export declare type AdornmentsAsChildren = AdornmentChild | [AdornmentChild, AdornmentChild];
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { InputAdornment } from
|
|
2
|
-
export { InputContainer } from
|
|
3
|
-
export { TextInput, useInputStyles } from
|
|
4
|
-
export type { AdornmentChild } from
|
|
5
|
-
export type { InputContainerProps } from
|
|
6
|
-
export type { TextInputProps, UseInputStylesProps } from
|
|
1
|
+
export { InputAdornment } from "./input-adornment.js";
|
|
2
|
+
export { InputContainer } from "./input-container.js";
|
|
3
|
+
export { TextInput, useInputStyles } from "./text-input.js";
|
|
4
|
+
export type { AdornmentChild } from "./children-to-adornments.js";
|
|
5
|
+
export type { InputContainerProps } from "./input-container.js";
|
|
6
|
+
export type { TextInputProps, UseInputStylesProps } from "./text-input.js";
|
|
@@ -42,5 +42,5 @@ export declare type InputAdornmentProps = {
|
|
|
42
42
|
* </InputAdornment>
|
|
43
43
|
* </TextInput>
|
|
44
44
|
*/
|
|
45
|
-
export declare const InputAdornment: ({ children, fieldLabel, placement, raw, }: InputAdornmentProps) => JSX.Element;
|
|
45
|
+
export declare const InputAdornment: ({ children, fieldLabel, placement, raw, }: InputAdornmentProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
46
46
|
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { BoxProps } from '@spark-web/box';
|
|
2
2
|
import type { ReactElement } from 'react';
|
|
3
|
-
import type { InputAdornmentProps } from
|
|
3
|
+
import type { InputAdornmentProps } from "./input-adornment.js";
|
|
4
4
|
export declare type InputContainerProps = {
|
|
5
5
|
/** Slot to start render adornment. */
|
|
6
6
|
startAdornment?: ReactElement<InputAdornmentProps> | null;
|
|
7
7
|
/** Slot to end render adornment. */
|
|
8
8
|
endAdornment?: ReactElement<InputAdornmentProps> | null;
|
|
9
9
|
} & Omit<BoxProps, 'background' | 'position'>;
|
|
10
|
-
export declare const InputContainer: ({ children, startAdornment, endAdornment, ...boxProps }: InputContainerProps) => JSX.Element;
|
|
10
|
+
export declare const InputContainer: ({ children, startAdornment, endAdornment, ...boxProps }: InputContainerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|