Skip to content

Releases: guardian/csnx

@guardian/eslint-plugin-source-foundations@16.0.1

18 Dec 12:47
0d5ff09
Compare
Choose a tag to compare

Patch Changes

  • a116dfe: Update @typescript-eslint/parser and @typescript-eslint/eslint-plugin

@guardian/eslint-config-typescript@8.0.1

18 Dec 12:47
0d5ff09
Compare
Choose a tag to compare

Patch Changes

  • a116dfe: Update @typescript-eslint/parser and @typescript-eslint/eslint-plugin

@guardian/source-react-components@17.0.1

05 Dec 09:46
236b1e5
Compare
Choose a tag to compare

Patch Changes

@guardian/identity-auth@1.1.1

05 Dec 09:46
236b1e5
Compare
Choose a tag to compare

Patch Changes

@guardian/eslint-plugin-source-react-components@20.0.0

05 Dec 09:46
236b1e5
Compare
Choose a tag to compare

Major Changes

  • 9e0cb43: @typescript-eslint/eslint-plugin and @typescript-eslint/parser dependencies upgraded to next major version (6).

Patch Changes

  • Updated dependencies [9e0cb43]
    • @guardian/source-react-components@17.0.1

@guardian/eslint-plugin-source-foundations@16.0.0

05 Dec 09:46
236b1e5
Compare
Choose a tag to compare

Major Changes

  • 9e0cb43: @typescript-eslint/eslint-plugin and @typescript-eslint/parser dependencies upgraded to next major version (6).

@guardian/eslint-config@6.0.0

05 Dec 09:46
236b1e5
Compare
Choose a tag to compare

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

05 Dec 09:46
236b1e5
Compare
Choose a tag to compare

Major Changes

  • 9e0cb43: @typescript-eslint/eslint-plugin and @typescript-eslint/parser dependencies upgraded to next major version (6).

Patch Changes

  • Updated dependencies [9e0cb43]
    • @guardian/eslint-config@6.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 on cssOverrides to use the theme 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 on cssOverrides to use the theme prop instead. The exported exported
    light (default) and dark themes are compatible with this API

    import { 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

24 Nov 14:54
741bcd1
Compare
Choose a tag to compare

Major Changes

  • 81dfd5a: ## New icons

    • SvgBin
    • SvgNotificationsOffRound
    • SvgNotificationsONRound

    Updated icons

    • SvgShareCallout
    • SvgReload