freemium-ui 2.0.62 → 2.0.64

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,70 +17234,71 @@ 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,errorText:l,id:c,portalContainer:s,disabled:u,displayFormat:d="YYYY-MM-DD",...h}=t,p=cr()
17238
- ;return e.createElement(WN,{id:`date-picker-container-${c??""}`.trim(),
17239
- "aria-invalid":i,dir:p.direction},a&&e.createElement(Do,{htmlFor:t.id,
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()
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,
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:u,maxDate:FN(new Date).add(10,"years").toDate(),
17244
- fill:!0,highlightCurrentDay:!0,inputProps:{placeholder:n||d,name:r,id:c,
17245
- "aria-disabled":u},dayPickerProps:{disabled:u,dir:p.direction,components:{
17246
- Dropdown:t=>e.createElement(qN,{...t,disabled:u})}},showActionsBar:!0,
17247
- popoverProps:{minimal:!1,
17248
- placement:"ltr"===p.direction?"bottom-start":"bottom-end",usePortal:!0,
17249
- portalContainer:s??document.body},parseDate:e=>e?FN(e).toDate():new Date,
17250
- formatDate:e=>e?FN(e).format(d):"",...h}),i&&l&&e.createElement(lm,null,l))
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,
17249
+ 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
17251
  },exports.DateRangePicker=t=>{
17252
- const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,disabled:s,displayFormat:u="YYYY-MM-DD",...d}=t,h=cr()
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
17253
  ;return e.createElement(WN,{id:`date-picker-container-${c??""}`.trim(),
17254
- "aria-invalid":i,dir:h.direction},a&&e.createElement(Do,{htmlFor:t.id,
17254
+ "aria-invalid":i,dir:p.direction},a&&e.createElement(Do,{htmlFor:t.id,
17255
17255
  className:"input-label"
17256
17256
  },a,a&&o&&e.createElement(Ao,null,"*")),e.createElement(GN,{$isErrored:i,
17257
17257
  disabled:t.disabled}),e.createElement(PN,{closeOnSelection:!1,disabled:s,
17258
- maxDate:FN(new Date).add(10,"years").toDate(),fill:!0,highlightCurrentDay:!0,
17259
- shortcuts:!1,startInputProps:{placeholder:n||u,name:r,id:`start-${c}`,
17260
- "aria-disabled":s},endInputProps:{placeholder:n||u,name:r,id:`end-${c}`,
17261
- "aria-disabled":s},dayPickerProps:{disabled:s,dir:h.direction,components:{
17262
- Dropdown:t=>e.createElement(qN,{...t,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,
17262
+ components:{Dropdown:t=>e.createElement(qN,{...t,disabled:s})}},
17263
17263
  footerElement:e.createElement(YN,null,e.createElement(UN,{onClick:()=>{
17264
- d.onChange?.([null,null])}},"Clear")),popoverProps:{minimal:!1,
17265
- placement:"ltr"===h.direction?"bottom-start":"bottom-end",usePortal:!0},
17266
- parseDate:e=>e?FN(e).toDate():new Date,formatDate:e=>e?FN(e).format(u):"",...d
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
17267
17267
  }),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,portalContainer:s,disabled:u,displayFormat:d="YYYY-MM-DD hh:mm A",...h}=t,p=cr()
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
17269
  ;return e.createElement(WN,{id:`datetime-picker-container-${c??""}`.trim(),
17270
- "aria-invalid":i,dir:p.direction},a&&e.createElement(Do,{htmlFor:t.id,
17270
+ "aria-invalid":i,dir:f.direction},a&&e.createElement(Do,{htmlFor:t.id,
17271
17271
  className:"input-label"
17272
17272
  },a,a&&o&&e.createElement(Ao,null,"*")),e.createElement(GN,{$isErrored:i,
17273
17273
  disabled:t.disabled}),e.createElement(vN,{canClearSelection:!0,
17274
- closeOnSelection:!1,disabled:u,maxDate:FN(new Date).add(10,"years").toDate(),
17274
+ closeOnSelection:!1,disabled:d,locale:s||"en",
17275
+ maxDate:FN(new Date).add(10,"years").toDate(),
17275
17276
  minDate:FN(new Date).subtract(100,"years").toDate(),fill:!0,
17276
- highlightCurrentDay:!0,inputProps:{placeholder:n||d,name:r,id:c,
17277
- "aria-disabled":u},dayPickerProps:{disabled:u,dir:p.direction,components:{
17278
- Dropdown:t=>e.createElement(qN,{...t,disabled:u})}},showActionsBar:!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,
17279
17280
  timePrecision:"minute",timePickerProps:{useAmPm:!0,showArrowButtons:!1},
17280
17281
  showTimezoneSelect:!1,disableTimezoneSelect:!0,popoverProps:{minimal:!1,
17281
- placement:"ltr"===p.direction?"bottom-start":"bottom-end",usePortal:!0,
17282
- portalContainer:s??document.body},parseDate:e=>e?FN(e).toDate():new Date,
17283
- formatDate:e=>e?FN(e).format(d):"",...h}),i&&l&&e.createElement(lm,null,l))
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))
17284
17285
  },exports.DateTimeRangePicker=t=>{
17285
- const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,disabled:s,displayFormat:u="YYYY-MM-DD hh:mm A",...d}=t,h=cr()
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()
17286
17287
  ;return e.createElement(WN,{id:`date-picker-container-${c??""}`.trim(),
17287
- "aria-invalid":i,dir:h.direction},a&&e.createElement(Do,{htmlFor:t.id,
17288
+ "aria-invalid":i,dir:p.direction},a&&e.createElement(Do,{htmlFor:t.id,
17288
17289
  className:"input-label"
17289
17290
  },a,a&&o&&e.createElement(Ao,null,"*")),e.createElement(GN,{$isErrored:i,
17290
- disabled:t.disabled}),e.createElement(PN,{closeOnSelection:!1,disabled:s,
17291
- maxDate:FN(new Date).add(10,"years").toDate(),fill:!0,highlightCurrentDay:!0,
17292
- shortcuts:!1,startInputProps:{placeholder:n||u,name:r,id:`start-${c}`,
17293
- "aria-disabled":s},endInputProps:{placeholder:n||u,name:r,id:`end-${c}`,
17294
- "aria-disabled":s},dayPickerProps:{disabled:s,dir:h.direction,components:{
17295
- Dropdown:t=>e.createElement(qN,{...t,disabled:s})}},timePrecision:"minute",
17296
- timePickerProps:{useAmPm:!0,showArrowButtons:!1},
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})}},
17297
+ timePrecision:"minute",timePickerProps:{useAmPm:!0,showArrowButtons:!1},
17297
17298
  footerElement:e.createElement(YN,null,e.createElement(UN,{onClick:()=>{
17298
- d.onChange?.([null,null])}},"Clear")),popoverProps:{minimal:!1,
17299
- placement:"ltr"===h.direction?"bottom-start":"bottom-end",usePortal:!0},
17300
- parseDate:e=>e?FN(e).toDate():new Date,formatDate:e=>e?FN(e).format(u):"",...d
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
17301
17302
  }),i&&l&&e.createElement(lm,null,l))
