Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…oducts into search-bar-prop-clean
  • Loading branch information
IgnacioBecerra committed May 6, 2024
2 parents ad28a69 + 7a5de0d commit 95c9577
Show file tree
Hide file tree
Showing 211 changed files with 7,257 additions and 4,637 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ packages/*/examples/*
# React
**/storybook-static/**

# Story files
*.stories.*

# Ignore template files
packages/ibm-products/scripts/generate/templates/**/*.js*
scripts/example-gallery-builder/update-example/**/*.js*
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
branches:
- main
- main_v1
- v1
merge_group:
types: [checks_requested]

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ on:
pull_request:
branches:
- main
- main_v1
- v1

push:
branches:
- main
- main_v1
- v1

merge_group:
types: [checks_requested]
Expand Down
97 changes: 0 additions & 97 deletions .github/workflows/move-issue-to-project-and-set-fields.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/release-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
fetch-depth: 0 # https://github.com/actions/checkout/issues/217
token: ${{ secrets.GH_TOKEN_LERNA }} # https://github.com/lerna/lerna/issues/1957
ref: 'main_v1'
ref: 'v1'

# https://github.com/actions/checkout#push-a-commit-using-the-built-in-token
- run: |
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/triage-labeled-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,28 @@ on:
jobs:
move-ts-issues:
if: ${{contains(github.event.label.name, format('area{0} typescript', ':'))}}
uses: ./.github/workflows/move-issue-to-project-and-set-fields.yml
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: inherit
secrets:
token: ${{ secrets.ADD_TO_PROJECT_SET_FIELD }}
move-migration-issues:
if: ${{contains(github.event.label.name, format('area{0} migration ➡️', ':'))}}
uses: ./.github/workflows/move-issue-to-project-and-set-fields.yml
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: inherit
secrets:
token: ${{ secrets.ADD_TO_PROJECT_SET_FIELD }}
move-a11y-issues:
if: ${{contains(github.event.label.name, format('type{0} a11y ♿', ':'))}}
uses: ./.github/workflows/move-issue-to-project-and-set-fields.yml
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: inherit
secrets:
token: ${{ secrets.ADD_TO_PROJECT_SET_FIELD }}
2 changes: 1 addition & 1 deletion .github/workflows/update-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
with:
ref: 'main_v1'
ref: 'v1'

- name: Install
run: yarn
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ other users.
This project consists of a number of component library packages published on
npm:

