@pdg/react-table 1.0.91 → 1.0.93

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.esm.js CHANGED
@@ -2064,12 +2064,12 @@ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, temp
2064
2064
  : undefined;
2065
2065
  return item.type === 'divider' ? (React.createElement(Grid, { key: idx, item: true, xs: 12 },
2066
2066
  React.createElement(Stack, { direction: 'row', spacing: 0.5, alignItems: 'center' },
2067
- item.icon && (React.createElement(PdgIcon, { sx: { color: item.dividerColor || dividerColor }, fontSize: 'small' }, item.icon)),
2067
+ item.icon && (React.createElement(PdgIcon, { sx: { color: item.dividerColor || dividerColor }, size: 'small' }, item.icon)),
2068
2068
  item.label && (React.createElement(Label, { className: classNames(labelClassName, item.labelClassName), style: __assign(__assign({}, item.labelStyle), labelStyle), sx: finalLabelSx }, item.label)),
2069
2069
  item.dividerLine && (React.createElement(React.Fragment, null, item.icon || item.label ? (React.createElement("div", { style: { flex: 1, paddingLeft: 5 } },
2070
2070
  React.createElement(Line, null))) : (React.createElement(Line, null))))))) : (React.createElement(Grid, __assign({ key: idx, item: true }, sizeProps, { className: item.className, style: item.style, sx: item.sx }),
2071
2071
  React.createElement(Stack, { direction: 'row', spacing: 0.5, alignItems: 'center' },
2072
- item.icon && (React.createElement(PdgIcon, { sx: { color: finalLabelColor }, fontSize: 'small' }, "CalendarMonth")),
2072
+ item.icon && (React.createElement(PdgIcon, { sx: { color: finalLabelColor }, size: 'small' }, "CalendarMonth")),
2073
2073
  React.createElement(Label, { className: classNames(labelClassName, item.labelClassName), style: __assign(__assign({}, item.labelStyle), labelStyle), sx: finalLabelSx }, item.label)),
2074
2074
  React.createElement(ValueWrap, { className: classNames(valueClassName, item.valueClassName), style: __assign(__assign(__assign({}, valueStyle), item.valueStyle), valueUnderlineStyle), sx: finalValueSx },
2075
2075
  item.ellipsis || ellipsis ? React.createElement(ValueEllipsis, null, data) : React.createElement(Value, null, data),
package/dist/index.js CHANGED
@@ -2064,12 +2064,12 @@ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, temp
2064
2064
  : undefined;
2065
2065
  return item.type === 'divider' ? (React.createElement(material.Grid, { key: idx, item: true, xs: 12 },
2066
2066
  React.createElement(material.Stack, { direction: 'row', spacing: 0.5, alignItems: 'center' },
2067
- item.icon && (React.createElement(reactComponent.PdgIcon, { sx: { color: item.dividerColor || dividerColor }, fontSize: 'small' }, item.icon)),
2067
+ item.icon && (React.createElement(reactComponent.PdgIcon, { sx: { color: item.dividerColor || dividerColor }, size: 'small' }, item.icon)),
2068
2068
  item.label && (React.createElement(Label, { className: classNames(labelClassName, item.labelClassName), style: __assign(__assign({}, item.labelStyle), labelStyle), sx: finalLabelSx }, item.label)),
2069
2069
  item.dividerLine && (React.createElement(React.Fragment, null, item.icon || item.label ? (React.createElement("div", { style: { flex: 1, paddingLeft: 5 } },
2070
2070
  React.createElement(Line, null))) : (React.createElement(Line, null))))))) : (React.createElement(material.Grid, __assign({ key: idx, item: true }, sizeProps, { className: item.className, style: item.style, sx: item.sx }),
2071
2071
  React.createElement(material.Stack, { direction: 'row', spacing: 0.5, alignItems: 'center' },
2072
- item.icon && (React.createElement(reactComponent.PdgIcon, { sx: { color: finalLabelColor }, fontSize: 'small' }, "CalendarMonth")),
2072
+ item.icon && (React.createElement(reactComponent.PdgIcon, { sx: { color: finalLabelColor }, size: 'small' }, "CalendarMonth")),
2073
2073
  React.createElement(Label, { className: classNames(labelClassName, item.labelClassName), style: __assign(__assign({}, item.labelStyle), labelStyle), sx: finalLabelSx }, item.label)),
2074
2074
  React.createElement(ValueWrap, { className: classNames(valueClassName, item.valueClassName), style: __assign(__assign(__assign({}, valueStyle), item.valueStyle), valueUnderlineStyle), sx: finalValueSx },
2075
2075
  item.ellipsis || ellipsis ? React.createElement(ValueEllipsis, null, data) : React.createElement(Value, null, data),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pdg/react-table",
3
3
  "title": "React Table",
4
- "version": "1.0.91",
4
+ "version": "1.0.93",
5
5
  "description": "React Table",
6
6
  "type": "module",
7
7
  "types": "dist/index.d.ts",
@@ -24,7 +24,8 @@
24
24
  "dev": "cd examples && npm run dev",
25
25
  "dev-prd-lib": "cd examples && npm run dev-prd-lib",
26
26
  "build": "rollup -c --bundleConfigAsCjs",
27
- "pub": "npm i && npm run build && npm publish --access=public && rm ./.git/hooks/pre-commit",
27
+ "build:examples": "cd examples && npm run build",
28
+ "pub": "npm i && npm run build:examples && npm run build && npm publish --access=public && rm ./.git/hooks/pre-commit",
28
29
  "lint": "eslint './src/**/*.{ts,tsx}'",
29
30
  "reinstall-module": "rm -rf node_modules && rm -f package-lock.json && npm i"
30
31
  },
@@ -46,10 +47,10 @@
46
47
  "@mui/icons-material": "^5.15.13",
47
48
  "@mui/material": "^5.15.13",
48
49
  "@mui/x-date-pickers": "^6.19.7",
49
- "@pdg/react-component": "^1.0.11",
50
- "@pdg/react-form": "^1.0.103",
51
- "@pdg/react-hook": "^1.0.14",
52
- "@pdg/util": "^1.0.19",
50
+ "@pdg/react-component": "^1.0.12",
51
+ "@pdg/react-form": "^1.0.105",
52
+ "@pdg/react-hook": "^1.0.16",
53
+ "@pdg/util": "^1.0.20",
53
54
  "@tinymce/tinymce-react": "^4.3.2",
54
55
  "@types/react": "^17.0.0 || ^18.0.0",
55
56
  "@types/react-copy-to-clipboard": "^5.0.7",