freemium-ui 2.0.64 → 2.0.65

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