@dynamic-framework/ui-react 1.8.0 → 1.8.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.
package/README.md CHANGED
@@ -1,4 +1,8 @@
1
1
  # Dynamic Framework
2
- ## Made with ❤️ by Modyo
3
2
 
4
- Quickly create feature-rich financial applications through a robust micro frontend architecture of React-based components with customizable templates built for integration..
3
+ Quickly create feature-rich financial applications through a robust micro frontend architecture of React-based components with customizable templates built for integration.
4
+
5
+ ## Getting Started
6
+ Please follow the documentation at [dynamicframework.dev](https://dynamicframework.dev/)!
7
+
8
+ **Made with ❤️ by Modyo**
package/dist/index.esm.js CHANGED
@@ -508,9 +508,9 @@ function useProvidedRefOrCreate(providedRef) {
508
508
  function DInput(_a, ref) {
509
509
  var { id, style, className, label = '', labelIcon, labelIconFamilyClass, labelIconFamilyPrefix, disabled = false, readOnly = false, loading = false, iconFamilyClass, iconFamilyPrefix, iconStart, iconStartFamilyClass, iconStartFamilyPrefix, iconEnd, iconEndFamilyClass, iconEndFamilyPrefix, hint, invalid = false, valid = false, inputStart, value, onChange, onIconStartClick, onIconEndClick } = _a, inputProps = __rest(_a, ["id", "style", "className", "label", "labelIcon", "labelIconFamilyClass", "labelIconFamilyPrefix", "disabled", "readOnly", "loading", "iconFamilyClass", "iconFamilyPrefix", "iconStart", "iconStartFamilyClass", "iconStartFamilyPrefix", "iconEnd", "iconEndFamilyClass", "iconEndFamilyPrefix", "hint", "invalid", "valid", "inputStart", "value", "onChange", "onIconStartClick", "onIconEndClick"]);
510
510
  const inputRef = useProvidedRefOrCreate(ref);
511
- const handleOnChange = useCallback(() => {
512
- onChange === null || onChange === void 0 ? void 0 : onChange(value);
513
- }, [onChange, value]);
511
+ const handleOnChange = useCallback((event) => {
512
+ onChange === null || onChange === void 0 ? void 0 : onChange(event.currentTarget.value);
513
+ }, [onChange]);
514
514
  const handleOnIconStartClick = useCallback(() => {
515
515
  onIconStartClick === null || onIconStartClick === void 0 ? void 0 : onIconStartClick(value);
516
516
  }, [onIconStartClick, value]);