Skip to content

Commit

Permalink
Merge branch 'master' into snippet-variable-update
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Jan 22, 2021
2 parents f345023 + 3bf6054 commit 2c11b04
Show file tree
Hide file tree
Showing 13 changed files with 421 additions and 59 deletions.
4 changes: 2 additions & 2 deletions packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "carbon-components",
"description": "The Carbon Design System is IBM’s open-source design system for products and experiences.",
"version": "10.27.0-rc.0",
"version": "10.27.0-rc.3",
"license": "Apache-2.0",
"main": "umd/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -86,7 +86,7 @@
"@babel/preset-react": "^7.10.0",
"@babel/runtime": "^7.10.0",
"@carbon/cli": "^10.18.0-rc.0",
"@carbon/elements": "^10.26.0-rc.0",
"@carbon/elements": "^10.26.0-rc.3",
"@carbon/icons-handlebars": "^10.24.0-rc.0",
"@carbon/icons-react": "^10.24.0-rc.0",
"@carbon/test-utils": "^10.14.0-rc.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/elements/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/elements",
"description": "A collection of design elements in code for the IBM Design Language",
"version": "10.26.0-rc.0",
"version": "10.26.0-rc.3",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -41,8 +41,8 @@
"@carbon/import-once": "^10.5.0-rc.0",
"@carbon/layout": "^10.17.0-rc.0",
"@carbon/motion": "^10.12.0-rc.0",
"@carbon/themes": "^10.26.0-rc.0",
"@carbon/type": "^10.20.0-rc.0"
"@carbon/themes": "^10.26.0-rc.1",
"@carbon/type": "^10.20.0-rc.1"
},
"devDependencies": {
"@carbon/cli": "^10.18.0-rc.0",
Expand Down
12 changes: 12 additions & 0 deletions packages/elements/src/__tests__/PublicAPI-test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/**
* Copyright IBM Corp. 2018, 2018
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/

import * as CarbonElements from '../';

test('Public API should only change with a semver change', () => {
expect(Object.keys(CarbonElements).sort()).toMatchSnapshot();
});
294 changes: 294 additions & 0 deletions packages/elements/src/__tests__/__snapshots__/PublicAPI-test.js.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,294 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Public API should only change with a semver change 1`] = `
Array [
"active01",
"activeDanger",
"activeLightUI",
"activePrimary",
"activeSecondary",
"activeTertiary",
"activeUI",
"baseFontSize",
"black",
"black100",
"blue",
"blue10",
"blue100",
"blue20",
"blue30",
"blue40",
"blue50",
"blue60",
"blue70",
"blue80",
"blue90",
"bodyLong01",
"bodyLong02",
"bodyShort01",
"bodyShort02",
"brand01",
"brand02",
"brand03",
"breakpoint",
"breakpointDown",
"breakpointUp",
"breakpoints",
"buttonSeparator",
"caption01",
"code01",
"code02",
"colors",
"container01",
"container02",
"container03",
"container04",
"container05",
"coolGray",
"coolGray10",
"coolGray100",
"coolGray20",
"coolGray30",
"coolGray40",
"coolGray50",
"coolGray60",
"coolGray70",
"coolGray80",
"coolGray90",
"cyan",
"cyan10",
"cyan100",
"cyan20",
"cyan30",
"cyan40",
"cyan50",
"cyan60",
"cyan70",
"cyan80",
"cyan90",
"danger",
"danger01",
"danger02",
"decorative01",
"disabled01",
"disabled02",
"disabled03",
"display01",
"display02",
"display03",
"display04",
"easings",
"em",
"expressiveHeading01",
"expressiveHeading02",
"expressiveHeading03",
"expressiveHeading04",
"expressiveHeading05",
"expressiveHeading06",
"expressiveParagraph01",
"field01",
"field02",
"fluid",
"fluidSpacing01",
"fluidSpacing02",
"fluidSpacing03",
"fluidSpacing04",
"focus",
"fontFamilies",
"fontFamily",
"fontWeight",
"fontWeights",
"formatTokenName",
"g10",
"g100",
"g90",
"getTypeSize",
"gray",
"gray10",
"gray100",
"gray20",
"gray30",
"gray40",
"gray50",
"gray60",
"gray70",
"gray80",
"gray90",
"green",
"green10",
"green100",
"green20",
"green30",
"green40",
"green50",
"green60",
"green70",
"green80",
"green90",
"heading01",
"heading02",
"helperText01",
"highlight",
"hoverDanger",
"hoverField",
"hoverLightUI",
"hoverPrimary",
"hoverPrimaryText",
"hoverRow",
"hoverSecondary",
"hoverSelectedUI",
"hoverTertiary",
"hoverUI",
"icon01",
"icon02",
"icon03",
"iconSize01",
"iconSize02",
"interactive01",
"interactive02",
"interactive03",
"interactive04",
"inverse01",
"inverse02",
"inverseFocusUi",
"inverseHoverUI",
"inverseLink",
"inverseSupport01",
"inverseSupport02",
"inverseSupport03",
"inverseSupport04",
"label01",
"layout01",
"layout02",
"layout03",
"layout04",
"layout05",
"layout06",
"layout07",
"link01",
"magenta",
"magenta10",
"magenta100",
"magenta20",
"magenta30",
"magenta40",
"magenta50",
"magenta60",
"magenta70",
"magenta80",
"magenta90",
"miniUnit",
"miniUnits",
"motion",
"orange",
"orange40",
"orange60",
"orange70",
"overlay01",
"print",
"productiveHeading01",
"productiveHeading02",
"productiveHeading03",
"productiveHeading04",
"productiveHeading05",
"productiveHeading06",
"productiveHeading07",
"purple",
"purple10",
"purple100",
"purple20",
"purple30",
"purple40",
"purple50",
"purple60",
"purple70",
"purple80",
"purple90",
"px",
"quotation01",
"quotation02",
"red",
"red10",
"red100",
"red20",
"red30",
"red40",
"red50",
"red60",
"red70",
"red80",
"red90",
"rem",
"reset",
"rgba",
"scale",
"selectedLightUI",
"selectedUI",
"skeleton01",
"skeleton02",
"spacing01",
"spacing02",
"spacing03",
"spacing04",
"spacing05",
"spacing06",
"spacing07",
"spacing08",
"spacing09",
"spacing10",
"spacing11",
"spacing12",
"styles",
"support01",
"support02",
"support03",
"support04",
"teal",
"teal10",
"teal100",
"teal20",
"teal30",
"teal40",
"teal50",
"teal60",
"teal70",
"teal80",
"teal90",
"text01",
"text02",
"text03",
"text04",
"text05",
"textError",
"themes",
"tokens",
"ui01",
"ui02",
"ui03",
"ui04",
"ui05",
"uiBackground",
"unstable__meta",
"unstable_tokens",
"v9",
"visitedLink",
"warmGray",
"warmGray10",
"warmGray100",
"warmGray20",
"warmGray30",
"warmGray40",
"warmGray50",
"warmGray60",
"warmGray70",
"warmGray80",
"warmGray90",
"white",
"white0",
"yellow",
"yellow20",
"yellow30",
"yellow40",
"yellow50",
]
`;
27 changes: 25 additions & 2 deletions packages/elements/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,30 @@ export {
yellow40,
yellow50,
} from '@carbon/colors';
export {
fluid,
fontFamilies,
fontFamily,
fontWeights,
fontWeight,
print,
reset,
getTypeSize,
scale,
styles,
unstable_tokens,
} from '@carbon/type';
export {
baseFontSize,
rem,
em,
px,
breakpoints,
breakpointUp,
breakpointDown,
breakpoint,
miniUnit,
miniUnits,
} from '@carbon/layout';
export * from '@carbon/themes';
export * from '@carbon/layout';
export * from '@carbon/motion';
export * from '@carbon/type';
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "carbon-components-react",
"description": "The Carbon Design System is IBM’s open-source design system for products and experiences.",
"version": "7.27.0-rc.0",
"version": "7.27.0-rc.3",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -85,7 +85,7 @@
"babel-plugin-react-docgen": "^4.0.0",
"babel-plugin-transform-inline-environment-variables": "^0.4.0",
"browserslist-config-carbon": "^10.6.0",
"carbon-components": "^10.27.0-rc.0",
"carbon-components": "^10.27.0-rc.3",
"carbon-icons": "^7.0.5",
"chalk": "^2.3.0",
"cli-table": "^0.3.0",
Expand Down
Loading

0 comments on commit 2c11b04

Please sign in to comment.