Skip to content

Releases: bigcommerce/big-design

@bigcommerce/[email protected]

13 Sep 14:23
Compare
Choose a tag to compare

Patch Changes

@bigcommerce/[email protected]

13 Sep 14:23
Compare
Choose a tag to compare

Patch Changes

  • eef4d38: Fix header wrapping on smaller screens
  • 66bc0c8: Fixed page width definition to expand to the available area

@bigcommerce/[email protected]

10 Sep 20:27
Compare
Choose a tag to compare

Patch Changes

@bigcommerce/[email protected]

10 Sep 20:27
Compare
Choose a tag to compare

Patch Changes

@bigcommerce/[email protected]

10 Sep 20:27
Compare
Choose a tag to compare

Patch Changes

  • 8e09cdf: Adds default props to styled-components

@bigcommerce/[email protected]

10 Sep 20:27
Compare
Choose a tag to compare

Minor Changes

  • fd0ab6e: Added ActionBar component to complement the overall Page pattern

Patch Changes

  • a3e0fda: Updates the Page and ActionBar components to work outside of iframes. In the context of our Control Panel, we may have pages that are directly rendered. This allows a "fixed" position item to float only within the page context.
  • 14ddc22: Removes unused PropsWithChildren type.
  • Updated dependencies [8e09cdf]

@bigcommerce/[email protected]

26 Aug 21:12
Compare
Choose a tag to compare

Patch Changes

@bigcommerce/[email protected]

26 Aug 21:12
Compare
Choose a tag to compare

Major Changes

  • cc19989: Releases @bigcommerce/big-design-pattern, a collections of useful patterns for BigDesign.

    New components:

    Header

    A header component that can be used to display a title, description, and actions.

    import { Text, Link } from '@bigcommerce/big-design';
    import { AddIcon. ArrowDropDownIcon } from '@bigcommerce/big-design-icons';
    import { Header } from '@bigcommerce/big-design-patterns';
    
    export const Component = () => {
      return (
        <Header
          actions={[
            {
              text: 'Main action',
              variant: 'primary',
              iconLeft: <AddIcon />,
            },
            {
              items: [],
              toggle: {
                text: 'Secondary',
                variant: 'secondary',
                iconRight: <ArrowDropDownIcon />,
              },
            },
          ]}
          backLink={{
            text: 'Back link',
            href: '#',
            onClick: () => {
              window.alert('Back button clicked');
            },
          }}
          badge={{
            variant: 'primary',
            label: 'Beta',
          }}
          description={
            <Text>
              Main description of the page. It provides a comprehensive overview, accurately capturing
              the essence of the topic in a concise manner.{' '}
              <Link external={true} href="#" target="_blank">
                Learn more
              </Link>
            </Text>
          }
          icon={<img alt="" height={40} src="logo.svg" width={40} />}
          title="Page Title"
        />
      );
    };

    Page

    A page component that can be used to display a header and main content.

    import { Panel } from '@bigcommerce/big-design';
    import { Page, Header } from '@bigcommerce/big-design-patterns';
    
    export const Component = () => {
      return (
        <Page
          background={{
            src: 'background.jpg',
          }}
          header={<Header {...} />}
          message={{
            header: 'Optional headline',
            type: 'info',
            messages: [
              { text: 'Required description copy.', link: { text: 'Optional link', href: '#' } },
            ],
          }}
        >
          <Panel header="Main content">
            ...
          </Panel>
        </Page>
      );
    };

@bigcommerce/[email protected]

21 Aug 19:17
Compare
Choose a tag to compare

Patch Changes

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.

@bigcommerce/[email protected]

21 Aug 19:17
Compare
Choose a tag to compare

Minor Changes

  • f8665f3: Added wide breakpoint to theme definition to best adapt responsive features to wide screens

Patch Changes

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.