Skip to content

Commit

Permalink
fix(fluid-date-picker): decorator styles (#18290)
Browse files Browse the repository at this point in the history
  • Loading branch information
ariellalgilmore authored Jan 2, 2025
1 parent 96b5a47 commit 1abaf5a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/react/src/components/Form/Form.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ export const withAILabel = (args) => {
labelText="Date Picker label"
size="md"
id="fluid-date-picker"
slug={aiLabel}
decorator={aiLabel}
{...rest}
/>
</FluidDatePicker>
Expand Down Expand Up @@ -544,7 +544,7 @@ withAILabel.argTypes = {
type: 'boolean',
},
table: {
category: 'Slug',
category: 'AILabel',
},
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,11 @@
border-inline-start-color: $border-subtle;
}

// Slug styles
// AI Label styles
.#{$prefix}--date-picker--fluid
.#{$prefix}--date-picker-input__wrapper--decorator
.#{$prefix}--date-picker-input-inner-wrapper--decorator
> *,
.#{$prefix}--date-picker--fluid
.#{$prefix}--date-picker-input__wrapper--slug
.#{$prefix}--ai-label,
Expand Down Expand Up @@ -439,6 +443,15 @@
border-block-end-color: $ai-border-strong;
}

.#{$prefix}--date-picker--fluid
.#{$prefix}--date-picker-input__wrapper--decorator
.#{$prefix}--date-picker__input,
.#{$prefix}--date-picker--fluid--invalid
.#{$prefix}--date-picker-input__wrapper--decorator
.#{$prefix}--date-picker__input,
.#{$prefix}--date-picker--fluid--warn
.#{$prefix}--date-picker-input__wrapper--decorator
.#{$prefix}--date-picker__input,
.#{$prefix}--date-picker--fluid
.#{$prefix}--date-picker-input__wrapper--slug
.#{$prefix}--date-picker__input,
Expand Down

0 comments on commit 1abaf5a

Please sign in to comment.