pcm-shared-components 2.0.16 → 2.0.18

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.
@@ -5,7 +5,8 @@ const SearchLotsTextBox = props => {
5
5
  const {
6
6
  lot_search,
7
7
  setLotSearch,
8
- setFocusOnFilter
8
+ setFocusOnFilter,
9
+ label
9
10
  } = props;
10
11
  return /*#__PURE__*/React.createElement("div", {
11
12
  style: {}
@@ -15,8 +16,9 @@ const SearchLotsTextBox = props => {
15
16
  paddingBottom: 12
16
17
  },
17
18
  id: "lot_filter_search",
18
- label: i18next.t('reservation_grid.header.lot_number'),
19
+ label: label,
19
20
  value: lot_search,
21
+ variant: "standard",
20
22
  onChange: e => {
21
23
  setLotSearch(e.target.value);
22
24
  },
@@ -819,6 +819,7 @@ export const ReservationTimelineComponent = props => {
819
819
  }, /*#__PURE__*/React.createElement(ZoomOut, null)), String(editResId).length === 0 && /*#__PURE__*/React.createElement("div", {
820
820
  className: "flex ml-6 "
821
821
  }, /*#__PURE__*/React.createElement(SearchLotsTextBox, {
822
+ label: i18next.t('reservation_grid.header.lot_number'),
822
823
  lot_search: lot_search,
823
824
  setLotSearch: setLotSearch,
824
825
  setFocusOnFilter: setFocusOnFilter,
package/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import './styles/tailwind.css';
2
+ import './locals/i18n';
2
3
  import TestButton from './components/Buttons/TestTailwinButton';
3
4
  import CodeHighlight from './components/Tools/CodeHighlight';
4
5
  import CustomFab from './components/Buttons/CustomFab';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pcm-shared-components",
3
- "version": "2.0.16",
3
+ "version": "2.0.18",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "babel": {