@spark-web/text-input 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/CHANGELOG.md +18 -0
- package/dist/declarations/src/TextInput.d.ts +32 -32
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @spark-web/text-input
|
|
2
2
|
|
|
3
|
+
## 1.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#40](https://github.com/brighte-labs/spark-web/pull/40)
|
|
8
|
+
[`062c8ab`](https://github.com/brighte-labs/spark-web/commit/062c8ab8c7b4120f8d14c269b5f7801288c678ca)
|
|
9
|
+
Thanks [@lukebennett88](https://github.com/lukebennett88)! - Add
|
|
10
|
+
@babel/transform-runtime
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
[[`062c8ab`](https://github.com/brighte-labs/spark-web/commit/062c8ab8c7b4120f8d14c269b5f7801288c678ca)]:
|
|
14
|
+
- @spark-web/a11y@1.0.2
|
|
15
|
+
- @spark-web/box@1.0.2
|
|
16
|
+
- @spark-web/field@1.0.2
|
|
17
|
+
- @spark-web/text@1.0.2
|
|
18
|
+
- @spark-web/theme@2.0.1
|
|
19
|
+
- @spark-web/utils@1.0.2
|
|
20
|
+
|
|
3
21
|
## 1.0.1
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -28,7 +28,7 @@ export declare const TextInput: import("react").ForwardRefExoticComponent<{
|
|
|
28
28
|
* How an input behaves varies considerably depending on the value of its type
|
|
29
29
|
* attribute. If this attribute is not specified, the default type "text".
|
|
30
30
|
*/
|
|
31
|
-
type?: "number" | "
|
|
31
|
+
type?: "number" | "text" | "search" | "tel" | "url" | "email" | "password" | undefined;
|
|
32
32
|
} & NativeInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
33
33
|
export declare type UseInputProps = Pick<FieldContextType, 'disabled' | 'invalid'>;
|
|
34
34
|
export declare function useInput({ disabled }: UseInputProps): {
|
|
@@ -78,7 +78,7 @@ export declare function useInput({ disabled }: UseInputProps): {
|
|
|
78
78
|
borderBlockColor?: import("csstype").Property.BorderBlockColor | import("csstype").Property.BorderBlockColor[] | undefined;
|
|
79
79
|
borderBlockEndColor?: import("csstype").Property.BorderBlockEndColor | import("csstype").Property.BorderBlockEndColor[] | undefined;
|
|
80
80
|
borderBlockEndStyle?: import("csstype").Property.BorderBlockEndStyle | import("csstype").Property.BorderBlockEndStyle[] | undefined;
|
|
81
|
-
borderBlockEndWidth?:
|
|
81
|
+
borderBlockEndWidth?: import("csstype").Property.BorderBlockEndWidth<string | number> | import("csstype").Property.BorderBlockEndWidth<string | number>[] | string[] | undefined;
|
|
82
82
|
borderBlockStartColor?: import("csstype").Property.BorderBlockStartColor | import("csstype").Property.BorderBlockStartColor[] | undefined;
|
|
83
83
|
borderBlockStartStyle?: import("csstype").Property.BorderBlockStartStyle | import("csstype").Property.BorderBlockStartStyle[] | undefined;
|
|
84
84
|
borderBlockStartWidth?: string[] | import("csstype").Property.BorderBlockStartWidth<string | number> | import("csstype").Property.BorderBlockStartWidth<string | number>[] | undefined;
|
|
@@ -134,7 +134,7 @@ export declare function useInput({ disabled }: UseInputProps): {
|
|
|
134
134
|
color?: import("csstype").Property.Color | import("csstype").Property.Color[] | undefined;
|
|
135
135
|
colorAdjust?: import("csstype").Property.PrintColorAdjust | import("csstype").Property.PrintColorAdjust[] | undefined;
|
|
136
136
|
colorScheme?: import("csstype").Property.ColorScheme | import("csstype").Property.ColorScheme[] | undefined;
|
|
137
|
-
columnCount?: import("csstype").Property.ColumnCount | import("csstype").Property.ColumnCount[] | ((string & {}) |
|
|
137
|
+
columnCount?: import("csstype").Property.ColumnCount | import("csstype").Property.ColumnCount[] | ((string & {}) | import("csstype").Globals | "auto")[] | undefined;
|
|
138
138
|
columnFill?: import("csstype").Property.ColumnFill | import("csstype").Property.ColumnFill[] | undefined;
|
|
139
139
|
columnGap?: (string | (string & {}))[] | import("csstype").Property.ColumnGap<string | number> | import("csstype").Property.ColumnGap<string | number>[] | undefined;
|
|
140
140
|
columnRuleColor?: import("csstype").Property.ColumnRuleColor | import("csstype").Property.ColumnRuleColor[] | undefined;
|
|
@@ -165,7 +165,7 @@ export declare function useInput({ disabled }: UseInputProps): {
|
|
|
165
165
|
fontLanguageOverride?: import("csstype").Property.FontLanguageOverride | import("csstype").Property.FontLanguageOverride[] | undefined;
|
|
166
166
|
fontOpticalSizing?: import("csstype").Property.FontOpticalSizing | import("csstype").Property.FontOpticalSizing[] | undefined;
|
|
167
167
|
fontSize?: (string | (string & {}))[] | import("csstype").Property.FontSize<string | number> | import("csstype").Property.FontSize<string | number>[] | undefined;
|
|
168
|
-
fontSizeAdjust?: import("csstype").Property.FontSizeAdjust | import("csstype").Property.FontSizeAdjust[] | (
|
|
168
|
+
fontSizeAdjust?: import("csstype").Property.FontSizeAdjust | import("csstype").Property.FontSizeAdjust[] | ((string & {}) | import("csstype").Globals | "none" | "from-font")[] | undefined;
|
|
169
169
|
fontSmooth?: string[] | import("csstype").Property.FontSmooth<string | number> | import("csstype").Property.FontSmooth<string | number>[] | undefined;
|
|
170
170
|
fontStretch?: import("csstype").Property.FontStretch | import("csstype").Property.FontStretch[] | undefined;
|
|
171
171
|
fontStyle?: import("csstype").Property.FontStyle | import("csstype").Property.FontStyle[] | undefined;
|
|
@@ -178,15 +178,15 @@ export declare function useInput({ disabled }: UseInputProps): {
|
|
|
178
178
|
fontVariantNumeric?: import("csstype").Property.FontVariantNumeric | import("csstype").Property.FontVariantNumeric[] | undefined;
|
|
179
179
|
fontVariantPosition?: import("csstype").Property.FontVariantPosition | import("csstype").Property.FontVariantPosition[] | undefined;
|
|
180
180
|
fontVariationSettings?: import("csstype").Property.FontVariationSettings | import("csstype").Property.FontVariationSettings[] | undefined;
|
|
181
|
-
fontWeight?: import("csstype").Property.FontWeight | import("csstype").Property.FontWeight[] | (
|
|
181
|
+
fontWeight?: import("csstype").Property.FontWeight | import("csstype").Property.FontWeight[] | ((string & {}) | import("csstype").Globals | "normal" | "bold" | "bolder" | "lighter")[] | undefined;
|
|
182
182
|
forcedColorAdjust?: import("csstype").Property.ForcedColorAdjust | import("csstype").Property.ForcedColorAdjust[] | undefined;
|
|
183
183
|
gridAutoColumns?: (string | (string & {}))[] | import("csstype").Property.GridAutoColumns<string | number> | import("csstype").Property.GridAutoColumns<string | number>[] | undefined;
|
|
184
184
|
gridAutoFlow?: import("csstype").Property.GridAutoFlow | import("csstype").Property.GridAutoFlow[] | undefined;
|
|
185
185
|
gridAutoRows?: (string | (string & {}))[] | import("csstype").Property.GridAutoRows<string | number> | import("csstype").Property.GridAutoRows<string | number>[] | undefined;
|
|
186
|
-
gridColumnEnd?: ((string & {}) |
|
|
187
|
-
gridColumnStart?: ((string & {}) |
|
|
188
|
-
gridRowEnd?: ((string & {}) |
|
|
189
|
-
gridRowStart?: ((string & {}) |
|
|
186
|
+
gridColumnEnd?: ((string & {}) | import("csstype").Globals | "auto")[] | import("csstype").Property.GridColumnEnd | import("csstype").Property.GridColumnEnd[] | undefined;
|
|
187
|
+
gridColumnStart?: ((string & {}) | import("csstype").Globals | "auto")[] | import("csstype").Property.GridColumnStart | import("csstype").Property.GridColumnStart[] | undefined;
|
|
188
|
+
gridRowEnd?: ((string & {}) | import("csstype").Globals | "auto")[] | import("csstype").Property.GridRowEnd | import("csstype").Property.GridRowEnd[] | undefined;
|
|
189
|
+
gridRowStart?: ((string & {}) | import("csstype").Globals | "auto")[] | import("csstype").Property.GridRowStart | import("csstype").Property.GridRowStart[] | undefined;
|
|
190
190
|
gridTemplateAreas?: import("csstype").Property.GridTemplateAreas | import("csstype").Property.GridTemplateAreas[] | undefined;
|
|
191
191
|
gridTemplateColumns?: (string | (string & {}))[] | import("csstype").Property.GridTemplateColumns<string | number> | import("csstype").Property.GridTemplateColumns<string | number>[] | undefined;
|
|
192
192
|
gridTemplateRows?: (string | (string & {}))[] | import("csstype").Property.GridTemplateRows<string | number> | import("csstype").Property.GridTemplateRows<string | number>[] | undefined;
|
|
@@ -249,7 +249,7 @@ export declare function useInput({ disabled }: UseInputProps): {
|
|
|
249
249
|
maxBlockSize?: (string | (string & {}))[] | import("csstype").Property.MaxBlockSize<string | number> | import("csstype").Property.MaxBlockSize<string | number>[] | undefined;
|
|
250
250
|
maxHeight?: (string | (string & {}))[] | import("csstype").Property.MaxHeight<string | number> | import("csstype").Property.MaxHeight<string | number>[] | undefined;
|
|
251
251
|
maxInlineSize?: (string | (string & {}))[] | import("csstype").Property.MaxInlineSize<string | number> | import("csstype").Property.MaxInlineSize<string | number>[] | undefined;
|
|
252
|
-
maxLines?: import("csstype").Property.MaxLines | import("csstype").Property.MaxLines[] | (
|
|
252
|
+
maxLines?: import("csstype").Property.MaxLines | import("csstype").Property.MaxLines[] | ((string & {}) | import("csstype").Globals | "none")[] | undefined;
|
|
253
253
|
maxWidth?: (string | (string & {}))[] | import("csstype").Property.MaxWidth<string | number> | import("csstype").Property.MaxWidth<string | number>[] | undefined;
|
|
254
254
|
minBlockSize?: (string | (string & {}))[] | import("csstype").Property.MinBlockSize<string | number> | import("csstype").Property.MinBlockSize<string | number>[] | undefined;
|
|
255
255
|
minHeight?: (string | (string & {}))[] | import("csstype").Property.MinHeight<string | number> | import("csstype").Property.MinHeight<string | number>[] | undefined;
|
|
@@ -313,7 +313,7 @@ export declare function useInput({ disabled }: UseInputProps): {
|
|
|
313
313
|
rubyAlign?: import("csstype").Property.RubyAlign | import("csstype").Property.RubyAlign[] | undefined;
|
|
314
314
|
rubyMerge?: import("csstype").Property.RubyMerge | import("csstype").Property.RubyMerge[] | undefined;
|
|
315
315
|
rubyPosition?: import("csstype").Property.RubyPosition | import("csstype").Property.RubyPosition[] | undefined;
|
|
316
|
-
scale?: (
|
|
316
|
+
scale?: ((string & {}) | import("csstype").Globals | "none")[] | import("csstype").Property.Scale | import("csstype").Property.Scale[] | undefined;
|
|
317
317
|
scrollBehavior?: import("csstype").Property.ScrollBehavior | import("csstype").Property.ScrollBehavior[] | undefined;
|
|
318
318
|
scrollMargin?: (string | (string & {}))[] | import("csstype").Property.ScrollMargin<string | number> | import("csstype").Property.ScrollMargin<string | number>[] | undefined;
|
|
319
319
|
scrollMarginBlock?: (string | (string & {}))[] | import("csstype").Property.ScrollMarginBlock<string | number> | import("csstype").Property.ScrollMarginBlock<string | number>[] | undefined;
|
|
@@ -399,10 +399,10 @@ export declare function useInput({ disabled }: UseInputProps): {
|
|
|
399
399
|
wordSpacing?: string[] | import("csstype").Property.WordSpacing<string | number> | import("csstype").Property.WordSpacing<string | number>[] | undefined;
|
|
400
400
|
wordWrap?: import("csstype").Property.WordWrap | import("csstype").Property.WordWrap[] | undefined;
|
|
401
401
|
writingMode?: import("csstype").Property.WritingMode | import("csstype").Property.WritingMode[] | undefined;
|
|
402
|
-
zIndex?: ((string & {}) |
|
|
403
|
-
zoom?: import("csstype").Property.Zoom | import("csstype").Property.Zoom[] | ((string & {}) |
|
|
402
|
+
zIndex?: ((string & {}) | import("csstype").Globals | "auto")[] | import("csstype").Property.ZIndex | import("csstype").Property.ZIndex[] | undefined;
|
|
403
|
+
zoom?: import("csstype").Property.Zoom | import("csstype").Property.Zoom[] | ((string & {}) | import("csstype").Globals | "normal" | "reset")[] | undefined;
|
|
404
404
|
all?: import("csstype").Globals | import("csstype").Globals[] | undefined;
|
|
405
|
-
animation?: import("csstype").Property.Animation<string & {}> | import("csstype").Property.Animation<string & {}>[] | (import("csstype").Globals | ("normal" | "alternate" | "alternate-reverse" | "reverse") | ("
|
|
405
|
+
animation?: import("csstype").Property.Animation<string & {}> | import("csstype").Property.Animation<string & {}>[] | (import("csstype").Globals | ("normal" | "alternate" | "alternate-reverse" | "reverse") | ("backwards" | "both" | "forwards" | "none") | "infinite" | "paused" | "running" | ((string & {}) | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear"))[] | undefined;
|
|
406
406
|
background?: (string | (string & {}))[] | import("csstype").Property.Background<string | number> | import("csstype").Property.Background<string | number>[] | undefined;
|
|
407
407
|
backgroundPosition?: (string | (string & {}))[] | import("csstype").Property.BackgroundPosition<string | number> | import("csstype").Property.BackgroundPosition<string | number>[] | undefined;
|
|
408
408
|
border?: (string | (string & {}))[] | import("csstype").Property.Border<string | number> | import("csstype").Property.Border<string | number>[] | undefined;
|
|
@@ -411,7 +411,7 @@ export declare function useInput({ disabled }: UseInputProps): {
|
|
|
411
411
|
borderBlockStart?: (string | (string & {}))[] | import("csstype").Property.BorderBlockStart<string | number> | import("csstype").Property.BorderBlockStart<string | number>[] | undefined;
|
|
412
412
|
borderBottom?: (string | (string & {}))[] | import("csstype").Property.BorderBottom<string | number> | import("csstype").Property.BorderBottom<string | number>[] | undefined;
|
|
413
413
|
borderColor?: import("csstype").Property.BorderColor | import("csstype").Property.BorderColor[] | undefined;
|
|
414
|
-
borderImage?: import("csstype").Property.BorderImage | import("csstype").Property.BorderImage[] | (
|
|
414
|
+
borderImage?: import("csstype").Property.BorderImage | import("csstype").Property.BorderImage[] | ((string & {}) | import("csstype").Globals | "stretch" | "none" | "repeat" | "round" | "space")[] | undefined;
|
|
415
415
|
borderInline?: (string | (string & {}))[] | import("csstype").Property.BorderInline<string | number> | import("csstype").Property.BorderInline<string | number>[] | undefined;
|
|
416
416
|
borderInlineEnd?: (string | (string & {}))[] | import("csstype").Property.BorderInlineEnd<string | number> | import("csstype").Property.BorderInlineEnd<string | number>[] | undefined;
|
|
417
417
|
borderInlineStart?: (string | (string & {}))[] | import("csstype").Property.BorderInlineStart<string | number> | import("csstype").Property.BorderInlineStart<string | number>[] | undefined;
|
|
@@ -428,15 +428,15 @@ export declare function useInput({ disabled }: UseInputProps): {
|
|
|
428
428
|
font?: import("csstype").Property.Font | import("csstype").Property.Font[] | undefined;
|
|
429
429
|
gap?: (string | (string & {}))[] | import("csstype").Property.Gap<string | number> | import("csstype").Property.Gap<string | number>[] | undefined;
|
|
430
430
|
grid?: import("csstype").Property.Grid | import("csstype").Property.Grid[] | undefined;
|
|
431
|
-
gridArea?: ((string & {}) |
|
|
432
|
-
gridColumn?: ((string & {}) |
|
|
433
|
-
gridRow?: ((string & {}) |
|
|
431
|
+
gridArea?: ((string & {}) | import("csstype").Globals | "auto")[] | import("csstype").Property.GridArea | import("csstype").Property.GridArea[] | undefined;
|
|
432
|
+
gridColumn?: ((string & {}) | import("csstype").Globals | "auto")[] | import("csstype").Property.GridColumn | import("csstype").Property.GridColumn[] | undefined;
|
|
433
|
+
gridRow?: ((string & {}) | import("csstype").Globals | "auto")[] | import("csstype").Property.GridRow | import("csstype").Property.GridRow[] | undefined;
|
|
434
434
|
gridTemplate?: import("csstype").Property.GridTemplate | import("csstype").Property.GridTemplate[] | undefined;
|
|
435
|
-
lineClamp?: (
|
|
435
|
+
lineClamp?: ((string & {}) | import("csstype").Globals | "none")[] | import("csstype").Property.LineClamp | import("csstype").Property.LineClamp[] | undefined;
|
|
436
436
|
listStyle?: import("csstype").Property.ListStyle | import("csstype").Property.ListStyle[] | undefined;
|
|
437
437
|
margin?: (string | (string & {}))[] | import("csstype").Property.Margin<string | number> | import("csstype").Property.Margin<string | number>[] | undefined;
|
|
438
438
|
mask?: (string | (string & {}))[] | import("csstype").Property.Mask<string | number> | import("csstype").Property.Mask<string | number>[] | undefined;
|
|
439
|
-
maskBorder?: import("csstype").Property.MaskBorder | import("csstype").Property.MaskBorder[] | (
|
|
439
|
+
maskBorder?: import("csstype").Property.MaskBorder | import("csstype").Property.MaskBorder[] | ((string & {}) | import("csstype").Globals | "stretch" | "none" | "repeat" | "round" | "space" | "alpha" | "luminance")[] | undefined;
|
|
440
440
|
motion?: (string | (string & {}))[] | import("csstype").Property.Offset<string | number> | import("csstype").Property.Offset<string | number>[] | undefined;
|
|
441
441
|
offset?: (string | (string & {}))[] | import("csstype").Property.Offset<string | number> | import("csstype").Property.Offset<string | number>[] | undefined;
|
|
442
442
|
outline?: (string | (string & {}))[] | import("csstype").Property.Outline<string | number> | import("csstype").Property.Outline<string | number>[] | undefined;
|
|
@@ -468,7 +468,7 @@ export declare function useInput({ disabled }: UseInputProps): {
|
|
|
468
468
|
MozBorderStartStyle?: import("csstype").Property.BorderInlineStartStyle | import("csstype").Property.BorderInlineStartStyle[] | undefined;
|
|
469
469
|
MozBorderTopColors?: import("csstype").Property.MozBorderTopColors | import("csstype").Property.MozBorderTopColors[] | undefined;
|
|
470
470
|
MozBoxSizing?: import("csstype").Property.BoxSizing | import("csstype").Property.BoxSizing[] | undefined;
|
|
471
|
-
MozColumnCount?: import("csstype").Property.ColumnCount | import("csstype").Property.ColumnCount[] | ((string & {}) |
|
|
471
|
+
MozColumnCount?: import("csstype").Property.ColumnCount | import("csstype").Property.ColumnCount[] | ((string & {}) | import("csstype").Globals | "auto")[] | undefined;
|
|
472
472
|
MozColumnFill?: import("csstype").Property.ColumnFill | import("csstype").Property.ColumnFill[] | undefined;
|
|
473
473
|
MozColumnGap?: (string | (string & {}))[] | import("csstype").Property.ColumnGap<string | number> | import("csstype").Property.ColumnGap<string | number>[] | undefined;
|
|
474
474
|
MozColumnRuleColor?: import("csstype").Property.ColumnRuleColor | import("csstype").Property.ColumnRuleColor[] | undefined;
|
|
@@ -520,7 +520,7 @@ export declare function useInput({ disabled }: UseInputProps): {
|
|
|
520
520
|
msGridColumns?: (string | (string & {}))[] | import("csstype").Property.MsGridColumns<string | number> | import("csstype").Property.MsGridColumns<string | number>[] | undefined;
|
|
521
521
|
msGridRows?: (string | (string & {}))[] | import("csstype").Property.MsGridRows<string | number> | import("csstype").Property.MsGridRows<string | number>[] | undefined;
|
|
522
522
|
msHighContrastAdjust?: import("csstype").Property.MsHighContrastAdjust | import("csstype").Property.MsHighContrastAdjust[] | undefined;
|
|
523
|
-
msHyphenateLimitChars?: ((string & {}) |
|
|
523
|
+
msHyphenateLimitChars?: ((string & {}) | import("csstype").Globals | "auto")[] | import("csstype").Property.MsHyphenateLimitChars | import("csstype").Property.MsHyphenateLimitChars[] | undefined;
|
|
524
524
|
msHyphenateLimitLines?: import("csstype").Property.MsHyphenateLimitLines | import("csstype").Property.MsHyphenateLimitLines[] | ((string & {}) | import("csstype").Globals | "no-limit")[] | undefined;
|
|
525
525
|
msHyphenateLimitZone?: (string | (string & {}))[] | import("csstype").Property.MsHyphenateLimitZone<string | number> | import("csstype").Property.MsHyphenateLimitZone<string | number>[] | undefined;
|
|
526
526
|
msHyphens?: import("csstype").Property.Hyphens | import("csstype").Property.Hyphens[] | undefined;
|
|
@@ -595,7 +595,7 @@ export declare function useInput({ disabled }: UseInputProps): {
|
|
|
595
595
|
WebkitBoxShadow?: import("csstype").Property.BoxShadow | import("csstype").Property.BoxShadow[] | undefined;
|
|
596
596
|
WebkitBoxSizing?: import("csstype").Property.BoxSizing | import("csstype").Property.BoxSizing[] | undefined;
|
|
597
597
|
WebkitClipPath?: import("csstype").Property.ClipPath | import("csstype").Property.ClipPath[] | undefined;
|
|
598
|
-
WebkitColumnCount?: import("csstype").Property.ColumnCount | import("csstype").Property.ColumnCount[] | ((string & {}) |
|
|
598
|
+
WebkitColumnCount?: import("csstype").Property.ColumnCount | import("csstype").Property.ColumnCount[] | ((string & {}) | import("csstype").Globals | "auto")[] | undefined;
|
|
599
599
|
WebkitColumnFill?: import("csstype").Property.ColumnFill | import("csstype").Property.ColumnFill[] | undefined;
|
|
600
600
|
WebkitColumnGap?: (string | (string & {}))[] | import("csstype").Property.ColumnGap<string | number> | import("csstype").Property.ColumnGap<string | number>[] | undefined;
|
|
601
601
|
WebkitColumnRuleColor?: import("csstype").Property.ColumnRuleColor | import("csstype").Property.ColumnRuleColor[] | undefined;
|
|
@@ -618,7 +618,7 @@ export declare function useInput({ disabled }: UseInputProps): {
|
|
|
618
618
|
WebkitInitialLetter?: import("csstype").Property.InitialLetter | import("csstype").Property.InitialLetter[] | ((string & {}) | import("csstype").Globals | "normal")[] | undefined;
|
|
619
619
|
WebkitJustifyContent?: import("csstype").Property.JustifyContent | import("csstype").Property.JustifyContent[] | undefined;
|
|
620
620
|
WebkitLineBreak?: import("csstype").Property.LineBreak | import("csstype").Property.LineBreak[] | undefined;
|
|
621
|
-
WebkitLineClamp?: (
|
|
621
|
+
WebkitLineClamp?: ((string & {}) | import("csstype").Globals | "none")[] | import("csstype").Property.WebkitLineClamp | import("csstype").Property.WebkitLineClamp[] | undefined;
|
|
622
622
|
WebkitMarginEnd?: (string | (string & {}))[] | import("csstype").Property.MarginInlineEnd<string | number> | import("csstype").Property.MarginInlineEnd<string | number>[] | undefined;
|
|
623
623
|
WebkitMarginStart?: (string | (string & {}))[] | import("csstype").Property.MarginInlineStart<string | number> | import("csstype").Property.MarginInlineStart<string | number>[] | undefined;
|
|
624
624
|
WebkitMaskAttachment?: import("csstype").Property.WebkitMaskAttachment | import("csstype").Property.WebkitMaskAttachment[] | undefined;
|
|
@@ -675,8 +675,8 @@ export declare function useInput({ disabled }: UseInputProps): {
|
|
|
675
675
|
WebkitUserModify?: import("csstype").Property.WebkitUserModify | import("csstype").Property.WebkitUserModify[] | undefined;
|
|
676
676
|
WebkitUserSelect?: import("csstype").Property.UserSelect | import("csstype").Property.UserSelect[] | undefined;
|
|
677
677
|
WebkitWritingMode?: import("csstype").Property.WritingMode | import("csstype").Property.WritingMode[] | undefined;
|
|
678
|
-
MozAnimation?: import("csstype").Property.Animation<string & {}> | import("csstype").Property.Animation<string & {}>[] | (import("csstype").Globals | ("normal" | "alternate" | "alternate-reverse" | "reverse") | ("
|
|
679
|
-
MozBorderImage?: import("csstype").Property.BorderImage | import("csstype").Property.BorderImage[] | (
|
|
678
|
+
MozAnimation?: import("csstype").Property.Animation<string & {}> | import("csstype").Property.Animation<string & {}>[] | (import("csstype").Globals | ("normal" | "alternate" | "alternate-reverse" | "reverse") | ("backwards" | "both" | "forwards" | "none") | "infinite" | "paused" | "running" | ((string & {}) | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear"))[] | undefined;
|
|
679
|
+
MozBorderImage?: import("csstype").Property.BorderImage | import("csstype").Property.BorderImage[] | ((string & {}) | import("csstype").Globals | "stretch" | "none" | "repeat" | "round" | "space")[] | undefined;
|
|
680
680
|
MozColumnRule?: (string | (string & {}))[] | import("csstype").Property.ColumnRule<string | number> | import("csstype").Property.ColumnRule<string | number>[] | undefined;
|
|
681
681
|
MozColumns?: (string | (string & {}))[] | import("csstype").Property.Columns<string | number> | import("csstype").Property.Columns<string | number>[] | undefined;
|
|
682
682
|
MozTransition?: import("csstype").Property.Transition<string & {}> | import("csstype").Property.Transition<string & {}>[] | undefined;
|
|
@@ -687,16 +687,16 @@ export declare function useInput({ disabled }: UseInputProps): {
|
|
|
687
687
|
msScrollSnapX?: import("csstype").Property.MsScrollSnapX | import("csstype").Property.MsScrollSnapX[] | undefined;
|
|
688
688
|
msScrollSnapY?: import("csstype").Property.MsScrollSnapY | import("csstype").Property.MsScrollSnapY[] | undefined;
|
|
689
689
|
msTransition?: import("csstype").Property.Transition<string & {}> | import("csstype").Property.Transition<string & {}>[] | undefined;
|
|
690
|
-
WebkitAnimation?: import("csstype").Property.Animation<string & {}> | import("csstype").Property.Animation<string & {}>[] | (import("csstype").Globals | ("normal" | "alternate" | "alternate-reverse" | "reverse") | ("
|
|
690
|
+
WebkitAnimation?: import("csstype").Property.Animation<string & {}> | import("csstype").Property.Animation<string & {}>[] | (import("csstype").Globals | ("normal" | "alternate" | "alternate-reverse" | "reverse") | ("backwards" | "both" | "forwards" | "none") | "infinite" | "paused" | "running" | ((string & {}) | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear"))[] | undefined;
|
|
691
691
|
WebkitBorderBefore?: (string | (string & {}))[] | import("csstype").Property.WebkitBorderBefore<string | number> | import("csstype").Property.WebkitBorderBefore<string | number>[] | undefined;
|
|
692
|
-
WebkitBorderImage?: import("csstype").Property.BorderImage | import("csstype").Property.BorderImage[] | (
|
|
692
|
+
WebkitBorderImage?: import("csstype").Property.BorderImage | import("csstype").Property.BorderImage[] | ((string & {}) | import("csstype").Globals | "stretch" | "none" | "repeat" | "round" | "space")[] | undefined;
|
|
693
693
|
WebkitBorderRadius?: (string | (string & {}))[] | import("csstype").Property.BorderRadius<string | number> | import("csstype").Property.BorderRadius<string | number>[] | undefined;
|
|
694
694
|
WebkitColumnRule?: (string | (string & {}))[] | import("csstype").Property.ColumnRule<string | number> | import("csstype").Property.ColumnRule<string | number>[] | undefined;
|
|
695
695
|
WebkitColumns?: (string | (string & {}))[] | import("csstype").Property.Columns<string | number> | import("csstype").Property.Columns<string | number>[] | undefined;
|
|
696
696
|
WebkitFlex?: (string | (string & {}))[] | import("csstype").Property.Flex<string | number> | import("csstype").Property.Flex<string | number>[] | undefined;
|
|
697
697
|
WebkitFlexFlow?: import("csstype").Property.FlexFlow | import("csstype").Property.FlexFlow[] | undefined;
|
|
698
698
|
WebkitMask?: (string | (string & {}))[] | import("csstype").Property.WebkitMask<string | number> | import("csstype").Property.WebkitMask<string | number>[] | undefined;
|
|
699
|
-
WebkitMaskBoxImage?: import("csstype").Property.MaskBorder | import("csstype").Property.MaskBorder[] | (
|
|
699
|
+
WebkitMaskBoxImage?: import("csstype").Property.MaskBorder | import("csstype").Property.MaskBorder[] | ((string & {}) | import("csstype").Globals | "stretch" | "none" | "repeat" | "round" | "space" | "alpha" | "luminance")[] | undefined;
|
|
700
700
|
WebkitTextEmphasis?: import("csstype").Property.TextEmphasis | import("csstype").Property.TextEmphasis[] | undefined;
|
|
701
701
|
WebkitTextStroke?: (string | (string & {}))[] | import("csstype").Property.WebkitTextStroke<string | number> | import("csstype").Property.WebkitTextStroke<string | number>[] | undefined;
|
|
702
702
|
WebkitTransition?: import("csstype").Property.Transition<string & {}> | import("csstype").Property.Transition<string & {}>[] | undefined;
|
|
@@ -774,7 +774,7 @@ export declare function useInput({ disabled }: UseInputProps): {
|
|
|
774
774
|
MozUserInput?: import("csstype").Property.MozUserInput | import("csstype").Property.MozUserInput[] | undefined;
|
|
775
775
|
msImeMode?: import("csstype").Property.ImeMode | import("csstype").Property.ImeMode[] | undefined;
|
|
776
776
|
msScrollbarTrackColor?: import("csstype").Property.MsScrollbarTrackColor | import("csstype").Property.MsScrollbarTrackColor[] | undefined;
|
|
777
|
-
OAnimation?: import("csstype").Property.Animation<string & {}> | import("csstype").Property.Animation<string & {}>[] | (import("csstype").Globals | ("normal" | "alternate" | "alternate-reverse" | "reverse") | ("
|
|
777
|
+
OAnimation?: import("csstype").Property.Animation<string & {}> | import("csstype").Property.Animation<string & {}>[] | (import("csstype").Globals | ("normal" | "alternate" | "alternate-reverse" | "reverse") | ("backwards" | "both" | "forwards" | "none") | "infinite" | "paused" | "running" | ((string & {}) | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear"))[] | undefined;
|
|
778
778
|
OAnimationDelay?: import("csstype").Property.AnimationDelay<string & {}> | import("csstype").Property.AnimationDelay<string & {}>[] | undefined;
|
|
779
779
|
OAnimationDirection?: import("csstype").Property.AnimationDirection | import("csstype").Property.AnimationDirection[] | undefined;
|
|
780
780
|
OAnimationDuration?: import("csstype").Property.AnimationDuration<string & {}> | import("csstype").Property.AnimationDuration<string & {}>[] | undefined;
|
|
@@ -784,7 +784,7 @@ export declare function useInput({ disabled }: UseInputProps): {
|
|
|
784
784
|
OAnimationPlayState?: import("csstype").Property.AnimationPlayState | import("csstype").Property.AnimationPlayState[] | undefined;
|
|
785
785
|
OAnimationTimingFunction?: import("csstype").Property.AnimationTimingFunction | import("csstype").Property.AnimationTimingFunction[] | undefined;
|
|
786
786
|
OBackgroundSize?: (string | (string & {}))[] | import("csstype").Property.BackgroundSize<string | number> | import("csstype").Property.BackgroundSize<string | number>[] | undefined;
|
|
787
|
-
OBorderImage?: import("csstype").Property.BorderImage | import("csstype").Property.BorderImage[] | (
|
|
787
|
+
OBorderImage?: import("csstype").Property.BorderImage | import("csstype").Property.BorderImage[] | ((string & {}) | import("csstype").Globals | "stretch" | "none" | "repeat" | "round" | "space")[] | undefined;
|
|
788
788
|
OObjectFit?: import("csstype").Property.ObjectFit | import("csstype").Property.ObjectFit[] | undefined;
|
|
789
789
|
OObjectPosition?: (string | (string & {}))[] | import("csstype").Property.ObjectPosition<string | number> | import("csstype").Property.ObjectPosition<string | number>[] | undefined;
|
|
790
790
|
OTabSize?: (string | (string & {}))[] | import("csstype").Property.TabSize<string | number> | import("csstype").Property.TabSize<string | number>[] | undefined;
|
|
@@ -817,7 +817,7 @@ export declare function useInput({ disabled }: UseInputProps): {
|
|
|
817
817
|
fillRule?: import("csstype").Property.FillRule | import("csstype").Property.FillRule[] | undefined;
|
|
818
818
|
floodColor?: import("csstype").Property.FloodColor | import("csstype").Property.FloodColor[] | undefined;
|
|
819
819
|
floodOpacity?: ((string & {}) | import("csstype").Globals)[] | import("csstype").Property.FloodOpacity | import("csstype").Property.FloodOpacity[] | undefined;
|
|
820
|
-
glyphOrientationVertical?: ((string & {}) |
|
|
820
|
+
glyphOrientationVertical?: ((string & {}) | import("csstype").Globals | "auto")[] | import("csstype").Property.GlyphOrientationVertical | import("csstype").Property.GlyphOrientationVertical[] | undefined;
|
|
821
821
|
lightingColor?: import("csstype").Property.LightingColor | import("csstype").Property.LightingColor[] | undefined;
|
|
822
822
|
marker?: import("csstype").Property.Marker | import("csstype").Property.Marker[] | undefined;
|
|
823
823
|
markerEnd?: import("csstype").Property.MarkerEnd | import("csstype").Property.MarkerEnd[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spark-web/text-input",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"main": "dist/spark-web-text-input.cjs.js",
|
|
6
6
|
"module": "dist/spark-web-text-input.esm.js",
|
|
7
7
|
"devDependencies": {
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@babel/runtime": "^7.14.6",
|
|
12
12
|
"@emotion/css": "^11.7.1",
|
|
13
|
-
"@spark-web/a11y": "^1.0.
|
|
14
|
-
"@spark-web/box": "^1.0.
|
|
15
|
-
"@spark-web/field": "^1.0.
|
|
16
|
-
"@spark-web/text": "^1.0.
|
|
17
|
-
"@spark-web/theme": "^2.0.
|
|
18
|
-
"@spark-web/utils": "^1.0.
|
|
13
|
+
"@spark-web/a11y": "^1.0.2",
|
|
14
|
+
"@spark-web/box": "^1.0.2",
|
|
15
|
+
"@spark-web/field": "^1.0.2",
|
|
16
|
+
"@spark-web/text": "^1.0.2",
|
|
17
|
+
"@spark-web/theme": "^2.0.1",
|
|
18
|
+
"@spark-web/utils": "^1.0.2",
|
|
19
19
|
"react": "^17.0.2"
|
|
20
20
|
},
|
|
21
21
|
"engines": {
|