Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/8.x.x #355

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const preview = {
globals: {
stackblitzGlobals: {
stackblitzAdditionalDependency: {
'@ironsource/fusion-ui': '7.0.0-rc.3'
'@ironsource/fusion-ui': '8.4.0'
}
}
},
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.

### [8.4.1](https://github.com/ironSource/fusion-ui/compare/v8.4.0...v8.4.1) (2024-12-12)


### Bug Fixes

* **calendar:** calendar v4 - fixed hover on empty days (no need hover on it) ([97353f0](https://github.com/ironSource/fusion-ui/commit/97353f0ca397146cc25c57539ab701df22c57c53))
* **calendar:** date-range v4 - rename stories ([c65ac9f](https://github.com/ironSource/fusion-ui/commit/c65ac9f8c1c44c734da8afb5c886dde5283c1378))
* **DatePeriodPicker:** change options-wrapper width in story ([af6c5ef](https://github.com/ironSource/fusion-ui/commit/af6c5ef8de09f4f519e57db59fbec852aa08fc04))
* **radio-group:** fusion-radio-group v4 - horizontal gap changed to 16px instead 8px ([ee11cc4](https://github.com/ironSource/fusion-ui/commit/ee11cc49882b9aa565efafca982a0243a5e90ce6))

## [8.4.0](https://github.com/ironSource/fusion-ui/compare/v8.4.0-rc.11...v8.4.0) (2024-10-21)

## [8.4.0-rc.11](https://github.com/ironSource/fusion-ui/compare/v8.4.0-rc.10...v8.4.0-rc.11) (2024-10-15)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ Fusion-UI also comes with built-in accessibility features, ensuring that your ap

Whether you're building a simple website or a complex web application, Fusion-UI is the perfect choice for your UI needs. Get started today and experience the power and simplicity of Fusion-UI!

**FusionUI installation:**
**FusionUI installation:**

```npm install --save @ironsource/fusion-ui```
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fusion-ui",
"version": "8.4.0",
"version": "8.4.1",
"description": "UI library created by ironSource",
"license": "MIT",
"repository": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,12 @@
span {
position: relative;
}

&:empty{
cursor: default;
}

// region regular day hover
&:not(.selected):not(.disabled):not(.hover-current):hover {
&:not(.selected):not(.disabled):not(.hover-current):not(:empty):hover {
&:before {
@include calendar-circle(var(--fu-day-hover-bg-color), 50%);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,22 @@ const baseTemplateMultiselect = `
</fusion-chip-filter-button>
`;

const datePeriodTemplate = `
<fusion-chip-filter-button [showCaretIcon]="showCaretIcon" [size]="size" [weight]="weight" [configuration]="configuration">
<div class="filter-element">
<fusion-dropdown style="--dropdown-overlay-min-width: 250px"
[placeholderPrefix]="placeholderPrefix"
[placeholder]="placeholder"
[formControl]="formControl"
[options]="options"
[optionsTitle]="optionsTitle"
[search]="search"
>
</fusion-dropdown>
</div>
</fusion-chip-filter-button>
`;

export default {
title: 'V4/Components/Dropdown/Triggers/ButtonFilter',
component: ChipFilterButtonComponent,
Expand Down Expand Up @@ -380,7 +396,7 @@ export const DatePeriodPicker: Story = {
formControl: new FormControl([MOCK_OPTIONS_PERIOD[1]]),
configuration: {id: 1, mode: 'static', close: true, leftIcon: {icon: 'ph/calendar-blank'}}
},
template: baseTemplate
template: datePeriodTemplate
}),
decorators: [componentWrapperDecorator(story => `<div style="height: 200px;">${story}</div>`)]
};
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ new FormControl({
}
};

export const SelectedToday: Story = {
export const Today: Story = {
render: args => ({
props: {
...args,
Expand All @@ -124,7 +124,7 @@ export const SelectedToday: Story = {
template: BASE_TEMPLATE
})
};
SelectedToday.parameters = {
Today.parameters = {
docs: {
description: {
story: dedent`***formControl:***
Expand All @@ -138,7 +138,7 @@ new FormControl({
}
};

export const SelectedLast14Days: Story = {
export const Last14Days: Story = {
render: args => ({
props: {
...args,
Expand All @@ -150,6 +150,7 @@ export const SelectedLast14Days: Story = {
template: BASE_TEMPLATE
})
};
Last14Days.storyName = 'Last 14 days';

export const WithoutPresets: Story = {
render: args => ({
Expand All @@ -167,6 +168,7 @@ WithoutPresets.parameters = {
}
}
};
WithoutPresets.storyName = 'Without presets';

export const LimitedRange: Story = {
render: args => ({
Expand All @@ -190,6 +192,7 @@ LimitedRange.parameters = {
}
}
};
LimitedRange.storyName = 'Limited range';

export const NotAllowFutureDateSelected: Story = {
render: args => ({
Expand All @@ -207,6 +210,7 @@ NotAllowFutureDateSelected.parameters = {
}
}
};
NotAllowFutureDateSelected.storyName = 'Not future date';

export const WithTimeSelect: Story = {
render: args => ({
Expand Down Expand Up @@ -245,3 +249,4 @@ WithTimeSelect.parameters = {
}
}
};
WithTimeSelect.storyName = 'Selected time';
Loading
Loading