Skip to content

Commit a276bb9

Browse files
Merge release/v3.3.1 into main branch (#1265)
* Adds `boldLabel` prop to `Option` (#1264)
1 parent 7489b0b commit a276bb9

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@user-interviews/ui-design-system",
3-
"version": "3.3.0",
3+
"version": "3.3.1",
44
"dependencies": {
55
"@tiptap/core": "^2.4.0",
66
"@tiptap/extension-bold": "^2.4.0",

src/Select/Option.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const Option = forwardRef(({ indeterminate, ...props }, ref) => (
2828
<div className="TitleDescriptionContainer">
2929
<label
3030
className={classNames({
31-
'Label--bold': props.description,
31+
'Label--bold': props.boldLabel,
3232
})}
3333
>
3434
{props.label}

src/Select/SingleSelect.stories.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ export const CustomOptionWithDescriptionAndCheckbox = () => (
194194
Option: ({ ...props }) => (
195195
<Option
196196
{...props}
197+
boldLabel
197198
// eslint-disable-next-line react/prop-types
198199
description={props.data.description}
199200
/>

0 commit comments

Comments
 (0)