@spaced-out/ui-design-system 0.4.10 → 0.4.12
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.4.12](https://github.com/spaced-out/ui-design-system/compare/v0.4.11...v0.4.12) (2025-07-29)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* [filter-overlay] fluid class overrides small and medium class ([#383](https://github.com/spaced-out/ui-design-system/issues/383)) ([f94c132](https://github.com/spaced-out/ui-design-system/commit/f94c13297c25ff659b343587795919a9a264756c))
|
|
11
|
+
|
|
12
|
+
### [0.4.11](https://github.com/spaced-out/ui-design-system/compare/v0.4.10...v0.4.11) (2025-07-28)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* elevation and width ([#382](https://github.com/spaced-out/ui-design-system/issues/382)) ([da920bd](https://github.com/spaced-out/ui-design-system/commit/da920bd2206e22c5094ea7d92d155b76b5dd10a8))
|
|
18
|
+
|
|
5
19
|
### [0.4.10](https://github.com/spaced-out/ui-design-system/compare/v0.4.10-beta.0...v0.4.10) (2025-07-25)
|
|
6
20
|
|
|
7
21
|
|
|
@@ -23,7 +23,7 @@ const FilterButtonOverlay = exports.FilterButtonOverlay = /*#__PURE__*/React.for
|
|
|
23
23
|
anchorPosition = _ButtonDropdown.ANCHOR_POSITION_TYPE.bottomStart,
|
|
24
24
|
positionStrategy = _ButtonDropdown.STRATEGY_TYPE.absolute,
|
|
25
25
|
clickAwayRef,
|
|
26
|
-
size,
|
|
26
|
+
size = 'medium',
|
|
27
27
|
children,
|
|
28
28
|
isFluid,
|
|
29
29
|
buttonLabel,
|
|
@@ -77,6 +77,7 @@ const FilterButtonOverlay = exports.FilterButtonOverlay = /*#__PURE__*/React.for
|
|
|
77
77
|
initialFocus: refs.reference
|
|
78
78
|
}, /*#__PURE__*/React.createElement("div", {
|
|
79
79
|
ref: (0, _utils.mergeRefs)([refs.setFloating, boundaryRef]),
|
|
80
|
+
className: _FilterButtonOverlayModule.default.overlayContainer,
|
|
80
81
|
style: {
|
|
81
82
|
display: 'flex',
|
|
82
83
|
position: strategy,
|
|
@@ -95,8 +96,8 @@ const FilterButtonOverlay = exports.FilterButtonOverlay = /*#__PURE__*/React.for
|
|
|
95
96
|
}, /*#__PURE__*/React.createElement("div", {
|
|
96
97
|
className: (0, _classify.default)(_FilterButtonOverlayModule.default.overlayWrapper, {
|
|
97
98
|
[_FilterButtonOverlayModule.default.fluid]: isFluid,
|
|
98
|
-
[_FilterButtonOverlayModule.default.
|
|
99
|
-
[_FilterButtonOverlayModule.default.
|
|
99
|
+
[_FilterButtonOverlayModule.default.small]: size === 'small',
|
|
100
|
+
[_FilterButtonOverlayModule.default.medium]: size === 'medium'
|
|
100
101
|
}, classNames?.overlayContainer)
|
|
101
102
|
}, children)))));
|
|
102
103
|
});
|
|
@@ -64,7 +64,7 @@ export const FilterButtonOverlay: React$AbstractComponent<
|
|
|
64
64
|
anchorPosition = ANCHOR_POSITION_TYPE.bottomStart,
|
|
65
65
|
positionStrategy = STRATEGY_TYPE.absolute,
|
|
66
66
|
clickAwayRef,
|
|
67
|
-
size,
|
|
67
|
+
size = 'medium',
|
|
68
68
|
children,
|
|
69
69
|
isFluid,
|
|
70
70
|
buttonLabel,
|
|
@@ -124,6 +124,7 @@ export const FilterButtonOverlay: React$AbstractComponent<
|
|
|
124
124
|
>
|
|
125
125
|
<div
|
|
126
126
|
ref={mergeRefs([refs.setFloating, boundaryRef])}
|
|
127
|
+
className={css.overlayContainer}
|
|
127
128
|
style={{
|
|
128
129
|
display: 'flex',
|
|
129
130
|
position: strategy,
|
|
@@ -145,8 +146,8 @@ export const FilterButtonOverlay: React$AbstractComponent<
|
|
|
145
146
|
css.overlayWrapper,
|
|
146
147
|
{
|
|
147
148
|
[css.fluid]: isFluid,
|
|
148
|
-
[css.medium]: size === 'medium',
|
|
149
149
|
[css.small]: size === 'small',
|
|
150
|
+
[css.medium]: size === 'medium',
|
|
150
151
|
},
|
|
151
152
|
classNames?.overlayContainer,
|
|
152
153
|
)}
|
|
@@ -4,20 +4,19 @@
|
|
|
4
4
|
@value (elevationMenu) from '../../styles/variables/_elevation.css';
|
|
5
5
|
|
|
6
6
|
.overlayWrapper {
|
|
7
|
-
position: relative;
|
|
8
7
|
composes: boxShadow2 from '../../styles/shadow.module.css';
|
|
9
8
|
composes: borderPrimary from '../../styles/border.module.css';
|
|
10
|
-
background-color: colorBackgroundTertiary;
|
|
11
9
|
display: flex;
|
|
10
|
+
position: relative;
|
|
11
|
+
background-color: colorBackgroundTertiary;
|
|
12
12
|
flex-flow: column;
|
|
13
13
|
min-width: size160;
|
|
14
14
|
border-radius: borderRadiusMedium;
|
|
15
|
-
z-index: elevationMenu;
|
|
16
15
|
}
|
|
17
16
|
|
|
18
|
-
.
|
|
19
|
-
width:
|
|
20
|
-
|
|
17
|
+
.overlayContainer {
|
|
18
|
+
width: var(--dropdown-width);
|
|
19
|
+
z-index: var(--menu-elevation);
|
|
21
20
|
}
|
|
22
21
|
|
|
23
22
|
.medium {
|
|
@@ -30,6 +29,11 @@
|
|
|
30
29
|
min-width: size240;
|
|
31
30
|
}
|
|
32
31
|
|
|
32
|
+
.fluid {
|
|
33
|
+
width: sizeFluid;
|
|
34
|
+
min-width: size160;
|
|
35
|
+
}
|
|
36
|
+
|
|
33
37
|
.isFluid {
|
|
34
38
|
width: sizeFluid;
|
|
35
39
|
}
|