willba-component-library 0.2.8 → 0.2.9
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/README.md +1 -1
- package/lib/index.esm.js +3 -3
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +3 -3
- package/lib/index.js.map +1 -1
- package/lib/index.umd.js +3 -3
- package/lib/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/FilterBar/FilterBar.tsx +2 -2
- package/src/components/FilterBar/components/buttons/tab-button/TabButton.tsx +1 -1
package/package.json
CHANGED
|
@@ -138,7 +138,7 @@ export default function FilterBar({
|
|
|
138
138
|
)}
|
|
139
139
|
|
|
140
140
|
<div
|
|
141
|
-
className={`will-filter-bar-header ${mode || '
|
|
141
|
+
className={`will-filter-bar-header ${mode || 'light'}`}
|
|
142
142
|
ref={tabs?.length === 1 ? targetFilterBarRef : null}
|
|
143
143
|
>
|
|
144
144
|
<SelectButton
|
|
@@ -172,7 +172,7 @@ export default function FilterBar({
|
|
|
172
172
|
|
|
173
173
|
{selectedFilter && (
|
|
174
174
|
<div
|
|
175
|
-
className={`will-filter-bar-container ${mode || '
|
|
175
|
+
className={`will-filter-bar-container ${mode || 'light'}`}
|
|
176
176
|
style={(!tabs || tabs.length < 2) && !isMobile ? { top: 66 } : {}}
|
|
177
177
|
>
|
|
178
178
|
<CloseButton handleClose={() => handleSelectedFilter(false)} />
|
|
@@ -12,7 +12,7 @@ type Props = {
|
|
|
12
12
|
export const TabButton = ({ onClick, label, active, mode }: Props) => {
|
|
13
13
|
return (
|
|
14
14
|
<button
|
|
15
|
-
className={`will-filter-bar-tab-button ${mode || '
|
|
15
|
+
className={`will-filter-bar-tab-button ${mode || 'light'} ${
|
|
16
16
|
active && 'active'
|
|
17
17
|
} `}
|
|
18
18
|
onClick={onClick}
|