{"_id":"@carbon/carbon-web-components","_rev":"48-e0ce6578ed0236759cb5d1a882ba3f00","name":"@carbon/carbon-web-components","dist-tags":{"latest":"1.22.0-canary.3518209924.0","next":"1.22.0-rc.2","nightly":"1.22.0-nightly.3625588014.0","canary":"1.22.0-canary.3627202575.0"},"versions":{"1.22.0-canary.3518209924.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-canary.3518209924.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-canary.3518209924.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"2585c2d324b8dd6b6a6fb3f28f0242c2d1c0c712","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-canary.3518209924.0.tgz","fileCount":17419,"integrity":"sha512-+cRN8Urdqtusx1RceZOTgi/h7qzDu+51FSjduNz458sfdqS9Z/3fLdb/rIsZkdQnGjARfepQ+a3KKBQL7xluaQ==","signatures":[{"sig":"MEUCIBdidFR8WgrFDbDVeJRamri/xBDnITQjCmMTw+f9dYrXAiEAod4bAO4kwNqLdGyVliJLti6tw7YAkh17DqgSXYQj+TY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24312638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJje++RACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmooXQ/+OQ+pW/rbElZDsFPPIx0UENu0FsVrdK/zgchs9FJZLQAvfcMM\r\nyYb4Me5+YZb/LSP2DFm3kWKiUMy2uBxxvhfJRSRHTwT/NofK+1FUpcngj78U\r\nccQSzk6cIpZ+kUGVhrzjMRYSFop1VLb2BVlUo2V/L8h9qTVqBWdV+n6UhGiM\r\ngQBYRNakJNxQb+jN37aUEphGW7q+ZqMgpNMCJ+H2zsb/ki5K6SG9kDe+3jsd\r\nzwpGCkj45JzqNFq+sU6+JyDeERha9nSFaX3UVL9MwTJJbLdx63en/6kzUL3D\r\nCdNkmvD1a3qT12cTiQ/nFhAX3nQ/mUtwpz9TCc7/2jZKsC2Ehun8ZvrisOL9\r\nG9vgmPHQ14wFeEsWSs3+nIEksDwjA6qwj7vNLHVFf8ZOwYsQ7Lf10KyhQdXQ\r\njzmS+AnVpCHZzYOeTSLdMFvkWO6mXGJCaQNWhIAFpOEcDgE0a3k4SKwUBT3J\r\n0RYMUdObLyZgHAhxoWGQoOlIwTvHFuxtPXy5hd8qJ6/y4Fbcqgo4oJNANstt\r\noB/4C4YIa4atJid5K3l5RDMmnfzQmIApYPi10EpWSCzRfFmGkIVeXP326KJe\r\nOBIyb0yYHJGdVv7ExyZ+vo/lCWkelpZJUf8vdvaqliCm5OPUcScxlxe0cM6n\r\nUWnNCqpVD3PR5lW+pIBR+Fq9x12Fkmf2WP8=\r\n=gHLd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"09afb30c5618900d24ca500b91435a951724c59f","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.20.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.1","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.40.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.37.1","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.5.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-canary.3518209924.0_1669066641672_0.8435832604334632","host":"s3://npm-registry-packages"}},"1.22.0-canary.3518472525.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-canary.3518472525.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-canary.3518472525.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"3a7a74935c78dde13480b2b6d678b347016172d1","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-canary.3518472525.0.tgz","fileCount":17419,"integrity":"sha512-06luQFSrNNXGbbtGDl2m2UaMqzlG5o86g6ElTrtBGWFgmAPt/Y5VGZzJZBeO75Xz6lD/UFX4bxDcqqj9Lb4YXg==","signatures":[{"sig":"MEYCIQC795JW5Ys7Z30loZ3xOZkbngJgPlADKnN4PMWVy8KJNAIhAPjRYUYzMD5jet/uW3PKfBg7VVes7wMOFjEkI4gbX1hQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24312638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJje/rbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoweg/9EVFdNdY9+AURHhTUl3CKwbLNR8ETY1HC+X7jRG45by1tBJO+\r\nz+qV6XIhFAc+sjiA1jAvi7TfG+hjJFJxEpvXdQG7EUkidUUVISJEQJBc4ajG\r\nKRUwHjIdOjastGHZ0zxZBN3gHJ/fU0OCrXix6k2zFxBnkhy59RBpmyovxSS/\r\njrOjXBFFrcXTVjW6dnwtza4MTmwtnR3ixPQH/ZsQdvXGUXAhgTvIhmijCABg\r\n7osSit6/4zk5LHVJjqqeof325VVoiGuq6pppPtTDV56GmVoCMGyNyx8FmPYn\r\nnVWFOXmzZy3oRqz7kKbt4XRtIQQ5dja8avDSO63ViNy8G5HL/eRFjjWEtloR\r\ne7r3f7HdqpjvO84VCmBsJVYUxyxGDgqqXXO80NIXa7Y5eF3oad8mWfMwDCkr\r\nXtyZzbDIGNs+HSTui/5agzZy3aCFI/jn5djZqS466JTf2c/0UAapRVy5i10v\r\nfgDA5oN/3NEKkniRqGX0CWVzbIm10GU8G2/4RO5y1O5bwZ08eK0Ls79Sr0ft\r\n76jqrNUjSy8rIduEPPnueMVU6F3a7pIRHrLgbJBoFAw+7RGHK17K8G9ezTJJ\r\nNiN+eAplrhduqz7p2HUJKcERPT7Kwq4xROI6aa/p8v9lkbYVfsccjgGWQWuK\r\n62nXpKZXhFgK5uyECJaeHw6BYpIkKKQg5vw=\r\n=bQdd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"e5f797649861d3769bb63661e983bb82ca4ebb80","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.20.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.1","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.40.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.37.1","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.5.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-canary.3518472525.0_1669069530791_0.4401938443093829","host":"s3://npm-registry-packages"}},"1.22.0-canary.3518610368.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-canary.3518610368.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-canary.3518610368.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"97588d5007442d07752477a1cdbb2c1889ed5bfa","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-canary.3518610368.0.tgz","fileCount":17419,"integrity":"sha512-TIqbOE7/D/soNCmngNfgIQ7WWZX7wwfL+k7CXfxyDstJn0pxZhKEotMkbYmbqD/uo2cculnAixzjA0JutfJ6mg==","signatures":[{"sig":"MEUCIHo4H8fyA6zPjI2DtctTwlUXpzC/zSow60gNjQp68KenAiEAlysO0oZsiZagkisBFH8ciot2Tbvemxm3Q+HYvN4pRQI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24312638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJje/85ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpZOQ//fSTZalIG8Zw3S2JAfLVis/sDMefaMpNU6em6NU4Iv4Y/W9Gw\r\nd5cv8NSruXUJq6jwhskTPVAMf9stBLt3FVWaiIsJnk0DUqwhCsmuEROAMVCl\r\n1cB/87q20ULJ8cFMB823G0Ykmx8ERGefHDAceJ5TFuOjE+ZYOVbPQN8l1qdF\r\nuWvLIQ9z8GAvp4pKbFk3RrfKSqi4yYL6scgvL3KmkScpiaxoOXil7xi6aTF9\r\nv2q1Kn3TjQSpr0fXitxIec9E5zz3J2fACr7H5xXjPpnL2oiVywFqIs3ubUqO\r\nDq3LsjGAJz+2pknl3zAwEaFKVNmH41XDHHK4/MAs0iYM2BfjekwVkWImiSWK\r\n4TDFmue+1M2+kwI1v3sp9CjaGZSxCp6nXw9XIU0yk5Dcv7/3WK8sNv1wch+h\r\nwMLojVKE+KaKtqdGm8simW7oOvpEvNESQ90MJLQ301Uz4fCBZKIASGBu3Z+L\r\nW3DJEHKKXTFbRs0xretFiYfDaPKcc/7WCaY+N+imftGM6o9pp3NB13sfUHer\r\nO8vnU4ZgiqBv0vBbAI1erpCAH4YtN3Up8fIIJw/+FThapFcNDh6YrMSsvrdJ\r\n5EaK9nF7+Gszbh0zQUvkxLvRQ0O+QHJwGk6HxAmnwbTyyU+0RJ+Pr6yXdfHv\r\nQHTz7adgBZUe+lEIGTKZyoHdRjgpxmuiuj0=\r\n=DgFA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"31549ace7b9057200a2642a662ab490db58f2931","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.20.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.1","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.40.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.37.1","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.5.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-canary.3518610368.0_1669070648620_0.5447632395143791","host":"s3://npm-registry-packages"}},"1.22.0-nightly.3519568891.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-nightly.3519568891.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-nightly.3519568891.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"6420b0e5ef484d99646485283c389fe143dea83d","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-nightly.3519568891.0.tgz","fileCount":17419,"integrity":"sha512-+lOxSSCvVhThfMEcfBJ303l3E5gc5plItiVYdj4jFFFXs/OCnO/UVNv1rkSahEk5hb4SEUkqJEN2agq3C+wilQ==","signatures":[{"sig":"MEUCIQCfFyrd1+zM6B83e2n9QFOvLlEPd2RvKKXJlkIAHFivjgIgGg216CLQ8oMcuRL5ADL/KDS+WQGtb/DzJN8hjzqdsQ8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24312639,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfCrNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrYghAAhLACEfD3CmT9AzisQJu1UyFuBA37VxNvraMAJdGEpdnFhdzP\r\n2dlPHb3T5h4wjOUyZtJDtfEM595j/OhezU0tY+PVw6WJKrpgjWNhHWT97HFS\r\nnqjEh2A/wSx6iaqY8KsO1riZT+aU1X966+DFRq9KBpIKDYuPieEzDYqEEUH3\r\ncBTjqpf2Fd726FqqeDNa+dDNOF0bDsPsYUO4aqPYXcK4uz55nZLNSqCAvBNN\r\nrvCoBgQ2uo6Co+K9WiFpn0vYYHtRM0b85syhAoFjK6zWPmHgz4mfABg73NfW\r\nGj3FvgyR41CXFZiYQWYK1v2Vb+DiyHBPFuDOkXC2ouJA3Wu6kwwhZYg1L1H4\r\nDzH18kHGQoOgdN8wSjK8AJZBHZXf7PzXLdI4fnAZJK8y8TlLvhjeBFdVr4r8\r\nUA8e1R+XrQ3maVbS+ce5iuEjYif4wn5MO+MQwcAStS5TE/Mx65ZUkVSfHrOm\r\nwXRJ6qAKM1Hw1Pb4DfVhiLG/BI1kLD/3/Yh5CeRpol5lARhoxZ+NQIpMWbrm\r\nom2ntAvt2xdtoYim0Npu+rp/CC64axFdmG1W5DtAaWVS+lpKR3vo/6pGTL+T\r\nuiPmmZXk76aWGLAitXGqsiBLr3RjWPuPOZgKYROopO2i4oCrhkgmfgaaswmY\r\nkvn7+C/TTmMa7aeMNrcvav1x8kb0bhvDUg4=\r\n=jZwU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"31549ace7b9057200a2642a662ab490db58f2931","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.20.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.1","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.40.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.37.1","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.5.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-nightly.3519568891.0_1669081805503_0.6494556760918311","host":"s3://npm-registry-packages"}},"1.22.0-canary.3519755449.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-canary.3519755449.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-canary.3519755449.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"5efa3122c955adeab5ee4089eaf4d0494680d490","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-canary.3519755449.0.tgz","fileCount":17419,"integrity":"sha512-JXKTBvIodfYLSNfqUJRefM0AJMjjPrk6rTCsmUUMVgi7Y9MW4idO7EVGwkQx8i+2oi33UKjrviNVyhK2U3shbg==","signatures":[{"sig":"MEUCIE4Td0idgvBdCbeuGKZrDZ45FNC2RanOtWoFSx6+jK19AiEAuEt+Kq5WhG7PGS3EqYYzmEpkSUR8UD2duH4C1OnPmBU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24312638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfDRqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrl0A/+PHAgdQQP4v8hZiWJvfxstBPH4Hscb7EAl3+KgKt3/RlyV9Iw\r\nWdJssUdxHMssPtH6zr77U8diSAL0lQjv66evUSBZc+nTsBg82jvJooBFqmVJ\r\n/a0NCbWYuNM9EnD2/z5sGehX0VvLNn5LxF19nRkkyxf04e2J0k8pNO92L/5x\r\nYFK2+xEpwy3yMgJ//WKpxSjLRsQjgCr8sPrYE4NboZWSaRLatiJofCEMgLir\r\nClsocIFgwB/RNHU+MZS6obVfwWJiVaN43egXDNSWkhPRaT5tRcJ4vXqGz3B+\r\nkHvVHQbm0pvI4XG9eTWeCI05E7ARNgFuTHeC6pW+JgQUFqfUpEWKjNwXk9w4\r\nd2QWVpJtSBL2bxut+PmtB24xS/8SbWwtpaQ4bnzrWs1hdmwGzvd5L31kgHJ1\r\n18J4i2qq2ryZSqH0XxlDd3ET5SAuf8RqtZ1EGpEPdgTccdp/t/XYSctE3PJ9\r\ntTROOVD4TXFNSWXiL4ei5CPCkPb/BsK2poHgcRGfifGd4GcrzYdAOTZ0NYp3\r\nNcJb+tMS6+08LgB6KSxuOdZdZ+IxNmrJIu3XiyjmeX0EOQTIrfeKNREVKRuG\r\n9LzPVhLL3c654fDrS7yZKfeWYYshHl/CXUxzSyTxaeJunStZHP6IO9EFVVq6\r\nkjgmIhzE4JK3/CgVc+B4pv4v3rvTA0bcHbc=\r\n=g7Yn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"41788ce621fc4304a2a4f409ecea1b6ed4d49529","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.20.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.1","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.40.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.37.1","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.5.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-canary.3519755449.0_1669084266606_0.35156668071143726","host":"s3://npm-registry-packages"}},"1.22.0-canary.3524319215.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-canary.3524319215.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-canary.3524319215.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"dfc34ef02c14d58aa434a1ab2fde812262aa636c","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-canary.3524319215.0.tgz","fileCount":17419,"integrity":"sha512-z9NxGmtCPXRNC6bW45fLiLuLcMsthRQR9bnKO+4fwudw1MU8OB8TpPlwdqlygekqMBaTDKbNm7gzKQpXFeqcmw==","signatures":[{"sig":"MEQCIEWDP1cqUs8SJWzrbQj7FpyhE5tXXFgNNkgkHI2Nz1A/AiAl+aRdmzn1rNkJ40rwTjCfLwCJ8/S+VqjVonkrvk5LlQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24312638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfOGZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqirg/+MlgxitMdw6ShqzpcSehJIIvDMg+8A83VVrtyUhwq1KkzehlY\r\ng02ZSeIWWp0/k1l3iAfyTxCA0WKc9Iytd38h9e3B8Kvz6jWo5epWQhhxNHXM\r\nNAPB3FEo/+P4HB/u22GmNOC5exIuU2nBXTQ+gGDzB2h+R9eWUCjfqDYx2rxY\r\nFq+okT60Y9JpYjBPM+ZtwNBlaupwIXLlwTSAWTJslkIaT3EcL1ptJsnPI2eq\r\n71qEjIrt5rllx6WxNawVDtoJlsjU8RPyn0vgX4iTMUX7ErUCX2f1ZF84W8Ok\r\nHWsFcj/hw3m1AN5YOPzMxIwWnl1qmNkm+rCncwMvNS1kkeLTEfkeqZu3euYb\r\n6EZPXZZI0+Ih3Q2I0VpY2NflASbjd688YVU4ybpNI/dJ+i1Sfd7bnM6WIhA9\r\nMCHkVy92Mjqrqr8NIJKTsLLO8CV+kGq+w7hKzXgG5yn52MGAHnpvy3lB5Xvr\r\nHLStwSeTfm8UjtZrKdlf5eRilAMI3YjvmowHPRVbJ3KBvwJT99mpdSuiByZH\r\ntlSra5LaxSGbe4yMwtAONbT8z1S12bIPEF8haTuAWc6t48CWB+RJ+rzg+imb\r\nPyG+lc/6ACjs+oJpnxsosGnn/y0Ts3IThQicASa6OT0TA6deYmx+fTKrsTH6\r\n9Y1SoOVU9/g9EqLlYpiI2R8RXXon4MTKWcU=\r\n=87rY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"cc57d917f23de919115d1518a1a747547daaab15","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.20.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.1","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.40.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.37.1","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.5.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-canary.3524319215.0_1669128601275_0.6206940722866068","host":"s3://npm-registry-packages"}},"1.22.0-rc.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-rc.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-rc.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"5e29089f1fe626e981586f560c34fdbd352a178f","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-rc.0.tgz","fileCount":17419,"integrity":"sha512-zbBSykSfgRnf1GEL7CKNIn4RpjuAyrIUiDTawHmmbSkGPop/GwonWyaqjxrUlr3+4xL5wEFkoyZgtNimwzsQdA==","signatures":[{"sig":"MEUCIQDKxzXWTapsQYlsJErpOcX84WSs2Kkj67j+F9tg2TaVBwIgdMnXFc4Wnku1Tw+seMUXnUpCx8V0CIiWAD4HggJztdw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24312615,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfO4XACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrTGw//V3ZvbTf/q8xD8OhtlygMyT/FU5rw90HOGWIMb0CoRQqwGIxe\r\nEWZHG+MsdaE373jymBnTXNh98sPy6IYsVBGNQxQDputUgrEUQBZpnWgx47Fd\r\nRwCYxyA2t7mRaWG3YRpUXNKWJ8vCsgk/GA+5hhTlu1eA8KCg77avyLfgO4mC\r\nCSFoJykotnuvBsO7uUCs+kVkHpTeKWsra9EQCXNQ16+0B2AzW//SbHVpIqKw\r\nRKUA/Ji7kth3RmoMj659NcubYu+Uxht3j1MWdsHrl4CdJFTrHFGKhUFNCI7F\r\nt8cmT0e/OApYO18ERUJbW9m4nuYm+DWc0APp6WFidRNtw2zkEPls9aVnx0am\r\nu2hTguiNIF3GO5Tq6GPOk6cGhZVJtpAHPMdwbLAnnGPeJlIcj3NG2PE+MhTI\r\noy/v7gDJM/LwySe3MRZnZ1LgECswuObqDvm4rL8BP4j7rpuKxmUNCQMBpGHY\r\ndFPXGZy1ZePF6wjloO2T+SncDIy8eOZzLi5lTrcuNEB0eWG9pHoPojbLMXZD\r\nQoWrMrPIyKpc4+geJqn0AHRfe895r++9LilIHhW+7vX2+1DRNr7cD+W5ao0P\r\nuKHiZmpsmfiRcEWzTfizgI8GQdViyJtLUtxSsqmUeuYBQXhEiyXGh16mJuBC\r\n9nLhNpsYGcoM8nwv4twBgdZz+3ZbxS8TcOU=\r\n=niJn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"7f58ec079748ee5585d55255d2aaa4c21724a969","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.19.0+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.19.0","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.1","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.40.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.37.1","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.5.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-rc.0_1669131799332_0.5575906023613357","host":"s3://npm-registry-packages"}},"1.22.0-canary.3524884684.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-canary.3524884684.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-canary.3524884684.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"376a32c4feb286645b903bfbb139b82474c4f019","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-canary.3524884684.0.tgz","fileCount":17419,"integrity":"sha512-68tln81hHNHaKKs9kDF30ssb9L90orxG9zZ3Nauok23LmdzNd4iUe8e+Jk3w7D6XjzSM3K1N16pv1HNVzj6SwQ==","signatures":[{"sig":"MEUCIQCJ2TLUy9aVsDvVGZwBZKBkBH52YEzk2uCYivcgmSOk1QIgLYglc5Z+gAqIcoFeYb5BQHk8zPGn2QGAB5qbRzilXEA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24312638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfPJRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqvNw/+LAK92kQq2N1KMqlqAsj5/jqnuYkTK/xvjQFX1x4t5kQTm6b9\r\nbk+mEI6V02JSO+EvIn8kIHEarPKQea0sEhKb+BVEPrn+cqkh0TbeBDX8cd+i\r\nwzNtcCdcqRLDdlxI9MDTVXrD8RZYrRtvEAPnsh7dJdur9JSgw1dkkbLJ2PaV\r\neMxGwG7pyy6x5osub1sOACtY0UgWDgXpHeFizE7ExVDIYmUEFabsAyEvcVcM\r\nfoj1XucW9Xm+p4XrCbIEbKOsJALogNSs5TLyF900WLfR73bjA1f8Z2Px3jxT\r\n6UpQ05fFGRxnz+Gx42hTXsOxpIC6TMXOjwSDwbAzUB3Kx6DvymIEbzzp4VkV\r\n+RvUI5hf6V2hZekvA6XVKcbB0jyUmIYyL+bvsrK3S0nZpUxrMefnXYvtrmsW\r\nZWyM8kXMe9eZcCQYpFgGYytLEt8q0y53UQioiThT/GitJyMFURrqK8iTR3gw\r\nIkU51sfXKDfCoymhDq1PjWJ5YlnVBrgvaue2zbNMizUzj65z4KYoHEINV4Ca\r\nm7L+ipHoxiLJm2CfuUH4YEIc/lZ3BXnwD0LNe4JbXiKAntB09VjONcaq8+o/\r\nvjrM1zbrRKKbispdwHpn/dUx90+DYj+tJfBRrbfN6/5Hyhc20qC+AT1V5dFd\r\naSnKCxryq8q4ZAXthYM42H/c//t8rrKwegg=\r\n=L13H\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"062b99acee8fb5b322232a9cabc368947f27fdfc","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.20.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.1","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.40.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.37.1","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.5.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-canary.3524884684.0_1669132881432_0.7051875231986939","host":"s3://npm-registry-packages"}},"1.22.0-canary.3525609678.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-canary.3525609678.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-canary.3525609678.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"6ba94f1478e180b3533faa8735979bed947948b1","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-canary.3525609678.0.tgz","fileCount":17419,"integrity":"sha512-hHSbtMMW1HwEActvXAs6+BPn068b5H0A241EiV2yG7LcHoUcq/u5cSrAwno79WQOwdHY4wTJQUQDrA/3mMViCA==","signatures":[{"sig":"MEUCIQCS+SXAzvINmazmR1atW+9ZBScTJhZGZVL9VpzUk9FHiwIgT+xnp2mk/sEG6JALj0d6EgbCP9PVJnLSiSCFJAi7cFE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24312638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfQljACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoXVQ/9Hv4rwGxrkdh9BQSNT8+dFRBawOmtKv4mbdlhoLtMK+0njX+o\r\neFEZZGkDfOkBwo3KmFisDwWacUpEk1svIom6hHUPwpEnwrX4kVBYIOxLt5Lc\r\nbaG9nHFrTsN8XbmIh/QAc3MrnBfQiljWKzGivnzvtHtmxD1AOrnvjuKjBA8o\r\ne/j34jcm1u3rLYCYA/Fv4wO39iIUkJmQ1YtBaUIA9Mrai2ebVUlzqeJlnBrX\r\nMYpaiL84msyVak0enNeJFiaoT8RjRs0GYV5mN55vgda3FBJ8D6XrtoeUAUcN\r\nK1qMDAYrVJZprbh13VW4xNgLT0TzBkLgPdtT7V95/c6DQ+Dl7OHF0G80YQUN\r\nRB6s4HLdZKZyseby5UdVP+l6lx3KaPtXrMIl3HMXvOMz2v2EkQKVhzJTGhqq\r\nQe12iUqB6EQ0WC+1KsVlN8b92FKrCnIiKmbdzze2ST1baRsxRWKSGYfzc0A0\r\n4GSmG/fs49jrDFXxHgUcpw9V6vEAY0DtGwVBXjiJBKSZ1s/V30RY/4tpYbSm\r\nsAxil9xCNMKLp1UxMyCxe3OMO6QKQU6IKhuZ3Lc99e3BqEczfmHYQO8tTBlP\r\nOR6A6DmT27cdSMfo9mDNie7NSgD1uQbeMn3bhrSI6ntPfJ6hooEqE7ftMvrk\r\n+Pd5bqbQo3EJc0nq6l7qY47WJ7vWvxYwQ8k=\r\n=hz5m\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"93ebd374a01e9ee011a9031f416b09e588ff06b5","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.20.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.1","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.40.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.37.1","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.5.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-canary.3525609678.0_1669138787352_0.8144679332068896","host":"s3://npm-registry-packages"}},"1.22.0-nightly.3528481157.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-nightly.3528481157.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-nightly.3528481157.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"545d08d504fe17e86246cfe94a55aa58db27616a","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-nightly.3528481157.0.tgz","fileCount":17419,"integrity":"sha512-4Lg39qXeDa8vlGhlt+6y9hxPwv1AF+9+kXSFPO8K8KD7TJiePlxxG33jw9GCANpwFaulTf7ivcUsPl17Rp1EYw==","signatures":[{"sig":"MEUCIQCnxydCuJ1u8lbgk2haxRE9NKT7fvhya9diwVKNPaVw/QIgP4VAw1OR5eqLmu0Zai8L8ZlNIgQAUtnsphgNkzBPTVQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24312639,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfXvhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpelw/+PBRp1Ng+H/3W89kwbiUlpE17Lefv6yeJrdqEPCJCP3IkpkC6\r\n3v7CqYHIGbui8GFNsi1l5kcLQR+Entn05PKPbdbOKuq7CVMPVMY2TFGBF3+K\r\nyww2VZ181W5wUCZCZijH6iCho6oF5j/EMspsGSY+36Tv2zo/jE1XupLwPpIk\r\nQK9hojkx0+F0y4s4P6dEBP4T7zwCTsHLQxp1wMDTZ4tUpWP1Vvxj5si+bIe9\r\nSeSq+IzFZ70Y7z+tG3Z1+usD1ljC7MZXZ4ZrTz4zfH1m2VN5JoZowLQk0Gq6\r\npOV5zIWyk9OtpcQCSgPppAasJ2NDcNf4gV+0bsT+SDpD8M4q22w2ETAJxOq2\r\neds7tRbW5Z1TSgzmDYyFX7qoZ9thC9FPxkky1+3R6IbOGf5HM4OGIgGfgVMT\r\nm3HhIWwZQ41XXy3JVDIGxnC+Ln2u+RBMWPjmODfdi95UrqRyE6pZsHMOTc97\r\nbEXmZL+n/B07TgMKxbHQWRE0yYyeDpvJS9SpvIgPz8qo0Tex0JNQbaJCwvEg\r\nsSalWRwhZa/LhOWa4RXsp9Sau75JAgpxhRXOzHnlHlJN22h/9Ogzp6rzJ1i4\r\nrDw2QgBfxdygIPMEUvrTS8FsHmA1wHmlk160yuVrAEOjL4p7IvZB6ZNwp9AZ\r\noDxCiK9nyUwOEtFDaYEfQM7iCgxm0KQPnvI=\r\n=G2vi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"93ebd374a01e9ee011a9031f416b09e588ff06b5","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.20.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.1","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.40.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.37.1","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.5.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-nightly.3528481157.0_1669168097401_0.9679651383923635","host":"s3://npm-registry-packages"}},"1.22.0-rc.1":{"name":"@carbon/carbon-web-components","version":"1.22.0-rc.1","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-rc.1","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"3da51227b048998b1903ae66e0f39f0b745f8966","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-rc.1.tgz","fileCount":17419,"integrity":"sha512-ACj6CeixII90Kp+Y+Qy91Sa+2XUfbs/ksMED0JClA5qFty01cZJ8OxI9z48P4qzJeroQQLerFnBFgVdm4fWImQ==","signatures":[{"sig":"MEQCIByNy0GBlOi50JZsWKm4ZZ4uiXhWc9TqOULL28LFkmQEAiBXyxpaw25Ud0VXylXTtRxcWa0XAq4zrbW+R9LYOdU+kw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24312631,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfoyYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpOeQ//YDRCVq4PyFYzCG/sS7GZ4Gfy3gLu1A1NJ9GDqCVadm+CNI7e\r\nbZXGkh4+lki54/LiDrZcCAvdcLHucNqrC+OLCQDfALvR+WaM5ST7FgQRkw7g\r\nqB+FqrLlCWaTPZgqNDyw9CkaptxH7Z9V/MYvzR21DzPHr+QJP+Ky8nbfKhpL\r\nV67tRtmSb17WNeD2uYz0UdcKRhLQPzsI+R/QVjC753Xq0r1St5zyj66CROyX\r\nTqjtOHy8sVTK2vQ1xAyKZgamdW3mvOdd4CVq7oUb33lcTqpPjDQDec0EMl7T\r\ndwKfJboXKNkRh69bEm61DhcV+1vxkE58ZY0ytEDCdaIpxgTErE18+Xo7QkuO\r\nukUEwp3aLTzdRQ8sWEapq00cOYOFIQMsW/6A8hAbrSKMSjzzgBc798Ryh6Cz\r\nqdlxfN6CkLd8oIh8wd/Wk5Y3C4HFkvRBg8m7QfC0R4QnuOs9hOGgYlNlbQ5o\r\nSy5CO72V3QlXwKdKEzMMAOAxRDBSyQzPgfo3AQ5/l7zh0xHPvfkPipGfNHvr\r\nHnOjQd0Bz2yFHE5Nv29xMtSIlbB7iKXK4Rk4aXowKRcMINoEpl20FZlV11bA\r\nV39KlY8PZKYc77LgR/tbiXdLwJCJ7oQ79Kj8qg+SrnXp/NyFzj8WVgMZuMqc\r\nrEhSQA9Xql0I8hWVqUffluE6pVvzbyrR5EA=\r\n=C0G3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"031a80a51d2c94d769a9ab7c610241cf118885ea","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.19.0+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.19.0","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.1","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.40.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.37.1","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.5.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-rc.1_1669237912329_0.2501780292074829","host":"s3://npm-registry-packages"}},"1.22.0-nightly.3536956052.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-nightly.3536956052.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-nightly.3536956052.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"5d7be3d6c27ac99c425af2014a7582158f97b5da","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-nightly.3536956052.0.tgz","fileCount":17419,"integrity":"sha512-im/IWDZveaaQE4K3HTySQjiA14iu24CXGLvUNo0atHk9yYw7TK7tOov/PrTYmegTlNNHiyI6G1+K78UJktHd1g==","signatures":[{"sig":"MEUCIQDVwLUF2wC24CCUhkfyUi9WTcdd2SOx0Geq34la/r15xgIgbVNzoiQmQMhDm0fyR0Rk3Q92oEzO1fPbnOAx0pYMDmY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24312639,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfs79ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpBQg//UkmFPwecMSbGi94/11yez0gNCcy0NzCFBpOlI5sbjLdXM7ZU\r\nJntMplRpDTECUyPSZpSZ+K0YtkvkUEMajSwltTIvRs0IQecZ/7qRlFnqAs36\r\n0aETy27M23eRqi0vbXSrS/KJUiI4EPb4/ik5x2mgW8gKnpsAsEpxr7voqA5X\r\nr5D+C52vrKPRMw7EuCmwYklTQypr/uHBsZrHfCyMHMZwI55Iw0rCv3UDMqqy\r\n1wGJpdcggX6RNsxTiKd1jUKF73NhT/hqKZTbjhvRDCqetJT2y51PGsfq7WxE\r\nkhZKBDg6/JEm3dRsQruAP6ok8SliYq1D9XyZJhxwDPr9WWVPov2UFsRgJJJj\r\nlrQOKcqi75Jv1gHbNliLDFjTmIh5mLAZPzs07TXDlGb6V3tqQ7BU/rBLW6ZQ\r\ncIhJCgHeSDu7ODCwolzLk1kfb88prChr4jR0uZtVmHfrbyFq7VNMDX4lLy9D\r\naB6nQNZkpur/pRiyyN8Y3Hd+sQ1N7r3V/9cxZpb2Ghz6w7LL+JoYZwK/YMtt\r\nJxkdnhryzOvAFxQRwS/bG4314XLDeI+wj20Pb4avroCVcUUF4YdNCQ7+vFJS\r\nFjoPotoZY4WKskC2/Uj8aalwg61Cuq/LNQsfBvIIDVgh5yUc1hnLiyPHgquQ\r\n8DRPxLlk6RnkRh5ue4ZqH7IopT4pqwjCQjk=\r\n=9uSM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"93ebd374a01e9ee011a9031f416b09e588ff06b5","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.20.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.1","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.40.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.37.1","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.5.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-nightly.3536956052.0_1669254908798_0.9181285294746089","host":"s3://npm-registry-packages"}},"1.22.0-nightly.3544654216.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-nightly.3544654216.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-nightly.3544654216.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"5ff4a7f618954c654447dfb0aaba5c3d263fe88b","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-nightly.3544654216.0.tgz","fileCount":17419,"integrity":"sha512-TaHk0CI+KHmPvWW9QJQGkA5kBD1YlLgKQqiu7xc0cKRWy10pNDwx95qkvMMRk31qztXer17f0za5llULbMzRsA==","signatures":[{"sig":"MEQCICk/pxURyso2WfgoazLgrs9OPHngBxiDr+WiagcJq1DZAiBG1vr759MgBSH5U/UyYJu6mtVplRPrmb2twQtxLP72zQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24312639,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgB9KACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr2/g/9F3eGIOrt/qT9aV16eNbv229atOafp13A386ZqyNOmFSlwwJJ\r\nj5XpKY+JL31LO9IPOqVYp4ubkoBLW2NDJqOvotQwn9AJyj4rLWrgAfUzB0QN\r\ndwvcialdmppTUJ/l9qUGyLibondzV3eZSqPRZqZxPaO1XwH/KVcPbzTJcnpe\r\n+v7ew02dHTG04Qz7qH5mDSOytHaAzpCRzCwCjlEqWiclHzqUDF2vePOFbVeV\r\nvDOBcVhqBHcBlhPwDJe1PZ4Ai5QJMHifaEapQsYODIc+HIsN3qZd/RuIa7OB\r\nIXhwMYiSY5iv8snL6faICFpT0cLApqpHXQFiShxO18aZenAeWTtngz7tB9Cx\r\nUgPQacD3aZm2eY/UFYpuwb6dEVVFJZT7QVSdBA79xU9ymmDNEsDPZ+ZTIHjJ\r\nwrsucYy8tyX12FonU/tNBIJAqOuD0afLtVECHSS5QhuQA2WCFNQ9UH9DS90w\r\n/QgZIQA0TVvyKDF91y1j10ccDWJTLYQWPI2ydY3K9WTVV6BnlxnO9xzGmp63\r\nZVWa3Le0+A+g0gFkLk0f4hI6jf7/N1KHaAP3PWqDDFPwt1+RkEXnb03mXo1q\r\n2xN34AkjgU+Gn9HgiplI3+MvWfSWdO7HqE4cQ0kGY4JIkUwufO3Oz6JCBfHg\r\nMtTCWBgw68CVzETDN7GhnhYTS8YIzUcU/CI=\r\n=ORBk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"93ebd374a01e9ee011a9031f416b09e588ff06b5","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.21.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.21.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.1","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.40.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.37.1","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.5.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-nightly.3544654216.0_1669341001884_0.9967595799887501","host":"s3://npm-registry-packages"}},"1.22.0-canary.3551826056.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-canary.3551826056.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-canary.3551826056.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"f6a412e3a68f4c8d6119b923b64a055fd0ca44db","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-canary.3551826056.0.tgz","fileCount":17419,"integrity":"sha512-QlfNL05ltOeXworHDwrWax40xg5J/mqB1ExTipv+eyhnN8vrLHyOH/Ygi+YnIelxQkq/MGvS0lGkJt51C09SqA==","signatures":[{"sig":"MEYCIQChVPr+AcauU8/A/gbYeR8meN+H+Xkr4GZelRFr9dqweQIhAJGb0YTb4OWjU7uWGMhf0ykAbYa9zw3ZZob1cmZpZRel","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23759633,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgX5JACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoFUw/9EKln2ppnkszX1SaWsIjFHZ+03dWpm18i5MNM3AGGitMduqll\r\nAOvYEf1QemmRmE6yZx+srPBdsiBdiiQah0dvDc4gMLN6SwCroyjoNfR86dzH\r\nLOfqTMzStu3nV75x22J00Ct0ECwtiYzvruwvXdVRhC22XmdAfp8vKouxlunz\r\nkbReYYKiM6PJ2flRtw5SmK0cPUexNY+jHZA222v6h5tEdGpq9DKdWLpgh7qD\r\n9csK6LwT+MgyZkbOQtPI2CfXi4TPqTtXXNHa1lWZ59KEJQFEit0zjQTQKM7w\r\nt59ROjn2H6XYsh4egy0qhTJY0ueFyL7UQAB0MBlVd0XG/nNoGwceafKDGA9D\r\ned+0xC1uVYsEunovHrmjjAWZ/BuezUxm3HRHEBo6Nzg0d+jFnyi9n74aJNVC\r\nn6cMQNCWxaRlScRwd7v30oKvuxT2x/0OxwD5smgcUBf/ox0ZrSB9PBsHtFFc\r\nK/JayIjOXWW9/GbaUexZ6auwjifFXYFSjXMyprNPw1KY3jMXwWqjhcIV6O7e\r\njjHi9GhnQ4koNBunaCbWUBX696nmwn0ihJBTcyqcZc4+Z7Io1YZ9DyW4gnGG\r\nlB9jN39bzNg5kOB2MVH0GKqCNKzlPXwJkhkLYyTPAmPDN4MhBdZrhgVp2w0z\r\nC9c5Y+gUCtDAoBCSdrof9SMOwlI9d9ObCrw=\r\n=xNKO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"bf26ecb5122a91047c5d1d1884251df028c96a35","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.21.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.21.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.1","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.56.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.37.1","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.5.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-canary.3551826056.0_1669430856605_0.6847289960087914","host":"s3://npm-registry-packages"}},"1.22.0-nightly.3560921284.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-nightly.3560921284.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-nightly.3560921284.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"1432e905a4b3a3ddf63245f60558e38ac8ef6484","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-nightly.3560921284.0.tgz","fileCount":17419,"integrity":"sha512-O7G/0Yp3gdpV1WRlDDYDULwjzmb9znIDrv83YF3nYnQrDoZVm/QYvl7fJdzzpEVpKZ8rvBXk1a1zJaC6epSxkA==","signatures":[{"sig":"MEQCIFWJHFQe7Yuwpm5mkiIrOgDqlZTftNeGpIY3EKSyY5DeAiBrzpEoz9Jm7dDdX646a4zBR+PufADiBNT9Z9IS6dWntw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23759634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhBOWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo1ghAAo9QhP8rY73gJe4X0CUNqYZCzZFXKVErw0/ykBkaNNhZS4FH9\r\nanfsMr0Ep7jKjIlMlPmXHox4361GxBF7+I6spRBv8GWxdI19UoWppEApbAIQ\r\nYUsCpSznYuNTeacj+H1+hjd3Kc+ehTTdrnZf9bTZq+Qv8ROMNm0Tbefx6oji\r\nxenL+eZIbma9TZ/1nSMdGKXR7v//p9HbpDmfkWFk5OhZTqsIy8IS8FxFr1MW\r\n9pKWGbaS+N2BrlCoMQtOuBWzhl1LiUZKLaURObv5oYQcgRHxP3jc+OpcgXWW\r\nqzb2AjxZsESZfq1PlzR3UhGukZtsGyfyhgb1zaD9KaOloqXbJKVNr/VYJunb\r\nOvGoTAyW+ryTbKxehXuivbwikYqJIRLdIcRGAhS3Ni7UfFdvfqk8vcG90lyf\r\nkeYtpseQ3LmeuBF457yja3R75vnH1YFxvK3iEqiPNi2YJbc2ojcbVBAMOYSN\r\nf3A3B00nsp0CmazAr5ieRAW6WrTxAUMk+d2j35IpCvnrVVlgOO2blMqjJXXO\r\nFYTVJQBcedeGlIwPK/K2bDFoqgHP8F4fiz0iLNd/9o/xh2eUmiTrI5XCDcT/\r\nykg3Y66/VjIUd5NCMoo3s3cLdIz+9TWbMa1GS1LrYWHc5vDVhQ736sgURJEB\r\n8llsNU8eTuTVSDECoa9jyXRLfTqMSAAsnEY=\r\n=KINK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"bf26ecb5122a91047c5d1d1884251df028c96a35","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.21.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.21.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.1","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.56.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.37.1","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.5.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-nightly.3560921284.0_1669600150437_0.26319809074219913","host":"s3://npm-registry-packages"}},"1.22.0-nightly.3570165639.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-nightly.3570165639.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-nightly.3570165639.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"3d67244b94688f0e4688f5d9a399150eb63e1be9","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-nightly.3570165639.0.tgz","fileCount":17419,"integrity":"sha512-aLBAEOroT/1R2/Ko38TYipNAxsvhrpwAafbStFVd26AmWsm9WExhCftgO0AAW1SZzUcfdqWbtINr5G70E1jmng==","signatures":[{"sig":"MEUCIQCN+bjmHR1s5sF29h9QfhbUngVR8ahwhX/kc0hc4TjB5gIgP0ZPllRCcm4UewpqEax450LI/Ji90bdF+TcVY7PFZzE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23759634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhWTvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYQw/6A+AiAZjDI5xCiwtNlORx5Bel13OrhLQDtLpT9jVmYX5zG8b+\r\nEkpF4+fmeiH6wEiJWasrQ5vLeJNWsWryXjYmImk7YbEL8ysVuT1r2HDjf6WY\r\nLm6K3APKbiv+4VJrpkuad8W58B98T0hNNgdyr0cT2KK80ipwD/DiPyhtv9uW\r\nOkaBcYGUSUXGsxMOhs4EbU5CeJimN9n0jY7EmTS4q590KjPP8xQFpwgeZGjF\r\ntF2FsOn9Ik9tc8A4mXZ29vv6RJ3dZyS8LFOuMRw7oKRdSwxToipv0oReP7vR\r\nO05i9wmoYVqtpuXABbPSZD0tjcVAofqMa1gAS7UZD6mUxmJExR8Ao1HpVZ8Z\r\nE51mkBr2gYUJH5rWXMV6At+PB044mV0iwI6/N9PRdOXw5Bb6+Q1fy4VlQcME\r\npX4zcUwS2VkBOuEUO3K/uDRWhzIV/jmKE6+3ud28blke1aY8NvDUxJLTShKL\r\nBCrWLt9FWulHaQWCfuMA14maJTG66AvBVwygQDJqdMuxrt7ynUJcy+j2a5da\r\nkroCrC0AXzyc1cNYHI4b6+FQUrgamnIANRz4Pd1Nb4HrvDycRV/MLRdNcOTK\r\nj7LqjCEwog+mB8pFfJ0qStVEFxCBGXvhJJ4JZHVz4aXNMG13Ws7lySNDVo+T\r\nTBQWSphQpUlyCR+rGfwkj+vlewYtuDvfmsM=\r\n=VzH8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"bf26ecb5122a91047c5d1d1884251df028c96a35","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.21.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.21.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.1","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.56.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.37.1","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.5.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-nightly.3570165639.0_1669686511404_0.6631011453377613","host":"s3://npm-registry-packages"}},"1.22.0-canary.3577313501.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-canary.3577313501.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-canary.3577313501.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"7c30cff1645b28539b574f59e21f850be002b2df","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-canary.3577313501.0.tgz","fileCount":17419,"integrity":"sha512-1D7w99ZClO3mmNRAAQrffBLelzLAa1Tbl2/PtzH0fzfzynS4QQewMEgOOfek0Qjm/U0kA3hzORUc+6LVOlnRYg==","signatures":[{"sig":"MEUCIGcHukYJ2Mt1wQ3/U+LHI9KGEN6/tiCD6kVhK42dJ8SsAiEA+byWx0+sknQi3cfrdZbsM8wDGTlaP1kQggVLg/zMkoM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23759649,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhmBlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq6EQ//eZlDH7FjoichChe8F3aDQg4EbPWBBQq3ypwTbkLBZzlW5ok1\r\nVX1mk7IN9yvx1OxKE10BZ8wrkvCHN8bqfwKYRTS1BacmUW1UTNJHshUsoobe\r\nhg5ER8Jb1Va0sG/ZOfR1nR2+qy5dYwhQqcNOHET+uP711yGzMmri1lYYL0sD\r\nefV37XZ9lSpQlPF+RB4hsR2ue+AdTX/13Oy/UJeQhZ+g5AHS1iPSUlXNJV0D\r\nyZ8588MFX1dxNncZTwSnz04MNVO+qFNG+4oB2LKRGWKFNHriK6I7s4Yfs14j\r\nLWh5OLCpKw2H4QsV7Gd9xCHfpCoCiJWft/t60uz07lAx9j9mJI7A7k4RZFWR\r\nlLmYmhwDXrY8FhBGr7Oxr62jNsAHM4XuSSvJn2ZA5uGFUSU0Je5ZxdGhnKKK\r\neEqKMCml8cyrsleYGhtC/Z2fZ0UOdMVHCBSkAjLM1QD4CqChBqOEjTJp9FZd\r\nqOfq06k1lFpohwoH7Uc+Adx4TWYOFwjZE9A0X0hUSaABmVUMly/OWFjccgUV\r\natrdZT7Re0HTaeyx7jRfcgdmiJ45cbU5WCNAUelFMFE+Il9LyTGgHf17Fr46\r\nk5e/gvNiuBJ8qDmwW9LSIoPna3roDKOi6zlgtdDs18lPQZM7ACBSOKw5uCcA\r\nReda0dTpx5oCFDOkhj7EukawDuz7GqV5KJc=\r\n=ISFc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"5b97727ad26fa7830bb1a07de7a6f0e3b0aae61d","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.21.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.21.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.1","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.56.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.37.1","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.5.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-canary.3577313501.0_1669750884954_0.09413137772500124","host":"s3://npm-registry-packages"}},"1.22.0-nightly.3579496828.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-nightly.3579496828.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-nightly.3579496828.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"0cc4c07131d70b2ece6ddaef3f0c2073563a3303","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-nightly.3579496828.0.tgz","fileCount":17419,"integrity":"sha512-EDiLgQWX1U6qcVwyhW/0Kqbzqsaha/tqKbAg56K8JXdEovx4bqkhk06QsygXxskX3pJ+0kK7f7+TfE9Hqv5IqA==","signatures":[{"sig":"MEYCIQDdi3xzICds+svEruH5QQwoz8giqBUHATqtfdVS+KDICwIhANlSsH17TJ+ZW8YkeUd5MmAR3u0Sv3Va/fnaWxqRv/wK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23759650,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhrjGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpr0hAAnJ7A4BGTU8Sme2EGyoVqtcGxhZ9xdVv1oRZzS9tuqrgmlSz4\r\nwCJk0MIXGLMGTd7WtQ8UXGel54pXt/Zfrrt0lJc55Ly65aCeq6JFx3pbsxJA\r\nGHsZ0ZoFsuzDzQ+nH4n+k/xEnAuOT7UugIPkF3wSNEbTfOvKbwPMx3GncUVn\r\njVX08o6n2YGAMB38SNMzH8svws+ElT0mRiSFoz00pVX8rCcjzmLoGUNjihVx\r\n483JL+BdFkNN0RW/nthr5B8oagd8zYzj35MfcIF+zFMjHEGw5y7fCxXm/B8s\r\n7ZfS/JiVqqICZfgpVYQSI/422bIy0NEuTi8bWE3vRAUAnGAcSxwAtEefQez+\r\niYN/jcodvHKrmJDFfGYjOdjJWnXR0xORIRl0DFGrP9WPV6bk5bypAuFxJ+bp\r\nKwhsV8M+wlJ8rBq1ZnEoY+oAGKGk8n+7e1PMSJojtG+1iDms9HDsXJfe9VtT\r\nFRqCMD24m/ZL0ZHEQdrGDfnYh80SOv9Qw+sHKKOuKbvvF5rksYGDc2vxBoAc\r\ndz9yH+DHF2XfmLiCmHfdYBxZpvm+tE1TYiWPNzjRCQKmeyUpDvnnvwgjUdMa\r\nGSC+zdtwtYFthxPSiN+9Ztf1sLRbNNhrhM70DxA/BbVHyqpKewwcCWGMhXGz\r\nAt+4hJYW6FMi0EoVTkJAYZ+1EPu+kT35FaI=\r\n=wVUG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"5b97727ad26fa7830bb1a07de7a6f0e3b0aae61d","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.21.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.21.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.1","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.56.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.37.1","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.5.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-nightly.3579496828.0_1669773509986_0.11205432089763523","host":"s3://npm-registry-packages"}},"1.22.0-canary.3587824640.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-canary.3587824640.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-canary.3587824640.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"2b48ff4e54eeb21a213c5d7490c8b6f865b8e7c0","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-canary.3587824640.0.tgz","fileCount":17419,"integrity":"sha512-8E/FI3O6GC9giXGVyTXfTBvhlxkWdao3hLXxzsFQPVqZMw2yyUR1ZKnKEeXOPPjYMu/GNY1oPeB3no4O6sT9Ag==","signatures":[{"sig":"MEUCIQC3b86F8Mh4O8jYO8N+1egCfyP3pT3LnrYlNPu0i7axjgIgT5pTCerYKpKPNkWYufbPYfDXPSDquHk7lGfL+2kKBZA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23759649,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjh+ddACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpghw/6AraqdRr/VrVexBApKi7OHAsrrnjmSvJMp/AVH5dnplG+4c6G\r\nZa9jib1LaDOUc9I5vmwPlsMG5DSUdzcg+dASf18jcxoMlbej00vQ8gghi82U\r\ntdMwvatQuYGddOipeaK0BQw9PzoR9yVNL+IArEzK/ca9bNefkwyNs5vBgi8u\r\nn82a3H3K8lHMZabv3+PURE053eIf77ICoQe1owuwLgEFEYa+VAWS5nBWpL3p\r\ndOwLaVFzVdyxI26HAyys2m8iqr1BQXYhV3NaqfE7qiCoG0qvmDUNZfb3wjZU\r\ng1GFHk1jCBTjnoNrUqYIvdHkGNn6iu09lkuRCGvEaEna+u561r/i3OtWVCLy\r\nGHU9Kf/1IrcLFqni6oGmy1jQkrlZoPNd5qghLq5o2DxsEwWf5je/z1KU3KyK\r\nbKXzLgBdMXtUWUMro98qrwRHVzNFKqShQvJknsC3T7Czvya48+JBWM+0pho+\r\ntJCoJkncPBZa+P6ClImkxb/dZLsuNA7KX/C6Xcpa4EQ6qXb0/UW7s7EE+/KN\r\nTLwbcjuydX0TaJ0VOHBAL7HvIQ6Pv++34BtrNh5QM305USvrZTXLbXjqzh30\r\njU2/xQbbdS2X9HXXRLwjbhsx7ZbGDHjLPR8n27OWsQInxDz7j0I8WFyzyqzX\r\nhzHmes1Zrx3YQx6xXkP0SSLwRwP1CbXSGTg=\r\n=igtn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"ded14a3d9ccf030c5b4de931f041300bf1b39681","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.21.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.21.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.1","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.56.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.37.1","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.5.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-canary.3587824640.0_1669850973013_0.22567912955641511","host":"s3://npm-registry-packages"}},"1.22.0-canary.3588565159.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-canary.3588565159.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-canary.3588565159.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"e9167f2417d742f89a4ed05f56b20b1f57aa03ba","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-canary.3588565159.0.tgz","fileCount":17419,"integrity":"sha512-bj2EalKyIVhbS18psmhMDf9IUcVfghFd2xSO91H81mGrbGcJu5RYY6iL5sbXaK6vhgFSJ7IAKc7yVitzBbgvMA==","signatures":[{"sig":"MEQCIA/92sXSL5QVrLbxV+QbEKRrEtrQ7ACGDpyNCk9YF2ZlAiB1XMiYcC0kKL63AByRtexQnS+Lbnmb57B6x2jlC8RQhg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23759649,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiAaNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq9zhAAnZNbkdSY2OdfTugSims8YrsYyH0O791qT2VZcQFp5LCP1TWA\r\nDd9fUaL4jAlbNtThM1i9VjhlBBDe+vNZe9qAmbpWbioGM1Ixlqktv2e0SKPN\r\n5Si0N7bi08Y/WEH8lk38ZmIGcXfmp+3HWQhTF5MsU1EtG6ksEjYOJHK+E4+/\r\nThnVYW/hoMTHU0K/ZCfSUCxJ6eWZ22CcyLmf9nEbzzQU2NlZWyfURkS/mH/O\r\nlWSp79WTsCMaDyLk87Vlnqljg7JzBFS8aJmI0Z6lYhd9wwHAyzEDTaVC3EC1\r\njl3wpTvfnbyh8Kb1153AN6+T9eTuPKmPeB2Quu1DkMZEePw/5/ZWCPUI6+jz\r\nNmz/mQykRXR/asHLm/2GrxyD4SuRgiB50S7ZOXgklSH5lsHOH0I/zSOxgE8h\r\nTg0BvtTr2yoUybFrebwOd1wgy7S6gTf9ZAoeH1nCJ08y2tSlJaCO+VHTLrc7\r\nXsSguvof7Or3FBQlPQu1VtR9z/FYPLp662m3oPt237mu1v4rBOMQ7H3eijXO\r\nQBiXlMojoEZ9x5kIqYBLGuWARo05PsPq9tTqp7ZCJxL86K6goI1nxVFoEWPe\r\n2XuY8QDsAWCz+lCsK3Vp0b5PfRsxSrM0POjY+cztcWKlkSep0TsfxiyJtSN6\r\nSkmMxU49urS+jZOw63aIRYKNZV4gmtqS37w=\r\n=gaVf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"ebfb388bb09a254ba1bcbb845be371eae4a871af","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.21.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.21.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.1","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.56.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.37.1","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.5.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-canary.3588565159.0_1669858957200_0.14559802911877773","host":"s3://npm-registry-packages"}},"1.22.0-nightly.3588612585.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-nightly.3588612585.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-nightly.3588612585.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"6fa48d1a79c2eea8578e72a587fd0cf43c85ed5a","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-nightly.3588612585.0.tgz","fileCount":17419,"integrity":"sha512-bM29LJsuYALjHUe0C/CrngW2MUXtf5OXzzR8X0YvrvXy/VGn3uri4VDPptvffpxpBiaPcJv3chmHwf1BrCnqTA==","signatures":[{"sig":"MEUCIQC7KCtcLvv+Ww0CFhN4ZTd5S/5NiZf7p6Y4lde27WRUjgIgGd1ssGpRUxlf7quVTkl1zTwRK+V8E+TjZlbAqRyvjVY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23759650,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiAncACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpNzBAAhvKfrGpcFWKTHmp9wJb3LzJ5MAX25eIQRMRrjHrs8DtsjQPL\r\nwVQ7sY3LxHqB8tOm6xJhN4S5mzNcYKNHKVjrrIUcwzj1zTpj68yr/ieficN2\r\n97Ras/JX4JqR3ry5qUpX6G7uvklJOuYdnGEFsYzRAMf8Ub49NBJRkJ/+AV4G\r\n1gjPqF2z5AqNxkFWnRkqAASwE+4TvAmDFLzV4uwhdVLoBRUEC5Ox69riQ/OH\r\nWR1DayXnK96Je5VCtfGUfkPYs19Z1LyExh2e8RhZ/djm+P/SwhynzXcAvU47\r\nJD02zEZ6DsNaqfYgJT5pvQUPVL3PByMkCB4kR5SRYCtNiDyFqcjQTK2NG384\r\n5bw31Lnqw9YuoYO3nfHNYaQyer13A8lEfNI6NU/k2HMrDbatE/z4cWWEtGzC\r\nV3qiMSpX+AQL1AFAtQTVDRoZScDrG35loszW/ilkRaSB9LCRMHExLxjwy6xL\r\nu8/oOiodS1zh+UUB7/CfrE3PWayCwvrZXKWYDMSihdW+/5+v6GhdzhPTzEvi\r\nYc4sFmqe4DTwnwrfFNTK3tfXh4v5QjaPe4Q3opTXC5BLWOidC9N1GaVtHnp7\r\nPDdgHt2WZ3R2kzpuMeeBdJGWXdBCSMaJKm6NRwaYcv9FR9ANiR0VJm5AdbWk\r\nAKhiOwY7cPC3zPUs+Mhq9fkcgxkdIyC69zY=\r\n=ap8A\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"ebfb388bb09a254ba1bcbb845be371eae4a871af","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.21.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.21.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.1","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.56.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.37.1","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.5.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-nightly.3588612585.0_1669859804352_0.014435570076873683","host":"s3://npm-registry-packages"}},"1.22.0-canary.3590928308.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-canary.3590928308.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-canary.3590928308.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"7046a0c252b91bb4b989a63b98187ad96c9bcb85","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-canary.3590928308.0.tgz","fileCount":17419,"integrity":"sha512-bUuqxbIDnHmPDh+geYLN6rUaVmQH+/EPtFaHuLixnv+fOnQ8OWy6RQEvCiokOiFdpakk4XTSxtKZ62Y9+qMCcA==","signatures":[{"sig":"MEQCIG679BK9s+ySikn0mCl2lWXgu/q8m+bvQpCIOxAX7GIzAiBa7VT0/SABPCZ55OBuwmNQIDnpX5TBEFgeBcMn9ftjvQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23759649,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiG72ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpFTA//W4wuU/uk4woJAlmyKtXln3pZGmE8hNh/NGWlTWyriDA51jjO\r\nLrWVFK0X9CoGFVB/48FKrNXs47aZW2oTOcCW5e6Nsle379WIcRtFs0L62rsj\r\ncZrozHiFycXXaZSAiftSBmkb57xcKDumoUze34P10IZuBEZvQVz2VEzYlVOS\r\ngf3WGMNDGMtz1u2G6kTASfScigRsHa46eaPn3WVN+X2+H6KhpnfZdSS5ADH3\r\n9kk5LEB8/eLZDoHV0OAHEv1g92EwaT5bS8x6rL7rHQNQ1mt/dmxBStxtI7s2\r\n27QRcKHhb9QpB04FJ3QOb+2/zjt2M7VV74hq/KBtV2BjRqCQHl8MspSYcVlE\r\nWJnQASab8mlGPlB1pbZ0y9YFb72GHFLZwSjnoa6nBwP44KnOz3p+z5cGs8ny\r\nRZ7HCHaXF6c9GpBKX5MlJD2gbrPzltKGvO4Ml7c9/CQueK3kCs/uzgf/AByk\r\nN7Ctu5WBl7oWKbU2/Ud8u7wTWzliVQ71B7HO7f7IfcnrPHRLJpnnvznveH/x\r\nv+DfQjDMlF2FgboOtMJZLOXJ6rdxs2oMHOLzrOaeP9bQQIOrAXpSBw8gR0P1\r\nRKBowzuyBkMON76vpmwL2FVUspd9nGmoczkkdncEngUuT2AUbCQrgPAfJ0KZ\r\nLT1fsgY/iPyQ7ljv3i1L6fIJyIK6ZpFQ0UQ=\r\n=Nn8q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"5761891edc1e8a6aec37994fe7bde62f587d1c50","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.21.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.21.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.1","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.56.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.46.0","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.5.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-canary.3590928308.0_1669885686506_0.6980015426665811","host":"s3://npm-registry-packages"}},"1.22.0-canary.3591624458.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-canary.3591624458.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-canary.3591624458.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"2eb0b59d264b6d6cbc741e465a555e873a63b57e","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-canary.3591624458.0.tgz","fileCount":17419,"integrity":"sha512-FSBjQVARjAkPEV4JWm04kv3NONG3mxOh/7Csr+a+2xQxcbt/pqJITjfksc+c+vSoJYFwS2htVXSdfF4KrWVA7Q==","signatures":[{"sig":"MEYCIQC5dTCXUE9hNh4ntlcei2L7WeKQbIMJfJBpea4ZlrDa/wIhALC95WWxZhtVUDt6rCp2nYueCfYAvlMwHHr6ioxx+BIE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23759649,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiIS1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoIuw/9GKJsiEucehfYSHISGQZ/xld6sTIbikiIjJkLZDdwZkcA2Ov3\r\nA+n4lGvVVwWscb9QHRzoAdQIlJWf+hyUmsVLNlIMTLg9n9xppyh/m3BDGg65\r\nWnxCxw4VCIGW/yQayVpWChHFpVpoH1NutggDbM71JQrKgNgAnjkLrTJGU1j+\r\nWX5qzNRj7B67HWPXtq6pH0OnQpQX5nUzVEzNR3WkFvbsPvSIgcZ4XF6i2MJI\r\ng+EmzHQBdwEDP30++UOxuhRnpAgoWyz8+hwidm48iSaYHrIZ88ByrBhvDIvI\r\nZ0AIEYzRfVMtyg1GSBmhKbqSA8r7h/mRJxXxWvs1hQU05EMwLyWcaM9ORgiT\r\nJ+UZTOqfRzAGTfDrfWy/6R09sibIGBkBkB/Ka9njxXheEd1K/CnoakzbZucr\r\ndrUFNd5mwi4jYgcXjbSgpiQoUfv3EAJ+dbj67pyhl3BGZOEMkXRY7gp1vp9A\r\nFhrDmIuc8zr9CA5JwQL9HlEJKogrkPUcg6O95Q4P2hbuj1DpcXP+lijiQjWS\r\nLrJyD4CeRbxSNvHhf7J+MHNhv7TyvvTE8ao5tPGJyWMrlci2cgZ8nVyCcUpR\r\nt0EgD15hcUWVFPg1khWrOzFOkQoVW99ptOcAD1Nca4CNVDDvmMUfiyFg3fp1\r\narLzvVPJlcLtu3eWY6CVp0K1Wy00/QBQaXM=\r\n=S3LG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"8f46d89b3ec87a15949f27d948d676254bb6c915","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.21.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.21.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.1","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.56.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.46.0","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.7.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-canary.3591624458.0_1669891252576_0.3624118909724856","host":"s3://npm-registry-packages"}},"1.22.0-canary.3592511576.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-canary.3592511576.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-canary.3592511576.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"4dd5f0c1200594b248288cbc077cd0b05ea51a1e","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-canary.3592511576.0.tgz","fileCount":17419,"integrity":"sha512-uQ8MYbgEOMfj0Xq7nYKP8I0sVVuMC0S2G3mTioH3VYaUyleoiLmyHqC5ftqZkjXEubW4HMull0PWB9mwUqkiuw==","signatures":[{"sig":"MEUCIQDWHPoQXGAJgw1WX/uA4UE20MyOEizf68CLV7bp7VqoLwIgZvp3MVHaEU53aqXwIW4QJrj89Z5CNgU8kbikpSb3wrI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23873948,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiKDyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp0oQ//bvWla5vPHqjHoEr8Je6arX30OkS8mRkyT8JH7rTtQu2an0DV\r\ni7V88AJIQojaLBDiCJBWfZ1iapliTXgfmKQF3qmDwohZLDijKFzz8j2higOl\r\nb4keO6c11dzQB8N97yjjO+coHHU9WT5cAGqb6cJb6iSkB+FO0j6tu4xsC0EV\r\nBg1okF/5VIvIAbxO/OtD6M6ZU3Mlr+Uo5Nyxhr0h/l+NB7LdQIaEFkG+Ru9I\r\n/c3BspoMZHzvGVERcvSN8OliH+zf2XZ4coQEBfFU/QuuPOGLCAz0MOQcK/Lg\r\nTN40tzy/LzUPZrWcqSv8yLof5epBsYw3a5FolWMbpLmShqHBDuVhHIcT3dW6\r\n4N9b2z4uKUTW5+zz+lzga469fcDEaql+NYyk/YwV/waJGuwatbbs8iZby2Bc\r\nIjr8BeUTx8be9TrRnXLoKIol8FZWWVZFUGijDuI1aAtvP360hUqJRaCbQTr2\r\n1fPeXnJtEFUeB14L8piuX47xcYlYUsc2Hwo5BPHvfzzCOxpV0p42ngkKDGj7\r\nFGTPfWWmN0Jj0u6PPLO5fACx7hGnYsMhYap/c1OEI1YNUdEgTQkO2mku243z\r\nfVa5YXGJn4xb4njUEfblyF0J5IlsximtSzOzCXOkjSQwmEOX4tJoSulBGloG\r\nAr9GUQBlQpbj/sv8ru2X4CJ0YDzwYuQ6HyU=\r\n=FYNk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"79958142bd036972906dd1ba18458e4e4c192f56","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.21.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.21.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.13","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.56.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.46.0","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.7.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-canary.3592511576.0_1669898481838_0.7357634964019266","host":"s3://npm-registry-packages"}},"1.22.0-canary.3594689443.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-canary.3594689443.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-canary.3594689443.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"417e71ae3fc5178147474d64b98fc8c772bec1bf","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-canary.3594689443.0.tgz","fileCount":17419,"integrity":"sha512-eBAUj9LlEw9zYNGo+cGggwowT51/lIRKon0KXDo8x1vNHMFLZiHahW/xHmV1o2wqbPjhMp8RM6D8qusv04KJwg==","signatures":[{"sig":"MEUCIQDuVEbBNE3X6CO1Qt9RDrYM8f4U58/9ueDBCki+5V5r7wIgFp5QOzQ9pi9uq0XDHulCghmGcqG34T251vqlV34IURc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23873948,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiN/eACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrGkg/8Dcq0PJ/NUzhWNaaEoWwQYGDI0/1nahaPUPAawK4GgaBkGU/b\r\nmCzjvOcPFu14xkNiCX+ZDzralFvYXNRN20zfujtXL4gOiYyIQnX0cNjX1SF4\r\nuu+CNaXjW/A8kMMBEPykB3uLPllPMNXoemNwHUw5vY+Wi+XO00aeTWES5Vtb\r\nnOAlsirD4qWYsqx/94quNYf9beIrppS61+/L2XtO1+MIwpMPcy8JjwYSOvom\r\nYpBeBKlo+zywHP/1qfpHlK9WJN9yHRm0LXI0EzurxJT5KPGlbkqQHxirmJ5S\r\nW1uaeegxbRdsqg/DySq8LQFD2uHlM4aYRf+DoTmDj872vzd8y/CnQZ6j0dry\r\nClKQ09pKrlSLo3d2ujJrVLKtxyvboBAeE/5oolJqRdpgzcGGgyqIZAxRJsHd\r\nDKw1fe0n5AaIJkIV3GQKCxgwerlIUZHNFBu8wIcV4qwA907szhO8stPDkUa0\r\nkCLQhldDJg+755sj5sKvBTTA82bKf64ge6XDPUl1uRSuhWxYezBIVwh9qC3X\r\n3fUvvjC9LRoC9n7jDezqY4RGySseS3sxwlfWaA8GIy31cwYSAeJE/AV33hPv\r\nw+dIKpOTDDq/WJSjCLr57cDT8/eTzM8wzrASVeryPD4lQUcufaDb7OjKIbBB\r\ngF6GOXt0qbneemwvaS2+qexsQ1RJ7+8aPwU=\r\n=+FY3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"b2c0d57ed5fe8cd4837f4458458293acafdd152d","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.21.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.21.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.13","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.56.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.46.0","webpack":"^4.46.0","zone.js":"~0.12.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.7.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-canary.3594689443.0_1669914590079_0.8428313452527598","host":"s3://npm-registry-packages"}},"1.22.0-canary.3595999136.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-canary.3595999136.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-canary.3595999136.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"fcb668c9eef88305032f7a7e01595a99c9fe84db","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-canary.3595999136.0.tgz","fileCount":17419,"integrity":"sha512-Sgu+0kQ0W2v0LmbwPuHhlw02S0ki7+AwCDXo6Pn7oemXv9yYzN1SpFecuLG0HxK13qFY1S/zPHUlpxJM+toHjw==","signatures":[{"sig":"MEUCIEe9pIoYb4w/qAr/92wPxg/nFWC3XrMXPKB6WOaO1gh8AiEAiXS3o2wPSEgqqemOzLlVkQrZY56NE2JiyL9mvF7D0tw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23873948,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiQnWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp+FBAAjSvsBTcQ1HYDgQ7ttpVs+XzLKv5XTNUIgUnL8d6kiAwIbv2S\r\n3mmXeU7FYfr3ZucGjKMwlQ7aexKkhz0W8Ug4i6ZLmdNMlYzpOyxzcRppsGdL\r\nfs0Iny7hcdcGglY09g+R/lGQKq/c4+fkVA8U+dGvZuJvmQgvxE51qW+XCM3S\r\nOxXP6T1F6EcARVQ7daATjOpdA1Ozd6/NnTftJpdRxkQ/GYR6K+p5qGg1Bl/M\r\nrHujs9WQqt+61sD9RTHRqej1EP0C8x0sVyd8cF1eTZvqAStUhiKup0kzf4e0\r\nRUYe4cW1eA2hzAu62ayJMQGXh2MmeQ4h9T0jx14juVcp1+4flsdgXjCoswY+\r\ni6eXH9QhpX5be90SxfrGXdiZc6hUMDqJUvc6S9Jlcy6m1UsfhF5k5HIaAF1X\r\nzYYj3bcT6FUiQXoVEFgY0uhS+Wt0y/I9HpH6hmiLSh055MdNG0vQ/UNDOCVS\r\nmKzi3t34PfwgaoWCdSRaNGTo3UcyhaDrEO75yAqrILKYPbWMVMO7YTdVZf+4\r\nR0VE6+bu+OVxA2OD59MSbGNvK+agQqiEfeIASP7UGr6cMOJ4rD8vcSbDEKMI\r\nV4zc2Sz0VJ/FNEROX+AJcPEU2dov6URzkd/iHSSLmnYOIx7pGXTXDt35Z6HY\r\naKvqeE/YxaigEYq7LM4jjSMUWiC6K9K3lJc=\r\n=KGaM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"349e276199741e6b302eae45ca6ddc076d9dd7b9","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.21.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.21.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.13","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.56.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.46.0","webpack":"^4.46.0","zone.js":"~0.12.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.7.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-canary.3595999136.0_1669925334515_0.42994150706765133","host":"s3://npm-registry-packages"}},"1.22.0-canary.3597496406.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-canary.3597496406.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-canary.3597496406.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"a79f5e72f057d546e2fa65e2d78f68697d54f477","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-canary.3597496406.0.tgz","fileCount":17419,"integrity":"sha512-U8WVi+K2jl3N/FmuEppEVGMctDvP7ZkmJdw34guf+kkhcwaGFhOfeZDyXVqpb5bfCiHj9KfZ3C1imS10sCMklA==","signatures":[{"sig":"MEQCIDRqPmT72Igx/JKRKde7+QOoHIHv0EDQwpLJnWfdUbBnAiBL0dm/v/ROiJehQVq8dDl9OW5sxVGzmfiadtqC7ZkBrQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23873951,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiUB4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqONBAAg6etsAqgKTGyc7q82KAdAPgt9g9z3RPJH7Idc5eiUGzY6vLG\r\n8m+2VBV65hfWm9CDtYR7ZFjzZ8h9CFmf9wXaZ3c8UPgPF27QiIdO2T9VQpEt\r\n6huS06jZA9jzHpE8IEhhY9zI7pmKxwZYWhL1nFfyy6t7BdXkHFi0M40CdwtB\r\nxnhlUHskFZBynkNpGOW1YVqmni0Ln0AIna7nqXnWAqX7aOs0D/3Wabro8VkV\r\nIiawvhZa2al56Uv6UI3R2EZZNXhXlRA7f+6Jm/RQLVjqu6fHJsHHjV+2V5pV\r\nGJCjG9A4Mc1/biixKe5C7Qt6iiULyRSmWPBIE6dEkDlXk1F47Ipj9TZVo8xi\r\n5O9AeCEuwrvrjHlxdE/Zviv+V7XoZjATS/40AXFTa87g8nGzSJQP13LP9d1L\r\nk7rTH4FMoImawrGGX1dfL5vcvIjB76t7VDD2bx1TVUQoqeIspQfNM5kzkN1+\r\nppfC4Qe8i1btSlnqRiE1qxO17xNt08Os3UuxzEI90geoaZ6ETnXUbvyX+zvc\r\n1l1c3CjvniGAFmaEZC2gk5wIjJJrEtWhr1PVY4rtf2OQrFDBXFTwL1et2DVC\r\nVJJQIdsY63VgBFmwyGL74tA0mleek9qpVlsnoa9DzWWkvEQLztdOsxImbzrc\r\nizlTcrjI3vgAHlvRYTwx2UtzVyHK1jzouJw=\r\n=MD9o\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"dbed7fdd01ced9f25dacc61e665c74e3c6e6980f","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.21.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.21.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.13","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.56.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.14.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.46.0","webpack":"^4.46.0","zone.js":"~0.12.0","fs-extra":"^10.0.0","react-is":"16.13.1","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.14.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.7.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-canary.3597496406.0_1669939320026_0.04430065102225367","host":"s3://npm-registry-packages"}},"1.22.0-canary.3598059624.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-canary.3598059624.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-canary.3598059624.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"5bf9b48839258e5f7daeb9ca2b37844e7fa9a076","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-canary.3598059624.0.tgz","fileCount":17419,"integrity":"sha512-Iu9JC2U+zt+AbRwXsnQ9meh/7/RnBApmCQgHqqTYSNL2Z02wl+qajCBkMwu1SWlOYgJUAIDe7kxQ8Jb2n5ZyRA==","signatures":[{"sig":"MEUCIAFhEw5N8pjl2p/4vBtHEc1yqAgpLkOT0zXFu4ZCNyx9AiEAuai+ItdX2oUSjVs4dnOqzd17uXRDxfjK/0Hi/nG+oZk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23872975,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiVohACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqDxQ/9HIY/uvBEFPTKrH0jyYEU0Hjl+0UgdXL7ko2rOI5AFK6Oig1U\r\nrCUT7rdyUUFdL0h++Dw4PS11qALImiIA+tbgjruBYZzBuhQ+FVi7BJbjkwvM\r\nxe+mVBD2CxMQsNPLJP3wkKKtMyzX78yrGA3qbBMA91AgZFCWGxar3lqpeIRg\r\nX7438/CEHrJm1T/UZ7iuGLwJ8Iv5vdTr3c8FS7RFVbkIEuA6kEorc2rNbFSC\r\nqACDny2HviZIJsdDYWCzIw5UMziRQKVuhZwhyIjrkpiOBJDkx8Z3fjmhC3WN\r\npJwEZo5mXEejRYwJFM6BTWRxSwl1x0V0ybJtD4jETdRM9RTq50zYoCDj/J3T\r\nwNQwr98D7NsYk9gpgfwE3itd/A5oTMGOPDaGburOMGJTqzXP+m/h8QGzhSHX\r\nozivl0isjeidfjSclLLX97s16yaz58I1VVhwq2c5I8iMHUwqxGhV9xF8skrm\r\nVfZhC/+KSfmQRwXFlnP1KkhLU5jGZ1FHCTwzN2orq4pEiGp0a7WWPiAaP8GC\r\nd3Ivo9iSOm0Nk/BrIoWjJfsveCdnHWy0sis9EMdy38Wa0yDzfn3afLzRsSCX\r\n/n/NNcwa9QGq4lyei3mzr4d4PtDtdrGP3hzHny1298cW3nKSgOuYG5rTjfkW\r\nmPf3r2LaIAkiw6FGekoQOCwaIGx/Ajsc8DY=\r\n=Sgob\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"f7cb664cbb35d4210dde4a05f226f0ac2eff74ac","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.21.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.21.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.13","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.56.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.14.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.46.0","webpack":"^4.46.0","zone.js":"~0.12.0","fs-extra":"^10.0.0","react-is":"16.13.1","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.14.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.7.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-canary.3598059624.0_1669945889394_0.28633055190457446","host":"s3://npm-registry-packages"}},"1.22.0-nightly.3598060968.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-nightly.3598060968.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-nightly.3598060968.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"286b71d7338e37ef2b8f7605ca1fca21c7824fc7","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-nightly.3598060968.0.tgz","fileCount":17419,"integrity":"sha512-LQyP5TJnuGb9sjMsadAYEhY09tE5t1r1yfiOlpNmhGnx0ArndmaostZLWlYDOM+vLwCFCm6CbvqVPwgMWkcyLw==","signatures":[{"sig":"MEQCICNntAYofb7sVtQPPVMDByNZVvw1Ho5pP1pDsGXSpSouAiA7JTCv3F2eQT2+l91tqIMCxUMb+gRIOoHeEHa8f4jZpw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23872976,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiVzoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqwdQ//eb0wVZ0Ax/BX6PnpHXp7hNBbH5AVT0+EVyuMcKxRH3rlHRoF\r\nbJ0gDWi5X/ibbHmGJ0/D6cEMCceI+8oGEzLrhoQ7NQcjXTpjwakE3NDGckhf\r\nH0hSEs5pM9yItTKTgEnTpXA42gt5Pe5Rr/7lHVXiYKJ+3YoSfuuYxp6xrVbK\r\nyAs03p9G0HnFYmnRQZjRea2blfrRArP9jUXP/cyerfTPPRjxGLv1IC3fVPaq\r\nGo48HVCtTuulfUkTgnDhK8BodntAHBOVrDRqUJuD2dy3B2GQq/wP68Jnq1ox\r\nJwwFnMT4Z3X7bVxXyJofGEfPYHbE+ueLkUwEmxHXjADVo3e6QdpbuvoF6gVc\r\n0ZFihQVFaRoGmculNiT9Euit+yGwHuBimth/khVhgILL/x4nlm52zy/MNnJ7\r\nzVXEx4pTgvlqAqN2Ys10dG167YuruOGQ/sdTxI2AlKw+oKo7Ie/b1CJyhrah\r\nqqvcTc5PcGzTeRy2jG6ET7OxuqlYgBzxojGn7U1BXaGooRwwKFVkhMYoxC1+\r\ntU2WlGZYGie6v0d0C1lwtdoRtBEqSWkpVkOnEz1n2akDtVZci6BC5AAJzu/r\r\nftqWf3BGJava8OGYpbF2k+sb7QZRCJT0OgfiSoKVhcey4zK7dEMY7RerYeHl\r\nI72O748rqb6vTBJFyga39wlKEramzqIa/yE=\r\n=wku4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"f7cb664cbb35d4210dde4a05f226f0ac2eff74ac","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.21.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.21.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.13","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.56.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.14.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.46.0","webpack":"^4.46.0","zone.js":"~0.12.0","fs-extra":"^10.0.0","react-is":"16.13.1","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.14.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.7.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-nightly.3598060968.0_1669946600220_0.9241293605888081","host":"s3://npm-registry-packages"}},"1.22.0-canary.3600971275.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-canary.3600971275.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-canary.3600971275.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"4e584bbb63bf76601b352dbd978d4e22ad043633","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-canary.3600971275.0.tgz","fileCount":17419,"integrity":"sha512-apt0tfPMwjgwI6agANQM6MNEM7m+qzIKUhbDUkgrdoryuwbMg2lW8wvDYLjIsw7rFKStIoVDcJzL6CWwZJAZDA==","signatures":[{"sig":"MEUCIQDoOkPQLG+CgCoPzeErkq9JuhgbDWqHyqlPXBXqzH0pKQIgCLrxV/L0PfVJWYZCSMplXECe0slPTuizyLHj21AnNNI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23872975,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjidy5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpD1g/+NQeXoUUnbkfdkEJgtYtie/yHctltegRNo+3UQ26BmdUs+wya\r\nEFTUrxYWGz5KwEIiKNGT0lX9onK4xiP+Q8y/0tc0JrCNvSq8Tw9gaE7iiiWF\r\nSby935s7tueygkp2tNeTnIhImNxva4ZEf0aMapayQ6B1DYKEse/VQQ6zvNIh\r\n4MTVHYZjeU6UhE/otWsW6n0KbvEsljZawaujbyjQLcScZbZovz99qkef2pwh\r\nseufigol+CHhzMRKK+mcyMJeLn3DFVFv/JHh3jvEdipLEz2j3eR7WX+siW7E\r\nq0086NdgzPcqwgQh+zedP8Xi3FZsnw8Q8GpgWVpT8D2G4ptYMFsrDxCb32tu\r\n0PeooLISRLMmOvagPvjw4DTf6YWoq7CEsAL5Jkc+Mk24UB5GrG2MYD9L9rqq\r\nVy3fqcoc909VyqRclzxvaHAvUQcV1OXzq0NO2hKkG1qGhCujPqP8Hdr6RtR2\r\ngIA1TVnzwaz/SnnyzjcFKeZmGlZrciqOjDZWsALSYPAsj3kL3fA3x77s4xBr\r\npb2GZmDdfIJx6B7Ie0Ip0bcP7LlIKyW7an66XfLCihflH2cvhKx8I2O/A6DI\r\n+o6pasciOMZNJsqd1ykVqCeBxsYt66mHsji6num1gzz6huhlIJNH6otbc7X6\r\nYEPOxbKiwRDeSqn5xmk8kZB2lQ4yazPfzvo=\r\n=qtlq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"e1e8152bee692ca5f95a7ebb4b8711a764abbc72","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.21.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.21.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.13","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.56.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.14.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.46.0","webpack":"^4.46.0","zone.js":"~0.12.0","fs-extra":"^10.0.0","react-is":"16.13.1","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.14.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.7.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-canary.3600971275.0_1669979320757_0.36043138254790064","host":"s3://npm-registry-packages"}},"1.22.0-canary.3603056002.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-canary.3603056002.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-canary.3603056002.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"0aba503c2e924f7cba6fa8fd2bec4088df8733ff","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-canary.3603056002.0.tgz","fileCount":17419,"integrity":"sha512-mIiLCDt7rsoofYEtUKVFYowcOBHF1iYLrQ7PfMGMXjDjG1PDtTvQS9/P+70T8EPdqossfW/PMcV1BLlTE3w3FA==","signatures":[{"sig":"MEYCIQDVAoYky6tB/3xnODh0U1Jk5dq0jQTgI4k6eH8yDY/3FAIhAKOc+vAZSuBjzSCDTYaVikl7UU+4W2RiYasMmD1FMfdW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23871070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiiGTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqgRQ//aoQQi+HjsSKhWaMme01dTXOf3sgPCR5vpmRicEoDua3wkl4d\r\nhkVwYK/QfgFh7V5JW4DlYys36KoMeKz7bsOX/PIYJy4oV7C3J06+6jiZuVwu\r\n3sALOBcOQprGeSQnclugcVoQfHydo3mhKZ5JAb70eM5ayVVOpIl56Sd6MiyB\r\naIZabXQ2nmkziMSPPesVG5UE4OcpnDrmitKJjYTcdtIDjYrjP0o1xY3T0xyp\r\ncJ/5q30Lv1zHZ+B9M+Ehjp7r8tS2Rif2P2d1VYLmgkhaTUadh/MzZsZRzBLS\r\ncegviKUz9XkuzqLNACmWFhGcR349f+bu1vxKzdf6lmzuV83nPQ6M2zggRSCG\r\nBc6VALG6SvmmwuO47YCY5yAp7g6/2z96GNJVhIk1Q2kv76VY53ns3ZQKHjEf\r\ndqoV4mOgelHDtNWyAcAvjvvf1G1hUwttdf4o47GDQoQ4HiRE1XYmrrcF1ehz\r\n3xzeCNEu3/3/OKHev4xmN2RfiIfoTbKlf02NeJr+9kCpPIeZgPTRELcYTR7V\r\n0TLlj3SF48z4Fp7XjMDVksk37faOrPGWid+Na37mBvk6MMgYysAif6RcoNZ0\r\nTHVnqaRHUoR3NwfOVRdYM731LOmuMrn6uTxj0K5zE31bR64CMZgRRpNdfNdu\r\nqvpxqFoBQW9J4Qtf1k1YtfxLeyjlDO+0ca8=\r\n=MNRh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"3bcbb1c16e9a87c762f16fc111b175454a88df35","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.21.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.21.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.13","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.56.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.14.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.46.0","webpack":"^4.46.0","zone.js":"~0.12.0","fs-extra":"^10.0.0","react-is":"16.13.1","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.14.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.7.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-canary.3603056002.0_1669996947284_0.7764814641222004","host":"s3://npm-registry-packages"}},"1.22.0-nightly.3616067003.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-nightly.3616067003.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-nightly.3616067003.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"03d5dcc16953b056a4267c7efb298107864beeef","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-nightly.3616067003.0.tgz","fileCount":17419,"integrity":"sha512-az3Bb+rYn9R02kFP+lcDjTCAoI8ai+WALgDalzPHkSWLvmYzgRLjEF5xGpQDusqUFq7YLYUAhWBP5gWGDbEi/w==","signatures":[{"sig":"MEQCIGPCdZ84VYUwYTq3EE+N4CtnSq42IwdEB2T3dn4iZymMAiBjC1Pi2uiTLFWxgJscsJ9b9ez2OckGJmW0sbztArZ+YA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23871071,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjU5/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp8qw/6AxmQNSzaG33+IApREniDEtXe8OBIVMhscKK4DMalCSGmmv3L\r\nm2X6KlLeNihjeEB4VzQZsumUJdH6Pdze0y0U2wUht816uriGSX8rDEe9YGrf\r\niDci/frJPIS+keuHqxPdGfa3e+5g4rIBID8zxd+kn18S0wGAGzz+UBpN5zQT\r\nBqf1KNbCqRG0MJIU2e59bCHJrMf/F06DbHw6DuLGeC8cc88EGOIhZZWL3JAK\r\nO1hOu2mdOBQN5m5VnxZwfwsladyodxAxQpNE8Jna9cY1bUE6G4eIBEQqbkK5\r\nMBaNPJ+12nUjzD6NbVs+/tlB587h2+IS9P+h5E1OBcDVIEmEjFgjhKsuFyFv\r\nZO/CvMQXaC7xp7zGfrGFORXfaL0+aJwo+KsWtACNkZNpm3w+gmgNCM4NQUPY\r\nAz4/i9vhJ3WsuIj9xxKkLYPzqcqcy19P6JD4BsmC9656xMcS709ppJEaV6rh\r\n+n6234f7C6JUmKJgpJtNFLWh6qKkVmIBjWJN707msF/kGeSZznWNxgHWDG33\r\nPJwwetW/eY/+Py/ldHf9sW9/6j65sUuZ5/duFfneytLsVSSYZG3kzcoveoQH\r\npSr8utkkNpnutVBYrxpgkXMM+NmAjDHfH+3kztYcVZdDvtlS7oYN0Agvluve\r\n88r+PR48mDw8+/vQ4ZU+xnYcb4Gdnp2R7vA=\r\n=43lw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"3bcbb1c16e9a87c762f16fc111b175454a88df35","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.21.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.21.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.13","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.56.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.14.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.46.0","webpack":"^4.46.0","zone.js":"~0.12.0","fs-extra":"^10.0.0","react-is":"16.13.1","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.14.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.7.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-nightly.3616067003.0_1670205055573_0.6071444349306105","host":"s3://npm-registry-packages"}},"1.22.0-rc.2":{"name":"@carbon/carbon-web-components","version":"1.22.0-rc.2","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-rc.2","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"6d8a5dafcc3430b4d6c632aa8b0c81b3a22703fb","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-rc.2.tgz","fileCount":17419,"integrity":"sha512-WCZ89BUpKjAwUYM/H9We+QLUstQrg4ycMN5IAdapIp7E+9P/cTOh6hP6o/Ex/z37xy1KCiYLeo3Y5UbibGryTQ==","signatures":[{"sig":"MEYCIQD2ztM2OT9evMvfe1snFo0Vo4BqCSrdnSvWvmkBEtjzeQIhAIhSAYc5Z2nC4/HJjoanZ4EcO+sRmAUQnk91JJspZLA8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24312906,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjmjrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqI5g/+IyJHyS/HOVvZugtNUVunkZA79nAr6ZjdnovbDo4Zf5bJhmle\r\nqu7LX4khiYHqhjfQ4c4rGY20XrFpPKlbifjxR7SdHsus0Wa1Tjxeq6WsXKVl\r\nV/A6M9vd2v4dNald+KCvhcPoHViERJs6Lf27YYxko7tqaF01SEnx/shBrnb2\r\n32AGh/z4ApVZUBrxfA6kBuDdthPJcOyrj1zK86/rXz/ZJqoroxzgd1oBvw7k\r\nQI2qg43s8ArIi7jXO2sJBRmdlyI7+k9SLNNNrSuDXycpe0ld3vgSn1NGLI0F\r\nz9MeA1p+cfAlZ9GyyQVRvLWsI7RLVOCS+ssD5BOOaGz8Mr4b1k1QFio35RAu\r\nhkLNF+WoNgeECIPB1TZf96dJHA5SPg9r+dYMpespg6VMYCHtG0wR9ahUJVAf\r\npGL978uKMk5D3I8QioCZtng2chDzXUBIn1PGdt6TMbDbWEiM9KTQ2VXmn25C\r\nKpf3cSGcnY3gWk3s0goLU5YAJ/Y/FMLBXT9PetGDQHBytLu056qMdmmvmd3m\r\n3cv/KF34VEFFGc92re+n7JQG1sCL+cMtq3C3X9lnYkbxszKplYq225tdOdue\r\niCGkOHY+r1q7xM211rACCxWVdSFVHbPPpF+BR457gD3lbcC09S/aUzpsfXAg\r\nlWG5vnKUDy5sd8JuoAm/3rnYh5wuhG4JJ5A=\r\n=kl8L\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon-for-ibm-dotcom/carbon-web-components/tag/latest/accordion.min.js\"\n></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon-for-ibm-dotcom/carbon-web-components/version/v1.16.0/accordion.min.js\"\n></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon-for-ibm-dotcom/carbon-web-components/tag/latest/accordion.rtl.min.js\"\n></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon-for-ibm-dotcom/carbon-web-components/version/v1.16.0/accordion.rtl.min.js\"\n></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon-for-ibm-dotcom/carbon-web-components/tag/latest/dropdown.min.js\"\n    ></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `@carbon/carbon-web-components` in your project, you will need to run\nthe following command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save @carbon/carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add @carbon/carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-for-ibm-dotcom/tree/main/packages/carbon-web-components/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport '@carbon/carbon-web-components/es/components/dropdown/dropdown.js';\nimport '@carbon/carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from '@carbon/carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from '@carbon/carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://www.ibm.com/standards/carbon/carbon-web-components. You can see usage\ninformation in several ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"c33b605a75c145e42f20339a1f883e4cbfcf1f36","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.19.0+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.19.0","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.1","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.40.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.9.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.37.1","webpack":"^4.46.0","zone.js":"~0.11.0","fs-extra":"^10.0.0","react-is":"16.9.0","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.9.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.5.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-rc.2_1670277355376_0.3554218227438952","host":"s3://npm-registry-packages"}},"1.22.0-nightly.3625588014.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-nightly.3625588014.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-nightly.3625588014.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"66d9a6f38a6d43866e37bc7bbba494de5ff27efd","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-nightly.3625588014.0.tgz","fileCount":17419,"integrity":"sha512-9bc1TmJ6cKGA/hIWLgbBUvBmr85/LjjBs8GMnRSUmqwB0t4FbTZEvC+qdoSeIuYU8YZHPdhSC5ndRiqVQNwkNg==","signatures":[{"sig":"MEUCIAbQm9vbfIpdKnEapYHucEduSQf9x/pXypay/DJ8tHvRAiEAvNvN3z123xX8aD5kl9e/BKalelIOAX4bC/PmxcW7H6Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23871071,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjp/xACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoFww/8ClqZcL8n7BdEIzqeqx/VJna5NxRjDGot586OMlUhU5kydsot\r\nfX3WW48YQKouxPE15YcOLp+IaRxRLrhpbtubByx44/ctCiCRpGYpW/wHTpLH\r\nCUPMJYj35aUIbuMY/ueTzj1y6jBBqKUjL0d7TISTvh8CagQGs6KQCPsn+ZVm\r\n/DvzY+1t+YzFvKJleTpC1ttDSUa1ZoHDvZcuEgMRw3iuyecF30qIiZ+AX9Z9\r\n7pB9o7LzvQr2tkvjqmuXFC8N/Q79DQSuE/kvMGU2DLxjbb/Z533ltwCHiU4Q\r\npverzn6zkineGC/Rj2Xvz4QcKYM4Etm1ajVwko/WBcJTYUdgX1CGUS2KQhfp\r\nYdbtOKzn6XuQdJAH/HxXMFS8EQzXJ1NdiCL1oxe0ieeg2wLLTQ58wZiYG2fF\r\n6cPiV5z0r06sWWl+A2o6yXWjqSRd7pYDvbjTBSz6mOPBl04T7Qsn0eHY01bg\r\nPXOjGzinSWtwnpL6lWrfuTAysuegw3BWsRFBL9Y2wn4/dNRZ7q0niiJmKbxY\r\nU8ndozyPeQ7gTARyNI46sWQYQl22GcEWbu/rhf78H2F5sI5IShJKv/M8TcTR\r\nJsV0dxNLnAl7sVCGtBsqjCPIg2r8PplAs9v1JeLZyNYerUxuOGXRRBBgiOUB\r\nObSSMGap1v3G8NJA288w0eiAOZQbjv8PddU=\r\n=HdUE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"3bcbb1c16e9a87c762f16fc111b175454a88df35","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.21.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.21.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.13","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.56.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.14.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.46.0","webpack":"^4.46.0","zone.js":"~0.12.0","fs-extra":"^10.0.0","react-is":"16.13.1","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.14.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.26.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.7.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-nightly.3625588014.0_1670291440794_0.7804842665152723","host":"s3://npm-registry-packages"}},"1.22.0-canary.3626652975.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-canary.3626652975.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-canary.3626652975.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"149c1d85df75c1b1fc31110316e6549c900a6264","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-canary.3626652975.0.tgz","fileCount":17419,"integrity":"sha512-PoPa2dvzh38eUWyQE13TWMsL4Ftw0ckAAR4fv6PLZU0lCVsxbh/1kRrOu9aBBVfO6FESxICeCvDTJe7GX5N6uQ==","signatures":[{"sig":"MEQCIDZsFs4ItJegcPj3Bz5Fp/wgNm0yz1U1JYJk34hCxIpnAiBBytKWr24x4VLnytSuHX95mzGbbnp4uQEJIae+G3iRtQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23871070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjtMHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrMVBAAo6Ai+a/AdokXRUp4Tw/77JnPLD7RhAKcVquAwClOU+fCd5Bs\r\nw+3YKwJfqy0yOFb0NRxPY94Dbw9yDzrrQrSwus6qsYxV3PcYZyb3RpOkWMKD\r\n4iaMRrnvqosSMucqjd9Osoz3c954Aqi5dyw3b84Ovo4ZX39d4brxXey59O2s\r\n4Krse2UnGn0QhkP5kH1zRQQRq0KWc4EeKFzkvvgFL+68iDGvMQdElGWQc7BI\r\nwSwH7+9AN2Y+HYPNhO9eJDrWpw+G65WkvFnXSxvF4e+9y+nS9mFfUI9ZJETL\r\nHd9dvNGKRClFiuocqGJ2JChqSMq1qtR4xIMnFp7qLUoOdyym/TJsdJ8yRtXv\r\nS8qiONXpbcenSO+Abkm/Kiz9wWO97PsNU2n1rCF2Gq79iDhyndyT06ak/PqU\r\nW9mzfzYgUwSWk5c3SUZCVVTKMkPspxI9VkNJK0SiIZo7AMi+RZqZDu7RIUgQ\r\nuL8ZkB0UKn4D+oVmIUMHDjKlZGESK5MXJrGhaLXpRlvZRFAaAMqbxqa/Zyk7\r\nvj4x5f5Aal5Y1NPZmvoH0IuAERgxulA3CvNTOiSUKHUEUKLzLy2wBNmV0sWX\r\nhBCXiRlu4EF+D1qVsx7mUS0thMDSpu1YAP/tgz1zBwfQOz0dDgV3/3hU1elJ\r\nxBWhkt7N5APLVM5n2wfifNy1CJiGsxvMnK0=\r\n=QwF/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"2c629fc141773a7ab9d95430f6b9206d475fd994","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.21.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.21.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.13","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.56.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.14.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.46.0","webpack":"^4.46.0","zone.js":"~0.12.0","fs-extra":"^10.0.0","react-is":"16.13.1","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.14.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.27.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.7.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-canary.3626652975.0_1670304519385_0.8686875301839081","host":"s3://npm-registry-packages"}},"1.22.0-canary.3627202575.0":{"name":"@carbon/carbon-web-components","version":"1.22.0-canary.3627202575.0","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"license":"Apache-2.0","_id":"@carbon/carbon-web-components@1.22.0-canary.3627202575.0","maintainers":[{"name":"dmenend","email":"dmenend@us.ibm.com"},{"name":"jdharvey","email":"jdharvey@us.ibm.com"},{"name":"carbon-design-system","email":"carbon@us.ibm.com"},{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},{"name":"tjegan","email":"tj.egan@icloud.com"},{"name":"alisonjoseph","email":"alisonejoseph@gmail.com"},{"name":"adavila","email":"adavila91@gmail.com"},{"name":"leechase","email":"leechase@live.com"},{"name":"jeffreychew","email":"jeff.chew@gmail.com"},{"name":"simonfinney","email":"simonjfinney@gmail.com"},{"name":"sstrubberg","email":"sstrubberg@gmail.com"},{"name":"andreancardona","email":"cardona.n.andrea@gmail.com"},{"name":"tay1orjones","email":"taylor.jones826@gmail.com"}],"homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"dist":{"shasum":"d6bfad5e2263c664d0be6861fb77289d2615c92c","tarball":"https://registry.npmjs.org/@carbon/carbon-web-components/-/carbon-web-components-1.22.0-canary.3627202575.0.tgz","fileCount":17419,"integrity":"sha512-dGx0NB6j3+fVRH0qK61MKJ8Yrm/aM2oTv+4uGYKDX7J7voaKnT+r9krvZlj09ZefmdJIuMthpzOCLKNxm88WEw==","signatures":[{"sig":"MEUCIQDwD5hgxrPdytk/qabU1QSt4zteZ65l+ryQSeoVKoKVkQIgfD7FNA/badReAMLVofaWBtiGYWK113nmk3SXHEjIXmo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23871070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjurrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqnfQ//VPXaV5o9Aovi8IRBOQVVKGnHmbmeMCX1vXycfkoURzoooWKm\r\nq+1atZefzaRjYk1mxHVa3FXH8PsJBThbd43fi0X+uo/muT5vH6Q+UdA/bj14\r\ni5mlh3e0oaco/vY2Q7wsxR3a89EVtzoCxijmFilDNq8FCBVXVKx2rxrkJhgc\r\nWchhj+25Lml9oliNnk+seVwEvKDRcQUoLqPc6u0vq45CputOnUGDJuh4i+dk\r\nFvArlw5UQZE0MN0+wEnqP22ZTUw77QNvOLVt4BV852clyhzTlS5aAjMHtOr8\r\nqwAUUq9W3sWLxwzMaB7VZS5+ZAnQbQKsjuSBz5UAs6Pt8fq5I3SuFO13Ffrt\r\nwjItaJcxQ1kVKAH1+C239EPXib6fQloOETFFehmKpKRpbD9ZY1/dhWaKkAe3\r\nGNUsT32492cu4dYiG+WUkHZww0ggjougW2e0X6TSW0oIA2JgSoUUtDO8A/H5\r\ney1QfQb5Ofc1FkqUN2Zz6uFAzRC+VjglQc4oNKnfPvjC10uvL/EjTDchuXPf\r\nK+rOHWK8ucP+9ArzcYd1pXAXMh/bLOmf+k5D/zEfqgQiIPNond3R0SK7iksR\r\n++tLJ4AbxN2xzIPJoMD02bWW8otXdv4/A1XWqNXnYVLzStYfQAvi3EC/qYH4\r\nDdrSghyprzGg6Ma8N91Ob3WlJ7Mf6BOkKjY=\r\n=iq0p\r\n-----END PGP SIGNATURE-----\r\n"},"main":"es/index.js","module":"es/index.js","readme":"A Carbon Design System variant that's as easy to use as native HTML elements,\nwith no framework tax, no framework silo.\n\n<p align=\"center\">\n  <a href=\"https://www.carbondesignsystem.com\">\n    <img alt=\"Carbon Design System\" src=\"https://user-images.githubusercontent.com/3901764/57545698-ce5f2380-7320-11e9-8682-903df232d7b0.png\" width=\"100%\" />\n  </a>\n</p>\n\n> Carbon is an open-source design system built by IBM. With the IBM Design\n> Language as its foundation, the system consists of working code, design tools\n> and resources, human interface guidelines, and a vibrant community of\n> contributors.\n\n<p align=\"center\">\n  <a href=\"https://github.com/carbon-design-system/carbon-web-components/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-Apache--2.0-blue.svg\" alt=\"Carbon is released under the Apache-2.0 license\" />\n  </a>\n</p>\n<p align=\"center\">\n  <a href=\"https://percy.io/538fc19a/Carbon-Web-Components\">\n    <img src=\"https://percy.io/static/images/percy-badge.svg\" alt=\"This project is using Percy.io for visual regression testing\" />\n  </a>\n</p>\n\n# `carbon-web-components`\n\n`carbon-web-components` is a variant of Carbon Design System with Custom\nElements v1 and Shadow DOM v1 specs.\n\n> The original `carbon-web-components` repository has been archived. All future\n> work for the package will take place in this monorepo. Please visit the\n> [original repository](https://github.com/carbon-design-system/carbon-web-components)\n> for full history of the files.\n\nThe effort stems from\nhttps://github.com/carbon-design-system/issue-tracking/issues/121. If you are\ninterested in this project, adding 👍 to the description of that GH issue, or\neven contributing, will be greatly appreciated!\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Getting started](#getting-started)\n  - [Using CDN](#using-cdn)\n    - [How to install](#how-to-install)\n    - [Basic usage](#basic-usage)\n  - [Using ES imports](#using-es-imports)\n    - [How to install](#how-to-install-1)\n    - [Basic usage](#basic-usage-1)\n  - [Other usage guides](#other-usage-guides)\n- [JavaScript framework support](#javascript-framework-support)\n  - [Angular](#angular)\n  - [React](#react)\n  - [Vue](#vue)\n- [Getting started with development](#getting-started-with-development)\n- [Running React/Angular/Vue Storybook demo](#running-reactangularvue-storybook-demo)\n- [List of available components](#list-of-available-components)\n- [Browser support](#browser-support)\n- [Coding conventions](#coding-conventions)\n- [Creating build](#creating-build)\n- [Running unit test](#running-unit-test)\n- [Running build integration test](#running-build-integration-test)\n- [Running UI integration test](#running-ui-integration-test)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Getting started\n\n### Using CDN\n\n#### How to install\n\nAll components are available via CDN. This means that they can be added to your\napplication without the need of any bundler configuration. Each component is\navailable by the `latest` tag, or referencing a specific version (starting at\nversion `v1.16.0`):\n\n```html\n<!-- By `latest` tag -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.min.js\"></script>\n\n<!-- By specific version -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.min.js\"></script>\n```\n\nThese are the list of available components via CDN:\n\n- accordion.min.js\n- breadcrumb.min.js\n- button.min.js\n- checkbox.min.js\n- code-snippet.min.js\n- combo-box.min.js\n- content-switcher.min.js\n- copy-button.min.js\n- data-table.min.js\n- date-picker.min.js\n- dropdown.min.js\n- file-uploader.min.js\n- floating-menu.min.js\n- form.min.js\n- inline-loading.min.js\n- input.min.js\n- link.min.js\n- list.min.js\n- loading.min.js\n- modal.min.js\n- multi-select.min.js\n- notification.min.js\n- number-input.min.js\n- overflow-menu.min.js\n- pagination.min.js\n- progress-indicator.min.js\n- radio-button.min.js\n- search.min.js\n- select.min.js\n- skeleton-placeholder.min.js\n- skeleton-text.min.js\n- skip-to-content.min.js\n- slider.min.js\n- structured-list.min.js\n- tabs.min.js\n- tag.min.js\n- textarea.min.js\n- tile.min.js\n- toggle.min.js\n- tooltip.min.js\n- ui-shell.min.js\n\nTo use the right-to-left (RTL) version of the artifacts, change the file\nextention from `.min.js` to `.rtl.min.js`. For example:\n\n```html\n<!-- By `latest` tag (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/accordion.rtl.min.js\"></script>\n\n<!-- By specific version (RTL) -->\n<script\n  type=\"module\"\n  src=\"https://1.www.s81c.com/common/carbon/web-components/version/v1.16.0/accordion.rtl.min.js\"></script>\n```\n\n#### Basic usage\n\nThe CDN artifacts define the custom elements for the browser, so they can be\ndirectly used once the script tag has been added to the page. For example:\n\n```html\n<!DOCTYPE html>\n<html>\n  <head>\n    <script\n      type=\"module\"\n      src=\"https://1.www.s81c.com/common/carbon/web-components/tag/latest/dropdown.min.js\"></script>\n    <style type=\"text/css\">\n      // Suppresses the custom element until it has been defined\n      bx-dropdown:not(:defined),\n      bx-dropdown-item:not(:defined) {\n        visibility: hidden;\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"app\">\n      <bx-dropdown trigger-content=\"Select an item\">\n        <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n        <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n        <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n        <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n        <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n      </bx-dropdown>\n    </div>\n  </body>\n</html>\n```\n\nOur example at [CodeSandbox](https://codesandbox.io) shows usage with only CDN\nartifacts:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/cdn)\n\n### Using ES imports\n\n#### How to install\n\nTo install `carbon-web-components` in your project, you will need to run the\nfollowing command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install --save carbon-web-components\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command\ninstead:\n\n```bash\nyarn add carbon-web-components\n```\n\n> NOTE: Carbon and Lit dependencies will be managed by Carbon Web Components\n> starting in `v1.19.0`. For earlier versions, these dependencies will have to\n> be installed separately:\n>\n> npm:\n>\n> ```bash\n> npm install --save carbon-components lit-html lit-element\n> ```\n>\n> Yarn:\n>\n> ```bash\n> yarn add carbon-components lit-html lit-element\n> ```\n\n#### Basic usage\n\nOur example at [CodeSandbox](https://codesandbox.io) shows the most basic usage:\n\n[![Edit carbon-web-components](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic)\n\nThe first thing you need is **setting up a module bundler** to resolve\nECMAScript `import`s. The above example uses [Webpack](https://webpack.js.org),\nbut you can use other bundlers like [Rollup](https://rollupjs.org/) too.\n\nOnce you set up a module bundler, you can start importing our component modules,\nfor example:\n\n```javascript\nimport 'carbon-web-components/es/components/dropdown/dropdown.js';\nimport 'carbon-web-components/es/components/dropdown/dropdown-item.js';\n```\n\nOnce you've imported the component modules, you can use our components in the\nsame manner as native HTML tags, for example:\n\n```html\n<bx-dropdown trigger-content=\"Select an item\">\n  <bx-dropdown-item value=\"all\">Option 1</bx-dropdown-item>\n  <bx-dropdown-item value=\"cloudFoundry\">Option 2</bx-dropdown-item>\n  <bx-dropdown-item value=\"staging\">Option 3</bx-dropdown-item>\n  <bx-dropdown-item value=\"dea\">Option 4</bx-dropdown-item>\n  <bx-dropdown-item value=\"router\">Option 5</bx-dropdown-item>\n</bx-dropdown>\n```\n\n### Other usage guides\n\n- [Having components participate in form](./docs/form.md)\n- [Using custom styles in components](./docs/styling.md)\n- [Using `carbon-web-components` with old build toolchain](./docs/old-build-toolchain.md)\n\n## JavaScript framework support\n\nIn addition to the available Web Component versions of Carbon components, this\nlibrary also supports usage with JavaScript frameworks like Angular, React, and\nVue if the desire is to use instead of the pure framework versions of Carbon\ncomponents. Specifically for React, this library comes with a wrapper\nimplementation around the Carbon Web Components for more seamless integration\nwith your React application.\n\nThis is achievable since Web Components is the modern browser standard, and\nworks well with other front-end frameworks that exist in the application. In\nturn, this also comes with the benefits of encapsulation within the Shadow DOM:\n\n### Angular\n\n[![Edit carbon-web-components with Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/angular)\n\nAngular users can use our components in the same manner as native HTML tags,\ntoo, once you add\n[`CUSTOM_ELEMENTS_SCHEMA`](https://angular.io/api/core/CUSTOM_ELEMENTS_SCHEMA)\nschema to your Angular module, for example:\n\n```javascript\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  declarations: [AppComponent],\n  imports: [BrowserModule],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}\n```\n\nThe `.d.ts` files in `carbon-web-components` package are compiled with\nTypeScript 3.7. You can use TypeScript 3.7 in your Angular application with\nupcoming Angular `9.0` release, or with the following instructions, so your\napplication can use those `.d.ts` files:\n\n- Set `true` to\n  [`angularCompilerOptions.disableTypeScriptVersionCheck`](https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck)\n  in `tsconfig.json`\n- In `polyfills.ts`, change\n  [`__importDefault` TypeScript helper](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#example-8)\n  as follows:\n  `window.__importDefault = mod => (mod?.__esModule ? mod : { default: mod })`\n\n### React\n\n[![Edit carbon-web-components with React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react)\n\nYou can use wrapper React components in\n`carbon-web-components/es/components-react` generated\n[automatically from the custom elements](./src/globals/wrappers/createReactCustomElementType.ts)\nwhich allows you to use our components seamlessly in your React code. Here's an\nexample:\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport BXDropdown from 'carbon-web-components/es/components-react/dropdown/dropdown.js';\nimport BXDropdownItem from 'carbon-web-components/es/components-react/dropdown/dropdown-item.js';\n\nconst App = () => (\n  <BXDropdown triggerContent=\"Select an item\">\n    <BXDropdownItem value=\"all\">Option 1</BXDropdownItem>\n    <BXDropdownItem value=\"cloudFoundry\">Option 2</BXDropdownItem>\n    <BXDropdownItem value=\"staging\">Option 3</BXDropdownItem>\n    <BXDropdownItem value=\"dea\">Option 4</BXDropdownItem>\n    <BXDropdownItem value=\"router\">Option 5</BXDropdownItem>\n  </BXDropdown>\n);\n\nrender(<App />, document.getElementById('root'));\n```\n\nNote: Using the React wrapper requires an additional dependency,\n[`prop-types`](https://www.npmjs.com/package/prop-types).\n\nTo run the wrapper React components in SSR environment requires Node `12.16.3`\nor above that supports\n[\"conditional mapping\" feature](https://github.com/jkrems/proposal-pkg-exports#2-conditional-mapping):\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/react-ssr)\n\nSame Node version requirement applies to Next.js:\n\n[![Edit carbon-web-components with React SSR](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/next)\n\n### Vue\n\n[![Edit carbon-web-components with Vue](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/vue)\n\nVue users can use our components in the same manner as native HTML tags, without\nany additional steps!\n\n## Getting started with development\n\n1. Fork this repository and clone it\n2. `yarn install`\n3. `yarn wca && yarn storybook`\n\n## Running React/Angular/Vue Storybook demo\n\n- React: `yarn storybook:react` (Live demo:\n  https://web-components.carbondesignsystem.com/react/index.html)\n- Angular: `yarn storybook:angular` (Live demo:\n  https://web-components.carbondesignsystem.com/angular/index.html)\n- Vue: `yarn storybook:vue` (Live demo:\n  https://web-components.carbondesignsystem.com/vue/index.html)\n\n## List of available components\n\nView available web components at:\nhttps://web-components.carbondesignsystem.com/. You can see usage information in\nseveral ways:\n\n1. Going to Docs tab, where it shows the usage and available attributes,\n   properties and custom events.\n2. Clicking the **KNOBS** tab at the bottom and changing values there. Most\n   knobs are shown as something like `Button kind (kind)`, where `kind` is the\n   attribute name\n3. Clicking the **ACTION LOGGER** tab at the bottom and interacting with the\n   selected component. You may see something like `bx-modal-closed` which\n   typically indicates that an event with such event type is fired. You can also\n   expand the twistie to see the details of the event\n\n## Browser support\n\n- Latest Chrome/Safari/FF ESR\n- IE/Edge support is bast-effort basis\n  - Some components may not be supported\n\nTo support IE, you need a couple additional setups:\n\n- Toolstack to re-transpile our code to ES5 (e.g. by specifying IE11 in\n  [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)\n  configuration)\n- Polyfills, listed\n  [here](https://github.com/carbon-design-system/carbon-web-components/blob/main/src/polyfills/index.ts)\n\nHere's an example code that shows such setup:\n\n[![Edit carbon-web-components with IE](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/ie)\n\n## Coding conventions\n\nCan be found at [here](./src/coding-conventions.md).\n\n## Creating build\n\n```\n> yarn clean\n> yarn build\n```\n\nYou'll see the build artifacts in `/path/to/carbon-web-components/es` directory.\n\n## Running unit test\n\nYou can run unit test by:\n\n```\n> gulp test:unit\n```\n\nYou can run specific test spec by:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts\n```\n\nYou can choose a browser (instead of Headless Chrome) by:\n\n```\n> gulp test:unit -b Firefox\n```\n\nYou can keep the browser after the test (and re-run the test when files change)\nby:\n\n```\n> gulp test:unit -b Chrome -k\n```\n\nYou can prevent code coverate instrumentation code from being generated by:\n\n```\n> gulp test:unit -d\n```\n\nYou can update snapshots by:\n\n```\n> gulp test:unit --update-snapshot\n```\n\nAbove options can be used together. This is useful to debug your code as you\ntest:\n\n```\n> gulp test:unit -s tests/spec/dropdown_spec.ts -b Chrome -d -k\n```\n\n## Running build integration test\n\nYou can run build integration test by:\n\n```\n> yarn test:integration:build\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/build/form-angular_steps.js` only) by:\n\n```\n> yarn test:integration:build form-angular_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:build\n```\n\n## Running UI integration test\n\nYou can run UI integration test by:\n\n```\n> yarn test:integration:ui\n```\n\nYou can run a specific set of UI test steps (e.g. running\n`tests/integration/ui/dropdown_steps.js` only) by:\n\n```\n> yarn test:integration:ui dropdown_steps\n```\n\nBy default Chrome runs in headless mode. You can show Chrome UI by:\n\n```\n> CI=false yarn test:integration:ui\n```\n","exports":{"./es":"./es/index.js","./es/":"./es/","./lib/":"./lib/","./dist/":"./dist/","./es/globals/":{"node":"./lib/globals/","default":"./es/globals/"},"./package.json":"./package.json","./es/components/":{"node":"./lib/components/","default":"./es/components/"},"./custom-elements.json":"./custom-elements.json","./es/components-react/":{"node":"./lib/components-react-node/","default":"./es/components-react/"}},"gitHead":"74b4576822db39b78991b2783794d0b211e997be","scripts":{"wca":"web-component-analyzer analyze src --outFile custom-elements.json","test":"gulp test && yarn test:integration","build":"gulp build && yarn wca","clean":"gulp clean","reset":"yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build","start":"yarn storybook","ci-check":"yarn wca && yarn typecheck && yarn build && yarn test:unit","storybook":"start-storybook -p 9000","test:unit":"gulp test:unit","typecheck":"tsc --noEmit -p tsconfig.json","build:dist":"gulp build:dist","build:dist:dev":"gulp build:dist:dev","visual-snapshot":"yarn build-storybook && percy storybook ./storybook-static","test:integration":"yarn test:integration:build && yarn test:integration:ui","test:integration:ui":"jest -c tests/integration/ui/jest.config.js --runInBand","test:integration:build":"jest -c tests/integration/build/jest.config.js --runInBand","test:unit:updateSnapshot":"gulp test:unit --update-snapshot"},"typings":"es/index.d.ts","_npmUser":{"name":"carbon-bot","email":"carbondesignsystem@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.21.1+x64 (linux)","description":"Carbon for IBM.com Carbon web components","directories":{},"_nodeVersion":"14.21.1","dependencies":{"lit-html":"^1.4.1","flatpickr":"4.6.13","lodash-es":"^4.17.21","lit-element":"^2.5.1","@babel/runtime":"^7.16.3","carbon-components":"10.55.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"del":"^6.0.0","gulp":"^4.0.2","jest":"25.5.4","sass":"~1.56.0","temp":"^0.9.0","execa":"^5.1.1","karma":"^6.0.0","react":"16.14.0","mkdirp":"^0.5.0","rollup":"^2.55.1","rtlcss":"^3.0.0","core-js":"^3.19.1","cssnano":"^5.0.0","gulp-if":"^3.0.0","postcss":"^8.2.10","tsickle":"~0.46.0","webpack":"^4.46.0","zone.js":"~0.12.0","fs-extra":"^10.0.0","react-is":"16.13.1","through2":"^3.0.0","commander":"^7.2.0","cross-env":"^7.0.0","gulp-sass":"^5.0.0","jest-diff":"25.5.0","puppeteer":"^13.0.0","react-dom":"16.14.0","ts-loader":"^6.0.0","async-done":"^1.3.0","css-loader":"^5.2.0","gulp-babel":"^8.0.0","playwright":"^1.0.0","prop-types":"^15.7.0","typescript":"~4.8.0","@babel/core":"~7.12.0","@types/jest":"^29.2.3","@types/node":"^18.11.9","es6-promise":"^4.2.8","file-loader":"^6.2.0","gulp-filter":"^7.0.0","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","http-server":"~14.1.0","lint-staged":"^12.3.8","null-loader":"^4.0.0","read-pkg-up":"^7.0.0","replace-ext":"^2.0.0","sass-loader":"^10.0.0","autoprefixer":"^9.8.8","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","cache-loader":"^4.1.0","custom-event":"^1.0.0","gulp-postcss":"^9.0.0","is-plain-obj":"^2.1.0","jasmine-core":"^4.0.0","magic-string":"^0.27.0","style-loader":"^2.0.0","use-debounce":"^3.2.0","@carbon/icons":"^10.48.0","gulp-prettier":"^4.0.0","karma-jasmine":"^4.0.1","karma-webpack":"^4.0.2","@types/jasmine":"^3.10.2","gulp-clean-css":"^4.3.0","karma-snapshot":"^0.6.0","postcss-loader":"^3.0.0","strip-comments":"^1.0.0","@babel/template":"~7.12.0","@babel/traverse":"~7.12.0","@types/bluebird":"^3.5.36","gulp-sourcemaps":"^3.0.0","gulp-typescript":"^5.0.1","jest-dev-server":"^6.0.0","@percy/storybook":"^4.3.3","@types/lodash-es":"^4.17.5","expect-puppeteer":"^6.0.0","@babel/preset-env":"~7.12.0","expect-playwright":"~0.8.0","is-port-reachable":"^3.1.0","@percy-io/in-percy":"^0.1.11","@types/webpack-env":"^1.16.3","@webcomponents/url":"~0.7.8","webpack-dev-server":"^4.0.0","@rollup/pluginutils":"^4.2.0","karma-spec-reporter":"0.0.34","@carbon/icon-helpers":"^10.28.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-terser":"^7.0.2","@babel/preset-modules":"~0.1.5","@storybook/addon-docs":"^6.5.12","child-process-promise":"^2.2.1","karma-chrome-launcher":"^3.1.0","terser-webpack-plugin":"^4.2.3","@rollup/plugin-replace":"^4.0.0","@storybook/addon-knobs":"^6.4.0","@storybook/addon-links":"^6.5.12","gulp-exclude-gitignore":"^1.2.0","jest-playwright-preset":"~0.2.0","karma-firefox-launcher":"^2.1.2","karma-sourcemap-loader":"^0.3.8","polymer-webpack-loader":"^2.0.0","web-component-analyzer":"1.2.0-next.0","@rollup/plugin-commonjs":"^21.0.3","@webcomponents/shadycss":"^1.11.0","@webcomponents/shadydom":"^1.9.0","@webcomponents/template":"^1.5.0","mini-css-extract-plugin":"~2.7.0","postcss-selector-parser":"^6.0.0","@storybook/addon-actions":"^6.5.12","@storybook/source-loader":"^6.5.12","resize-observer-polyfill":"^1.5.0","@storybook/web-components":"^6.5.12","rollup-plugin-multi-input":"^1.3.1","@open-wc/semantic-dom-diff":"~0.18.0","jest-environment-puppeteer":"^6.0.0","@rollup/plugin-node-resolve":"^8.4.0","@storybook/addon-essentials":"^6.5.12","@storybook/addon-storysource":"^6.5.12","istanbul-instrumenter-loader":"^3.0.1","@webcomponents/custom-elements":"^1.5.0","@babel/plugin-transform-runtime":"~7.12.0","karma-coverage-istanbul-reporter":"^2.0.0","@babel/plugin-proposal-decorators":"~7.12.0","@babel/plugin-transform-typescript":"~7.12.0","babel-plugin-template-html-minifier":"^4.1.0","@webcomponents/webcomponents-platform":"^1.0.1","@babel/plugin-proposal-class-properties":"~7.12.0","@babel/plugin-proposal-optional-chaining":"~7.12.0","@babel/plugin-transform-modules-commonjs":"~7.12.0","@babel/plugin-proposal-object-rest-spread":"~7.12.0","@babel/plugin-transform-template-literals":"~7.12.0","@babel/plugin-proposal-nullish-coalescing-operator":"~7.12.0"},"_npmOperationalInternal":{"tmp":"tmp/carbon-web-components_1.22.0-canary.3627202575.0_1670310634602_0.06076838356683001","host":"s3://npm-registry-packages"}}},"time":{"created":"2022-11-21T21:37:21.611Z","modified":"2026-08-21T15:36:03.420Z","1.22.0-canary.3518209924.0":"2022-11-21T21:37:21.955Z","1.22.0-canary.3518472525.0":"2022-11-21T22:25:31.237Z","1.22.0-canary.3518610368.0":"2022-11-21T22:44:08.971Z","1.22.0-nightly.3519568891.0":"2022-11-22T01:50:05.839Z","1.22.0-canary.3519755449.0":"2022-11-22T02:31:06.956Z","1.22.0-canary.3524319215.0":"2022-11-22T14:50:01.662Z","1.22.0-rc.0":"2022-11-22T15:43:19.704Z","1.22.0-canary.3524884684.0":"2022-11-22T16:01:21.756Z","1.22.0-canary.3525609678.0":"2022-11-22T17:39:47.734Z","1.22.0-nightly.3528481157.0":"2022-11-23T01:48:17.780Z","1.22.0-rc.1":"2022-11-23T21:11:52.742Z","1.22.0-nightly.3536956052.0":"2022-11-24T01:55:09.213Z","1.22.0-nightly.3544654216.0":"2022-11-25T01:50:02.390Z","1.22.0-canary.3551826056.0":"2022-11-26T02:47:37.047Z","1.22.0-nightly.3560921284.0":"2022-11-28T01:49:10.748Z","1.22.0-nightly.3570165639.0":"2022-11-29T01:48:31.682Z","1.22.0-canary.3577313501.0":"2022-11-29T19:41:25.255Z","1.22.0-nightly.3579496828.0":"2022-11-30T01:58:30.312Z","1.22.0-canary.3587824640.0":"2022-11-30T23:29:33.353Z","1.22.0-canary.3588565159.0":"2022-12-01T01:42:37.540Z","1.22.0-nightly.3588612585.0":"2022-12-01T01:56:44.683Z","1.22.0-canary.3590928308.0":"2022-12-01T09:08:06.841Z","1.22.0-canary.3591624458.0":"2022-12-01T10:40:52.970Z","1.22.0-canary.3592511576.0":"2022-12-01T12:41:22.195Z","1.22.0-canary.3594689443.0":"2022-12-01T17:09:50.445Z","1.22.0-canary.3595999136.0":"2022-12-01T20:08:54.932Z","1.22.0-canary.3597496406.0":"2022-12-02T00:02:00.378Z","1.22.0-canary.3598059624.0":"2022-12-02T01:51:29.735Z","1.22.0-nightly.3598060968.0":"2022-12-02T02:03:20.755Z","1.22.0-canary.3600971275.0":"2022-12-02T11:08:41.109Z","1.22.0-canary.3603056002.0":"2022-12-02T16:02:27.591Z","1.22.0-nightly.3616067003.0":"2022-12-05T01:50:55.883Z","1.22.0-rc.2":"2022-12-05T21:55:55.739Z","1.22.0-nightly.3625588014.0":"2022-12-06T01:50:41.118Z","1.22.0-canary.3626652975.0":"2022-12-06T05:28:39.700Z","1.22.0-canary.3627202575.0":"2022-12-06T07:10:34.945Z"},"bugs":{"url":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues"},"license":"Apache-2.0","homepage":"https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main#readme","keywords":["carbon","component","components","pattern","patterns","style guide","carbon-design-system","web components"],"repository":{"url":"git+https://github.com/carbon-design-system/carbon-for-ibm-dotcom.git#main","type":"git"},"description":"Carbon for IBM.com Carbon web components","maintainers":[{"email":"carbon@us.ibm.com","name":"carbon-design-system"},{"email":"carbondesignsystem@gmail.com","name":"carbon-bot"},{"email":"leechase@live.com","name":"leechase"},{"email":"jeff.chew@gmail.com","name":"jeffreychew"},{"email":"sstrubberg@gmail.com","name":"sstrubberg"}],"readme":"","readmeFilename":""}