diff --git a/.github/workflows/slack-office-hours-design.yml b/.github/workflows/slack-office-hours-design.yml index 14e25baac96c..8d8977b7b48a 100644 --- a/.github/workflows/slack-office-hours-design.yml +++ b/.github/workflows/slack-office-hours-design.yml @@ -70,7 +70,7 @@ jobs: "emoji": true }, "value": "click_me_123", - "url": "https://ec.yourlearning.ibm.com/w3/event/10408782", + "url": "https://ec.yourlearning.ibm.com/w3/event/10463103", "action_id": "button-action" } }, diff --git a/.github/workflows/slack-office-hours-dev.yml b/.github/workflows/slack-office-hours-dev.yml index e58ff9fbf766..b23419e71008 100644 --- a/.github/workflows/slack-office-hours-dev.yml +++ b/.github/workflows/slack-office-hours-dev.yml @@ -161,7 +161,100 @@ jobs: "emoji": true }, "value": "click_me_123", - "url": "https://ec.yourlearning.ibm.com/w3/enrollment/event/10322733", + "url": "https://ec.yourlearning.ibm.com/w3/enrollment/event/10408799", + "action_id": "button-action" + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": ":memo: *Sign up to get help in a future session* :ibm-arrow-right::ibm-arrow-right::ibm-arrow-right:" + }, + "accessory": { + "type": "button", + "text": { + "type": "plain_text", + "text": "View the agenda", + "emoji": true + }, + "value": "click_me_123", + "url": "https://ibm.biz/carbon-dev-office-hours", + "action_id": "button-action" + } + }, + { + "type": "divider" + } + ] + } + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK + + post-reminder-to-carbon-ibmproducts-pal-dev: + name: Post dev reminder to ibmproducts-pal-dev + runs-on: ubuntu-latest + steps: + - name: Send custom JSON data to Slack workflow + id: slack + uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0 + with: + payload: | + { + "username": "Carbon Design System", + "icon_url": "https://user-images.githubusercontent.com/3360588/192045905-5d9705af-92e2-4432-805e-15db98571e8b.png", + "channel": "#ibmproducts-pal-dev", + "text": "Join us for Carbon Developer Office Hours!", + "blocks": [ + { + "type": "header", + "text": { + "type": "plain_text", + "text": "Join us for Carbon Developer Office Hours!", + "emoji": true + } + }, + { + "type": "divider" + }, + { + "type": "image", + "image_url": "https://github.com/user-attachments/assets/e12fb5b9-9657-4e7b-b1a1-e1149cca8956", + "alt_text": "A terminal prompt symbol" + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": ":thinking_face: _Are you running into a weird bug you can’t resolve?_ \n\n_:question: Do you have questions about using Carbon?_ \n\n :rocket: _Would you like to discuss migrating from v10 to v11?_" + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "*Carbon developer office hours* are a bi-weekly opportunity to discuss topics like these and get help from the team. Developers from the Carbon team will be available to help and answer questions. While it's very informal, please be prepared to screen share and show your issue!" + } + }, + { + "type": "divider" + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": ":yourlearning: *Subscribe and add to your calendar* :ibm-arrow-right::ibm-arrow-right::ibm-arrow-right:" + }, + "accessory": { + "type": "button", + "text": { + "type": "plain_text", + "text": "Subscribe", + "emoji": true + }, + "value": "click_me_123", + "url": "https://ec.yourlearning.ibm.com/w3/enrollment/event/10408799", "action_id": "button-action" } }, diff --git a/.yarn/cache/body-parser-npm-1.20.2-44738662cf-3cf171b821.zip b/.yarn/cache/body-parser-npm-1.20.2-44738662cf-3cf171b821.zip deleted file mode 100644 index 0b5da1dbc98d..000000000000 Binary files a/.yarn/cache/body-parser-npm-1.20.2-44738662cf-3cf171b821.zip and /dev/null differ diff --git a/.yarn/cache/body-parser-npm-1.20.3-c7b184cd14-8723e3d7a6.zip b/.yarn/cache/body-parser-npm-1.20.3-c7b184cd14-8723e3d7a6.zip new file mode 100644 index 000000000000..20637461b032 Binary files /dev/null and b/.yarn/cache/body-parser-npm-1.20.3-c7b184cd14-8723e3d7a6.zip differ diff --git a/.yarn/cache/call-bind-npm-1.0.2-c957124861-ca787179c1.zip b/.yarn/cache/call-bind-npm-1.0.2-c957124861-ca787179c1.zip deleted file mode 100644 index 81779aadc49d..000000000000 Binary files a/.yarn/cache/call-bind-npm-1.0.2-c957124861-ca787179c1.zip and /dev/null differ diff --git a/.yarn/cache/call-bind-npm-1.0.7-762763ef96-cd6fe658e0.zip b/.yarn/cache/call-bind-npm-1.0.7-762763ef96-cd6fe658e0.zip new file mode 100644 index 000000000000..c2e0f3712381 Binary files /dev/null and b/.yarn/cache/call-bind-npm-1.0.7-762763ef96-cd6fe658e0.zip differ diff --git a/.yarn/cache/define-data-property-npm-1.1.4-4cbd8efc51-abdcb2505d.zip b/.yarn/cache/define-data-property-npm-1.1.4-4cbd8efc51-abdcb2505d.zip new file mode 100644 index 000000000000..e5d1816838ae Binary files /dev/null and b/.yarn/cache/define-data-property-npm-1.1.4-4cbd8efc51-abdcb2505d.zip differ diff --git a/.yarn/cache/encodeurl-npm-2.0.0-3660bcc92a-abf5cd51b7.zip b/.yarn/cache/encodeurl-npm-2.0.0-3660bcc92a-abf5cd51b7.zip new file mode 100644 index 000000000000..2a60a778602c Binary files /dev/null and b/.yarn/cache/encodeurl-npm-2.0.0-3660bcc92a-abf5cd51b7.zip differ diff --git a/.yarn/cache/es-define-property-npm-1.0.0-e23aa9b242-f66ece0a88.zip b/.yarn/cache/es-define-property-npm-1.0.0-e23aa9b242-f66ece0a88.zip new file mode 100644 index 000000000000..67c2741458c3 Binary files /dev/null and b/.yarn/cache/es-define-property-npm-1.0.0-e23aa9b242-f66ece0a88.zip differ diff --git a/.yarn/cache/es-errors-npm-1.3.0-fda0c9b8a8-96e65d6401.zip b/.yarn/cache/es-errors-npm-1.3.0-fda0c9b8a8-96e65d6401.zip new file mode 100644 index 000000000000..ebc44e3091e0 Binary files /dev/null and b/.yarn/cache/es-errors-npm-1.3.0-fda0c9b8a8-96e65d6401.zip differ diff --git a/.yarn/cache/express-npm-4.19.2-f81334a22a-3fcd792536.zip b/.yarn/cache/express-npm-4.19.2-f81334a22a-3fcd792536.zip deleted file mode 100644 index 310f90f2a0f2..000000000000 Binary files a/.yarn/cache/express-npm-4.19.2-f81334a22a-3fcd792536.zip and /dev/null differ diff --git a/.yarn/cache/express-npm-4.20.0-a4b76bf3f8-4131f566cf.zip b/.yarn/cache/express-npm-4.20.0-a4b76bf3f8-4131f566cf.zip new file mode 100644 index 000000000000..2616c558bc4f Binary files /dev/null and b/.yarn/cache/express-npm-4.20.0-a4b76bf3f8-4131f566cf.zip differ diff --git a/.yarn/cache/get-intrinsic-npm-1.2.0-eb08ea9b1d-f57c5fe67a.zip b/.yarn/cache/get-intrinsic-npm-1.2.0-eb08ea9b1d-f57c5fe67a.zip deleted file mode 100644 index f716bea61828..000000000000 Binary files a/.yarn/cache/get-intrinsic-npm-1.2.0-eb08ea9b1d-f57c5fe67a.zip and /dev/null differ diff --git a/.yarn/cache/get-intrinsic-npm-1.2.4-1dad3427b2-85bbf4b234.zip b/.yarn/cache/get-intrinsic-npm-1.2.4-1dad3427b2-85bbf4b234.zip new file mode 100644 index 000000000000..49f1ac46e2b6 Binary files /dev/null and b/.yarn/cache/get-intrinsic-npm-1.2.4-1dad3427b2-85bbf4b234.zip differ diff --git a/.yarn/cache/has-property-descriptors-npm-1.0.0-56289b918d-a6d3f0a266.zip b/.yarn/cache/has-property-descriptors-npm-1.0.0-56289b918d-a6d3f0a266.zip deleted file mode 100644 index 46eaa4fd050a..000000000000 Binary files a/.yarn/cache/has-property-descriptors-npm-1.0.0-56289b918d-a6d3f0a266.zip and /dev/null differ diff --git a/.yarn/cache/has-property-descriptors-npm-1.0.2-d7077d09f1-2d8c9ab8ce.zip b/.yarn/cache/has-property-descriptors-npm-1.0.2-d7077d09f1-2d8c9ab8ce.zip new file mode 100644 index 000000000000..da5e4ceaace5 Binary files /dev/null and b/.yarn/cache/has-property-descriptors-npm-1.0.2-d7077d09f1-2d8c9ab8ce.zip differ diff --git a/.yarn/cache/merge-descriptors-npm-1.0.1-615287aaa8-5abc259d2a.zip b/.yarn/cache/merge-descriptors-npm-1.0.1-615287aaa8-5abc259d2a.zip deleted file mode 100644 index 8bba31611bbd..000000000000 Binary files a/.yarn/cache/merge-descriptors-npm-1.0.1-615287aaa8-5abc259d2a.zip and /dev/null differ diff --git a/.yarn/cache/merge-descriptors-npm-1.0.3-10b44ad75c-52117adbe0.zip b/.yarn/cache/merge-descriptors-npm-1.0.3-10b44ad75c-52117adbe0.zip new file mode 100644 index 000000000000..ef5ade8f0c27 Binary files /dev/null and b/.yarn/cache/merge-descriptors-npm-1.0.3-10b44ad75c-52117adbe0.zip differ diff --git a/.yarn/cache/object-inspect-npm-1.12.2-f125a822c0-aa11100d45.zip b/.yarn/cache/object-inspect-npm-1.12.2-f125a822c0-aa11100d45.zip deleted file mode 100644 index 2d03310e1f92..000000000000 Binary files a/.yarn/cache/object-inspect-npm-1.12.2-f125a822c0-aa11100d45.zip and /dev/null differ diff --git a/.yarn/cache/object-inspect-npm-1.13.2-3c6e11a536-7ef65583b6.zip b/.yarn/cache/object-inspect-npm-1.13.2-3c6e11a536-7ef65583b6.zip new file mode 100644 index 000000000000..8c093a914dc0 Binary files /dev/null and b/.yarn/cache/object-inspect-npm-1.13.2-3c6e11a536-7ef65583b6.zip differ diff --git a/.yarn/cache/path-to-regexp-npm-0.1.10-63516149e0-894e31f1b2.zip b/.yarn/cache/path-to-regexp-npm-0.1.10-63516149e0-894e31f1b2.zip new file mode 100644 index 000000000000..487026af8a19 Binary files /dev/null and b/.yarn/cache/path-to-regexp-npm-0.1.10-63516149e0-894e31f1b2.zip differ diff --git a/.yarn/cache/path-to-regexp-npm-0.1.7-2605347373-701c99e1f0.zip b/.yarn/cache/path-to-regexp-npm-0.1.7-2605347373-701c99e1f0.zip deleted file mode 100644 index cc4fcf84bf42..000000000000 Binary files a/.yarn/cache/path-to-regexp-npm-0.1.7-2605347373-701c99e1f0.zip and /dev/null differ diff --git a/.yarn/cache/qs-npm-6.11.2-b118bc1c6f-f2321d0796.zip b/.yarn/cache/qs-npm-6.11.2-b118bc1c6f-f2321d0796.zip deleted file mode 100644 index 7491034e12bf..000000000000 Binary files a/.yarn/cache/qs-npm-6.11.2-b118bc1c6f-f2321d0796.zip and /dev/null differ diff --git a/.yarn/cache/qs-npm-6.13.0-53676ddc84-f548b376e6.zip b/.yarn/cache/qs-npm-6.13.0-53676ddc84-f548b376e6.zip new file mode 100644 index 000000000000..cb37e6aa9937 Binary files /dev/null and b/.yarn/cache/qs-npm-6.13.0-53676ddc84-f548b376e6.zip differ diff --git a/.yarn/cache/send-npm-0.19.0-4297594770-1f6064dea0.zip b/.yarn/cache/send-npm-0.19.0-4297594770-1f6064dea0.zip new file mode 100644 index 000000000000..34d76d093c47 Binary files /dev/null and b/.yarn/cache/send-npm-0.19.0-4297594770-1f6064dea0.zip differ diff --git a/.yarn/cache/serve-static-npm-1.15.0-86c81879f5-699b2d4c29.zip b/.yarn/cache/serve-static-npm-1.15.0-86c81879f5-699b2d4c29.zip deleted file mode 100644 index 2f632d0e6f2b..000000000000 Binary files a/.yarn/cache/serve-static-npm-1.15.0-86c81879f5-699b2d4c29.zip and /dev/null differ diff --git a/.yarn/cache/serve-static-npm-1.16.0-88462a5f62-29a01f67e8.zip b/.yarn/cache/serve-static-npm-1.16.0-88462a5f62-29a01f67e8.zip new file mode 100644 index 000000000000..4084ab653b87 Binary files /dev/null and b/.yarn/cache/serve-static-npm-1.16.0-88462a5f62-29a01f67e8.zip differ diff --git a/.yarn/cache/set-function-length-npm-1.2.2-243073748b-505d62b8e0.zip b/.yarn/cache/set-function-length-npm-1.2.2-243073748b-505d62b8e0.zip new file mode 100644 index 000000000000..8bc1e65de6a3 Binary files /dev/null and b/.yarn/cache/set-function-length-npm-1.2.2-243073748b-505d62b8e0.zip differ diff --git a/.yarn/cache/side-channel-npm-1.0.4-e1f38b9e06-c4998d9fc5.zip b/.yarn/cache/side-channel-npm-1.0.4-e1f38b9e06-c4998d9fc5.zip deleted file mode 100644 index 7bf5307f8ba2..000000000000 Binary files a/.yarn/cache/side-channel-npm-1.0.4-e1f38b9e06-c4998d9fc5.zip and /dev/null differ diff --git a/.yarn/cache/side-channel-npm-1.0.6-511657386f-eb10944f38.zip b/.yarn/cache/side-channel-npm-1.0.6-511657386f-eb10944f38.zip new file mode 100644 index 000000000000..411d0bd7f4d5 Binary files /dev/null and b/.yarn/cache/side-channel-npm-1.0.6-511657386f-eb10944f38.zip differ diff --git a/config/eslint-config-carbon/package.json b/config/eslint-config-carbon/package.json index 07b6d6aea1ea..18d4699cf0ef 100644 --- a/config/eslint-config-carbon/package.json +++ b/config/eslint-config-carbon/package.json @@ -1,7 +1,7 @@ { "name": "eslint-config-carbon", "description": "ESLint configuration for Carbon", - "version": "3.16.0-rc.0", + "version": "3.16.0", "license": "Apache-2.0", "main": "index.js", "repository": { diff --git a/config/jest-config-carbon/package.json b/config/jest-config-carbon/package.json index 8891dcfc2d3c..642628f9d6af 100644 --- a/config/jest-config-carbon/package.json +++ b/config/jest-config-carbon/package.json @@ -2,7 +2,7 @@ "name": "jest-config-carbon", "private": true, "description": "Jest configuration and preset for Carbon", - "version": "1.15.0-rc.0", + "version": "1.15.0", "license": "Apache-2.0", "main": "index.js", "repository": { diff --git a/config/stylelint-config-carbon/package.json b/config/stylelint-config-carbon/package.json index 7aa8aae5501c..3df5734cbca0 100644 --- a/config/stylelint-config-carbon/package.json +++ b/config/stylelint-config-carbon/package.json @@ -1,7 +1,7 @@ { "name": "stylelint-config-carbon", "description": "Stylelint configuration for Carbon", - "version": "1.18.0-rc.0", + "version": "1.18.0", "license": "Apache-2.0", "main": "index.js", "repository": { diff --git a/e2e/components/InteractiveTag/InteractiveTag-test.avt.e2e.js b/e2e/components/InteractiveTag/InteractiveTag-test.avt.e2e.js index 992826fa58ad..406818fc503a 100644 --- a/e2e/components/InteractiveTag/InteractiveTag-test.avt.e2e.js +++ b/e2e/components/InteractiveTag/InteractiveTag-test.avt.e2e.js @@ -53,12 +53,30 @@ test.describe('@avt InteractiveTag', () => { theme: 'white', }, }); + await expect( + page.getByText('Tag content with a long text description').first() + ).toBeVisible(); + const tooltip = page.getByRole('tooltip'); - const button = page.getByRole('button').first(); + const button = page.getByRole('button').nth(1); await expect(button).toBeVisible(); await page.keyboard.press('Tab'); + await page.keyboard.press('Tab'); await expect(button).toBeFocused(); await expect(tooltip).toHaveAttribute('aria-hidden', 'false'); + + // Test dismissible functionality + await page.keyboard.press('Enter'); + await expect( + page.getByText('Tag content with a long text description') + ).not.toBeVisible(); + + // Reset button click + await page.keyboard.press('Shift+Tab'); + await page.keyboard.press('Enter'); + await expect( + page.getByText('Tag content with a long text description').first() + ).toBeVisible(); }); test('@avt-keyboard-nav OperationalTag', async ({ page }) => { diff --git a/e2e/components/Menu/Menu-test.avt.e2e.js b/e2e/components/Menu/Menu-test.avt.e2e.js index acbea3b270d3..82ecabf55a07 100644 --- a/e2e/components/Menu/Menu-test.avt.e2e.js +++ b/e2e/components/Menu/Menu-test.avt.e2e.js @@ -22,7 +22,7 @@ test.describe('@avt Menu', () => { await expect(page).toHaveNoACViolations('Menu @avt-default-state'); }); - test('@avt-keyboard-nav Menu', async ({ page }) => { + test.fixme('@avt-keyboard-nav Menu', async ({ page }) => { await visitStory(page, { component: 'Menu', id: 'components-menu--playground', diff --git a/examples/class-prefix/package.json b/examples/class-prefix/package.json index 811c8708d0ec..11f0a426fb42 100644 --- a/examples/class-prefix/package.json +++ b/examples/class-prefix/package.json @@ -1,7 +1,7 @@ { "name": "class-prefix", "private": true, - "version": "0.63.0-rc.0", + "version": "0.63.0", "type": "module", "scripts": { "dev": "vite", @@ -9,7 +9,7 @@ "preview": "vite preview" }, "dependencies": { - "@carbon/react": "^1.66.0-rc.0", + "@carbon/react": "^1.66.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/examples/codesandbox-styles/package.json b/examples/codesandbox-styles/package.json index acd361ef8f16..4ff542c72280 100644 --- a/examples/codesandbox-styles/package.json +++ b/examples/codesandbox-styles/package.json @@ -1,7 +1,7 @@ { "name": "codesandbox-styles", "private": true, - "version": "0.68.0-rc.0", + "version": "0.68.0", "type": "module", "scripts": { "dev": "vite" @@ -11,6 +11,6 @@ "vite": "^4.3.8" }, "dependencies": { - "@carbon/styles": "^1.65.0-rc.0" + "@carbon/styles": "^1.65.0" } } diff --git a/examples/custom-theme/package.json b/examples/custom-theme/package.json index 5f9c3eb5ac8a..162f51745634 100644 --- a/examples/custom-theme/package.json +++ b/examples/custom-theme/package.json @@ -1,7 +1,7 @@ { "name": "custom-theme", "private": true, - "version": "0.64.0-rc.0", + "version": "0.64.0", "type": "module", "scripts": { "dev": "vite", @@ -9,7 +9,7 @@ "preview": "vite preview" }, "dependencies": { - "@carbon/react": "^1.66.0-rc.0", + "@carbon/react": "^1.66.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/examples/id-prefix/package.json b/examples/id-prefix/package.json index 1461abef9cd2..c8f5a4c8e898 100644 --- a/examples/id-prefix/package.json +++ b/examples/id-prefix/package.json @@ -1,7 +1,7 @@ { "name": "id-prefix", "private": true, - "version": "0.63.0-rc.0", + "version": "0.63.0", "type": "module", "scripts": { "dev": "vite", @@ -9,7 +9,7 @@ "preview": "vite preview" }, "dependencies": { - "@carbon/react": "^1.66.0-rc.0", + "@carbon/react": "^1.66.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/examples/light-dark-mode/package.json b/examples/light-dark-mode/package.json index 3681b44176cb..fdc8146302b4 100644 --- a/examples/light-dark-mode/package.json +++ b/examples/light-dark-mode/package.json @@ -1,7 +1,7 @@ { "name": "examples-light-dark", "private": true, - "version": "0.64.0-rc.0", + "version": "0.64.0", "scripts": { "build": "next build", "dev": "next dev", @@ -9,7 +9,7 @@ "start": "next start" }, "dependencies": { - "@carbon/react": "^1.66.0-rc.0", + "@carbon/react": "^1.66.0", "next": "14.1.1", "react": "18.2.0", "react-dom": "18.2.0" diff --git a/examples/nextjs/package.json b/examples/nextjs/package.json index 1d9a8e9fcbd5..42e941c879c3 100644 --- a/examples/nextjs/package.json +++ b/examples/nextjs/package.json @@ -1,7 +1,7 @@ { "name": "examples-nextjs", "private": true, - "version": "0.66.0-rc.0", + "version": "0.66.0", "scripts": { "build": "next build", "dev": "next dev", @@ -9,7 +9,7 @@ "start": "next start" }, "dependencies": { - "@carbon/react": "^1.66.0-rc.0", + "@carbon/react": "^1.66.0", "next": "14.1.1", "react": "18.2.0", "react-dom": "18.2.0" diff --git a/examples/v10-token-compat-in-v11/package.json b/examples/v10-token-compat-in-v11/package.json index 86b1e81e4d50..ec0b80cbe4fd 100644 --- a/examples/v10-token-compat-in-v11/package.json +++ b/examples/v10-token-compat-in-v11/package.json @@ -1,7 +1,7 @@ { "name": "v10-token-compat-in-v11", "private": true, - "version": "0.64.0-rc.0", + "version": "0.64.0", "type": "module", "scripts": { "dev": "vite", @@ -9,7 +9,7 @@ "preview": "vite preview" }, "dependencies": { - "@carbon/react": "^1.66.0-rc.0", + "@carbon/react": "^1.66.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/examples/vite/package.json b/examples/vite/package.json index 5d316b156f7d..8efd3e7cd449 100644 --- a/examples/vite/package.json +++ b/examples/vite/package.json @@ -1,7 +1,7 @@ { "name": "vite", "private": true, - "version": "0.64.0-rc.0", + "version": "0.64.0", "type": "module", "scripts": { "dev": "vite", @@ -9,7 +9,7 @@ "preview": "vite preview" }, "dependencies": { - "@carbon/react": "^1.66.0-rc.0", + "@carbon/react": "^1.66.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/packages/carbon-components-react/package.json b/packages/carbon-components-react/package.json index 9fedd93815fd..33b9ff9cda48 100644 --- a/packages/carbon-components-react/package.json +++ b/packages/carbon-components-react/package.json @@ -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.66.0-rc.0", + "version": "8.66.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -42,8 +42,8 @@ "sass": "^1.33.0" }, "dependencies": { - "@carbon/react": "^1.66.0-rc.0", - "@carbon/styles": "^1.65.0-rc.0", + "@carbon/react": "^1.66.0", + "@carbon/styles": "^1.65.0", "@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.32.0-rc.0", + "@carbon/test-utils": "^10.32.0", "@rollup/plugin-babel": "^6.0.0", "@rollup/plugin-commonjs": "^26.0.0", "@rollup/plugin-node-resolve": "^15.0.0", diff --git a/packages/carbon-components/package.json b/packages/carbon-components/package.json index b6b431e20f74..dab9d34caf64 100644 --- a/packages/carbon-components/package.json +++ b/packages/carbon-components/package.json @@ -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.65.0-rc.0", + "version": "11.65.0", "license": "Apache-2.0", "repository": { "type": "git", @@ -43,12 +43,12 @@ "sass": "^1.33.0" }, "dependencies": { - "@carbon/styles": "^1.65.0-rc.0", + "@carbon/styles": "^1.65.0", "@ibm/telemetry-js": "^1.5.0", "chalk": "1.1.3" }, "devDependencies": { - "@carbon/test-utils": "^10.32.0-rc.0", + "@carbon/test-utils": "^10.32.0", "fs-extra": "^11.0.0", "rimraf": "^6.0.0", "sass": "^1.77.7" diff --git a/packages/cli/package.json b/packages/cli/package.json index 7b24a231c068..42d25a955284 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/cli", "description": "Task automation for working with the Carbon Design System", - "version": "11.21.0-rc.0", + "version": "11.21.0", "license": "Apache-2.0", "bin": { "carbon-cli": "./bin/carbon-cli.js" diff --git a/packages/colors/package.json b/packages/colors/package.json index 9133b3ac8d01..0cf154a58b01 100644 --- a/packages/colors/package.json +++ b/packages/colors/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/colors", "description": "Colors for digital and software products using the Carbon Design System", - "version": "11.26.0-rc.0", + "version": "11.26.0", "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.21.0-rc.0", + "@carbon/cli": "^11.21.0", "@carbon/cli-reporter": "^10.7.0", "@carbon/scss-generator": "^10.18.0", - "@carbon/test-utils": "^10.32.0-rc.0", + "@carbon/test-utils": "^10.32.0", "change-case": "^4.1.1", "fs-extra": "^11.0.0", "rimraf": "^6.0.0" diff --git a/packages/elements/package.json b/packages/elements/package.json index 748acf5d7b1b..64a2510d857a 100644 --- a/packages/elements/package.json +++ b/packages/elements/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/elements", "description": "A collection of design elements in code for the IBM Design Language", - "version": "11.53.0-rc.0", + "version": "11.53.0", "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.26.0-rc.0", - "@carbon/grid": "^11.27.0-rc.0", - "@carbon/icons": "^11.49.0-rc.0", - "@carbon/layout": "^11.26.0-rc.0", - "@carbon/motion": "^11.22.0-rc.0", - "@carbon/themes": "^11.40.0-rc.0", - "@carbon/type": "^11.31.0-rc.0", + "@carbon/colors": "^11.26.0", + "@carbon/grid": "^11.27.0", + "@carbon/icons": "^11.49.0", + "@carbon/layout": "^11.26.0", + "@carbon/motion": "^11.22.0", + "@carbon/themes": "^11.40.0", + "@carbon/type": "^11.31.0", "@ibm/telemetry-js": "^1.5.0" }, "devDependencies": { - "@carbon/cli": "^11.21.0-rc.0", + "@carbon/cli": "^11.21.0", "fs-extra": "^11.0.0", "klaw-sync": "^6.0.0", "replace-in-file": "^7.0.0", diff --git a/packages/grid/package.json b/packages/grid/package.json index b246bb4603fb..6237e55282d6 100644 --- a/packages/grid/package.json +++ b/packages/grid/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/grid", "description": "Grid for digital and software products using the Carbon Design System", - "version": "11.27.0-rc.0", + "version": "11.27.0", "license": "Apache-2.0", "repository": { "type": "git", @@ -35,11 +35,11 @@ "postinstall": "ibmtelemetry --config=telemetry.yml" }, "dependencies": { - "@carbon/layout": "^11.26.0-rc.0", + "@carbon/layout": "^11.26.0", "@ibm/telemetry-js": "^1.5.0" }, "devDependencies": { - "@carbon/cli": "^11.21.0-rc.0", + "@carbon/cli": "^11.21.0", "rimraf": "^6.0.0" }, "eyeglass": { diff --git a/packages/icon-build-helpers/package.json b/packages/icon-build-helpers/package.json index 094a82080df5..2727d36cddd7 100644 --- a/packages/icon-build-helpers/package.json +++ b/packages/icon-build-helpers/package.json @@ -2,7 +2,7 @@ "name": "@carbon/icon-build-helpers", "private": true, "description": "Build helpers for the Carbon Design System icon library", - "version": "1.30.0-rc.0", + "version": "1.30.0", "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.52.0-rc.0", + "@carbon/icon-helpers": "^10.52.0", "@hapi/joi": "^17.1.1", "@rollup/plugin-babel": "^6.0.0", "@rollup/plugin-replace": "^5.0.0", diff --git a/packages/icon-helpers/package.json b/packages/icon-helpers/package.json index 093ffef83af8..4d48c9869d79 100644 --- a/packages/icon-helpers/package.json +++ b/packages/icon-helpers/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/icon-helpers", "description": "Helpers used alongside icons for digital and software products using the Carbon Design System", - "version": "10.52.0-rc.0", + "version": "10.52.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -36,7 +36,7 @@ "postinstall": "ibmtelemetry --config=telemetry.yml" }, "devDependencies": { - "@carbon/cli": "^11.21.0-rc.0", + "@carbon/cli": "^11.21.0", "rimraf": "^6.0.0", "typescript-config-carbon": "^0.3.0" }, diff --git a/packages/icons-react/package.json b/packages/icons-react/package.json index 7553ce46c6c3..00c5b159e85e 100644 --- a/packages/icons-react/package.json +++ b/packages/icons-react/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/icons-react", "description": "React components for icons in digital and software products using the Carbon Design System", - "version": "11.49.0-rc.0", + "version": "11.49.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -38,13 +38,13 @@ "react": ">=16" }, "dependencies": { - "@carbon/icon-helpers": "^10.52.0-rc.0", + "@carbon/icon-helpers": "^10.52.0", "@ibm/telemetry-js": "^1.5.0", "prop-types": "^15.7.2" }, "devDependencies": { - "@carbon/icon-build-helpers": "^1.30.0-rc.0", - "@carbon/icons": "^11.49.0-rc.0", + "@carbon/icon-build-helpers": "^1.30.0", + "@carbon/icons": "^11.49.0", "rimraf": "^6.0.0" }, "sideEffects": false diff --git a/packages/icons-vue/examples/storybook/yarn.lock b/packages/icons-vue/examples/storybook/yarn.lock index eaed01080c83..b0102b94368d 100644 --- a/packages/icons-vue/examples/storybook/yarn.lock +++ b/packages/icons-vue/examples/storybook/yarn.lock @@ -2125,10 +2125,10 @@ bn.js@^5.0.0, bn.js@^5.2.1: resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== -body-parser@1.20.2: - version "1.20.2" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.2.tgz#6feb0e21c4724d06de7ff38da36dad4f57a747fd" - integrity sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA== +body-parser@1.20.3: + version "1.20.3" + resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.3.tgz#1953431221c6fb5cd63c4b36d53fab0928e548c6" + integrity sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g== dependencies: bytes "3.1.2" content-type "~1.0.5" @@ -2138,7 +2138,7 @@ body-parser@1.20.2: http-errors "2.0.0" iconv-lite "0.4.24" on-finished "2.4.1" - qs "6.11.0" + qs "6.13.0" raw-body "2.5.2" type-is "~1.6.18" unpipe "1.0.0" @@ -2354,6 +2354,17 @@ call-bind@^1.0.0: function-bind "^1.1.1" get-intrinsic "^1.0.2" +call-bind@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.7.tgz#06016599c40c56498c18769d2730be242b6fa3b9" + integrity sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w== + dependencies: + es-define-property "^1.0.0" + es-errors "^1.3.0" + function-bind "^1.1.2" + get-intrinsic "^1.2.4" + set-function-length "^1.2.1" + call-me-maybe@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/call-me-maybe/-/call-me-maybe-1.0.1.tgz#26d208ea89e37b5cbde60250a15f031c16a4d66b" @@ -2895,6 +2906,15 @@ deep-equal@^1.0.1: resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.0.1.tgz#f5d260292b660e084eff4cdbc9f08ad3247448b5" integrity sha1-9dJgKStmDghO/0zbyfCK0yR0SLU= +define-data-property@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.4.tgz#894dc141bb7d3060ae4366f6a0107e68fbe48c5e" + integrity sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A== + dependencies: + es-define-property "^1.0.0" + es-errors "^1.3.0" + gopd "^1.0.1" + define-properties@^1.1.2: version "1.1.3" resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1" @@ -3131,6 +3151,11 @@ encodeurl@~1.0.2: resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" integrity sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w== +encodeurl@~2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-2.0.0.tgz#7b8ea898077d7e409d3ac45474ea38eaf0857a58" + integrity sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg== + encoding@^0.1.11: version "0.1.12" resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.12.tgz#538b66f3ee62cd1ab51ec323829d1f9480c74beb" @@ -3192,6 +3217,18 @@ es-abstract@^1.10.0, es-abstract@^1.11.0, es-abstract@^1.12.0, es-abstract@^1.4. is-callable "^1.1.3" is-regex "^1.0.4" +es-define-property@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.0.tgz#c7faefbdff8b2696cf5f46921edfb77cc4ba3845" + integrity sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ== + dependencies: + get-intrinsic "^1.2.4" + +es-errors@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" + integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== + es-module-lexer@^1.2.1: version "1.5.4" resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.5.4.tgz#a8efec3a3da991e60efa6b633a7cad6ab8d26b78" @@ -3350,36 +3387,36 @@ expand-tilde@^2.0.0, expand-tilde@^2.0.2: homedir-polyfill "^1.0.1" express@^4.16.3: - version "4.19.2" - resolved "https://registry.yarnpkg.com/express/-/express-4.19.2.tgz#e25437827a3aa7f2a827bc8171bbbb664a356465" - integrity sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q== + version "4.20.0" + resolved "https://registry.yarnpkg.com/express/-/express-4.20.0.tgz#f1d08e591fcec770c07be4767af8eb9bcfd67c48" + integrity sha512-pLdae7I6QqShF5PnNTCVn4hI91Dx0Grkn2+IAsMTgMIKuQVte2dN9PeGSSAME2FR8anOhVA62QDIUaWVfEXVLw== dependencies: accepts "~1.3.8" array-flatten "1.1.1" - body-parser "1.20.2" + body-parser "1.20.3" content-disposition "0.5.4" content-type "~1.0.4" cookie "0.6.0" cookie-signature "1.0.6" debug "2.6.9" depd "2.0.0" - encodeurl "~1.0.2" + encodeurl "~2.0.0" escape-html "~1.0.3" etag "~1.8.1" finalhandler "1.2.0" fresh "0.5.2" http-errors "2.0.0" - merge-descriptors "1.0.1" + merge-descriptors "1.0.3" methods "~1.1.2" on-finished "2.4.1" parseurl "~1.3.3" - path-to-regexp "0.1.7" + path-to-regexp "0.1.10" proxy-addr "~2.0.7" qs "6.11.0" range-parser "~1.2.1" safe-buffer "5.2.1" - send "0.18.0" - serve-static "1.15.0" + send "0.19.0" + serve-static "1.16.0" setprototypeof "1.2.0" statuses "2.0.1" type-is "~1.6.18" @@ -3645,6 +3682,11 @@ function-bind@^1.0.2, function-bind@^1.1.0, function-bind@^1.1.1: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== +function-bind@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" + integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== + function.prototype.name@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.0.tgz#8bd763cc0af860a859cc5d49384d74b932cd2327" @@ -3682,6 +3724,17 @@ get-intrinsic@^1.0.2: has "^1.0.3" has-symbols "^1.0.3" +get-intrinsic@^1.1.3, get-intrinsic@^1.2.4: + version "1.2.4" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.4.tgz#e385f5a4b5227d449c3eabbad05494ef0abbeadd" + integrity sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ== + dependencies: + es-errors "^1.3.0" + function-bind "^1.1.2" + has-proto "^1.0.1" + has-symbols "^1.0.3" + hasown "^2.0.0" + get-stream@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" @@ -3768,6 +3821,13 @@ globby@8.0.1: pify "^3.0.0" slash "^1.0.0" +gopd@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c" + integrity sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA== + dependencies: + get-intrinsic "^1.1.3" + graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9, graceful-fs@^4.2.11, graceful-fs@^4.2.4: version "4.2.11" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" @@ -3798,6 +3858,18 @@ has-flag@^4.0.0: resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== +has-property-descriptors@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz#963ed7d071dc7bf5f084c5bfbe0d1b6222586854" + integrity sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg== + dependencies: + es-define-property "^1.0.0" + +has-proto@^1.0.1: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.3.tgz#b31ddfe9b0e6e9914536a6ab286426d0214f77fd" + integrity sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q== + has-symbols@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.0.tgz#ba1a8f1af2a0fc39650f5c850367704122063b44" @@ -3872,6 +3944,13 @@ hash.js@^1.0.0, hash.js@^1.0.3: inherits "^2.0.3" minimalistic-assert "^1.0.1" +hasown@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" + integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== + dependencies: + function-bind "^1.1.2" + he@1.2.x, he@^1.1.0: version "1.2.0" resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" @@ -4605,10 +4684,10 @@ memory-fs@^0.4.0, memory-fs@~0.4.1: errno "^0.1.3" readable-stream "^2.0.1" -merge-descriptors@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" - integrity sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w== +merge-descriptors@1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.3.tgz#d80319a65f3c7935351e5cfdac8f9318504dbed5" + integrity sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ== merge-source-map@^1.1.0: version "1.1.0" @@ -4946,6 +5025,11 @@ object-copy@^0.1.0: define-property "^0.2.5" kind-of "^3.0.3" +object-inspect@^1.13.1: + version "1.13.2" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.2.tgz#dea0088467fb991e67af4058147a24824a3043ff" + integrity sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g== + object-inspect@^1.9.0: version "1.12.2" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.2.tgz#c0641f26394532f28ab8d796ab954e43c009a8ea" @@ -5192,10 +5276,10 @@ path-parse@^1.0.5: resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw== -path-to-regexp@0.1.7: - version "0.1.7" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" - integrity sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ== +path-to-regexp@0.1.10: + version "0.1.10" + resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.10.tgz#67e9108c5c0551b9e5326064387de4763c4d5f8b" + integrity sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w== path-type@^3.0.0: version "3.0.0" @@ -5470,6 +5554,13 @@ qs@6.11.0, qs@^6.5.2: dependencies: side-channel "^1.0.4" +qs@6.13.0: + version "6.13.0" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.13.0.tgz#6ca3bd58439f7e245655798997787b0d88a51906" + integrity sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg== + dependencies: + side-channel "^1.0.6" + querystring-es3@^0.2.0: version "0.2.1" resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" @@ -6024,6 +6115,25 @@ send@0.18.0: range-parser "~1.2.1" statuses "2.0.1" +send@0.19.0: + version "0.19.0" + resolved "https://registry.yarnpkg.com/send/-/send-0.19.0.tgz#bbc5a388c8ea6c048967049dbeac0e4a3f09d7f8" + integrity sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw== + dependencies: + debug "2.6.9" + depd "2.0.0" + destroy "1.2.0" + encodeurl "~1.0.2" + escape-html "~1.0.3" + etag "~1.8.1" + fresh "0.5.2" + http-errors "2.0.0" + mime "1.6.0" + ms "2.1.3" + on-finished "2.4.1" + range-parser "~1.2.1" + statuses "2.0.1" + serialize-javascript@^1.4.0: version "1.5.0" resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-1.5.0.tgz#1aa336162c88a890ddad5384baebc93a655161fe" @@ -6047,10 +6157,10 @@ serve-favicon@^2.5.0: parseurl "~1.3.2" safe-buffer "5.1.1" -serve-static@1.15.0: - version "1.15.0" - resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.15.0.tgz#faaef08cffe0a1a62f60cad0c4e513cff0ac9540" - integrity sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g== +serve-static@1.16.0: + version "1.16.0" + resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.16.0.tgz#2bf4ed49f8af311b519c46f272bf6ac3baf38a92" + integrity sha512-pDLK8zwl2eKaYrs8mrPZBJua4hMplRWJ1tIFksVC3FtBEBnl8dxgeHtsaMS8DhS9i4fLObaon6ABoc4/hQGdPA== dependencies: encodeurl "~1.0.2" escape-html "~1.0.3" @@ -6062,6 +6172,18 @@ set-blocking@~2.0.0: resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= +set-function-length@^1.2.1: + version "1.2.2" + resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.2.tgz#aac72314198eaed975cf77b2c3b6b880695e5449" + integrity sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg== + dependencies: + define-data-property "^1.1.4" + es-errors "^1.3.0" + function-bind "^1.1.2" + get-intrinsic "^1.2.4" + gopd "^1.0.1" + has-property-descriptors "^1.0.2" + set-value@^0.4.3: version "0.4.3" resolved "https://registry.yarnpkg.com/set-value/-/set-value-0.4.3.tgz#7db08f9d3d22dc7f78e53af3c3bf4666ecdfccf1" @@ -6145,6 +6267,16 @@ side-channel@^1.0.4: get-intrinsic "^1.0.2" object-inspect "^1.9.0" +side-channel@^1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.6.tgz#abd25fb7cd24baf45466406b1096b7831c9215f2" + integrity sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA== + dependencies: + call-bind "^1.0.7" + es-errors "^1.3.0" + get-intrinsic "^1.2.4" + object-inspect "^1.13.1" + signal-exit@^3.0.0, signal-exit@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" diff --git a/packages/icons-vue/examples/vue-cli/yarn.lock b/packages/icons-vue/examples/vue-cli/yarn.lock index 66ba94b2e1da..251d822f8281 100644 --- a/packages/icons-vue/examples/vue-cli/yarn.lock +++ b/packages/icons-vue/examples/vue-cli/yarn.lock @@ -1537,10 +1537,10 @@ bn.js@^5.0.0, bn.js@^5.2.1: resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== -body-parser@1.20.2: - version "1.20.2" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.2.tgz#6feb0e21c4724d06de7ff38da36dad4f57a747fd" - integrity sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA== +body-parser@1.20.3: + version "1.20.3" + resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.3.tgz#1953431221c6fb5cd63c4b36d53fab0928e548c6" + integrity sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g== dependencies: bytes "3.1.2" content-type "~1.0.5" @@ -1550,7 +1550,7 @@ body-parser@1.20.2: http-errors "2.0.0" iconv-lite "0.4.24" on-finished "2.4.1" - qs "6.11.0" + qs "6.13.0" raw-body "2.5.2" type-is "~1.6.18" unpipe "1.0.0" @@ -1795,13 +1795,16 @@ cache-loader@^1.2.5: neo-async "^2.5.0" schema-utils "^0.4.2" -call-bind@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" - integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== +call-bind@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.7.tgz#06016599c40c56498c18769d2730be242b6fa3b9" + integrity sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w== dependencies: - function-bind "^1.1.1" - get-intrinsic "^1.0.2" + es-define-property "^1.0.0" + es-errors "^1.3.0" + function-bind "^1.1.2" + get-intrinsic "^1.2.4" + set-function-length "^1.2.1" call-me-maybe@^1.0.1: version "1.0.1" @@ -2605,6 +2608,15 @@ defaults@^1.0.3: dependencies: clone "^1.0.2" +define-data-property@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.4.tgz#894dc141bb7d3060ae4366f6a0107e68fbe48c5e" + integrity sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A== + dependencies: + es-define-property "^1.0.0" + es-errors "^1.3.0" + gopd "^1.0.1" + define-properties@^1.1.2: version "1.1.3" resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1" @@ -2856,6 +2868,11 @@ encodeurl@~1.0.2: resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" integrity sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w== +encodeurl@~2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-2.0.0.tgz#7b8ea898077d7e409d3ac45474ea38eaf0857a58" + integrity sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg== + end-of-stream@^1.0.0, end-of-stream@^1.1.0: version "1.4.1" resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.1.tgz#ed29634d19baba463b6ce6b80a37213eab71ec43" @@ -2909,6 +2926,18 @@ es-abstract@^1.4.3, es-abstract@^1.5.1, es-abstract@^1.6.1: is-callable "^1.1.3" is-regex "^1.0.4" +es-define-property@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.0.tgz#c7faefbdff8b2696cf5f46921edfb77cc4ba3845" + integrity sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ== + dependencies: + get-intrinsic "^1.2.4" + +es-errors@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" + integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== + es-to-primitive@^1.1.1: version "1.2.0" resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.0.tgz#edf72478033456e8dda8ef09e00ad9650707f377" @@ -3209,36 +3238,36 @@ expand-brackets@^2.1.4: to-regex "^3.0.1" express@^4.16.2, express@^4.16.3: - version "4.19.2" - resolved "https://registry.yarnpkg.com/express/-/express-4.19.2.tgz#e25437827a3aa7f2a827bc8171bbbb664a356465" - integrity sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q== + version "4.21.0" + resolved "https://registry.yarnpkg.com/express/-/express-4.21.0.tgz#d57cb706d49623d4ac27833f1cbc466b668eb915" + integrity sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng== dependencies: accepts "~1.3.8" array-flatten "1.1.1" - body-parser "1.20.2" + body-parser "1.20.3" content-disposition "0.5.4" content-type "~1.0.4" cookie "0.6.0" cookie-signature "1.0.6" debug "2.6.9" depd "2.0.0" - encodeurl "~1.0.2" + encodeurl "~2.0.0" escape-html "~1.0.3" etag "~1.8.1" - finalhandler "1.2.0" + finalhandler "1.3.1" fresh "0.5.2" http-errors "2.0.0" - merge-descriptors "1.0.1" + merge-descriptors "1.0.3" methods "~1.1.2" on-finished "2.4.1" parseurl "~1.3.3" - path-to-regexp "0.1.7" + path-to-regexp "0.1.10" proxy-addr "~2.0.7" - qs "6.11.0" + qs "6.13.0" range-parser "~1.2.1" safe-buffer "5.2.1" - send "0.18.0" - serve-static "1.15.0" + send "0.19.0" + serve-static "1.16.2" setprototypeof "1.2.0" statuses "2.0.1" type-is "~1.6.18" @@ -3406,13 +3435,13 @@ fill-range@^4.0.0: repeat-string "^1.6.1" to-regex-range "^2.1.0" -finalhandler@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.2.0.tgz#7d23fe5731b207b4640e4fcd00aec1f9207a7b32" - integrity sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg== +finalhandler@1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.3.1.tgz#0c575f1d1d324ddd1da35ad7ece3df7d19088019" + integrity sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ== dependencies: debug "2.6.9" - encodeurl "~1.0.2" + encodeurl "~2.0.0" escape-html "~1.0.3" on-finished "2.4.1" parseurl "~1.3.3" @@ -3581,6 +3610,11 @@ function-bind@^1.0.2, function-bind@^1.1.0, function-bind@^1.1.1: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== +function-bind@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" + integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== + functional-red-black-tree@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" @@ -3591,14 +3625,16 @@ get-caller-file@^1.0.1: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a" integrity sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w== -get-intrinsic@^1.0.2: - version "1.1.3" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.3.tgz#063c84329ad93e83893c7f4f243ef63ffa351385" - integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A== +get-intrinsic@^1.1.3, get-intrinsic@^1.2.4: + version "1.2.4" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.4.tgz#e385f5a4b5227d449c3eabbad05494ef0abbeadd" + integrity sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ== dependencies: - function-bind "^1.1.1" - has "^1.0.3" + es-errors "^1.3.0" + function-bind "^1.1.2" + has-proto "^1.0.1" has-symbols "^1.0.3" + hasown "^2.0.0" get-stream@^3.0.0: version "3.0.0" @@ -3690,6 +3726,13 @@ globby@^8.0.1: pify "^3.0.0" slash "^1.0.0" +gopd@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c" + integrity sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA== + dependencies: + get-intrinsic "^1.1.3" + graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6: version "4.1.15" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.15.tgz#ffb703e1066e8a0eeaa4c8b80ba9253eeefbfb00" @@ -3733,6 +3776,18 @@ has-flag@^3.0.0: resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0= +has-property-descriptors@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz#963ed7d071dc7bf5f084c5bfbe0d1b6222586854" + integrity sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg== + dependencies: + es-define-property "^1.0.0" + +has-proto@^1.0.1: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.3.tgz#b31ddfe9b0e6e9914536a6ab286426d0214f77fd" + integrity sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q== + has-symbols@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.0.tgz#ba1a8f1af2a0fc39650f5c850367704122063b44" @@ -3774,7 +3829,7 @@ has-values@^1.0.0: is-number "^3.0.0" kind-of "^4.0.0" -has@^1.0.0, has@^1.0.1, has@^1.0.3: +has@^1.0.0, has@^1.0.1: version "1.0.3" resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== @@ -3802,6 +3857,13 @@ hash.js@^1.0.0, hash.js@^1.0.3: inherits "^2.0.3" minimalistic-assert "^1.0.1" +hasown@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" + integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== + dependencies: + function-bind "^1.1.2" + he@1.2.x, he@^1.1.0: version "1.2.0" resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" @@ -4811,10 +4873,10 @@ memory-fs@^0.4.0, memory-fs@~0.4.1: errno "^0.1.3" readable-stream "^2.0.1" -merge-descriptors@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" - integrity sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w== +merge-descriptors@1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.3.tgz#d80319a65f3c7935351e5cfdac8f9318504dbed5" + integrity sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ== merge-source-map@^1.1.0: version "1.1.0" @@ -5206,10 +5268,10 @@ object-hash@^1.1.4: resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-1.3.1.tgz#fde452098a951cb145f039bb7d455449ddc126df" integrity sha512-OSuu/pU4ENM9kmREg0BdNrUDIl1heYa4mBZacJc+vVWz4GtAwu7jO8s4AIt2aGRUTqxykpWzI3Oqnsm13tTMDA== -object-inspect@^1.9.0: - version "1.12.2" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.2.tgz#c0641f26394532f28ab8d796ab954e43c009a8ea" - integrity sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ== +object-inspect@^1.13.1: + version "1.13.2" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.2.tgz#dea0088467fb991e67af4058147a24824a3043ff" + integrity sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g== object-keys@^1.0.11, object-keys@^1.0.12: version "1.0.12" @@ -5524,10 +5586,10 @@ path-parse@^1.0.5: resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw== -path-to-regexp@0.1.7: - version "0.1.7" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" - integrity sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ== +path-to-regexp@0.1.10: + version "0.1.10" + resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.10.tgz#67e9108c5c0551b9e5326064387de4763c4d5f8b" + integrity sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w== path-type@^3.0.0: version "3.0.0" @@ -6075,12 +6137,12 @@ q@^1.1.2: resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" integrity sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc= -qs@6.11.0: - version "6.11.0" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.0.tgz#fd0d963446f7a65e1367e01abd85429453f0c37a" - integrity sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q== +qs@6.13.0: + version "6.13.0" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.13.0.tgz#6ca3bd58439f7e245655798997787b0d88a51906" + integrity sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg== dependencies: - side-channel "^1.0.4" + side-channel "^1.0.6" qs@~6.5.2: version "6.5.2" @@ -6531,10 +6593,10 @@ selfsigned@^1.9.1: resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8" integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g== -send@0.18.0: - version "0.18.0" - resolved "https://registry.yarnpkg.com/send/-/send-0.18.0.tgz#670167cc654b05f5aa4a767f9113bb371bc706be" - integrity sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg== +send@0.19.0: + version "0.19.0" + resolved "https://registry.yarnpkg.com/send/-/send-0.19.0.tgz#bbc5a388c8ea6c048967049dbeac0e4a3f09d7f8" + integrity sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw== dependencies: debug "2.6.9" depd "2.0.0" @@ -6568,21 +6630,33 @@ serve-index@^1.7.2: mime-types "~2.1.17" parseurl "~1.3.2" -serve-static@1.15.0: - version "1.15.0" - resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.15.0.tgz#faaef08cffe0a1a62f60cad0c4e513cff0ac9540" - integrity sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g== +serve-static@1.16.2: + version "1.16.2" + resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.16.2.tgz#b6a5343da47f6bdd2673848bf45754941e803296" + integrity sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw== dependencies: - encodeurl "~1.0.2" + encodeurl "~2.0.0" escape-html "~1.0.3" parseurl "~1.3.3" - send "0.18.0" + send "0.19.0" set-blocking@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= +set-function-length@^1.2.1: + version "1.2.2" + resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.2.tgz#aac72314198eaed975cf77b2c3b6b880695e5449" + integrity sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg== + dependencies: + define-data-property "^1.1.4" + es-errors "^1.3.0" + function-bind "^1.1.2" + get-intrinsic "^1.2.4" + gopd "^1.0.1" + has-property-descriptors "^1.0.2" + set-value@^0.4.3: version "0.4.3" resolved "https://registry.yarnpkg.com/set-value/-/set-value-0.4.3.tgz#7db08f9d3d22dc7f78e53af3c3bf4666ecdfccf1" @@ -6648,14 +6722,15 @@ shell-quote@^1.6.1: array-reduce "~0.0.0" jsonify "~0.0.0" -side-channel@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" - integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== +side-channel@^1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.6.tgz#abd25fb7cd24baf45466406b1096b7831c9215f2" + integrity sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA== dependencies: - call-bind "^1.0.0" - get-intrinsic "^1.0.2" - object-inspect "^1.9.0" + call-bind "^1.0.7" + es-errors "^1.3.0" + get-intrinsic "^1.2.4" + object-inspect "^1.13.1" signal-exit@^3.0.0, signal-exit@^3.0.2: version "3.0.2" diff --git a/packages/icons-vue/package.json b/packages/icons-vue/package.json index d9e651e442ca..82845ad06387 100644 --- a/packages/icons-vue/package.json +++ b/packages/icons-vue/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/icons-vue", "description": "Vue components for icons in digital and software products using the Carbon Design System", - "version": "10.98.0-rc.0", + "version": "10.98.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -30,12 +30,12 @@ "postinstall": "ibmtelemetry --config=telemetry.yml" }, "dependencies": { - "@carbon/icon-helpers": "^10.52.0-rc.0", + "@carbon/icon-helpers": "^10.52.0", "@ibm/telemetry-js": "^1.5.0" }, "devDependencies": { "@carbon/cli-reporter": "^10.7.0", - "@carbon/icons": "^11.49.0-rc.0", + "@carbon/icons": "^11.49.0", "fs-extra": "^11.0.0", "prettier": "^2.8.8", "rimraf": "^6.0.0", diff --git a/packages/icons/package.json b/packages/icons/package.json index 36874de8e7f0..922579106a96 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/icons", "description": "Icons for digital and software products using the Carbon Design System", - "version": "11.49.0-rc.0", + "version": "11.49.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -41,8 +41,8 @@ "postinstall": "ibmtelemetry --config=telemetry.yml" }, "devDependencies": { - "@carbon/cli": "^11.21.0-rc.0", - "@carbon/icon-build-helpers": "^1.30.0-rc.0", + "@carbon/cli": "^11.21.0", + "@carbon/icon-build-helpers": "^1.30.0", "rimraf": "^6.0.0" }, "dependencies": { diff --git a/packages/layout/package.json b/packages/layout/package.json index 683a1dc4cbcf..298ef5d7dc1e 100644 --- a/packages/layout/package.json +++ b/packages/layout/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/layout", "description": "Layout helpers for digital and software products using the Carbon Design System", - "version": "11.26.0-rc.0", + "version": "11.26.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -30,10 +30,10 @@ "postinstall": "ibmtelemetry --config=telemetry.yml" }, "devDependencies": { - "@carbon/cli": "^11.21.0-rc.0", + "@carbon/cli": "^11.21.0", "@carbon/cli-reporter": "^10.7.0", "@carbon/scss-generator": "^10.18.0", - "@carbon/test-utils": "^10.32.0-rc.0", + "@carbon/test-utils": "^10.32.0", "core-js": "^3.16.0", "rimraf": "^6.0.0" }, diff --git a/packages/motion/package.json b/packages/motion/package.json index e477ab3e7f75..5addc5da0ac5 100644 --- a/packages/motion/package.json +++ b/packages/motion/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/motion", "description": "Motion helpers for digital and software products using the Carbon Design System", - "version": "11.22.0-rc.0", + "version": "11.22.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -30,7 +30,7 @@ "postinstall": "ibmtelemetry --config=telemetry.yml" }, "devDependencies": { - "@carbon/cli": "^11.21.0-rc.0", + "@carbon/cli": "^11.21.0", "rimraf": "^6.0.0" }, "dependencies": { diff --git a/packages/pictograms-react/package.json b/packages/pictograms-react/package.json index 098511249bc9..4676af048cfd 100644 --- a/packages/pictograms-react/package.json +++ b/packages/pictograms-react/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/pictograms-react", "description": "React components for pictograms in digital and software products using the Carbon Design System", - "version": "11.66.0-rc.0", + "version": "11.66.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -39,13 +39,13 @@ "react": ">=16" }, "dependencies": { - "@carbon/icon-helpers": "^10.52.0-rc.0", + "@carbon/icon-helpers": "^10.52.0", "@ibm/telemetry-js": "^1.5.0", "prop-types": "^15.7.2" }, "devDependencies": { - "@carbon/icon-build-helpers": "^1.30.0-rc.0", - "@carbon/pictograms": "^12.40.0-rc.0", + "@carbon/icon-build-helpers": "^1.30.0", + "@carbon/pictograms": "^12.40.0", "rimraf": "^6.0.0" }, "sideEffects": false diff --git a/packages/pictograms/package.json b/packages/pictograms/package.json index 39cd1eb52f10..34177c16c318 100644 --- a/packages/pictograms/package.json +++ b/packages/pictograms/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/pictograms", "description": "Pictograms for digital and software products using the Carbon Design System", - "version": "12.40.0-rc.0", + "version": "12.40.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -33,7 +33,7 @@ "postinstall": "ibmtelemetry --config=telemetry.yml" }, "devDependencies": { - "@carbon/icon-build-helpers": "^1.30.0-rc.0", + "@carbon/icon-build-helpers": "^1.30.0", "rimraf": "^6.0.0" }, "dependencies": { diff --git a/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap b/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap index f2be17fd003e..927fae777c62 100644 --- a/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap +++ b/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap @@ -12,33 +12,7 @@ Map { "type": "string", }, "aiTextLabel": [Function], - "align": Object { - "args": Array [ - Array [ - "top", - "top-left", - "top-start", - "top-right", - "top-end", - "bottom", - "bottom-left", - "bottom-start", - "bottom-right", - "bottom-end", - "left", - "left-bottom", - "left-end", - "left-top", - "left-start", - "right", - "right-bottom", - "right-end", - "right-top", - "right-start", - ], - ], - "type": "oneOf", - }, + "align": [Function], "aria-label": Object { "type": "string", }, @@ -446,21 +420,7 @@ Map { "isSelected": Object { "type": "bool", }, - "kind": Object { - "args": Array [ - Array [ - "primary", - "secondary", - "danger", - "ghost", - "danger--primary", - "danger--ghost", - "danger--tertiary", - "tertiary", - ], - ], - "type": "oneOf", - }, + "kind": [Function], "onBlur": Object { "type": "func", }, @@ -2955,6 +2915,9 @@ Map { "slug": Object { "type": "node", }, + "tagTitle": Object { + "type": "string", + }, "text": Object { "type": "string", }, @@ -10952,33 +10915,7 @@ Map { "type": "string", }, "aiTextLabel": [Function], - "align": Object { - "args": Array [ - Array [ - "top", - "top-left", - "top-start", - "top-right", - "top-end", - "bottom", - "bottom-left", - "bottom-start", - "bottom-right", - "bottom-end", - "left", - "left-bottom", - "left-end", - "left-top", - "left-start", - "right", - "right-bottom", - "right-end", - "right-top", - "right-start", - ], - ], - "type": "oneOf", - }, + "align": [Function], "aria-label": Object { "type": "string", }, diff --git a/packages/react/examples/react-router/.yarn/install-state.gz b/packages/react/examples/react-router/.yarn/install-state.gz index 1ff351e9abd0..3a84afccf4de 100644 Binary files a/packages/react/examples/react-router/.yarn/install-state.gz and b/packages/react/examples/react-router/.yarn/install-state.gz differ diff --git a/packages/react/examples/react-router/yarn.lock b/packages/react/examples/react-router/yarn.lock index aebc9da9ca61..345ad364a0bd 100644 --- a/packages/react/examples/react-router/yarn.lock +++ b/packages/react/examples/react-router/yarn.lock @@ -4237,9 +4237,9 @@ __metadata: languageName: node linkType: hard -"body-parser@npm:1.20.2": - version: 1.20.2 - resolution: "body-parser@npm:1.20.2" +"body-parser@npm:1.20.3": + version: 1.20.3 + resolution: "body-parser@npm:1.20.3" dependencies: bytes: "npm:3.1.2" content-type: "npm:~1.0.5" @@ -4249,11 +4249,11 @@ __metadata: http-errors: "npm:2.0.0" iconv-lite: "npm:0.4.24" on-finished: "npm:2.4.1" - qs: "npm:6.11.0" + qs: "npm:6.13.0" raw-body: "npm:2.5.2" type-is: "npm:~1.6.18" unpipe: "npm:1.0.0" - checksum: 10/3cf171b82190cf91495c262b073e425fc0d9e25cc2bf4540d43f7e7bbca27d6a9eae65ca367b6ef3993eea261159d9d2ab37ce444e8979323952e12eb3df319a + checksum: 10/8723e3d7a672eb50854327453bed85ac48d045f4958e81e7d470c56bf111f835b97e5b73ae9f6393d0011cc9e252771f46fd281bbabc57d33d3986edf1e6aeca languageName: node linkType: hard @@ -5640,6 +5640,13 @@ __metadata: languageName: node linkType: hard +"encodeurl@npm:~2.0.0": + version: 2.0.0 + resolution: "encodeurl@npm:2.0.0" + checksum: 10/abf5cd51b78082cf8af7be6785813c33b6df2068ce5191a40ca8b1afe6a86f9230af9a9ce694a5ce4665955e5c1120871826df9c128a642e09c58d592e2807fe + languageName: node + linkType: hard + "encoding@npm:^0.1.13": version: 0.1.13 resolution: "encoding@npm:0.1.13" @@ -6335,41 +6342,41 @@ __metadata: linkType: hard "express@npm:^4.17.3": - version: 4.19.2 - resolution: "express@npm:4.19.2" + version: 4.21.0 + resolution: "express@npm:4.21.0" dependencies: accepts: "npm:~1.3.8" array-flatten: "npm:1.1.1" - body-parser: "npm:1.20.2" + body-parser: "npm:1.20.3" content-disposition: "npm:0.5.4" content-type: "npm:~1.0.4" cookie: "npm:0.6.0" cookie-signature: "npm:1.0.6" debug: "npm:2.6.9" depd: "npm:2.0.0" - encodeurl: "npm:~1.0.2" + encodeurl: "npm:~2.0.0" escape-html: "npm:~1.0.3" etag: "npm:~1.8.1" - finalhandler: "npm:1.2.0" + finalhandler: "npm:1.3.1" fresh: "npm:0.5.2" http-errors: "npm:2.0.0" - merge-descriptors: "npm:1.0.1" + merge-descriptors: "npm:1.0.3" methods: "npm:~1.1.2" on-finished: "npm:2.4.1" parseurl: "npm:~1.3.3" - path-to-regexp: "npm:0.1.7" + path-to-regexp: "npm:0.1.10" proxy-addr: "npm:~2.0.7" - qs: "npm:6.11.0" + qs: "npm:6.13.0" range-parser: "npm:~1.2.1" safe-buffer: "npm:5.2.1" - send: "npm:0.18.0" - serve-static: "npm:1.15.0" + send: "npm:0.19.0" + serve-static: "npm:1.16.2" setprototypeof: "npm:1.2.0" statuses: "npm:2.0.1" type-is: "npm:~1.6.18" utils-merge: "npm:1.0.1" vary: "npm:~1.1.2" - checksum: 10/3fcd792536f802c059789ef48db3851b87e78fba103423e524144d79af37da7952a2b8d4e1a007f423329c7377d686d9476ac42e7d9ea413b80345d495e30a3a + checksum: 10/3b1ee5bc5b1bd996f688702519cebc9b63a24e506965f6e1773268238cfa2c24ffdb38cc3fcb4fde66f77de1c0bebd9ee058dad06bb9c6f084b525f3c09164d3 languageName: node linkType: hard @@ -6480,18 +6487,18 @@ __metadata: languageName: node linkType: hard -"finalhandler@npm:1.2.0": - version: 1.2.0 - resolution: "finalhandler@npm:1.2.0" +"finalhandler@npm:1.3.1": + version: 1.3.1 + resolution: "finalhandler@npm:1.3.1" dependencies: debug: "npm:2.6.9" - encodeurl: "npm:~1.0.2" + encodeurl: "npm:~2.0.0" escape-html: "npm:~1.0.3" on-finished: "npm:2.4.1" parseurl: "npm:~1.3.3" statuses: "npm:2.0.1" unpipe: "npm:~1.0.0" - checksum: 10/635718cb203c6d18e6b48dfbb6c54ccb08ea470e4f474ddcef38c47edcf3227feec316f886dd701235997d8af35240cae49856721ce18f539ad038665ebbf163 + checksum: 10/4babe72969b7373b5842bc9f75c3a641a4d0f8eb53af6b89fa714d4460ce03fb92b28de751d12ba415e96e7e02870c436d67412120555e2b382640535697305b languageName: node linkType: hard @@ -9032,10 +9039,10 @@ __metadata: languageName: node linkType: hard -"merge-descriptors@npm:1.0.1": - version: 1.0.1 - resolution: "merge-descriptors@npm:1.0.1" - checksum: 10/5abc259d2ae25bb06d19ce2b94a21632583c74e2a9109ee1ba7fd147aa7362b380d971e0251069f8b3eb7d48c21ac839e21fa177b335e82c76ec172e30c31a26 +"merge-descriptors@npm:1.0.3": + version: 1.0.3 + resolution: "merge-descriptors@npm:1.0.3" + checksum: 10/52117adbe0313d5defa771c9993fe081e2d2df9b840597e966aadafde04ae8d0e3da46bac7ca4efc37d4d2b839436582659cd49c6a43eacb3fe3050896a105d1 languageName: node linkType: hard @@ -9819,10 +9826,10 @@ __metadata: languageName: node linkType: hard -"path-to-regexp@npm:0.1.7": - version: 0.1.7 - resolution: "path-to-regexp@npm:0.1.7" - checksum: 10/701c99e1f08e3400bea4d701cf6f03517474bb1b608da71c78b1eb261415b645c5670dfae49808c89e12cea2dccd113b069f040a80de012da0400191c6dbd1c8 +"path-to-regexp@npm:0.1.10": + version: 0.1.10 + resolution: "path-to-regexp@npm:0.1.10" + checksum: 10/894e31f1b20e592732a87db61fff5b95c892a3fe430f9ab18455ebe69ee88ef86f8eb49912e261f9926fc53da9f93b46521523e33aefd9cb0a7b0d85d7096006 languageName: node linkType: hard @@ -10887,12 +10894,12 @@ __metadata: languageName: node linkType: hard -"qs@npm:6.11.0": - version: 6.11.0 - resolution: "qs@npm:6.11.0" +"qs@npm:6.13.0": + version: 6.13.0 + resolution: "qs@npm:6.13.0" dependencies: - side-channel: "npm:^1.0.4" - checksum: 10/5a3bfea3e2f359ede1bfa5d2f0dbe54001aa55e40e27dc3e60fab814362d83a9b30758db057c2011b6f53a2d4e4e5150194b5bac45372652aecb3e3c0d4b256e + side-channel: "npm:^1.0.6" + checksum: 10/f548b376e685553d12e461409f0d6e5c59ec7c7d76f308e2a888fd9db3e0c5e89902bedd0754db3a9038eda5f27da2331a6f019c8517dc5e0a16b3c9a6e9cef8 languageName: node linkType: hard @@ -11719,9 +11726,9 @@ __metadata: languageName: node linkType: hard -"send@npm:0.18.0": - version: 0.18.0 - resolution: "send@npm:0.18.0" +"send@npm:0.19.0": + version: 0.19.0 + resolution: "send@npm:0.19.0" dependencies: debug: "npm:2.6.9" depd: "npm:2.0.0" @@ -11736,7 +11743,7 @@ __metadata: on-finished: "npm:2.4.1" range-parser: "npm:~1.2.1" statuses: "npm:2.0.1" - checksum: 10/ec66c0ad109680ad8141d507677cfd8b4e40b9559de23191871803ed241718e99026faa46c398dcfb9250676076573bd6bfe5d0ec347f88f4b7b8533d1d391cb + checksum: 10/1f6064dea0ae4cbe4878437aedc9270c33f2a6650a77b56a16b62d057527f2766d96ee282997dd53ec0339082f2aad935bc7d989b46b48c82fc610800dc3a1d0 languageName: node linkType: hard @@ -11773,15 +11780,15 @@ __metadata: languageName: node linkType: hard -"serve-static@npm:1.15.0": - version: 1.15.0 - resolution: "serve-static@npm:1.15.0" +"serve-static@npm:1.16.2": + version: 1.16.2 + resolution: "serve-static@npm:1.16.2" dependencies: - encodeurl: "npm:~1.0.2" + encodeurl: "npm:~2.0.0" escape-html: "npm:~1.0.3" parseurl: "npm:~1.3.3" - send: "npm:0.18.0" - checksum: 10/699b2d4c29807a51d9b5e0f24955346911437aebb0178b3c4833ad30d3eca93385ff9927254f5c16da345903cad39d9cd4a532198c95a5129cc4ed43911b15a4 + send: "npm:0.19.0" + checksum: 10/7fa9d9c68090f6289976b34fc13c50ac8cd7f16ae6bce08d16459300f7fc61fbc2d7ebfa02884c073ec9d6ab9e7e704c89561882bbe338e99fcacb2912fde737 languageName: node linkType: hard diff --git a/packages/react/package.json b/packages/react/package.json index c7deaf5618aa..2651abd7e5d9 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/react", "description": "React components for the Carbon Design System", - "version": "1.66.0-rc.0", + "version": "1.66.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -49,9 +49,9 @@ "dependencies": { "@babel/runtime": "^7.24.7", "@carbon/feature-flags": "^0.22.0", - "@carbon/icons-react": "^11.49.0-rc.0", - "@carbon/layout": "^11.26.0-rc.0", - "@carbon/styles": "^1.65.0-rc.0", + "@carbon/icons-react": "^11.49.0", + "@carbon/layout": "^11.26.0", + "@carbon/styles": "^1.65.0", "@floating-ui/react": "^0.26.0", "@ibm/telemetry-js": "^1.5.0", "classnames": "2.5.1", @@ -79,8 +79,8 @@ "@babel/preset-env": "^7.24.7", "@babel/preset-react": "^7.24.7", "@babel/preset-typescript": "^7.24.7", - "@carbon/test-utils": "^10.32.0-rc.0", - "@carbon/themes": "^11.40.0-rc.0", + "@carbon/test-utils": "^10.32.0", + "@carbon/themes": "^11.40.0", "@figma/code-connect": "^1.0.6", "@rollup/plugin-babel": "^6.0.0", "@rollup/plugin-commonjs": "^26.0.0", diff --git a/packages/react/src/components/AILabel/index.js b/packages/react/src/components/AILabel/index.js deleted file mode 100644 index 0ef644a03c3e..000000000000 --- a/packages/react/src/components/AILabel/index.js +++ /dev/null @@ -1,274 +0,0 @@ -/** - * Copyright IBM Corp. 2016, 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. - */ - -import cx from 'classnames'; -import PropTypes from 'prop-types'; -import React from 'react'; - -import { usePrefix } from '../../internal/usePrefix'; -import { - Toggletip, - ToggletipButton, - ToggletipContent, - ToggletipActions, -} from '../Toggletip'; -import { IconButton } from '../IconButton'; -import { Undo } from '@carbon/icons-react'; -import { useId } from '../../internal/useId'; -import deprecate from '../../prop-types/deprecate'; - -export const AILabelContent = React.forwardRef(function AILabelContent( - { children, className }, - ref -) { - const prefix = usePrefix(); - - const hasAILabelActions = React.Children.toArray(children).some( - (child) => child.type?.displayName === 'AILabelActions' - ); - - const aiLabelContentClasses = cx(className, { - [`${prefix}--slug-content`]: true, - [`${prefix}--slug-content--with-actions`]: hasAILabelActions, - }); - - return ( - - {children} - - ); -}); - -AILabelContent.displayName = 'AILabelContent'; -AILabelContent.propTypes = { - /** - * Specify the content you want rendered inside the slug ToggleTip - */ - children: PropTypes.node, - - /** - * Specify an optional className to be added to the AI slug callout - */ - className: PropTypes.string, -}; - -export const AILabelActions = React.forwardRef(function AILabelActions( - { children, className }, - ref -) { - const prefix = usePrefix(); - - const aiLabelActionsClasses = cx(className, { - [`${prefix}--slug-actions`]: true, - }); - - return ( - - {children} - - ); -}); - -AILabelActions.displayName = 'AILabelActions'; -AILabelActions.propTypes = { - /** - * Specify the content you want rendered inside the slug callout toolbar - */ - children: PropTypes.node, - - /** - * Specify an optional className to be added to the AI slug toolbar - */ - className: PropTypes.string, -}; - -export const AILabel = React.forwardRef(function AILabel( - { - aiText = 'AI', - aiTextLabel, - textLabel, - align, - autoAlign = true, - children, - className, - kind = 'default', - onRevertClick, - revertActive, - revertLabel = 'Revert to AI input', - slugLabel = 'Show information', - ['aria-label']: ariaLabel = 'Show information', - size = 'xs', - ...rest - }, - ref -) { - const prefix = usePrefix(); - const id = useId('AILabel'); - - const aiLabelClasses = cx(className, { - [`${prefix}--slug`]: true, - [`${prefix}--slug--revert`]: revertActive, - }); - - const aiLabelButtonClasses = cx({ - [`${prefix}--slug__button`]: true, - [`${prefix}--slug__button--${size}`]: size, - [`${prefix}--slug__button--${kind}`]: kind, - [`${prefix}--slug__button--inline-with-content`]: - kind === 'inline' && (aiTextLabel || textLabel), - }); - - const handleOnRevertClick = (evt) => { - if (onRevertClick) { - onRevertClick(evt); - } - }; - - const ariaLabelText = - !aiTextLabel && !textLabel - ? `${aiText} - ${slugLabel || ariaLabel}` - : `${aiText} - ${aiTextLabel || textLabel}`; - - return ( -
- {revertActive ? ( - - - - ) : ( - - - {aiText} - {kind === 'inline' && (aiTextLabel || textLabel) && ( - - {aiTextLabel || textLabel} - - )} - - {children} - - )} -
- ); -}); - -AILabel.displayName = 'AILabel'; -AILabel.propTypes = { - /** - * Specify the content you want rendered inside the `AILabel` ToggleTip - */ - AILabelContent: PropTypes.node, - - /** - * Specify the correct translation of the AI text - */ - aiText: PropTypes.string, - - /** - * @deprecated - * Specify additional text to be rendered next to the AI label in the inline variant - */ - aiTextLabel: deprecate( - PropTypes.string, - '`aiTextLabel` on `AILabel` has been deprecated - Please use the `textLabel` prop instead' - ), - - /** - * Specify how the popover should align with the button - */ - align: PropTypes.oneOf([ - 'top', - 'top-left', // deprecated use top-start instead - 'top-start', - 'top-right', // deprecated use top-end instead - 'top-end', - - 'bottom', - 'bottom-left', // deprecated use bottom-start instead - 'bottom-start', - 'bottom-right', // deprecated use bottom-end instead - 'bottom-end', - - 'left', - 'left-bottom', // deprecated use left-end instead - 'left-end', - 'left-top', // deprecated use left-start instead - 'left-start', - - 'right', - 'right-bottom', // deprecated use right-end instead - 'right-end', - 'right-top', // deprecated use right-start instead - 'right-start', - ]), - - /** - * Specify the text that will be provided to the aria-label of the `AILabel` button - */ - 'aria-label': PropTypes.string, - - /** - * Will auto-align the popover. This prop is currently experimental and is subject to future changes. - */ - autoAlign: PropTypes.bool, - - /** - * Specify the content you want rendered inside the `AILabel` ToggleTip - */ - children: PropTypes.node, - - /** - * Specify an optional className to be added to the `AILabel` - */ - className: PropTypes.string, - - /** - * Specify the type of `AILabel`, from the following list of types: - */ - kind: PropTypes.oneOf(['default', 'inline']), - - /** - * Callback function that fires when the revert button is clicked - */ - onRevertClick: PropTypes.func, - - /** - * Specify whether the revert button should be visible - */ - revertActive: PropTypes.bool, - - /** - * Specify the text that should be shown when the revert button is hovered - */ - revertLabel: PropTypes.string, - - /** - * Specify the size of the button, from the following list of sizes: - */ - size: PropTypes.oneOf(['mini', '2xs', 'xs', 'sm', 'md', 'lg', 'xl']), - - /** - * @deprecated - * Specify the text that will be provided to the aria-label of the `AILabel` button - */ - slugLabel: deprecate( - PropTypes.string, - '`slugLabel` on `AILabel` has been deprecated - Please use the `ariaLabel` prop instead' - ), - - /** - * Specify additional text to be rendered next to the AI label in the inline variant - */ - textLabel: PropTypes.string, -}; diff --git a/packages/react/src/components/AILabel/index.tsx b/packages/react/src/components/AILabel/index.tsx new file mode 100644 index 000000000000..82d16a8e854a --- /dev/null +++ b/packages/react/src/components/AILabel/index.tsx @@ -0,0 +1,356 @@ +/** + * Copyright IBM Corp. 2016, 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. + */ + +import cx from 'classnames'; +import PropTypes from 'prop-types'; +import deprecateValuesWithin from '../../prop-types/deprecateValuesWithin'; +import React from 'react'; + +import { usePrefix } from '../../internal/usePrefix'; +import { + Toggletip, + ToggletipButton, + ToggletipContent, + ToggletipActions, +} from '../Toggletip'; +import { IconButton } from '../IconButton'; +import { mapPopoverAlignProp } from '../../tools/createPropAdapter'; +import { Undo } from '@carbon/icons-react'; +import { useId } from '../../internal/useId'; +import deprecate from '../../prop-types/deprecate'; + +export type AILabelContentProps = React.HTMLAttributes; + +export const AILabelContent = React.forwardRef(function AILabelContent( + { className, children, ...rest }: AILabelContentProps, + ref +) { + const prefix = usePrefix(); + + const hasAILabelActions = React.Children.toArray(children).some((child) => { + const item = child as any; + item.type?.displayName === 'AILabelActions'; + }); + + const aiLabelContentClasses = cx(className, { + [`${prefix}--slug-content`]: true, + [`${prefix}--slug-content--with-actions`]: hasAILabelActions, + }); + + return ( + + {children} + + ); +}); + +AILabelContent.displayName = 'AILabelContent'; +AILabelContent.propTypes = { + /** + * Specify the content you want rendered inside the slug ToggleTip + */ + children: PropTypes.node, + + /** + * Specify an optional className to be added to the AI slug callout + */ + className: PropTypes.string, +}; + +export type AILabelActionsProps = React.HTMLAttributes; + +export const AILabelActions = React.forwardRef(function AILabelActions( + { className, children, ...rest }: AILabelActionsProps, + ref +) { + const prefix = usePrefix(); + + const aiLabelActionsClasses = cx(className, { + [`${prefix}--slug-actions`]: true, + }); + + return ( + + {children} + + ); +}); + +AILabelActions.displayName = 'AILabelActions'; +AILabelActions.propTypes = { + /** + * Specify the content you want rendered inside the slug callout toolbar + */ + children: PropTypes.node, + + /** + * Specify an optional className to be added to the AI slug toolbar + */ + className: PropTypes.string, +}; + +/** + * Deprecated popover alignment values. + * @deprecated Use NewPopoverAlignment instead. + */ +export type DeprecatedAlignment = + | 'top-left' + | 'top-right' + | 'bottom-left' + | 'bottom-right' + | 'left-bottom' + | 'left-top' + | 'right-bottom' + | 'right-top'; + +export type NewAlignment = + | 'top' + | 'bottom' + | 'left' + | 'right' + | 'top-start' + | 'top-end' + | 'bottom-start' + | 'bottom-end' + | 'left-end' + | 'left-start' + | 'right-end' + | 'right-start'; + +export type Alignment = DeprecatedAlignment | NewAlignment; + +const propMappingFunction = (deprecatedValue) => { + return mapPopoverAlignProp(deprecatedValue); +}; + +interface AILabelProps { + AILabelContent?: React.ReactNode; + aiText?: string; + aiTextLabel?: string; + textLabel?: string; + align?: Alignment; + autoAlign?: boolean; + children?: React.ReactNode; + className?: string; + kind?: 'default' | 'inline'; + onRevertClick?: (evt: React.MouseEvent) => void; + revertActive?: boolean; + revertLabel?: string; + size?: 'mini' | '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl'; + 'aria-label'?: string; + slugLabel?: string; +} + +export const AILabel = React.forwardRef( + function AILabel( + { + aiText = 'AI', + aiTextLabel, + textLabel, + align, + autoAlign = true, + children, + className, + kind = 'default', + onRevertClick, + revertActive, + revertLabel = 'Revert to AI input', + slugLabel = 'Show information', + ['aria-label']: ariaLabel = 'Show information', + size = 'xs', + ...rest + }, + ref + ) { + const prefix = usePrefix(); + const id = useId('AILabel'); + + const aiLabelClasses = cx(className, { + [`${prefix}--slug`]: true, + [`${prefix}--slug--revert`]: revertActive, + }); + + const aiLabelButtonClasses = cx({ + [`${prefix}--slug__button`]: true, + [`${prefix}--slug__button--${size}`]: size, + [`${prefix}--slug__button--${kind}`]: kind, + [`${prefix}--slug__button--inline-with-content`]: + kind === 'inline' && (aiTextLabel || textLabel), + }); + + const handleOnRevertClick = (evt) => { + if (onRevertClick) { + onRevertClick(evt); + } + }; + + const ariaLabelText = + !aiTextLabel && !textLabel + ? `${aiText} - ${slugLabel || ariaLabel}` + : `${aiText} - ${aiTextLabel || textLabel}`; + + return ( +
+ {revertActive ? ( + + + + ) : ( + + + {aiText} + {kind === 'inline' && (aiTextLabel || textLabel) && ( + + {aiTextLabel || textLabel} + + )} + + {children} + + )} +
+ ); + } +); + +AILabel.displayName = 'AILabel'; +AILabel.propTypes = { + /** + * Specify the content you want rendered inside the `AILabel` ToggleTip + */ + AILabelContent: PropTypes.node, + + /** + * Specify the correct translation of the AI text + */ + aiText: PropTypes.string, + + /** + * @deprecated + * Specify additional text to be rendered next to the AI label in the inline variant + */ + aiTextLabel: deprecate( + PropTypes.string, + '`aiTextLabel` on `AILabel` has been deprecated - Please use the `textLabel` prop instead' + ), + + /** + * Specify how the popover should align with the button + */ + align: deprecateValuesWithin( + PropTypes.oneOf([ + 'top', + 'top-left', // deprecated use top-start instead + 'top-right', // deprecated use top-end instead + + 'bottom', + 'bottom-left', // deprecated use bottom-start instead + 'bottom-right', // deprecated use bottom-end instead + + 'left', + 'left-bottom', // deprecated use left-end instead + 'left-top', // deprecated use left-start instead + + 'right', + 'right-bottom', // deprecated use right-end instead + 'right-top', // deprecated use right-start instead + + // new values to match floating-ui + 'top-start', + 'top-end', + 'bottom-start', + 'bottom-end', + 'left-end', + 'left-start', + 'right-end', + 'right-start', + ]), + //allowed prop values + [ + 'top', + 'top-start', + 'top-end', + 'bottom', + 'bottom-start', + 'bottom-end', + 'left', + 'left-start', + 'left-end', + 'right', + 'right-start', + 'right-end', + ], + //optional mapper function + propMappingFunction + ), + + /** + * Specify the text that will be provided to the aria-label of the `AILabel` button + */ + 'aria-label': PropTypes.string, + + /** + * Will auto-align the popover. This prop is currently experimental and is subject to future changes. + */ + autoAlign: PropTypes.bool, + + /** + * Specify the content you want rendered inside the `AILabel` ToggleTip + */ + children: PropTypes.node, + + /** + * Specify an optional className to be added to the `AILabel` + */ + className: PropTypes.string, + + /** + * Specify the type of `AILabel`, from the following list of types: + */ + kind: PropTypes.oneOf(['default', 'inline']), + + /** + * Callback function that fires when the revert button is clicked + */ + onRevertClick: PropTypes.func, + + /** + * Specify whether the revert button should be visible + */ + revertActive: PropTypes.bool, + + /** + * Specify the text that should be shown when the revert button is hovered + */ + revertLabel: PropTypes.string, + + /** + * Specify the size of the button, from the following list of sizes: + */ + size: PropTypes.oneOf(['mini', '2xs', 'xs', 'sm', 'md', 'lg', 'xl']), + + /** + * @deprecated + * Specify the text that will be provided to the aria-label of the `AILabel` button + */ + slugLabel: deprecate( + PropTypes.string, + '`slugLabel` on `AILabel` has been deprecated - Please use the `ariaLabel` prop instead' + ), + + /** + * Specify additional text to be rendered next to the AI label in the inline variant + */ + textLabel: PropTypes.string, +}; diff --git a/packages/react/src/components/Button/Button.tsx b/packages/react/src/components/Button/Button.tsx index aaacd428199c..5ef1f557c7b9 100644 --- a/packages/react/src/components/Button/Button.tsx +++ b/packages/react/src/components/Button/Button.tsx @@ -7,7 +7,7 @@ import PropTypes from 'prop-types'; import React, { useRef } from 'react'; -import { IconButton, IconButtonKind } from '../IconButton'; +import { IconButton, IconButtonKind, IconButtonKinds } from '../IconButton'; import { composeEventHandlers } from '../../tools/events'; import { PolymorphicProps } from '../../types/common'; import { PopoverAlignment } from '../Popover'; @@ -74,7 +74,9 @@ export interface ButtonBaseProps /** * Specify the kind of Button you want to create */ - kind?: ButtonKind; + kind?: ButtonBaseProps['hasIconOnly'] extends true + ? IconButtonKind + : ButtonKind; /** * Optional prop to allow overriding the icon rendering. @@ -266,8 +268,24 @@ Button.propTypes = { /** * Specify the kind of Button you want to create */ - // TODO: this should be either ButtonKinds or IconButtonKinds based on the value of "hasIconOnly" - kind: PropTypes.oneOf(ButtonKinds), + kind: (props, propName, componentName) => { + const { hasIconOnly } = props; + const validKinds = hasIconOnly ? IconButtonKinds : ButtonKinds; + + if (props[propName] === undefined) { + return null; + } + + if (!validKinds.includes(props[propName])) { + return new Error( + `Invalid prop \`${propName}\` supplied to \`${componentName}\`. Expected one of ${validKinds.join( + ', ' + )}.` + ); + } + + return null; + }, /** * Provide an optional function to be called when the button element diff --git a/packages/react/src/components/ComboBox/ComboBox-test.js b/packages/react/src/components/ComboBox/ComboBox-test.js index cf71e4ccfc5a..d9da3d7ab0e9 100644 --- a/packages/react/src/components/ComboBox/ComboBox-test.js +++ b/packages/react/src/components/ComboBox/ComboBox-test.js @@ -90,6 +90,12 @@ describe('ComboBox', () => { }); }); + it('should call `onChange` on a fully controlled component', async () => { + render(); + await userEvent.click(screen.getAllByRole('button')[0]); + expect(mockProps.onChange).toHaveBeenCalled(); + }); + it('should select the correct item from the filtered list after text input on click', async () => { const user = userEvent.setup(); diff --git a/packages/react/src/components/ComboBox/ComboBox.tsx b/packages/react/src/components/ComboBox/ComboBox.tsx index 225a60bf6159..557c9dbc7ef4 100644 --- a/packages/react/src/components/ComboBox/ComboBox.tsx +++ b/packages/react/src/components/ComboBox/ComboBox.tsx @@ -57,6 +57,7 @@ const { InputKeyDownArrowUp, InputKeyDownArrowDown, MenuMouseLeave, + FunctionSelectItem, } = useCombobox.stateChangeTypes; const defaultItemToString = (item: ItemType | null) => { @@ -521,6 +522,16 @@ const ComboBox = forwardRef( } return changes; } + + case FunctionSelectItem: + if (onChange) { + onChange({ + selectedItem: changes.selectedItem, + inputValue: changes.inputValue, + }); + } + return changes; + case InputKeyDownEnter: if (allowCustomValue) { setInputValue(inputValue); @@ -588,6 +599,7 @@ const ComboBox = forwardRef( [`${prefix}--list-box--up`]: direction === 'top', [`${prefix}--combo-box--warning`]: showWarning, [`${prefix}--combo-box--readonly`]: readOnly, + [`${prefix}--autoalign`]: autoAlign, }); const titleClasses = cx(`${prefix}--label`, { diff --git a/packages/react/src/components/DatePicker/DatePicker.tsx b/packages/react/src/components/DatePicker/DatePicker.tsx index 20d37d73b5c9..fd07b48c8964 100644 --- a/packages/react/src/components/DatePicker/DatePicker.tsx +++ b/packages/react/src/components/DatePicker/DatePicker.tsx @@ -911,6 +911,7 @@ const DatePicker = React.forwardRef(function DatePicker( document.activeElement === endInputField.current && calendarRef.current.isOpen ) { + event.preventDefault(); calendarRef.current.close(); // Remove focus from endDate calendar input document.activeElement instanceof HTMLElement && // this is to fix the TS warning diff --git a/packages/react/src/components/Dropdown/Dropdown.tsx b/packages/react/src/components/Dropdown/Dropdown.tsx index 4a8336f588b6..7e85b61de651 100644 --- a/packages/react/src/components/Dropdown/Dropdown.tsx +++ b/packages/react/src/components/Dropdown/Dropdown.tsx @@ -390,7 +390,7 @@ const Dropdown = React.forwardRef( [`${prefix}--dropdown--readonly`]: readOnly, [`${prefix}--dropdown--${size}`]: size, [`${prefix}--list-box--up`]: direction === 'top', - [`${prefix}--dropdown--autoalign`]: autoAlign, + [`${prefix}--autoalign`]: autoAlign, }); const titleClasses = cx(`${prefix}--label`, { diff --git a/packages/react/src/components/FluidNumberInput/FluidNumberInput.Skeleton.js b/packages/react/src/components/FluidNumberInput/FluidNumberInput.Skeleton.tsx similarity index 79% rename from packages/react/src/components/FluidNumberInput/FluidNumberInput.Skeleton.js rename to packages/react/src/components/FluidNumberInput/FluidNumberInput.Skeleton.tsx index 7de75db1d488..f44aa840e323 100644 --- a/packages/react/src/components/FluidNumberInput/FluidNumberInput.Skeleton.js +++ b/packages/react/src/components/FluidNumberInput/FluidNumberInput.Skeleton.tsx @@ -11,9 +11,18 @@ import classnames from 'classnames'; import { usePrefix } from '../../internal/usePrefix'; import { FormContext } from '../FluidForm/FormContext'; -function FluidNumberInputSkeleton({ className, ...other }) { - const prefix = usePrefix(); +export interface FluidNumberInputSkeletonProps { + /** + * Specify an optional className to be applied to the outer FluidForm wrapper + */ + className?: string; +} +const FluidNumberInputSkeleton: React.FC = ({ + className, + ...other +}) => { + const prefix = usePrefix(); return (
); -} +}; FluidNumberInputSkeleton.propTypes = { /** diff --git a/packages/react/src/components/FluidNumberInput/FluidNumberInput.js b/packages/react/src/components/FluidNumberInput/FluidNumberInput.tsx similarity index 56% rename from packages/react/src/components/FluidNumberInput/FluidNumberInput.js rename to packages/react/src/components/FluidNumberInput/FluidNumberInput.tsx index ed45d60fadb9..a04e26d46b55 100644 --- a/packages/react/src/components/FluidNumberInput/FluidNumberInput.js +++ b/packages/react/src/components/FluidNumberInput/FluidNumberInput.tsx @@ -12,10 +12,115 @@ import { NumberInput } from '../NumberInput'; import { usePrefix } from '../../internal/usePrefix'; import { FormContext } from '../FluidForm/FormContext'; -const FluidNumberInput = React.forwardRef(function FluidNumberInput( - { className, ...other }, - ref -) { +export interface FluidNumberInputProps { + /** + * `true` to allow empty string. + */ + allowEmpty?: boolean; + + /** + * Specify an optional className to be applied to the wrapper node + */ + className?: string; + + /** + * Optional starting value for uncontrolled state + */ + defaultValue?: number | string; + + /** + * Specify if the wheel functionality for the input should be disabled, or not + */ + disableWheel?: boolean; + + /** + * Specify if the control should be disabled, or not + */ + disabled?: boolean; + + /** + * Provide a description for up/down icons that can be read by screen readers + */ + iconDescription?: string; + + /** + * Specify a custom `id` for the input + */ + id: string; + + /** + * Specify if the currently value is invalid. + */ + invalid?: boolean; + + /** + * Message which is displayed if the value is invalid. + */ + invalidText?: React.ReactNode; + + /** + * Generic `label` that will be used as the textual representation of what + * this field is for + */ + label?: React.ReactNode; + + /** + * The maximum value. + */ + max?: number; + + /** + * The minimum value. + */ + min?: number; + + onChange?: ( + event: React.MouseEvent, + state: { value: number | string; direction: string } + ) => void; + + /** + * Provide an optional function to be called when the up/down button is clicked + */ + onClick?: ( + event: React.MouseEvent, + state?: { value: number | string; direction: string } + ) => void; + /** + * Provide an optional function to be called when a key is pressed in the number input + */ + onKeyUp?: React.KeyboardEventHandler; + + /** + * Specify how much the values should increase/decrease upon clicking on up/down button + */ + step?: number; + + /** + * Provide custom text for the component for each translation id + */ + translateWithId?: (id: string) => string; + + /** + * Specify the value of the input + */ + value?: number | string; + + /** + * Specify whether the control is currently in warning state + */ + warn?: boolean; + + /** + * Provide the text that is displayed when the control is in warning state + */ + warnText?: React.ReactNode; +} + +const FluidNumberInput: React.FC = React.forwardRef< + HTMLInputElement, + FluidNumberInputProps +>(function FluidNumberInput({ className, ...other }, ref) { const prefix = usePrefix(); const classNames = classnames(`${prefix}--number-input--fluid`, className); diff --git a/packages/react/src/components/FluidNumberInput/index.js b/packages/react/src/components/FluidNumberInput/index.tsx similarity index 61% rename from packages/react/src/components/FluidNumberInput/index.js rename to packages/react/src/components/FluidNumberInput/index.tsx index f74405e5134c..8ff834291761 100644 --- a/packages/react/src/components/FluidNumberInput/index.js +++ b/packages/react/src/components/FluidNumberInput/index.tsx @@ -4,7 +4,9 @@ * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ - +import { FluidNumberInputProps } from './FluidNumberInput'; +import { FluidNumberInputSkeletonProps } from './FluidNumberInput.Skeleton'; +export { type FluidNumberInputProps, type FluidNumberInputSkeletonProps }; export { default, default as FluidNumberInput } from './FluidNumberInput'; export { default as FluidNumberInputSkeleton } from './FluidNumberInput.Skeleton'; diff --git a/packages/react/src/components/FluidSearch/FluidSearch.Skeleton.js b/packages/react/src/components/FluidSearch/FluidSearch.Skeleton.tsx similarity index 79% rename from packages/react/src/components/FluidSearch/FluidSearch.Skeleton.js rename to packages/react/src/components/FluidSearch/FluidSearch.Skeleton.tsx index 7661dee8d15b..19e3b3948958 100644 --- a/packages/react/src/components/FluidSearch/FluidSearch.Skeleton.js +++ b/packages/react/src/components/FluidSearch/FluidSearch.Skeleton.tsx @@ -11,9 +11,18 @@ import classnames from 'classnames'; import { usePrefix } from '../../internal/usePrefix'; import { FormContext } from '../FluidForm/FormContext'; -function FluidSearchSkeleton({ className, ...other }) { - const prefix = usePrefix(); +export interface FluidSearchSkeletonProps { + /** + * Specify an optional className to be applied to the outer FluidForm wrapper + */ + className?: string; +} +const FluidSearchSkeleton: React.FC = ({ + className, + ...other +}) => { + const prefix = usePrefix(); return (
); -} +}; FluidSearchSkeleton.propTypes = { /** diff --git a/packages/react/src/components/FluidSearch/FluidSearch.js b/packages/react/src/components/FluidSearch/FluidSearch.tsx similarity index 57% rename from packages/react/src/components/FluidSearch/FluidSearch.js rename to packages/react/src/components/FluidSearch/FluidSearch.tsx index 18c209a5ba8f..9e81ebc10e01 100644 --- a/packages/react/src/components/FluidSearch/FluidSearch.js +++ b/packages/react/src/components/FluidSearch/FluidSearch.tsx @@ -12,10 +12,72 @@ import Search from '../Search'; import { usePrefix } from '../../internal/usePrefix'; import { FormContext } from '../FluidForm/FormContext'; -const FluidSearch = React.forwardRef(function FluidSearch( - { className, ...other }, - ref -) { +export interface FluidSearchProps { + /** + * Specify an optional value for the `autocomplete` property on the underlying + * ``, defaults to "off" + */ + autoComplete?: string; + /** + * Specify an optional className to be applied to the container node + */ + className?: string; + /** + * Specify a label to be read by screen readers on the "close" button + */ + closeButtonLabelText?: string; + /** + * Optionally provide the default value of the `` + */ + defaultValue?: string | number; + /** + * Specify whether the `` should be disabled + */ + disabled?: boolean; + /** + * Specify a custom `id` for the input + */ + id?: string; + /** + * Provide the label text for the Search icon + */ + labelText: React.ReactNode; + /** + * Optional callback called when the search value changes. + */ + onChange?(e: { target: HTMLInputElement; type: 'change' }): void; + /** + * Optional callback called when the search value is cleared. + */ + onClear?: () => void; + /** + * Provide a handler that is invoked on the key down event for the input + */ + onKeyDown?: React.KeyboardEventHandler; + /** + * Provide an optional placeholder text for the Search. + * Note: if the label and placeholder differ, + * VoiceOver on Mac will read both + */ + placeholder?: string; + /** + * Specify the role for the underlying ``, defaults to `searchbox` + */ + role?: string; + /** + * Optional prop to specify the type of the `` + */ + type?: string; + /** + * Specify the value of the `` + */ + value?: string | number; +} + +const FluidSearch: React.FC = React.forwardRef< + HTMLInputElement, + FluidSearchProps +>(function FluidSearch({ className, ...other }, ref) { const prefix = usePrefix(); const classNames = classnames(`${prefix}--search--fluid`, className); diff --git a/packages/react/src/components/FluidSearch/index.js b/packages/react/src/components/FluidSearch/index.tsx similarity index 63% rename from packages/react/src/components/FluidSearch/index.js rename to packages/react/src/components/FluidSearch/index.tsx index a2d1ed73877d..1898ea9253b4 100644 --- a/packages/react/src/components/FluidSearch/index.js +++ b/packages/react/src/components/FluidSearch/index.tsx @@ -5,6 +5,8 @@ * LICENSE file in the root directory of this source tree. */ +import { FluidSearchProps } from './FluidSearch'; +import { FluidSearchSkeletonProps } from './FluidSearch.Skeleton'; export { default, default as FluidSearch } from './FluidSearch'; - +export { type FluidSearchProps, type FluidSearchSkeletonProps }; export { default as FluidSearchSkeleton } from './FluidSearch.Skeleton'; diff --git a/packages/react/src/components/FluidSelect/FluidSelect.Skeleton.js b/packages/react/src/components/FluidSelect/FluidSelect.Skeleton.tsx similarity index 79% rename from packages/react/src/components/FluidSelect/FluidSelect.Skeleton.js rename to packages/react/src/components/FluidSelect/FluidSelect.Skeleton.tsx index 7e08e3e00574..6da57f9568b9 100644 --- a/packages/react/src/components/FluidSelect/FluidSelect.Skeleton.js +++ b/packages/react/src/components/FluidSelect/FluidSelect.Skeleton.tsx @@ -9,8 +9,17 @@ import PropTypes from 'prop-types'; import React from 'react'; import cx from 'classnames'; import { usePrefix } from '../../internal/usePrefix'; +export interface FluidSelectSkeletonProps { + /** + * Specify an optional className to add. + */ + className?: string; +} -const FluidSelectSkeleton = ({ className, ...rest }) => { +const FluidSelectSkeleton: React.FC = ({ + className, + ...rest +}) => { const prefix = usePrefix(); const wrapperClasses = cx( className, diff --git a/packages/react/src/components/FluidSelect/FluidSelect.js b/packages/react/src/components/FluidSelect/FluidSelect.js deleted file mode 100644 index 7ed9957bf2f0..000000000000 --- a/packages/react/src/components/FluidSelect/FluidSelect.js +++ /dev/null @@ -1,90 +0,0 @@ -/** - * Copyright IBM Corp. 2022 - * - * This source code is licensed under the Apache-2.0 license found in the - * LICENSE file in the root directory of this source tree. - */ - -import PropTypes from 'prop-types'; -import React from 'react'; -import classnames from 'classnames'; -import Select from '../Select'; -import { usePrefix } from '../../internal/usePrefix'; -import { FormContext } from '../FluidForm/FormContext'; - -const FluidSelect = React.forwardRef(function FluidSelect( - { className, children, ...other }, - ref -) { - const prefix = usePrefix(); - const classNames = classnames(`${prefix}--select--fluid`, className); - - return ( - - - - ); -}); - -FluidSelect.propTypes = { - /** - * Provide the contents of your Select - */ - children: PropTypes.node, - - /** - * Specify an optional className to be applied to the node containing the label and the select box - */ - className: PropTypes.string, - - /** - * Optionally provide the default value of the `` - */ - id: PropTypes.string.isRequired, - - /** - * Specify if the currently value is invalid. - */ - invalid: PropTypes.bool, - - /** - * Message which is displayed if the value is invalid. - */ - invalidText: PropTypes.node, - - /** - * Provide label text to be read by screen readers when interacting with the - * control - */ - labelText: PropTypes.node, - - /** - * Provide an optional `onChange` hook that is called each time the value of - * the underlying `` changes - */ - onChange: PropTypes.func, - - /** - * Specify whether the control is currently in warning state - */ - warn: PropTypes.bool, - - /** - * Provide the text that is displayed when the control is in warning state - */ - warnText: PropTypes.node, -}; - -export default FluidSelect; diff --git a/packages/react/src/components/FluidSelect/FluidSelect.tsx b/packages/react/src/components/FluidSelect/FluidSelect.tsx new file mode 100644 index 000000000000..0df2324164eb --- /dev/null +++ b/packages/react/src/components/FluidSelect/FluidSelect.tsx @@ -0,0 +1,148 @@ +/** + * Copyright IBM Corp. 2022 + * + * This source code is licensed under the Apache-2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + +import PropTypes from 'prop-types'; +import React from 'react'; +import classnames from 'classnames'; +import Select from '../Select'; +import { usePrefix } from '../../internal/usePrefix'; +import { FormContext } from '../FluidForm/FormContext'; + +export interface FluidSelectProps { + /** + * Provide the contents of your Select + */ + children?: React.ReactNode; + + /** + * Specify an optional className to be applied to the node containing the label and the select box + */ + className?: string; + + /** + * Optionally provide the default value of the `` + */ + id: string; + + /** + * Specify if the currently value is invalid. + */ + invalid?: boolean; + + /** + * Message which is displayed if the value is invalid. + */ + invalidText?: React.ReactNode; + + /** + * Provide label text to be read by screen readers when interacting with the + * control + */ + labelText?: React.ReactNode; + + /** + * Provide an optional `onChange` hook that is called each time the value of + * the underlying `` changes + */ + onChange?: React.ChangeEventHandler; + + /** + * Specify whether the control is currently in warning state + */ + warn?: boolean; + + /** + * Provide the text that is displayed when the control is in warning state + */ + warnText?: React.ReactNode; +} + +const FluidSelect = React.forwardRef( + function FluidSelect({ className, children, ...other }, ref) { + const prefix = usePrefix(); + const classNames = classnames(`${prefix}--select--fluid`, className); + + return ( + + + + ); + } +); + +FluidSelect.propTypes = { + /** + * Provide the contents of your Select + */ + children: PropTypes.node, + + /** + * Specify an optional className to be applied to the node containing the label and the select box + */ + className: PropTypes.string, + + /** + * Optionally provide the default value of the `` + */ + id: PropTypes.string.isRequired, + + /** + * Specify if the currently value is invalid. + */ + invalid: PropTypes.bool, + + /** + * Message which is displayed if the value is invalid. + */ + invalidText: PropTypes.node, + + /** + * Provide label text to be read by screen readers when interacting with the + * control + */ + labelText: PropTypes.node, + + /** + * Provide an optional `onChange` hook that is called each time the value of + * the underlying `` changes + */ + onChange: PropTypes.func, + + /** + * Specify whether the control is currently in warning state + */ + warn: PropTypes.bool, + + /** + * Provide the text that is displayed when the control is in warning state + */ + warnText: PropTypes.node, +}; + +export default FluidSelect; diff --git a/packages/react/src/components/FluidSelect/index.js b/packages/react/src/components/FluidSelect/index.tsx similarity index 65% rename from packages/react/src/components/FluidSelect/index.js rename to packages/react/src/components/FluidSelect/index.tsx index 8b784b62716f..269ccf5fb8c7 100644 --- a/packages/react/src/components/FluidSelect/index.js +++ b/packages/react/src/components/FluidSelect/index.tsx @@ -6,7 +6,9 @@ */ import FluidSelect from './FluidSelect'; - +import FluidSelectSkeletonProps from './FluidSelect.Skeleton'; +import FluidSelectProps from './FluidSelect.Skeleton'; +export type { FluidSelectSkeletonProps, FluidSelectProps }; export default FluidSelect; export { FluidSelect }; export { default as FluidSelectSkeleton } from './FluidSelect.Skeleton'; diff --git a/packages/react/src/components/FluidTextInput/FluidPasswordInput.js b/packages/react/src/components/FluidTextInput/FluidPasswordInput.tsx similarity index 57% rename from packages/react/src/components/FluidTextInput/FluidPasswordInput.js rename to packages/react/src/components/FluidTextInput/FluidPasswordInput.tsx index 8b54460d3687..688cf5bdc8be 100644 --- a/packages/react/src/components/FluidTextInput/FluidPasswordInput.js +++ b/packages/react/src/components/FluidTextInput/FluidPasswordInput.tsx @@ -12,7 +12,101 @@ import { PasswordInput } from '../PasswordInput'; import { usePrefix } from '../../internal/usePrefix'; import { FormContext } from '../FluidForm/FormContext'; -function FluidPasswordInput({ className, ...other }) { +export interface FluidPasswordInputProps { + /** + * Specify an optional className to be applied to the outer FluidForm wrapper + */ + className?: string; + + /** + * Optionally provide the default value of the `` + */ + defaultValue?: string | number; + + /** + * Specify whether the `` should be disabled + */ + disabled?: boolean; + + /** + * "Hide password" tooltip text on password visibility toggle + */ + hidePasswordLabel?: string; + + /** + * Specify a custom `id` for the `` + */ + id: string; + + /** + * Specify whether the control is currently invalid + */ + invalid?: boolean; + + /** + * Provide the text that is displayed when the control is in an invalid state + */ + invalidText?: React.ReactNode; + + /** + * Specify whether the control is a password input + */ + isPassword?: boolean; + + /** + * Provide the text that will be read by a screen reader when visiting this + * control + */ + labelText: React.ReactNode; + + /** + * Optionally provide an `onChange` handler that is called whenever `` + * is updated + */ + onChange?: React.ChangeEventHandler; + + /** + * Optionally provide an `onClick` handler that is called whenever the + * `` is clicked + */ + onClick?: React.MouseEventHandler; + + /** + * Callback function that is called whenever the toggle password visibility + * button is clicked + */ + onTogglePasswordVisibility?: React.MouseEventHandler; + + /** + * Specify the placeholder attribute for the `` + */ + placeholder?: string; + + /** + * "Show password" tooltip text on password visibility toggle + */ + showPasswordLabel?: string; + + /** + * Specify the value of the `` + */ + value?: string | number; + + /** + * Specify whether the control is currently in warning state + */ + warn?: boolean; + + /** + * Provide the text that is displayed when the control is in warning state + */ + warnText?: React.ReactNode; +} + +const FluidPasswordInput: React.FC = ({ + className, + ...other +}) => { const prefix = usePrefix(); const classNames = classnames(className, `${prefix}--text-input--fluid`); @@ -21,7 +115,7 @@ function FluidPasswordInput({ className, ...other }) { ); -} +}; FluidPasswordInput.propTypes = { /** diff --git a/packages/react/src/components/FluidTextInput/FluidTextInput.Skeleton.js b/packages/react/src/components/FluidTextInput/FluidTextInput.Skeleton.tsx similarity index 79% rename from packages/react/src/components/FluidTextInput/FluidTextInput.Skeleton.js rename to packages/react/src/components/FluidTextInput/FluidTextInput.Skeleton.tsx index 38e7e42c944a..a81c1767fa73 100644 --- a/packages/react/src/components/FluidTextInput/FluidTextInput.Skeleton.js +++ b/packages/react/src/components/FluidTextInput/FluidTextInput.Skeleton.tsx @@ -11,7 +11,17 @@ import classnames from 'classnames'; import { usePrefix } from '../../internal/usePrefix'; import { FormContext } from '../FluidForm/FormContext'; -function FluidTextInputSkeleton({ className, ...other }) { +export interface FluidTextInputSkeletonProps { + /** + * Specify an optional className to be applied to the outer FluidForm wrapper + */ + className?: string; +} + +const FluidTextInputSkeleton: React.FC = ({ + className, + ...other +}) => { const prefix = usePrefix(); return ( @@ -27,7 +37,7 @@ function FluidTextInputSkeleton({ className, ...other }) {
); -} +}; FluidTextInputSkeleton.propTypes = { /** diff --git a/packages/react/src/components/FluidTextInput/FluidTextInput.js b/packages/react/src/components/FluidTextInput/FluidTextInput.tsx similarity index 60% rename from packages/react/src/components/FluidTextInput/FluidTextInput.js rename to packages/react/src/components/FluidTextInput/FluidTextInput.tsx index a94dc34fd1cb..3cc5c7ec30bb 100644 --- a/packages/react/src/components/FluidTextInput/FluidTextInput.js +++ b/packages/react/src/components/FluidTextInput/FluidTextInput.tsx @@ -13,7 +13,85 @@ import { PasswordInput } from '../PasswordInput'; import { usePrefix } from '../../internal/usePrefix'; import { FormContext } from '../FluidForm/FormContext'; -function FluidTextInput({ className, isPassword, ...other }) { +export interface FluidTextInputProps { + /** + * Specify an optional className to be applied to the outer FluidForm wrapper + */ + className?: string; + + /** + * Optionally provide the default value of the `` + */ + defaultValue?: string | number; + + /** + * Specify whether the `` should be disabled + */ + disabled?: boolean; + + /** + * Specify a custom `id` for the `` + */ + id: string; + + /** + * Specify whether the control is currently invalid + */ + invalid?: boolean; + + /** + * Provide the text that is displayed when the control is in an invalid state + */ + invalidText?: React.ReactNode; + + /** + * Specify whether the control is a password input + */ + isPassword?: boolean; + + /** + * Provide the text that will be read by a screen reader when visiting this + * control + */ + labelText: React.ReactNode; + + /** + * Optionally provide an `onChange` handler that is called whenever `` + * is updated + */ + onChange?: (event: React.ChangeEvent) => void; + /** + * Optionally provide an `onClick` handler that is called whenever the + * `` is clicked + */ + onClick?: (event: React.MouseEvent) => void; + + /** + * Specify the placeholder attribute for the `` + */ + placeholder?: string; + + /** + * Specify the value of the `` + */ + value?: string | number; + + /** + * Specify whether the control is currently in warning state + */ + warn?: boolean; + + /** + * Provide the text that is displayed when the control is in warning state + */ + warnText?: React.ReactNode; +} + +const FluidTextInput: React.FC = ({ + className, + isPassword, + ...other +}) => { const prefix = usePrefix(); const classNames = classnames(className, { [`${prefix}--text-input--fluid`]: !isPassword, @@ -28,7 +106,7 @@ function FluidTextInput({ className, isPassword, ...other }) { )} ); -} +}; FluidTextInput.propTypes = { /** diff --git a/packages/react/src/components/FluidTextInput/index.js b/packages/react/src/components/FluidTextInput/index.tsx similarity index 51% rename from packages/react/src/components/FluidTextInput/index.js rename to packages/react/src/components/FluidTextInput/index.tsx index 6210b0d1d18f..60b5b758c057 100644 --- a/packages/react/src/components/FluidTextInput/index.js +++ b/packages/react/src/components/FluidTextInput/index.tsx @@ -7,9 +7,14 @@ import FluidTextInput from './FluidTextInput'; import FluidPasswordInput from './FluidPasswordInput'; - +import { type FluidTextInputSkeletonProps } from './FluidTextInput.Skeleton'; +import { type FluidPasswordInputProps } from './FluidPasswordInput'; +import { type FluidTextInputProps } from './FluidTextInput'; export default FluidTextInput; -export { FluidTextInput }; -export { FluidPasswordInput }; - +export { + FluidTextInput, + type FluidTextInputProps, + type FluidTextInputSkeletonProps, +}; +export { FluidPasswordInput, type FluidPasswordInputProps }; export { default as FluidTextInputSkeleton } from './FluidTextInput.Skeleton'; diff --git a/packages/react/src/components/Menu/Menu.tsx b/packages/react/src/components/Menu/Menu.tsx index 889e3d9a6d93..9e5cb634d552 100644 --- a/packages/react/src/components/Menu/Menu.tsx +++ b/packages/react/src/components/Menu/Menu.tsx @@ -424,6 +424,7 @@ const Menu = forwardRef(function Menu( [`${prefix}--menu--shown`]: (open && !legacyAutoalign) || (position[0] >= 0 && position[1] >= 0), [`${prefix}--menu--with-icons`]: childContext.state.hasIcons, + [`${prefix}--autoalign`]: !legacyAutoalign, } ); diff --git a/packages/react/src/components/Modal/Modal.stories.js b/packages/react/src/components/Modal/Modal.stories.js index 6002df50be4d..cc34bad00e93 100644 --- a/packages/react/src/components/Modal/Modal.stories.js +++ b/packages/react/src/components/Modal/Modal.stories.js @@ -12,9 +12,12 @@ import Modal from './Modal'; import Button from '../Button'; import Select from '../Select'; import MultiSelect from '../MultiSelect'; +import { Checkbox as CheckboxIcon } from '@carbon/icons-react'; +import { Popover, PopoverContent } from '../Popover'; import Dropdown from '../Dropdown'; import SelectItem from '../SelectItem'; import TextInput from '../TextInput'; +import ComboBox from '../ComboBox'; import mdx from './Modal.mdx'; import { StructuredListWrapper, @@ -295,6 +298,7 @@ export const WithScrollingContent = () => { export const Playground = ({ numberOfButtons, ...args }) => { const [open, setOpen] = useState(true); + const [popoverOpen, setPopoverOpen] = useState(false); return ( <> @@ -315,6 +319,21 @@ export const Playground = ({ numberOfButtons, ...args }) => { organization to a URL that you own. A custom domain can be a shared domain, a shared subdomain, or a shared domain and host.

+

+ Custom domains direct requests for your apps in this Cloud Foundry + organization to a URL that you own. A custom domain can be a shared + domain, a shared subdomain, or a shared domain and host. +

+

+ Custom domains direct requests for your apps in this Cloud Foundry + organization to a URL that you own. A custom domain can be a shared + domain, a shared subdomain, or a shared domain and host. +

+

+ Custom domains direct requests for your apps in this Cloud Foundry + organization to a URL that you own. A custom domain can be a shared + domain, a shared subdomain, or a shared domain and host. +

{ placeholder="e.g. github.com" style={{ marginBottom: '1rem' }} /> - + + { itemToString={(item) => (item ? item.text : '')} direction="top" /> + (item ? item.text : '')} + />

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean id @@ -373,6 +428,23 @@ export const Playground = ({ numberOfButtons, ...args }) => { condimentum risus. Nulla facilisi. Etiam venenatis molestie tellus. Quisque consectetur non risus eu rutrum.{' '}

+ + +
+ { + setPopoverOpen(!popoverOpen); + }} + /> +
+ +

Popover Example

+

+ This server has 150 GB of block storage remaining. +

+
+
+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean id accumsan augue. Phasellus consequat augue vitae tellus tincidunt diff --git a/packages/react/src/components/MultiSelect/FilterableMultiSelect.tsx b/packages/react/src/components/MultiSelect/FilterableMultiSelect.tsx index e0a9a2def1f3..eef35bc96692 100644 --- a/packages/react/src/components/MultiSelect/FilterableMultiSelect.tsx +++ b/packages/react/src/components/MultiSelect/FilterableMultiSelect.tsx @@ -462,6 +462,7 @@ const FilterableMultiSelect = React.forwardRef(function FilterableMultiSelect< [`${prefix}--list-box__wrapper--fluid--invalid`]: isFluid && invalid, [`${prefix}--list-box__wrapper--fluid--focus`]: isFluid && isFocused, [`${prefix}--list-box__wrapper--slug`]: slug, + [`${prefix}--autoalign`]: autoAlign, } ); const helperId = !helperText @@ -506,11 +507,12 @@ const FilterableMultiSelect = React.forwardRef(function FilterableMultiSelect< const nextIsOpen = forceIsOpen ?? !isOpen; setIsOpen(nextIsOpen); validateHighlightFocus(); - if (onMenuChange) { - onMenuChange(nextIsOpen); - } } + useEffect(() => { + onMenuChange?.(isOpen); + }, [isOpen, onMenuChange]); + const { getToggleButtonProps, getLabelProps, diff --git a/packages/react/src/components/MultiSelect/MultiSelect.stories.js b/packages/react/src/components/MultiSelect/MultiSelect.stories.js index 3a51d62a2a20..e7d43a14ceef 100644 --- a/packages/react/src/components/MultiSelect/MultiSelect.stories.js +++ b/packages/react/src/components/MultiSelect/MultiSelect.stories.js @@ -306,6 +306,9 @@ Filterable.argTypes = { onChange: { action: 'onChange', }, + onMenuChange: { + action: 'onMenuChange', + }, }; export const WithLayerMultiSelect = () => ( diff --git a/packages/react/src/components/MultiSelect/MultiSelect.tsx b/packages/react/src/components/MultiSelect/MultiSelect.tsx index 380abda132f7..392f16774cba 100644 --- a/packages/react/src/components/MultiSelect/MultiSelect.tsx +++ b/packages/react/src/components/MultiSelect/MultiSelect.tsx @@ -551,6 +551,7 @@ const MultiSelect = React.forwardRef( selectedItems && selectedItems.length > 0, [`${prefix}--list-box--up`]: direction === 'top', [`${prefix}--multi-select--readonly`]: readOnly, + [`${prefix}--autoalign`]: autoAlign, [`${prefix}--multi-select--selectall`]: selectAll, }); diff --git a/packages/react/src/components/MultiSelect/__tests__/FilterableMultiSelect-test.js b/packages/react/src/components/MultiSelect/__tests__/FilterableMultiSelect-test.js index 6bf43cb854c6..a6af8ad0e00d 100644 --- a/packages/react/src/components/MultiSelect/__tests__/FilterableMultiSelect-test.js +++ b/packages/react/src/components/MultiSelect/__tests__/FilterableMultiSelect-test.js @@ -47,6 +47,22 @@ describe('FilterableMultiSelect', () => { expect(screen.getAllByRole('option').length).toBe(mockProps.items.length); }); + it('should call `onMenuChange` when the user clicks on the combobox', async () => { + render(); + await waitForPosition(); + + await userEvent.click(screen.getByRole('combobox')); + expect(mockProps.onMenuChange).toHaveBeenCalledWith(true); + }); + + it('should call `onMenuChange` when the user clicks on the screen', async () => { + render(); + await waitForPosition(); + + await userEvent.click(document.body); + expect(mockProps.onMenuChange).toHaveBeenCalledWith(false); + }); + it('should initially have the menu open when open prop is provided', async () => { render(); await waitForPosition(); @@ -54,6 +70,13 @@ describe('FilterableMultiSelect', () => { assertMenuOpen(mockProps); }); + it('should call `onMenuChange` when open prop is provided', async () => { + render(); + await waitForPosition(); + + expect(mockProps.onMenuChange).toHaveBeenCalledWith(true); + }); + it('should open the menu with a down arrow', async () => { render(); await waitForPosition(); @@ -64,6 +87,15 @@ describe('FilterableMultiSelect', () => { expect(screen.getAllByRole('option').length).toBe(mockProps.items.length); }); + it('should call `onMenuChange` when the user types a down arrow', async () => { + render(); + await waitForPosition(); + + const menuIconNode = findMenuIconNode(); + await userEvent.type(menuIconNode, '{arrowdown}'); + expect(mockProps.onMenuChange).toHaveBeenCalledWith(true); + }); + it('should let the user toggle the menu by the menu icon', async () => { render(); await waitForPosition(); @@ -76,6 +108,17 @@ describe('FilterableMultiSelect', () => { assertMenuClosed(); }); + it('should call `onMenuChange` when the user toggles the menu by the menu icon', async () => { + render(); + await waitForPosition(); + + await userEvent.click(findMenuIconNode()); + expect(mockProps.onMenuChange).toHaveBeenCalledWith(true); + + await userEvent.click(findMenuIconNode()); + expect(mockProps.onMenuChange).toHaveBeenCalledWith(false); + }); + it('should not close the menu after a user makes a selection', async () => { render(); await waitForPosition(); diff --git a/packages/react/src/components/Notification/Notification.tsx b/packages/react/src/components/Notification/Notification.tsx index 83ce57ef3ac1..8ac2b621d493 100644 --- a/packages/react/src/components/Notification/Notification.tsx +++ b/packages/react/src/components/Notification/Notification.tsx @@ -62,7 +62,10 @@ function useEscapeToClose(ref, callback, override = true) { }; useIsomorphicEffect(() => { - document.addEventListener('keydown', handleKeyDown, false); + if (ref.current !== null) { + document.addEventListener('keydown', handleKeyDown, false); + } + return () => document.removeEventListener('keydown', handleKeyDown, false); }); } diff --git a/packages/react/src/components/NumberInput/NumberInput.stories.js b/packages/react/src/components/NumberInput/NumberInput.stories.js index e01818e66ca2..f43f094982dc 100644 --- a/packages/react/src/components/NumberInput/NumberInput.stories.js +++ b/packages/react/src/components/NumberInput/NumberInput.stories.js @@ -81,26 +81,38 @@ export const withAILabel = () => ( />

); +export const Skeleton = () => ; +export const Playground = ({ ...args }) => { + const [value, setValue] = React.useState(50); + + const handleChange = (event, { value }) => { + setValue(value); + }; -export const Playground = (args) => { - // const { numberInputArrowTranslationIds, ...rest } = props(); return ( ); }; Playground.args = { + step: 1, + disabled: false, + invalid: false, + invalidText: 'Number is not valid', + helperText: 'Optional helper text.', + warn: false, warnText: 'Warning message that is really long can wrap to more lines but should not be excessively long.', + size: 'md', }; Playground.argTypes = { @@ -109,52 +121,38 @@ Playground.argTypes = { disable: true, }, }, - defaultValue: { + min: { control: { type: 'number' } }, + max: { control: { type: 'number' } }, + step: { control: { type: 'number' } }, + disabled: { control: { type: 'boolean' } }, + invalid: { control: { type: 'boolean' } }, + invalidText: { control: { type: 'text' } }, + warn: { control: { type: 'boolean' } }, + warnText: { control: { type: 'text' } }, + size: { + options: ['sm', 'md', 'lg'], + control: { type: 'select' }, + }, + label: { control: { type: 'text' } }, + helperText: { control: { type: 'text' } }, + id: { table: { disable: true, }, }, - helperText: { - control: { type: 'text' }, - }, - id: { + defaultValue: { table: { disable: true, }, }, - invalidText: { - control: { type: 'text' }, - }, - label: { - control: { type: 'text' }, - }, light: { table: { disable: true, }, }, - onChange: { - action: 'onChange', - }, - onClick: { - action: 'onClick', - }, - onKeyUp: { - action: 'onKeyUp', - }, translateWithId: { table: { disable: true, }, }, - value: { - control: { type: 'text' }, - }, - warnText: { - control: { - type: 'text', - }, - }, }; - -export const Skeleton = () => ; diff --git a/packages/react/src/components/OverflowMenu/next/index.tsx b/packages/react/src/components/OverflowMenu/next/index.tsx index b291398a4fca..e8d7d429bbb8 100644 --- a/packages/react/src/components/OverflowMenu/next/index.tsx +++ b/packages/react/src/components/OverflowMenu/next/index.tsx @@ -160,7 +160,8 @@ const OverflowMenu = React.forwardRef( const containerClasses = classNames( className, - `${prefix}--overflow-menu__container` + `${prefix}--overflow-menu__container`, + { [`${prefix}--autoalign`]: autoAlign } ); const menuClasses = classNames( diff --git a/packages/react/src/components/Pagination/Pagination-test.js b/packages/react/src/components/Pagination/Pagination-test.js index 9834c5db3162..4dbcd47eef73 100644 --- a/packages/react/src/components/Pagination/Pagination-test.js +++ b/packages/react/src/components/Pagination/Pagination-test.js @@ -222,6 +222,11 @@ describe('Pagination', () => { ).not.toBeInTheDocument(); }); + it('Next button should be enabled if totalItems undefined and pagesUnknown is true', () => { + render(); + expect(screen.getByLabelText('Next page')).not.toBeDisabled(); + }); + it('should handle zero total items', () => { render( { page={1} /> ); - + expect(screen.getByLabelText('Next page')).toBeDisabled(); expect(screen.getByText('0–0 of 0 items')).toBeInTheDocument(); }); }); diff --git a/packages/react/src/components/Pagination/Pagination.tsx b/packages/react/src/components/Pagination/Pagination.tsx index 303e76f376ca..a2ced30374b2 100644 --- a/packages/react/src/components/Pagination/Pagination.tsx +++ b/packages/react/src/components/Pagination/Pagination.tsx @@ -225,7 +225,8 @@ const Pagination = React.forwardRef(function Pagination( [`${prefix}--pagination__button--backward`]: true, [`${prefix}--pagination__button--no-index`]: backButtonDisabled, }); - const forwardButtonDisabled = disabled || page === totalPages; + const forwardButtonDisabled = + disabled || (page === totalPages && !pagesUnknown); const forwardButtonClasses = cx({ [`${prefix}--pagination__button`]: true, [`${prefix}--pagination__button--forward`]: true, diff --git a/packages/react/src/components/Popover/index.tsx b/packages/react/src/components/Popover/index.tsx index b71854c40d50..ca488189094a 100644 --- a/packages/react/src/components/Popover/index.tsx +++ b/packages/react/src/components/Popover/index.tsx @@ -347,7 +347,7 @@ export const Popover: PopoverComponent = React.forwardRef( [`${prefix}--popover--drop-shadow`]: dropShadow, [`${prefix}--popover--high-contrast`]: highContrast, [`${prefix}--popover--open`]: open, - [`${prefix}--popover--auto-align`]: autoAlign, + [`${prefix}--popover--auto-align ${prefix}--autoalign`]: autoAlign, [`${prefix}--popover--${currentAlignment}`]: true, [`${prefix}--popover--tab-tip`]: isTabTip, }, diff --git a/packages/react/src/components/Slider/Slider-test.js b/packages/react/src/components/Slider/Slider-test.js index 9f694b8d4ca6..07e4f3fc46ff 100644 --- a/packages/react/src/components/Slider/Slider-test.js +++ b/packages/react/src/components/Slider/Slider-test.js @@ -296,7 +296,7 @@ describe('Slider', () => { expect(onChange).not.toHaveBeenCalled(); }); - it('gracefully tolerates empty event passed to _onDrag', () => { + it.skip('gracefully tolerates empty event passed to _onDrag', () => { const { mouseDown, mouseUp, mouseMove } = fireEvent; const { container } = renderSlider({ ariaLabelInput: inputAriaValue, diff --git a/packages/react/src/components/Tabs/Tabs.tsx b/packages/react/src/components/Tabs/Tabs.tsx index ac40ba21698f..ee9ecb0d1f3d 100644 --- a/packages/react/src/components/Tabs/Tabs.tsx +++ b/packages/react/src/components/Tabs/Tabs.tsx @@ -1242,8 +1242,8 @@ const Tab = forwardRef(function Tab( ).filter((node) => { const element = node as HTMLElement; return ( - element.classList.contains('cds--tabs__nav-link') && - !element.classList.contains('cds--tabs__nav-item--disabled') + element.classList.contains(`${prefix}--tabs__nav-link`) && + !element.classList.contains(`${prefix}--tabs__nav-item--disabled`) ); }).length; diff --git a/packages/react/src/components/Tag/DismissibleTag.tsx b/packages/react/src/components/Tag/DismissibleTag.tsx index 755eb620cd28..7221b3ef3a13 100644 --- a/packages/react/src/components/Tag/DismissibleTag.tsx +++ b/packages/react/src/components/Tag/DismissibleTag.tsx @@ -60,6 +60,11 @@ export interface DismissibleTagBaseProps { */ text?: string; + /** + * Provide a custom `title` to be inserted in the tag. + */ + tagTitle?: string; + /** * Text to show on clear filters */ @@ -86,6 +91,7 @@ const DismissibleTag = ({ slug, size, text, + tagTitle, type, ...other }: DismissibleTagProps) => { @@ -138,7 +144,9 @@ const DismissibleTag = ({ id={tagId} {...otherProps}>
- + {text} ({ className={`${prefix}--tag__close-icon`} onClick={handleClose} disabled={disabled} - aria-label={title} - title={title}> + aria-label={title}> @@ -205,6 +212,11 @@ DismissibleTag.propTypes = { */ text: PropTypes.string, + /** + * Provide a custom `title` to be inserted in the tag. + */ + tagTitle: PropTypes.string, + /** * Text to show on clear filters */ diff --git a/packages/react/src/components/Tag/InteractiveTag.stories.js b/packages/react/src/components/Tag/InteractiveTag.stories.js index 65f78b24dcbe..e5c450254e96 100644 --- a/packages/react/src/components/Tag/InteractiveTag.stories.js +++ b/packages/react/src/components/Tag/InteractiveTag.stories.js @@ -15,6 +15,7 @@ import { Popover, PopoverContent } from '../Popover'; import mdx from './InteractiveTag.mdx'; import './storyInteractiveTag.scss'; import { Text } from '../Text'; +import Button from '../Button'; export default { title: 'Experimental/unstable__InteractiveTag', @@ -28,7 +29,7 @@ export default { export const Selectable = (args) => { return ( - <> +
{ className="some-class" {...args} /> - +
); }; @@ -93,7 +94,10 @@ export const Operational = (args) => { return ( <> -
+
{ display: 'flex', justifyContent: 'flex-start', marginTop: '1rem', - }}> + }} + aria-label="Operational tags with Popover" + role="group"> {/* High contrast example */} { + const tags = [ + { + type: 'red', + text: 'Tag content with a long text description', + tagTitle: 'Provide a custom title to the tag', + }, + { + type: 'magenta', + text: 'Tag content 1', + }, + { + type: 'purple', + text: 'Tag content 2', + }, + { + type: 'blue', + text: 'Tag content 3', + }, + { + type: 'cyan', + text: 'Tag content 4', + }, + { + type: 'teal', + text: 'Tag content 5', + }, + { + type: 'green', + text: 'Tag content 6', + }, + { + type: 'gray', + text: 'Tag content 7', + }, + { + type: 'cool-gray', + text: 'Tag content 8', + }, + { + type: 'warm-gray', + text: 'Tag content 9', + }, + { + type: 'high-contrast', + text: 'Tag content 10', + }, + { + type: 'outline', + text: 'Tag content 11', + }, + ]; + + const [renderedTags, setRenderedTags] = useState(tags); + + const handleClose = (removedTag) => { + const newTags = renderedTags.filter((tag) => tag !== removedTag); + setRenderedTags(newTags); + }; + + const resetTabs = () => { + setRenderedTags(tags); + }; + return ( <> - - - - - - - - - - - - + +
+
+ {renderedTags.map((tag, index) => ( + { + e.preventDefault(); + handleClose(tag); + }} + {...args} + /> + ))} +
); }; diff --git a/packages/react/src/components/Tag/Tag.tsx b/packages/react/src/components/Tag/Tag.tsx index 3fc5e7176920..115fade0449b 100644 --- a/packages/react/src/components/Tag/Tag.tsx +++ b/packages/react/src/components/Tag/Tag.tsx @@ -242,7 +242,11 @@ const Tag = React.forwardRef(function Tag( className={`${prefix}--definition--tooltip--tag`}> {children !== null && children !== undefined ? children : typeText} @@ -251,7 +255,11 @@ const Tag = React.forwardRef(function Tag( ) : ( {children !== null && children !== undefined ? children : typeText} diff --git a/packages/react/src/components/Toggletip/index.tsx b/packages/react/src/components/Toggletip/index.tsx index c04613c5e556..c30d5c31f6a3 100644 --- a/packages/react/src/components/Toggletip/index.tsx +++ b/packages/react/src/components/Toggletip/index.tsx @@ -110,6 +110,7 @@ export function Toggletip({ const id = useId(); const className = cx(`${prefix}--toggletip`, customClassName, { [`${prefix}--toggletip--open`]: open, + [`${prefix}--autoalign`]: autoAlign, }); const actions = { toggle: () => { diff --git a/packages/react/src/components/UIShell/HeaderPanel.tsx b/packages/react/src/components/UIShell/HeaderPanel.tsx index 6581045269b5..3c7855d18efc 100644 --- a/packages/react/src/components/UIShell/HeaderPanel.tsx +++ b/packages/react/src/components/UIShell/HeaderPanel.tsx @@ -90,7 +90,9 @@ const HeaderPanel: React.FC = React.forwardRef( eventHandlers.onBlur = (event) => { if ( !event.currentTarget.contains(event.relatedTarget) && - !lastClickedElement?.classList?.contains('cds--switcher__item-link') + !lastClickedElement?.classList?.contains( + `${prefix}--switcher__item-link` + ) ) { setExpandedState(false); setLastClickedElement(null); diff --git a/packages/styles/package.json b/packages/styles/package.json index 6f4ea76382f4..9a73d83d7479 100644 --- a/packages/styles/package.json +++ b/packages/styles/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/styles", "description": "Styles for the Carbon Design System", - "version": "1.65.0-rc.0", + "version": "1.65.0", "license": "Apache-2.0", "repository": { "type": "git", @@ -40,18 +40,18 @@ } }, "dependencies": { - "@carbon/colors": "^11.26.0-rc.0", + "@carbon/colors": "^11.26.0", "@carbon/feature-flags": "^0.22.0", - "@carbon/grid": "^11.27.0-rc.0", - "@carbon/layout": "^11.26.0-rc.0", - "@carbon/motion": "^11.22.0-rc.0", - "@carbon/themes": "^11.40.0-rc.0", - "@carbon/type": "^11.31.0-rc.0", + "@carbon/grid": "^11.27.0", + "@carbon/layout": "^11.26.0", + "@carbon/motion": "^11.22.0", + "@carbon/themes": "^11.40.0", + "@carbon/type": "^11.31.0", "@ibm/plex": "6.0.0-next.6", "@ibm/telemetry-js": "^1.5.0" }, "devDependencies": { - "@carbon/test-utils": "^10.32.0-rc.0", + "@carbon/test-utils": "^10.32.0", "autoprefixer": "^10.4.7", "browserslist-config-carbon": "^11.2.0", "css": "^3.0.0", diff --git a/packages/styles/scss/components/modal/_modal.scss b/packages/styles/scss/components/modal/_modal.scss index 6a7785de785d..7265a53c8d67 100644 --- a/packages/styles/scss/components/modal/_modal.scss +++ b/packages/styles/scss/components/modal/_modal.scss @@ -272,7 +272,7 @@ } //removing mask image in case we have dropdown in modal - .#{$prefix}--modal-scroll-content:has(.#{$prefix}--dropdown--autoalign) { + .#{$prefix}--modal-scroll-content:has(.#{$prefix}--autoalign) { mask-image: none; } diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index 9cbf71285e08..25592799cfd5 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/test-utils", "private": true, - "version": "10.32.0-rc.0", + "version": "10.32.0", "license": "Apache-2.0", "repository": { "type": "git", diff --git a/packages/themes/package.json b/packages/themes/package.json index ada4b47128e8..5398d4a30371 100644 --- a/packages/themes/package.json +++ b/packages/themes/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/themes", "description": "Themes for applying color in the Carbon Design System", - "version": "11.40.0-rc.0", + "version": "11.40.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -31,19 +31,19 @@ "postinstall": "ibmtelemetry --config=telemetry.yml" }, "dependencies": { - "@carbon/colors": "^11.26.0-rc.0", - "@carbon/layout": "^11.26.0-rc.0", - "@carbon/type": "^11.31.0-rc.0", + "@carbon/colors": "^11.26.0", + "@carbon/layout": "^11.26.0", + "@carbon/type": "^11.31.0", "@ibm/telemetry-js": "^1.5.0", "color": "^4.0.0" }, "devDependencies": { "@babel/node": "^7.24.7", "@babel/preset-env": "^7.24.7", - "@carbon/cli": "^11.21.0-rc.0", + "@carbon/cli": "^11.21.0", "@carbon/cli-reporter": "^10.7.0", "@carbon/scss-generator": "^10.18.0", - "@carbon/test-utils": "^10.32.0-rc.0", + "@carbon/test-utils": "^10.32.0", "change-case": "^4.1.1", "core-js": "^3.16.0", "fs-extra": "^11.0.0", diff --git a/packages/themes/src/g100.js b/packages/themes/src/g100.js index 31c06509fd48..eaac675c5f96 100644 --- a/packages/themes/src/g100.js +++ b/packages/themes/src/g100.js @@ -10,7 +10,7 @@ import { blue40, blue60, blue70, - blue80, + blue90, // Gray gray10, @@ -204,7 +204,7 @@ export const skeletonElement = gray80; // Misc export const interactive = blue50; -export const highlight = blue80; +export const highlight = blue90; export const overlay = rgba(black, 0.65); export const toggleOff = gray60; export const shadow = rgba(black, 0.8); diff --git a/packages/themes/src/g90.js b/packages/themes/src/g90.js index c3e499bbbed1..7808c90c5b45 100644 --- a/packages/themes/src/g90.js +++ b/packages/themes/src/g90.js @@ -10,6 +10,7 @@ import { blue40, blue60, blue70, + blue80, // Gray gray10, @@ -204,7 +205,7 @@ export const skeletonElement = gray70; // Misc export const interactive = blue50; -export const highlight = blue70; +export const highlight = blue80; export const overlay = rgba(black, 0.65); export const toggleOff = gray50; export const shadow = rgba(black, 0.8); diff --git a/packages/type/package.json b/packages/type/package.json index ddf6b6b2e713..669994ea3bcd 100644 --- a/packages/type/package.json +++ b/packages/type/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/type", "description": "Typography for digital and software products using the Carbon Design System", - "version": "11.31.0-rc.0", + "version": "11.31.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -40,13 +40,13 @@ "postinstall": "ibmtelemetry --config=telemetry.yml" }, "dependencies": { - "@carbon/grid": "^11.27.0-rc.0", - "@carbon/layout": "^11.26.0-rc.0", + "@carbon/grid": "^11.27.0", + "@carbon/layout": "^11.26.0", "@ibm/telemetry-js": "^1.5.0" }, "devDependencies": { - "@carbon/cli": "^11.21.0-rc.0", - "@carbon/test-utils": "^10.32.0-rc.0", + "@carbon/cli": "^11.21.0", + "@carbon/test-utils": "^10.32.0", "change-case": "^4.1.1", "css": "^3.0.0", "rimraf": "^6.0.0" diff --git a/packages/upgrade/package.json b/packages/upgrade/package.json index 20bc48515679..87987553304d 100644 --- a/packages/upgrade/package.json +++ b/packages/upgrade/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/upgrade", "description": "A tool for upgrading Carbon versions", - "version": "11.16.0", + "version": "11.17.0", "license": "Apache-2.0", "bin": { "carbon-upgrade": "./bin/carbon-upgrade.js" diff --git a/www/package.json b/www/package.json index 9a2a0b285337..2c3e0d49d600 100644 --- a/www/package.json +++ b/www/package.json @@ -1,7 +1,7 @@ { "name": "www", "private": true, - "version": "0.75.0-rc.0", + "version": "0.75.0", "license": "Apache-2.0", "repository": { "type": "git", @@ -22,7 +22,7 @@ "start": "next start" }, "dependencies": { - "@carbon/react": "^1.66.0-rc.0", + "@carbon/react": "^1.66.0", "@octokit/core": "^4.0.0", "@octokit/plugin-retry": "^3.0.9", "@octokit/plugin-throttling": "^4.0.0", diff --git a/yarn.lock b/yarn.lock index d5a4b5a6d972..ac2d0aedf4cc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1720,7 +1720,7 @@ __metadata: languageName: unknown linkType: soft -"@carbon/cli@npm:^11.21.0-rc.0, @carbon/cli@workspace:packages/cli": +"@carbon/cli@npm:^11.21.0, @carbon/cli@workspace:packages/cli": version: 0.0.0-use.local resolution: "@carbon/cli@workspace:packages/cli" dependencies: @@ -1759,14 +1759,14 @@ __metadata: languageName: unknown linkType: soft -"@carbon/colors@npm:^11.26.0-rc.0, @carbon/colors@workspace:packages/colors": +"@carbon/colors@npm:^11.26.0, @carbon/colors@workspace:packages/colors": version: 0.0.0-use.local resolution: "@carbon/colors@workspace:packages/colors" dependencies: - "@carbon/cli": "npm:^11.21.0-rc.0" + "@carbon/cli": "npm:^11.21.0" "@carbon/cli-reporter": "npm:^10.7.0" "@carbon/scss-generator": "npm:^10.18.0" - "@carbon/test-utils": "npm:^10.32.0-rc.0" + "@carbon/test-utils": "npm:^10.32.0" "@ibm/telemetry-js": "npm:^1.5.0" change-case: "npm:^4.1.1" fs-extra: "npm:^11.0.0" @@ -1778,14 +1778,14 @@ __metadata: version: 0.0.0-use.local resolution: "@carbon/elements@workspace:packages/elements" dependencies: - "@carbon/cli": "npm:^11.21.0-rc.0" - "@carbon/colors": "npm:^11.26.0-rc.0" - "@carbon/grid": "npm:^11.27.0-rc.0" - "@carbon/icons": "npm:^11.49.0-rc.0" - "@carbon/layout": "npm:^11.26.0-rc.0" - "@carbon/motion": "npm:^11.22.0-rc.0" - "@carbon/themes": "npm:^11.40.0-rc.0" - "@carbon/type": "npm:^11.31.0-rc.0" + "@carbon/cli": "npm:^11.21.0" + "@carbon/colors": "npm:^11.26.0" + "@carbon/grid": "npm:^11.27.0" + "@carbon/icons": "npm:^11.49.0" + "@carbon/layout": "npm:^11.26.0" + "@carbon/motion": "npm:^11.22.0" + "@carbon/themes": "npm:^11.40.0" + "@carbon/type": "npm:^11.31.0" "@ibm/telemetry-js": "npm:^1.5.0" fs-extra: "npm:^11.0.0" klaw-sync: "npm:^6.0.0" @@ -1816,18 +1816,18 @@ __metadata: languageName: unknown linkType: soft -"@carbon/grid@npm:^11.27.0-rc.0, @carbon/grid@workspace:packages/grid": +"@carbon/grid@npm:^11.27.0, @carbon/grid@workspace:packages/grid": version: 0.0.0-use.local resolution: "@carbon/grid@workspace:packages/grid" dependencies: - "@carbon/cli": "npm:^11.21.0-rc.0" - "@carbon/layout": "npm:^11.26.0-rc.0" + "@carbon/cli": "npm:^11.21.0" + "@carbon/layout": "npm:^11.26.0" "@ibm/telemetry-js": "npm:^1.5.0" rimraf: "npm:^6.0.0" languageName: unknown linkType: soft -"@carbon/icon-build-helpers@npm:^1.30.0-rc.0, @carbon/icon-build-helpers@workspace:packages/icon-build-helpers": +"@carbon/icon-build-helpers@npm:^1.30.0, @carbon/icon-build-helpers@workspace:packages/icon-build-helpers": version: 0.0.0-use.local resolution: "@carbon/icon-build-helpers@workspace:packages/icon-build-helpers" dependencies: @@ -1838,7 +1838,7 @@ __metadata: "@babel/template": "npm:^7.24.7" "@babel/types": "npm:^7.24.7" "@carbon/cli-reporter": "npm:^10.7.0" - "@carbon/icon-helpers": "npm:^10.52.0-rc.0" + "@carbon/icon-helpers": "npm:^10.52.0" "@hapi/joi": "npm:^17.1.1" "@rollup/plugin-babel": "npm:^6.0.0" "@rollup/plugin-replace": "npm:^5.0.0" @@ -1863,24 +1863,24 @@ __metadata: languageName: unknown linkType: soft -"@carbon/icon-helpers@npm:^10.52.0-rc.0, @carbon/icon-helpers@workspace:packages/icon-helpers": +"@carbon/icon-helpers@npm:^10.52.0, @carbon/icon-helpers@workspace:packages/icon-helpers": version: 0.0.0-use.local resolution: "@carbon/icon-helpers@workspace:packages/icon-helpers" dependencies: - "@carbon/cli": "npm:^11.21.0-rc.0" + "@carbon/cli": "npm:^11.21.0" "@ibm/telemetry-js": "npm:^1.5.0" rimraf: "npm:^6.0.0" typescript-config-carbon: "npm:^0.3.0" languageName: unknown linkType: soft -"@carbon/icons-react@npm:^11.49.0-rc.0, @carbon/icons-react@workspace:packages/icons-react": +"@carbon/icons-react@npm:^11.49.0, @carbon/icons-react@workspace:packages/icons-react": version: 0.0.0-use.local resolution: "@carbon/icons-react@workspace:packages/icons-react" dependencies: - "@carbon/icon-build-helpers": "npm:^1.30.0-rc.0" - "@carbon/icon-helpers": "npm:^10.52.0-rc.0" - "@carbon/icons": "npm:^11.49.0-rc.0" + "@carbon/icon-build-helpers": "npm:^1.30.0" + "@carbon/icon-helpers": "npm:^10.52.0" + "@carbon/icons": "npm:^11.49.0" "@ibm/telemetry-js": "npm:^1.5.0" prop-types: "npm:^15.7.2" rimraf: "npm:^6.0.0" @@ -1894,8 +1894,8 @@ __metadata: resolution: "@carbon/icons-vue@workspace:packages/icons-vue" dependencies: "@carbon/cli-reporter": "npm:^10.7.0" - "@carbon/icon-helpers": "npm:^10.52.0-rc.0" - "@carbon/icons": "npm:^11.49.0-rc.0" + "@carbon/icon-helpers": "npm:^10.52.0" + "@carbon/icons": "npm:^11.49.0" "@ibm/telemetry-js": "npm:^1.5.0" fs-extra: "npm:^11.0.0" prettier: "npm:^2.8.8" @@ -1905,36 +1905,36 @@ __metadata: languageName: unknown linkType: soft -"@carbon/icons@npm:^11.49.0-rc.0, @carbon/icons@workspace:packages/icons": +"@carbon/icons@npm:^11.49.0, @carbon/icons@workspace:packages/icons": version: 0.0.0-use.local resolution: "@carbon/icons@workspace:packages/icons" dependencies: - "@carbon/cli": "npm:^11.21.0-rc.0" - "@carbon/icon-build-helpers": "npm:^1.30.0-rc.0" + "@carbon/cli": "npm:^11.21.0" + "@carbon/icon-build-helpers": "npm:^1.30.0" "@ibm/telemetry-js": "npm:^1.5.0" rimraf: "npm:^6.0.0" languageName: unknown linkType: soft -"@carbon/layout@npm:^11.26.0-rc.0, @carbon/layout@workspace:packages/layout": +"@carbon/layout@npm:^11.26.0, @carbon/layout@workspace:packages/layout": version: 0.0.0-use.local resolution: "@carbon/layout@workspace:packages/layout" dependencies: - "@carbon/cli": "npm:^11.21.0-rc.0" + "@carbon/cli": "npm:^11.21.0" "@carbon/cli-reporter": "npm:^10.7.0" "@carbon/scss-generator": "npm:^10.18.0" - "@carbon/test-utils": "npm:^10.32.0-rc.0" + "@carbon/test-utils": "npm:^10.32.0" "@ibm/telemetry-js": "npm:^1.5.0" core-js: "npm:^3.16.0" rimraf: "npm:^6.0.0" languageName: unknown linkType: soft -"@carbon/motion@npm:^11.22.0-rc.0, @carbon/motion@workspace:packages/motion": +"@carbon/motion@npm:^11.22.0, @carbon/motion@workspace:packages/motion": version: 0.0.0-use.local resolution: "@carbon/motion@workspace:packages/motion" dependencies: - "@carbon/cli": "npm:^11.21.0-rc.0" + "@carbon/cli": "npm:^11.21.0" "@ibm/telemetry-js": "npm:^1.5.0" rimraf: "npm:^6.0.0" languageName: unknown @@ -1944,9 +1944,9 @@ __metadata: version: 0.0.0-use.local resolution: "@carbon/pictograms-react@workspace:packages/pictograms-react" dependencies: - "@carbon/icon-build-helpers": "npm:^1.30.0-rc.0" - "@carbon/icon-helpers": "npm:^10.52.0-rc.0" - "@carbon/pictograms": "npm:^12.40.0-rc.0" + "@carbon/icon-build-helpers": "npm:^1.30.0" + "@carbon/icon-helpers": "npm:^10.52.0" + "@carbon/pictograms": "npm:^12.40.0" "@ibm/telemetry-js": "npm:^1.5.0" prop-types: "npm:^15.7.2" rimraf: "npm:^6.0.0" @@ -1955,17 +1955,17 @@ __metadata: languageName: unknown linkType: soft -"@carbon/pictograms@npm:^12.40.0-rc.0, @carbon/pictograms@workspace:packages/pictograms": +"@carbon/pictograms@npm:^12.40.0, @carbon/pictograms@workspace:packages/pictograms": version: 0.0.0-use.local resolution: "@carbon/pictograms@workspace:packages/pictograms" dependencies: - "@carbon/icon-build-helpers": "npm:^1.30.0-rc.0" + "@carbon/icon-build-helpers": "npm:^1.30.0" "@ibm/telemetry-js": "npm:^1.5.0" rimraf: "npm:^6.0.0" languageName: unknown linkType: soft -"@carbon/react@npm:^1.66.0-rc.0, @carbon/react@workspace:packages/react": +"@carbon/react@npm:^1.66.0, @carbon/react@workspace:packages/react": version: 0.0.0-use.local resolution: "@carbon/react@workspace:packages/react" dependencies: @@ -1979,11 +1979,11 @@ __metadata: "@babel/preset-typescript": "npm:^7.24.7" "@babel/runtime": "npm:^7.24.7" "@carbon/feature-flags": "npm:^0.22.0" - "@carbon/icons-react": "npm:^11.49.0-rc.0" - "@carbon/layout": "npm:^11.26.0-rc.0" - "@carbon/styles": "npm:^1.65.0-rc.0" - "@carbon/test-utils": "npm:^10.32.0-rc.0" - "@carbon/themes": "npm:^11.40.0-rc.0" + "@carbon/icons-react": "npm:^11.49.0" + "@carbon/layout": "npm:^11.26.0" + "@carbon/styles": "npm:^1.65.0" + "@carbon/test-utils": "npm:^10.32.0" + "@carbon/themes": "npm:^11.40.0" "@figma/code-connect": "npm:^1.0.6" "@floating-ui/react": "npm:^0.26.0" "@ibm/telemetry-js": "npm:^1.5.0" @@ -2066,18 +2066,18 @@ __metadata: languageName: unknown linkType: soft -"@carbon/styles@npm:^1.65.0-rc.0, @carbon/styles@workspace:packages/styles": +"@carbon/styles@npm:^1.65.0, @carbon/styles@workspace:packages/styles": version: 0.0.0-use.local resolution: "@carbon/styles@workspace:packages/styles" dependencies: - "@carbon/colors": "npm:^11.26.0-rc.0" + "@carbon/colors": "npm:^11.26.0" "@carbon/feature-flags": "npm:^0.22.0" - "@carbon/grid": "npm:^11.27.0-rc.0" - "@carbon/layout": "npm:^11.26.0-rc.0" - "@carbon/motion": "npm:^11.22.0-rc.0" - "@carbon/test-utils": "npm:^10.32.0-rc.0" - "@carbon/themes": "npm:^11.40.0-rc.0" - "@carbon/type": "npm:^11.31.0-rc.0" + "@carbon/grid": "npm:^11.27.0" + "@carbon/layout": "npm:^11.26.0" + "@carbon/motion": "npm:^11.22.0" + "@carbon/test-utils": "npm:^10.32.0" + "@carbon/themes": "npm:^11.40.0" + "@carbon/type": "npm:^11.31.0" "@ibm/plex": "npm:6.0.0-next.6" "@ibm/telemetry-js": "npm:^1.5.0" autoprefixer: "npm:^10.4.7" @@ -2096,7 +2096,7 @@ __metadata: languageName: unknown linkType: soft -"@carbon/test-utils@npm:^10.32.0-rc.0, @carbon/test-utils@workspace:packages/test-utils": +"@carbon/test-utils@npm:^10.32.0, @carbon/test-utils@workspace:packages/test-utils": version: 0.0.0-use.local resolution: "@carbon/test-utils@workspace:packages/test-utils" dependencies: @@ -2110,19 +2110,19 @@ __metadata: languageName: unknown linkType: soft -"@carbon/themes@npm:^11.40.0-rc.0, @carbon/themes@workspace:packages/themes": +"@carbon/themes@npm:^11.40.0, @carbon/themes@workspace:packages/themes": version: 0.0.0-use.local resolution: "@carbon/themes@workspace:packages/themes" dependencies: "@babel/node": "npm:^7.24.7" "@babel/preset-env": "npm:^7.24.7" - "@carbon/cli": "npm:^11.21.0-rc.0" + "@carbon/cli": "npm:^11.21.0" "@carbon/cli-reporter": "npm:^10.7.0" - "@carbon/colors": "npm:^11.26.0-rc.0" - "@carbon/layout": "npm:^11.26.0-rc.0" + "@carbon/colors": "npm:^11.26.0" + "@carbon/layout": "npm:^11.26.0" "@carbon/scss-generator": "npm:^10.18.0" - "@carbon/test-utils": "npm:^10.32.0-rc.0" - "@carbon/type": "npm:^11.31.0-rc.0" + "@carbon/test-utils": "npm:^10.32.0" + "@carbon/type": "npm:^11.31.0" "@ibm/telemetry-js": "npm:^1.5.0" change-case: "npm:^4.1.1" color: "npm:^4.0.0" @@ -2133,14 +2133,14 @@ __metadata: languageName: unknown linkType: soft -"@carbon/type@npm:^11.31.0-rc.0, @carbon/type@workspace:packages/type": +"@carbon/type@npm:^11.31.0, @carbon/type@workspace:packages/type": version: 0.0.0-use.local resolution: "@carbon/type@workspace:packages/type" dependencies: - "@carbon/cli": "npm:^11.21.0-rc.0" - "@carbon/grid": "npm:^11.27.0-rc.0" - "@carbon/layout": "npm:^11.26.0-rc.0" - "@carbon/test-utils": "npm:^10.32.0-rc.0" + "@carbon/cli": "npm:^11.21.0" + "@carbon/grid": "npm:^11.27.0" + "@carbon/layout": "npm:^11.26.0" + "@carbon/test-utils": "npm:^10.32.0" "@ibm/telemetry-js": "npm:^1.5.0" change-case: "npm:^4.1.1" css: "npm:^3.0.0" @@ -8424,9 +8424,9 @@ __metadata: languageName: node linkType: hard -"body-parser@npm:1.20.2": - version: 1.20.2 - resolution: "body-parser@npm:1.20.2" +"body-parser@npm:1.20.3": + version: 1.20.3 + resolution: "body-parser@npm:1.20.3" dependencies: bytes: "npm:3.1.2" content-type: "npm:~1.0.5" @@ -8436,11 +8436,11 @@ __metadata: http-errors: "npm:2.0.0" iconv-lite: "npm:0.4.24" on-finished: "npm:2.4.1" - qs: "npm:6.11.0" + qs: "npm:6.13.0" raw-body: "npm:2.5.2" type-is: "npm:~1.6.18" unpipe: "npm:1.0.0" - checksum: 10/3cf171b82190cf91495c262b073e425fc0d9e25cc2bf4540d43f7e7bbca27d6a9eae65ca367b6ef3993eea261159d9d2ab37ce444e8979323952e12eb3df319a + checksum: 10/8723e3d7a672eb50854327453bed85ac48d045f4958e81e7d470c56bf111f835b97e5b73ae9f6393d0011cc9e252771f46fd281bbabc57d33d3986edf1e6aeca languageName: node linkType: hard @@ -8795,13 +8795,16 @@ __metadata: languageName: node linkType: hard -"call-bind@npm:^1.0.0, call-bind@npm:^1.0.2": - version: 1.0.2 - resolution: "call-bind@npm:1.0.2" +"call-bind@npm:^1.0.2, call-bind@npm:^1.0.7": + version: 1.0.7 + resolution: "call-bind@npm:1.0.7" dependencies: - function-bind: "npm:^1.1.1" - get-intrinsic: "npm:^1.0.2" - checksum: 10/ca787179c1cbe09e1697b56ad499fd05dc0ae6febe5081d728176ade699ea6b1589240cb1ff1fe11fcf9f61538c1af60ad37e8eb2ceb4ef21cd6085dfd3ccedd + es-define-property: "npm:^1.0.0" + es-errors: "npm:^1.3.0" + function-bind: "npm:^1.1.2" + get-intrinsic: "npm:^1.2.4" + set-function-length: "npm:^1.2.1" + checksum: 10/cd6fe658e007af80985da5185bff7b55e12ef4c2b6f41829a26ed1eef254b1f1c12e3dfd5b2b068c6ba8b86aba62390842d81752e67dcbaec4f6f76e7113b6b7 languageName: node linkType: hard @@ -8910,9 +8913,9 @@ __metadata: "@babel/plugin-transform-react-constant-elements": "npm:^7.24.7" "@babel/preset-env": "npm:^7.24.7" "@babel/preset-react": "npm:^7.24.7" - "@carbon/react": "npm:^1.66.0-rc.0" - "@carbon/styles": "npm:^1.65.0-rc.0" - "@carbon/test-utils": "npm:^10.32.0-rc.0" + "@carbon/react": "npm:^1.66.0" + "@carbon/styles": "npm:^1.65.0" + "@carbon/test-utils": "npm:^10.32.0" "@ibm/telemetry-js": "npm:^1.5.0" "@rollup/plugin-babel": "npm:^6.0.0" "@rollup/plugin-commonjs": "npm:^26.0.0" @@ -8938,8 +8941,8 @@ __metadata: version: 0.0.0-use.local resolution: "carbon-components@workspace:packages/carbon-components" dependencies: - "@carbon/styles": "npm:^1.65.0-rc.0" - "@carbon/test-utils": "npm:^10.32.0-rc.0" + "@carbon/styles": "npm:^1.65.0" + "@carbon/test-utils": "npm:^10.32.0" "@ibm/telemetry-js": "npm:^1.5.0" chalk: "npm:1.1.3" fs-extra: "npm:^11.0.0" @@ -9282,7 +9285,7 @@ __metadata: version: 0.0.0-use.local resolution: "class-prefix@workspace:examples/class-prefix" dependencies: - "@carbon/react": "npm:^1.66.0-rc.0" + "@carbon/react": "npm:^1.66.0" "@vitejs/plugin-react": "npm:4.0.0" react: "npm:^18.2.0" react-dom: "npm:^18.2.0" @@ -9561,7 +9564,7 @@ __metadata: version: 0.0.0-use.local resolution: "codesandbox-styles@workspace:examples/codesandbox-styles" dependencies: - "@carbon/styles": "npm:^1.65.0-rc.0" + "@carbon/styles": "npm:^1.65.0" sass: "npm:^1.77.7" vite: "npm:^4.3.8" languageName: unknown @@ -10594,7 +10597,7 @@ __metadata: version: 0.0.0-use.local resolution: "custom-theme@workspace:examples/custom-theme" dependencies: - "@carbon/react": "npm:^1.66.0-rc.0" + "@carbon/react": "npm:^1.66.0" "@vitejs/plugin-react": "npm:4.0.0" react: "npm:^18.2.0" react-dom: "npm:^18.2.0" @@ -10924,6 +10927,17 @@ __metadata: languageName: node linkType: hard +"define-data-property@npm:^1.1.4": + version: 1.1.4 + resolution: "define-data-property@npm:1.1.4" + dependencies: + es-define-property: "npm:^1.0.0" + es-errors: "npm:^1.3.0" + gopd: "npm:^1.0.1" + checksum: 10/abdcb2505d80a53524ba871273e5da75e77e52af9e15b3aa65d8aad82b8a3a424dad7aee2cc0b71470ac7acf501e08defac362e8b6a73cdb4309f028061df4ae + languageName: node + linkType: hard + "define-lazy-prop@npm:^2.0.0": version: 2.0.0 resolution: "define-lazy-prop@npm:2.0.0" @@ -11500,6 +11514,13 @@ __metadata: languageName: node linkType: hard +"encodeurl@npm:~2.0.0": + version: 2.0.0 + resolution: "encodeurl@npm:2.0.0" + checksum: 10/abf5cd51b78082cf8af7be6785813c33b6df2068ce5191a40ca8b1afe6a86f9230af9a9ce694a5ce4665955e5c1120871826df9c128a642e09c58d592e2807fe + languageName: node + linkType: hard + "encoding@npm:^0.1.13": version: 0.1.13 resolution: "encoding@npm:0.1.13" @@ -11651,6 +11672,22 @@ __metadata: languageName: node linkType: hard +"es-define-property@npm:^1.0.0": + version: 1.0.0 + resolution: "es-define-property@npm:1.0.0" + dependencies: + get-intrinsic: "npm:^1.2.4" + checksum: 10/f66ece0a887b6dca71848fa71f70461357c0e4e7249696f81bad0a1f347eed7b31262af4a29f5d726dc026426f085483b6b90301855e647aa8e21936f07293c6 + languageName: node + linkType: hard + +"es-errors@npm:^1.3.0": + version: 1.3.0 + resolution: "es-errors@npm:1.3.0" + checksum: 10/96e65d640156f91b707517e8cdc454dd7d47c32833aa3e85d79f24f9eb7ea85f39b63e36216ef0114996581969b59fe609a94e30316b08f5f4df1d44134cf8d5 + languageName: node + linkType: hard + "es-get-iterator@npm:^1.1.2": version: 1.1.3 resolution: "es-get-iterator@npm:1.1.3" @@ -12665,7 +12702,7 @@ __metadata: version: 0.0.0-use.local resolution: "examples-light-dark@workspace:examples/light-dark-mode" dependencies: - "@carbon/react": "npm:^1.66.0-rc.0" + "@carbon/react": "npm:^1.66.0" eslint: "npm:8.40.0" next: "npm:14.1.1" react: "npm:18.2.0" @@ -12678,7 +12715,7 @@ __metadata: version: 0.0.0-use.local resolution: "examples-nextjs@workspace:examples/nextjs" dependencies: - "@carbon/react": "npm:^1.66.0-rc.0" + "@carbon/react": "npm:^1.66.0" eslint: "npm:8.40.0" eslint-config-next: "npm:13.4.7" next: "npm:14.1.1" @@ -12832,41 +12869,41 @@ __metadata: linkType: hard "express@npm:^4.17.3, express@npm:^4.19.2": - version: 4.19.2 - resolution: "express@npm:4.19.2" + version: 4.20.0 + resolution: "express@npm:4.20.0" dependencies: accepts: "npm:~1.3.8" array-flatten: "npm:1.1.1" - body-parser: "npm:1.20.2" + body-parser: "npm:1.20.3" content-disposition: "npm:0.5.4" content-type: "npm:~1.0.4" cookie: "npm:0.6.0" cookie-signature: "npm:1.0.6" debug: "npm:2.6.9" depd: "npm:2.0.0" - encodeurl: "npm:~1.0.2" + encodeurl: "npm:~2.0.0" escape-html: "npm:~1.0.3" etag: "npm:~1.8.1" finalhandler: "npm:1.2.0" fresh: "npm:0.5.2" http-errors: "npm:2.0.0" - merge-descriptors: "npm:1.0.1" + merge-descriptors: "npm:1.0.3" methods: "npm:~1.1.2" on-finished: "npm:2.4.1" parseurl: "npm:~1.3.3" - path-to-regexp: "npm:0.1.7" + path-to-regexp: "npm:0.1.10" proxy-addr: "npm:~2.0.7" qs: "npm:6.11.0" range-parser: "npm:~1.2.1" safe-buffer: "npm:5.2.1" - send: "npm:0.18.0" - serve-static: "npm:1.15.0" + send: "npm:0.19.0" + serve-static: "npm:1.16.0" setprototypeof: "npm:1.2.0" statuses: "npm:2.0.1" type-is: "npm:~1.6.18" utils-merge: "npm:1.0.1" vary: "npm:~1.1.2" - checksum: 10/3fcd792536f802c059789ef48db3851b87e78fba103423e524144d79af37da7952a2b8d4e1a007f423329c7377d686d9476ac42e7d9ea413b80345d495e30a3a + checksum: 10/4131f566cf8f6d1611475d5ff5d0dbc5c628ad8b525aa2aa2b3da9a23a041efcce09ede10b8a31315b0258ac4e53208a009fd7669ee1eb385936a0d54adb3cde languageName: node linkType: hard @@ -13619,14 +13656,16 @@ __metadata: languageName: node linkType: hard -"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.0": - version: 1.2.0 - resolution: "get-intrinsic@npm:1.2.0" +"get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.0, get-intrinsic@npm:^1.2.4": + version: 1.2.4 + resolution: "get-intrinsic@npm:1.2.4" dependencies: - function-bind: "npm:^1.1.1" - has: "npm:^1.0.3" + es-errors: "npm:^1.3.0" + function-bind: "npm:^1.1.2" + has-proto: "npm:^1.0.1" has-symbols: "npm:^1.0.3" - checksum: 10/f57c5fe67a96adace4f8e80c288728bcd0ccfdc82c9cc53e4a5ef1ec857b5f7ef4b1c289e39649b1df226bace81103630bf7e128c821f82cd603450036e54f97 + hasown: "npm:^2.0.0" + checksum: 10/85bbf4b234c3940edf8a41f4ecbd4e25ce78e5e6ad4e24ca2f77037d983b9ef943fd72f00f3ee97a49ec622a506b67db49c36246150377efcda1c9eb03e5f06d languageName: node linkType: hard @@ -14294,12 +14333,12 @@ __metadata: languageName: node linkType: hard -"has-property-descriptors@npm:^1.0.0": - version: 1.0.0 - resolution: "has-property-descriptors@npm:1.0.0" +"has-property-descriptors@npm:^1.0.0, has-property-descriptors@npm:^1.0.2": + version: 1.0.2 + resolution: "has-property-descriptors@npm:1.0.2" dependencies: - get-intrinsic: "npm:^1.1.1" - checksum: 10/a6d3f0a266d0294d972e354782e872e2fe1b6495b321e6ef678c9b7a06a40408a6891817350c62e752adced73a94ac903c54734fee05bf65b1905ee1368194bb + es-define-property: "npm:^1.0.0" + checksum: 10/2d8c9ab8cebb572e3362f7d06139a4592105983d4317e68f7adba320fe6ddfc8874581e0971e899e633fd5f72e262830edce36d5a0bc863dad17ad20572484b2 languageName: node linkType: hard @@ -14367,7 +14406,7 @@ __metadata: languageName: node linkType: hard -"hasown@npm:^2.0.2": +"hasown@npm:^2.0.0, hasown@npm:^2.0.2": version: 2.0.2 resolution: "hasown@npm:2.0.2" dependencies: @@ -14781,7 +14820,7 @@ __metadata: version: 0.0.0-use.local resolution: "id-prefix@workspace:examples/id-prefix" dependencies: - "@carbon/react": "npm:^1.66.0-rc.0" + "@carbon/react": "npm:^1.66.0" "@vitejs/plugin-react": "npm:4.0.0" react: "npm:^18.2.0" react-dom: "npm:^18.2.0" @@ -18362,10 +18401,10 @@ __metadata: languageName: node linkType: hard -"merge-descriptors@npm:1.0.1": - version: 1.0.1 - resolution: "merge-descriptors@npm:1.0.1" - checksum: 10/5abc259d2ae25bb06d19ce2b94a21632583c74e2a9109ee1ba7fd147aa7362b380d971e0251069f8b3eb7d48c21ac839e21fa177b335e82c76ec172e30c31a26 +"merge-descriptors@npm:1.0.3": + version: 1.0.3 + resolution: "merge-descriptors@npm:1.0.3" + checksum: 10/52117adbe0313d5defa771c9993fe081e2d2df9b840597e966aadafde04ae8d0e3da46bac7ca4efc37d4d2b839436582659cd49c6a43eacb3fe3050896a105d1 languageName: node linkType: hard @@ -19871,10 +19910,10 @@ __metadata: languageName: node linkType: hard -"object-inspect@npm:^1.12.2, object-inspect@npm:^1.9.0": - version: 1.12.2 - resolution: "object-inspect@npm:1.12.2" - checksum: 10/aa11100d45fa919b36448347d4f7c8a78b0247886881db56a2026b512c4042a9749e64894519b00a4db8c6e2b713a965b5ceaa3b59324aeb3da007c54a33bc58 +"object-inspect@npm:^1.12.2, object-inspect@npm:^1.13.1": + version: 1.13.2 + resolution: "object-inspect@npm:1.13.2" + checksum: 10/7ef65583b6397570a17c56f0c1841e0920e83900f2c94638927abb7b81ac08a19c7aae135bd9dcca96208cac0c7332b4650fb927f027b0cf92d71df2990d0561 languageName: node linkType: hard @@ -20610,10 +20649,10 @@ __metadata: languageName: node linkType: hard -"path-to-regexp@npm:0.1.7": - version: 0.1.7 - resolution: "path-to-regexp@npm:0.1.7" - checksum: 10/701c99e1f08e3400bea4d701cf6f03517474bb1b608da71c78b1eb261415b645c5670dfae49808c89e12cea2dccd113b069f040a80de012da0400191c6dbd1c8 +"path-to-regexp@npm:0.1.10": + version: 0.1.10 + resolution: "path-to-regexp@npm:0.1.10" + checksum: 10/894e31f1b20e592732a87db61fff5b95c892a3fe430f9ab18455ebe69ee88ef86f8eb49912e261f9926fc53da9f93b46521523e33aefd9cb0a7b0d85d7096006 languageName: node linkType: hard @@ -21573,12 +21612,12 @@ __metadata: languageName: node linkType: hard -"qs@npm:^6.10.0, qs@npm:^6.11.0": - version: 6.11.2 - resolution: "qs@npm:6.11.2" +"qs@npm:6.13.0, qs@npm:^6.10.0, qs@npm:^6.11.0": + version: 6.13.0 + resolution: "qs@npm:6.13.0" dependencies: - side-channel: "npm:^1.0.4" - checksum: 10/f2321d0796664d0f94e92447ccd3bdfd6b6f3a50b6b762aa79d7f5b1ea3a7a9f94063ba896b82bc2a877ed6a7426d4081e4f16568fdb04f0ee188cca9d8505b4 + side-channel: "npm:^1.0.6" + checksum: 10/f548b376e685553d12e461409f0d6e5c59ec7c7d76f308e2a888fd9db3e0c5e89902bedd0754db3a9038eda5f27da2331a6f019c8517dc5e0a16b3c9a6e9cef8 languageName: node linkType: hard @@ -23160,6 +23199,27 @@ __metadata: languageName: node linkType: hard +"send@npm:0.19.0": + version: 0.19.0 + resolution: "send@npm:0.19.0" + dependencies: + debug: "npm:2.6.9" + depd: "npm:2.0.0" + destroy: "npm:1.2.0" + encodeurl: "npm:~1.0.2" + escape-html: "npm:~1.0.3" + etag: "npm:~1.8.1" + fresh: "npm:0.5.2" + http-errors: "npm:2.0.0" + mime: "npm:1.6.0" + ms: "npm:2.1.3" + on-finished: "npm:2.4.1" + range-parser: "npm:~1.2.1" + statuses: "npm:2.0.1" + checksum: 10/1f6064dea0ae4cbe4878437aedc9270c33f2a6650a77b56a16b62d057527f2766d96ee282997dd53ec0339082f2aad935bc7d989b46b48c82fc610800dc3a1d0 + languageName: node + linkType: hard + "sentence-case@npm:^3.0.4": version: 3.0.4 resolution: "sentence-case@npm:3.0.4" @@ -23195,15 +23255,15 @@ __metadata: languageName: node linkType: hard -"serve-static@npm:1.15.0": - version: 1.15.0 - resolution: "serve-static@npm:1.15.0" +"serve-static@npm:1.16.0": + version: 1.16.0 + resolution: "serve-static@npm:1.16.0" dependencies: encodeurl: "npm:~1.0.2" escape-html: "npm:~1.0.3" parseurl: "npm:~1.3.3" send: "npm:0.18.0" - checksum: 10/699b2d4c29807a51d9b5e0f24955346911437aebb0178b3c4833ad30d3eca93385ff9927254f5c16da345903cad39d9cd4a532198c95a5129cc4ed43911b15a4 + checksum: 10/29a01f67e8c64a359d49dd0c46bc95bb4aa99781f97845dccbf0c8cd0284c5fd79ad7fb9433a36fac4b6c58b577d3eab314a379142412413b8b5cd73be3cd551 languageName: node linkType: hard @@ -23214,6 +23274,20 @@ __metadata: languageName: node linkType: hard +"set-function-length@npm:^1.2.1": + version: 1.2.2 + resolution: "set-function-length@npm:1.2.2" + dependencies: + define-data-property: "npm:^1.1.4" + es-errors: "npm:^1.3.0" + function-bind: "npm:^1.1.2" + get-intrinsic: "npm:^1.2.4" + gopd: "npm:^1.0.1" + has-property-descriptors: "npm:^1.0.2" + checksum: 10/505d62b8e088468917ca4e3f8f39d0e29f9a563b97dbebf92f4bd2c3172ccfb3c5b8e4566d5fcd00784a00433900e7cb8fbc404e2dbd8c3818ba05bb9d4a8a6d + languageName: node + linkType: hard + "set-getter@npm:^0.1.0": version: 0.1.0 resolution: "set-getter@npm:0.1.0" @@ -23292,14 +23366,15 @@ __metadata: languageName: node linkType: hard -"side-channel@npm:^1.0.4": - version: 1.0.4 - resolution: "side-channel@npm:1.0.4" +"side-channel@npm:^1.0.4, side-channel@npm:^1.0.6": + version: 1.0.6 + resolution: "side-channel@npm:1.0.6" dependencies: - call-bind: "npm:^1.0.0" - get-intrinsic: "npm:^1.0.2" - object-inspect: "npm:^1.9.0" - checksum: 10/c4998d9fc530b0e75a7fd791ad868fdc42846f072734f9080ff55cc8dc7d3899abcda24fd896aa6648c3ab7021b4bb478073eb4f44dfd55bce9714bc1a7c5d45 + call-bind: "npm:^1.0.7" + es-errors: "npm:^1.3.0" + get-intrinsic: "npm:^1.2.4" + object-inspect: "npm:^1.13.1" + checksum: 10/eb10944f38cebad8ad643dd02657592fa41273ce15b8bfa928d3291aff2d30c20ff777cfe908f76ccc4551ace2d1245822fdc576657cce40e9066c638ca8fa4d languageName: node linkType: hard @@ -26027,7 +26102,7 @@ __metadata: version: 0.0.0-use.local resolution: "v10-token-compat-in-v11@workspace:examples/v10-token-compat-in-v11" dependencies: - "@carbon/react": "npm:^1.66.0-rc.0" + "@carbon/react": "npm:^1.66.0" "@vitejs/plugin-react": "npm:4.0.0" react: "npm:^18.2.0" react-dom: "npm:^18.2.0" @@ -26312,7 +26387,7 @@ __metadata: version: 0.0.0-use.local resolution: "vite@workspace:examples/vite" dependencies: - "@carbon/react": "npm:^1.66.0-rc.0" + "@carbon/react": "npm:^1.66.0" "@vitejs/plugin-react": "npm:4.0.0" react: "npm:^18.2.0" react-dom: "npm:^18.2.0" @@ -26891,7 +26966,7 @@ __metadata: version: 0.0.0-use.local resolution: "www@workspace:www" dependencies: - "@carbon/react": "npm:^1.66.0-rc.0" + "@carbon/react": "npm:^1.66.0" "@octokit/core": "npm:^4.0.0" "@octokit/plugin-retry": "npm:^3.0.9" "@octokit/plugin-throttling": "npm:^4.0.0"