Skip to content

Commit

Permalink
Merge branch 'main' of github.com:amal-k-joy/ibm-products into condit…
Browse files Browse the repository at this point in the history
…ionBuilder6422
  • Loading branch information
amal-k-joy committed Jan 31, 2025
2 parents 6903a23 + 9add0eb commit cc26f70
Show file tree
Hide file tree
Showing 304 changed files with 3,837 additions and 3,914 deletions.
6 changes: 0 additions & 6 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,3 @@
# be requested for review when someone opens a pull request.

* @carbon-design-system/carbon-for-ibm-products-reviewers

# Security package
/packages/security/ @jlongshore @paul-balchin-ibm

# Admins and team should be notified of changes to CI/CD workflows
/.github/workflows @elycheea @matthewgallo @kennylam @carbon-design-system/carbon-for-ibm-products-development
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
node-version: '20.x'
cache: yarn
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 #4.2.0
with:
path: '**/node_modules'
key: build-modules-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
Expand All @@ -45,7 +45,7 @@ jobs:
node-version: '20.x'
cache: yarn
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 #4.2.0
with:
path: '**/node_modules'
key: lint-modules-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
Expand All @@ -65,7 +65,7 @@ jobs:
node-version: '20.x'
cache: yarn
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 #4.2.0
with:
path: '**/node_modules'
key: lint-modules-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
Expand All @@ -85,7 +85,7 @@ jobs:
node-version: '20.x'
cache: yarn
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 #4.2.0
with:
path: '**/node_modules'
key: spellcheck-modules-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
Expand All @@ -105,7 +105,7 @@ jobs:
node-version: '20.x'
cache: yarn
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 #4.2.0
with:
path: '**/node_modules'
key: test-c4p-modules-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
Expand All @@ -130,7 +130,7 @@ jobs:
node-version: '20.x'
cache: yarn
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 #4.2.0
with:
path: '**/node_modules'
key:
Expand Down
24 changes: 21 additions & 3 deletions .github/workflows/triage-labeled-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,48 @@ on:
types: [ labeled ]

jobs:
gen-token:
runs-on: ubuntu-latest
outputs:
token: ${{ steps.generate_token.outputs.token }}
steps:
- name: Generate token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a #v2.1.0
id: generate_token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Save token
run: |
echo "token=${{ steps.generate_token.outputs.token }}" >> $GITHUB_OUTPUT
move-ts-issues:
needs: gen-token
if: ${{contains(github.event.label.name, format('area{0} typescript', ':'))}}
uses: carbon-design-system/.github/.github/workflows/move-issue-to-project-and-set-fields.yml@main
with:
field: 'Area'
field_option: '🟦 Typescript'
project_number: '65'
secrets:
token: ${{ secrets.ADD_TO_PROJECT_SET_FIELD }}
token: ${{ needs.gen-token.outputs.token }}
move-migration-issues:
needs: gen-token
if: ${{contains(github.event.label.name, format('area{0} migration ➡️', ':'))}}
uses: carbon-design-system/.github/.github/workflows/move-issue-to-project-and-set-fields.yml@main
with:
field: 'Area'
field_option: '🗺 Migration'
project_number: '65'
secrets:
token: ${{ secrets.ADD_TO_PROJECT_SET_FIELD }}
token: ${{ needs.gen-token.outputs.token }}
move-a11y-issues:
needs: gen-token
if: ${{contains(github.event.label.name, format('type{0} a11y ♿', ':'))}}
uses: carbon-design-system/.github/.github/workflows/move-issue-to-project-and-set-fields.yml@main
with:
field: 'Area'
field_option: '♿️ Accessibility'
project_number: '65'
secrets:
token: ${{ secrets.ADD_TO_PROJECT_SET_FIELD }}
token: ${{ needs.gen-token.outputs.token }}
11 changes: 9 additions & 2 deletions .github/workflows/update-example-gallery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,21 @@ jobs:
cache: yarn

- name: Cache dependencies
uses: actions/cache@v4
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 #4.2.0
with:
path: '**/node_modules'
key: check-gallery-${{ runner.os }}-${{ hashFiles('yarn.lock') }}

- name: Install
run: yarn

- name: Generate token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a #v2.1.0
id: generate_token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}

