@spaced-out/ui-design-system 0.0.43 → 0.0.45
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,22 @@
|
|
|
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.0.45](https://github.com/spaced-out/ui-design-system/compare/v0.0.44...v0.0.45) (2023-03-10)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* sub menu item ([ba15c22](https://github.com/spaced-out/ui-design-system/commit/ba15c22ffd605e0ce799de4bdf0ecb5d9f8ea323))
|
|
11
|
+
|
|
12
|
+
### [0.0.44](https://github.com/spaced-out/ui-design-system/compare/v0.0.43...v0.0.44) (2023-03-10)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* fixed table exports ([0cc9bb6](https://github.com/spaced-out/ui-design-system/commit/0cc9bb6e06041bb51c100aa6017f26f58c7f3532))
|
|
18
|
+
* menu custom component example ([46ad663](https://github.com/spaced-out/ui-design-system/commit/46ad66331192fe0fb448f3a65efe3815e25aa9d9))
|
|
19
|
+
* option button styling ([3650c2e](https://github.com/spaced-out/ui-design-system/commit/3650c2e4ad7cc05413476f30d509a6618ec819c9))
|
|
20
|
+
|
|
5
21
|
### [0.0.43](https://github.com/spaced-out/ui-design-system/compare/v0.0.42...v0.0.43) (2023-03-10)
|
|
6
22
|
|
|
7
23
|
|
|
@@ -58,7 +58,8 @@ const SubMenuItem = _ref4 => {
|
|
|
58
58
|
disabled,
|
|
59
59
|
classNames,
|
|
60
60
|
onChange,
|
|
61
|
-
menuKey
|
|
61
|
+
menuKey,
|
|
62
|
+
...props
|
|
62
63
|
} = _ref4;
|
|
63
64
|
const onChangeHandler = () => {
|
|
64
65
|
if (!disabled) {
|
|
@@ -82,13 +83,13 @@ const SubMenuItem = _ref4 => {
|
|
|
82
83
|
}
|
|
83
84
|
return null;
|
|
84
85
|
};
|
|
85
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
86
|
+
return /*#__PURE__*/React.createElement("div", _extends({}, props, {
|
|
86
87
|
className: (0, _classify.default)(_SubMenuModule.default.menuItem, {
|
|
87
88
|
[_SubMenuModule.default.selected]: selected,
|
|
88
89
|
[_SubMenuModule.default.disabled]: disabled
|
|
89
90
|
}, classNames?.wrapper),
|
|
90
91
|
onClick: onChangeHandler
|
|
91
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
92
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
92
93
|
className: _SubMenuModule.default.menuIconName
|
|
93
94
|
}, getNamedComp('SubMenuItemIcon'), getNamedComp('SubMenuItemText')), getNamedComp('SubMenuItemAction'));
|
|
94
95
|
};
|
|
@@ -72,6 +72,7 @@ export type SubMenuItemProps = {
|
|
|
72
72
|
disabled?: boolean,
|
|
73
73
|
onChange?: (selectedMenuKey: string) => mixed,
|
|
74
74
|
menuKey: string,
|
|
75
|
+
...
|
|
75
76
|
};
|
|
76
77
|
|
|
77
78
|
export const SubMenuItem = ({
|
|
@@ -81,6 +82,7 @@ export const SubMenuItem = ({
|
|
|
81
82
|
classNames,
|
|
82
83
|
onChange,
|
|
83
84
|
menuKey,
|
|
85
|
+
...props
|
|
84
86
|
}: SubMenuItemProps): React.Node => {
|
|
85
87
|
const onChangeHandler = () => {
|
|
86
88
|
if (!disabled) {
|
|
@@ -111,6 +113,7 @@ export const SubMenuItem = ({
|
|
|
111
113
|
|
|
112
114
|
return (
|
|
113
115
|
<div
|
|
116
|
+
{...props}
|
|
114
117
|
className={classify(
|
|
115
118
|
css.menuItem,
|
|
116
119
|
{
|
|
@@ -3,61 +3,58 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
Object.defineProperty(exports, "BasicSingleCell", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _Cell.BasicSingleCell;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "DateCell", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return _Cell.DateCell;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "DefaultRow", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () {
|
|
21
|
-
return _Row.DefaultRow;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "DoubleCell", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () {
|
|
27
|
-
return _Cell.DoubleCell;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(exports, "Monogram", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () {
|
|
33
|
-
return _Cell.Monogram;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperty(exports, "MonogramCell", {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function () {
|
|
39
|
-
return _Cell.MonogramCell;
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
Object.defineProperty(exports, "SingleCell", {
|
|
43
|
-
enumerable: true,
|
|
44
|
-
get: function () {
|
|
45
|
-
return _Cell.SingleCell;
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
Object.defineProperty(exports, "StaticTable", {
|
|
49
|
-
enumerable: true,
|
|
50
|
-
get: function () {
|
|
51
|
-
return _StaticTable.StaticTable;
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
Object.defineProperty(exports, "Table", {
|
|
55
|
-
enumerable: true,
|
|
56
|
-
get: function () {
|
|
57
|
-
return _Table.Table;
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
6
|
var _Cell = require("./Cell");
|
|
7
|
+
Object.keys(_Cell).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _Cell[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _Cell[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
61
17
|
var _Row = require("./Row");
|
|
18
|
+
Object.keys(_Row).forEach(function (key) {
|
|
19
|
+
if (key === "default" || key === "__esModule") return;
|
|
20
|
+
if (key in exports && exports[key] === _Row[key]) return;
|
|
21
|
+
Object.defineProperty(exports, key, {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () {
|
|
24
|
+
return _Row[key];
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
});
|
|
62
28
|
var _StaticTable = require("./StaticTable");
|
|
63
|
-
|
|
29
|
+
Object.keys(_StaticTable).forEach(function (key) {
|
|
30
|
+
if (key === "default" || key === "__esModule") return;
|
|
31
|
+
if (key in exports && exports[key] === _StaticTable[key]) return;
|
|
32
|
+
Object.defineProperty(exports, key, {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () {
|
|
35
|
+
return _StaticTable[key];
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
var _Table = require("./Table");
|
|
40
|
+
Object.keys(_Table).forEach(function (key) {
|
|
41
|
+
if (key === "default" || key === "__esModule") return;
|
|
42
|
+
if (key in exports && exports[key] === _Table[key]) return;
|
|
43
|
+
Object.defineProperty(exports, key, {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () {
|
|
46
|
+
return _Table[key];
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
var _TableHeader = require("./TableHeader");
|
|
51
|
+
Object.keys(_TableHeader).forEach(function (key) {
|
|
52
|
+
if (key === "default" || key === "__esModule") return;
|
|
53
|
+
if (key in exports && exports[key] === _TableHeader[key]) return;
|
|
54
|
+
Object.defineProperty(exports, key, {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () {
|
|
57
|
+
return _TableHeader[key];
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
});
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
// @flow strict
|
|
2
2
|
|
|
3
|
-
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from './Cell';
|
|
11
|
-
export {DefaultRow} from './Row';
|
|
12
|
-
export {StaticTable} from './StaticTable';
|
|
13
|
-
export type {TableProps} from './Table';
|
|
14
|
-
export {Table} from './Table';
|
|
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
|
+
export * from './Cell';
|
|
17
|
+
export * from './Row';
|
|
18
|
+
export * from './StaticTable';
|
|
19
|
+
export * from './Table';
|
|
20
|
+
export * from './TableHeader';
|