@spark-web/text-input 5.4.0 → 6.0.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/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @spark-web/text-input
2
2
 
3
+ ## 6.0.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#667](https://github.com/brighte-labs/spark-web/pull/667)
8
+ [`80d9c15`](https://github.com/brighte-labs/spark-web/commit/80d9c156a40bbcd2b1a91a2d0403b3c8e9b47b4e)
9
+ Thanks [@Leo704099](https://github.com/Leo704099)! - Support react 17 to 19
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+ [[`80d9c15`](https://github.com/brighte-labs/spark-web/commit/80d9c156a40bbcd2b1a91a2d0403b3c8e9b47b4e)]:
15
+ - @spark-web/field@5.3.0
16
+ - @spark-web/theme@5.13.0
17
+ - @spark-web/utils@5.1.0
18
+ - @spark-web/a11y@5.3.0
19
+ - @spark-web/text@5.3.0
20
+ - @spark-web/box@6.0.0
21
+
3
22
  ## 5.4.0
4
23
 
5
24
  ### Minor Changes
@@ -1,7 +1,7 @@
1
1
  import type { ReactElement } from 'react';
2
2
  import type { InputAdornmentProps } from "./input-adornment.js";
3
- export declare type AdornmentChild = ReactElement<InputAdornmentProps> | null | undefined;
4
- export declare type AdornmentsAsChildren = AdornmentChild | [AdornmentChild, AdornmentChild];
3
+ export type AdornmentChild = ReactElement<InputAdornmentProps> | null | undefined;
4
+ export type AdornmentsAsChildren = AdornmentChild | [AdornmentChild, AdornmentChild];
5
5
  /**
6
6
  * Map children for placement within the `TextInput` flex container. Ensures that
7
7
  * placeholders are provided for unused placements.
@@ -1,5 +1,5 @@
1
1
  import type { ReactElement } from 'react';
2
- declare type InputAdornmentContextType = {
2
+ type InputAdornmentContextType = {
3
3
  placement: PlacementType;
4
4
  };
5
5
  export declare const useInputAdornmentContext: () => InputAdornmentContextType | null;
@@ -13,8 +13,8 @@ declare const placementToPadding: {
13
13
  readonly paddingRight: "medium";
14
14
  };
15
15
  };
16
- declare type PlacementType = keyof typeof placementToPadding;
17
- export declare type InputAdornmentProps = {
16
+ type PlacementType = keyof typeof placementToPadding;
17
+ export type InputAdornmentProps = {
18
18
  children: ReactElement;
19
19
  /**
20
20
  * When using another input component as an adornment, you may optionally
@@ -1,7 +1,7 @@
1
1
  import type { BoxProps } from '@spark-web/box';
2
2
  import type { ReactElement } from 'react';
3
3
  import type { InputAdornmentProps } from "./input-adornment.js";
4
- export declare type InputContainerProps = {
4
+ export type InputContainerProps = {
5
5
  /** Slot to start render adornment. */
6
6
  startAdornment?: ReactElement<InputAdornmentProps> | null;
7
7
  /** Slot to end render adornment. */