@ultraviolet/ui 1.61.0 → 1.61.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.
Files changed (32) hide show
  1. package/dist/components/DateInput/index.cjs +3 -3
  2. package/dist/components/DateInput/index.js +3 -3
  3. package/dist/components/SearchInput/index.cjs +3 -3
  4. package/dist/components/SearchInput/index.js +3 -3
  5. package/dist/components/SearchInput/types.d.ts +2 -1
  6. package/dist/components/SelectInputV2/SearchBarDropdown.cjs +2 -2
  7. package/dist/components/SelectInputV2/SearchBarDropdown.js +2 -2
  8. package/dist/components/Slider/components/DoubleSlider.cjs +280 -0
  9. package/dist/components/Slider/{DoubleSlider.d.ts → components/DoubleSlider.d.ts} +1 -1
  10. package/dist/components/Slider/components/DoubleSlider.js +278 -0
  11. package/dist/components/Slider/{Label.cjs → components/Label.cjs} +2 -2
  12. package/dist/components/Slider/{Label.d.ts → components/Label.d.ts} +1 -1
  13. package/dist/components/Slider/{Label.js → components/Label.js} +2 -2
  14. package/dist/components/Slider/{Options.cjs → components/Options.cjs} +3 -3
  15. package/dist/components/Slider/{Options.d.ts → components/Options.d.ts} +1 -1
  16. package/dist/components/Slider/{Options.js → components/Options.js} +3 -3
  17. package/dist/components/Slider/components/SingleSlider.cjs +207 -0
  18. package/dist/components/Slider/{SingleSlider.d.ts → components/SingleSlider.d.ts} +1 -1
  19. package/dist/components/Slider/components/SingleSlider.js +205 -0
  20. package/dist/components/Slider/index.cjs +2 -2
  21. package/dist/components/Slider/index.js +2 -2
  22. package/dist/components/Slider/styles.cjs +12 -12
  23. package/dist/components/Slider/styles.d.ts +1 -1
  24. package/dist/components/Slider/styles.js +12 -12
  25. package/dist/components/TextInputV2/index.cjs +28 -12
  26. package/dist/components/TextInputV2/index.d.ts +6 -3
  27. package/dist/components/TextInputV2/index.js +29 -13
  28. package/package.json +6 -6
  29. package/dist/components/Slider/DoubleSlider.cjs +0 -280
  30. package/dist/components/Slider/DoubleSlider.js +0 -278
  31. package/dist/components/Slider/SingleSlider.cjs +0 -207
  32. package/dist/components/Slider/SingleSlider.js +0 -205
@@ -46,7 +46,9 @@ export declare const StyledInput: import("@emotion/styled").StyledComponent<{
46
46
  'data-size': TextInputSize;
47
47
  }, import("react").DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>;
48
48
  /**
49
- * This component offers an extended input HTML
49
+ * This component offers an extended input HTML. The component can be controlled or uncontrolled.
50
+ * To control the component, you need to pass the value and the `onChange` function.
51
+ * If you don't pass the `onChange` function, the component will be uncontrolled and you can set the default value using `defaultValue`
50
52
  */
51
53
  export declare const TextInputV2: import("react").ForwardRefExoticComponent<{
52
54
  className?: string;
@@ -60,7 +62,6 @@ export declare const TextInputV2: import("react").ForwardRefExoticComponent<{
60
62
  minLength?: number;
61
63
  maxLength?: number;
62
64
  onRandomize?: () => void;
63
- onChange?: (newValue: string) => void;
64
65
  prefix?: ReactNode;
65
66
  size?: TextInputSize;
66
67
  success?: string | boolean;
@@ -68,5 +69,7 @@ export declare const TextInputV2: import("react").ForwardRefExoticComponent<{
68
69
  tooltip?: string;
69
70
  type?: "text" | "password" | "url" | "email";
70
71
  value?: string;
71
- } & Pick<InputHTMLAttributes<HTMLInputElement>, "role" | "autoFocus" | "id" | "tabIndex" | "aria-atomic" | "aria-label" | "aria-labelledby" | "aria-live" | "onFocus" | "onBlur" | "onKeyDown" | "name" | "disabled" | "autoComplete" | "placeholder" | "readOnly" | "required"> & import("react").RefAttributes<HTMLInputElement>>;
72
+ defaultValue?: string;
73
+ onChangeValue?: (value: string) => void;
74
+ } & Pick<InputHTMLAttributes<HTMLInputElement>, "role" | "autoFocus" | "id" | "tabIndex" | "aria-atomic" | "aria-label" | "aria-labelledby" | "aria-live" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "name" | "disabled" | "autoComplete" | "placeholder" | "readOnly" | "required"> & import("react").RefAttributes<HTMLInputElement>>;
72
75
  export {};