Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: carbon-design-system/carbon
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ea46616d9ea6afb2f14b862a344203e54d19e5a0
Choose a base ref
...
head repository: carbon-design-system/carbon
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2df4c295d300f96fae292a00b88f07a99e9a80c7
Choose a head ref
  • 7 commits
  • 67 files changed
  • 8 contributors

Commits on Sep 25, 2024

  1. chore(release): v11.67.0

    alisonjoseph authored and github-actions[bot] committed Sep 25, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    2f94c56 View commit details

Commits on Oct 2, 2024

  1. Copy the full SHA
    ac3a58e View commit details
  2. 17450 popover with auto align is breaking (#17455)

    * fix: popover with autoalign is breaking
    
    * fix: removed commented code
    
    * fix: using the ref in toggleTipContent
    
    * fix: added display name for toggletipComponent
    
    * fix: removed commnets
    
    ---------
    
    Co-authored-by: Guilherme Datilio Ribeiro <guilhermedatilio@gmail.com>
    2 people authored and tay1orjones committed Oct 2, 2024
    Copy the full SHA
    f3bbef1 View commit details
  3. Copy the full SHA
    f07fa21 View commit details
  4. feat(notification): rename StaticNotification to Callout (#17376)

    * feat(notification): rename StaticNotification to Callout
    
    * chore: update test fixtures
    
    * docs(notification): update StaticNotification stories
    
    * chore: update snaps
    
    * refactor(callout): reworked import portion of codemod
    
    * fix(callout): codemod improvements
    
    * fix(callout): update codemod test fixture output formatting
    tay1orjones committed Oct 2, 2024
    Copy the full SHA
    35f19c7 View commit details
  5. Clarify unary for Sass (#17595)

    * Fix: Clarify SCSS
    
    * Try other interpretation
    
    It seems my initial fix _did_ break the styling. This commit tries the other
    interpretation to see if it passes the snapshot tests.
    
    * Revert "Try other interpretation"
    
    This reverts commit 8e1ac73.
    
    ---------
    
    Co-authored-by: Taylor Jones <tay1orjones@users.noreply.github.com>
    frankharkins and tay1orjones committed Oct 2, 2024
    Copy the full SHA
    c6593c9 View commit details
  6. chore(release): v11.67.1

    tay1orjones committed Oct 2, 2024
    Copy the full SHA
    2df4c29 View commit details
Showing with 750 additions and 357 deletions.
  1. +1 −0 .github/workflows/deploy-web-components-storybook.yml
  2. +1 −3 .github/workflows/publish-web-components-cdn.yml
  3. +1 −1 config/eslint-config-carbon/package.json
  4. +1 −1 config/jest-config-carbon/package.json
  5. +1 −1 config/stylelint-config-carbon/package.json
  6. +3 −3 docs/experimental-code.md
  7. +2 −2 examples/class-prefix/package.json
  8. +2 −2 examples/codesandbox-styles/package.json
  9. +2 −2 examples/custom-theme/package.json
  10. +2 −2 examples/id-prefix/package.json
  11. +2 −2 examples/light-dark-mode/package.json
  12. +2 −2 examples/nextjs/package.json
  13. +2 −2 examples/v10-token-compat-in-v11/package.json
  14. +2 −2 examples/vite/package.json
  15. +4 −4 packages/carbon-components-react/package.json
  16. +3 −3 packages/carbon-components/package.json
  17. +1 −1 packages/cli/package.json
  18. +3 −3 packages/colors/package.json
  19. +9 −9 packages/elements/package.json
  20. +1 −1 packages/feature-flags/package.json
  21. +3 −3 packages/grid/package.json
  22. +2 −2 packages/icon-build-helpers/package.json
  23. +2 −2 packages/icon-helpers/package.json
  24. +4 −4 packages/icons-react/package.json
  25. +3 −3 packages/icons-vue/package.json
  26. +3 −3 packages/icons/package.json
  27. +3 −3 packages/layout/package.json
  28. +2 −2 packages/motion/package.json
  29. +4 −4 packages/pictograms-react/package.json
  30. +2 −2 packages/pictograms/package.json
  31. +47 −44 packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap
  32. +7 −7 packages/react/package.json
  33. +1 −0 packages/react/src/__tests__/index-test.js
  34. +41 −1 packages/react/src/components/Notification/Notification-test.js
  35. +9 −10 packages/react/src/components/Notification/Notification.mdx
  36. +42 −11 packages/react/src/components/Notification/Notification.tsx
  37. +2 −0 packages/react/src/components/Notification/index.tsx
  38. +98 −0 packages/react/src/components/Notification/stories/Callout.stories.js
  39. +7 −0 packages/react/src/components/Notification/stories/StaticNotification.mdx
  40. +14 −79 packages/react/src/components/Notification/stories/StaticNotification.stories.js
  41. +0 −1 packages/react/src/components/Popover/index.tsx
  42. +13 −7 packages/react/src/components/Toggletip/index.tsx
  43. +2 −1 packages/react/src/index.js
  44. +9 −9 packages/styles/package.json
  45. +1 −1 packages/styles/scss/components/modal/_modal.scss
  46. +1 −1 packages/test-utils/package.json
  47. +6 −6 packages/themes/package.json
  48. +5 −5 packages/type/package.json
  49. +1 −1 packages/upgrade/package.json
  50. +28 −0 packages/upgrade/src/upgrades.js
  51. +25 −0 packages/upgrade/transforms/__testfixtures__/refactor-to-callout.input.js
  52. +23 −0 packages/upgrade/transforms/__testfixtures__/refactor-to-callout.output.js
  53. +4 −0 packages/upgrade/transforms/__testfixtures__/refactor-to-callout2.input.js
  54. +4 −0 packages/upgrade/transforms/__testfixtures__/refactor-to-callout2.output.js
  55. +5 −0 packages/upgrade/transforms/__testfixtures__/refactor-to-callout3.input.js
  56. +5 −0 packages/upgrade/transforms/__testfixtures__/refactor-to-callout3.output.js
  57. +3 −0 packages/upgrade/transforms/__testfixtures__/refactor-to-callout4.input.js
  58. +3 −0 packages/upgrade/transforms/__testfixtures__/refactor-to-callout4.output.js
  59. +15 −0 packages/upgrade/transforms/__tests__/refactor-to-callout.js
  60. +157 −0 packages/upgrade/transforms/refactor-to-callout.js
  61. +2 −2 packages/utilities-react/package.json
  62. +1 −1 packages/utilities/package.json
  63. +4 −4 packages/web-components/package.json
  64. +2 −2 packages/web-components/tasks/build.js
  65. +2 −2 packages/web-components/tools/rollup-plugin-dist-icons.js
  66. +2 −2 www/package.json
  67. +86 −86 yarn.lock
1 change: 1 addition & 0 deletions .github/workflows/deploy-web-components-storybook.yml
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ jobs:
yarn storybook:build
- name: Create CNAME
run: |
touch packages/web-components/storybook-static/.nojekyll
touch packages/web-components/storybook-static/CNAME
echo "web-components.carbondesignsystem.com" > packages/web-components/storybook-static/CNAME
- name: Push to Web Components repo
4 changes: 1 addition & 3 deletions .github/workflows/publish-web-components-cdn.yml
Original file line number Diff line number Diff line change
@@ -27,10 +27,8 @@ jobs:
node-version: '18.x'
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Build Web Components package
run: |
cd packages/web-components
yarn install
yarn build
- name: Check release type
if: contains(github.ref_name, '-rc.')
2 changes: 1 addition & 1 deletion config/eslint-config-carbon/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "eslint-config-carbon",
"description": "ESLint configuration for Carbon",
"version": "3.17.0-rc.0",
"version": "3.17.1",
"license": "Apache-2.0",
"main": "index.js",
"repository": {
2 changes: 1 addition & 1 deletion config/jest-config-carbon/package.json
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"name": "jest-config-carbon",
"private": true,
"description": "Jest configuration and preset for Carbon",
"version": "1.16.0-rc.0",
"version": "1.16.1",
"license": "Apache-2.0",
"main": "index.js",
"repository": {
2 changes: 1 addition & 1 deletion config/stylelint-config-carbon/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "stylelint-config-carbon",
"description": "Stylelint configuration for Carbon",
"version": "1.19.0-rc.0",
"version": "1.19.1",
"license": "Apache-2.0",
"main": "index.js",
"repository": {
6 changes: 3 additions & 3 deletions docs/experimental-code.md
Original file line number Diff line number Diff line change
@@ -38,20 +38,20 @@ const unstable_meta = {

// An unstable component will retain its name, specifically for things like
// the rules of hooks plugin which depend on the correct casing of the name
function StaticNotification(props) {
function ComponentName(props) {
// ...
}

// However, when we export the component we will export it with the `unstable_`
// prefix. (Similar to React.unstable_Suspense, React.unstable_Profiler)
export { default as unstable_StaticNotification } from './components/StaticNotification';
export { default as unstable_ComponentName } from './components/ComponentName';
```

For teams using these features, they will need to import the functionality by
using the `unstable_` prefix. For example:

```jsx
import { unstable_StaticNotification as StaticNotification } from '@carbon/react';
import { unstable_ComponentName as ComponentName } from '@carbon/react';
```

### Documenting components and exports prefixed with `unstable_`
4 changes: 2 additions & 2 deletions examples/class-prefix/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "class-prefix",
"private": true,
"version": "0.64.0-rc.0",
"version": "0.64.1",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@carbon/react": "^1.67.0-rc.0",
"@carbon/react": "^1.67.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
4 changes: 2 additions & 2 deletions examples/codesandbox-styles/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "codesandbox-styles",
"private": true,
"version": "0.69.0-rc.0",
"version": "0.69.1",
"type": "module",
"scripts": {
"dev": "vite"
@@ -11,6 +11,6 @@
"vite": "^4.3.8"
},
"dependencies": {
"@carbon/styles": "^1.66.0-rc.0"
"@carbon/styles": "^1.66.1"
}
}
4 changes: 2 additions & 2 deletions examples/custom-theme/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "custom-theme",
"private": true,
"version": "0.65.0-rc.0",
"version": "0.65.1",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@carbon/react": "^1.67.0-rc.0",
"@carbon/react": "^1.67.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
4 changes: 2 additions & 2 deletions examples/id-prefix/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "id-prefix",
"private": true,
"version": "0.64.0-rc.0",
"version": "0.64.1",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@carbon/react": "^1.67.0-rc.0",
"@carbon/react": "^1.67.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
4 changes: 2 additions & 2 deletions examples/light-dark-mode/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "examples-light-dark",
"private": true,
"version": "0.65.0-rc.0",
"version": "0.65.1",
"scripts": {
"build": "next build",
"dev": "next dev",
"lint": "next lint",
"start": "next start"
},
"dependencies": {
"@carbon/react": "^1.67.0-rc.0",
"@carbon/react": "^1.67.1",
"next": "14.1.1",
"react": "18.2.0",
"react-dom": "18.2.0"
4 changes: 2 additions & 2 deletions examples/nextjs/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "examples-nextjs",
"private": true,
"version": "0.67.0-rc.0",
"version": "0.67.1",
"scripts": {
"build": "next build",
"dev": "next dev",
"lint": "next lint",
"start": "next start"
},
"dependencies": {
"@carbon/react": "^1.67.0-rc.0",
"@carbon/react": "^1.67.1",
"next": "14.1.1",
"react": "18.2.0",
"react-dom": "18.2.0"
4 changes: 2 additions & 2 deletions examples/v10-token-compat-in-v11/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "v10-token-compat-in-v11",
"private": true,
"version": "0.65.0-rc.0",
"version": "0.65.1",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@carbon/react": "^1.67.0-rc.0",
"@carbon/react": "^1.67.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
4 changes: 2 additions & 2 deletions examples/vite/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "vite",
"private": true,
"version": "0.65.0-rc.0",
"version": "0.65.1",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@carbon/react": "^1.67.0-rc.0",
"@carbon/react": "^1.67.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
8 changes: 4 additions & 4 deletions packages/carbon-components-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": "8.67.0-rc.0",
"version": "8.67.1",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
@@ -42,8 +42,8 @@
"sass": "^1.33.0"
},
"dependencies": {
"@carbon/react": "^1.67.0-rc.0",
"@carbon/styles": "^1.66.0-rc.0",
"@carbon/react": "^1.67.1",
"@carbon/styles": "^1.66.1",
"@ibm/telemetry-js": "^1.5.0",
"chalk": "1.1.3"
},
@@ -55,7 +55,7 @@
"@babel/plugin-transform-react-constant-elements": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/preset-react": "^7.24.7",
"@carbon/test-utils": "^10.33.0-rc.0",
"@carbon/test-utils": "^10.33.1",
"@rollup/plugin-babel": "^6.0.0",
"@rollup/plugin-commonjs": "^26.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
6 changes: 3 additions & 3 deletions packages/carbon-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": "11.66.0-rc.0",
"version": "11.66.1",
"license": "Apache-2.0",
"repository": {
"type": "git",
@@ -43,12 +43,12 @@
"sass": "^1.33.0"
},
"dependencies": {
"@carbon/styles": "^1.66.0-rc.0",
"@carbon/styles": "^1.66.1",
"@ibm/telemetry-js": "^1.5.0",
"chalk": "1.1.3"
},
"devDependencies": {
"@carbon/test-utils": "^10.33.0-rc.0",
"@carbon/test-utils": "^10.33.1",
"fs-extra": "^11.0.0",
"rimraf": "^6.0.0",
"sass": "^1.77.7"
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/cli",
"description": "Task automation for working with the Carbon Design System",
"version": "11.22.0-rc.0",
"version": "11.22.1",
"license": "Apache-2.0",
"bin": {
"carbon-cli": "./bin/carbon-cli.js"
6 changes: 3 additions & 3 deletions packages/colors/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/colors",
"description": "Colors for digital and software products using the Carbon Design System",
"version": "11.27.0-rc.0",
"version": "11.27.1",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
@@ -39,10 +39,10 @@
"postinstall": "ibmtelemetry --config=telemetry.yml"
},
"devDependencies": {
"@carbon/cli": "^11.22.0-rc.0",
"@carbon/cli": "^11.22.1",
"@carbon/cli-reporter": "^10.7.0",
"@carbon/scss-generator": "^10.18.0",
"@carbon/test-utils": "^10.33.0-rc.0",
"@carbon/test-utils": "^10.33.1",
"change-case": "^4.1.1",
"fs-extra": "^11.0.0",
"rimraf": "^6.0.0"
18 changes: 9 additions & 9 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": "11.54.0-rc.0",
"version": "11.54.1",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
@@ -38,17 +38,17 @@
"postinstall": "ibmtelemetry --config=telemetry.yml"
},
"dependencies": {
"@carbon/colors": "^11.27.0-rc.0",
"@carbon/grid": "^11.28.0-rc.0",
"@carbon/icons": "^11.50.0-rc.0",
"@carbon/layout": "^11.27.0-rc.0",
"@carbon/motion": "^11.23.0-rc.0",
"@carbon/themes": "^11.41.0-rc.0",
"@carbon/type": "^11.32.0-rc.0",
"@carbon/colors": "^11.27.1",
"@carbon/grid": "^11.28.1",
"@carbon/icons": "^11.50.1",
"@carbon/layout": "^11.27.1",
"@carbon/motion": "^11.23.1",
"@carbon/themes": "^11.41.1",
"@carbon/type": "^11.32.1",
"@ibm/telemetry-js": "^1.5.0"
},
"devDependencies": {
"@carbon/cli": "^11.22.0-rc.0",
"@carbon/cli": "^11.22.1",
"fs-extra": "^11.0.0",
"klaw-sync": "^6.0.0",
"replace-in-file": "^7.0.0",
2 changes: 1 addition & 1 deletion packages/feature-flags/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/feature-flags",
"description": "Build with feature flags in Carbon",
"version": "0.23.0-rc.0",
"version": "0.23.1",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
6 changes: 3 additions & 3 deletions packages/grid/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/grid",
"description": "Grid for digital and software products using the Carbon Design System",
"version": "11.28.0-rc.0",
"version": "11.28.1",
"license": "Apache-2.0",
"repository": {
"type": "git",
@@ -35,11 +35,11 @@
"postinstall": "ibmtelemetry --config=telemetry.yml"
},
"dependencies": {
"@carbon/layout": "^11.27.0-rc.0",
"@carbon/layout": "^11.27.1",
"@ibm/telemetry-js": "^1.5.0"
},
"devDependencies": {
"@carbon/cli": "^11.22.0-rc.0",
"@carbon/cli": "^11.22.1",
"rimraf": "^6.0.0"
},
"eyeglass": {
4 changes: 2 additions & 2 deletions packages/icon-build-helpers/package.json
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"name": "@carbon/icon-build-helpers",
"private": true,
"description": "Build helpers for the Carbon Design System icon library",
"version": "1.31.0-rc.0",
"version": "1.31.1",
"license": "Apache-2.0",
"main": "src/index.js",
"repository": {
@@ -30,7 +30,7 @@
"@babel/template": "^7.24.7",
"@babel/types": "^7.24.7",
"@carbon/cli-reporter": "^10.7.0",
"@carbon/icon-helpers": "^10.53.0-rc.0",
"@carbon/icon-helpers": "^10.53.1",
"@hapi/joi": "^17.1.1",
"@rollup/plugin-babel": "^6.0.0",
"@rollup/plugin-replace": "^5.0.0",
Loading