@spaced-out/ui-design-system 0.1.48-beta.0 → 0.1.48

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,20 @@
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.48](https://github.com/spaced-out/ui-design-system/compare/v0.1.48-beta.1...v0.1.48) (2023-09-12)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * added jobs page name in PageTitle component ([#143](https://github.com/spaced-out/ui-design-system/issues/143)) ([904a124](https://github.com/spaced-out/ui-design-system/commit/904a1244af6863b70b39e5c07aa6295b09f0e434))
11
+
12
+ ### [0.1.48-beta.1](https://github.com/spaced-out/ui-design-system/compare/v0.1.48-beta.0...v0.1.48-beta.1) (2023-09-11)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * submenu forwardref ([#142](https://github.com/spaced-out/ui-design-system/issues/142)) ([5e358ab](https://github.com/spaced-out/ui-design-system/commit/5e358ab36ba33243518f8720236780b1803c4267))
18
+
5
19
  ### [0.1.48-beta.0](https://github.com/spaced-out/ui-design-system/compare/v0.1.47...v0.1.48-beta.0) (2023-09-04)
6
20
 
7
21
 
@@ -92,6 +92,12 @@ const PAGE_NAME_LIST = Object.freeze({
92
92
  iconType: 'duotone',
93
93
  iconSwapOpacity: true
94
94
  },
95
+ jobs: {
96
+ title: 'Jobs',
97
+ iconName: 'briefcase',
98
+ iconType: 'duotone',
99
+ iconSwapOpacity: true
100
+ },
95
101
  contacts: {
96
102
  title: 'Contacts',
97
103
  iconName: 'address-card',
@@ -100,6 +100,12 @@ export const PAGE_NAME_LIST = Object.freeze({
100
100
  iconType: 'duotone',
101
101
  iconSwapOpacity: true,
102
102
  },
103
+ jobs: {
104
+ title: 'Jobs',
105
+ iconName: 'briefcase',
106
+ iconType: 'duotone',
107
+ iconSwapOpacity: true,
108
+ },
103
109
  contacts: {
104
110
  title: 'Contacts',
105
111
  iconName: 'address-card',
@@ -132,6 +132,10 @@
132
132
  borderWidthTertiary colorFocusPrimary;
133
133
  }
134
134
 
135
+ .subMenuGroupHeader:not(.collapsible) {
136
+ background: colorNeutralDarkest;
137
+ }
138
+
135
139
  .subMenuGroupHeader.collapsed,
136
140
  .subMenuLink.collapsed {
137
141
  background: colorNeutralDarkest;
@@ -54,16 +54,17 @@ const SubMenuItemBadges = _ref3 => {
54
54
  };
55
55
  exports.SubMenuItemBadges = SubMenuItemBadges;
56
56
  SubMenuItemBadges.displayName = 'SubMenuItemBadges';
57
- const SubMenuItemAction = _ref4 => {
57
+ const SubMenuItemAction = /*#__PURE__*/React.forwardRef((_ref4, ref) => {
58
58
  let {
59
59
  children,
60
60
  className,
61
61
  ...props
62
62
  } = _ref4;
63
63
  return /*#__PURE__*/React.createElement("div", _extends({}, props, {
64
- className: (0, _classify.default)(_SubMenuModule.default.actionItems, className)
64
+ className: (0, _classify.default)(_SubMenuModule.default.actionItems, className),
65
+ ref: ref
65
66
  }), children);
66
- };
67
+ });
67
68
  exports.SubMenuItemAction = SubMenuItemAction;
68
69
  SubMenuItemAction.displayName = 'SubMenuItemAction';
69
70
  const SubMenuItem = /*#__PURE__*/React.forwardRef((_ref5, ref) => {
@@ -65,14 +65,18 @@ export type SubMenuItemActionProps = {
65
65
  className?: string,
66
66
  ...
67
67
  };
68
- export const SubMenuItemAction = ({
69
- children,
70
- className,
71
- ...props
72
- }: SubMenuItemActionProps): React.Node => (
73
- <div {...props} className={classify(css.actionItems, className)}>
74
- {children}
75
- </div>
68
+ export const SubMenuItemAction: React$AbstractComponent<
69
+ SubMenuItemActionProps,
70
+ HTMLElement,
71
+ > = React.forwardRef(
72
+ (
73
+ {children, className, ...props}: SubMenuItemActionProps,
74
+ ref,
75
+ ): React.Node => (
76
+ <div {...props} className={classify(css.actionItems, className)} ref={ref}>
77
+ {children}
78
+ </div>
79
+ ),
76
80
  );
77
81
  SubMenuItemAction.displayName = 'SubMenuItemAction';
78
82
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spaced-out/ui-design-system",
3
- "version": "0.1.48-beta.0",
3
+ "version": "0.1.48",
4
4
  "main": "index.js",
5
5
  "description": "Sense UI components library",
6
6
  "author": {