@ornikar/kitt-universal 13.3.2 → 13.4.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.
@@ -3778,6 +3778,7 @@ function getCurrentInternalForcedState$1({
3778
3778
  return 'default';
3779
3779
  }
3780
3780
  const InputPart = /*#__PURE__*/react.forwardRef(({
3781
+ id,
3781
3782
  value,
3782
3783
  placeholder,
3783
3784
  disabled,
@@ -3791,6 +3792,7 @@ const InputPart = /*#__PURE__*/react.forwardRef(({
3791
3792
  }, ref) => {
3792
3793
  return /*#__PURE__*/jsxRuntime.jsx(InputText, {
3793
3794
  ref: ref,
3795
+ id: id,
3794
3796
  internalForceState: getCurrentInternalForcedState$1({
3795
3797
  isDisabled: disabled,
3796
3798
  isHoveredInternal,
@@ -3823,9 +3825,9 @@ function PartContainer({
3823
3825
  }
3824
3826
 
3825
3827
  const KeyboardDatePicker = /*#__PURE__*/react.forwardRef(({
3828
+ id,
3826
3829
  value,
3827
3830
  testID,
3828
- id,
3829
3831
  stretch,
3830
3832
  placeholder,
3831
3833
  minDate,
@@ -3891,6 +3893,7 @@ const KeyboardDatePicker = /*#__PURE__*/react.forwardRef(({
3891
3893
  width: "kitt.forms.datePicker.day.minWidth",
3892
3894
  children: /*#__PURE__*/jsxRuntime.jsx(InputPart, {
3893
3895
  ref: ref,
3896
+ id: id ? `${id}-day` : undefined,
3894
3897
  ...sharedInputPartProps,
3895
3898
  placeholder: placeholder?.day,
3896
3899
  value: state.displayedDay,
@@ -3918,6 +3921,7 @@ const KeyboardDatePicker = /*#__PURE__*/react.forwardRef(({
3918
3921
  width: "kitt.forms.datePicker.month.minWidth",
3919
3922
  children: /*#__PURE__*/jsxRuntime.jsx(InputPart, {
3920
3923
  ref: monthRef,
3924
+ id: id ? `${id}-month` : undefined,
3921
3925
  ...sharedInputPartProps,
3922
3926
  placeholder: placeholder?.month,
3923
3927
  value: state.displayedMonth,
@@ -3945,6 +3949,7 @@ const KeyboardDatePicker = /*#__PURE__*/react.forwardRef(({
3945
3949
  width: "kitt.forms.datePicker.year.minWidth",
3946
3950
  children: /*#__PURE__*/jsxRuntime.jsx(InputPart, {
3947
3951
  ref: yearRef,
3952
+ id: id ? `${id}-year` : undefined,
3948
3953
  ...sharedInputPartProps,
3949
3954
  placeholder: placeholder?.year,
3950
3955
  value: state.displayedYear,
@@ -4191,12 +4196,15 @@ function InputTag({
4191
4196
  }
4192
4197
 
4193
4198
  function Label({
4199
+ id,
4194
4200
  htmlFor,
4195
4201
  children
4196
4202
  }) {
4197
4203
  return /*#__PURE__*/jsxRuntime.jsx(Typography.Text, {
4198
4204
  base: "body",
4205
+ nativeID: undefined,
4199
4206
  children: /*#__PURE__*/jsxRuntime.jsx("label", {
4207
+ id: id,
4200
4208
  htmlFor: htmlFor,
4201
4209
  children: children
4202
4210
  })