-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into docs/add-vizroai-tutorial
- Loading branch information
Showing
14 changed files
with
658 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ repos: | |
language: node | ||
types: [text] | ||
additional_dependencies: ["[email protected]"] | ||
exclude_types: [markdown] | ||
exclude_types: [markdown, css] | ||
|
||
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks | ||
rev: v2.14.0 | ||
|
@@ -76,6 +76,7 @@ repos: | |
- [email protected] | ||
- [email protected] | ||
args: ["--fix"] | ||
exclude: ^vizro-core/src/vizro/static/css/.+\.min.*|^vizro-core/src/vizro/static/css/mantine_dates.css | ||
|
||
- repo: https://github.com/executablebooks/mdformat | ||
rev: 0.7.21 | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
47 changes: 47 additions & 0 deletions
47
vizro-core/changelog.d/20250120_121030_49395058+antonymilne_dmc_15.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<!-- | ||
A new scriv changelog fragment. | ||
Uncomment the section that is right (remove the HTML comment wrapper). | ||
--> | ||
|
||
<!-- | ||
### Highlights ✨ | ||
- A bullet item for the Highlights ✨ category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX. ([#1](https://github.com/mckinsey/vizro/pull/1)) | ||
--> | ||
<!-- | ||
### Removed | ||
- A bullet item for the Removed category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX. ([#1](https://github.com/mckinsey/vizro/pull/1)) | ||
--> | ||
<!-- | ||
### Added | ||
- A bullet item for the Added category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX. ([#1](https://github.com/mckinsey/vizro/pull/1)) | ||
--> | ||
|
||
### Changed | ||
|
||
- Bumped library used for `vm.DatePicker` to `dash_mantine_components~=0.15.1`. ([#924](https://github.com/mckinsey/vizro/pull/924)) | ||
|
||
<!-- | ||
### Deprecated | ||
- A bullet item for the Deprecated category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX. ([#1](https://github.com/mckinsey/vizro/pull/1)) | ||
--> | ||
<!-- | ||
### Fixed | ||
- A bullet item for the Fixed category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX. ([#1](https://github.com/mckinsey/vizro/pull/1)) | ||
--> | ||
<!-- | ||
### Security | ||
- A bullet item for the Security category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX. ([#1](https://github.com/mckinsey/vizro/pull/1)) | ||
--> |
48 changes: 48 additions & 0 deletions
48
vizro-core/changelog.d/20250120_151243_huong_li_nguyen_dmc_15_css.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<!-- | ||
A new scriv changelog fragment. | ||
Uncomment the section that is right (remove the HTML comment wrapper). | ||
--> | ||
|
||
<!-- | ||
### Highlights ✨ | ||
- A bullet item for the Highlights ✨ category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX. ([#1](https://github.com/mckinsey/vizro/pull/1)) | ||
--> | ||
<!-- | ||
### Removed | ||
- A bullet item for the Removed category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX. ([#1](https://github.com/mckinsey/vizro/pull/1)) | ||
--> | ||
<!-- | ||
### Added | ||
- A bullet item for the Added category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX. ([#1](https://github.com/mckinsey/vizro/pull/1)) | ||
--> | ||
<!-- | ||
### Changed | ||
- A bullet item for the Changed category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX. ([#1](https://github.com/mckinsey/vizro/pull/1)) | ||
--> | ||
<!-- | ||
### Deprecated | ||
- A bullet item for the Deprecated category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX. ([#1](https://github.com/mckinsey/vizro/pull/1)) | ||
--> | ||
<!-- | ||
### Fixed | ||
- A bullet item for the Fixed category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX. ([#1](https://github.com/mckinsey/vizro/pull/1)) | ||
--> | ||
<!-- | ||
### Security | ||
- A bullet item for the Security category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX. ([#1](https://github.com/mckinsey/vizro/pull/1)) | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
/* Dropdown field showing selection */ | ||
.mantine-DatePickerInput-input { | ||
background-color: var(--field-enabled); | ||
border: none; | ||
box-shadow: var(--elevation-0); | ||
color: var(--text-secondary); | ||
} | ||
|
||
.mantine-DatePickerInput-input:hover { | ||
color: var(--text-primaryHover); | ||
} | ||
|
||
/* Calendar view with selected range */ | ||
.mantine-DatePickerInput-dropdown, | ||
.mantine-Popover-dropdown { | ||
background: var(--field-enabled); | ||
border: inherit; | ||
box-shadow: var(--elevation-1); | ||
padding: 0.5rem 0.75rem; | ||
} | ||
|
||
.mantine-DatePickerInput-day { | ||
background: var(--field-enabled); | ||
color: var(--text-secondary); | ||
} | ||
|
||
.mantine-DatePickerInput-day[data-in-range] { | ||
background: var(--stateOverlays-selectedRange); | ||
color: var(--text-primary); | ||
} | ||
|
||
.mantine-DatePickerInput-day[data-selected] { | ||
background: var(--stateOverlays-selected-inverted); | ||
color: var(--text-primary-inverted); | ||
text-decoration: underline; | ||
} | ||
|
||
/* Single month or year selection */ | ||
.mantine-PickerControl-pickerControl, | ||
.mantine-DatePickerInput-monthsListControl { | ||
color: var(--text-secondary); | ||
} | ||
|
||
/* Important tags are required as otherwise mantine media queries will have higher specificity */ | ||
.mantine-DatePickerInput-day:hover, | ||
.mantine-PickerControl-pickerControl:hover, | ||
.mantine-DatePickerInput-monthsListControl:hover { | ||
background: var(--stateOverlays-hover) !important; | ||
color: var(--text-primaryHover) !important; | ||
} | ||
|
||
/* Header inside calendar view */ | ||
.mantine-DatePickerInput-calendarHeader { | ||
color: var(--text-secondary); | ||
} | ||
|
||
.mantine-DatePickerInput-calendarHeaderControlIcon:hover, | ||
.mantine-DatePickerInput-calendarHeader .mantine-UnstyledButton-root:hover { | ||
background: transparent; | ||
color: var(--text-primaryHover); | ||
} |
Oops, something went wrong.