@ostack.tech/ui 1.2.0-beta.1 → 1.2.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/ostack-ui.js CHANGED
@@ -26684,90 +26684,92 @@ function DateRangeInput(t0) {
26684
26684
  $[336] = handleHiddenStartInputValueChange;
26685
26685
  $[337] = t142;
26686
26686
  } else t142 = $[337];
26687
- const t143 = stringValue.start ?? "";
26688
- const t144 = required || startInputProps?.required;
26689
- const t145 = startSoftDisabled || startReadOnly;
26690
- const t146 = startInputProps?.autoComplete;
26691
- let t147;
26692
- if ($[338] === Symbol.for("react.memo_cache_sentinel")) {
26693
- t147 = /* @__PURE__ */ jsx("input", {});
26694
- $[338] = t147;
26695
- } else t147 = $[338];
26687
+ const t143 = startInputProps?.name ?? name;
26688
+ const t144 = stringValue.start ?? "";
26689
+ const t145 = required || startInputProps?.required;
26690
+ const t146 = startSoftDisabled || startReadOnly;
26691
+ const t147 = startInputProps?.autoComplete;
26696
26692
  let t148;
26697
- if ($[339] !== form || $[340] !== hiddenInputMax || $[341] !== hiddenInputMin || $[342] !== name || $[343] !== startDisabled || $[344] !== startInputEl || $[345] !== t142 || $[346] !== t143 || $[347] !== t144 || $[348] !== t145 || $[349] !== t146) {
26698
- t148 = /* @__PURE__ */ jsx(HiddenFormControl, {
26693
+ if ($[338] === Symbol.for("react.memo_cache_sentinel")) {
26694
+ t148 = /* @__PURE__ */ jsx("input", {});
26695
+ $[338] = t148;
26696
+ } else t148 = $[338];
26697
+ let t149;
26698
+ if ($[339] !== form || $[340] !== hiddenInputMax || $[341] !== hiddenInputMin || $[342] !== startDisabled || $[343] !== startInputEl || $[344] !== t142 || $[345] !== t143 || $[346] !== t144 || $[347] !== t145 || $[348] !== t146 || $[349] !== t147) {
26699
+ t149 = /* @__PURE__ */ jsx(HiddenFormControl, {
26699
26700
  actualElement: startInputEl,
26700
26701
  onChange: t142,
26701
- name,
26702
+ name: t143,
26702
26703
  type: "date",
26703
- value: t143,
26704
- required: t144,
26704
+ value: t144,
26705
+ required: t145,
26705
26706
  disabled: startDisabled,
26706
- readOnly: t145,
26707
- autoComplete: t146,
26707
+ readOnly: t146,
26708
+ autoComplete: t147,
26708
26709
  min: hiddenInputMin,
26709
26710
  max: hiddenInputMax,
26710
26711
  form,
26711
- children: t147
26712
+ children: t148
26712
26713
  });
26713
26714
  $[339] = form;
26714
26715
  $[340] = hiddenInputMax;
26715
26716
  $[341] = hiddenInputMin;
26716
- $[342] = name;
26717
- $[343] = startDisabled;
26718
- $[344] = startInputEl;
26719
- $[345] = t142;
26720
- $[346] = t143;
26721
- $[347] = t144;
26722
- $[348] = t145;
26723
- $[349] = t146;
26724
- $[350] = t148;
26725
- } else t148 = $[350];
26726
- let t149;
26717
+ $[342] = startDisabled;
26718
+ $[343] = startInputEl;
26719
+ $[344] = t142;
26720
+ $[345] = t143;
26721
+ $[346] = t144;
26722
+ $[347] = t145;
26723
+ $[348] = t146;
26724
+ $[349] = t147;
26725
+ $[350] = t149;
26726
+ } else t149 = $[350];
26727
+ let t150;
26727
26728
  if ($[351] !== handleHiddenEndInputValueChange) {
26728
- t149 = (evt_7) => handleHiddenEndInputValueChange(evt_7.target.value);
26729
+ t150 = (evt_7) => handleHiddenEndInputValueChange(evt_7.target.value);
26729
26730
  $[351] = handleHiddenEndInputValueChange;
26730
- $[352] = t149;
26731
- } else t149 = $[352];
26732
- const t150 = stringValue.end ?? "";
26733
- const t151 = required || endInputProps?.required;
26734
- const t152 = endSoftDisabled || endReadOnly;
26735
- const t153 = endInputProps?.autoComplete;
26736
- let t154;
26731
+ $[352] = t150;
26732
+ } else t150 = $[352];
26733
+ const t151 = endInputProps?.name ?? name;
26734
+ const t152 = stringValue.end ?? "";
26735
+ const t153 = required || endInputProps?.required;
26736
+ const t154 = endSoftDisabled || endReadOnly;
26737
+ const t155 = endInputProps?.autoComplete;
26738
+ let t156;
26737
26739
  if ($[353] === Symbol.for("react.memo_cache_sentinel")) {
26738
- t154 = /* @__PURE__ */ jsx("input", {});
26739
- $[353] = t154;
26740
- } else t154 = $[353];
26741
- let t155;
26742
- if ($[354] !== endDisabled || $[355] !== endInputEl || $[356] !== form || $[357] !== hiddenEndInputMin || $[358] !== hiddenInputMax || $[359] !== name || $[360] !== t149 || $[361] !== t150 || $[362] !== t151 || $[363] !== t152 || $[364] !== t153) {
26743
- t155 = /* @__PURE__ */ jsx(HiddenFormControl, {
26740
+ t156 = /* @__PURE__ */ jsx("input", {});
26741
+ $[353] = t156;
26742
+ } else t156 = $[353];
26743
+ let t157;
26744
+ if ($[354] !== endDisabled || $[355] !== endInputEl || $[356] !== form || $[357] !== hiddenEndInputMin || $[358] !== hiddenInputMax || $[359] !== t150 || $[360] !== t151 || $[361] !== t152 || $[362] !== t153 || $[363] !== t154 || $[364] !== t155) {
26745
+ t157 = /* @__PURE__ */ jsx(HiddenFormControl, {
26744
26746
  actualElement: endInputEl,
26745
- onChange: t149,
26746
- name,
26747
+ onChange: t150,
26748
+ name: t151,
26747
26749
  type: "date",
26748
- value: t150,
26749
- required: t151,
26750
+ value: t152,
26751
+ required: t153,
26750
26752
  disabled: endDisabled,
26751
- readOnly: t152,
26752
- autoComplete: t153,
26753
+ readOnly: t154,
26754
+ autoComplete: t155,
26753
26755
  min: hiddenEndInputMin,
26754
26756
  max: hiddenInputMax,
26755
26757
  form,
26756
- children: t154
26758
+ children: t156
26757
26759
  });
26758
26760
  $[354] = endDisabled;
26759
26761
  $[355] = endInputEl;
26760
26762
  $[356] = form;
26761
26763
  $[357] = hiddenEndInputMin;
26762
26764
  $[358] = hiddenInputMax;
26763
- $[359] = name;
26764
- $[360] = t149;
26765
- $[361] = t150;
26766
- $[362] = t151;
26767
- $[363] = t152;
26768
- $[364] = t153;
26769
- $[365] = t155;
26770
- } else t155 = $[365];
26765
+ $[359] = t150;
26766
+ $[360] = t151;
26767
+ $[361] = t152;
26768
+ $[362] = t153;
26769
+ $[363] = t154;
26770
+ $[364] = t155;
26771
+ $[365] = t157;
26772
+ } else t157 = $[365];
26771
26773
  return /* @__PURE__ */ jsx(ClearContexts, {
26772
26774
  field: false,
26773
26775
  children: /* @__PURE__ */ jsxs(ControlContext, {
@@ -26809,6 +26811,7 @@ function DateRangeInput(t0) {
26809
26811
  children: [
26810
26812
  /* @__PURE__ */ jsx("input", {
26811
26813
  ...startInputProps,
26814
+ name: void 0,
26812
26815
  id: controlId,
26813
26816
  "data-disabled": t70,
26814
26817
  "data-status": status,
@@ -26858,6 +26861,7 @@ function DateRangeInput(t0) {
26858
26861
  children: [
26859
26862
  /* @__PURE__ */ jsx("input", {
26860
26863
  ...endInputProps,
26864
+ name: void 0,
26861
26865
  "data-disabled": t101,
26862
26866
  "data-status": status,
26863
26867
  "data-variant": variant,
@@ -26971,8 +26975,8 @@ function DateRangeInput(t0) {
26971
26975
  children: selectedDateDescription(descriptionFormattedEnd)
26972
26976
  }),
26973
26977
  t141,
26974
- t148,
26975
- t155
26978
+ t149,
26979
+ t157
26976
26980
  ]
26977
26981
  })
26978
26982
  });