freemium-ui 2.0.67 → 2.0.68

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/lib/index.cjs.js CHANGED
@@ -17234,42 +17234,42 @@ e.preventDefault(),a?.("button",e)},"aria-label":i},i)),u&&e.createElement(Yy,{
17234
17234
  asChild:!0},e.createElement(xm,{variant:"primary","aria-disabled":s,disabled:s,
17235
17235
  onClick:e=>{e.preventDefault(),o?.(e)},"aria-label":u},u))))))
17236
17236
  },exports.CrossIcon=ro,exports.DatePicker=t=>{
17237
- const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,language:l,errorText:c,id:s,todayButtonText:u="Today",clearButtonText:d="Clear",disabled:h,displayFormat:p="YYYY-MM-DD",...f}=t,m=document.querySelector('div[role="dialog"].DialogContent'),v=cr()
17237
+ const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,language:l,errorText:c,id:s,todayButtonText:u="Today",clearButtonText:d="Clear",disabled:h,displayFormat:p="YYYY-MM-DD",portalContainer:f,...m}=t,v=document.querySelector('div[role="dialog"].DialogContent'),g=cr()
17238
17238
  ;return e.createElement(WN,{id:`date-picker-container-${s??""}`.trim(),
17239
- "aria-invalid":i,dir:v.direction},a&&e.createElement(Do,{htmlFor:t.id,
17239
+ "aria-invalid":i,dir:g.direction},a&&e.createElement(Do,{htmlFor:t.id,
17240
17240
  className:"input-label"
17241
17241
  },a,a&&o&&e.createElement(Ao,null,"*")),e.createElement(GN,{$isErrored:i,
17242
17242
  disabled:t.disabled}),e.createElement(vN,{canClearSelection:!0,
17243
17243
  closeOnSelection:!1,disabled:h,todayButtonText:u,clearButtonText:d,
17244
17244
  locale:l||"en",maxDate:FN(new Date).add(10,"years").toDate(),fill:!0,
17245
17245
  highlightCurrentDay:!0,inputProps:{placeholder:n||p,name:r,id:s,
17246
- "aria-disabled":h},dayPickerProps:{disabled:h,dir:v.direction,components:{
17246
+ "aria-disabled":h},dayPickerProps:{disabled:h,dir:g.direction,components:{
17247
17247
  Dropdown:t=>e.createElement(qN,{...t,disabled:h})}},showActionsBar:!0,
17248
17248
  popoverProps:{hasBackdrop:!0,minimal:!1,
17249
- placement:"ltr"===v.direction?"bottom-start":"bottom-end",usePortal:!0,
17250
- portalContainer:m||void 0},parseDate:e=>e?FN(e).toDate():new Date,
17251
- formatDate:e=>e?FN(e).format(p):"",...f}),i&&c&&e.createElement(lm,null,c))
17249
+ placement:"ltr"===g.direction?"bottom-start":"bottom-end",usePortal:!0,
17250
+ portalContainer:f??(v||void 0)},parseDate:e=>e?FN(e).toDate():new Date,
17251
+ formatDate:e=>e?FN(e).format(p):"",...m}),i&&c&&e.createElement(lm,null,c))
17252
17252
  },exports.DateRangePicker=t=>{
17253
- const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,disabled:s,clearButtonText:u="Clear",language:d,displayFormat:h="YYYY-MM-DD",...p}=t,f=cr(),m=document.querySelector('div[role="dialog"].DialogContent')
17253
+ const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,disabled:s,clearButtonText:u="Clear",language:d,displayFormat:h="YYYY-MM-DD",portalContainer:p,...f}=t,m=cr(),v=document.querySelector('div[role="dialog"].DialogContent')
17254
17254
  ;return e.createElement(WN,{id:`date-picker-container-${c??""}`.trim(),
17255
- "aria-invalid":i,dir:f.direction},a&&e.createElement(Do,{htmlFor:t.id,
17255
+ "aria-invalid":i,dir:m.direction},a&&e.createElement(Do,{htmlFor:t.id,
17256
17256
  className:"input-label"
17257
17257
  },a,a&&o&&e.createElement(Ao,null,"*")),e.createElement(GN,{$isErrored:i,
17258
17258
  disabled:t.disabled}),e.createElement(PN,{closeOnSelection:!1,disabled:s,
17259
17259
  locale:d||"en",maxDate:FN(new Date).add(10,"years").toDate(),fill:!0,
17260
17260
  highlightCurrentDay:!0,shortcuts:!1,startInputProps:{placeholder:n||h,name:r,
17261
17261
  id:`start-${c}`,"aria-disabled":s},endInputProps:{placeholder:n||h,name:r,
17262
- id:`end-${c}`,"aria-disabled":s},dayPickerProps:{disabled:s,dir:f.direction,
17262
+ id:`end-${c}`,"aria-disabled":s},dayPickerProps:{disabled:s,dir:m.direction,
17263
17263
  components:{Dropdown:t=>e.createElement(qN,{...t,disabled:s})}},
17264
17264
  footerElement:e.createElement(YN,null,e.createElement(UN,{onClick:()=>{
17265
- p.onChange?.([null,null])}},u)),popoverProps:{hasBackdrop:!0,minimal:!1,
17266
- placement:"ltr"===f.direction?"bottom-start":"bottom-end",usePortal:!0,
17267
- portalContainer:m||void 0},parseDate:e=>e?FN(e).toDate():new Date,
17268
- formatDate:e=>e?FN(e).format(h):"",...p}),i&&l&&e.createElement(lm,null,l))
17265
+ f.onChange?.([null,null])}},u)),popoverProps:{hasBackdrop:!0,minimal:!1,
17266
+ placement:"ltr"===m.direction?"bottom-start":"bottom-end",usePortal:!0,
17267
+ portalContainer:p??(v||void 0)},parseDate:e=>e?FN(e).toDate():new Date,
17268
+ formatDate:e=>e?FN(e).format(h):"",...f}),i&&l&&e.createElement(lm,null,l))
17269
17269
  },exports.DateTimePicker=t=>{
17270
- const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,todayButtonText:s="Today",clearButtonText:u="Clear",language:d,disabled:h,displayFormat:p="YYYY-MM-DD hh:mm A",...f}=t,m=document.querySelector('div[role="dialog"].DialogContent'),v=cr()
17270
+ const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,todayButtonText:s="Today",clearButtonText:u="Clear",language:d,disabled:h,displayFormat:p="YYYY-MM-DD hh:mm A",portalContainer:f,...m}=t,v=document.querySelector('div[role="dialog"].DialogContent'),g=cr()
17271
17271
  ;return e.createElement(WN,{id:`datetime-picker-container-${c??""}`.trim(),
17272
- "aria-invalid":i,dir:v.direction},a&&e.createElement(Do,{htmlFor:t.id,
17272
+ "aria-invalid":i,dir:g.direction},a&&e.createElement(Do,{htmlFor:t.id,
17273
17273
  className:"input-label"
17274
17274
  },a,a&&o&&e.createElement(Ao,null,"*")),e.createElement(GN,{$isErrored:i,
17275
17275
  disabled:t.disabled}),e.createElement(vN,{canClearSelection:!0,
@@ -17277,31 +17277,31 @@ closeOnSelection:!1,disabled:h,locale:d||"en",todayButtonText:s,
17277
17277
  clearButtonText:u,maxDate:FN(new Date).add(10,"years").toDate(),
17278
17278
  minDate:FN(new Date).subtract(100,"years").toDate(),fill:!0,
17279
17279
  highlightCurrentDay:!0,inputProps:{placeholder:n||p,name:r,id:c,
17280
- "aria-disabled":h},dayPickerProps:{disabled:h,dir:v.direction,components:{
17280
+ "aria-disabled":h},dayPickerProps:{disabled:h,dir:g.direction,components:{
17281
17281
  Dropdown:t=>e.createElement(qN,{...t,disabled:h})}},showActionsBar:!0,
17282
17282
  timePrecision:"minute",timePickerProps:{useAmPm:!0,showArrowButtons:!1},
17283
17283
  showTimezoneSelect:!1,disableTimezoneSelect:!0,popoverProps:{hasBackdrop:!0,
17284
- minimal:!1,placement:"ltr"===v.direction?"bottom-start":"bottom-end",
17285
- usePortal:!0,portalContainer:m||void 0},parseDate:e=>e?FN(e).toDate():new Date,
17286
- formatDate:e=>e?FN(e).format(p):"",...f}),i&&l&&e.createElement(lm,null,l))
17287
- },exports.DateTimeRangePicker=t=>{
17288
- const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,clearButtonText:s="Clear",language:u,disabled:d,displayFormat:h="YYYY-MM-DD hh:mm A",...p}=t,f=cr(),m=document.querySelector('div[role="dialog"].DialogContent')
17284
+ minimal:!1,placement:"ltr"===g.direction?"bottom-start":"bottom-end",
17285
+ usePortal:!0,portalContainer:f??(v||void 0)},
17286
+ parseDate:e=>e?FN(e).toDate():new Date,formatDate:e=>e?FN(e).format(p):"",...m
17287
+ }),i&&l&&e.createElement(lm,null,l))},exports.DateTimeRangePicker=t=>{
17288
+ const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,clearButtonText:s="Clear",language:u,disabled:d,displayFormat:h="YYYY-MM-DD hh:mm A",portalContainer:p,...f}=t,m=cr(),v=document.querySelector('div[role="dialog"].DialogContent')
17289
17289
  ;return e.createElement(WN,{id:`date-picker-container-${c??""}`.trim(),
17290
- "aria-invalid":i,dir:f.direction},a&&e.createElement(Do,{htmlFor:t.id,
17290
+ "aria-invalid":i,dir:m.direction},a&&e.createElement(Do,{htmlFor:t.id,
17291
17291
  className:"input-label"
17292
17292
  },a,a&&o&&e.createElement(Ao,null,"*")),e.createElement(GN,{$isErrored:i,
17293
17293
  disabled:t.disabled}),e.createElement(PN,{closeOnSelection:!1,disabled:d,
17294
17294
  locale:u||"en",maxDate:FN(new Date).add(10,"years").toDate(),fill:!0,
17295
17295
  highlightCurrentDay:!0,shortcuts:!1,startInputProps:{placeholder:n||h,name:r,
17296
17296
  id:`start-${c}`,"aria-disabled":d},endInputProps:{placeholder:n||h,name:r,
17297
- id:`end-${c}`,"aria-disabled":d},dayPickerProps:{disabled:d,dir:f.direction,
17297
+ id:`end-${c}`,"aria-disabled":d},dayPickerProps:{disabled:d,dir:m.direction,
17298
17298
  components:{Dropdown:t=>e.createElement(qN,{...t,disabled:d})}},
17299
17299
  timePrecision:"minute",timePickerProps:{useAmPm:!0,showArrowButtons:!1},
17300
17300
  footerElement:e.createElement(YN,null,e.createElement(UN,{onClick:()=>{
17301
- p.onChange?.([null,null])}},s)),popoverProps:{hasBackdrop:!0,minimal:!1,
17302
- placement:"ltr"===f.direction?"bottom-start":"bottom-end",usePortal:!0,
17303
- portalContainer:m||void 0},parseDate:e=>e?FN(e).toDate():new Date,
17304
- formatDate:e=>e?FN(e).format(h):"",...p}),i&&l&&e.createElement(lm,null,l))
17301
+ f.onChange?.([null,null])}},s)),popoverProps:{hasBackdrop:!0,minimal:!1,
17302
+ placement:"ltr"===m.direction?"bottom-start":"bottom-end",usePortal:!0,
17303
+ portalContainer:p??(v||void 0)},parseDate:e=>e?FN(e).toDate():new Date,
17304
+ formatDate:e=>e?FN(e).format(h):"",...f}),i&&l&&e.createElement(lm,null,l))
17305
17305
  },exports.Drawer=({isOpen:t,children:n,hideDismissIcon:r,customClass:o="",size:a="default",isFullHeight:i=!0,placement:l="right",clickOutToClose:c=!1,onDismiss:s})=>{
17306
17306
  const u=cr(),d="rtl"===u.direction?"right"===l?"left":"right":l
17307
17307
  ;return e.createElement(rb,{open:t,onOpenChange:e=>{e||s?.()}
package/lib/index.d.ts CHANGED
@@ -1006,6 +1006,7 @@ type DefaultProps = {
1006
1006
  * Whether disabled select
1007
1007
  */
1008
1008
  disabled?: boolean;
1009
+ portalContainer?: HTMLElement;
1009
1010
  };
1010
1011
  type DatePickerProps = DefaultProps & Partial<DateInput3Props> & {
1011
1012
  displayFormat?: string;
package/lib/index.js CHANGED
@@ -13605,25 +13605,25 @@ defaultSelectedItem:n.find((t=>t.id===e.value))??null,style:e.style,
13605
13605
  className:`${e.className??""} bp-custom-dropdown bp-custom-dropdown-${e.name??""}`.trim(),
13606
13606
  onChange:t=>{e?.onChange?.({target:{value:t?.id}})}})}
13607
13607
  return t.createElement(kb,{itemToString:()=>"",type:"button"})},EF=e=>{
13608
- const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,language:l,errorText:c,id:s,todayButtonText:u="Today",clearButtonText:d="Clear",disabled:h,displayFormat:p="YYYY-MM-DD",...f}=e,m=document.querySelector('div[role="dialog"].DialogContent'),v=Hr()
13608
+ const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,language:l,errorText:c,id:s,todayButtonText:u="Today",clearButtonText:d="Clear",disabled:h,displayFormat:p="YYYY-MM-DD",portalContainer:f,...m}=e,v=document.querySelector('div[role="dialog"].DialogContent'),g=Hr()
13609
13609
  ;return t.createElement(CF,{id:`date-picker-container-${s??""}`.trim(),
13610
- "aria-invalid":i,dir:v.direction},a&&t.createElement(Zo,{htmlFor:e.id,
13610
+ "aria-invalid":i,dir:g.direction},a&&t.createElement(Zo,{htmlFor:e.id,
13611
13611
  className:"input-label"
13612
13612
  },a,a&&o&&t.createElement(Jo,null,"*")),t.createElement(zF,{$isErrored:i,
13613
13613
  disabled:e.disabled}),t.createElement(YN,{canClearSelection:!0,
13614
13614
  closeOnSelection:!1,disabled:h,todayButtonText:u,clearButtonText:d,
13615
13615
  locale:l||"en",maxDate:mF(new Date).add(10,"years").toDate(),fill:!0,
13616
13616
  highlightCurrentDay:!0,inputProps:{placeholder:n||p,name:r,id:s,
13617
- "aria-disabled":h},dayPickerProps:{disabled:h,dir:v.direction,components:{
13617
+ "aria-disabled":h},dayPickerProps:{disabled:h,dir:g.direction,components:{
13618
13618
  Dropdown:e=>t.createElement(xF,{...e,disabled:h})}},showActionsBar:!0,
13619
13619
  popoverProps:{hasBackdrop:!0,minimal:!1,
13620
- placement:"ltr"===v.direction?"bottom-start":"bottom-end",usePortal:!0,
13621
- portalContainer:m||void 0},parseDate:e=>e?mF(e).toDate():new Date,
13622
- formatDate:e=>e?mF(e).format(p):"",...f}),i&&c&&t.createElement(Dm,null,c))
13620
+ placement:"ltr"===g.direction?"bottom-start":"bottom-end",usePortal:!0,
13621
+ portalContainer:f??(v||void 0)},parseDate:e=>e?mF(e).toDate():new Date,
13622
+ formatDate:e=>e?mF(e).format(p):"",...m}),i&&c&&t.createElement(Dm,null,c))
13623
13623
  },SF=e=>{
13624
- const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,todayButtonText:s="Today",clearButtonText:u="Clear",language:d,disabled:h,displayFormat:p="YYYY-MM-DD hh:mm A",...f}=e,m=document.querySelector('div[role="dialog"].DialogContent'),v=Hr()
13624
+ const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,todayButtonText:s="Today",clearButtonText:u="Clear",language:d,disabled:h,displayFormat:p="YYYY-MM-DD hh:mm A",portalContainer:f,...m}=e,v=document.querySelector('div[role="dialog"].DialogContent'),g=Hr()
13625
13625
  ;return t.createElement(CF,{id:`datetime-picker-container-${c??""}`.trim(),
13626
- "aria-invalid":i,dir:v.direction},a&&t.createElement(Zo,{htmlFor:e.id,
13626
+ "aria-invalid":i,dir:g.direction},a&&t.createElement(Zo,{htmlFor:e.id,
13627
13627
  className:"input-label"
13628
13628
  },a,a&&o&&t.createElement(Jo,null,"*")),t.createElement(zF,{$isErrored:i,
13629
13629
  disabled:e.disabled}),t.createElement(YN,{canClearSelection:!0,
@@ -13631,48 +13631,48 @@ closeOnSelection:!1,disabled:h,locale:d||"en",todayButtonText:s,
13631
13631
  clearButtonText:u,maxDate:mF(new Date).add(10,"years").toDate(),
13632
13632
  minDate:mF(new Date).subtract(100,"years").toDate(),fill:!0,
13633
13633
  highlightCurrentDay:!0,inputProps:{placeholder:n||p,name:r,id:c,
13634
- "aria-disabled":h},dayPickerProps:{disabled:h,dir:v.direction,components:{
13634
+ "aria-disabled":h},dayPickerProps:{disabled:h,dir:g.direction,components:{
13635
13635
  Dropdown:e=>t.createElement(xF,{...e,disabled:h})}},showActionsBar:!0,
13636
13636
  timePrecision:"minute",timePickerProps:{useAmPm:!0,showArrowButtons:!1},
13637
13637
  showTimezoneSelect:!1,disableTimezoneSelect:!0,popoverProps:{hasBackdrop:!0,
13638
- minimal:!1,placement:"ltr"===v.direction?"bottom-start":"bottom-end",
13639
- usePortal:!0,portalContainer:m||void 0},parseDate:e=>e?mF(e).toDate():new Date,
13640
- formatDate:e=>e?mF(e).format(p):"",...f}),i&&l&&t.createElement(Dm,null,l))
13641
- },_F=e=>{
13642
- const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,disabled:s,clearButtonText:u="Clear",language:d,displayFormat:h="YYYY-MM-DD",...p}=e,f=Hr(),m=document.querySelector('div[role="dialog"].DialogContent')
13638
+ minimal:!1,placement:"ltr"===g.direction?"bottom-start":"bottom-end",
13639
+ usePortal:!0,portalContainer:f??(v||void 0)},
13640
+ parseDate:e=>e?mF(e).toDate():new Date,formatDate:e=>e?mF(e).format(p):"",...m
13641
+ }),i&&l&&t.createElement(Dm,null,l))},_F=e=>{
13642
+ const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,disabled:s,clearButtonText:u="Clear",language:d,displayFormat:h="YYYY-MM-DD",portalContainer:p,...f}=e,m=Hr(),v=document.querySelector('div[role="dialog"].DialogContent')
13643
13643
  ;return t.createElement(CF,{id:`date-picker-container-${c??""}`.trim(),
13644
- "aria-invalid":i,dir:f.direction},a&&t.createElement(Zo,{htmlFor:e.id,
13644
+ "aria-invalid":i,dir:m.direction},a&&t.createElement(Zo,{htmlFor:e.id,
13645
13645
  className:"input-label"
13646
13646
  },a,a&&o&&t.createElement(Jo,null,"*")),t.createElement(zF,{$isErrored:i,
13647
13647
  disabled:e.disabled}),t.createElement(dF,{closeOnSelection:!1,disabled:s,
13648
13648
  locale:d||"en",maxDate:mF(new Date).add(10,"years").toDate(),fill:!0,
13649
13649
  highlightCurrentDay:!0,shortcuts:!1,startInputProps:{placeholder:n||h,name:r,
13650
13650
  id:`start-${c}`,"aria-disabled":s},endInputProps:{placeholder:n||h,name:r,
13651
- id:`end-${c}`,"aria-disabled":s},dayPickerProps:{disabled:s,dir:f.direction,
13651
+ id:`end-${c}`,"aria-disabled":s},dayPickerProps:{disabled:s,dir:m.direction,
13652
13652
  components:{Dropdown:e=>t.createElement(xF,{...e,disabled:s})}},
13653
13653
  footerElement:t.createElement(wF,null,t.createElement(bF,{onClick:()=>{
13654
- p.onChange?.([null,null])}},u)),popoverProps:{hasBackdrop:!0,minimal:!1,
13655
- placement:"ltr"===f.direction?"bottom-start":"bottom-end",usePortal:!0,
13656
- portalContainer:m||void 0},parseDate:e=>e?mF(e).toDate():new Date,
13657
- formatDate:e=>e?mF(e).format(h):"",...p}),i&&l&&t.createElement(Dm,null,l))
13654
+ f.onChange?.([null,null])}},u)),popoverProps:{hasBackdrop:!0,minimal:!1,
13655
+ placement:"ltr"===m.direction?"bottom-start":"bottom-end",usePortal:!0,
13656
+ portalContainer:p??(v||void 0)},parseDate:e=>e?mF(e).toDate():new Date,
13657
+ formatDate:e=>e?mF(e).format(h):"",...f}),i&&l&&t.createElement(Dm,null,l))
13658
13658
  },HF=e=>{
13659
- const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,clearButtonText:s="Clear",language:u,disabled:d,displayFormat:h="YYYY-MM-DD hh:mm A",...p}=e,f=Hr(),m=document.querySelector('div[role="dialog"].DialogContent')
13659
+ const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,clearButtonText:s="Clear",language:u,disabled:d,displayFormat:h="YYYY-MM-DD hh:mm A",portalContainer:p,...f}=e,m=Hr(),v=document.querySelector('div[role="dialog"].DialogContent')
13660
13660
  ;return t.createElement(CF,{id:`date-picker-container-${c??""}`.trim(),
13661
- "aria-invalid":i,dir:f.direction},a&&t.createElement(Zo,{htmlFor:e.id,
13661
+ "aria-invalid":i,dir:m.direction},a&&t.createElement(Zo,{htmlFor:e.id,
13662
13662
  className:"input-label"
13663
13663
  },a,a&&o&&t.createElement(Jo,null,"*")),t.createElement(zF,{$isErrored:i,
13664
13664
  disabled:e.disabled}),t.createElement(dF,{closeOnSelection:!1,disabled:d,
13665
13665
  locale:u||"en",maxDate:mF(new Date).add(10,"years").toDate(),fill:!0,
13666
13666
  highlightCurrentDay:!0,shortcuts:!1,startInputProps:{placeholder:n||h,name:r,
13667
13667
  id:`start-${c}`,"aria-disabled":d},endInputProps:{placeholder:n||h,name:r,
13668
- id:`end-${c}`,"aria-disabled":d},dayPickerProps:{disabled:d,dir:f.direction,
13668
+ id:`end-${c}`,"aria-disabled":d},dayPickerProps:{disabled:d,dir:m.direction,
13669
13669
  components:{Dropdown:e=>t.createElement(xF,{...e,disabled:d})}},
13670
13670
  timePrecision:"minute",timePickerProps:{useAmPm:!0,showArrowButtons:!1},
13671
13671
  footerElement:t.createElement(wF,null,t.createElement(bF,{onClick:()=>{
13672
- p.onChange?.([null,null])}},s)),popoverProps:{hasBackdrop:!0,minimal:!1,
13673
- placement:"ltr"===f.direction?"bottom-start":"bottom-end",usePortal:!0,
13674
- portalContainer:m||void 0},parseDate:e=>e?mF(e).toDate():new Date,
13675
- formatDate:e=>e?mF(e).format(h):"",...p}),i&&l&&t.createElement(Dm,null,l))
13672
+ f.onChange?.([null,null])}},s)),popoverProps:{hasBackdrop:!0,minimal:!1,
13673
+ placement:"ltr"===m.direction?"bottom-start":"bottom-end",usePortal:!0,
13674
+ portalContainer:p??(v||void 0)},parseDate:e=>e?mF(e).toDate():new Date,
13675
+ formatDate:e=>e?mF(e).format(h):"",...f}),i&&l&&t.createElement(Dm,null,l))
13676
13676
  },DF=[{id:"AM",name:"AM"},{id:"PM",name:"PM"}],AF=e=>{
13677
13677
  const{isRequired:n,label:r,isErrored:o,errorText:a,id:i,disabled:l,precision:c="minute",useAmPm:s,value:u="",onChange:d}=e,h=Hr()
13678
13678
  ;return t.createElement(vF,{id:`datetime-picker-container-${i??""}`.trim()
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-ui",
3
- "version": "2.0.67",
3
+ "version": "2.0.68",
4
4
  "description": "React Ui Components for Freemium Apps",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-ui",
3
- "version": "2.0.67",
3
+ "version": "2.0.68",
4
4
  "description": "React Ui Components for Freemium Apps",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.js",