@spaced-out/ui-design-system 0.0.63 → 0.0.64

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.0.64](https://github.com/spaced-out/ui-design-system/compare/v0.0.63...v0.0.64) (2023-03-29)
6
+
7
+
8
+ ### Features
9
+
10
+ * submenu spacing correction ([#87](https://github.com/spaced-out/ui-design-system/issues/87)) ([6cc9011](https://github.com/spaced-out/ui-design-system/commit/6cc901182bb2426ba02769f605b52126ff7a0267))
11
+
5
12
  ### [0.0.63](https://github.com/spaced-out/ui-design-system/compare/v0.0.62...v0.0.63) (2023-03-28)
6
13
 
7
14
 
@@ -146,7 +146,7 @@ const SubMenuGroup = _ref5 => {
146
146
  className: (0, _classify.default)(_SubMenuModule.default.subMenuGroupHeader, classNames?.groupHeader),
147
147
  onClick: collapseHandler,
148
148
  onKeyDown: onKeyDownHandlerHeader,
149
- tabindex: "0"
149
+ tabIndex: "0"
150
150
  }, /*#__PURE__*/React.createElement(_Text.SubTitleExtraSmall, {
151
151
  color: _Text.TEXT_COLORS.inverseSecondary,
152
152
  className: _SubMenuModule.default.groupTitle
@@ -207,7 +207,7 @@ export const SubMenuGroup = ({
207
207
  className={classify(css.subMenuGroupHeader, classNames?.groupHeader)}
208
208
  onClick={collapseHandler}
209
209
  onKeyDown={onKeyDownHandlerHeader}
210
- tabindex="0"
210
+ tabIndex="0"
211
211
  >
212
212
  <SubTitleExtraSmall
213
213
  color={TEXT_COLORS.inverseSecondary}
@@ -12,7 +12,7 @@
12
12
  colorSuccess,
13
13
  colorFocusDanger
14
14
  ) from '../../styles/variables/_color.css';
15
- @value ( spaceNone, spaceXSmall, spaceSmall, spaceMedium ) from '../../styles/variables/_space.css';
15
+ @value ( spaceNone, spaceXXSmall, spaceXSmall, spaceSmall, spaceMedium ) from '../../styles/variables/_space.css';
16
16
 
17
17
  @value ( borderWidthTertiary, borderRadiusSmall, borderWidthPrimary, borderRadiusMedium, borderWidthNone) from '../../styles/variables/_border.css';
18
18
 
@@ -76,11 +76,6 @@
76
76
  cursor: pointer;
77
77
  padding: spaceXSmall;
78
78
  border-radius: borderRadiusSmall;
79
- border: borderWidthTertiary solid colorFillNone;
80
- }
81
-
82
- .subMenuGroupHeader:focus-within {
83
- border: borderWidthTertiary solid colorFocusPrimary;
84
79
  }
85
80
 
86
81
  .subMenuGroupHeader:focus-visible {
@@ -88,7 +83,8 @@
88
83
  }
89
84
 
90
85
  .subMenuGroupHeader:focus {
91
- border: borderWidthTertiary solid colorFocusPrimary;
86
+ box-shadow: borderWidthNone borderWidthNone borderWidthNone
87
+ borderWidthTertiary colorFocusPrimary;
92
88
  }
93
89
 
94
90
  .groupTitle {
@@ -98,8 +94,8 @@
98
94
  .subMenuGroup {
99
95
  display: flex;
100
96
  flex-direction: column;
101
- margin-top: spaceMedium;
102
- gap: spaceMedium;
97
+ margin-top: spaceXSmall;
98
+ gap: spaceXXSmall;
103
99
  }
104
100
 
105
101
  .subMenuGroup.collapsed {
@@ -123,7 +119,6 @@
123
119
  cursor: pointer;
124
120
  padding: spaceXSmall;
125
121
  box-sizing: border-box;
126
- border: borderWidthTertiary solid colorFillNone;
127
122
  }
128
123
 
129
124
  .menuItem:not(.selected):hover {
@@ -136,7 +131,8 @@
136
131
 
137
132
  .menuItem:focus {
138
133
  background: colorNeutralDarkest;
139
- border: borderWidthTertiary solid colorFocusPrimary;
134
+ box-shadow: borderWidthNone borderWidthNone borderWidthNone
135
+ borderWidthTertiary colorFocusPrimary;
140
136
  }
141
137
 
142
138
  .menuIcon {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spaced-out/ui-design-system",
3
- "version": "0.0.63",
3
+ "version": "0.0.64",
4
4
  "main": "index.js",
5
5
  "description": "Sense UI components library",
6
6
  "author": {