diff --git a/.github/workflows/metrics-merge-rate.yml b/.github/workflows/metrics-merge-rate.yml index 01600b62c21e..d0976972f121 100644 --- a/.github/workflows/metrics-merge-rate.yml +++ b/.github/workflows/metrics-merge-rate.yml @@ -46,7 +46,7 @@ jobs: echo "- **Merge Rate**: $MERGE_RATE%" >> $GITHUB_STEP_SUMMARY - name: Send message to Slack - uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0 + uses: slackapi/slack-github-action@fcfb566f8b0aab22203f066d80ca1d7e4b5d05b3 # v1.27.1 with: payload: | { diff --git a/.github/workflows/slack-announcement.yml b/.github/workflows/slack-announcement.yml index 530d4861d357..0db63bf40434 100644 --- a/.github/workflows/slack-announcement.yml +++ b/.github/workflows/slack-announcement.yml @@ -37,7 +37,7 @@ jobs: steps: - name: Send slack announcement id: slack - uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0 + uses: slackapi/slack-github-action@fcfb566f8b0aab22203f066d80ca1d7e4b5d05b3 # v1.27.1 with: payload: | { diff --git a/.github/workflows/slack-build-notifications.yml b/.github/workflows/slack-build-notifications.yml index d6e25bfa768a..45d2ffa61336 100644 --- a/.github/workflows/slack-build-notifications.yml +++ b/.github/workflows/slack-build-notifications.yml @@ -24,7 +24,7 @@ jobs: steps: - name: Send custom JSON data to Slack id: slack-success - uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0 + uses: slackapi/slack-github-action@fcfb566f8b0aab22203f066d80ca1d7e4b5d05b3 # v1.27.1 with: payload: | { @@ -42,7 +42,7 @@ jobs: steps: - name: Send custom JSON data to Slack id: slack-failure - uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0 + uses: slackapi/slack-github-action@fcfb566f8b0aab22203f066d80ca1d7e4b5d05b3 # v1.27.1 with: payload: | { diff --git a/.github/workflows/slack-office-hours-design.yml b/.github/workflows/slack-office-hours-design.yml index 8d8977b7b48a..5e9ad7465f24 100644 --- a/.github/workflows/slack-office-hours-design.yml +++ b/.github/workflows/slack-office-hours-design.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Send custom JSON data to Slack workflow id: slack - uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0 + uses: slackapi/slack-github-action@fcfb566f8b0aab22203f066d80ca1d7e4b5d05b3 # v1.27.1 with: payload: | { diff --git a/.github/workflows/slack-office-hours-dev.yml b/.github/workflows/slack-office-hours-dev.yml index b23419e71008..e206371dfb8c 100644 --- a/.github/workflows/slack-office-hours-dev.yml +++ b/.github/workflows/slack-office-hours-dev.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Send custom JSON data to Slack workflow id: slack - uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0 + uses: slackapi/slack-github-action@fcfb566f8b0aab22203f066d80ca1d7e4b5d05b3 # v1.27.1 with: payload: | { @@ -105,7 +105,7 @@ jobs: steps: - name: Send custom JSON data to Slack workflow id: slack - uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0 + uses: slackapi/slack-github-action@fcfb566f8b0aab22203f066d80ca1d7e4b5d05b3 # v1.27.1 with: payload: | { @@ -198,7 +198,7 @@ jobs: steps: - name: Send custom JSON data to Slack workflow id: slack - uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0 + uses: slackapi/slack-github-action@fcfb566f8b0aab22203f066d80ca1d7e4b5d05b3 # v1.27.1 with: payload: | { diff --git a/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap b/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap index d21d5f54c135..4ad728b59e2b 100644 --- a/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap +++ b/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap @@ -6987,9 +6987,7 @@ Map { "type": "string", }, "light": [Function], - "name": Object { - "type": "string", - }, + "name": [Function], "onChange": Object { "type": "func", }, @@ -7011,20 +7009,7 @@ Map { "title": Object { "type": "string", }, - "value": Object { - "args": Array [ - Array [ - Object { - "type": "string", - }, - Object { - "type": "number", - }, - ], - ], - "isRequired": true, - "type": "oneOfType", - }, + "value": [Function], }, "render": [Function], }, diff --git a/packages/react/src/components/Tile/Tile-test.js b/packages/react/src/components/Tile/Tile-test.js index eb5f837bf9f4..5309ad723af0 100644 --- a/packages/react/src/components/Tile/Tile-test.js +++ b/packages/react/src/components/Tile/Tile-test.js @@ -111,12 +111,7 @@ describe('Tile', () => { const onClick = jest.fn(); render(
- + 🚦 @@ -130,25 +125,13 @@ describe('Tile', () => { it('should cycle elements in document tab order', async () => { render(
- + tile 1 - + tile 2 - + tile 3
@@ -180,11 +163,7 @@ describe('Tile', () => { it('should respect slug prop', () => { render( - } - id="tile-1" - name="tiles" - value="value"> + } id="tile-1"> Default tile ); @@ -440,7 +419,7 @@ describe('Tile', () => { it('respect selected prop', async () => { const { container } = render( - + Option 1 ); diff --git a/packages/react/src/components/Tile/Tile.tsx b/packages/react/src/components/Tile/Tile.tsx index 389af4ab0efb..7848daa6c06b 100644 --- a/packages/react/src/components/Tile/Tile.tsx +++ b/packages/react/src/components/Tile/Tile.tsx @@ -561,7 +561,10 @@ SelectableTile.propTypes = { * The `name` of the ``. * @deprecated */ - name: PropTypes.string, + name: deprecate( + PropTypes.string, + 'The `name` property is no longer used. It will be removed in the next major release.' + ), /** * The empty handler of the ``. @@ -602,7 +605,10 @@ SelectableTile.propTypes = { * The value of the ``. * @deprecated */ - value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired, + value: deprecate( + PropTypes.oneOfType([PropTypes.string, PropTypes.number]), + 'The `value` property is no longer used. It will be removed in the next major release.`' + ), }; export interface ExpandableTileProps extends HTMLAttributes { diff --git a/packages/styles/scss/components/list-box/_list-box.scss b/packages/styles/scss/components/list-box/_list-box.scss index 0d7ab0419172..aee15128c77a 100644 --- a/packages/styles/scss/components/list-box/_list-box.scss +++ b/packages/styles/scss/components/list-box/_list-box.scss @@ -99,6 +99,10 @@ $list-box-menu-width: convert.to-rem(300px); } } + .#{$prefix}--multi-select.#{$prefix}--multi-select--readonly.#{$prefix}--list-box { + cursor: default; + } + .#{$prefix}--list-box--lg { block-size: convert.to-rem(48px); max-block-size: convert.to-rem(48px); diff --git a/packages/styles/scss/components/multiselect/_multiselect.scss b/packages/styles/scss/components/multiselect/_multiselect.scss index a9acb0c08573..fcdb39f3cc2e 100644 --- a/packages/styles/scss/components/multiselect/_multiselect.scss +++ b/packages/styles/scss/components/multiselect/_multiselect.scss @@ -201,7 +201,7 @@ .#{$prefix}--multi-select.#{$prefix}--multi-select--readonly .#{$prefix}--tag--filter { - box-shadow: 0 0 0 1px $background-inverse; + box-shadow: 0 0 0 1px $border-subtle; } .#{$prefix}--multi-select.#{$prefix}--multi-select--readonly diff --git a/packages/styles/scss/components/tag/_tag.scss b/packages/styles/scss/components/tag/_tag.scss index 4a6c8e6dbd60..dac9ec57930c 100644 --- a/packages/styles/scss/components/tag/_tag.scss +++ b/packages/styles/scss/components/tag/_tag.scss @@ -246,6 +246,14 @@ ); } + .#{$prefix}--multi-select--readonly + .#{$prefix}--tag--high-contrast:not(.#{$prefix}--tag--operational) + .#{$prefix}--tag__close-icon { + &:hover { + background-color: transparent; + } + } + .#{$prefix}--tag--outline:not(.#{$prefix}--tag--operational):not(span):not( [disabled] ) {