@synerise/ds-input 2.0.4 → 2.0.5

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
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.0.5](https://github.com/synerise/synerise-design/compare/@synerise/ds-input@2.0.4...@synerise/ds-input@2.0.5) (2026-09-18)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-input
9
+
10
+
11
+
12
+
13
+
6
14
  ## [2.0.4](https://github.com/synerise/synerise-design/compare/@synerise/ds-input@2.0.3...@synerise/ds-input@2.0.4) (2026-09-16)
7
15
 
8
16
  **Note:** Version bump only for package @synerise/ds-input
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { forwardRef, useRef } from "react";
3
2
  import { useMergeRefs } from "@floating-ui/react";
3
+ import { forwardRef, useRef } from "react";
4
4
  import { useAutosizeWidth, SIZER_STYLE } from "./useAutosizeWidth.js";
5
5
  const wrapperBaseStyle = {
6
6
  position: "relative",
package/dist/Input.js CHANGED
@@ -1,16 +1,16 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
+ import { useMergeRefs } from "@floating-ui/react";
2
3
  import { forwardRef, useMemo, useRef, useState, useEffect, useCallback } from "react";
3
4
  import { v4 } from "uuid";
4
- import { useMergeRefs } from "@floating-ui/react";
5
5
  import FormField from "@synerise/ds-form-field";
6
6
  import Icon, { CloseS } from "@synerise/ds-icon";
7
7
  import { useAutosizeWidth, SIZER_STYLE } from "./AutosizeInput/useAutosizeWidth.js";
8
8
  import { useStretchToFit } from "./AutosizeInput/useStretchToFit.js";
9
- import { NativeInput, OuterWrapper, InputWrapper, InnerAffix, ClearButton, InputGroupRow, Addon } from "./Input.styles.js";
10
9
  import { ElementIcons } from "./components/ElementIcons.js";
11
10
  import { ExpandableWrapper } from "./components/ExpandableWrapper.js";
12
11
  import { useElementFocus } from "./hooks/useElementFocus.js";
13
12
  import { useCounterLimit } from "./hooks/useCounterLimit.js";
13
+ import { NativeInput, OuterWrapper, InputWrapper, InnerAffix, ClearButton, InputGroupRow, Addon } from "./Input.styles.js";
14
14
  import { getCharCount } from "./utils/getCharCount.js";
15
15
  import { default as default2 } from "./InputGroup.js";
16
16
  import { default as default3 } from "./InputMultivalue/InputMultivalue.js";
package/dist/TextArea.js CHANGED
@@ -2,11 +2,11 @@ import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { useMemo, useRef, useEffect, useCallback } from "react";
3
3
  import { v4 } from "uuid";
4
4
  import FormField from "@synerise/ds-form-field";
5
- import { RawTextArea as RawTextArea$1, OuterWrapper, InputWrapper } from "./Input.styles.js";
6
- import { RawTextArea as RawTextArea$2 } from "./Textarea/Textarea.js";
7
5
  import { ElementIcons } from "./components/ElementIcons.js";
8
6
  import { useElementFocus } from "./hooks/useElementFocus.js";
9
7
  import { useCounterLimit } from "./hooks/useCounterLimit.js";
8
+ import { RawTextArea as RawTextArea$1, OuterWrapper, InputWrapper } from "./Input.styles.js";
9
+ import { RawTextArea as RawTextArea$2 } from "./Textarea/Textarea.js";
10
10
  import { getCharCount } from "./utils/getCharCount.js";
11
11
  const TextArea = ({
12
12
  className,
@@ -1,9 +1,9 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { forwardRef, useState, useRef } from "react";
3
2
  import { useMergeRefs } from "@floating-ui/react";
3
+ import { forwardRef, useState, useRef } from "react";
4
4
  import Scrollbar from "@synerise/ds-scrollbar";
5
- import { RawTextArea as RawTextArea$1 } from "../Input.styles.js";
6
5
  import { useTextareaAutosize } from "../hooks/useTextareaAutosize.js";
6
+ import { RawTextArea as RawTextArea$1 } from "../Input.styles.js";
7
7
  import { TextareaWrapper } from "./Textarea.styles.js";
8
8
  const resolveRows = (autoSize) => typeof autoSize === "object" ? autoSize : void 0;
9
9
  const RawTextArea = forwardRef(({
package/dist/index.d.ts CHANGED
@@ -2,20 +2,20 @@
2
2
  * @deprecated - import { FormFieldLabel } from '@synerise/ds-form-field';
3
3
  */
4
4
  export { FormFieldLabel as Label } from '@synerise/ds-form-field';
5
- export { Input, RawInput, InputGroup, InputMultivalue } from './Input';
6
- export { TextArea, RawTextArea } from './TextArea';
7
- export { RawTextArea as DSRawTextArea } from './Textarea/Textarea';
8
- export type { TextareaProps } from './TextArea.types';
9
- export type { RawTextAreaProps } from './Textarea/Textarea.types';
10
- export type { InputMultivalueProps } from './InputMultivalue/InputMultivalue.types';
11
- export * as InputStyles from './Input.styles';
12
- export type { BaseProps, EnhancedProps, InputProps, InputSize, AutoResizeProp, StyledInput, } from './Input.types';
13
5
  export { default as AutosizeInput } from './AutosizeInput/AutosizeInput';
14
6
  export type { AutosizeInputProps } from './AutosizeInput/AutosizeInput.types';
15
- export { useAutosizeWidth, SIZER_STYLE, } from './AutosizeInput/useAutosizeWidth';
7
+ export { SIZER_STYLE, useAutosizeWidth, } from './AutosizeInput/useAutosizeWidth';
16
8
  export type { UseAutosizeWidthParams, UseAutosizeWidthResult, } from './AutosizeInput/useAutosizeWidth.types';
17
- export { useStretchToFit } from './AutosizeInput/useStretchToFit';
18
9
  export type { UseStretchToFitParams } from './AutosizeInput/useStretchToFit';
10
+ export { useStretchToFit } from './AutosizeInput/useStretchToFit';
11
+ export { Input, InputGroup, InputMultivalue, RawInput } from './Input';
12
+ export * as InputStyles from './Input.styles';
19
13
  export { autoresizeConfObjToCss } from './Input.styles';
14
+ export type { AutoResizeProp, BaseProps, EnhancedProps, InputProps, InputSize, StyledInput, } from './Input.types';
15
+ export type { InputMultivalueProps } from './InputMultivalue/InputMultivalue.types';
20
16
  export { PasswordInput } from './PasswordInput';
21
17
  export type { PasswordInputProps, PasswordInputTexts, } from './PasswordInput.types';
18
+ export { RawTextArea, TextArea } from './TextArea';
19
+ export type { TextareaProps } from './TextArea.types';
20
+ export { RawTextArea as DSRawTextArea } from './Textarea/Textarea';
21
+ export type { RawTextAreaProps } from './Textarea/Textarea.types';
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { FormFieldLabel } from "@synerise/ds-form-field";
2
- import { Input, RawInput } from "./Input.js";
3
- import { RawTextArea, TextArea } from "./TextArea.js";
4
- import { RawTextArea as RawTextArea2 } from "./Textarea/Textarea.js";
5
- import * as Input_styles from "./Input.styles.js";
6
- import { autoresizeConfObjToCss } from "./Input.styles.js";
7
2
  import { default as default2 } from "./AutosizeInput/AutosizeInput.js";
8
3
  import { SIZER_STYLE, useAutosizeWidth } from "./AutosizeInput/useAutosizeWidth.js";
9
4
  import { useStretchToFit } from "./AutosizeInput/useStretchToFit.js";
5
+ import { Input, RawInput } from "./Input.js";
6
+ import * as Input_styles from "./Input.styles.js";
7
+ import { autoresizeConfObjToCss } from "./Input.styles.js";
10
8
  import { PasswordInput } from "./PasswordInput.js";
9
+ import { RawTextArea, TextArea } from "./TextArea.js";
10
+ import { RawTextArea as RawTextArea2 } from "./Textarea/Textarea.js";
11
11
  import { default as default3 } from "./InputGroup.js";
12
12
  import { default as default4 } from "./InputMultivalue/InputMultivalue.js";
13
13
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-input",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "Input UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "synerise/synerise-design",
@@ -40,11 +40,11 @@
40
40
  "types": "dist/index.d.ts",
41
41
  "dependencies": {
42
42
  "@floating-ui/react": "^0.27.16",
43
- "@synerise/ds-form-field": "^2.0.3",
44
- "@synerise/ds-icon": "^2.1.1",
45
- "@synerise/ds-scrollbar": "^2.0.2",
46
- "@synerise/ds-tooltip": "^2.0.3",
47
- "@synerise/ds-utils": "^2.1.0",
43
+ "@synerise/ds-form-field": "^2.0.4",
44
+ "@synerise/ds-icon": "^2.1.2",
45
+ "@synerise/ds-scrollbar": "^2.0.3",
46
+ "@synerise/ds-tooltip": "^2.0.4",
47
+ "@synerise/ds-utils": "^2.1.1",
48
48
  "classnames": "^2.3.2",
49
49
  "csstype": "^2.6.9",
50
50
  "uuid": "^8.3.2"
@@ -59,5 +59,5 @@
59
59
  "styled-components": "^5.3.3",
60
60
  "vitest": "4"
61
61
  },
62
- "gitHead": "71f08fdaba8e7b80731e29a03883dc6a33f2b9db"
62
+ "gitHead": "b1d905617dfb186b5d80966d63ce55bf29df743d"
63
63
  }