@ix_waterford/lib 1.0.16 → 1.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.
package/dist/index.js CHANGED
@@ -170,7 +170,7 @@ __webpack_require__.r(__webpack_exports__);
170
170
  if(true) {
171
171
  (function() {
172
172
  var localsJsonString = undefined;
173
- // 1765958923767
173
+ // 1765977235826
174
174
  var cssReload = (__webpack_require__("./node_modules/@rspack/core/dist/cssExtractHmr.js")/* .cssReload */.cssReload)(module.id, {});
175
175
  // only invalidate when locals change
176
176
  if (
@@ -198,7 +198,7 @@ __webpack_require__.r(__webpack_exports__);
198
198
  if(true) {
199
199
  (function() {
200
200
  var localsJsonString = undefined;
201
- // 1765958923769
201
+ // 1765977235828
202
202
  var cssReload = (__webpack_require__("./node_modules/@rspack/core/dist/cssExtractHmr.js")/* .cssReload */.cssReload)(module.id, {});
203
203
  // only invalidate when locals change
204
204
  if (
@@ -226,7 +226,7 @@ __webpack_require__.r(__webpack_exports__);
226
226
  if(true) {
227
227
  (function() {
228
228
  var localsJsonString = undefined;
229
- // 1765958923769
229
+ // 1765977235828
230
230
  var cssReload = (__webpack_require__("./node_modules/@rspack/core/dist/cssExtractHmr.js")/* .cssReload */.cssReload)(module.id, {});
231
231
  // only invalidate when locals change
232
232
  if (
@@ -254,7 +254,7 @@ __webpack_require__.r(__webpack_exports__);
254
254
  if(true) {
255
255
  (function() {
256
256
  var localsJsonString = undefined;
257
- // 1765958923769
257
+ // 1765977235829
258
258
  var cssReload = (__webpack_require__("./node_modules/@rspack/core/dist/cssExtractHmr.js")/* .cssReload */.cssReload)(module.id, {});
259
259
  // only invalidate when locals change
260
260
  if (
@@ -6490,7 +6490,7 @@ __webpack_require__.d(__webpack_exports__, {
6490
6490
  /* provided dependency */ var $ReactRefreshRuntime$ = __webpack_require__("./node_modules/@rspack/plugin-react-refresh/client/reactRefresh.js");
6491
6491
  const Style = (param)=>{
6492
6492
  let { theme } = param;
6493
- var _theme_palette_view, _theme_palette_bg, _theme_palette_border, _theme_palette_border1, _theme_palette_border2, _theme_palette_bg1, _theme_palette_bg2, _theme_palette_border3, _theme_palette_border4, _theme_palette_border5, _theme_palette_view1, _theme_palette_view2;
6493
+ var _theme_palette_view, _theme_palette_bg, _theme_palette_border, _theme_palette_border1, _theme_palette_border2, _theme_palette_bg1, _theme_palette_view1, _theme_palette_border3, _theme_palette_border4, _theme_palette_border5, _theme_palette_view2, _theme_palette_view3;
6494
6494
  return {
6495
6495
  '&.MuiTableContainer-root ': {
6496
6496
  height: 'calc(100% - 30px)'
@@ -6613,7 +6613,7 @@ const Style = (param)=>{
6613
6613
  position: 'sticky !important',
6614
6614
  right: 0,
6615
6615
  top: 0,
6616
- backgroundColor: (_theme_palette_bg2 = theme.palette.bg) === null || _theme_palette_bg2 === void 0 ? void 0 : _theme_palette_bg2.lightBg,
6616
+ backgroundColor: (_theme_palette_view1 = theme.palette.view) === null || _theme_palette_view1 === void 0 ? void 0 : _theme_palette_view1.table,
6617
6617
  zIndex: 4
6618
6618
  },
6619
6619
  '.headerContent': {
@@ -6674,14 +6674,14 @@ const Style = (param)=>{
6674
6674
  position: 'sticky !important',
6675
6675
  right: 0,
6676
6676
  top: 0,
6677
- backgroundColor: (_theme_palette_view1 = theme.palette.view) === null || _theme_palette_view1 === void 0 ? void 0 : _theme_palette_view1.table,
6677
+ backgroundColor: (_theme_palette_view2 = theme.palette.view) === null || _theme_palette_view2 === void 0 ? void 0 : _theme_palette_view2.table,
6678
6678
  zIndex: 4
6679
6679
  },
6680
6680
  '.MuiTableHead-root': {
6681
6681
  position: 'sticky',
6682
6682
  top: 0,
6683
6683
  zIndex: 3,
6684
- backgroundColor: (_theme_palette_view2 = theme.palette.view) === null || _theme_palette_view2 === void 0 ? void 0 : _theme_palette_view2.table
6684
+ backgroundColor: (_theme_palette_view3 = theme.palette.view) === null || _theme_palette_view3 === void 0 ? void 0 : _theme_palette_view3.table
6685
6685
  }
6686
6686
  },
6687
6687
  // Date search field styles
@@ -6913,6 +6913,14 @@ const Style = (param)=>{
6913
6913
  },
6914
6914
  '& .tab-label': {
6915
6915
  fontWeight: 600
6916
+ },
6917
+ '& .fillPath': {
6918
+ fill: theme.palette.secondary.main
6919
+ },
6920
+ '& .Mui-selected': {
6921
+ '& .fillPath': {
6922
+ fill: theme.palette.primary.main
6923
+ }
6916
6924
  }
6917
6925
  };
6918
6926
  };
@@ -7035,7 +7043,8 @@ const TabsComponent = (param)=>{
7035
7043
  }, void 0),
7036
7044
  /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_mui_material__WEBPACK_IMPORTED_MODULE_1__.Grid, {
7037
7045
  children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_typography__WEBPACK_IMPORTED_MODULE_2__["default"], {
7038
- variant: "h1",
7046
+ variant: "body1",
7047
+ className: "tab-label",
7039
7048
  children: tab.label
7040
7049
  }, void 0, false, {
7041
7050
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/tabs/tabs.tsx",
@@ -7063,8 +7072,6 @@ const TabsComponent = (param)=>{
7063
7072
  }, void 0),
7064
7073
  value: tabValue,
7065
7074
  disabled: tab.disabled,
7066
- icon: tab.icon,
7067
- iconPosition: tab.iconPosition || 'start',
7068
7075
  className: "tab-item"
7069
7076
  }, tabValue, false, {
7070
7077
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/tabs/tabs.tsx",
@@ -10018,7 +10025,7 @@ var _s = $RefreshSig$();
10018
10025
 
10019
10026
 
10020
10027
  const ViewSwitch = (param)=>{
10021
- let { viewType = 'tile', handleClick = ()=>{} } = param;
10028
+ let { viewType = 'TILE', handleClick = ()=>{} } = param;
10022
10029
  _s();
10023
10030
  const handleViewSwitch = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)((_, value)=>{
10024
10031
  if (value) {
@@ -10041,7 +10048,7 @@ const ViewSwitch = (param)=>{
10041
10048
  placement: "top",
10042
10049
  arrow: true,
10043
10050
  children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_mui_material__WEBPACK_IMPORTED_MODULE_2__.ToggleButton, {
10044
- value: "list",
10051
+ value: "LIST",
10045
10052
  "aria-label": "List View",
10046
10053
  children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_assets_svg__WEBPACK_IMPORTED_MODULE_5__.ListViewIcon, {}, void 0, false, {
10047
10054
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/viewHeader/defaultActions/viewSwitch.tsx",
@@ -10063,7 +10070,7 @@ const ViewSwitch = (param)=>{
10063
10070
  placement: "top",
10064
10071
  arrow: true,
10065
10072
  children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_mui_material__WEBPACK_IMPORTED_MODULE_2__.ToggleButton, {
10066
- value: "tile",
10073
+ value: "TILE",
10067
10074
  "aria-label": "Tile View",
10068
10075
  children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_assets_svg__WEBPACK_IMPORTED_MODULE_6__.TileViewIcon, {}, void 0, false, {
10069
10076
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/viewHeader/defaultActions/viewSwitch.tsx",