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 version 5.3 #2182

Merged
merged 10 commits into from
Apr 22, 2022
Merged

Release version 5.3 #2182

merged 10 commits into from
Apr 22, 2022

Conversation

RasmusKjeldgaard
Copy link
Collaborator

@RasmusKjeldgaard RasmusKjeldgaard commented Apr 22, 2022

Changelog

Bugfixes

calendar - Calculate UTC offset based on correct date (#2115)
chart - Allow chart labels to be provided together with datasets (#2157)
item - Set correct fallback value for padding-top and padding-bottom to avoid too large items (#2118)

Features

flag - New danger color and heavier font weight (#2156)
icon - Update 'more' icon (#2176)
multiple components - Allow non-enum inputs in components to allow e.g. size inputs as strings (#2093)

@github-actions github-actions bot temporarily deployed to pr-main April 22, 2022 09:21 Inactive
@github-actions github-actions bot temporarily deployed to pr-main April 22, 2022 10:33 Inactive
RasmusKjeldgaard and others added 9 commits April 22, 2022 13:11
* 🚧  UTC time experiment

* ⚗️ Do not use subtractTimezoneOffset()

* 🐛 Remove unneccessary timezone offset

* 🐛 Add back offset to preserve existing functionality

It seems that the original intent was to simply format a local time
as its UTC equivalent, and not adjust it to any specific UTC zone.

This is done by consumers, so something like 02:00:00 GMT+0200
becomes 00:00:00 GMT on their end.

* ⏪  Revert changes to showcase component

Co-authored-by: Jesper Kaltoft <git@jesperkaltoft.dk>
* ⬆️  Upgrade prettier

* 💄 Lint and prettify cookbook styles

* 🎨  Lint and prettify cookbook ts files

* 🎨  Lint and prettify cookbook templates

* 🔧  Update prettier and stylelint config

* 🎨  Lint and prettify misc project files

* 🎨  Lint and prettify designsystem styles

* 🤡  Use same line endings across mocks

* 🎨  Lint and prettify designsystem spec files

* 🎨  Lint and prettify designsystem ts files

* 💄 Rename css-class in template

* ✅  Fix tab test according to changed css

* 🙈 Update ignore files with newline at EOF

* ♻️  Increase readability of span

* 🔧  Prettify .stylelintrc (whoa, meta!)

* ➖ Remove unused depencency

* 💄 Replace duplicate ::after with ::before for print

* ⏪  Revert unintentional prettier change

* 🔥 Remove vendor prefix

This is handled by Angular via auto-prefixer.

* ⏪ Revert unintentional change to line clamp styles
…2099)

* Enable non-enum input

* Update button.component.ts

* Use values when enum is mapping

* allow use of string values for enum input props

* 🏷️ Allow non-enum input types

* 🏷️ Update mocks to use template literal types

Co-authored-by: Morten Bjerg Gregersen <mgr@bankdata.dk>
* 💄 Add unit back on item safe area custom property

* 💄 Make stylelint ignore 0px for custom properties

* 💡 Remove stylelint ignores
* 🐛  Set padding if custom css prop is not set

* 💄 Default to initial value

* 🐛 Revert to specific fallback value for clarity
* ♻️ Redo label logic

* 🐛 Have labels be used before dataset strings

* ✅ Add tests for new label logic

* ♻️ Combine datasetsHaveLabels & labelsToApply

* 🎨 Remove unused import, prettier changes

* 🏷️ Introduce ChartLabels type for better readability

* ♻️ Refactor for better readability

* ♻️ Attempt to improve readability of getLabelsToApply

* 🤡 Use 'ChartLabel' type in mock

* 🏷️ Add type to 'indexAxis' argument

* 🚨 Fix line endings
* 💄 Introduce color variables (tokens)

* 💄 Override danger color in flag component

* 💄 Use font-weight 500 for text in flag component

* ✅ Add font-weight test

* ✅ Change test for flag danger theme
* ⏪  Revert removal of px unit for custom props

The CSS Custom Properties that had px before, but was removed in
6ebc263 now have the unit back, as it caused some issues for components
where the prop is used in calc() etc.

* ✅  Add px value to test
@github-actions github-actions bot temporarily deployed to pr-main April 22, 2022 11:45 Inactive
@RasmusKjeldgaard RasmusKjeldgaard merged commit fe2bb3f into stable Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants