@spaced-out/ui-design-system 0.1.18 → 0.1.20

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/CHANGELOG.md CHANGED
@@ -2,6 +2,21 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.1.20](https://github.com/spaced-out/ui-design-system/compare/v0.1.19...v0.1.20) (2023-04-24)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * simple imports fix ([8fa3fb6](https://github.com/spaced-out/ui-design-system/commit/8fa3fb6c340da300e96540085d151b34dfe5caab))
11
+ * simple imports fix for table ([f177569](https://github.com/spaced-out/ui-design-system/commit/f177569a87fb964f16f65b162f7a45408105b547))
12
+
13
+ ### [0.1.19](https://github.com/spaced-out/ui-design-system/compare/v0.1.18...v0.1.19) (2023-04-24)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * simple imports fix for table ([6f17475](https://github.com/spaced-out/ui-design-system/commit/6f17475308125e0858f5635af29663ac30b27a04))
19
+
5
20
  ### [0.1.18](https://github.com/spaced-out/ui-design-system/compare/v0.1.17...v0.1.18) (2023-04-24)
6
21
 
7
22
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.SingleCell = exports.Row = exports.PaddedDoubleContentCell = exports.PaddedContentCell = exports.MonogramCell = exports.Monogram = exports.DoubleCell = exports.DateCell = exports.Cells = exports.Cell = exports.BasicSingleCell = exports.BasicDoubleCell = void 0;
6
+ exports.SingleCell = exports.PaddedDoubleContentCell = exports.PaddedContentCell = exports.MonogramCell = exports.Monogram = exports.DoubleCell = exports.DateCell = exports.Cells = exports.Cell = exports.BasicSingleCell = exports.BasicDoubleCell = void 0;
7
7
  var React = _interopRequireWildcard(require("react"));
8
8
  var _formatDistance = _interopRequireDefault(require("date-fns/formatDistance"));
9
9
  var _parseISO = _interopRequireDefault(require("date-fns/parseISO"));
@@ -27,8 +27,6 @@ const Cells = _ref => {
27
27
  }, rest), children);
28
28
  };
29
29
  exports.Cells = Cells;
30
- const Row = Cells;
31
- exports.Row = Row;
32
30
  const Cell = _ref2 => {
33
31
  let {
34
32
  children,
@@ -31,7 +31,6 @@ export const Cells = ({
31
31
  {children}
32
32
  </div>
33
33
  );
34
- export const Row = Cells;
35
34
 
36
35
  export const Cell = ({
37
36
  children,
@@ -31,7 +31,7 @@ function StaticTable(props) {
31
31
  const {
32
32
  classNames,
33
33
  className,
34
- Row,
34
+ TableRow,
35
35
  entries,
36
36
  extras,
37
37
  rowKeys,
@@ -111,7 +111,7 @@ function StaticTable(props) {
111
111
  }
112
112
  data;
113
113
  const selected = selectedKeys?.includes((0, _get.default)(data, idName)) ?? undefined;
114
- return Row ? /*#__PURE__*/React.createElement(Row, {
114
+ return TableRow ? /*#__PURE__*/React.createElement(TableRow, {
115
115
  key: key,
116
116
  data: data,
117
117
  headers: headers
@@ -40,7 +40,7 @@ export function StaticTable<Data: GenericObject, Extras: GenericObject>(props: {
40
40
  const {
41
41
  classNames,
42
42
  className,
43
- Row,
43
+ TableRow,
44
44
  entries,
45
45
  extras,
46
46
  rowKeys,
@@ -144,8 +144,8 @@ export function StaticTable<Data: GenericObject, Extras: GenericObject>(props: {
144
144
  const selected =
145
145
  selectedKeys?.includes(get(data, idName)) ?? undefined;
146
146
 
147
- return Row ? (
148
- <Row
147
+ return TableRow ? (
148
+ <TableRow
149
149
  key={key}
150
150
  data={data}
151
151
  headers={headers}
@@ -30,7 +30,7 @@ function Table(props) {
30
30
  // eslint-disable-next-line unused-imports/no-unused-vars
31
31
  classNames,
32
32
  // eslint-disable-next-line unused-imports/no-unused-vars
33
- Row,
33
+ TableRow,
34
34
  entries,
35
35
  // eslint-disable-next-line unused-imports/no-unused-vars
36
36
  extras,
@@ -29,7 +29,7 @@ type ClassNames = $ReadOnly<{
29
29
  export type TableProps<T, U> = {
30
30
  classNames?: ClassNames,
31
31
  className?: string,
32
- Row?: TableRow<T, U>,
32
+ TableRow?: TableRow<T, U>,
33
33
  headers: GenericHeaderItems<T, U>,
34
34
  entries: Array<T>,
35
35
  extras?: U,
@@ -74,7 +74,7 @@ export function Table<Data: GenericObject, Extras: GenericObject>(
74
74
  // eslint-disable-next-line unused-imports/no-unused-vars
75
75
  classNames,
76
76
  // eslint-disable-next-line unused-imports/no-unused-vars
77
- Row,
77
+ TableRow,
78
78
  entries,
79
79
  // eslint-disable-next-line unused-imports/no-unused-vars
80
80
  extras,
@@ -1,18 +1,5 @@
1
1
  // @flow strict
2
2
 
3
- // export {
4
- // BasicSingleCell,
5
- // DateCell,
6
- // DoubleCell,
7
- // Monogram,
8
- // MonogramCell,
9
- // SingleCell,
10
- // } from './Cell';
11
- // export {DefaultRow} from './Row';
12
- // export {StaticTable} from './StaticTable';
13
- // export type {TableProps} from './Table';
14
- // export {Table} from './Table';
15
-
16
3
  export * from './Cell';
17
4
  export * from './DefaultRow';
18
5
  export * from './DefaultTableHeader';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spaced-out/ui-design-system",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "main": "index.js",
5
5
  "description": "Sense UI components library",
6
6
  "author": {