@dynamic-framework/ui-react 1.32.2 → 1.33.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/index.js CHANGED
@@ -562,31 +562,37 @@ function DInput(_a, ref) {
562
562
  }
563
563
  const ForwardedDInput = React.forwardRef(DInput);
564
564
  ForwardedDInput.displayName = 'DInput';
565
- var DInput$1 = ForwardedDInput;
566
565
 
567
566
  function DDatePickerTime(_a) {
568
567
  var { value, onChange, id, label, className, style } = _a, props = tslib.__rest(_a, ["value", "onChange", "id", "label", "className", "style"]);
569
- return (jsxRuntime.jsxs("div", { className: classNames('d-flex align-items-center gap-2 flex-column d-datepicker-time', className), style: style, children: [label && (jsxRuntime.jsx("label", { htmlFor: id, className: "d-datepicker-time-label", children: label })), jsxRuntime.jsx(DInput$1, Object.assign({ className: "w-100" }, onChange && {
568
+ return (jsxRuntime.jsxs("div", { className: classNames('d-flex align-items-center gap-2 flex-column d-datepicker-time', className), style: style, children: [label && (jsxRuntime.jsx("label", { htmlFor: id, className: "d-datepicker-time-label", children: label })), jsxRuntime.jsx(ForwardedDInput, Object.assign({ className: "w-100" }, onChange && {
570
569
  onChange,
571
570
  }, { type: "time", id: id, value: value }, props))] }));
572
571
  }
573
572
 
574
573
  function DDatePickerInput(_a, ref) {
575
574
  var { value, onClick, id, iconEnd, className, style, inputLabel, readOnly: ignored } = _a, props = tslib.__rest(_a, ["value", "onClick", "id", "iconEnd", "className", "style", "inputLabel", "readOnly"]);
576
- return (jsxRuntime.jsx(DInput$1, Object.assign({ ref: ref, onClick: onClick, readOnly: true, type: "text", id: id, value: value, onIconEndClick: onClick, iconEnd: iconEnd, className: className, style: style, label: inputLabel }, props)));
575
+ return (jsxRuntime.jsx(ForwardedDInput, Object.assign({ ref: ref, onClick: onClick, readOnly: true, type: "text", id: id, value: value, onIconEndClick: onClick, iconEnd: iconEnd, className: className, style: style, label: inputLabel }, props)));
577
576
  }
578
577
  const ForwardedDDatePickerInput = React.forwardRef(DDatePickerInput);
579
578
  ForwardedDDatePickerInput.displayName = 'DDatePickerInput';
580
- var DDatePickerInput$1 = ForwardedDDatePickerInput;
581
579
 
582
580
  function DInputCheck(_a) {
583
- var { id: idProp, type, name, label, ariaLabel, checked = false, disabled = false, invalid = false, valid = false, indeterminate, value, onChange, className, style, dataAttributes } = _a, props = tslib.__rest(_a, ["id", "type", "name", "label", "ariaLabel", "checked", "disabled", "invalid", "valid", "indeterminate", "value", "onChange", "className", "style", "dataAttributes"]);
581
+ var { id: idProp, type, name, label, ariaLabel, checked = false, disabled = false, invalid = false, valid = false, indeterminate, value, hint, onChange, className, style, dataAttributes } = _a, props = tslib.__rest(_a, ["id", "type", "name", "label", "ariaLabel", "checked", "disabled", "invalid", "valid", "indeterminate", "value", "hint", "onChange", "className", "style", "dataAttributes"]);
584
582
  const innerRef = React.useRef(null);
585
583
  const innerId = React.useId();
586
584
  const id = React.useMemo(() => idProp || innerId, [idProp, innerId]);
587
585
  const handleChange = React.useCallback((event) => {
588
586
  onChange === null || onChange === void 0 ? void 0 : onChange(event);
589
587
  }, [onChange]);
588
+ const ariaDescribedby = React.useMemo(() => ([
589
+ !!hint && `${id}Hint`,
590
+ ]
591
+ .filter(Boolean)
592
+ .join(' ')), [
593
+ id,
594
+ hint,
595
+ ]);
590
596
  React.useEffect(() => {
591
597
  if (innerRef.current) {
592
598
  innerRef.current.indeterminate = Boolean(indeterminate);
@@ -600,24 +606,25 @@ function DInputCheck(_a) {
600
606
  const inputComponent = React.useMemo(() => (jsxRuntime.jsx("input", Object.assign({ ref: innerRef, onChange: handleChange, className: classNames('form-check-input', {
601
607
  'is-invalid': invalid,
602
608
  'is-valid': valid,
603
- }, className), style: style, id: id, disabled: disabled, type: type, name: name, value: value, "aria-label": ariaLabel }, props))), [
604
- ariaLabel,
605
- className,
606
- disabled,
607
- valid,
608
- props,
609
- invalid,
609
+ }, className), style: style, id: id, disabled: disabled, type: type, name: name, value: value, "aria-label": ariaLabel }, ariaDescribedby && { 'aria-describedby': ariaDescribedby }, props))), [
610
610
  handleChange,
611
- id,
612
- name,
611
+ invalid,
612
+ valid,
613
+ className,
613
614
  style,
615
+ id,
616
+ disabled,
614
617
  type,
618
+ name,
615
619
  value,
620
+ ariaLabel,
621
+ ariaDescribedby,
622
+ props,
616
623
  ]);
617
624
  if (!label) {
618
625
  return inputComponent;
619
626
  }
620
- return (jsxRuntime.jsxs("div", Object.assign({ className: "form-check" }, dataAttributes, { children: [inputComponent, jsxRuntime.jsx("label", { className: "form-check-label", htmlFor: id, children: label })] })));
627
+ return (jsxRuntime.jsxs("div", Object.assign({ className: "form-check" }, dataAttributes, { children: [inputComponent, jsxRuntime.jsx("label", { className: "form-check-label", htmlFor: id, children: label }), hint && (jsxRuntime.jsx("div", { className: "form-text", id: `${id}Hint`, children: hint }))] })));
621
628
  }
622
629
 
623
630
  function DSelectOptionCheck(_a) {
@@ -688,8 +695,17 @@ function DSelectSingleValueEmojiText(_a) {
688
695
  }), getValue: getValue }, props, { children: [jsxRuntime.jsx("span", { children: value.emoji }), jsxRuntime.jsx("span", { children: children })] })));
689
696
  }
690
697
 
698
+ function DSelectPlaceholder(_a) {
699
+ var { selectProps, innerProps: innerPropsProp, children } = _a, props = tslib.__rest(_a, ["selectProps", "innerProps", "children"]);
700
+ const id = React.useMemo(() => `${selectProps.inputId}Placeholder`, [selectProps.inputId]);
701
+ const innerProps = React.useMemo(() => (Object.assign(Object.assign({}, innerPropsProp), { id })), [innerPropsProp, id]);
702
+ return (jsxRuntime.jsx(Select.components.Placeholder, Object.assign({ innerProps: innerProps, selectProps: selectProps }, props, { children: children })));
703
+ }
704
+
691
705
  function DSelect(_a) {
692
- var { id, className, style, label, labelIcon, labelIconFamilyClass, labelIconFamilyPrefix, hint, iconFamilyClass, iconFamilyPrefix, iconStart, iconStartFamilyClass, iconStartFamilyPrefix, iconStartAriaLabel, iconStartTabIndex, iconEnd, iconEndFamilyClass, iconEndFamilyPrefix, iconEndAriaLabel, iconEndTabIndex, invalid, valid, menuWithMaxContent = false, disabled, clearable, loading, rtl, searchable, multi, components, defaultValue, onIconStartClick, onIconEndClick, dataAttributes } = _a, props = tslib.__rest(_a, ["id", "className", "style", "label", "labelIcon", "labelIconFamilyClass", "labelIconFamilyPrefix", "hint", "iconFamilyClass", "iconFamilyPrefix", "iconStart", "iconStartFamilyClass", "iconStartFamilyPrefix", "iconStartAriaLabel", "iconStartTabIndex", "iconEnd", "iconEndFamilyClass", "iconEndFamilyPrefix", "iconEndAriaLabel", "iconEndTabIndex", "invalid", "valid", "menuWithMaxContent", "disabled", "clearable", "loading", "rtl", "searchable", "multi", "components", "defaultValue", "onIconStartClick", "onIconEndClick", "dataAttributes"]);
706
+ var { id: idProp, className, style, label, labelIcon, labelIconFamilyClass, labelIconFamilyPrefix, hint, iconFamilyClass, iconFamilyPrefix, iconStart, iconStartFamilyClass, iconStartFamilyPrefix, iconStartAriaLabel, iconStartTabIndex, iconEnd, iconEndFamilyClass, iconEndFamilyPrefix, iconEndAriaLabel, iconEndTabIndex, invalid, valid, menuWithMaxContent = false, disabled, clearable, loading, rtl, searchable, multi, components, defaultValue, placeholder, onIconStartClick, onIconEndClick, dataAttributes } = _a, props = tslib.__rest(_a, ["id", "className", "style", "label", "labelIcon", "labelIconFamilyClass", "labelIconFamilyPrefix", "hint", "iconFamilyClass", "iconFamilyPrefix", "iconStart", "iconStartFamilyClass", "iconStartFamilyPrefix", "iconStartAriaLabel", "iconStartTabIndex", "iconEnd", "iconEndFamilyClass", "iconEndFamilyPrefix", "iconEndAriaLabel", "iconEndTabIndex", "invalid", "valid", "menuWithMaxContent", "disabled", "clearable", "loading", "rtl", "searchable", "multi", "components", "defaultValue", "placeholder", "onIconStartClick", "onIconEndClick", "dataAttributes"]);
707
+ const innerId = React.useId();
708
+ const id = React.useMemo(() => idProp || innerId, [idProp, innerId]);
693
709
  const handleOnIconStartClick = React.useCallback(() => {
694
710
  onIconStartClick === null || onIconStartClick === void 0 ? void 0 : onIconStartClick(defaultValue);
695
711
  }, [onIconStartClick, defaultValue]);
@@ -702,14 +718,14 @@ function DSelect(_a) {
702
718
  'input-group': true,
703
719
  'has-validation': invalid,
704
720
  disabled: disabled || loading,
705
- }), children: [iconStart && (jsxRuntime.jsx("button", { type: "button", className: "input-group-text", id: `${id}Start`, onClick: handleOnIconStartClick, disabled: disabled || loading, "aria-label": iconStartAriaLabel, tabIndex: iconStartTabIndex, children: jsxRuntime.jsx(DIcon, { icon: iconStart, familyClass: iconStartFamilyClass, familyPrefix: iconStartFamilyPrefix }) })), jsxRuntime.jsx(Select, Object.assign({ styles: {
721
+ }), children: [iconStart && (jsxRuntime.jsx("button", { type: "button", className: "input-group-text", id: `${id}Start`, onClick: handleOnIconStartClick, disabled: disabled || loading, "aria-label": iconStartAriaLabel, tabIndex: iconStartTabIndex, children: jsxRuntime.jsx(DIcon, { icon: iconStart, familyClass: iconStartFamilyClass, familyPrefix: iconStartFamilyPrefix }) })), jsxRuntime.jsx(Select, Object.assign({ id: `${id}Container`, inputId: id, styles: {
706
722
  control: (base) => (Object.assign(Object.assign({}, base), { minHeight: 'unset' })),
707
723
  container: (base) => (Object.assign(Object.assign({}, base), { flex: 1 })),
708
724
  menu: (base) => (Object.assign(Object.assign({}, base), { width: menuWithMaxContent ? 'max-context' : '100%', zIndex: 1000 })),
709
725
  }, className: classNames('d-select-component', {
710
726
  'is-invalid': invalid,
711
727
  'is-valid': valid,
712
- }), classNamePrefix: "d-select", isDisabled: disabled || loading, isClearable: clearable, isLoading: loading, isRtl: rtl, isSearchable: searchable, isMulti: multi, defaultValue: defaultValue, unstyled: true, components: Object.assign({ DropdownIndicator: DSelectDropdownIndicator, ClearIndicator: DSelectClearIndicator, MultiValueRemove: DSelectMultiValueRemove, LoadingIndicator: DSelectLoadingIndicator }, components) }, props)), (iconEnd && !loading) && (jsxRuntime.jsx("button", { type: "button", className: "input-group-text", id: `${id}End`, onClick: handleOnIconEndClick, disabled: disabled || loading, "aria-label": iconEndAriaLabel, tabIndex: iconEndTabIndex, children: iconEnd && (jsxRuntime.jsx(DIcon, { icon: iconEnd, familyClass: iconEndFamilyClass, familyPrefix: iconEndFamilyPrefix })) }))] }), hint && (jsxRuntime.jsx("div", { className: "form-text", id: `${id}Hint`, children: hint }))] })));
728
+ }), classNamePrefix: "d-select", isDisabled: disabled || loading, isClearable: clearable, isLoading: loading, isRtl: rtl, isSearchable: searchable, isMulti: multi, defaultValue: defaultValue, placeholder: placeholder, unstyled: true, components: Object.assign({ Placeholder: DSelectPlaceholder, DropdownIndicator: DSelectDropdownIndicator, ClearIndicator: DSelectClearIndicator, MultiValueRemove: DSelectMultiValueRemove, LoadingIndicator: DSelectLoadingIndicator }, components) }, props)), (iconEnd && !loading) && (jsxRuntime.jsx("button", { type: "button", className: "input-group-text", id: `${id}End`, onClick: handleOnIconEndClick, disabled: disabled || loading, "aria-label": iconEndAriaLabel, tabIndex: iconEndTabIndex, children: iconEnd && (jsxRuntime.jsx(DIcon, { icon: iconEnd, familyClass: iconEndFamilyClass, familyPrefix: iconEndFamilyPrefix })) }))] }), hint && (jsxRuntime.jsx("div", { className: "form-text", id: `${id}Hint`, children: hint }))] })));
713
729
  }