- name: Check gallery
id: up_to_date
run: |
Expand All @@ -47,7 +54,7 @@ jobs:
id: create-pr
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.CREATE_PR_ACCESS_TOKEN }}
token: ${{ secrets.generate_token.outputs.token }}
commit-message: 'chore: update example gallery'
committer: GitHub <noreply@github.com>
author:
Expand Down
5 changes: 4 additions & 1 deletion .stylelintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
extends: ['stylelint-config-carbon'],
plugins: ['stylelint-plugin-carbon-tokens'],
plugins: ['stylelint-plugin-carbon-tokens', 'stylelint-use-logical'],
rules: {
'max-nesting-depth': null,
'scss/no-global-function-names': null,
Expand All @@ -14,5 +14,8 @@ module.exports = {
'carbon/motion-easing-use': true,
'carbon/theme-use': true,
'carbon/type-use': true,

// CSS Logical properties
'csstools/use-logical': 'ignore',
},
};
40 changes: 40 additions & 0 deletions config/babel-preset-ibm-cloud-cognitive/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,46 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.17.0-rc.0](https://github.com/carbon-design-system/ibm-products/compare/babel-preset-ibm-cloud-cognitive@0.14.40...babel-preset-ibm-cloud-cognitive@0.17.0-rc.0) (2025-01-27)

**Note:** Version bump only for package babel-preset-ibm-cloud-cognitive





# [0.16.0](https://github.com/carbon-design-system/ibm-products/compare/babel-preset-ibm-cloud-cognitive@0.16.0-rc.0...babel-preset-ibm-cloud-cognitive@0.16.0) (2025-01-22)

**Note:** Version bump only for package babel-preset-ibm-cloud-cognitive





# [0.16.0-rc.0](https://github.com/carbon-design-system/ibm-products/compare/babel-preset-ibm-cloud-cognitive@0.14.40...babel-preset-ibm-cloud-cognitive@0.16.0-rc.0) (2025-01-13)

**Note:** Version bump only for package babel-preset-ibm-cloud-cognitive





## [0.15.1](https://github.com/carbon-design-system/ibm-products/compare/babel-preset-ibm-cloud-cognitive@0.15.1-rc.0...babel-preset-ibm-cloud-cognitive@0.15.1) (2025-01-10)

**Note:** Version bump only for package babel-preset-ibm-cloud-cognitive





## [0.15.1-rc.0](https://github.com/carbon-design-system/ibm-products/compare/babel-preset-ibm-cloud-cognitive@0.14.40...babel-preset-ibm-cloud-cognitive@0.15.1-rc.0) (2025-01-09)

**Note:** Version bump only for package babel-preset-ibm-cloud-cognitive





# [0.15.0](https://github.com/carbon-design-system/ibm-products/compare/babel-preset-ibm-cloud-cognitive@0.15.0-rc.0...babel-preset-ibm-cloud-cognitive@0.15.0) (2025-01-08)

**Note:** Version bump only for package babel-preset-ibm-cloud-cognitive
Expand Down
2 changes: 1 addition & 1 deletion config/babel-preset-ibm-cloud-cognitive/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "babel-preset-ibm-cloud-cognitive",
"private": true,
"version": "0.15.0",
"version": "0.17.0-rc.0",
"license": "Apache-2.0",
"main": "index.js",
"repository": {
Expand Down
49 changes: 49 additions & 0 deletions config/jest-config-ibm-cloud-cognitive/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,55 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [1.18.0-rc.0](https://github.com/carbon-design-system/ibm-products/compare/jest-config-ibm-cloud-cognitive@1.13.0-rc.0...jest-config-ibm-cloud-cognitive@1.18.0-rc.0) (2025-01-27)


### Bug Fixes

* update accessibility-checker version ([#6525](https://github.com/carbon-design-system/ibm-products/issues/6525)) ([d8c7051](https://github.com/carbon-design-system/ibm-products/commit/d8c70518087e7e41fdf1aa45cbbf692389058d56))





# [1.17.0](https://github.com/carbon-design-system/ibm-products/compare/jest-config-ibm-cloud-cognitive@1.17.0-rc.0...jest-config-ibm-cloud-cognitive@1.17.0) (2025-01-22)

**Note:** Version bump only for package jest-config-ibm-cloud-cognitive





# [1.17.0-rc.0](https://github.com/carbon-design-system/ibm-products/compare/jest-config-ibm-cloud-cognitive@1.13.0-rc.0...jest-config-ibm-cloud-cognitive@1.17.0-rc.0) (2025-01-13)


### Bug Fixes

* update accessibility-checker version ([#6525](https://github.com/carbon-design-system/ibm-products/issues/6525)) ([d8c7051](https://github.com/carbon-design-system/ibm-products/commit/d8c70518087e7e41fdf1aa45cbbf692389058d56))





## [1.16.1](https://github.com/carbon-design-system/ibm-products/compare/jest-config-ibm-cloud-cognitive@1.16.1-rc.0...jest-config-ibm-cloud-cognitive@1.16.1) (2025-01-10)

**Note:** Version bump only for package jest-config-ibm-cloud-cognitive





## [1.16.1-rc.0](https://github.com/carbon-design-system/ibm-products/compare/jest-config-ibm-cloud-cognitive@1.13.0-rc.0...jest-config-ibm-cloud-cognitive@1.16.1-rc.0) (2025-01-09)


### Bug Fixes

* update accessibility-checker version ([#6525](https://github.com/carbon-design-system/ibm-products/issues/6525)) ([d8c7051](https://github.com/carbon-design-system/ibm-products/commit/d8c70518087e7e41fdf1aa45cbbf692389058d56))





# [1.16.0](https://github.com/carbon-design-system/ibm-products/compare/jest-config-ibm-cloud-cognitive@1.16.0-rc.0...jest-config-ibm-cloud-cognitive@1.16.0) (2025-01-08)

**Note:** Version bump only for package jest-config-ibm-cloud-cognitive
Expand Down
6 changes: 3 additions & 3 deletions config/jest-config-ibm-cloud-cognitive/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ module.exports = {
setupFiles: [require.resolve('./setup/setupFiles.js')],
setupFilesAfterEnv: [require.resolve('./setup/setupFilesAfterEnv.js')],
testMatch: [
'<rootDir>/**/__tests__/**/*.js?(x)',
'<rootDir>/**/*.(spec|test).js?(x)',
'<rootDir>/**/*-(spec|test).js?(x)',
'<rootDir>/**/__tests__/**/*.(js|jsx|ts|tsx)?(x)',
'<rootDir>/**/*.(spec|test).(js|jsx|ts|tsx)?(x)',
'<rootDir>/**/*-(spec|test).(js|jsx|ts|tsx)?(x)',
],
transform: {
'^.+\\.(mjs|cjs|js|jsx|ts|tsx)$': require.resolve(
Expand Down
4 changes: 2 additions & 2 deletions config/jest-config-ibm-cloud-cognitive/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jest-config-ibm-cloud-cognitive",
"private": true,
"version": "1.16.0",
"version": "1.18.0-rc.0",
"license": "Apache-2.0",
"main": "index.js",
"repository": {
Expand Down Expand Up @@ -39,7 +39,7 @@
"accessibility-checker": "^3.1.78",
"axe-core": "^4.8.3",
"babel-jest": "^29.7.0",
"babel-preset-ibm-cloud-cognitive": "^0.15.0",
"babel-preset-ibm-cloud-cognitive": "^0.17.0-rc.0",
"chalk": "^4.1.2",
"identity-obj-proxy": "^3.0.0",
"jest-circus": "^29.7.0",
Expand Down
40 changes: 40 additions & 0 deletions config/storybook-addon-carbon-theme/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,46 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.8.0-rc.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/storybook-addon-theme@2.3.0-rc.0...@carbon/storybook-addon-theme@2.8.0-rc.0) (2025-01-27)

**Note:** Version bump only for package @carbon/storybook-addon-theme





# [2.7.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/storybook-addon-theme@2.7.0-rc.0...@carbon/storybook-addon-theme@2.7.0) (2025-01-22)

**Note:** Version bump only for package @carbon/storybook-addon-theme





# [2.7.0-rc.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/storybook-addon-theme@2.3.0-rc.0...@carbon/storybook-addon-theme@2.7.0-rc.0) (2025-01-13)

**Note:** Version bump only for package @carbon/storybook-addon-theme





## [2.6.1](https://github.com/carbon-design-system/ibm-products/compare/@carbon/storybook-addon-theme@2.6.1-rc.0...@carbon/storybook-addon-theme@2.6.1) (2025-01-10)

**Note:** Version bump only for package @carbon/storybook-addon-theme





## [2.6.1-rc.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/storybook-addon-theme@2.3.0-rc.0...@carbon/storybook-addon-theme@2.6.1-rc.0) (2025-01-09)

**Note:** Version bump only for package @carbon/storybook-addon-theme





# [2.6.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/storybook-addon-theme@2.6.0-rc.0...@carbon/storybook-addon-theme@2.6.0) (2025-01-08)

**Note:** Version bump only for package @carbon/storybook-addon-theme
Expand Down
2 changes: 1 addition & 1 deletion config/storybook-addon-carbon-theme/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/storybook-addon-theme",
"description": "Carbon theme switcher for Storybook",
"version": "2.6.0",
"version": "2.8.0-rc.0",
"license": "Apache-2.0",
"main": "dist/react.js",
"repository": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test.describe('NotificationsPanel @avt', () => {
test('@avt-default-state', async ({ page }) => {
await visitStory(page, {
component: 'NotificationsPanel',
id: 'ibm-products-patterns-notifications-notificationspanel--default',
id: 'ibm-products-components-notifications-panel-notificationspanel--default',
globals: {
carbonTheme: 'white',
},
Expand All @@ -28,7 +28,7 @@ test.describe('NotificationsPanel @avt', () => {
test('@avt-notification-panel-focus-trap', async ({ page }) => {
await visitStory(page, {
component: 'NotificationsPanel',
id: 'ibm-products-patterns-notifications-notificationspanel--default',
id: 'ibm-products-components-notifications-panel-notificationspanel--default',
globals: {
carbonTheme: 'white',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
position: fixed;
bottom: 1rem; // stylelint-disable-line carbon/layout-use
left: 1rem; // stylelint-disable-line carbon/layout-use
min-width: 11.5rem;
min-inline-size: 11.5rem;
}

.carbon-theme-dropdown .#{config.$prefix}--label {
Expand Down
Loading

0 comments on commit cc26f70

Please sign in to comment.