@pushwoosh/dumb-components 1.0.21 → 1.0.23
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/NumberPicker/styles.js +1 -1
- package/SortButton/index.d.ts +1 -0
- package/index.d.ts +1 -1
- package/native/Textarea.d.ts +1 -0
- package/native/Textarea.js +7 -1
- package/package.json +1 -1
package/NumberPicker/styles.js
CHANGED
|
@@ -5,7 +5,7 @@ export const InputStyled = styled.input.attrs({
|
|
|
5
5
|
}).withConfig({
|
|
6
6
|
displayName: "InputStyled",
|
|
7
7
|
componentId: "sc-vq8xnz-0"
|
|
8
|
-
})(["
|
|
8
|
+
})(["width:100%;&:disabled{background-color:", ";}"], Color.FROZEN);
|
|
9
9
|
export const Hint = styled.div.withConfig({
|
|
10
10
|
displayName: "Hint",
|
|
11
11
|
componentId: "sc-vq8xnz-1"
|
package/SortButton/index.d.ts
CHANGED
package/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export { Popover } from './Popover';
|
|
|
15
15
|
export { Radio } from './Radio';
|
|
16
16
|
export { ReCaptcha, useRecaptcha, asyncScriptLoad } from './ReCaptcha';
|
|
17
17
|
export { Spinner } from './Spinner';
|
|
18
|
-
export { SortButton } from './SortButton';
|
|
18
|
+
export { SortButton, type SortButtonParams } from './SortButton';
|
|
19
19
|
export { Select, SelectAsync, CreatableSelect, CLASS_NAME_PREFIX, type SelectBase, type MultiSelectOptions, } from './Select';
|
|
20
20
|
export { Switch } from './Switch';
|
|
21
21
|
export { TextSkeleton, RectangularSkeleton, CircularSkeleton } from './Skeleton';
|
package/native/Textarea.d.ts
CHANGED
package/native/Textarea.js
CHANGED
|
@@ -3,6 +3,12 @@ import { Color, FontSize, LineHeight, Spacing, ShapeRadius } from '@pushwoosh/ki
|
|
|
3
3
|
export const NativeTextarea = styled.textarea.withConfig({
|
|
4
4
|
displayName: "NativeTextarea",
|
|
5
5
|
componentId: "sc-1xe83i4-0"
|
|
6
|
-
})(["min-height:56px;padding:", " ", ";border:1px solid ", ";border-radius:", ";font-size:", ";line-height:", ";background-color:", ";&:focus{outline:none;border-color:", ";}&:disabled{background-color:", ";}&::placeholder{color:", ";}"],
|
|
6
|
+
})(["width:", ";min-width:", ";max-width:", ";min-height:56px;padding:", " ", ";border:1px solid ", ";border-radius:", ";font-size:", ";line-height:", ";background-color:", ";&:focus{outline:none;border-color:", ";}&:disabled{background-color:", ";}&::placeholder{color:", ";}"], ({
|
|
7
|
+
$width
|
|
8
|
+
}) => $width || '100%', ({
|
|
9
|
+
$width
|
|
10
|
+
}) => $width || '180px', ({
|
|
11
|
+
$width
|
|
12
|
+
}) => $width || '100%', Spacing.S3, Spacing.S4, ({
|
|
7
13
|
$isErrored
|
|
8
14
|
}) => $isErrored ? Color.DANGER : Color.FORM, ShapeRadius.CONTROL, FontSize.REGULAR, LineHeight.REGULAR, Color.CLEAR, Color.BRIGHT, Color.FROZEN, Color.PHANTOM);
|