Releases: guardian/csnx
Releases · guardian/csnx
@guardian/eslint-plugin-source-foundations@16.0.1
Patch Changes
- a116dfe: Update @typescript-eslint/parser and @typescript-eslint/eslint-plugin
@guardian/eslint-config-typescript@8.0.1
Patch Changes
- a116dfe: Update @typescript-eslint/parser and @typescript-eslint/eslint-plugin
@guardian/source-react-components@17.0.1
Patch Changes
- 9e0cb43: Linting fixes
@guardian/identity-auth@1.1.1
Patch Changes
- 9e0cb43: Linting fixes
@guardian/eslint-plugin-source-react-components@20.0.0
@guardian/eslint-plugin-source-foundations@16.0.0
Major Changes
- 9e0cb43:
@typescript-eslint/eslint-plugin
and@typescript-eslint/parser
dependencies upgraded to next major version (6).
@guardian/eslint-config@6.0.0
Major Changes
- 9e0cb43:
@typescript-eslint/eslint-plugin
and@typescript-eslint/parser
dependencies upgraded to next major version (6).
@guardian/eslint-config-typescript@8.0.0
@guardian/source-react-components-development-kitchen@15.0.0
Major Changes
-
61afb21: Refactor
ExpandingWrapper
so it can receive an optional theme. This will
require consumers relying oncssOverrides
to use thetheme
prop instead. The
exported exported light (default) and dark themes are compatible with this API.import { css } from '@emotion/react'; import { ExpandingWrapper, expandingWrapperThemeDefault, } from '@guardian/source-react-components-development-kitchen'; const Before = ({ children }) => ( <ExpandingWrapper cssOverrides={css` color: aquamarine; `} > {children} </ExpandingWrapper> ); const After = ({ children }) => ( <ExpandingWrapper theme={{ ...expandingWrapperThemeDefault, '--text': 'aquamarine', }} > {children} </ExpandingWrapper> );
Uses CSS Custom Properties under the hood.
-
182a659: Refactor
Tabs
so it can receive an optional theme. This will require consumers
relying oncssOverrides
to use thetheme
prop instead. The exported exported
light (default) and dark themes are compatible with this APIimport { css } from '@emotion/react'; import { Tabs, tabsThemeDefault, } from '@guardian/source-react-components-development-kitchen'; const Before = () => ( <Tabs tabs={tabs} cssOverride={css` border-color: darkbrown; `} /> ); const After = () => ( <Tabs tabs={tabs} theme={{ ...tabsThemeDefault, '--border': 'darkbrown' }} /> );
Uses CSS Custom Properties under the hood.
Patch Changes
- 3954945: Internals rewritten as read-only. No change for consumers, they are still able
to provide a mutable data structure, but we guarantee that this component will
not modify it
@guardian/source-react-components@17.0.0
Major Changes
-
81dfd5a: ## New icons
SvgBin
SvgNotificationsOffRound
SvgNotificationsONRound
Updated icons
SvgShareCallout
SvgReload