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

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,13 @@
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.3.23-beta.0](https://github.com/spaced-out/ui-design-system/compare/v0.3.22...v0.3.23-beta.0) (2025-02-15)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * tooltip for SideMenuLink as Link and Button ([#321](https://github.com/spaced-out/ui-design-system/issues/321)) ([656d9e4](https://github.com/spaced-out/ui-design-system/commit/656d9e4c927573c52dedf27574dd202004e3c24b))
11
+
5
12
  ### [0.3.22](https://github.com/spaced-out/ui-design-system/compare/v0.3.21...v0.3.22) (2025-02-06)
6
13
 
7
14
 
package/CONTRIBUTING.md CHANGED
@@ -155,7 +155,7 @@ Check out our [**Design Tokens Page**](https://spaced-out.github.io/ui-design-sy
155
155
  ...
156
156
  "dependencies": {
157
157
  ...
158
- "@spaced-out/ui-design-system": "file:../../ui_design_system",
158
+ "@spaced-out/ui-design-system": "file:../ui_design_system",
159
159
  ...
160
160
  },
161
161
  ...
@@ -224,7 +224,7 @@ const SideMenuLink = /*#__PURE__*/React.forwardRef((_ref, ref) => {
224
224
  condition: to !== undefined,
225
225
  wrapper: children => /*#__PURE__*/React.createElement(_Link.Link, {
226
226
  to: to,
227
- tabIndex: disabled ? -1 : 0,
227
+ tabIndex: -1,
228
228
  linkComponent: LinkComponent,
229
229
  className: (0, _classify.default)(_SideMenuLinkModule.default.linkComponent, {
230
230
  [_SideMenuLinkModule.default.closed]: !opened
@@ -245,7 +245,7 @@ const SideMenuLink = /*#__PURE__*/React.forwardRef((_ref, ref) => {
245
245
  }, classNames?.wrapper),
246
246
  onClick: onChangeHandler,
247
247
  ref: ref,
248
- tabIndex: disabled || to !== undefined ? -1 : tabIndex,
248
+ tabIndex: disabled ? -1 : tabIndex,
249
249
  disabled: disabled,
250
250
  key: pageNameKey
251
251
  }), pageNameKey && MENU_NAME_LIST[pageNameKey] ? /*#__PURE__*/React.createElement("div", {
@@ -256,7 +256,7 @@ export const SideMenuLink: React$AbstractComponent<
256
256
  wrapper={(children) => (
257
257
  <Link
258
258
  to={to}
259
- tabIndex={disabled ? -1 : 0}
259
+ tabIndex={-1}
260
260
  linkComponent={LinkComponent}
261
261
  className={classify(css.linkComponent, {
262
262
  [css.closed]: !opened,
@@ -289,7 +289,7 @@ export const SideMenuLink: React$AbstractComponent<
289
289
  )}
290
290
  onClick={onChangeHandler}
291
291
  ref={ref}
292
- tabIndex={disabled || to !== undefined ? -1 : tabIndex}
292
+ tabIndex={disabled ? -1 : tabIndex}
293
293
  disabled={disabled}
294
294
  key={pageNameKey}
295
295
  >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spaced-out/ui-design-system",
3
- "version": "0.3.22",
3
+ "version": "0.3.23-beta.0",
4
4
  "main": "index.js",
5
5
  "description": "Sense UI components library",
6
6
  "author": {