@bbki.ng/components 1.5.0 → 1.5.1

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.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React, { EventHandler, ReactElement } from 'react';
1
+ import React, { EventHandler, ReactElement, CSSProperties } from 'react';
2
2
  import { LinkProps as LinkProps$1 } from 'react-router-dom';
3
3
 
4
4
  declare type ArticleProps = {
@@ -103,9 +103,11 @@ declare const Table: {
103
103
  (props: TableProps): JSX.Element;
104
104
  HCell(props: {
105
105
  children: any;
106
+ style?: CSSProperties;
106
107
  }): JSX.Element;
107
108
  Cell(props: {
108
109
  children: any;
110
+ style?: CSSProperties;
109
111
  }): JSX.Element;
110
112
  };
111
113
 
package/dist/index.js CHANGED
@@ -322,8 +322,8 @@ var Table = (props) => {
322
322
  className
323
323
  }, headerRenderer && /* @__PURE__ */ import_react10.default.createElement("thead", null, /* @__PURE__ */ import_react10.default.createElement("tr", null, headerRenderer())), /* @__PURE__ */ import_react10.default.createElement("tbody", null, rows));
324
324
  };
325
- Table.HCell = (props) => /* @__PURE__ */ import_react10.default.createElement("th", null, props.children);
326
- Table.Cell = (props) => /* @__PURE__ */ import_react10.default.createElement("td", null, props.children);
325
+ Table.HCell = (props) => /* @__PURE__ */ import_react10.default.createElement("th", __spreadValues({}, props), props.children);
326
+ Table.Cell = (props) => /* @__PURE__ */ import_react10.default.createElement("td", __spreadValues({}, props), props.children);
327
327
  module.exports = __toCommonJS(src_exports);
328
328
  // Annotate the CommonJS export names for ESM import in node:
329
329
  0 && (module.exports = {
package/dist/index.mjs CHANGED
@@ -278,8 +278,8 @@ var Table = (props) => {
278
278
  className
279
279
  }, headerRenderer && /* @__PURE__ */ React11.createElement("thead", null, /* @__PURE__ */ React11.createElement("tr", null, headerRenderer())), /* @__PURE__ */ React11.createElement("tbody", null, rows));
280
280
  };
281
- Table.HCell = (props) => /* @__PURE__ */ React11.createElement("th", null, props.children);
282
- Table.Cell = (props) => /* @__PURE__ */ React11.createElement("td", null, props.children);
281
+ Table.HCell = (props) => /* @__PURE__ */ React11.createElement("th", __spreadValues({}, props), props.children);
282
+ Table.Cell = (props) => /* @__PURE__ */ React11.createElement("td", __spreadValues({}, props), props.children);
283
283
  export {
284
284
  Article,
285
285
  Breadcrumb,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbki.ng/components",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",