| Package name | Description |
| --------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| [`@carbon/ibm-products`](./packages/ibm-products) | A curated set of components and patterns, built on top of Carbon and designed by the Carbon for IBM Products team |
| [`@carbon/ibm-cloud-cognitive-cdai`](https://github.com/carbon-design-system/ibm-products/tree/main_v1/packages/cdai) | (**v1 only**) Legacy and non-curated design implementations used in application integration |
| [`@carbon/ibm-security`](https://github.com/carbon-design-system/ibm-products/tree/main_v1/packages/security) | (**v1 only**) Legacy and non-curated design implementations used in security |
| Package name | Description |
| ---------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| [`@carbon/ibm-products`](./packages/ibm-products) | A curated set of components and patterns, built on top of Carbon and designed by the Carbon for IBM Products team |
| [`@carbon/ibm-cloud-cognitive-cdai`](https://github.com/carbon-design-system/ibm-products/tree/v1/packages/cdai) | (**v1 only**) Legacy and non-curated design implementations used in application integration |
| [`@carbon/ibm-security`](https://github.com/carbon-design-system/ibm-products/tree/v1/packages/security) | (**v1 only**) Legacy and non-curated design implementations used in security |

Also the following additional utility packages are published on npm:

Expand Down
11 changes: 11 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,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.1.6](https://github.com/carbon-design-system/ibm-products/compare/jest-config-ibm-cloud-cognitive@[email protected]) (2024-04-30)


### Bug Fixes

* adds snapshot test as part of CI checks ([#4798](https://github.com/carbon-design-system/ibm-products/issues/4798)) ([7fd4343](https://github.com/carbon-design-system/ibm-products/commit/7fd43439642040cf303e287efc13b00d09d885de))





## [1.1.5](https://github.com/carbon-design-system/ibm-products/compare/jest-config-ibm-cloud-cognitive@[email protected]) (2024-02-27)

**Note:** Version bump only for package jest-config-ibm-cloud-cognitive
Expand Down
3 changes: 2 additions & 1 deletion config/jest-config-ibm-cloud-cognitive/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module.exports = {
},
},
resolver: require.resolve('./setup/resolver.js'),
moduleFileExtensions: ['tsx', 'ts', 'js', 'json', 'node'],
moduleFileExtensions: ['tsx', 'ts', 'jsx', 'js', 'json', 'node'],
moduleNameMapper: {
// This mapping is the result of updating to Jest 28. We currently require
// this as the version of uuid that gets resolved is ESM but we would like
Expand Down Expand Up @@ -98,6 +98,7 @@ module.exports = {
'/umd/',
'[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$',
'ace-node\\.js',
'ace-node-([a-zA-Z0-9_-]+).(js|ts)$',
],
watchPathIgnorePatterns: [
'/.avt/',
Expand Down
2 changes: 1 addition & 1 deletion 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.1.5",
"version": "1.1.6",
"license": "Apache-2.0",
"main": "index.js",
"repository": {
Expand Down
16 changes: 16 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,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.1.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/[email protected]...@carbon/[email protected]) (2024-04-30)


### Bug Fixes

* **sidePanel:** Close scrollbar overlap 3975 ([#4680](https://github.com/carbon-design-system/ibm-products/issues/4680)) ([8ef8d7b](https://github.com/carbon-design-system/ibm-products/commit/8ef8d7b98ceebc1a9934d98a5e5891c65163fedf))


### Features

* instrument current packages with js scope ([#5012](https://github.com/carbon-design-system/ibm-products/issues/5012)) ([59074fe](https://github.com/carbon-design-system/ibm-products/commit/59074fe8ae93d3854565ba3c92f20065f3f2867e))





## [2.0.8](https://github.com/carbon-design-system/ibm-products/compare/@carbon/[email protected]...@carbon/[email protected]) (2024-04-02)

**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.0.8",
"version": "2.1.0",
"license": "Apache-2.0",
"main": "dist/react.js",
"repository": {
Expand Down
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
"dasharray",
"data-testid",
"datagrid",
"denormalized",
"disttag",
"disttags",
"dragbar",
Expand Down
24 changes: 24 additions & 0 deletions e2e/components/AboutModal/AboutModal-test.avt.e2e.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* Copyright IBM Corp. 2024, 2024
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

import { expect, test } from '@playwright/test';
import { visitStory } from '../../test-utils/storybook';

test.describe('AboutModal @avt', () => {
test('@avt-default-state', async ({ page }) => {
await visitStory(page, {
component: 'AboutModal',
id: 'ibm-products-patterns-about-modal-aboutmodal--about-modal',
globals: {
carbonTheme: 'white',
},
});
await expect(page).toHaveNoACViolations('AboutModal @avt-default-state');
});
});
24 changes: 24 additions & 0 deletions e2e/components/TagSet/TagSet-test.avt.e2e.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* Copyright IBM Corp. 2024, 2024
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

import { expect, test } from '@playwright/test';
import { visitStory } from '../../test-utils/storybook';

test.describe('TagSet @avt', () => {
test('@avt-default-state', async ({ page }) => {
await visitStory(page, {
component: 'TagSet',
id: 'ibm-products-components-tag-set-tagset--five-tags',
globals: {
carbonTheme: 'white',
},
});
await expect(page).toHaveNoACViolations('TagSet @avt-default-state');
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import React from 'react';

import App from './App.jsx';

import styles from './_storybook-styles.scss';
import styles from './_storybook-styles.scss?inline';

export default {
title: 'Overview/Examples',
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
},
"scripts": {
"audit": "node scripts/audit.js '--environment production' moderate",
"avt": "yarn playwright test --project chromium --grep @avt",
"build": "run-s -s 'build:*' storybook:build:storybook",
"build:packages": "yarn run-all --include-dependencies build",
"ci-check": "run-s -s 'ci-check:*' storybook:build",
Expand Down Expand Up @@ -46,9 +47,8 @@
"test:c4p-styles": "lerna run --stream --scope @carbon/ibm-products-styles test --",
"test:community": "lerna run --stream --scope @carbon/ibm-products-community test --",
"spellcheck": "cspell '**' -e './examples' --gitignore --quiet --no-must-find-files",
"storybook": "run-s storybook:build:dependencies storybook:start",
"storybook": "yarn storybook:start",
"storybook:build": "run-s -s 'storybook:build:*'",
"storybook:build:dependencies": "yarn run-all --include-dependencies --scope \"@carbon/storybook-addon-theme\" build",
"storybook:build:storybook": "cd packages/core && yarn build",
"storybook:start": "cd packages/core && yarn start",
"sync": "carbon-cli sync",
Expand Down
3 changes: 0 additions & 3 deletions packages/core/.storybook/babel.config.json

This file was deleted.

Loading

0 comments on commit 95c9577

Please sign in to comment.