714
730
  var DSelect$1 = Object.assign(DSelect, {
715
731
  OptionCheck: DSelectOptionCheck,
@@ -722,6 +738,7 @@ var DSelect$1 = Object.assign(DSelect, {
722
738
  OptionEmoji: DSelectOptionEmoji,
723
739
  SingleValueEmoji: DSelectSingleValueEmoji,
724
740
  SingleValueEmojiText: DSelectSingleValueEmojiText,
741
+ Placeholder: DSelectPlaceholder,
725
742
  });
726
743
 
727
744
  function DDatePickerHeader({ date, changeYear, changeMonth, decreaseMonth, increaseMonth, prevMonthButtonDisabled, nextMonthButtonDisabled, iconPrevMonth, iconNextMonth, iconFamilyClass, iconFamilyPrefix, iconMaterialStyle, prevMonthAriaLabel = 'decrease month', nextMonthAriaLabel = 'increase month', iconSize, buttonVariant, buttonTheme, locale, style, className, minYearSelect, maxYearSelect, }) {
@@ -771,15 +788,14 @@ function DDatePicker(_a) {
771
788
  ]);
772
789
  const defaultRenderCustomHeader = React.useCallback((headerProps) => (jsxRuntime.jsx(DatePickerHeader, Object.assign({}, headerProps))), [DatePickerHeader]);
773
790
  const renderCustomHeader = React.useMemo(() => (renderCustomHeaderProp || defaultRenderCustomHeader), [defaultRenderCustomHeader, renderCustomHeaderProp]);
774
- return (jsxRuntime.jsx(DatePicker, Object.assign({ selected: selected, calendarClassName: "d-date-picker", renderCustomHeader: renderCustomHeader, selectsRange: selectsRange, formatWeekDay: handleFormatWeekDay, customInput: (jsxRuntime.jsx(DDatePickerInput$1, { id: inputId, "aria-label": inputAriaLabel, iconEndAriaLabel: inputActionAriaLabel, iconMaterialStyle: iconMaterialStyleProp, iconEnd: iconInput, inputLabel: inputLabel, className: className, style: style, invalid: invalid, valid: valid, hint: inputHint })), customTimeInput: (jsxRuntime.jsx(DDatePickerTime, { id: timeId, label: timeLabel })), placeholderText: placeholder }, locale && { locale }, dataAttributes, props)));
791
+ return (jsxRuntime.jsx(DatePicker, Object.assign({ selected: selected, calendarClassName: "d-date-picker", renderCustomHeader: renderCustomHeader, selectsRange: selectsRange, formatWeekDay: handleFormatWeekDay, customInput: (jsxRuntime.jsx(ForwardedDDatePickerInput, { id: inputId, "aria-label": inputAriaLabel, iconEndAriaLabel: inputActionAriaLabel, iconMaterialStyle: iconMaterialStyleProp, iconEnd: iconInput, inputLabel: inputLabel, className: className, style: style, invalid: invalid, valid: valid, hint: inputHint })), customTimeInput: (jsxRuntime.jsx(DDatePickerTime, { id: timeId, label: timeLabel })), placeholderText: placeholder }, locale && { locale }, dataAttributes, props)));
775
792
  }
776
793
 
777
794
  function DInputMask(props, ref) {
778
- return (jsxRuntime.jsx(mask.InputMask, Object.assign({ ref: ref, component: DInput$1 }, props)));
795
+ return (jsxRuntime.jsx(mask.InputMask, Object.assign({ ref: ref, component: ForwardedDInput }, props)));
779
796
  }
780
797
  const ForwardedDInputMask = React.forwardRef(DInputMask);
781
798
  ForwardedDInputMask.displayName = 'DInputMask';
782
- var DInputMask$1 = ForwardedDInputMask;
783
799
 
784
800
  function formatValue(value, currencyOptions) {
785
801
  if (value === undefined) {
@@ -908,7 +924,7 @@ function DInputCounter(_a, ref) {
908
924
  const { iconMap: { input } } = useDContext();
909
925
  const iconEnd = React.useMemo(() => iconEndProp || input.increase, [iconEndProp, input.increase]);
910
926
  const iconStart = React.useMemo(() => iconStartProp || input.decrease, [iconStartProp, input.decrease]);
911
- return (jsxRuntime.jsx(DInput$1, Object.assign({ ref: inputRef, value: valueString, style: generateStyleVariables, iconStart: iconStart, iconEnd: iconEnd, invalid: internalIsInvalid || invalid, type: "number", onChange: handleOnChange, onWheel: handleOnWheel, onIconStartClick: handleOnIconStartClick, onIconEndClick: handleOnIconEndClick, iconStartAriaLabel: iconStartAriaLabel, iconEndAriaLabel: iconEndAriaLabel }, internalValue === minValue && {
927
+ return (jsxRuntime.jsx(ForwardedDInput, Object.assign({ ref: inputRef, value: valueString, style: generateStyleVariables, iconStart: iconStart, iconEnd: iconEnd, invalid: internalIsInvalid || invalid, type: "number", onChange: handleOnChange, onWheel: handleOnWheel, onIconStartClick: handleOnIconStartClick, onIconEndClick: handleOnIconEndClick, iconStartAriaLabel: iconStartAriaLabel, iconEndAriaLabel: iconEndAriaLabel }, internalValue === minValue && {
912
928
  iconStartDisabled: true,
913
929
  }, internalValue === maxValue && {
914
930
  iconEndDisabled: true,
@@ -916,7 +932,6 @@ function DInputCounter(_a, ref) {
916
932
  }
917
933
  const ForwardedDInputCounter = React.forwardRef(DInputCounter);
918
934
  ForwardedDInputCounter.displayName = 'DInputCounter';
919
- var DInputCounter$1 = ForwardedDInputCounter;
920
935
 
921
936
  /**
922
937
  * @deprecated
@@ -925,22 +940,20 @@ function DInputCurrencyBase(_a, ref) {
925
940
  var { value, minValue, maxValue, currencyOptions, currencyCode, onFocus, onBlur, onChange } = _a, inputProps = tslib.__rest(_a, ["value", "minValue", "maxValue", "currencyOptions", "currencyCode", "onFocus", "onBlur", "onChange"]);
926
941
  const { handleOnWheel, } = useDisableInputWheel(ref);
927
942
  const { inputRef, innerValue, innerType, handleOnFocus, handleOnChange, handleOnBlur, generateStyleVariables, generateSymbolStyleVariables, } = useInputCurrency(currencyOptions, value, onFocus, onChange, onBlur, ref);
928
- return (jsxRuntime.jsx(DInput$1, Object.assign({ ref: inputRef, value: innerValue, onChange: handleOnChange, style: generateStyleVariables, inputMode: "decimal", type: innerType, onFocus: handleOnFocus, onBlur: handleOnBlur, onWheel: handleOnWheel, inputStart: (jsxRuntime.jsx("span", { slot: "input-start", style: generateSymbolStyleVariables, children: currencyCode || currencyOptions.symbol })) }, inputProps)));
943
+ return (jsxRuntime.jsx(ForwardedDInput, Object.assign({ ref: inputRef, value: innerValue, onChange: handleOnChange, style: generateStyleVariables, inputMode: "decimal", type: innerType, onFocus: handleOnFocus, onBlur: handleOnBlur, onWheel: handleOnWheel, inputStart: (jsxRuntime.jsx("span", { slot: "input-start", style: generateSymbolStyleVariables, children: currencyCode || currencyOptions.symbol })) }, inputProps)));
929
944
  }
930
945
  const ForwardedDInputCurrencyBase$1 = React.forwardRef(DInputCurrencyBase);
931
946
  ForwardedDInputCurrencyBase$1.displayName = 'DInputCurrencyBase';
932
- var DInputCurrencyBase$1 = ForwardedDInputCurrencyBase$1;
933
947
 
934
948
  function DInputCurrency(_a, ref) {
935
949
  var { value, minValue, maxValue, currencyCode, onFocus, onBlur, onChange } = _a, props = tslib.__rest(_a, ["value", "minValue", "maxValue", "currencyCode", "onFocus", "onBlur", "onChange"]);
936
950
  const { currency: currencyOptions } = useDContext();
937
951
  const { handleOnWheel, } = useDisableInputWheel(ref);
938
952
  const { inputRef, innerValue, innerType, handleOnFocus, handleOnChange, handleOnBlur, generateStyleVariables, generateSymbolStyleVariables, } = useInputCurrency(currencyOptions, value, onFocus, onChange, onBlur, ref);
939
- return (jsxRuntime.jsx(DInput$1, Object.assign({ ref: inputRef, value: innerValue, onChange: handleOnChange, style: generateStyleVariables, inputMode: "decimal", type: innerType, onFocus: handleOnFocus, onBlur: handleOnBlur, onWheel: handleOnWheel, inputStart: (jsxRuntime.jsx("span", { slot: "input-start", style: generateSymbolStyleVariables, children: currencyCode || currencyOptions.symbol })) }, props)));
953
+ return (jsxRuntime.jsx(ForwardedDInput, Object.assign({ ref: inputRef, value: innerValue, onChange: handleOnChange, style: generateStyleVariables, inputMode: "decimal", type: innerType, onFocus: handleOnFocus, onBlur: handleOnBlur, onWheel: handleOnWheel, inputStart: (jsxRuntime.jsx("span", { slot: "input-start", style: generateSymbolStyleVariables, children: currencyCode || currencyOptions.symbol })) }, props)));
940
954
  }
941
955
  const ForwardedDInputCurrencyBase = React.forwardRef(DInputCurrency);
942
956
  ForwardedDInputCurrencyBase.displayName = 'DInputCurrency';
943
- var DInputCurrency$1 = ForwardedDInputCurrencyBase;
944
957
 
945
958
  /**
946
959
  * @deprecated
@@ -948,11 +961,10 @@ var DInputCurrency$1 = ForwardedDInputCurrencyBase;
948
961
  function DInputSearch(_a, ref) {
949
962
  var { type, iconEnd: iconEndProp, iconEndAriaLabel = 'search' } = _a, props = tslib.__rest(_a, ["type", "iconEnd", "iconEndAriaLabel"]);
950
963
  const inputRef = useProvidedRefOrCreate(ref);
951
- return (jsxRuntime.jsx(DInput$1, Object.assign({ ref: inputRef, type: "text", iconEnd: "search", iconEndAriaLabel: iconEndAriaLabel }, props)));
964
+ return (jsxRuntime.jsx(ForwardedDInput, Object.assign({ ref: inputRef, type: "text", iconEnd: "search", iconEndAriaLabel: iconEndAriaLabel }, props)));
952
965
  }
953
966
  const ForwardedDInputSearch = React.forwardRef(DInputSearch);
954
967
  ForwardedDInputSearch.displayName = 'DInputSearch';
955
- var DInputSearch$1 = ForwardedDInputSearch;
956
968
 
957
969
  function DInputPassword(_a, ref) {
958
970
  var { onIconEndClick, iconEndAriaLabel = 'show/hide password' } = _a, props = tslib.__rest(_a, ["onIconEndClick", "iconEndAriaLabel"]);
@@ -964,11 +976,10 @@ function DInputPassword(_a, ref) {
964
976
  }, [onIconEndClick]);
965
977
  const { iconMap: { input } } = useDContext();
966
978
  const iconEnd = React.useMemo(() => (!visible ? input.hide : input.show), [input.hide, input.show, visible]);
967
- return (jsxRuntime.jsx(DInput$1, Object.assign({ ref: inputRef, iconEnd: iconEnd, type: !visible ? 'password' : 'text', onIconEndClick: handleOnIconEndClick, iconEndAriaLabel: iconEndAriaLabel }, props)));
979
+ return (jsxRuntime.jsx(ForwardedDInput, Object.assign({ ref: inputRef, iconEnd: iconEnd, type: !visible ? 'password' : 'text', onIconEndClick: handleOnIconEndClick, iconEndAriaLabel: iconEndAriaLabel }, props)));
968
980
  }
969
981
  const ForwardedDInputPassword = React.forwardRef(DInputPassword);
970
982
  ForwardedDInputPassword.displayName = 'DInputPassword';
971
- var DInputPassword$1 = ForwardedDInputPassword;
972
983
 
973
984
  function DInputPin({ id: idProp, label = '', labelIcon, labelIconFamilyClass, labelIconFamilyPrefix, placeholder, type = 'text', disabled = false, loading = false, secret = false, characters = 4, innerInputMode = 'text', hint, invalid = false, valid = false, className, style, dataAttributes, onChange, }) {
974
985
  const innerId = React.useId();
@@ -1184,7 +1195,6 @@ function DInputRange(_a, ref) {
1184
1195
  }
1185
1196
  const ForwardedDInputRange = React.forwardRef(DInputRange);
1186
1197
  ForwardedDInputRange.displayName = 'DInputRange';
1187
- var DInputRange$1 = ForwardedDInputRange;
1188
1198
 
1189
1199
  /**
1190
1200
  * @deprecated Please use DListGroup.Item or DListGroupItem instead
@@ -1749,16 +1759,16 @@ exports.DCurrencyText = DCurrencyText;
1749
1759
  exports.DDatePicker = DDatePicker;
1750
1760
  exports.DIcon = DIcon;
1751
1761
  exports.DIconBase = DIconBase;
1752
- exports.DInput = DInput$1;
1762
+ exports.DInput = ForwardedDInput;
1753
1763
  exports.DInputCheck = DInputCheck;
1754
- exports.DInputCounter = DInputCounter$1;
1755
- exports.DInputCurrency = DInputCurrency$1;
1756
- exports.DInputCurrencyBase = DInputCurrencyBase$1;
1757
- exports.DInputMask = DInputMask$1;
1758
- exports.DInputPassword = DInputPassword$1;
1764
+ exports.DInputCounter = ForwardedDInputCounter;
1765
+ exports.DInputCurrency = ForwardedDInputCurrencyBase;
1766
+ exports.DInputCurrencyBase = ForwardedDInputCurrencyBase$1;
1767
+ exports.DInputMask = ForwardedDInputMask;
1768
+ exports.DInputPassword = ForwardedDInputPassword;
1759
1769
  exports.DInputPin = DInputPin;
1760
- exports.DInputRange = DInputRange$1;
1761
- exports.DInputSearch = DInputSearch$1;
1770
+ exports.DInputRange = ForwardedDInputRange;
1771
+ exports.DInputSearch = ForwardedDInputSearch;
1762
1772
  exports.DInputSelect = DInputSelect;
1763
1773
  exports.DInputSwitch = DInputSwitch;
1764
1774
  exports.DList = DList$1;
@@ -1785,6 +1795,7 @@ exports.DSkeleton = DSkeleton;
1785
1795
  exports.DStepper = DStepper;
1786
1796
  exports.DStepperDesktop = DStepper$2;
1787
1797
  exports.DStepperMobile = DStepper$1;
1798
+ exports.DTabContent = DTabContent;
1788
1799
  exports.DTableHead = DTableHead;
1789
1800
  exports.DTabs = DTabs$1;
1790
1801
  exports.DToast = DToast$1;