Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
8c4a861
docs: align documentation with Cloud & Cognitive
Jun 29, 2021
79942b9
docs: align documentation with Cloud & Cognitive
Jun 29, 2021
3b83866
feat: upgrade Carbon packages (#1119)
SimonFinney Oct 20, 2021
c256f3a
chore(release): 1.47.0-prerelease.1 [skip ci]
semantic-release-bot Oct 20, 2021
df0377b
test: expect prop deprecation warning (#1120)
SimonFinney Oct 21, 2021
53ce334
feat: upgrade Carbon packages (#1122)
SimonFinney Nov 2, 2021
1f79f36
chore(release): 1.47.0-prerelease.2 [skip ci]
semantic-release-bot Nov 2, 2021
145537d
docs: fix missing layout examples in Cloud & Cognitive documentation …
SimonFinney Nov 2, 2021
1c21534
fix(title-bar-module): tweak spacing (#1124)
SimonFinney Nov 2, 2021
0e23d60
chore(release): 1.47.0-prerelease.3 [skip ci]
semantic-release-bot Nov 2, 2021
81bb285
docs: suppress Sass warning in Storybook (#1125)
SimonFinney Nov 3, 2021
d1eee83
docs: align 'Layouts' naming with Cloud & Cognitive (#1127)
SimonFinney Nov 4, 2021
a6991d3
build: use `sass` CLI for style tests (#1126)
SimonFinney Nov 4, 2021
4772312
Merge branch 'dev' into align-docs
Nov 4, 2021
3caf9d8
chore: remove unused dependencies
Nov 4, 2021
e2e275e
docs: restore package name, format `README.md`
Nov 4, 2021
2a57f3a
chore: format Prettier
Nov 4, 2021
c5766d1
chore: format Prettier
Nov 4, 2021
d172006
chore(deps): regenerate `yarn.lock`
Nov 4, 2021
186e493
Revert "chore: format Prettier"
Nov 5, 2021
3270942
chore(deps): fix `yarn.lock`
Nov 6, 2021
dc75db7
docs: update package name
Nov 8, 2021
3c3bc98
chore: deprecate entire repo
amtoussam May 6, 2022
8c57c28
Merge pull request #1151 from amtoussam/feature/create-overview-story
lily-peng May 17, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 19 additions & 3 deletions .storybook/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,25 @@ import { LIBRARY } from '../src/components/LayoutModules/stories';

// Category labels.
const CATEGORIES = {
OVERVIEW: 'Overview',
COMPONENTS: 'Components',
DEPRECATED: 'Deprecated',
LAYOUT_MODULES: 'Layout modules',
PAGE_LAYOUTS: 'Page layouts (Canary)',
PAGE_LAYOUTS: 'Layouts',
PATTERNS: 'Patterns',
};

const { COMPONENTS, DEPRECATED, LAYOUT_MODULES, PAGE_LAYOUTS, PATTERNS } =
CATEGORIES;
const {
OVERVIEW,
COMPONENTS,
DEPRECATED,
LAYOUT_MODULES,
PAGE_LAYOUTS,
PATTERNS,
} = CATEGORIES;

const ORDER = [
OVERVIEW,
LAYOUT_MODULES,
[LIBRARY],
PAGE_LAYOUTS,
Expand Down Expand Up @@ -61,6 +69,13 @@ const getDeprecatedCategory = bindCategory(DEPRECATED);
*/
const getLayoutModulesCategory = bindCategory(LAYOUT_MODULES);

/**
* Returns a formatted string for the layout modules category.
* @param {string} storyName The story name to format.
* @returns {string} The formatted layout module category and story name.
*/
const getOverviewModulesCategory = bindCategory(OVERVIEW);

/**
* Returns a formatted string for the page layouts category.
* @param {string} storyName The story name to format.
Expand Down Expand Up @@ -141,6 +156,7 @@ export {
getDeprecatedCategory as deprecated,
getDocsId,
getDocsParameters,
getOverviewModulesCategory as overviewModules,
getLayoutModulesCategory as layoutModules,
getPageLayoutsCategory as pageLayouts,
getPatternsCategory as patterns,
Expand Down
5 changes: 1 addition & 4 deletions .storybook/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,9 @@
@import '@carbon/layout/scss/spacing';
@import '@carbon/themes/scss/theme-maps';

@import '../src/globals/index';

@import 'carbon-components/scss/globals/scss/vars';

@import '../src/components/index';
@import '../src/platform/index';
@import '../src/index';

// TODO: Remove workaround for https://github.ibm.com/security/design-core-experience/issues/241
@import 'components/Background/index';
Expand Down
4 changes: 0 additions & 4 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ import { Column, Row } from '../src';
import random from '../src/globals/random';
import theme from '../src/globals/theme';

import Detail from '../src/components/LayoutModules/docs/examples/Detail/index.mdx';
import Overview from '../src/components/LayoutModules/docs/examples/Overview/index.mdx';
import Troubleshooting from '../src/components/LayoutModules/docs/Troubleshooting/index.mdx';

import { ORDER } from '.';
Expand Down Expand Up @@ -48,9 +46,7 @@ const parameters = {
ArgsTable,
Canvas,
Column,
Detail,
LinkTo: (props) => <LinkTo className="storybook__link" {...props} />,
Overview,
Row,
Source,
Story,
Expand Down
Binary file removed .yarn/offline-mirror/@babel-cli-7.14.8.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@babel-cli-7.16.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-compat-data-7.15.0.tgz
Binary file not shown.
Binary file not shown.
Binary file added .yarn/offline-mirror/@babel-core-7.16.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-helpers-7.15.3.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@babel-helpers-7.16.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-highlight-7.14.5.tgz
Binary file not shown.
Binary file not shown.
Binary file added .yarn/offline-mirror/@babel-parser-7.16.2.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-preset-env-7.15.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-preset-flow-7.14.5.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-register-7.15.3.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@babel-register-7.16.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@babel-runtime-7.16.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@babel-template-7.16.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@babel-traverse-7.16.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@babel-types-7.16.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@carbon-bundler-10.11.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@carbon-colors-10.31.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@carbon-colors-10.34.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@carbon-grid-10.35.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@carbon-grid-10.39.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@carbon-layout-10.31.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@carbon-layout-10.34.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@carbon-motion-10.23.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@carbon-themes-10.42.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@carbon-themes-10.46.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@carbon-type-10.35.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@carbon-type-10.38.0.tgz
Binary file not shown.
Binary file not shown.
Binary file added .yarn/offline-mirror/@gar-promisify-1.1.2.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@jest-console-27.0.6.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@jest-console-27.3.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@jest-core-27.0.6.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@jest-core-27.3.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@jest-environment-27.0.6.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@jest-fake-timers-27.0.6.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@jest-globals-27.0.6.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@jest-globals-27.3.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@jest-reporters-27.0.6.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@jest-reporters-27.3.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@jest-test-result-27.0.6.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@jest-transform-27.0.6.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@jest-transform-27.3.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@jest-types-27.2.5.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@npmcli-arborist-2.8.2.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@npmcli-ci-detect-1.3.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@npmcli-config-2.2.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@npmcli-config-2.3.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@npmcli-fs-1.0.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@npmcli-node-gyp-1.0.2.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@npmcli-node-gyp-1.0.3.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@octokit-graphql-4.6.4.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@octokit-request-5.6.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@octokit-request-5.6.2.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@octokit-rest-18.12.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@octokit-rest-18.9.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@octokit-types-6.25.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@octokit-types-6.34.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@popperjs-core-2.9.3.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@sindresorhus-is-0.14.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@storybook-addons-6.3.7.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@storybook-api-6.3.7.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Loading