17302
17303
  },exports.Drawer=({isOpen:t,children:n,hideDismissIcon:r,customClass:o="",size:a="default",isFullHeight:i=!0,placement:l="right",clickOutToClose:c=!1,onDismiss:s})=>{
17303
17304
  const u=cr(),d="rtl"===u.direction?"right"===l?"left":"right":l
@@ -17585,7 +17586,7 @@ enableRowSelection:!0,manualPagination:!0,rowCount:J?-1:b
17585
17586
  }),{getPageCount:re,getRowModel:oe,getState:ae,getCanNextPage:ie,getCanPreviousPage:le,getPageOptions:ce,previousPage:se,setPageIndex:ue,nextPage:de,lastPage:he,firstPage:pe}=ne,{rows:fe}=oe(),{pagination:{pageIndex:me,pageSize:ve}}=ae(),ge=me*ve+(me<re()-1?ve:fe.length),ye=ne.getAllColumns().filter((e=>e.getIsVisible())).length+(k?0:1)+(_?1:0)
17586
17587
  ;return e.createElement(bU,{className:"TableContainer"},y&&e.createElement(EU,{
17587
17588
  className:"table-actions"},e.createElement(HU,{
17588
- className:"table-header-component"},u??null),e.createElement(kU,{
17589
+ className:"table-header-component"},u??null),!!w&&e.createElement(kU,{
17589
17590
  className:"table-header-dropdown-pagination"},e.createElement(AU,{
17590
17591
  className:"pagination-actions"
17591
17592
  },!p&&e.createElement(e.Fragment,null,e.createElement(Yo,{variant:"primary",
package/lib/index.d.ts CHANGED
@@ -998,6 +998,7 @@ type DefaultProps = {
998
998
  * label for the picker
999
999
  */
1000
1000
  label?: string;
1001
+ language?: string;
1001
1002
  placeholder?: string;
1002
1003
  /**
1003
1004
  * Whether disabled select
package/lib/index.js CHANGED
@@ -13605,70 +13605,71 @@ 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,errorText:l,id:c,portalContainer:s,disabled:u,displayFormat:d="YYYY-MM-DD",...h}=e,p=Hr()
13609
- ;return t.createElement(CF,{id:`date-picker-container-${c??""}`.trim(),
13610
- "aria-invalid":i,dir:p.direction},a&&t.createElement(Zo,{htmlFor:e.id,
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()
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,
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:u,maxDate:mF(new Date).add(10,"years").toDate(),
13615
- fill:!0,highlightCurrentDay:!0,inputProps:{placeholder:n||d,name:r,id:c,
13616
- "aria-disabled":u},dayPickerProps:{disabled:u,dir:p.direction,components:{
13617
- Dropdown:e=>t.createElement(xF,{...e,disabled:u})}},showActionsBar:!0,
13618
- popoverProps:{minimal:!1,
13619
- placement:"ltr"===p.direction?"bottom-start":"bottom-end",usePortal:!0,
13620
- portalContainer:s??document.body},parseDate:e=>e?mF(e).toDate():new Date,
13621
- formatDate:e=>e?mF(e).format(d):"",...h}),i&&l&&t.createElement(Dm,null,l))
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,
13620
+ 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
13622
  },SF=e=>{
13623
- const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,portalContainer:s,disabled:u,displayFormat:d="YYYY-MM-DD hh:mm A",...h}=e,p=Hr()
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
13624
  ;return t.createElement(CF,{id:`datetime-picker-container-${c??""}`.trim(),
13625
- "aria-invalid":i,dir:p.direction},a&&t.createElement(Zo,{htmlFor:e.id,
13625
+ "aria-invalid":i,dir:f.direction},a&&t.createElement(Zo,{htmlFor:e.id,
13626
13626
  className:"input-label"
13627
13627
  },a,a&&o&&t.createElement(Jo,null,"*")),t.createElement(zF,{$isErrored:i,
13628
13628
  disabled:e.disabled}),t.createElement(YN,{canClearSelection:!0,
13629
- closeOnSelection:!1,disabled:u,maxDate:mF(new Date).add(10,"years").toDate(),
13629
+ closeOnSelection:!1,disabled:d,locale:s||"en",
13630
+ maxDate:mF(new Date).add(10,"years").toDate(),
13630
13631
  minDate:mF(new Date).subtract(100,"years").toDate(),fill:!0,
13631
- highlightCurrentDay:!0,inputProps:{placeholder:n||d,name:r,id:c,
13632
- "aria-disabled":u},dayPickerProps:{disabled:u,dir:p.direction,components:{
13633
- Dropdown:e=>t.createElement(xF,{...e,disabled:u})}},showActionsBar:!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,
13634
13635
  timePrecision:"minute",timePickerProps:{useAmPm:!0,showArrowButtons:!1},
13635
13636
  showTimezoneSelect:!1,disableTimezoneSelect:!0,popoverProps:{minimal:!1,
13636
- placement:"ltr"===p.direction?"bottom-start":"bottom-end",usePortal:!0,
13637
- portalContainer:s??document.body},parseDate:e=>e?mF(e).toDate():new Date,
13638
- formatDate:e=>e?mF(e).format(d):"",...h}),i&&l&&t.createElement(Dm,null,l))
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))
13639
13640
  },_F=e=>{
13640
- const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,disabled:s,displayFormat:u="YYYY-MM-DD",...d}=e,h=Hr()
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()
13641
13642
  ;return t.createElement(CF,{id:`date-picker-container-${c??""}`.trim(),
13642
- "aria-invalid":i,dir:h.direction},a&&t.createElement(Zo,{htmlFor:e.id,
13643
+ "aria-invalid":i,dir:p.direction},a&&t.createElement(Zo,{htmlFor:e.id,
13643
13644
  className:"input-label"
13644
13645
  },a,a&&o&&t.createElement(Jo,null,"*")),t.createElement(zF,{$isErrored:i,
13645
13646
  disabled:e.disabled}),t.createElement(dF,{closeOnSelection:!1,disabled:s,
13646
- maxDate:mF(new Date).add(10,"years").toDate(),fill:!0,highlightCurrentDay:!0,
13647
- shortcuts:!1,startInputProps:{placeholder:n||u,name:r,id:`start-${c}`,
13648
- "aria-disabled":s},endInputProps:{placeholder:n||u,name:r,id:`end-${c}`,
13649
- "aria-disabled":s},dayPickerProps:{disabled:s,dir:h.direction,components:{
13650
- Dropdown:e=>t.createElement(xF,{...e,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,
13651
+ components:{Dropdown:e=>t.createElement(xF,{...e,disabled:s})}},
13651
13652
  footerElement:t.createElement(wF,null,t.createElement(bF,{onClick:()=>{
13652
- d.onChange?.([null,null])}},"Clear")),popoverProps:{minimal:!1,
13653
- placement:"ltr"===h.direction?"bottom-start":"bottom-end",usePortal:!0},
13654
- parseDate:e=>e?mF(e).toDate():new Date,formatDate:e=>e?mF(e).format(u):"",...d
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
13655
13656
  }),i&&l&&t.createElement(Dm,null,l))},HF=e=>{
13656
- const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,disabled:s,displayFormat:u="YYYY-MM-DD hh:mm A",...d}=e,h=Hr()
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()
13657
13658
  ;return t.createElement(CF,{id:`date-picker-container-${c??""}`.trim(),
13658
- "aria-invalid":i,dir:h.direction},a&&t.createElement(Zo,{htmlFor:e.id,
13659
+ "aria-invalid":i,dir:p.direction},a&&t.createElement(Zo,{htmlFor:e.id,
13659
13660
  className:"input-label"
13660
13661
  },a,a&&o&&t.createElement(Jo,null,"*")),t.createElement(zF,{$isErrored:i,
13661
- disabled:e.disabled}),t.createElement(dF,{closeOnSelection:!1,disabled:s,
13662
- maxDate:mF(new Date).add(10,"years").toDate(),fill:!0,highlightCurrentDay:!0,
13663
- shortcuts:!1,startInputProps:{placeholder:n||u,name:r,id:`start-${c}`,
13664
- "aria-disabled":s},endInputProps:{placeholder:n||u,name:r,id:`end-${c}`,
13665
- "aria-disabled":s},dayPickerProps:{disabled:s,dir:h.direction,components:{
13666
- Dropdown:e=>t.createElement(xF,{...e,disabled:s})}},timePrecision:"minute",
13667
- timePickerProps:{useAmPm:!0,showArrowButtons:!1},
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})}},
13668
+ timePrecision:"minute",timePickerProps:{useAmPm:!0,showArrowButtons:!1},
13668
13669
  footerElement:t.createElement(wF,null,t.createElement(bF,{onClick:()=>{
13669
- d.onChange?.([null,null])}},"Clear")),popoverProps:{minimal:!1,
13670
- placement:"ltr"===h.direction?"bottom-start":"bottom-end",usePortal:!0},
13671
- parseDate:e=>e?mF(e).toDate():new Date,formatDate:e=>e?mF(e).format(u):"",...d
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
13672
13673
  }),i&&l&&t.createElement(Dm,null,l))},DF=[{id:"AM",name:"AM"},{id:"PM",name:"PM"
13673
13674
  }],AF=e=>{
13674
13675
  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()
@@ -17391,7 +17392,7 @@ enableRowSelection:!0,manualPagination:!0,rowCount:J?-1:b
17391
17392
  }),{getPageCount:re,getRowModel:oe,getState:ae,getCanNextPage:ie,getCanPreviousPage:le,getPageOptions:ce,previousPage:se,setPageIndex:ue,nextPage:de,lastPage:he,firstPage:pe}=ne,{rows:fe}=oe(),{pagination:{pageIndex:me,pageSize:ve}}=ae(),ge=me*ve+(me<re()-1?ve:fe.length),ye=ne.getAllColumns().filter((e=>e.getIsVisible())).length+(A?0:1)+(_?1:0)
17392
17393
  ;return t.createElement(eY,{className:"TableContainer"},y&&t.createElement(iY,{
17393
17394
  className:"table-actions"},t.createElement(sY,{
17394
- className:"table-header-component"},u??null),t.createElement(dY,{
17395
+ className:"table-header-component"},u??null),!!w&&t.createElement(dY,{
17395
17396
  className:"table-header-dropdown-pagination"},t.createElement(hY,{
17396
17397
  className:"pagination-actions"
17397
17398
  },!p&&t.createElement(t.Fragment,null,t.createElement(ha,{variant:"primary",
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-ui",
3
- "version": "2.0.62",
3
+ "version": "2.0.64",
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.62",
3
+ "version": "2.0.64",
4
4
  "description": "React Ui Components for Freemium Apps",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.js",