@veracity/vui 2.25.5 → 2.25.6-beta.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/cjs/input/input.d.ts.map +1 -1
- package/dist/cjs/input/input.js +2 -2
- package/dist/cjs/input/input.js.map +1 -1
- package/dist/cjs/select/select.js +1 -1
- package/dist/cjs/select/select.js.map +1 -1
- package/dist/cjs/textarea/textarea.d.ts.map +1 -1
- package/dist/cjs/textarea/textarea.js +2 -2
- package/dist/cjs/textarea/textarea.js.map +1 -1
- package/dist/esm/input/input.d.ts.map +1 -1
- package/dist/esm/input/input.js +1 -1
- package/dist/esm/input/input.js.map +1 -1
- package/dist/esm/select/select.js +1 -1
- package/dist/esm/select/select.js.map +1 -1
- package/dist/esm/textarea/textarea.d.ts.map +1 -1
- package/dist/esm/textarea/textarea.js +1 -1
- package/dist/esm/textarea/textarea.js.map +1 -1
- package/dist/tsconfig.legacy.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/input/input.tsx +2 -8
- package/src/select/select.tsx +2 -2
- package/src/textarea/textarea.tsx +2 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veracity/vui",
|
|
3
|
-
"version": "2.25.
|
|
3
|
+
"version": "2.25.6-beta.0",
|
|
4
4
|
"description": "Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.",
|
|
5
5
|
"module": "./dist/esm/index.js",
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
package/src/input/input.tsx
CHANGED
|
@@ -156,7 +156,7 @@ export const Input = vui<'div', InputProps>((props, ref) => {
|
|
|
156
156
|
filterAutoCompleteOptions={filterAutoCompleteOptions}
|
|
157
157
|
onAutoCompleteSelect={onAutoCompleteSelect}
|
|
158
158
|
>
|
|
159
|
-
<Box className="vui-inputContainer" column>
|
|
159
|
+
<Box className="vui-inputContainer" column ref={ref} {...rest}>
|
|
160
160
|
{isString(label) ? (
|
|
161
161
|
<Label
|
|
162
162
|
aria-disabled={disabled}
|
|
@@ -171,13 +171,7 @@ export const Input = vui<'div', InputProps>((props, ref) => {
|
|
|
171
171
|
) : (
|
|
172
172
|
label
|
|
173
173
|
)}
|
|
174
|
-
<InputBase
|
|
175
|
-
className={cs('vui-input', className)}
|
|
176
|
-
ref={ref}
|
|
177
|
-
{...styles.container}
|
|
178
|
-
{...aliasedProps}
|
|
179
|
-
{...rest}
|
|
180
|
-
>
|
|
174
|
+
<InputBase className={cs('vui-input', className)} {...styles.container} {...aliasedProps}>
|
|
181
175
|
{itemLeft}
|
|
182
176
|
{isString(iconLeft) ? <InputIcon ml={1} name={iconLeft} /> : iconLeft}
|
|
183
177
|
{children ?? input ?? (
|
package/src/select/select.tsx
CHANGED
|
@@ -87,7 +87,7 @@ export function Select(props: SelectProps) {
|
|
|
87
87
|
|
|
88
88
|
return (
|
|
89
89
|
<SelectProvider value={context}>
|
|
90
|
-
<Box className="vui-selectContainer" column>
|
|
90
|
+
<Box className="vui-selectContainer" column {...rest}>
|
|
91
91
|
{label && (
|
|
92
92
|
<SelectLabel
|
|
93
93
|
disabled={disabled}
|
|
@@ -97,7 +97,7 @@ export function Select(props: SelectProps) {
|
|
|
97
97
|
labelTooltipText={labelTooltipText}
|
|
98
98
|
/>
|
|
99
99
|
)}
|
|
100
|
-
<Popover matchWidth={matchWidth}
|
|
100
|
+
<Popover matchWidth={matchWidth}>
|
|
101
101
|
<>
|
|
102
102
|
{selectButton ?? <SelectButton {...selectButtonProps} />}
|
|
103
103
|
<SelectContent overflow="hidden">
|
|
@@ -103,7 +103,7 @@ export const Textarea = vui<'div', TextareaProps>((props, ref) => {
|
|
|
103
103
|
}, [value])
|
|
104
104
|
|
|
105
105
|
return (
|
|
106
|
-
<Box className="vui-textareaContainer" column>
|
|
106
|
+
<Box className="vui-textareaContainer" column ref={ref} {...rest}>
|
|
107
107
|
{isString(label) ? (
|
|
108
108
|
<Label
|
|
109
109
|
aria-disabled={disabled}
|
|
@@ -118,13 +118,7 @@ export const Textarea = vui<'div', TextareaProps>((props, ref) => {
|
|
|
118
118
|
) : (
|
|
119
119
|
label
|
|
120
120
|
)}
|
|
121
|
-
<TextareaBase
|
|
122
|
-
className={cs('vui-textarea', className)}
|
|
123
|
-
ref={ref}
|
|
124
|
-
{...styles.container}
|
|
125
|
-
{...aliasedProps}
|
|
126
|
-
{...rest}
|
|
127
|
-
>
|
|
121
|
+
<TextareaBase className={cs('vui-textarea', className)} {...styles.container} {...aliasedProps}>
|
|
128
122
|
<TextareaTextarea
|
|
129
123
|
className="vui-textareaTextarea"
|
|
130
124
|
ref={textareaRef}
|