Skip to content

Commit

Permalink
Merge branch 'main' into fix/lightbox-carousel-QA
Browse files Browse the repository at this point in the history
* main:
  chore(settings): update settings to v1.43.0
  chore(files): remove unused log file (carbon-design-system#9913)
  fix(masthead): update logo url protocol (carbon-design-system#9914)
  chore(release): publish
  feat(tile): add custom event to `selected-tile` (carbon-design-system#9898)
  fix(deps): update dependency isomorphic-dompurify to v0.26.0 (carbon-design-system#9906)
  • Loading branch information
m4olivei committed Jan 19, 2023
2 parents 71e4444 + 530082d commit c17c693
Show file tree
Hide file tree
Showing 42 changed files with 200 additions and 29,608 deletions.
Binary file added .yarn/offline-mirror/acorn-8.8.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/decimal.js-10.4.2.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/decimal.js-10.4.3.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/isomorphic-dompurify-0.25.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/jsdom-20.0.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/jsdom-21.0.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/w3c-xmlserializer-3.0.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/w3c-xmlserializer-4.0.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/ws-8.12.0.tgz
Binary file not shown.
8 changes: 8 additions & 0 deletions packages/carbon-web-components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [1.23.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/[email protected]...@carbon/[email protected]) (2023-01-17)

**Note:** Version bump only for package @carbon/web-components





# [1.23.0-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/[email protected]...@carbon/[email protected]) (2023-01-04)


Expand Down
2 changes: 1 addition & 1 deletion packages/carbon-web-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@carbon/web-components",
"version": "1.23.0-rc.0",
"version": "1.23.0",
"publishConfig": {
"access": "public"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
*
* Copyright IBM Corp. 2019, 2022
* Copyright IBM Corp. 2019, 2023
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
Expand Down Expand Up @@ -29,6 +29,7 @@ const { prefix } = settings;
* Multi-selectable tile.
*
* @element bx-selectable-tile
* @fires bx-selectable-tile-changed - The custom event fired after this selectable tile changes its selected state.
*/
@customElement(`${prefix}-selectable-tile`)
class BXSelectableTile extends FocusMixin(LitElement) {
Expand All @@ -45,6 +46,18 @@ class BXSelectableTile extends FocusMixin(LitElement) {
*/
protected _handleChange() {
this.selected = this._inputNode.checked;

const selected = this.selected;
const { eventChange } = this.constructor as typeof BXSelectableTile;
this.dispatchEvent(
new CustomEvent(eventChange, {
bubbles: true,
composed: true,
detail: {
selected,
},
})
);
}

/**
Expand Down Expand Up @@ -124,6 +137,13 @@ class BXSelectableTile extends FocusMixin(LitElement) {
`;
}

/**
* The name of the custom event fired after this selectable tile changes its selected state.
*/
static get eventChange() {
return `${prefix}-selectable-tile-changed`;
}

static styles = styles;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Note: For `boolean` attributes, `true` means simply setting the attribute (e.g.
</bx-selectable-tile>
```

## `<bx-selectable-tile>` attributes and properties
## `<bx-selectable-tile>` attributes and properties and events

Note: For `boolean` attributes, `true` means simply setting the attribute (e.g.
`<bx-selectable-tile selected>`) and `false` means not setting the attribute
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
*
* Copyright IBM Corp. 2019, 2022
* Copyright IBM Corp. 2019, 2023
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
8 changes: 8 additions & 0 deletions packages/eslint-config-ibmdotcom/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [1.33.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/[email protected]...@carbon/[email protected]) (2023-01-17)

**Note:** Version bump only for package @carbon/eslint-config-ibmdotcom





# [1.33.0-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/[email protected]...@carbon/[email protected]) (2023-01-04)

**Note:** Version bump only for package @carbon/eslint-config-ibmdotcom
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-config-ibmdotcom/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/eslint-config-ibmdotcom",
"private": true,
"version": "1.33.0-rc.0",
"version": "1.33.0",
"description": "ESLint configuration for Carbon for IBM.com",
"license": "Apache-2.0",
"main": "index.js",
Expand All @@ -18,7 +18,7 @@
"eslint": "^6.8.0"
},
"dependencies": {
"@carbon/eslint-plugin-react-prop-type-comments": "1.32.0-rc.0",
"@carbon/eslint-plugin-react-prop-type-comments": "1.32.0",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"babel-eslint": "^10.1.0",
Expand Down
8 changes: 8 additions & 0 deletions packages/eslint-plugin-ibmdotcom-import-rules/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [1.32.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/[email protected]...@carbon/[email protected]) (2023-01-17)

**Note:** Version bump only for package @carbon/eslint-plugin-ibmdotcom-import-rules





# [1.32.0-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/[email protected]...@carbon/[email protected]) (2023-01-04)

**Note:** Version bump only for package @carbon/eslint-plugin-ibmdotcom-import-rules
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-ibmdotcom-import-rules/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/eslint-plugin-ibmdotcom-import-rules",
"private": true,
"version": "1.32.0-rc.0",
"version": "1.32.0",
"description": "ESLint plugin for Carbon for IBM.com checking imports",
"license": "Apache-2.0",
"main": "lib/index.js",
Expand Down
8 changes: 8 additions & 0 deletions packages/eslint-plugin-react-prop-type-comments/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [1.32.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/[email protected]...@carbon/[email protected]) (2023-01-17)

**Note:** Version bump only for package @carbon/eslint-plugin-react-prop-type-comments





# [1.32.0-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/[email protected]...@carbon/[email protected]) (2023-01-04)

**Note:** Version bump only for package @carbon/eslint-plugin-react-prop-type-comments
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/eslint-plugin-react-prop-type-comments",
"private": true,
"version": "1.32.0-rc.0",
"version": "1.32.0",
"description": "ESLint plugin for Carbon for IBM.com checking React prop type comments",
"license": "Apache-2.0",
"main": "lib/index.js",
Expand Down
8 changes: 8 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [1.42.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/[email protected]...@carbon/[email protected]) (2023-01-17)

**Note:** Version bump only for package @carbon/ibmdotcom-react





# [1.42.0-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/[email protected]...@carbon/[email protected]) (2023-01-04)


Expand Down
10 changes: 5 additions & 5 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/ibmdotcom-react",
"description": "Carbon for IBM.com React Components",
"version": "1.42.0-rc.0",
"version": "1.42.0",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -62,9 +62,9 @@
},
"dependencies": {
"@babel/runtime": "^7.5.5",
"@carbon/ibmdotcom-services": "1.42.0-rc.0",
"@carbon/ibmdotcom-styles": "1.42.0-rc.0",
"@carbon/ibmdotcom-utilities": "1.42.0-rc.0",
"@carbon/ibmdotcom-services": "1.42.0",
"@carbon/ibmdotcom-styles": "1.42.0",
"@carbon/ibmdotcom-utilities": "1.42.0",
"@carbon/telemetry": "^0.1.0",
"autosuggest-highlight": "^3.1.1",
"carbon-components": "10.58.5",
Expand All @@ -85,7 +85,7 @@
"@babel/preset-react": "~7.12.1",
"@carbon/icons-react": "10.49.0",
"@carbon/pictograms-react": "11.37.0",
"@carbon/storybook-addon-theme": "1.33.0-rc.0",
"@carbon/storybook-addon-theme": "1.33.0",
"@percy-io/in-percy": "^0.1.11",
"@percy/cli": "^1.8.1",
"@percy/cypress": "^3.1.1",
Expand Down
30 changes: 15 additions & 15 deletions packages/react/src/__tests__/__snapshots__/storyshots.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -36306,7 +36306,7 @@ exports[`Storyshots Components/Dotcom shell Default (footer language only) 1`] =
<a
aria-label="IBM®"
data-autoid="dds--masthead-default__l0-logo"
href="http://www.ibm.com"
href="https://www.ibm.com"
>
<MastheadLogo
height="23"
Expand Down Expand Up @@ -43341,7 +43341,7 @@ exports[`Storyshots Components/Dotcom shell Default 1`] = `
<a
aria-label="IBM®"
data-autoid="dds--masthead-default__l0-logo"
href="http://www.ibm.com"
href="https://www.ibm.com"
>
<MastheadLogo
height="23"
Expand Down Expand Up @@ -49402,7 +49402,7 @@ exports[`Storyshots Components/Dotcom shell Search open 1`] = `
<a
aria-label="IBM®"
data-autoid="dds--masthead-default__l0-logo"
href="http://www.ibm.com"
href="https://www.ibm.com"
>
<MastheadLogo
height="23"
Expand Down Expand Up @@ -59657,7 +59657,7 @@ exports[`Storyshots Components/Dotcom shell With L1 1`] = `
<a
aria-label="IBM®"
data-autoid="dds--masthead-eco__l0-logo"
href="http://www.ibm.com"
href="https://www.ibm.com"
>
<MastheadLogo
height="23"
Expand Down Expand Up @@ -66747,7 +66747,7 @@ exports[`Storyshots Components/Dotcom shell With micro footer (language only) 1`
<a
aria-label="IBM®"
data-autoid="dds--masthead-default__l0-logo"
href="http://www.ibm.com"
href="https://www.ibm.com"
>
<MastheadLogo
height="23"
Expand Down Expand Up @@ -72709,7 +72709,7 @@ exports[`Storyshots Components/Dotcom shell With micro footer 1`] = `
<a
aria-label="IBM®"
data-autoid="dds--masthead-default__l0-logo"
href="http://www.ibm.com"
href="https://www.ibm.com"
>
<MastheadLogo
height="23"
Expand Down Expand Up @@ -78379,7 +78379,7 @@ exports[`Storyshots Components/Dotcom shell With platform 1`] = `
<a
aria-label="IBM®"
data-autoid="dds--masthead-eco__l0-logo"
href="http://www.ibm.com"
href="https://www.ibm.com"
>
<MastheadLogo
height="23"
Expand Down Expand Up @@ -84617,7 +84617,7 @@ exports[`Storyshots Components/Dotcom shell With short footer (language only) 1`
<a
aria-label="IBM®"
data-autoid="dds--masthead-default__l0-logo"
href="http://www.ibm.com"
href="https://www.ibm.com"
>
<MastheadLogo
height="23"
Expand Down Expand Up @@ -91651,7 +91651,7 @@ exports[`Storyshots Components/Dotcom shell With short footer 1`] = `
<a
aria-label="IBM®"
data-autoid="dds--masthead-default__l0-logo"
href="http://www.ibm.com"
href="https://www.ibm.com"
>
<MastheadLogo
height="23"
Expand Down Expand Up @@ -115298,7 +115298,7 @@ exports[`Storyshots Components/Masthead Default 1`] = `
<a
aria-label="IBM®"
data-autoid="dds--masthead-default__l0-logo"
href="http://www.ibm.com"
href="https://www.ibm.com"
>
<MastheadLogo
height="23"
Expand Down Expand Up @@ -115976,7 +115976,7 @@ exports[`Storyshots Components/Masthead Search open onload 1`] = `
<a
aria-label="IBM®"
data-autoid="dds--masthead-default__l0-logo"
href="http://www.ibm.com"
href="https://www.ibm.com"
>
<MastheadLogo
height="23"
Expand Down Expand Up @@ -120865,7 +120865,7 @@ exports[`Storyshots Components/Masthead With L1 1`] = `
<a
aria-label="IBM®"
data-autoid="dds--masthead-eco__l0-logo"
href="http://www.ibm.com"
href="https://www.ibm.com"
>
<MastheadLogo
height="23"
Expand Down Expand Up @@ -122522,7 +122522,7 @@ exports[`Storyshots Components/Masthead With alternate logo and tooltip 1`] = `
<a
aria-label="IBM®"
data-autoid="dds--masthead-default__l0-logo"
href="http://www.ibm.com"
href="https://www.ibm.com"
>
<MastheadLogo
height="23"
Expand Down Expand Up @@ -127245,7 +127245,7 @@ exports[`Storyshots Components/Masthead With custom navigation 1`] = `
<a
aria-label="IBM®"
data-autoid="dds--masthead-default__l0-logo"
href="http://www.ibm.com"
href="https://www.ibm.com"
>
<MastheadLogo
height="23"
Expand Down Expand Up @@ -128822,7 +128822,7 @@ exports[`Storyshots Components/Masthead With platform 1`] = `
<a
aria-label="IBM®"
data-autoid="dds--masthead-eco__l0-logo"
href="http://www.ibm.com"
href="https://www.ibm.com"
>
<MastheadLogo
height="23"
Expand Down
7 changes: 5 additions & 2 deletions packages/react/src/components/Icon/IbmLogo.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright IBM Corp. 2016, 2022
* Copyright IBM Corp. 2016, 2023
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
Expand Down Expand Up @@ -43,7 +43,10 @@ const IbmLogo = ({ autoid, logoData, isSearchActive }) => {
dangerouslySetInnerHTML={{ __html: logoData.svg }}
/>
) : (
<a aria-label="IBM®" data-autoid={autoid} href={`http://www.ibm.com`}>
<a
aria-label="IBM®"
data-autoid={autoid}
href={`https://www.ibm.com`}>
{!useAlternateLogo && <MastheadLogo />}
</a>
)}
Expand Down
8 changes: 8 additions & 0 deletions packages/services-store/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [1.42.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/[email protected]...@carbon/[email protected]) (2023-01-17)

**Note:** Version bump only for package @carbon/ibmdotcom-services-store





# [1.42.0-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/[email protected]...@carbon/[email protected]) (2023-01-04)

**Note:** Version bump only for package @carbon/ibmdotcom-services-store
Expand Down
Loading

0 comments on commit c17c693

Please sign in to comment.