@iapps/ng-dhis2-ui 1.1.49 → 1.1.50

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.
@@ -3584,26 +3584,34 @@ class LineListTableComponent extends ReactWrapperModule {
3584
3584
  borderRadius: '4px',
3585
3585
  cursor: 'pointer',
3586
3586
  }, onClick: handleApprovalClick, primary: true }, this.buttonLabel))),
3587
- this.showFilterButton && (React__default.createElement(Button$1, { style: {
3588
- backgroundColor: '#6b7280', // Gray color
3589
- color: 'white',
3590
- padding: '8px 16px',
3591
- borderRadius: '4px',
3592
- cursor: 'pointer',
3593
- display: 'flex',
3594
- alignItems: 'center',
3595
- gap: 8,
3596
- }, onClick: () => {
3587
+ this.showFilterButton && (React__default.createElement(Button$1
3588
+ // style={{
3589
+ // backgroundColor: '#6b7280',
3590
+ // color: 'white',
3591
+ // padding: '8px 16px',
3592
+ // borderRadius: '4px',
3593
+ // cursor: 'pointer',
3594
+ // display: 'flex',
3595
+ // alignItems: 'center',
3596
+ // gap: 8,
3597
+ // }}
3598
+ , {
3599
+ // style={{
3600
+ // backgroundColor: '#6b7280',
3601
+ // color: 'white',
3602
+ // padding: '8px 16px',
3603
+ // borderRadius: '4px',
3604
+ // cursor: 'pointer',
3605
+ // display: 'flex',
3606
+ // alignItems: 'center',
3607
+ // gap: 8,
3608
+ // }}
3609
+ onClick: () => {
3597
3610
  setFilters(!filters);
3598
3611
  }, secondary: true },
3599
3612
  React__default.createElement(IconFilter16, null),
3600
3613
  filters ? 'Hide Filters' : 'Show Filters'))),
3601
- filters && (React__default.createElement("div", { style: {
3602
- display: 'flex',
3603
- gap: '10px',
3604
- flexWrap: 'wrap',
3605
- paddingBottom: '16px',
3606
- } }, (filteredColumns ?? []).map(({ label, key }) => (React__default.createElement(InputField$1, { key: key, label: label, value: inputValues[key] || '', onChange: (e) => {
3614
+ filters && (React__default.createElement("div", null, (filteredColumns ?? []).map(({ label, key }) => (React__default.createElement(InputField$1, { key: key, label: label, value: inputValues[key] || '', onChange: (e) => {
3607
3615
  // Check if it's a standard event with target.value
3608
3616
  if ('target' in e && e.target) {
3609
3617
  handleInputChange(key, e.target.value);