diff --git a/.yarn/cache/@rollup-plugin-babel-npm-5.2.2-d1de4602ba-757fdcdcb1.zip b/.yarn/cache/@rollup-plugin-babel-npm-5.2.2-d1de4602ba-757fdcdcb1.zip new file mode 100644 index 000000000000..d8e258e75818 Binary files /dev/null and b/.yarn/cache/@rollup-plugin-babel-npm-5.2.2-d1de4602ba-757fdcdcb1.zip differ diff --git a/.yarn/cache/@rollup-plugin-commonjs-npm-17.0.0-3f87c4fa6b-f2966f5914.zip b/.yarn/cache/@rollup-plugin-commonjs-npm-17.0.0-3f87c4fa6b-f2966f5914.zip new file mode 100644 index 000000000000..c9d3ed24d8ed Binary files /dev/null and b/.yarn/cache/@rollup-plugin-commonjs-npm-17.0.0-3f87c4fa6b-f2966f5914.zip differ diff --git a/.yarn/cache/@rollup-plugin-node-resolve-npm-11.0.1-4c07e663b2-bbec78fba9.zip b/.yarn/cache/@rollup-plugin-node-resolve-npm-11.0.1-4c07e663b2-bbec78fba9.zip new file mode 100644 index 000000000000..261a8ac70b0a Binary files /dev/null and b/.yarn/cache/@rollup-plugin-node-resolve-npm-11.0.1-4c07e663b2-bbec78fba9.zip differ diff --git a/.yarn/cache/@rollup-pluginutils-npm-3.1.0-b44b222e7d-45da6411e0.zip b/.yarn/cache/@rollup-pluginutils-npm-3.1.0-b44b222e7d-45da6411e0.zip new file mode 100644 index 000000000000..9700453b9218 Binary files /dev/null and b/.yarn/cache/@rollup-pluginutils-npm-3.1.0-b44b222e7d-45da6411e0.zip differ diff --git a/.yarn/cache/@sindresorhus-is-npm-0.14.0-9f906ea34b-da26389d6e.zip b/.yarn/cache/@sindresorhus-is-npm-0.14.0-9f906ea34b-da26389d6e.zip new file mode 100644 index 000000000000..39d229de6b0a Binary files /dev/null and b/.yarn/cache/@sindresorhus-is-npm-0.14.0-9f906ea34b-da26389d6e.zip differ diff --git a/.yarn/cache/@szmarczak-http-timer-npm-1.1.2-ea82ca2d55-a46ec85423.zip b/.yarn/cache/@szmarczak-http-timer-npm-1.1.2-ea82ca2d55-a46ec85423.zip new file mode 100644 index 000000000000..87b1b0b3c0b4 Binary files /dev/null and b/.yarn/cache/@szmarczak-http-timer-npm-1.1.2-ea82ca2d55-a46ec85423.zip differ diff --git a/.yarn/cache/@types-color-name-npm-1.1.1-00b0925070-8311db94a9.zip b/.yarn/cache/@types-color-name-npm-1.1.1-00b0925070-8311db94a9.zip deleted file mode 100644 index 7660c681fb7b..000000000000 Binary files a/.yarn/cache/@types-color-name-npm-1.1.1-00b0925070-8311db94a9.zip and /dev/null differ diff --git a/.yarn/cache/@types-resolve-npm-1.17.1-9a8396bef2-8e72a73574.zip b/.yarn/cache/@types-resolve-npm-1.17.1-9a8396bef2-8e72a73574.zip new file mode 100644 index 000000000000..82ac63e18cf2 Binary files /dev/null and b/.yarn/cache/@types-resolve-npm-1.17.1-9a8396bef2-8e72a73574.zip differ diff --git a/.yarn/cache/alphanum-sort-npm-1.0.2-78a592b492-28bad91719.zip b/.yarn/cache/alphanum-sort-npm-1.0.2-78a592b492-28bad91719.zip deleted file mode 100644 index fdc5e73e8208..000000000000 Binary files a/.yarn/cache/alphanum-sort-npm-1.0.2-78a592b492-28bad91719.zip and /dev/null differ diff --git a/.yarn/cache/ansi-styles-npm-4.2.1-de50ec308d-c8c007d5da.zip b/.yarn/cache/ansi-styles-npm-4.2.1-de50ec308d-c8c007d5da.zip deleted file mode 100644 index f5feee0940a2..000000000000 Binary files a/.yarn/cache/ansi-styles-npm-4.2.1-de50ec308d-c8c007d5da.zip and /dev/null differ diff --git a/.yarn/cache/ansi-styles-npm-4.3.0-245c7d42c7-ea02c0179f.zip b/.yarn/cache/ansi-styles-npm-4.3.0-245c7d42c7-ea02c0179f.zip new file mode 100644 index 000000000000..909670c794a6 Binary files /dev/null and b/.yarn/cache/ansi-styles-npm-4.3.0-245c7d42c7-ea02c0179f.zip differ diff --git a/.yarn/cache/builtin-modules-npm-2.0.0-02d63ba8a0-fc0c46577b.zip b/.yarn/cache/builtin-modules-npm-2.0.0-02d63ba8a0-fc0c46577b.zip deleted file mode 100644 index 03df86d56308..000000000000 Binary files a/.yarn/cache/builtin-modules-npm-2.0.0-02d63ba8a0-fc0c46577b.zip and /dev/null differ diff --git a/.yarn/cache/cacheable-request-npm-6.1.0-684b834873-8b43f66137.zip b/.yarn/cache/cacheable-request-npm-6.1.0-684b834873-8b43f66137.zip new file mode 100644 index 000000000000..d5bdb9c8e33f Binary files /dev/null and b/.yarn/cache/cacheable-request-npm-6.1.0-684b834873-8b43f66137.zip differ diff --git a/.yarn/cache/camel-case-npm-4.1.1-6ae5ac15ac-c202f62a74.zip b/.yarn/cache/camel-case-npm-4.1.1-6ae5ac15ac-c202f62a74.zip deleted file mode 100644 index e422493ecdcb..000000000000 Binary files a/.yarn/cache/camel-case-npm-4.1.1-6ae5ac15ac-c202f62a74.zip and /dev/null differ diff --git a/.yarn/cache/camel-case-npm-4.1.2-082bf67a9a-0b8dcfb424.zip b/.yarn/cache/camel-case-npm-4.1.2-082bf67a9a-0b8dcfb424.zip new file mode 100644 index 000000000000..04d5a0cca605 Binary files /dev/null and b/.yarn/cache/camel-case-npm-4.1.2-082bf67a9a-0b8dcfb424.zip differ diff --git a/.yarn/cache/caniuse-api-npm-3.0.0-1272c2981e-6822fb3d42.zip b/.yarn/cache/caniuse-api-npm-3.0.0-1272c2981e-6822fb3d42.zip deleted file mode 100644 index 5c70d6fddc0b..000000000000 Binary files a/.yarn/cache/caniuse-api-npm-3.0.0-1272c2981e-6822fb3d42.zip and /dev/null differ diff --git a/.yarn/cache/capital-case-npm-1.0.3-1c0aaae334-bf0f9bcf05.zip b/.yarn/cache/capital-case-npm-1.0.3-1c0aaae334-bf0f9bcf05.zip deleted file mode 100644 index 116ac491a3ff..000000000000 Binary files a/.yarn/cache/capital-case-npm-1.0.3-1c0aaae334-bf0f9bcf05.zip and /dev/null differ diff --git a/.yarn/cache/capital-case-npm-1.0.4-90f8a4641d-cce3d8f8f7.zip b/.yarn/cache/capital-case-npm-1.0.4-90f8a4641d-cce3d8f8f7.zip new file mode 100644 index 000000000000..3330a7aaf362 Binary files /dev/null and b/.yarn/cache/capital-case-npm-1.0.4-90f8a4641d-cce3d8f8f7.zip differ diff --git a/.yarn/cache/change-case-npm-4.1.1-d41c94bbef-245a474fdb.zip b/.yarn/cache/change-case-npm-4.1.2-9c42f72b39-dfc3d5afcb.zip similarity index 62% rename from .yarn/cache/change-case-npm-4.1.1-d41c94bbef-245a474fdb.zip rename to .yarn/cache/change-case-npm-4.1.2-9c42f72b39-dfc3d5afcb.zip index 8147e329b30d..df9fe3aad831 100644 Binary files a/.yarn/cache/change-case-npm-4.1.1-d41c94bbef-245a474fdb.zip and b/.yarn/cache/change-case-npm-4.1.2-9c42f72b39-dfc3d5afcb.zip differ diff --git a/.yarn/cache/constant-case-npm-3.0.3-a0e4e73276-96ef30a349.zip b/.yarn/cache/constant-case-npm-3.0.3-a0e4e73276-96ef30a349.zip deleted file mode 100644 index 8201c556dc63..000000000000 Binary files a/.yarn/cache/constant-case-npm-3.0.3-a0e4e73276-96ef30a349.zip and /dev/null differ diff --git a/.yarn/cache/constant-case-npm-3.0.4-118b472e28-c2ca78e785.zip b/.yarn/cache/constant-case-npm-3.0.4-118b472e28-c2ca78e785.zip new file mode 100644 index 000000000000..7d562b95227f Binary files /dev/null and b/.yarn/cache/constant-case-npm-3.0.4-118b472e28-c2ca78e785.zip differ diff --git a/.yarn/cache/css-color-names-npm-0.0.4-be9111e9bd-6842f38c3a.zip b/.yarn/cache/css-color-names-npm-0.0.4-be9111e9bd-6842f38c3a.zip deleted file mode 100644 index 1158c33e5537..000000000000 Binary files a/.yarn/cache/css-color-names-npm-0.0.4-be9111e9bd-6842f38c3a.zip and /dev/null differ diff --git a/.yarn/cache/css-declaration-sorter-npm-4.0.1-b49a53b330-9cd18a0cca.zip b/.yarn/cache/css-declaration-sorter-npm-4.0.1-b49a53b330-9cd18a0cca.zip deleted file mode 100644 index ba15ca67dddf..000000000000 Binary files a/.yarn/cache/css-declaration-sorter-npm-4.0.1-b49a53b330-9cd18a0cca.zip and /dev/null differ diff --git a/.yarn/cache/css-unit-converter-npm-1.1.1-60274cea69-bf5338cc24.zip b/.yarn/cache/css-unit-converter-npm-1.1.1-60274cea69-bf5338cc24.zip deleted file mode 100644 index 43364d7f9bfc..000000000000 Binary files a/.yarn/cache/css-unit-converter-npm-1.1.1-60274cea69-bf5338cc24.zip and /dev/null differ diff --git a/.yarn/cache/cssesc-npm-2.0.0-c9d6525b1d-f32fabda44.zip b/.yarn/cache/cssesc-npm-2.0.0-c9d6525b1d-f32fabda44.zip deleted file mode 100644 index c9e8b5f5c822..000000000000 Binary files a/.yarn/cache/cssesc-npm-2.0.0-c9d6525b1d-f32fabda44.zip and /dev/null differ diff --git a/.yarn/cache/cssnano-npm-4.1.10-10e25c9634-7578b12389.zip b/.yarn/cache/cssnano-npm-4.1.10-10e25c9634-7578b12389.zip deleted file mode 100644 index eb926a5234a3..000000000000 Binary files a/.yarn/cache/cssnano-npm-4.1.10-10e25c9634-7578b12389.zip and /dev/null differ diff --git a/.yarn/cache/cssnano-preset-default-npm-4.0.7-422631428b-7e947b0e09.zip b/.yarn/cache/cssnano-preset-default-npm-4.0.7-422631428b-7e947b0e09.zip deleted file mode 100644 index 2b574ef45774..000000000000 Binary files a/.yarn/cache/cssnano-preset-default-npm-4.0.7-422631428b-7e947b0e09.zip and /dev/null differ diff --git a/.yarn/cache/cssnano-util-get-arguments-npm-4.0.0-bcb28d23a7-4001786367.zip b/.yarn/cache/cssnano-util-get-arguments-npm-4.0.0-bcb28d23a7-4001786367.zip deleted file mode 100644 index 03850c7ab52b..000000000000 Binary files a/.yarn/cache/cssnano-util-get-arguments-npm-4.0.0-bcb28d23a7-4001786367.zip and /dev/null differ diff --git a/.yarn/cache/cssnano-util-get-match-npm-4.0.0-3d9b0fc2c4-1220816e19.zip b/.yarn/cache/cssnano-util-get-match-npm-4.0.0-3d9b0fc2c4-1220816e19.zip deleted file mode 100644 index 2e93124619f6..000000000000 Binary files a/.yarn/cache/cssnano-util-get-match-npm-4.0.0-3d9b0fc2c4-1220816e19.zip and /dev/null differ diff --git a/.yarn/cache/cssnano-util-raw-cache-npm-4.0.1-dbb3751499-d3eb80e96f.zip b/.yarn/cache/cssnano-util-raw-cache-npm-4.0.1-dbb3751499-d3eb80e96f.zip deleted file mode 100644 index cdfdd0d8a866..000000000000 Binary files a/.yarn/cache/cssnano-util-raw-cache-npm-4.0.1-dbb3751499-d3eb80e96f.zip and /dev/null differ diff --git a/.yarn/cache/cssnano-util-same-parent-npm-4.0.1-2a3442fd72-c01d567f9d.zip b/.yarn/cache/cssnano-util-same-parent-npm-4.0.1-2a3442fd72-c01d567f9d.zip deleted file mode 100644 index 6637d5f4bcb3..000000000000 Binary files a/.yarn/cache/cssnano-util-same-parent-npm-4.0.1-2a3442fd72-c01d567f9d.zip and /dev/null differ diff --git a/.yarn/cache/decompress-response-npm-3.3.0-6e7b6375c3-93b0dcc8f0.zip b/.yarn/cache/decompress-response-npm-3.3.0-6e7b6375c3-93b0dcc8f0.zip new file mode 100644 index 000000000000..8e7ad64a3b11 Binary files /dev/null and b/.yarn/cache/decompress-response-npm-3.3.0-6e7b6375c3-93b0dcc8f0.zip differ diff --git a/.yarn/cache/defer-to-connect-npm-1.1.3-5887885147-d8632cafae.zip b/.yarn/cache/defer-to-connect-npm-1.1.3-5887885147-d8632cafae.zip new file mode 100644 index 000000000000..73460b1070b0 Binary files /dev/null and b/.yarn/cache/defer-to-connect-npm-1.1.3-5887885147-d8632cafae.zip differ diff --git a/.yarn/cache/dot-case-npm-3.0.3-9d3160c2af-31e5037039.zip b/.yarn/cache/dot-case-npm-3.0.3-9d3160c2af-31e5037039.zip deleted file mode 100644 index a258cc0490fb..000000000000 Binary files a/.yarn/cache/dot-case-npm-3.0.3-9d3160c2af-31e5037039.zip and /dev/null differ diff --git a/.yarn/cache/dot-case-npm-3.0.4-09675b5521-2d93626464.zip b/.yarn/cache/dot-case-npm-3.0.4-09675b5521-2d93626464.zip new file mode 100644 index 000000000000..93d8e0911761 Binary files /dev/null and b/.yarn/cache/dot-case-npm-3.0.4-09675b5521-2d93626464.zip differ diff --git a/.yarn/cache/escape-goat-npm-2.1.1-2e437cf3fe-8270a80ca5.zip b/.yarn/cache/escape-goat-npm-2.1.1-2e437cf3fe-8270a80ca5.zip new file mode 100644 index 000000000000..211596586b4c Binary files /dev/null and b/.yarn/cache/escape-goat-npm-2.1.1-2e437cf3fe-8270a80ca5.zip differ diff --git a/.yarn/cache/estree-walker-npm-1.0.1-e916593b23-85e7cee763.zip b/.yarn/cache/estree-walker-npm-1.0.1-e916593b23-85e7cee763.zip new file mode 100644 index 000000000000..49c8956321ed Binary files /dev/null and b/.yarn/cache/estree-walker-npm-1.0.1-e916593b23-85e7cee763.zip differ diff --git a/.yarn/cache/estree-walker-npm-2.0.2-dfab42f65c-378cc9d3be.zip b/.yarn/cache/estree-walker-npm-2.0.2-dfab42f65c-378cc9d3be.zip new file mode 100644 index 000000000000..6b1a5f780cb5 Binary files /dev/null and b/.yarn/cache/estree-walker-npm-2.0.2-dfab42f65c-378cc9d3be.zip differ diff --git a/.yarn/cache/extend-npm-2.0.2-bc63afd440-b6f6cab530.zip b/.yarn/cache/extend-npm-2.0.2-bc63afd440-b6f6cab530.zip deleted file mode 100644 index 11a7b102e361..000000000000 Binary files a/.yarn/cache/extend-npm-2.0.2-bc63afd440-b6f6cab530.zip and /dev/null differ diff --git a/.yarn/cache/first-chunk-stream-npm-1.0.0-eb0fb1e04b-ee2c13d193.zip b/.yarn/cache/first-chunk-stream-npm-1.0.0-eb0fb1e04b-ee2c13d193.zip deleted file mode 100644 index e2192525abd5..000000000000 Binary files a/.yarn/cache/first-chunk-stream-npm-1.0.0-eb0fb1e04b-ee2c13d193.zip and /dev/null differ diff --git a/.yarn/cache/glob-stream-npm-5.3.5-fb24893aaa-0ac6d935ef.zip b/.yarn/cache/glob-stream-npm-5.3.5-fb24893aaa-0ac6d935ef.zip deleted file mode 100644 index c375902735a3..000000000000 Binary files a/.yarn/cache/glob-stream-npm-5.3.5-fb24893aaa-0ac6d935ef.zip and /dev/null differ diff --git a/.yarn/cache/global-dirs-npm-2.1.0-790e02e61c-32e4786552.zip b/.yarn/cache/global-dirs-npm-2.1.0-790e02e61c-32e4786552.zip new file mode 100644 index 000000000000..3ffd0590c7fb Binary files /dev/null and b/.yarn/cache/global-dirs-npm-2.1.0-790e02e61c-32e4786552.zip differ diff --git a/.yarn/cache/got-npm-9.6.0-80edc15fd0-4cfb862eb7.zip b/.yarn/cache/got-npm-9.6.0-80edc15fd0-4cfb862eb7.zip new file mode 100644 index 000000000000..0c91d3f029d3 Binary files /dev/null and b/.yarn/cache/got-npm-9.6.0-80edc15fd0-4cfb862eb7.zip differ diff --git a/.yarn/cache/gulp-sourcemaps-npm-1.6.0-3ad0d7292d-e5978396b4.zip b/.yarn/cache/gulp-sourcemaps-npm-1.6.0-3ad0d7292d-e5978396b4.zip deleted file mode 100644 index eee5571f5d4c..000000000000 Binary files a/.yarn/cache/gulp-sourcemaps-npm-1.6.0-3ad0d7292d-e5978396b4.zip and /dev/null differ diff --git a/.yarn/cache/has-yarn-npm-2.1.0-b73f6750d9-105682f263.zip b/.yarn/cache/has-yarn-npm-2.1.0-b73f6750d9-105682f263.zip new file mode 100644 index 000000000000..0208d7785361 Binary files /dev/null and b/.yarn/cache/has-yarn-npm-2.1.0-b73f6750d9-105682f263.zip differ diff --git a/.yarn/cache/header-case-npm-2.0.3-040cf8958d-13440c681d.zip b/.yarn/cache/header-case-npm-2.0.3-040cf8958d-13440c681d.zip deleted file mode 100644 index 2c5bb3d408c2..000000000000 Binary files a/.yarn/cache/header-case-npm-2.0.3-040cf8958d-13440c681d.zip and /dev/null differ diff --git a/.yarn/cache/header-case-npm-2.0.4-7d19e19e6d-1cc640a98a.zip b/.yarn/cache/header-case-npm-2.0.4-7d19e19e6d-1cc640a98a.zip new file mode 100644 index 000000000000..7174a83cf2cf Binary files /dev/null and b/.yarn/cache/header-case-npm-2.0.4-7d19e19e6d-1cc640a98a.zip differ diff --git a/.yarn/cache/hex-color-regex-npm-1.1.0-35ec780c11-89899f5f74.zip b/.yarn/cache/hex-color-regex-npm-1.1.0-35ec780c11-89899f5f74.zip deleted file mode 100644 index fc3cbd409d44..000000000000 Binary files a/.yarn/cache/hex-color-regex-npm-1.1.0-35ec780c11-89899f5f74.zip and /dev/null differ diff --git a/.yarn/cache/hsl-regex-npm-1.0.0-49e975d55c-b04a50c6c7.zip b/.yarn/cache/hsl-regex-npm-1.0.0-49e975d55c-b04a50c6c7.zip deleted file mode 100644 index 7d083deebf18..000000000000 Binary files a/.yarn/cache/hsl-regex-npm-1.0.0-49e975d55c-b04a50c6c7.zip and /dev/null differ diff --git a/.yarn/cache/hsla-regex-npm-1.0.0-f9d795def9-2460f935b5.zip b/.yarn/cache/hsla-regex-npm-1.0.0-f9d795def9-2460f935b5.zip deleted file mode 100644 index 7057aad59539..000000000000 Binary files a/.yarn/cache/hsla-regex-npm-1.0.0-f9d795def9-2460f935b5.zip and /dev/null differ diff --git a/.yarn/cache/html-comment-regex-npm-1.1.2-3f748b74f9-f3bf135002.zip b/.yarn/cache/html-comment-regex-npm-1.1.2-3f748b74f9-f3bf135002.zip deleted file mode 100644 index 65a3dfc29b3b..000000000000 Binary files a/.yarn/cache/html-comment-regex-npm-1.1.2-3f748b74f9-f3bf135002.zip and /dev/null differ diff --git a/.yarn/cache/ini-npm-1.3.5-c4f62924bc-304a78d1e0.zip b/.yarn/cache/ini-npm-1.3.5-c4f62924bc-304a78d1e0.zip deleted file mode 100644 index 59a3a72e96b1..000000000000 Binary files a/.yarn/cache/ini-npm-1.3.5-c4f62924bc-304a78d1e0.zip and /dev/null differ diff --git a/.yarn/cache/ini-npm-1.3.7-188ee858c0-cf00289cb4.zip b/.yarn/cache/ini-npm-1.3.7-188ee858c0-cf00289cb4.zip new file mode 100644 index 000000000000..816a51e3a862 Binary files /dev/null and b/.yarn/cache/ini-npm-1.3.7-188ee858c0-cf00289cb4.zip differ diff --git a/.yarn/cache/is-absolute-url-npm-2.1.0-f1cdafe3db-f9d193d86b.zip b/.yarn/cache/is-absolute-url-npm-2.1.0-f1cdafe3db-f9d193d86b.zip deleted file mode 100644 index fc0799e03516..000000000000 Binary files a/.yarn/cache/is-absolute-url-npm-2.1.0-f1cdafe3db-f9d193d86b.zip and /dev/null differ diff --git a/.yarn/cache/is-color-stop-npm-1.1.0-4235280dc5-0e3d46b1e1.zip b/.yarn/cache/is-color-stop-npm-1.1.0-4235280dc5-0e3d46b1e1.zip deleted file mode 100644 index e525426dd081..000000000000 Binary files a/.yarn/cache/is-color-stop-npm-1.1.0-4235280dc5-0e3d46b1e1.zip and /dev/null differ diff --git a/.yarn/cache/is-core-module-npm-2.2.0-497065e3b0-2344744de9.zip b/.yarn/cache/is-core-module-npm-2.2.0-497065e3b0-2344744de9.zip new file mode 100644 index 000000000000..e78f2664fba3 Binary files /dev/null and b/.yarn/cache/is-core-module-npm-2.2.0-497065e3b0-2344744de9.zip differ diff --git a/.yarn/cache/is-installed-globally-npm-0.3.2-a593acf078-10fc4fb09f.zip b/.yarn/cache/is-installed-globally-npm-0.3.2-a593acf078-10fc4fb09f.zip new file mode 100644 index 000000000000..828cd0dfa788 Binary files /dev/null and b/.yarn/cache/is-installed-globally-npm-0.3.2-a593acf078-10fc4fb09f.zip differ diff --git a/.yarn/cache/is-npm-npm-4.0.0-86d312340b-94ab2edae3.zip b/.yarn/cache/is-npm-npm-4.0.0-86d312340b-94ab2edae3.zip new file mode 100644 index 000000000000..2bb9bddf503c Binary files /dev/null and b/.yarn/cache/is-npm-npm-4.0.0-86d312340b-94ab2edae3.zip differ diff --git a/.yarn/cache/is-reference-npm-1.2.1-87ca1743c8-9daa3d7c4d.zip b/.yarn/cache/is-reference-npm-1.2.1-87ca1743c8-9daa3d7c4d.zip new file mode 100644 index 000000000000..5eb4e99aa327 Binary files /dev/null and b/.yarn/cache/is-reference-npm-1.2.1-87ca1743c8-9daa3d7c4d.zip differ diff --git a/.yarn/cache/is-svg-npm-3.0.0-405580f5e7-7dd3f5f18d.zip b/.yarn/cache/is-svg-npm-3.0.0-405580f5e7-7dd3f5f18d.zip deleted file mode 100644 index bfab54e4b429..000000000000 Binary files a/.yarn/cache/is-svg-npm-3.0.0-405580f5e7-7dd3f5f18d.zip and /dev/null differ diff --git a/.yarn/cache/is-valid-glob-npm-0.3.0-c7df45b368-3083876616.zip b/.yarn/cache/is-valid-glob-npm-0.3.0-c7df45b368-3083876616.zip deleted file mode 100644 index d8c14c07ee69..000000000000 Binary files a/.yarn/cache/is-valid-glob-npm-0.3.0-c7df45b368-3083876616.zip and /dev/null differ diff --git a/.yarn/cache/is-yarn-global-npm-0.3.0-18cad00879-5a66f706f2.zip b/.yarn/cache/is-yarn-global-npm-0.3.0-18cad00879-5a66f706f2.zip new file mode 100644 index 000000000000..2460f996dd1e Binary files /dev/null and b/.yarn/cache/is-yarn-global-npm-0.3.0-18cad00879-5a66f706f2.zip differ diff --git a/.yarn/cache/json-buffer-npm-3.0.0-21c267a314-09b53ecc8f.zip b/.yarn/cache/json-buffer-npm-3.0.0-21c267a314-09b53ecc8f.zip new file mode 100644 index 000000000000..ab6a50704e5b Binary files /dev/null and b/.yarn/cache/json-buffer-npm-3.0.0-21c267a314-09b53ecc8f.zip differ diff --git a/.yarn/cache/keyv-npm-3.1.0-81c9ff4454-6bf032ee50.zip b/.yarn/cache/keyv-npm-3.1.0-81c9ff4454-6bf032ee50.zip new file mode 100644 index 000000000000..913d562d7e44 Binary files /dev/null and b/.yarn/cache/keyv-npm-3.1.0-81c9ff4454-6bf032ee50.zip differ diff --git a/.yarn/cache/latest-version-npm-5.1.0-ddb9b0eb39-63c1f22435.zip b/.yarn/cache/latest-version-npm-5.1.0-ddb9b0eb39-63c1f22435.zip new file mode 100644 index 000000000000..a8d18c64a332 Binary files /dev/null and b/.yarn/cache/latest-version-npm-5.1.0-ddb9b0eb39-63c1f22435.zip differ diff --git a/.yarn/cache/lower-case-npm-2.0.1-f34f50c78b-52a55327ea.zip b/.yarn/cache/lower-case-npm-2.0.1-f34f50c78b-52a55327ea.zip deleted file mode 100644 index 5fc5ec1c2d9b..000000000000 Binary files a/.yarn/cache/lower-case-npm-2.0.1-f34f50c78b-52a55327ea.zip and /dev/null differ diff --git a/.yarn/cache/lower-case-npm-2.0.2-151055f1c2-aabaca9cef.zip b/.yarn/cache/lower-case-npm-2.0.2-151055f1c2-aabaca9cef.zip new file mode 100644 index 000000000000..48ca001a61da Binary files /dev/null and b/.yarn/cache/lower-case-npm-2.0.2-151055f1c2-aabaca9cef.zip differ diff --git a/.yarn/cache/merge-stream-npm-1.0.1-8b7634c25d-dd4607cb21.zip b/.yarn/cache/merge-stream-npm-1.0.1-8b7634c25d-dd4607cb21.zip deleted file mode 100644 index 011a6fc4125b..000000000000 Binary files a/.yarn/cache/merge-stream-npm-1.0.1-8b7634c25d-dd4607cb21.zip and /dev/null differ diff --git a/.yarn/cache/no-case-npm-3.0.3-4918b64cc1-619e0bd00a.zip b/.yarn/cache/no-case-npm-3.0.3-4918b64cc1-619e0bd00a.zip deleted file mode 100644 index b5ab2dcc2696..000000000000 Binary files a/.yarn/cache/no-case-npm-3.0.3-4918b64cc1-619e0bd00a.zip and /dev/null differ diff --git a/.yarn/cache/no-case-npm-3.0.4-12884c3d98-84db4909ca.zip b/.yarn/cache/no-case-npm-3.0.4-12884c3d98-84db4909ca.zip new file mode 100644 index 000000000000..f5e1429d28d0 Binary files /dev/null and b/.yarn/cache/no-case-npm-3.0.4-12884c3d98-84db4909ca.zip differ diff --git a/.yarn/cache/ordered-read-streams-npm-0.3.0-d70b1638a9-059b1815cf.zip b/.yarn/cache/ordered-read-streams-npm-0.3.0-d70b1638a9-059b1815cf.zip deleted file mode 100644 index 31a18dc0f5ce..000000000000 Binary files a/.yarn/cache/ordered-read-streams-npm-0.3.0-d70b1638a9-059b1815cf.zip and /dev/null differ diff --git a/.yarn/cache/p-cancelable-npm-1.1.0-d147d5996f-01fdd9ac31.zip b/.yarn/cache/p-cancelable-npm-1.1.0-d147d5996f-01fdd9ac31.zip new file mode 100644 index 000000000000..5756a317beb3 Binary files /dev/null and b/.yarn/cache/p-cancelable-npm-1.1.0-d147d5996f-01fdd9ac31.zip differ diff --git a/.yarn/cache/package-json-npm-6.5.0-30e58237bb-3023e318de.zip b/.yarn/cache/package-json-npm-6.5.0-30e58237bb-3023e318de.zip new file mode 100644 index 000000000000..136b5d4d4994 Binary files /dev/null and b/.yarn/cache/package-json-npm-6.5.0-30e58237bb-3023e318de.zip differ diff --git a/.yarn/cache/param-case-npm-3.0.3-ab80ea2ba6-ef57facfaf.zip b/.yarn/cache/param-case-npm-3.0.3-ab80ea2ba6-ef57facfaf.zip deleted file mode 100644 index 1c93932e576f..000000000000 Binary files a/.yarn/cache/param-case-npm-3.0.3-ab80ea2ba6-ef57facfaf.zip and /dev/null differ diff --git a/.yarn/cache/param-case-npm-3.0.4-cfb242ad97-879358f671.zip b/.yarn/cache/param-case-npm-3.0.4-cfb242ad97-879358f671.zip new file mode 100644 index 000000000000..1a78dcfb2aca Binary files /dev/null and b/.yarn/cache/param-case-npm-3.0.4-cfb242ad97-879358f671.zip differ diff --git a/.yarn/cache/pascal-case-npm-3.1.1-1341da3441-56f66aea7f.zip b/.yarn/cache/pascal-case-npm-3.1.1-1341da3441-56f66aea7f.zip deleted file mode 100644 index fd0da8f65dd0..000000000000 Binary files a/.yarn/cache/pascal-case-npm-3.1.1-1341da3441-56f66aea7f.zip and /dev/null differ diff --git a/.yarn/cache/pascal-case-npm-3.1.2-35f5b9bff6-31708cecab.zip b/.yarn/cache/pascal-case-npm-3.1.2-35f5b9bff6-31708cecab.zip new file mode 100644 index 000000000000..3acd4a9fccb1 Binary files /dev/null and b/.yarn/cache/pascal-case-npm-3.1.2-35f5b9bff6-31708cecab.zip differ diff --git a/.yarn/cache/path-case-npm-3.0.3-137004bc9e-61b82d59d4.zip b/.yarn/cache/path-case-npm-3.0.3-137004bc9e-61b82d59d4.zip deleted file mode 100644 index c38452a9cee1..000000000000 Binary files a/.yarn/cache/path-case-npm-3.0.3-137004bc9e-61b82d59d4.zip and /dev/null differ diff --git a/.yarn/cache/path-case-npm-3.0.4-5a1981bc0c-4f4a2ac7f6.zip b/.yarn/cache/path-case-npm-3.0.4-5a1981bc0c-4f4a2ac7f6.zip new file mode 100644 index 000000000000..3543cb2ea16c Binary files /dev/null and b/.yarn/cache/path-case-npm-3.0.4-5a1981bc0c-4f4a2ac7f6.zip differ diff --git a/.yarn/cache/picomatch-npm-2.2.1-a4bfb8b1cc-c926fe6cb1.zip b/.yarn/cache/picomatch-npm-2.2.1-a4bfb8b1cc-c926fe6cb1.zip deleted file mode 100644 index 0c3ff123098c..000000000000 Binary files a/.yarn/cache/picomatch-npm-2.2.1-a4bfb8b1cc-c926fe6cb1.zip and /dev/null differ diff --git a/.yarn/cache/picomatch-npm-2.2.2-1ce736a913-20fa75e0a5.zip b/.yarn/cache/picomatch-npm-2.2.2-1ce736a913-20fa75e0a5.zip new file mode 100644 index 000000000000..92b5c4a9346a Binary files /dev/null and b/.yarn/cache/picomatch-npm-2.2.2-1ce736a913-20fa75e0a5.zip differ diff --git a/.yarn/cache/postcss-calc-npm-7.0.1-878b118a4b-879c9bedf9.zip b/.yarn/cache/postcss-calc-npm-7.0.1-878b118a4b-879c9bedf9.zip deleted file mode 100644 index ea522eaccbce..000000000000 Binary files a/.yarn/cache/postcss-calc-npm-7.0.1-878b118a4b-879c9bedf9.zip and /dev/null differ diff --git a/.yarn/cache/postcss-colormin-npm-4.0.3-21265de8f1-c2632c38a6.zip b/.yarn/cache/postcss-colormin-npm-4.0.3-21265de8f1-c2632c38a6.zip deleted file mode 100644 index 981543955ad5..000000000000 Binary files a/.yarn/cache/postcss-colormin-npm-4.0.3-21265de8f1-c2632c38a6.zip and /dev/null differ diff --git a/.yarn/cache/postcss-convert-values-npm-4.0.1-64ae54995a-8fc4a78787.zip b/.yarn/cache/postcss-convert-values-npm-4.0.1-64ae54995a-8fc4a78787.zip deleted file mode 100644 index 302c7a8fa1db..000000000000 Binary files a/.yarn/cache/postcss-convert-values-npm-4.0.1-64ae54995a-8fc4a78787.zip and /dev/null differ diff --git a/.yarn/cache/postcss-discard-comments-npm-4.0.2-09a2a33168-7b357a3a4b.zip b/.yarn/cache/postcss-discard-comments-npm-4.0.2-09a2a33168-7b357a3a4b.zip deleted file mode 100644 index 05f66a92e1d6..000000000000 Binary files a/.yarn/cache/postcss-discard-comments-npm-4.0.2-09a2a33168-7b357a3a4b.zip and /dev/null differ diff --git a/.yarn/cache/postcss-discard-duplicates-npm-4.0.2-075a69a9cf-128342e2b9.zip b/.yarn/cache/postcss-discard-duplicates-npm-4.0.2-075a69a9cf-128342e2b9.zip deleted file mode 100644 index bf7b471cdc65..000000000000 Binary files a/.yarn/cache/postcss-discard-duplicates-npm-4.0.2-075a69a9cf-128342e2b9.zip and /dev/null differ diff --git a/.yarn/cache/postcss-discard-empty-npm-4.0.1-59a5c13419-f06a00331c.zip b/.yarn/cache/postcss-discard-empty-npm-4.0.1-59a5c13419-f06a00331c.zip deleted file mode 100644 index d4e8872525d4..000000000000 Binary files a/.yarn/cache/postcss-discard-empty-npm-4.0.1-59a5c13419-f06a00331c.zip and /dev/null differ diff --git a/.yarn/cache/postcss-discard-overridden-npm-4.0.1-c88fad5093-be24bca265.zip b/.yarn/cache/postcss-discard-overridden-npm-4.0.1-c88fad5093-be24bca265.zip deleted file mode 100644 index 75044875d161..000000000000 Binary files a/.yarn/cache/postcss-discard-overridden-npm-4.0.1-c88fad5093-be24bca265.zip and /dev/null differ diff --git a/.yarn/cache/postcss-merge-longhand-npm-4.0.11-a4de769005-f6ae3d8f2b.zip b/.yarn/cache/postcss-merge-longhand-npm-4.0.11-a4de769005-f6ae3d8f2b.zip deleted file mode 100644 index 109f033bf15e..000000000000 Binary files a/.yarn/cache/postcss-merge-longhand-npm-4.0.11-a4de769005-f6ae3d8f2b.zip and /dev/null differ diff --git a/.yarn/cache/postcss-merge-rules-npm-4.0.3-73bf0c183e-1890781711.zip b/.yarn/cache/postcss-merge-rules-npm-4.0.3-73bf0c183e-1890781711.zip deleted file mode 100644 index dd8aab18baca..000000000000 Binary files a/.yarn/cache/postcss-merge-rules-npm-4.0.3-73bf0c183e-1890781711.zip and /dev/null differ diff --git a/.yarn/cache/postcss-minify-font-values-npm-4.0.2-e8107d3a7f-9fc541821f.zip b/.yarn/cache/postcss-minify-font-values-npm-4.0.2-e8107d3a7f-9fc541821f.zip deleted file mode 100644 index b8293038f3a0..000000000000 Binary files a/.yarn/cache/postcss-minify-font-values-npm-4.0.2-e8107d3a7f-9fc541821f.zip and /dev/null differ diff --git a/.yarn/cache/postcss-minify-gradients-npm-4.0.2-d5647bcf0b-4c54f4fa49.zip b/.yarn/cache/postcss-minify-gradients-npm-4.0.2-d5647bcf0b-4c54f4fa49.zip deleted file mode 100644 index 0ca5354503f6..000000000000 Binary files a/.yarn/cache/postcss-minify-gradients-npm-4.0.2-d5647bcf0b-4c54f4fa49.zip and /dev/null differ diff --git a/.yarn/cache/postcss-minify-params-npm-4.0.2-c449dd1044-dbcb82b7b1.zip b/.yarn/cache/postcss-minify-params-npm-4.0.2-c449dd1044-dbcb82b7b1.zip deleted file mode 100644 index 88481be850e7..000000000000 Binary files a/.yarn/cache/postcss-minify-params-npm-4.0.2-c449dd1044-dbcb82b7b1.zip and /dev/null differ diff --git a/.yarn/cache/postcss-minify-selectors-npm-4.0.2-16f6851911-8fde92b556.zip b/.yarn/cache/postcss-minify-selectors-npm-4.0.2-16f6851911-8fde92b556.zip deleted file mode 100644 index fd31a46271fd..000000000000 Binary files a/.yarn/cache/postcss-minify-selectors-npm-4.0.2-16f6851911-8fde92b556.zip and /dev/null differ diff --git a/.yarn/cache/postcss-normalize-charset-npm-4.0.1-c29816bace-4e40b321c4.zip b/.yarn/cache/postcss-normalize-charset-npm-4.0.1-c29816bace-4e40b321c4.zip deleted file mode 100644 index 6388a3f45947..000000000000 Binary files a/.yarn/cache/postcss-normalize-charset-npm-4.0.1-c29816bace-4e40b321c4.zip and /dev/null differ diff --git a/.yarn/cache/postcss-normalize-display-values-npm-4.0.2-c0f29897ad-4bd5952f1c.zip b/.yarn/cache/postcss-normalize-display-values-npm-4.0.2-c0f29897ad-4bd5952f1c.zip deleted file mode 100644 index e4fa97b89154..000000000000 Binary files a/.yarn/cache/postcss-normalize-display-values-npm-4.0.2-c0f29897ad-4bd5952f1c.zip and /dev/null differ diff --git a/.yarn/cache/postcss-normalize-positions-npm-4.0.2-eb62f7b2e3-9d7d79703a.zip b/.yarn/cache/postcss-normalize-positions-npm-4.0.2-eb62f7b2e3-9d7d79703a.zip deleted file mode 100644 index e384a4159bfa..000000000000 Binary files a/.yarn/cache/postcss-normalize-positions-npm-4.0.2-eb62f7b2e3-9d7d79703a.zip and /dev/null differ diff --git a/.yarn/cache/postcss-normalize-repeat-style-npm-4.0.2-b67bc11e2b-dcb89339fd.zip b/.yarn/cache/postcss-normalize-repeat-style-npm-4.0.2-b67bc11e2b-dcb89339fd.zip deleted file mode 100644 index 12f568bd9abf..000000000000 Binary files a/.yarn/cache/postcss-normalize-repeat-style-npm-4.0.2-b67bc11e2b-dcb89339fd.zip and /dev/null differ diff --git a/.yarn/cache/postcss-normalize-string-npm-4.0.2-2fedcfab29-91116aa9c6.zip b/.yarn/cache/postcss-normalize-string-npm-4.0.2-2fedcfab29-91116aa9c6.zip deleted file mode 100644 index 8ca13447d3cb..000000000000 Binary files a/.yarn/cache/postcss-normalize-string-npm-4.0.2-2fedcfab29-91116aa9c6.zip and /dev/null differ diff --git a/.yarn/cache/postcss-normalize-timing-functions-npm-4.0.2-d0675e54df-92bca529aa.zip b/.yarn/cache/postcss-normalize-timing-functions-npm-4.0.2-d0675e54df-92bca529aa.zip deleted file mode 100644 index ebdf221e611b..000000000000 Binary files a/.yarn/cache/postcss-normalize-timing-functions-npm-4.0.2-d0675e54df-92bca529aa.zip and /dev/null differ diff --git a/.yarn/cache/postcss-normalize-unicode-npm-4.0.1-9cc5bfcb9d-84714ba7c1.zip b/.yarn/cache/postcss-normalize-unicode-npm-4.0.1-9cc5bfcb9d-84714ba7c1.zip deleted file mode 100644 index 0d38ca50bfe4..000000000000 Binary files a/.yarn/cache/postcss-normalize-unicode-npm-4.0.1-9cc5bfcb9d-84714ba7c1.zip and /dev/null differ diff --git a/.yarn/cache/postcss-normalize-url-npm-4.0.1-2626c4ca1a-76d75e27e9.zip b/.yarn/cache/postcss-normalize-url-npm-4.0.1-2626c4ca1a-76d75e27e9.zip deleted file mode 100644 index dc8d15aad823..000000000000 Binary files a/.yarn/cache/postcss-normalize-url-npm-4.0.1-2626c4ca1a-76d75e27e9.zip and /dev/null differ diff --git a/.yarn/cache/postcss-normalize-whitespace-npm-4.0.2-6339383b96-7093ca8313.zip b/.yarn/cache/postcss-normalize-whitespace-npm-4.0.2-6339383b96-7093ca8313.zip deleted file mode 100644 index 40d68d375321..000000000000 Binary files a/.yarn/cache/postcss-normalize-whitespace-npm-4.0.2-6339383b96-7093ca8313.zip and /dev/null differ diff --git a/.yarn/cache/postcss-ordered-values-npm-4.1.2-7eac60699d-6f39464145.zip b/.yarn/cache/postcss-ordered-values-npm-4.1.2-7eac60699d-6f39464145.zip deleted file mode 100644 index c90cccad74b3..000000000000 Binary files a/.yarn/cache/postcss-ordered-values-npm-4.1.2-7eac60699d-6f39464145.zip and /dev/null differ diff --git a/.yarn/cache/postcss-reduce-initial-npm-4.0.3-01cc02f1f4-ed276a8208.zip b/.yarn/cache/postcss-reduce-initial-npm-4.0.3-01cc02f1f4-ed276a8208.zip deleted file mode 100644 index c13f5e8fdd06..000000000000 Binary files a/.yarn/cache/postcss-reduce-initial-npm-4.0.3-01cc02f1f4-ed276a8208.zip and /dev/null differ diff --git a/.yarn/cache/postcss-reduce-transforms-npm-4.0.2-129de8fec9-2bf993ff44.zip b/.yarn/cache/postcss-reduce-transforms-npm-4.0.2-129de8fec9-2bf993ff44.zip deleted file mode 100644 index c8a19ff0db90..000000000000 Binary files a/.yarn/cache/postcss-reduce-transforms-npm-4.0.2-129de8fec9-2bf993ff44.zip and /dev/null differ diff --git a/.yarn/cache/postcss-selector-parser-npm-5.0.0-983a861bae-eabe69f66f.zip b/.yarn/cache/postcss-selector-parser-npm-5.0.0-983a861bae-eabe69f66f.zip deleted file mode 100644 index 187fcf8908c2..000000000000 Binary files a/.yarn/cache/postcss-selector-parser-npm-5.0.0-983a861bae-eabe69f66f.zip and /dev/null differ diff --git a/.yarn/cache/postcss-svgo-npm-4.0.2-5585d65908-a2a6e324fc.zip b/.yarn/cache/postcss-svgo-npm-4.0.2-5585d65908-a2a6e324fc.zip deleted file mode 100644 index 9ebc32a31105..000000000000 Binary files a/.yarn/cache/postcss-svgo-npm-4.0.2-5585d65908-a2a6e324fc.zip and /dev/null differ diff --git a/.yarn/cache/postcss-unique-selectors-npm-4.0.1-dde8d7eda6-1f1fdc1086.zip b/.yarn/cache/postcss-unique-selectors-npm-4.0.1-dde8d7eda6-1f1fdc1086.zip deleted file mode 100644 index c78404762e0c..000000000000 Binary files a/.yarn/cache/postcss-unique-selectors-npm-4.0.1-dde8d7eda6-1f1fdc1086.zip and /dev/null differ diff --git a/.yarn/cache/prepend-http-npm-2.0.0-e1fc4332f2-d39325775a.zip b/.yarn/cache/prepend-http-npm-2.0.0-e1fc4332f2-d39325775a.zip new file mode 100644 index 000000000000..100f5a346909 Binary files /dev/null and b/.yarn/cache/prepend-http-npm-2.0.0-e1fc4332f2-d39325775a.zip differ diff --git a/.yarn/cache/pupa-npm-2.1.1-fb256825ba-b300d979e1.zip b/.yarn/cache/pupa-npm-2.1.1-fb256825ba-b300d979e1.zip new file mode 100644 index 000000000000..a14c724c5f9c Binary files /dev/null and b/.yarn/cache/pupa-npm-2.1.1-fb256825ba-b300d979e1.zip differ diff --git a/.yarn/cache/registry-auth-token-npm-4.2.1-200e2be697-10ca9caeea.zip b/.yarn/cache/registry-auth-token-npm-4.2.1-200e2be697-10ca9caeea.zip new file mode 100644 index 000000000000..d4dc8ff5753d Binary files /dev/null and b/.yarn/cache/registry-auth-token-npm-4.2.1-200e2be697-10ca9caeea.zip differ diff --git a/.yarn/cache/registry-url-npm-5.1.0-f58d0ca7ff-50802a1d43.zip b/.yarn/cache/registry-url-npm-5.1.0-f58d0ca7ff-50802a1d43.zip new file mode 100644 index 000000000000..dce6965522cb Binary files /dev/null and b/.yarn/cache/registry-url-npm-5.1.0-f58d0ca7ff-50802a1d43.zip differ diff --git a/.yarn/cache/replace-in-file-npm-6.1.0-2f665b3afb-94b48806e6.zip b/.yarn/cache/replace-in-file-npm-6.1.0-2f665b3afb-94b48806e6.zip new file mode 100644 index 000000000000..95c73c7df7a4 Binary files /dev/null and b/.yarn/cache/replace-in-file-npm-6.1.0-2f665b3afb-94b48806e6.zip differ diff --git a/.yarn/cache/resolve-npm-1.17.0-1c4c298f09-5e3cdb8cf6.zip b/.yarn/cache/resolve-npm-1.19.0-1c75f25c98-8b23c7fde1.zip similarity index 51% rename from .yarn/cache/resolve-npm-1.17.0-1c4c298f09-5e3cdb8cf6.zip rename to .yarn/cache/resolve-npm-1.19.0-1c75f25c98-8b23c7fde1.zip index d0e68e58ac8d..4d94825675e5 100644 Binary files a/.yarn/cache/resolve-npm-1.17.0-1c4c298f09-5e3cdb8cf6.zip and b/.yarn/cache/resolve-npm-1.19.0-1c75f25c98-8b23c7fde1.zip differ diff --git a/.yarn/cache/resolve-patch-38ce149af0-4bcfb56886.zip b/.yarn/cache/resolve-patch-46f4fba2f6-188d5167e8.zip similarity index 50% rename from .yarn/cache/resolve-patch-38ce149af0-4bcfb56886.zip rename to .yarn/cache/resolve-patch-46f4fba2f6-188d5167e8.zip index 1336bb95dfa1..68467d9c2668 100644 Binary files a/.yarn/cache/resolve-patch-38ce149af0-4bcfb56886.zip and b/.yarn/cache/resolve-patch-46f4fba2f6-188d5167e8.zip differ diff --git a/.yarn/cache/responselike-npm-1.0.2-d0bf50cde4-c904f14994.zip b/.yarn/cache/responselike-npm-1.0.2-d0bf50cde4-c904f14994.zip new file mode 100644 index 000000000000..d851be8fc203 Binary files /dev/null and b/.yarn/cache/responselike-npm-1.0.2-d0bf50cde4-c904f14994.zip differ diff --git a/.yarn/cache/rgb-regex-npm-1.0.1-c867413fad-7701e22ec4.zip b/.yarn/cache/rgb-regex-npm-1.0.1-c867413fad-7701e22ec4.zip deleted file mode 100644 index ce7aac9ecc7d..000000000000 Binary files a/.yarn/cache/rgb-regex-npm-1.0.1-c867413fad-7701e22ec4.zip and /dev/null differ diff --git a/.yarn/cache/rgba-regex-npm-1.0.0-7fe6ce6060-4ffb946276.zip b/.yarn/cache/rgba-regex-npm-1.0.0-7fe6ce6060-4ffb946276.zip deleted file mode 100644 index 676325fecaa2..000000000000 Binary files a/.yarn/cache/rgba-regex-npm-1.0.0-7fe6ce6060-4ffb946276.zip and /dev/null differ diff --git a/.yarn/cache/rollup-npm-0.67.4-716f17f2da-1577cd22c5.zip b/.yarn/cache/rollup-npm-0.67.4-716f17f2da-1577cd22c5.zip deleted file mode 100644 index 5857e6d9c558..000000000000 Binary files a/.yarn/cache/rollup-npm-0.67.4-716f17f2da-1577cd22c5.zip and /dev/null differ diff --git a/.yarn/cache/rollup-npm-2.17.0-3ffeb33985-eee94f1c83.zip b/.yarn/cache/rollup-npm-2.17.0-3ffeb33985-eee94f1c83.zip deleted file mode 100644 index 2266463415b1..000000000000 Binary files a/.yarn/cache/rollup-npm-2.17.0-3ffeb33985-eee94f1c83.zip and /dev/null differ diff --git a/.yarn/cache/rollup-npm-2.36.1-effb32897b-bb48730bf3.zip b/.yarn/cache/rollup-npm-2.36.1-effb32897b-bb48730bf3.zip new file mode 100644 index 000000000000..6fd2b201bed7 Binary files /dev/null and b/.yarn/cache/rollup-npm-2.36.1-effb32897b-bb48730bf3.zip differ diff --git a/.yarn/cache/rollup-plugin-node-resolve-npm-3.4.0-2dfea5fb1a-f6c71c2368.zip b/.yarn/cache/rollup-plugin-node-resolve-npm-3.4.0-2dfea5fb1a-f6c71c2368.zip deleted file mode 100644 index 292fa616c521..000000000000 Binary files a/.yarn/cache/rollup-plugin-node-resolve-npm-3.4.0-2dfea5fb1a-f6c71c2368.zip and /dev/null differ diff --git a/.yarn/cache/safe-wipe-npm-0.2.4-44f8e19326-4f0389f9de.zip b/.yarn/cache/safe-wipe-npm-0.2.4-44f8e19326-4f0389f9de.zip deleted file mode 100644 index c6b905f09109..000000000000 Binary files a/.yarn/cache/safe-wipe-npm-0.2.4-44f8e19326-4f0389f9de.zip and /dev/null differ diff --git a/.yarn/cache/safe-wipe-npm-0.2.5-3a91f723f8-3043187f62.zip b/.yarn/cache/safe-wipe-npm-0.2.5-3a91f723f8-3043187f62.zip new file mode 100644 index 000000000000..b90df99b62f8 Binary files /dev/null and b/.yarn/cache/safe-wipe-npm-0.2.5-3a91f723f8-3043187f62.zip differ diff --git a/.yarn/cache/sass-npm-1.25.0-075c03fc86-0e5e0bb9eb.zip b/.yarn/cache/sass-npm-1.25.0-075c03fc86-0e5e0bb9eb.zip deleted file mode 100644 index 35c44315074e..000000000000 Binary files a/.yarn/cache/sass-npm-1.25.0-075c03fc86-0e5e0bb9eb.zip and /dev/null differ diff --git a/.yarn/cache/sass-npm-1.32.4-8737637fc1-d7ff2252fe.zip b/.yarn/cache/sass-npm-1.32.4-8737637fc1-d7ff2252fe.zip new file mode 100644 index 000000000000..9d68bf812ed6 Binary files /dev/null and b/.yarn/cache/sass-npm-1.32.4-8737637fc1-d7ff2252fe.zip differ diff --git a/.yarn/cache/sassdoc-npm-2.7.1-b0360be528-bcb06d3dfe.zip b/.yarn/cache/sassdoc-npm-2.7.3-63f15ed79b-946d69cbcf.zip similarity index 67% rename from .yarn/cache/sassdoc-npm-2.7.1-b0360be528-bcb06d3dfe.zip rename to .yarn/cache/sassdoc-npm-2.7.3-63f15ed79b-946d69cbcf.zip index bd4238d18865..8b24c56ba81b 100644 Binary files a/.yarn/cache/sassdoc-npm-2.7.1-b0360be528-bcb06d3dfe.zip and b/.yarn/cache/sassdoc-npm-2.7.3-63f15ed79b-946d69cbcf.zip differ diff --git a/.yarn/cache/semver-diff-npm-3.1.1-1207a795e9-d5c9b693e6.zip b/.yarn/cache/semver-diff-npm-3.1.1-1207a795e9-d5c9b693e6.zip new file mode 100644 index 000000000000..d4ba92f95dda Binary files /dev/null and b/.yarn/cache/semver-diff-npm-3.1.1-1207a795e9-d5c9b693e6.zip differ diff --git a/.yarn/cache/sentence-case-npm-3.0.3-e25cc1f6e2-cfa123198b.zip b/.yarn/cache/sentence-case-npm-3.0.3-e25cc1f6e2-cfa123198b.zip deleted file mode 100644 index 628389a2e670..000000000000 Binary files a/.yarn/cache/sentence-case-npm-3.0.3-e25cc1f6e2-cfa123198b.zip and /dev/null differ diff --git a/.yarn/cache/sentence-case-npm-3.0.4-ed6888d0bc-39bf70b871.zip b/.yarn/cache/sentence-case-npm-3.0.4-ed6888d0bc-39bf70b871.zip new file mode 100644 index 000000000000..249c61d691f4 Binary files /dev/null and b/.yarn/cache/sentence-case-npm-3.0.4-ed6888d0bc-39bf70b871.zip differ diff --git a/.yarn/cache/snake-case-npm-3.0.3-591d434e27-e14d63f5e7.zip b/.yarn/cache/snake-case-npm-3.0.3-591d434e27-e14d63f5e7.zip deleted file mode 100644 index c015d390771c..000000000000 Binary files a/.yarn/cache/snake-case-npm-3.0.3-591d434e27-e14d63f5e7.zip and /dev/null differ diff --git a/.yarn/cache/snake-case-npm-3.0.4-67f447c30d-f087328861.zip b/.yarn/cache/snake-case-npm-3.0.4-67f447c30d-f087328861.zip new file mode 100644 index 000000000000..d6be5031ffaf Binary files /dev/null and b/.yarn/cache/snake-case-npm-3.0.4-67f447c30d-f087328861.zip differ diff --git a/.yarn/cache/strip-bom-stream-npm-1.0.0-7c592d99c4-049d98f217.zip b/.yarn/cache/strip-bom-stream-npm-1.0.0-7c592d99c4-049d98f217.zip deleted file mode 100644 index e746972fea65..000000000000 Binary files a/.yarn/cache/strip-bom-stream-npm-1.0.0-7c592d99c4-049d98f217.zip and /dev/null differ diff --git a/.yarn/cache/stylehacks-npm-4.0.3-b704c3a5ab-1345ad348d.zip b/.yarn/cache/stylehacks-npm-4.0.3-b704c3a5ab-1345ad348d.zip deleted file mode 100644 index ce7599e95daf..000000000000 Binary files a/.yarn/cache/stylehacks-npm-4.0.3-b704c3a5ab-1345ad348d.zip and /dev/null differ diff --git a/.yarn/cache/through2-filter-npm-2.0.0-03eafca956-27b4eb5333.zip b/.yarn/cache/through2-filter-npm-2.0.0-03eafca956-27b4eb5333.zip deleted file mode 100644 index a0f9292f895f..000000000000 Binary files a/.yarn/cache/through2-filter-npm-2.0.0-03eafca956-27b4eb5333.zip and /dev/null differ diff --git a/.yarn/cache/timsort-npm-0.3.0-868a28166c-d8300c3ecf.zip b/.yarn/cache/timsort-npm-0.3.0-868a28166c-d8300c3ecf.zip deleted file mode 100644 index 577607494b95..000000000000 Binary files a/.yarn/cache/timsort-npm-0.3.0-868a28166c-d8300c3ecf.zip and /dev/null differ diff --git a/.yarn/cache/to-absolute-glob-npm-0.1.1-18847c385f-ee19fc39e5.zip b/.yarn/cache/to-absolute-glob-npm-0.1.1-18847c385f-ee19fc39e5.zip deleted file mode 100644 index ae86bbed1319..000000000000 Binary files a/.yarn/cache/to-absolute-glob-npm-0.1.1-18847c385f-ee19fc39e5.zip and /dev/null differ diff --git a/.yarn/cache/to-readable-stream-npm-1.0.0-4fa4da8130-aa4b65d3e7.zip b/.yarn/cache/to-readable-stream-npm-1.0.0-4fa4da8130-aa4b65d3e7.zip new file mode 100644 index 000000000000..0cf0a61a82e8 Binary files /dev/null and b/.yarn/cache/to-readable-stream-npm-1.0.0-4fa4da8130-aa4b65d3e7.zip differ diff --git a/.yarn/cache/tslib-npm-2.0.3-62a2b3751d-447bfca5de.zip b/.yarn/cache/tslib-npm-2.0.3-62a2b3751d-447bfca5de.zip deleted file mode 100644 index b971539e59fe..000000000000 Binary files a/.yarn/cache/tslib-npm-2.0.3-62a2b3751d-447bfca5de.zip and /dev/null differ diff --git a/.yarn/cache/tslib-npm-2.1.0-81c9ac9b82-d8f5bdd067.zip b/.yarn/cache/tslib-npm-2.1.0-81c9ac9b82-d8f5bdd067.zip new file mode 100644 index 000000000000..2a0f08bfc781 Binary files /dev/null and b/.yarn/cache/tslib-npm-2.1.0-81c9ac9b82-d8f5bdd067.zip differ diff --git a/.yarn/cache/uniqs-npm-2.0.0-f8efe64815-f6467e9cb9.zip b/.yarn/cache/uniqs-npm-2.0.0-f8efe64815-f6467e9cb9.zip deleted file mode 100644 index f5c0380b9de9..000000000000 Binary files a/.yarn/cache/uniqs-npm-2.0.0-f8efe64815-f6467e9cb9.zip and /dev/null differ diff --git a/.yarn/cache/update-notifier-npm-4.1.3-837e724aca-90362dcdf3.zip b/.yarn/cache/update-notifier-npm-4.1.3-837e724aca-90362dcdf3.zip new file mode 100644 index 000000000000..ccdf61d21080 Binary files /dev/null and b/.yarn/cache/update-notifier-npm-4.1.3-837e724aca-90362dcdf3.zip differ diff --git a/.yarn/cache/upper-case-first-npm-2.0.1-f534b3e97e-35bd4852c8.zip b/.yarn/cache/upper-case-first-npm-2.0.1-f534b3e97e-35bd4852c8.zip deleted file mode 100644 index 780646ee074a..000000000000 Binary files a/.yarn/cache/upper-case-first-npm-2.0.1-f534b3e97e-35bd4852c8.zip and /dev/null differ diff --git a/.yarn/cache/upper-case-first-npm-2.0.2-8e0c5a851a-b485994181.zip b/.yarn/cache/upper-case-first-npm-2.0.2-8e0c5a851a-b485994181.zip new file mode 100644 index 000000000000..d27b7dfe206e Binary files /dev/null and b/.yarn/cache/upper-case-first-npm-2.0.2-8e0c5a851a-b485994181.zip differ diff --git a/.yarn/cache/upper-case-npm-2.0.1-3adcf3afdb-69c914af89.zip b/.yarn/cache/upper-case-npm-2.0.1-3adcf3afdb-69c914af89.zip deleted file mode 100644 index b429603a9b7b..000000000000 Binary files a/.yarn/cache/upper-case-npm-2.0.1-3adcf3afdb-69c914af89.zip and /dev/null differ diff --git a/.yarn/cache/upper-case-npm-2.0.2-6cf3bda96c-db9adfeca3.zip b/.yarn/cache/upper-case-npm-2.0.2-6cf3bda96c-db9adfeca3.zip new file mode 100644 index 000000000000..4a1cfe6f3989 Binary files /dev/null and b/.yarn/cache/upper-case-npm-2.0.2-6cf3bda96c-db9adfeca3.zip differ diff --git a/.yarn/cache/url-parse-lax-npm-3.0.0-92aa8effa0-334817036b.zip b/.yarn/cache/url-parse-lax-npm-3.0.0-92aa8effa0-334817036b.zip new file mode 100644 index 000000000000..2486e4654097 Binary files /dev/null and b/.yarn/cache/url-parse-lax-npm-3.0.0-92aa8effa0-334817036b.zip differ diff --git a/.yarn/cache/vali-date-npm-1.0.0-4d42f0c8d6-f805612a4c.zip b/.yarn/cache/vali-date-npm-1.0.0-4d42f0c8d6-f805612a4c.zip deleted file mode 100644 index c37bd40c2b69..000000000000 Binary files a/.yarn/cache/vali-date-npm-1.0.0-4d42f0c8d6-f805612a4c.zip and /dev/null differ diff --git a/.yarn/cache/vendors-npm-1.0.4-d3a9d2c62c-f49cf918e8.zip b/.yarn/cache/vendors-npm-1.0.4-d3a9d2c62c-f49cf918e8.zip deleted file mode 100644 index 3175a723d493..000000000000 Binary files a/.yarn/cache/vendors-npm-1.0.4-d3a9d2c62c-f49cf918e8.zip and /dev/null differ diff --git a/.yarn/cache/vinyl-fs-npm-2.4.4-49500567d5-fb142d96fe.zip b/.yarn/cache/vinyl-fs-npm-2.4.4-49500567d5-fb142d96fe.zip deleted file mode 100644 index 5a4b647ebc50..000000000000 Binary files a/.yarn/cache/vinyl-fs-npm-2.4.4-49500567d5-fb142d96fe.zip and /dev/null differ diff --git a/package.json b/package.json index c71689e6aa63..420dcfb443ae 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,6 @@ "@babel/preset-env": "^7.10.0", "@babel/preset-react": "^7.10.0", "@babel/runtime": "^7.10.0", - "@carbon/bundler": "workspace:packages/bundler", "@carbon/cli": "workspace:packages/cli", "@commitlint/cli": "^8.3.5", "@commitlint/config-conventional": "^8.3.4", @@ -146,7 +145,7 @@ "preset": "jest-config-carbon", "collectCoverageFrom": [ "packages/**/src/**/*.js", - "!packages/{bundler,cli,components,sketch}/**", + "!packages/{cli,components,sketch}/**", "!packages/**/{examples,stories}/**", "!**/*-story.js" ], diff --git a/packages/bundler/.eslintrc b/packages/bundler/.eslintrc deleted file mode 100644 index ffbcfc7c4358..000000000000 --- a/packages/bundler/.eslintrc +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "no-console": "OFF" - } -} diff --git a/packages/bundler/.npmignore b/packages/bundler/.npmignore deleted file mode 100644 index c77886a156cd..000000000000 --- a/packages/bundler/.npmignore +++ /dev/null @@ -1,4 +0,0 @@ -**/__mocks__/** -**/__tests__/** -**/examples/** -**/tasks/** diff --git a/packages/bundler/README.md b/packages/bundler/README.md deleted file mode 100644 index 46b7cbd25beb..000000000000 --- a/packages/bundler/README.md +++ /dev/null @@ -1,29 +0,0 @@ -# @carbon/bundler - -> Bundler used for libraries in the Carbon Design System - -## Getting started - -To install `@carbon/bundler` in your project, you will need to run the following -command using [npm](https://www.npmjs.com/): - -```bash -npm install -S @carbon/bundler -``` - -If you prefer [Yarn](https://yarnpkg.com/en/), use the following command -instead: - -```bash -yarn add @carbon/bundler -``` - -## 🙌 Contributing - -We're always looking for contributors to help us fix bugs, build new features, -or help us improve the project documentation. If you're interested, definitely -check out our [Contributing Guide](/.github/CONTRIBUTING.md)! 👀 - -## 📝 License - -Licensed under the [Apache 2.0 License](/LICENSE). diff --git a/packages/bundler/bin/bundler.js b/packages/bundler/bin/bundler.js deleted file mode 100755 index 6643ee10b2d7..000000000000 --- a/packages/bundler/bin/bundler.js +++ /dev/null @@ -1,46 +0,0 @@ -#!/usr/bin/env node - -/** - * Copyright IBM Corp. 2018, 2018 - * - * This source code is licensed under the Apache-2.0 license found in the - * LICENSE file in the root directory of this source tree. - */ - -/* eslint-disable no-var, no-console */ -'use strict'; - -// Inspired by Create React App -// https://github.com/facebook/create-react-app/blob/next/packages/create-react-app/index.js - -// Makes the script crash on unhandled rejections instead of silently -// ignoring them. In the future, promise rejections that are not handled will -// terminate the Node.js process with a non-zero exit code. -process.on('unhandledRejection', (err) => { - console.error(err); -}); - -var chalk = require('chalk'); -var packageJson = require('../package.json'); - -var currentNodeVersion = process.versions.node; -var semver = currentNodeVersion.split('.'); -var major = semver[0]; - -if (major < 8) { - console.error( - chalk.red( - `You are running Node ${currentNodeVersion}.\n` + - `${packageJson.name} requires Node 8 or higher, please update your ` + - `version of Node.` - ) - ); - process.exit(1); -} - -var bundler = require('../src/bundler'); - -bundler(process).catch((error) => { - console.error(error); - process.exit(1); -}); diff --git a/packages/bundler/package.json b/packages/bundler/package.json deleted file mode 100644 index c20fa98b1c28..000000000000 --- a/packages/bundler/package.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "name": "@carbon/bundler", - "description": "Bundler used for libraries in the Carbon Design System", - "version": "10.11.0", - "license": "Apache-2.0", - "bin": "./bin/bundler.js", - "repository": { - "type": "git", - "url": "https://github.com/carbon-design-system/carbon.git", - "directory": "packages/bundler" - }, - "bugs": "https://github.com/carbon-design-system/carbon/issues", - "keywords": [ - "ibm", - "elements", - "carbon", - "carbon-elements", - "carbon-design-system", - "components", - "react" - ], - "publishConfig": { - "access": "public" - }, - "dependencies": { - "@babel/core": "^7.10.0", - "@babel/preset-env": "^7.10.0", - "@carbon/cli-reporter": "^10.4.0", - "@commitlint/parse": "^8.3.4", - "autoprefixer": "^9.7.4", - "babel-plugin-macros": "^2.4.2", - "chalk": "^2.4.1", - "change-case": "^4.1.1", - "cli-table": "^0.3.1", - "commander": "^2.19.0", - "cssnano": "^4.1.7", - "execa": "^2.0.3", - "filesize": "^3.6.1", - "fs-extra": "^8.1.0", - "glob": "^7.1.3", - "gzip-size": "^5.0.0", - "inquirer": "^6.5.0", - "klaw-sync": "^6.0.0", - "markdown-toc": "^1.2.0", - "node-sass": "^4.13.1", - "postcss": "^7.0.26", - "postcss-discard-comments": "^4.0.1", - "replace-in-file": "^3.4.4", - "rollup": "^0.67.1", - "rollup-plugin-babel": "^4.4.0", - "rollup-plugin-commonjs": "^9.2.0", - "rollup-plugin-node-resolve": "^3.4.0", - "sassdoc": "^2.5.1", - "semver": "^6.3.0" - } -} diff --git a/packages/bundler/src/bundler.js b/packages/bundler/src/bundler.js deleted file mode 100644 index 4bb0f8f95df5..000000000000 --- a/packages/bundler/src/bundler.js +++ /dev/null @@ -1,143 +0,0 @@ -/** - * Copyright IBM Corp. 2018, 2018 - * - * This source code is licensed under the Apache-2.0 license found in the - * LICENSE file in the root directory of this source tree. - */ - -'use strict'; - -const program = require('commander'); -const packageJson = require('../package.json'); -const bundle = require('./commands/bundle'); -const check = require('./commands/check'); -const inline = require('./commands/inline'); -const measure = require('./commands/measure'); -const sassdoc = require('./commands/sassdoc'); - -async function bundler({ argv, cwd: getWorkingDirectory }) { - const cwd = getWorkingDirectory(); - - // prettier-ignore - program - .name(packageJson.name) - .version(packageJson.version) - .usage(' [options]'); - - program - .command('check ') - .description('check that each file can be compiled') - .option('-i, --ignore ', 'pass in a glob of files to ignore') - .option('-l, --list', 'list all the files that were compiled') - .action((pattern, cmd) => - check(pattern, { - cwd, - list: cmd.list || false, - ignore: cmd.ignore || [], - }) - ); - - program - .command('sassdoc ') - .description('generate sassdoc as markdown') - .option('-i, --ignore ', 'pass in a glob of files to ignore') - .option('-j, --json', 'output as json file') - .option('-o, --output ', 'specify the directory to output the files') - .action((pattern, cmd) => - sassdoc(pattern, { - cwd, - ignore: cmd.ignore || [], - json: cmd.json || false, - output: cmd.output || 'docs', - }) - ); - - program - .command('inline') - .description( - 'inline sass dependencies from package.json in a target folder' - ) - .option( - '-o, --output ', - 'the directory to output inlined sass dependencies', - 'scss' - ) - .action((cmd) => - inline(cleanArgs(cmd), { - cwd, - }) - ); - - program - .command('measure ') - .description('measure the compiled size of your package(s)') - .option('-i, --ignore ', 'pass in a glob of files to ignore') - .option('-o, --output ', 'specify the output path of your report') - .action((pattern, cmd) => - measure(pattern, { - cwd, - ignore: cmd.ignore, - output: cmd.output, - }) - ); - - program - .command('bundle ') - .description('bundle the given .js entrypoint') - .option('-n, --name ', 'name the module for the UMD build') - .option('-g, --globals ', 'global module names') - .action((entrypoint, cmd) => - bundle(entrypoint, cleanArgs(cmd), { - cwd, - }) - ); - - program - .command('bundle:scss ') - .description('bundle the given .scss entrypoint') - .option('-n, --name ', 'name the output file') - .option( - '-o, --output ', - 'specify the directory to output the files', - 'css' - ) - .action((entrypoint, cmd) => - bundle(entrypoint, cleanArgs(cmd), { - cwd, - }) - ); - - program.parse(argv); -} - -// Inspired by Vue CLI: -// https://github.com/vuejs/vue-cli/blob/31e1b4995edef3d2079da654deedffe002a1d689/packages/%40vue/cli/bin/vue.js#L172 -function cleanArgs(command) { - return command.options.reduce((acc, option) => { - // TODO: add case for reserved words from commander, like options - - // Add case for mapping `--foo-bar` to `fooBar` - const key = option.long - .replace(/^--/, '') - .split('-') - .map((word, i) => { - if (i === 0) { - return word; - } - return word[0].toUpperCase() + word.slice(1); - }) - .join(''); - - // If an option is not present and Command has a method with the same name - // it should not be copied - if (typeof command[key] !== 'function') { - return { - ...acc, - [key]: command[key], - }; - } - return acc; - }, {}); -} - -module.exports = bundler; diff --git a/packages/bundler/src/bundlers/scss.js b/packages/bundler/src/bundlers/scss.js deleted file mode 100644 index 3ddf4a0089ef..000000000000 --- a/packages/bundler/src/bundlers/scss.js +++ /dev/null @@ -1,72 +0,0 @@ -/** - * Copyright IBM Corp. 2018, 2018 - * - * This source code is licensed under the Apache-2.0 license found in the - * LICENSE file in the root directory of this source tree. - */ - -'use strict'; - -const { reporter } = require('@carbon/cli-reporter'); -const autoprefixer = require('autoprefixer'); -const cssnano = require('cssnano'); -const fs = require('fs-extra'); -const path = require('path'); -const postcss = require('postcss'); -const compile = require('../tools/compile'); -const findPackageFolder = require('../tools/findPackageFolder'); - -const autoprefixerOptions = { - browsers: ['last 1 version', 'ie >= 11', 'Firefox ESR'], -}; - -async function bundle(entrypoint, options) { - reporter.info(`Bundling ${entrypoint}...`); - - const basename = options.name || path.basename(entrypoint, '.scss'); - const packageFolder = await findPackageFolder(entrypoint); - const outputFolder = path.join(packageFolder, options.output); - - await fs.remove(outputFolder); - await fs.ensureDir(outputFolder); - - const [uncompressed] = await Promise.all(compile([entrypoint])); - const processedUncompressed = await postcss([ - autoprefixer(autoprefixerOptions), - cssnano({ - preset: { - plugins: [require('postcss-discard-comments')], - }, - }), - ]).process(uncompressed.result.css, { - from: entrypoint, - to: path.join(outputFolder, `${basename}.css`), - }); - - await fs.writeFile( - path.join(outputFolder, `${basename}.css`), - processedUncompressed.css - ); - - const [compressed] = await Promise.all( - compile([entrypoint], { - outputStyle: 'compressed', - }) - ); - const processedCompressed = await postcss([ - autoprefixer(autoprefixerOptions), - cssnano({ - preset: 'default', - }), - ]).process(compressed.result.css, { - from: entrypoint, - to: path.join(outputFolder, `${basename}.min.css`), - }); - - await fs.writeFile( - path.join(outputFolder, `${basename}.min.css`), - processedCompressed.css - ); -} - -module.exports = bundle; diff --git a/packages/bundler/src/commands/bundle.js b/packages/bundler/src/commands/bundle.js deleted file mode 100644 index a720f6a398e3..000000000000 --- a/packages/bundler/src/commands/bundle.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -const { reporter } = require('@carbon/cli-reporter'); -const bundlers = require('../bundlers'); -const path = require('path'); - -async function bundle(entrypoint, options, info) { - const { cwd } = info; - const extension = path.extname(entrypoint); - - if (!bundlers.has(extension)) { - reporter.error( - `Invalid extension: \`${extension}\` on entrypoint: \`${entrypoint}\`` - ); - process.exit(1); - } - - try { - const bundle = bundlers.get(extension); - await bundle(path.join(cwd, entrypoint), options, info); - } catch (error) { - reporter.error(`Unexpected error occurred while bundling ${entrypoint}:`); - console.log(error); - process.exit(1); - } - - reporter.success('Done! 🎉'); -} - -module.exports = bundle; diff --git a/packages/bundler/src/commands/check.js b/packages/bundler/src/commands/check.js deleted file mode 100644 index ca44b7cbc07f..000000000000 --- a/packages/bundler/src/commands/check.js +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright IBM Corp. 2018, 2018 - * - * This source code is licensed under the Apache-2.0 license found in the - * LICENSE file in the root directory of this source tree. - */ - -'use strict'; - -const path = require('path'); -const chalk = require('chalk'); -const glob = require('../glob'); -const { reporter } = require('@carbon/cli-reporter'); -const compile = require('../tools/compile'); - -async function check(pattern, { ignore, cwd, list } = {}) { - reporter.info(`Running in: ${cwd}`); - reporter.info(`Checking pattern: '${pattern}', ignoring: '${ignore}'`); - // Assume globs are for checking scss files for now - const files = await glob(pattern, { - cwd, - ignore, - }); - - reporter.info(`Compiling ${files.length} files...`); - - const results = await Promise.all( - compile(files.map((file) => path.join(cwd, file))) - ); - - const errors = results.reduce((acc, result) => { - if (result.error) { - const error = result.error; - return acc.concat(error); - } - return acc; - }, []); - - if (errors.length > 0) { - errors.forEach((error) => { - const { formatted, file } = error; - reporter.error(`Error compiling ${path.relative(cwd, file)}`); - console.log(chalk.gray(formatted)); - }); - process.exit(1); - return; - } - - if (list) { - reporter.info('Compiled the following files:'); - console.log(files); - } - reporter.success(`Successfully compiled ${files.length} files! 🎉`); - process.exit(0); -} - -module.exports = check; diff --git a/packages/bundler/src/commands/measure.js b/packages/bundler/src/commands/measure.js deleted file mode 100644 index 7f2ae263f794..000000000000 --- a/packages/bundler/src/commands/measure.js +++ /dev/null @@ -1,160 +0,0 @@ -/** - * Copyright IBM Corp. 2018, 2018 - * - * This source code is licensed under the Apache-2.0 license found in the - * LICENSE file in the root directory of this source tree. - */ - -'use strict'; - -const chalk = require('chalk'); -const Table = require('cli-table'); -const filesize = require('filesize'); -const fs = require('fs-extra'); -const path = require('path'); -const glob = require('../glob'); -const gzipSize = require('gzip-size'); -const { reporter } = require('@carbon/cli-reporter'); -const compile = require('../tools/compile'); - -async function measure(pattern, { cwd, output, ignore = [] }) { - const outputFilename = 'results.json'; - const outputFilepath = output - ? path.join(output, outputFilename) - : path.join(cwd, outputFilename); - reporter.info(`Running in: ${cwd}`); - reporter.info(`Checking pattern: '${pattern}', ignoring: '${ignore}'`); - reporter.info(`Writing results to: ${outputFilepath}`); - - const files = await glob(pattern, { - cwd, - ignore, - }); - - const results = await Promise.all( - compile(files.map((file) => path.join(cwd, file))) - ); - - const errors = results.reduce((acc, result) => { - if (result.error) { - const error = result.error; - error.filepath = result.filepath; - return acc.concat(error); - } - return acc; - }, []); - - if (errors.length > 0) { - errors.forEach((error) => { - const { formatted, filepath } = error; - reporter.error(`Error compiling ${path.relative(cwd, filepath)}`); - console.log(chalk.gray(formatted)); - }); - process.exit(1); - return; - } - - // At this point, we've successfully compiled all of our scss files and now we - // need to start getting the corresponding size values and compare them to - // previous results, if they exist. - - const prevResults = (await fs.pathExists(outputFilepath)) - ? await fs.readJson(outputFilepath) - : {}; - const nextResults = await Promise.all( - results.map(async ({ result, filepath }) => ({ - filename: path.basename(filepath), - package: await findPackageFor(filepath), - size: Buffer.byteLength(result.css), - gzip: await gzipSize(result.css), - })) - ); - - await fs.writeJson(outputFilepath, nextResults, { - spaces: 2, - }); - - console.log(printResults(prevResults, nextResults)); -} - -// Rough heuristic used to find the package name for a given file. Idea is to -// move upwards looking for directories that have a `package.json` file. Once we -// find one, we report back the name from that file. -async function findPackageFor(filepath) { - let directory = filepath; - - while (directory !== '/') { - const directoryToSearch = path.dirname(directory); - const files = await fs.readdir(directoryToSearch); - - if (files.indexOf('package.json') !== -1) { - const packageJson = await fs.readJson( - path.join(directoryToSearch, 'package.json') - ); - return packageJson.name; - } - - directory = path.resolve(directory, '..'); - } - - throw new Error(`Unable to find package for: ${filepath}`); -} - -function printResults(prevResults, results) { - const resultsHeaders = [ - 'Package', - 'File', - 'Prev Size', - 'Current Size', - 'Diff', - 'Prev Gzip', - 'Current Gzip', - 'Diff', - ]; - - const table = new Table({ - head: resultsHeaders.map((label) => chalk.gray.yellow(label)), - }); - - results.forEach((result) => { - const prevResult = - prevResults.find((prevResult) => { - return ( - prevResult.filename === result.filename && - prevResult.package === result.package - ); - }) || {}; - - table.push([ - chalk.white.bold(result.package), - chalk.white.bold(result.filename), - chalk.gray.bold(prevResult.size || 0), - chalk.white.bold(filesize(result.size)), - percentChangeString(fractionalChange(prevResult.size, result.size)), - chalk.gray.bold(prevResult.gzip || 0), - chalk.white.bold(filesize(result.gzip)), - percentChangeString(fractionalChange(prevResult.gzip, result.gzip)), - ]); - }); - - return table.toString(); -} - -function fractionalChange(prev, current) { - return (current - prev) / prev; -} - -function percentChangeString(change) { - if (!isFinite(change)) { - // When a new package is created - return 'n/a'; - } - const formatted = (change * 100).toFixed(1); - if (/^-|^0(?:\.0+)$/.test(formatted)) { - return `${formatted}%`; - } else { - return `+${formatted}%`; - } -} - -module.exports = measure; diff --git a/packages/bundler/src/commands/sassdoc.js b/packages/bundler/src/commands/sassdoc.js deleted file mode 100644 index 727e51efdfdb..000000000000 --- a/packages/bundler/src/commands/sassdoc.js +++ /dev/null @@ -1,61 +0,0 @@ -/** - * Copyright IBM Corp. 2018, 2018 - * - * This source code is licensed under the Apache-2.0 license found in the - * LICENSE file in the root directory of this source tree. - */ - -'use strict'; - -const fs = require('fs-extra'); -const path = require('path'); -const glob = require('../glob'); -const { createJson, createMarkdown } = require('../tools/sassdoc.js'); -const { reporter } = require('@carbon/cli-reporter'); - -async function sassdoc(pattern, { ignore, cwd, json, output } = {}) { - const DOCS_DIR = path.resolve(cwd, output); - const JSON_FILE = path.resolve(DOCS_DIR, 'sass.json'); - const MARKDOWN_FILE = path.resolve(DOCS_DIR, 'sass.md'); - - const files = await glob(pattern, { - cwd, - ignore, - }); - - if (json) { - reporter.info( - `Creating sassdoc json for pattern: '${pattern}', ignoring: '${ignore}'` - ); - - try { - const jsonFile = await createJson(files); - await fs.ensureDir(DOCS_DIR); - await fs.writeFile(JSON_FILE, JSON.stringify(jsonFile, null, 2)); - } catch (error) { - reporter.error(`Sassdoc error: ${error}`); - process.exit(1); - } - - reporter.success('Done! 🎉'); - } else { - reporter.info( - `Creating sassdoc markdown for pattern: '${pattern}', ignoring: '${ignore}'` - ); - - try { - const markdownFile = await createMarkdown(files); - await fs.ensureDir(DOCS_DIR); - await fs.writeFile(MARKDOWN_FILE, markdownFile); - } catch (error) { - reporter.error(`Sassdoc error: ${error}`); - process.exit(1); - } - - reporter.success('Done! 🎉'); - } - - process.exit(0); -} - -module.exports = sassdoc; diff --git a/packages/bundler/src/glob.js b/packages/bundler/src/glob.js deleted file mode 100644 index 6ba8fa9af613..000000000000 --- a/packages/bundler/src/glob.js +++ /dev/null @@ -1,24 +0,0 @@ -/** - * Copyright IBM Corp. 2018, 2018 - * - * This source code is licensed under the Apache-2.0 license found in the - * LICENSE file in the root directory of this source tree. - */ - -'use strict'; - -const globNative = require('glob'); - -function glob(pattern, options = {}) { - return new Promise((resolve, reject) => { - globNative(pattern, options, (error, files) => { - if (error) { - reject(error); - return; - } - resolve(files); - }); - }); -} - -module.exports = glob; diff --git a/packages/bundler/src/tools/compile.js b/packages/bundler/src/tools/compile.js deleted file mode 100644 index ebfe14ed94b7..000000000000 --- a/packages/bundler/src/tools/compile.js +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Copyright IBM Corp. 2018, 2018 - * - * This source code is licensed under the Apache-2.0 license found in the - * LICENSE file in the root directory of this source tree. - */ - -'use strict'; - -const sass = require('node-sass'); - -const defaultOptions = { - includePaths: ['node_modules', '../../node_modules'], -}; - -function compile(filepaths, options) { - return filepaths.map( - (filepath) => - new Promise((resolve) => { - sass.render( - { - file: filepath, - ...defaultOptions, - ...options, - }, - (error, result) => { - if (error) { - resolve({ error }); - return; - } - - resolve({ - result, - filepath, - error, - }); - } - ); - }) - ); -} - -module.exports = compile; diff --git a/packages/bundler/src/tools/findPackageFolder.js b/packages/bundler/src/tools/findPackageFolder.js deleted file mode 100644 index 848918ffd075..000000000000 --- a/packages/bundler/src/tools/findPackageFolder.js +++ /dev/null @@ -1,28 +0,0 @@ -/** - * Copyright IBM Corp. 2018, 2018 - * - * This source code is licensed under the Apache-2.0 license found in the - * LICENSE file in the root directory of this source tree. - */ - -'use strict'; - -const fs = require('fs-extra'); -const path = require('path'); - -async function findPackageFolder(entrypoint) { - let packageFolder = entrypoint; - - while (packageFolder !== '/' && path.dirname(packageFolder) !== '/') { - packageFolder = path.dirname(packageFolder); - const packageJsonPath = path.join(packageFolder, 'package.json'); - - if (await fs.pathExists(packageJsonPath)) { - break; - } - } - - return packageFolder; -} - -module.exports = findPackageFolder; diff --git a/packages/cli/package.json b/packages/cli/package.json index b319faa7c91d..30e1e0731451 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -27,18 +27,28 @@ "@octokit/plugin-retry": "^2.2.0", "@octokit/plugin-throttling": "^2.6.0", "@octokit/rest": "^16.28.1", + "@rollup/plugin-babel": "^5.2.2", + "@rollup/plugin-commonjs": "^17.0.0", + "@rollup/plugin-node-resolve": "^11.0.1", "chalk": "^2.4.2", + "change-case": "^4.1.2", "child-process-promise": "^2.2.1", "clipboardy": "^2.1.0", "enquirer": "^2.3.6", "fast-glob": "^3.2.2", "fs-extra": "^8.0.1", "inquirer": "^6.4.1", + "klaw-sync": "^6.0.0", "lodash.template": "^4.5.0", + "markdown-toc": "^1.2.0", "prettier": "^2.2.1", "prettier-config-carbon": "^0.5.0", "progress-estimator": "^0.2.2", "remark": "^10.0.1", + "replace-in-file": "^6.1.0", + "rollup": "^2.36.1", + "sass": "^1.32.4", + "sassdoc": "^2.7.3", "yargs": "^15.1.0" } } diff --git a/packages/cli/src/commands/bundle.js b/packages/cli/src/commands/bundle.js new file mode 100644 index 000000000000..ec1002e69655 --- /dev/null +++ b/packages/cli/src/commands/bundle.js @@ -0,0 +1,67 @@ +/** + * Copyright IBM Corp. 2019, 2019 + * + * This source code is licensed under the Apache-2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + +'use strict'; + +const path = require('path'); +const { createLogger } = require('../logger'); +const bundlers = require('./bundle/bundlers'); + +const logger = createLogger('bundle'); + +async function bundle({ entrypoint, name, globals }) { + logger.start('bundle'); + + const cwd = process.cwd(); + const extension = path.extname(entrypoint); + + if (!bundlers.has(extension)) { + logger.info( + `Invalid extension: \`${extension}\` on entrypoint: \`${entrypoint}\`` + ); + process.exit(1); + } + + try { + const bundle = bundlers.get(extension); + await bundle(path.join(cwd, entrypoint), { + name, + globals, + }); + } catch (error) { + logger.info(`Unexpected error occurred while bundling ${entrypoint}:`); + console.log(error); + process.exit(1); + } + + logger.stop(); +} + +module.exports = { + command: 'bundle ', + desc: 'bundle the given .js entrypoint', + builder(yargs) { + yargs.positional('entrypoint', { + type: 'string', + describe: 'the entrypoint Javascript file', + }); + + yargs.options({ + n: { + alias: 'name', + describe: 'the name of the module for the UMD build', + type: 'string', + }, + g: { + alias: 'globals', + describe: 'global module names', + type: 'string', + }, + }); + }, + handler: bundle, +}; diff --git a/packages/bundler/src/bundlers/index.js b/packages/cli/src/commands/bundle/bundlers.js similarity index 71% rename from packages/bundler/src/bundlers/index.js rename to packages/cli/src/commands/bundle/bundlers.js index 64c9d8ee8a1d..71355796b3e9 100644 --- a/packages/bundler/src/bundlers/index.js +++ b/packages/cli/src/commands/bundle/bundlers.js @@ -8,11 +8,7 @@ 'use strict'; const javascript = require('./javascript'); -const scss = require('./scss'); -const bundlers = new Map([ - ['.js', javascript], - ['.scss', scss], -]); +const bundlers = new Map([['.js', javascript]]); module.exports = bundlers; diff --git a/packages/bundler/src/bundlers/javascript.js b/packages/cli/src/commands/bundle/javascript.js similarity index 78% rename from packages/bundler/src/bundlers/javascript.js rename to packages/cli/src/commands/bundle/javascript.js index 8d77ea407ce5..3decdd8a5697 100644 --- a/packages/bundler/src/bundlers/javascript.js +++ b/packages/cli/src/commands/bundle/javascript.js @@ -7,14 +7,13 @@ 'use strict'; +const { babel } = require('@rollup/plugin-babel'); +const commonjs = require('@rollup/plugin-commonjs'); +const { nodeResolve } = require('@rollup/plugin-node-resolve'); const { pascalCase } = require('change-case'); const fs = require('fs-extra'); const path = require('path'); const { rollup } = require('rollup'); -const babel = require('rollup-plugin-babel'); -const commonjs = require('rollup-plugin-commonjs'); -const nodeResolve = require('rollup-plugin-node-resolve'); -const findPackageFolder = require('../tools/findPackageFolder'); async function bundle(entrypoint, options) { const globals = options.globals ? formatGlobals(options.globals) : {}; @@ -65,14 +64,11 @@ async function bundle(entrypoint, options) { }, ], ], + babelHelpers: 'bundled', }), - nodeResolve({ - jsnext: true, - main: true, - module: true, - }), + nodeResolve(), commonjs({ - include: ['node_modules/**'], + include: [/node_modules/], extensions: ['.js'], }), ], @@ -80,7 +76,11 @@ async function bundle(entrypoint, options) { await Promise.all( jsEntryPoints.map(({ format, file }) => { - const outputOptions = { format, file }; + const outputOptions = { + format, + file, + exports: 'auto', + }; if (format === 'umd') { outputOptions.name = name; @@ -124,4 +124,19 @@ function formatDependenciesIntoGlobals(dependencies) { }, {}); } +async function findPackageFolder(entrypoint) { + let packageFolder = entrypoint; + + while (packageFolder !== '/' && path.dirname(packageFolder) !== '/') { + packageFolder = path.dirname(packageFolder); + const packageJsonPath = path.join(packageFolder, 'package.json'); + + if (await fs.pathExists(packageJsonPath)) { + break; + } + } + + return packageFolder; +} + module.exports = bundle; diff --git a/packages/cli/src/commands/check.js b/packages/cli/src/commands/check.js new file mode 100644 index 000000000000..8eb4d65bb27a --- /dev/null +++ b/packages/cli/src/commands/check.js @@ -0,0 +1,71 @@ +/** + * Copyright IBM Corp. 2019, 2019 + * + * This source code is licensed under the Apache-2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + +'use strict'; + +const glob = require('fast-glob'); +const path = require('path'); +const { createLogger } = require('../logger'); +const compile = require('../compile'); + +const logger = createLogger('check'); + +async function check({ glob: pattern, ignore = [], list = false }) { + const cwd = process.cwd(); + + logger.start('check'); + logger.info(`Running in: ${cwd}`); + logger.info(`Checking pattern: '${pattern}', ignoring: '${ignore}'`); + + const files = await glob(pattern, { + cwd, + ignore, + }); + + logger.info(`Compiling ${files.length} files...`); + + try { + compile(files.map((file) => path.join(cwd, file))); + + if (list) { + logger.info('Compiled the following files:'); + console.log(files); + } + + logger.info(`Successfully compiled ${files.length} files! 🎉`); + } catch (error) { + console.log(error); + process.exit(1); + } finally { + logger.stop(); + } +} + +module.exports = { + command: 'check ', + desc: 'check that each file can be compiled', + builder(yargs) { + yargs.positional('glob', { + type: 'string', + describe: 'glob pattern for files to check', + }); + + yargs.options({ + i: { + alias: 'ignore', + describe: 'provide a glob pattern of files to ignore', + type: 'string', + }, + l: { + alias: 'list', + describe: 'list all the files that were compiled', + type: 'boolean', + }, + }); + }, + handler: check, +}; diff --git a/packages/cli/src/commands/ci-check.js b/packages/cli/src/commands/ci-check.js index f4ebdb4fe899..b97b125346d0 100644 --- a/packages/cli/src/commands/ci-check.js +++ b/packages/cli/src/commands/ci-check.js @@ -21,7 +21,7 @@ async function check(args, env) { stdio: 'inherit', }; const tasks = [ - `yarn bundler check --ignore '**/@(node_modules|examples|components|react|fixtures)/**' 'packages/**/*.scss'`, + `yarn carbon-cli check --ignore '**/@(node_modules|examples|components|react|fixtures)/**' 'packages/**/*.scss'`, `cross-env BABEL_ENV=test yarn test --ci --maxWorkers 2 --reporters=default --reporters=jest-junit`, `cross-env BABEL_ENV=test yarn test:e2e --ci --maxWorkers 2 --reporters=default --reporters=jest-junit`, ]; diff --git a/packages/bundler/src/commands/inline.js b/packages/cli/src/commands/inline.js similarity index 80% rename from packages/bundler/src/commands/inline.js rename to packages/cli/src/commands/inline.js index fdc3d4368d1f..785d532af3fe 100644 --- a/packages/bundler/src/commands/inline.js +++ b/packages/cli/src/commands/inline.js @@ -1,5 +1,5 @@ /** - * Copyright IBM Corp. 2018, 2018 + * Copyright IBM Corp. 2019, 2019 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. @@ -11,29 +11,34 @@ const fs = require('fs-extra'); const klaw = require('klaw-sync'); const os = require('os'); const path = require('path'); -const isWin = process.platform === 'win32'; const replace = require('replace-in-file'); -const { reporter } = require('@carbon/cli-reporter'); +const { createLogger } = require('../logger'); +const logger = createLogger('inline'); +const isWin = process.platform === 'win32'; const tmpDir = os.tmpdir(); -async function inline(options, info) { - const { cwd } = info; +async function inline({ output }) { + logger.start('inline'); + + const cwd = process.cwd(); const packageJsonPath = path.join(cwd, 'package.json'); - const sourceFolder = path.join(cwd, options.output); - const inlineFolder = path.join(cwd, options.output, '_inlined'); - const vendorFolder = path.join(cwd, options.output, 'vendor'); + const sourceFolder = path.join(cwd, output); + const inlineFolder = path.join(cwd, output, '_inlined'); + const vendorFolder = path.join(cwd, output, 'vendor'); await Promise.all([fs.remove(inlineFolder), fs.remove(vendorFolder)]); - reporter.info('Inlining sass dependencies'); + logger.info('Inlining sass dependencies'); + await inlineSassDependencies( packageJsonPath, sourceFolder, vendorFolder, cwd ); - reporter.success('Done'); + + logger.stop(); } async function inlineSassDependencies( @@ -55,7 +60,7 @@ async function inlineSassDependencies( const inlinedDependencies = ( await Promise.all( allPossibleDependencies.map(async (dependency) => { - const modules = await findSassModule(dependency, cwd); + const modules = findSassModule(dependency, cwd); if (modules) { const [scssFolder] = modules; const dependencyOutputFolder = path.join(vendorFolder, dependency); @@ -144,4 +149,18 @@ function findSassModule(packageName, cwd) { return false; } -module.exports = inline; +module.exports = { + command: 'inline', + desc: 'inline sass dependencies from package.json in a target folder', + builder(yargs) { + yargs.options({ + o: { + alias: 'output', + describe: 'the directory to output inlined sass dependencies', + type: 'string', + default: 'scss', + }, + }); + }, + handler: inline, +}; diff --git a/packages/cli/src/commands/sassdoc.js b/packages/cli/src/commands/sassdoc.js new file mode 100644 index 000000000000..aff1baddf8da --- /dev/null +++ b/packages/cli/src/commands/sassdoc.js @@ -0,0 +1,90 @@ +/** + * Copyright IBM Corp. 2019, 2019 + * + * This source code is licensed under the Apache-2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + +'use strict'; + +const glob = require('fast-glob'); +const fs = require('fs-extra'); +const path = require('path'); +const { createLogger } = require('../logger'); +const { createJson, createMarkdown } = require('./sassdoc/tools'); + +const logger = createLogger('sassdoc'); + +async function sassdoc({ + glob: pattern, + ignore = [], + json = false, + output = 'docs', +} = {}) { + logger.start('sassdoc'); + + const cwd = process.cwd(); + const DOCS_DIR = path.resolve(cwd, output); + const JSON_FILE = path.resolve(DOCS_DIR, 'sass.json'); + const MARKDOWN_FILE = path.resolve(DOCS_DIR, 'sass.md'); + const files = await glob(pattern, { + cwd, + ignore, + }); + + logger.info( + `Creating sassdoc for pattern: '${pattern}', ignoring: '${ignore}'` + ); + + if (json) { + try { + const jsonFile = await createJson(files); + await fs.ensureDir(DOCS_DIR); + await fs.writeFile(JSON_FILE, JSON.stringify(jsonFile, null, 2)); + } catch (error) { + logger.info(`Sassdoc error: ${error}`); + process.exit(1); + } + } else { + try { + const markdownFile = await createMarkdown(files); + await fs.ensureDir(DOCS_DIR); + await fs.writeFile(MARKDOWN_FILE, markdownFile); + } catch (error) { + logger.info(`Sassdoc error: ${error}`); + process.exit(1); + } + } + + logger.stop(); +} + +module.exports = { + command: 'sassdoc ', + desc: 'generate sassdoc as markdown', + builder(yargs) { + yargs.positional('glob', { + type: 'string', + describe: 'glob pattern for files to check', + }); + + yargs.options({ + i: { + alias: 'ignore', + describe: 'provide a glob pattern of files to ignore', + type: 'string', + }, + j: { + alias: 'json', + describe: 'output as json file', + type: 'boolean', + }, + o: { + alias: 'output', + describe: 'specify the directory in which the files are output', + type: 'string', + }, + }); + }, + handler: sassdoc, +}; diff --git a/packages/bundler/src/tools/sassdoc.js b/packages/cli/src/commands/sassdoc/tools.js similarity index 97% rename from packages/bundler/src/tools/sassdoc.js rename to packages/cli/src/commands/sassdoc/tools.js index a385cc336b61..227e3dfb3f74 100644 --- a/packages/bundler/src/tools/sassdoc.js +++ b/packages/cli/src/commands/sassdoc/tools.js @@ -1,13 +1,11 @@ --( - /** - * Copyright IBM Corp. 2018, 2018 - * - * This source code is licensed under the Apache-2.0 license found in the - * LICENSE file in the root directory of this source tree. - */ - - 'use strict' -); +/** + * Copyright IBM Corp. 2018, 2018 + * + * This source code is licensed under the Apache-2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + +'use strict'; const prettier = require('prettier'); const sassdoc = require('sassdoc'); diff --git a/packages/cli/src/compile.js b/packages/cli/src/compile.js new file mode 100644 index 000000000000..3be6008a9fcb --- /dev/null +++ b/packages/cli/src/compile.js @@ -0,0 +1,26 @@ +/** + * Copyright IBM Corp. 2018, 2018 + * + * This source code is licensed under the Apache-2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + +'use strict'; + +const sass = require('sass'); + +const defaultOptions = { + includePaths: ['node_modules', '../../node_modules'], +}; + +function compile(filepaths, options) { + return filepaths.map((file) => { + return sass.renderSync({ + file, + ...defaultOptions, + ...options, + }); + }); +} + +module.exports = compile; diff --git a/packages/colors/package.json b/packages/colors/package.json index ea1f11f1cd04..c9d113829edd 100644 --- a/packages/colors/package.json +++ b/packages/colors/package.json @@ -31,11 +31,11 @@ "access": "public" }, "scripts": { - "build": "yarn clean && bundler bundle src/index.js --name CarbonColors && node tasks/build.js && bundler check \"scss/*.scss\" && bundler sassdoc \"scss/*.scss\"", + "build": "yarn clean && carbon-cli bundle src/index.js --name CarbonColors && node tasks/build.js && carbon-cli check \"scss/*.scss\" && carbon-cli sassdoc \"scss/*.scss\"", "clean": "rimraf css es lib umd scss" }, "devDependencies": { - "@carbon/bundler": "^10.11.0", + "@carbon/cli": "^10.17.0", "@carbon/cli-reporter": "^10.4.0", "@carbon/scss-generator": "^10.11.0", "@carbon/test-utils": "^10.13.0", diff --git a/packages/components/docs/sass.md b/packages/components/docs/sass.md index 1cf5845dd448..36d1cde19de4 100644 --- a/packages/components/docs/sass.md +++ b/packages/components/docs/sass.md @@ -146,17 +146,30 @@ - [✅exports [mixin]](#exports-mixin) - [@carbon/layout](#carbonlayout) - [✅carbon--grid-gutter [variable]](#carbon--grid-gutter-variable) + - [✅grid-gutter [variable]](#grid-gutter-variable) - [✅carbon--grid-gutter--condensed [variable]](#carbon--grid-gutter--condensed-variable) + - [✅grid-gutter--condensed [variable]](#grid-gutter--condensed-variable) - [✅carbon--grid-breakpoints [variable]](#carbon--grid-breakpoints-variable) + - [✅grid-breakpoints [variable]](#grid-breakpoints-variable) - [✅carbon--breakpoint-next [function]](#carbon--breakpoint-next-function) + - [✅breakpoint-next [function]](#breakpoint-next-function) - [✅carbon--breakpoint-prev [function]](#carbon--breakpoint-prev-function) + - [✅breakpoint-prev [function]](#breakpoint-prev-function) - [✅carbon--is-smallest-breakpoint [function]](#carbon--is-smallest-breakpoint-function) + - [✅is-smallest-breakpoint [function]](#is-smallest-breakpoint-function) - [✅carbon--largest-breakpoint-name [function]](#carbon--largest-breakpoint-name-function) + - [✅largest-breakpoint-name [function]](#largest-breakpoint-name-function) + - [✅breakpoint-infix [function]](#breakpoint-infix-function) - [✅carbon--breakpoint-infix [function]](#carbon--breakpoint-infix-function) + - [✅breakpoint-up [mixin]](#breakpoint-up-mixin) - [✅carbon--breakpoint-up [mixin]](#carbon--breakpoint-up-mixin) + - [✅breakpoint-down [mixin]](#breakpoint-down-mixin) - [✅carbon--breakpoint-down [mixin]](#carbon--breakpoint-down-mixin) + - [✅breakpoint-between [mixin]](#breakpoint-between-mixin) - [✅carbon--breakpoint-between [mixin]](#carbon--breakpoint-between-mixin) + - [✅largest-breakpoint [mixin]](#largest-breakpoint-mixin) - [✅carbon--largest-breakpoint [mixin]](#carbon--largest-breakpoint-mixin) + - [✅breakpoint [mixin]](#breakpoint-mixin) - [✅carbon--breakpoint [mixin]](#carbon--breakpoint-mixin) - [✅carbon--container-01 [variable]](#carbon--container-01-variable) - [✅carbon--container-02 [variable]](#carbon--container-02-variable) @@ -170,13 +183,21 @@ - [✅container-04 [variable]](#container-04-variable) - [✅container-05 [variable]](#container-05-variable) - [✅carbon--base-font-size [variable]](#carbon--base-font-size-variable) + - [✅base-font-size [variable]](#base-font-size-variable) - [✅carbon--rem [function]](#carbon--rem-function) + - [✅rem [function]](#rem-function) - [✅carbon--em [function]](#carbon--em-function) + - [✅em [function]](#em-function) - [✅carbon--fluid-spacing-01 [variable]](#carbon--fluid-spacing-01-variable) + - [✅fluid-spacing-01 [variable]](#fluid-spacing-01-variable) - [✅carbon--fluid-spacing-02 [variable]](#carbon--fluid-spacing-02-variable) + - [✅fluid-spacing-02 [variable]](#fluid-spacing-02-variable) - [✅carbon--fluid-spacing-03 [variable]](#carbon--fluid-spacing-03-variable) + - [✅fluid-spacing-03 [variable]](#fluid-spacing-03-variable) - [✅carbon--fluid-spacing-04 [variable]](#carbon--fluid-spacing-04-variable) + - [✅fluid-spacing-04 [variable]](#fluid-spacing-04-variable) - [✅carbon--fluid-spacing [variable]](#carbon--fluid-spacing-variable) + - [✅fluid-spacing [variable]](#fluid-spacing-variable) - [✅fluid-spacing-01 [variable]](#fluid-spacing-01-variable) - [✅fluid-spacing-02 [variable]](#fluid-spacing-02-variable) - [✅fluid-spacing-03 [variable]](#fluid-spacing-03-variable) @@ -207,18 +228,31 @@ - [✅carbon--mini-unit-size [variable]](#carbon--mini-unit-size-variable) - [✅carbon--mini-units [function]](#carbon--mini-units-function) - [✅carbon--spacing-01 [variable]](#carbon--spacing-01-variable) + - [✅spacing-01 [variable]](#spacing-01-variable) - [✅carbon--spacing-02 [variable]](#carbon--spacing-02-variable) + - [✅spacing-02 [variable]](#spacing-02-variable) - [✅carbon--spacing-03 [variable]](#carbon--spacing-03-variable) + - [✅spacing-03 [variable]](#spacing-03-variable) - [✅carbon--spacing-04 [variable]](#carbon--spacing-04-variable) + - [✅spacing-04 [variable]](#spacing-04-variable) - [✅carbon--spacing-05 [variable]](#carbon--spacing-05-variable) + - [✅spacing-05 [variable]](#spacing-05-variable) - [✅carbon--spacing-06 [variable]](#carbon--spacing-06-variable) + - [✅spacing-06 [variable]](#spacing-06-variable) - [✅carbon--spacing-07 [variable]](#carbon--spacing-07-variable) + - [✅spacing-07 [variable]](#spacing-07-variable) - [✅carbon--spacing-08 [variable]](#carbon--spacing-08-variable) + - [✅spacing-08 [variable]](#spacing-08-variable) - [✅carbon--spacing-09 [variable]](#carbon--spacing-09-variable) + - [✅spacing-09 [variable]](#spacing-09-variable) - [✅carbon--spacing-10 [variable]](#carbon--spacing-10-variable) + - [✅spacing-10 [variable]](#spacing-10-variable) - [✅carbon--spacing-11 [variable]](#carbon--spacing-11-variable) + - [✅spacing-11 [variable]](#spacing-11-variable) - [✅carbon--spacing-12 [variable]](#carbon--spacing-12-variable) + - [✅spacing-12 [variable]](#spacing-12-variable) - [✅carbon--spacing [variable]](#carbon--spacing-variable) + - [✅spacing [variable]](#spacing-variable) - [✅spacing-01 [variable]](#spacing-01-variable) - [✅spacing-02 [variable]](#spacing-02-variable) - [✅spacing-03 [variable]](#spacing-03-variable) @@ -232,7 +266,10 @@ - [✅spacing-11 [variable]](#spacing-11-variable) - [✅spacing-12 [variable]](#spacing-12-variable) - [✅map-deep-get [function]](#map-deep-get-function) + - [✅map-deep-get [function]](#map-deep-get-function) - [✅carbon--key-by-index [function]](#carbon--key-by-index-function) + - [✅key-by-index [function]](#key-by-index-function) + - [✅last-map-item [function]](#last-map-item-function) - [✅last-map-item [function]](#last-map-item-function) - [@carbon/motion](#carbonmotion) - [✅carbon--easings [variable]](#carbon--easings-variable) @@ -4075,6 +4112,7 @@ Generate the CSS for a grid for the given breakpoints and gutters - [carbon--hang [mixin]](#carbon--hang-mixin) - [carbon--aspect-ratio [mixin]](#carbon--aspect-ratio-mixin) - [prefix [variable]](#prefix-variable) + - [grid-gutter [variable]](#grid-gutter-variable) ### ✅prefix [variable] @@ -4259,6 +4297,24 @@ $carbon--grid-gutter: carbon--rem(32px); - **Used by**: - [carbon--make-container [mixin]](#carbon--make-container-mixin) +### ✅grid-gutter [variable] + +Carbon gutter size in rem + +
+Source code + +```scss +$grid-gutter: convert.rem(32px); +``` + +
+ +- **Group**: [@carbon/layout](#carbonlayout) +- **Type**: `Number` +- **Used by**: + - [carbon--grid [mixin]](#carbon--grid-mixin) + ### ✅carbon--grid-gutter--condensed [variable] Carbon condensed gutter size in rem @@ -4275,6 +4331,22 @@ $carbon--grid-gutter--condensed: carbon--rem(1px); - **Group**: [@carbon/layout](#carbonlayout) - **Type**: `Number` +### ✅grid-gutter--condensed [variable] + +Carbon condensed gutter size in rem + +
+Source code + +```scss +$grid-gutter--condensed: convert.rem(1px); +``` + +
+ +- **Group**: [@carbon/layout](#carbonlayout) +- **Type**: `Number` + ### ✅carbon--grid-breakpoints [variable]
@@ -4315,6 +4387,46 @@ $carbon--grid-breakpoints: ( - **Group**: [@carbon/layout](#carbonlayout) - **Type**: `Map` +### ✅grid-breakpoints [variable] + +
+Source code + +```scss +$grid-breakpoints: ( + sm: ( + columns: 4, + margin: 0, + width: convert.rem(320px), + ), + md: ( + columns: 8, + margin: convert.rem(16px), + width: convert.rem(672px), + ), + lg: ( + columns: 16, + margin: convert.rem(16px), + width: convert.rem(1056px), + ), + xlg: ( + columns: 16, + margin: convert.rem(16px), + width: convert.rem(1312px), + ), + max: ( + columns: 16, + margin: convert.rem(24px), + width: convert.rem(1584px), + ), +); +``` + +
+ +- **Group**: [@carbon/layout](#carbonlayout) +- **Type**: `Map` + ### ✅carbon--breakpoint-next [function] Get the value of the next breakpoint, or null for the last breakpoint @@ -4351,6 +4463,40 @@ Get the value of the next breakpoint, or null for the last breakpoint - **Used by**: - [fluid-type-size [mixin]](#fluid-type-size-mixin) +### ✅breakpoint-next [function] + +Get the value of the next breakpoint, or null for the last breakpoint + +
+Source code + +```scss +@function breakpoint-next( + $name, + $breakpoints: $grid-breakpoints, + $breakpoint-names: map-keys($breakpoints) +) { + $n: list.index($breakpoint-names, $name); + @if $n != null and $n < list.length($breakpoint-names) { + @return list.nth($breakpoint-names, $n + 1); + } + @return null; +} +``` + +
+ +- **Parameters**: + +| Name | Description | Type | Default value | +| ------------------- | --------------------------------------------------------------------------------------------------------------- | -------- | ------------------------ | +| `$name` | The name of the brekapoint | `String` | — | +| `$breakpoints` | A map of breakpoints where the key is the name of the breakpoint and the value is the values for the breakpoint | `Map` | `$grid-breakpoints` | +| `$breakpoint-names` | A list of names from the `$breakpoints` map | `List` | `map-keys($breakpoints)` | + +- **Group**: [@carbon/layout](#carbonlayout) +- **Returns**: `String` + ### ✅carbon--breakpoint-prev [function] Get the value of the previous breakpoint, or null for the first breakpoint @@ -4387,6 +4533,40 @@ Get the value of the previous breakpoint, or null for the first breakpoint - **Used by**: - [carbon--make-container [mixin]](#carbon--make-container-mixin) +### ✅breakpoint-prev [function] + +Get the value of the previous breakpoint, or null for the first breakpoint + +
+Source code + +```scss +@function breakpoint-prev( + $name, + $breakpoints: $grid-breakpoints, + $breakpoint-names: map-keys($breakpoints) +) { + $n: list.index($breakpoint-names, $name); + @if $n != null and $n > 1 { + @return list.nth($breakpoint-names, $n - 1); + } + @return null; +} +``` + +
+ +- **Parameters**: + +| Name | Description | Type | Default value | +| ------------------- | --------------------------------------------------------------------------------------------------------------- | -------- | ------------------------ | +| `$name` | The name of the brekapoint | `String` | — | +| `$breakpoints` | A map of breakpoints where the key is the name of the breakpoint and the value is the values for the breakpoint | `Map` | `$grid-breakpoints` | +| `$breakpoint-names` | A list of names from the `$breakpoints` map | `List` | `map-keys($breakpoints)` | + +- **Group**: [@carbon/layout](#carbonlayout) +- **Returns**: `String` + ### ✅carbon--is-smallest-breakpoint [function] Check to see if the given breakpoint name @@ -4417,6 +4597,33 @@ Check to see if the given breakpoint name - **Used by**: - [carbon--breakpoint-up [mixin]](#carbon--breakpoint-up-mixin) +### ✅is-smallest-breakpoint [function] + +Check to see if the given breakpoint name + +
+Source code + +```scss +@function is-smallest-breakpoint($name, $breakpoints: $grid-breakpoints) { + @return list.index(map.keys($breakpoints), $name) == 1; +} +``` + +
+ +- **Parameters**: + +| Name | Description | Type | Default value | +| -------------- | --------------------------------------------------------------------------------------------------------------- | -------- | ------------------- | +| `$name` | The name of the brekapoint | `String` | — | +| `$breakpoints` | A map of breakpoints where the key is the name of the breakpoint and the value is the values for the breakpoint | `Map` | `$grid-breakpoints` | + +- **Group**: [@carbon/layout](#carbonlayout) +- **Returns**: `Bool` +- **Used by**: + - [breakpoint-up [mixin]](#breakpoint-up-mixin) + ### ✅carbon--largest-breakpoint-name [function] Returns the largest breakpoint name @@ -4448,6 +4655,60 @@ Returns the largest breakpoint name - **Used by**: - [carbon--largest-breakpoint [mixin]](#carbon--largest-breakpoint-mixin) +### ✅largest-breakpoint-name [function] + +Returns the largest breakpoint name + +
+Source code + +```scss +@function largest-breakpoint-name($breakpoints: $grid-breakpoints) { + $total-breakpoints: list.length($breakpoints); + @return key-by-index($breakpoints, $total-breakpoints); +} +``` + +
+ +- **Parameters**: + +| Name | Description | Type | Default value | +| -------------- | ---------------------------------------------- | ----- | ------------------- | +| `$breakpoints` | A map of breakpoints where the key is the name | `Map` | `$grid-breakpoints` | + +- **Group**: [@carbon/layout](#carbonlayout) +- **Returns**: `String` +- **Requires**: + - [key-by-index [function]](#key-by-index-function) +- **Used by**: + - [largest-breakpoint [mixin]](#largest-breakpoint-mixin) + +### ✅breakpoint-infix [function] + +Get the infix for a given breakpoint in a list of breakpoints. Usesful for +generate the size part in a selector, for example: `.prefix--col-sm-2`. + +
+Source code + +```scss +@function breakpoint-infix($name) { + @return '-#{$name}'; +} +``` + +
+ +- **Parameters**: + +| Name | Description | Type | Default value | +| ------- | -------------------------- | -------- | ------------- | +| `$name` | The name of the breakpoint | `String` | — | + +- **Group**: [@carbon/layout](#carbonlayout) +- **Returns**: `String` + ### ✅carbon--breakpoint-infix [function] Get the infix for a given breakpoint in a list of breakpoints. Usesful for @@ -4475,6 +4736,51 @@ generate the size part in a selector, for example: `.prefix--col-sm-2`. - **Used by**: - [carbon--make-grid-columns [mixin]](#carbon--make-grid-columns-mixin) +### ✅breakpoint-up [mixin] + +Generate a media query from the width of the given breakpoint to infinity + +
+Source code + +```scss +@mixin breakpoint-up($name, $breakpoints: $grid-breakpoints) { + @if meta.type-of($name) == 'number' { + @media (min-width: $name) { + @content; + } + } @else if map.has-key($breakpoints, $name) { + $breakpoint: map.get($breakpoints, $name); + $width: map.get($breakpoint, width); + @if is-smallest-breakpoint($name, $breakpoints) { + @content; + } @else { + @media (min-width: $width) { + @content; + } + } + } @else { + @error 'Unable to find a breakpoint with name `#{$name}`. Expected one of: (#{map.keys($breakpoints)})'; + } +} +``` + +
+ +- **Parameters**: + +| Name | Description | Type | Default value | +| -------------- | ---------------------------------------------- | ------------------ | ------------------- | +| `$name` | — | `String \| Number` | — | +| `$breakpoints` | A map of breakpoints where the key is the name | `Map` | `$grid-breakpoints` | + +- **Group**: [@carbon/layout](#carbonlayout) +- **Requires**: + - [is-smallest-breakpoint [function]](#is-smallest-breakpoint-function) +- **Used by**: + - [breakpoint-between [mixin]](#breakpoint-between-mixin) + - [breakpoint [mixin]](#breakpoint-mixin) + ### ✅carbon--breakpoint-up [mixin] Generate a media query from the width of the given breakpoint to infinity @@ -4521,6 +4827,49 @@ Generate a media query from the width of the given breakpoint to infinity - [carbon--breakpoint [mixin]](#carbon--breakpoint-mixin) - [accordion [mixin]](#accordion-mixin) +### ✅breakpoint-down [mixin] + +Generate a media query for the maximum width of the given styles + +
+Source code + +```scss +@mixin breakpoint-down($name, $breakpoints: $grid-breakpoints) { + @if meta.type-of($name) == 'number' { + @media (max-width: $name) { + @content; + } + } @else if map.has-key($breakpoints, $name) { + // We borrow this logic from bootstrap for specifying the value of the + // max-width. The maximum width is calculated by finding the breakpoint and + // subtracting .02 from its value. This value is used instead of .01 to + // avoid rounding issues in Safari + // https://github.com/twbs/bootstrap/blob/c5b1919deaf5393fcca9e9b9d7ce9c338160d99d/scss/mixins/_breakpoints.scss#L34-L46 + $breakpoint: map.get($breakpoints, $name); + $width: map.get($breakpoint, width) - 0.02; + @media (max-width: $width) { + @content; + } + } @else { + @error 'Unable to find a breakpoint with name `#{$name}`. Expected one of: (#{map.keys($breakpoints)})'; + } +} +``` + +
+ +- **Parameters**: + +| Name | Description | Type | Default value | +| -------------- | ---------------------------------------------- | ------------------ | ------------------- | +| `$name` | — | `String \| Number` | — | +| `$breakpoints` | A map of breakpoints where the key is the name | `Map` | `$grid-breakpoints` | + +- **Group**: [@carbon/layout](#carbonlayout) +- **Used by**: + - [breakpoint-between [mixin]](#breakpoint-between-mixin) + ### ✅carbon--breakpoint-down [mixin] Generate a media query for the maximum width of the given styles @@ -4566,7 +4915,7 @@ Generate a media query for the maximum width of the given styles - [pagination [mixin]](#pagination-mixin) - [carbon-side-nav [mixin]](#carbon-side-nav-mixin) -### ✅carbon--breakpoint-between [mixin] +### ✅breakpoint-between [mixin] Generate a media query for the range between the lower and upper breakpoints @@ -4574,14 +4923,63 @@ Generate a media query for the range between the lower and upper breakpoints Source code ```scss -@mixin carbon--breakpoint-between( - $lower, - $upper, - $breakpoints: $carbon--grid-breakpoints -) { - $is-number-lower: type-of($lower) == 'number'; - $is-number-upper: type-of($upper) == 'number'; - $min: if($is-number-lower, $lower, map-get($breakpoints, $lower)); +@mixin breakpoint-between($lower, $upper, $breakpoints: $grid-breakpoints) { + $is-number-lower: meta.type-of($lower) == 'number'; + $is-number-upper: meta.type-of($upper) == 'number'; + $min: if($is-number-lower, $lower, map.get($breakpoints, $lower)); + $max: if($is-number-upper, $upper, map.get($breakpoints, $upper)); + + @if $min and $max { + $min-width: if(not $is-number-lower and $min, map.get($min, width), $min); + $max-width: if(not $is-number-upper and $max, map.get($max, width), $max); + @media (min-width: $min-width) and (max-width: $max-width) { + @content; + } + } @else if $min != null and $max == null { + @include breakpoint-up($lower) { + @content; + } + } @else if $min == null and $max != null { + @include breakpoint-down($upper) { + @content; + } + } @else { + @error 'Unable to find a breakpoint to satisfy: (#{$lower},#{$upper}). Expected both to be one of (#{map.keys($breakpoints)}).'; + } +} +``` + +
+ +- **Parameters**: + +| Name | Description | Type | Default value | +| -------------- | ---------------------------------------------- | ------------------ | ------------------- | +| `$lower` | — | `String \| Number` | — | +| `$upper` | — | `String \| Number` | — | +| `$breakpoints` | A map of breakpoints where the key is the name | `Map` | `$grid-breakpoints` | + +- **Group**: [@carbon/layout](#carbonlayout) +- **Requires**: + - [breakpoint-up [mixin]](#breakpoint-up-mixin) + - [breakpoint-down [mixin]](#breakpoint-down-mixin) + +### ✅carbon--breakpoint-between [mixin] + +Generate a media query for the range between the lower and upper breakpoints + +
+Source code + +```scss +@mixin carbon--breakpoint-between( + $lower, + $upper, + $breakpoints: $carbon--grid-breakpoints +) { + $is-number-lower: type-of($lower) == 'number'; + $is-number-upper: type-of($upper) == 'number'; + $min: if($is-number-lower, $lower, map-get($breakpoints, $lower)); $max: if($is-number-upper, $upper, map-get($breakpoints, $upper)); @if $min and $max { @@ -4619,6 +5017,34 @@ Generate a media query for the range between the lower and upper breakpoints - [carbon--breakpoint-up [mixin]](#carbon--breakpoint-up-mixin) - [carbon--breakpoint-down [mixin]](#carbon--breakpoint-down-mixin) +### ✅largest-breakpoint [mixin] + +Generate media query for the largest breakpoint + +
+Source code + +```scss +@mixin largest-breakpoint($breakpoints: $grid-breakpoints) { + @include breakpoint(largest-breakpoint-name()) { + @content; + } +} +``` + +
+ +- **Parameters**: + +| Name | Description | Type | Default value | +| -------------- | ---------------------------------------------- | ----- | ------------------- | +| `$breakpoints` | A map of breakpoints where the key is the name | `Map` | `$grid-breakpoints` | + +- **Group**: [@carbon/layout](#carbonlayout) +- **Requires**: + - [breakpoint [mixin]](#breakpoint-mixin) + - [largest-breakpoint-name [function]](#largest-breakpoint-name-function) + ### ✅carbon--largest-breakpoint [mixin] Generate media query for the largest breakpoint @@ -4649,6 +5075,36 @@ Generate media query for the largest breakpoint - **Used by**: - [carbon--grid [mixin]](#carbon--grid-mixin) +### ✅breakpoint [mixin] + +Generate a media query for a given breakpoint + +
+Source code + +```scss +@mixin breakpoint($name, $breakpoints: $grid-breakpoints) { + @include breakpoint-up($name, $breakpoints) { + @content; + } +} +``` + +
+ +- **Parameters**: + +| Name | Description | Type | Default value | +| -------------- | ---------------------------------------------- | ------------------ | ------------------- | +| `$name` | — | `String \| Number` | — | +| `$breakpoints` | A map of breakpoints where the key is the name | `Map` | `$grid-breakpoints` | + +- **Group**: [@carbon/layout](#carbonlayout) +- **Requires**: + - [breakpoint-up [mixin]](#breakpoint-up-mixin) +- **Used by**: + - [largest-breakpoint [mixin]](#largest-breakpoint-mixin) + ### ✅carbon--breakpoint [mixin] Generate a media query for a given breakpoint @@ -4895,6 +5351,25 @@ $carbon--base-font-size: 16px; - [carbon--rem [function]](#carbon--rem-function) - [carbon--em [function]](#carbon--em-function) +### ✅base-font-size [variable] + +Default font size + +
+Source code + +```scss +$base-font-size: 16px; +``` + +
+ +- **Group**: [@carbon/layout](#carbonlayout) +- **Type**: `Number` +- **Used by**: + - [rem [function]](#rem-function) + - [em [function]](#em-function) + ### ✅carbon--rem [function] Convert a given px unit to a rem unit @@ -4929,6 +5404,86 @@ Convert a given px unit to a rem unit - [carbon--mini-units [function]](#carbon--mini-units-function) - [toggle [mixin]](#toggle-mixin) +### ✅rem [function] + +Convert a given px unit to a rem unit + +
+Source code + +```scss +@function rem($px) { + @if unit($px) != 'px' { + // TODO: update to @error in v11 + @warn "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`"; + } + + @return ($px / $base-font-size) * 1rem; +} +``` + +
+ +- **Parameters**: + +| Name | Description | Type | Default value | +| ----- | ------------------- | -------- | ------------- | +| `$px` | Number with px unit | `Number` | — | + +- **Group**: [@carbon/layout](#carbonlayout) +- **Returns**: `Number` Number with rem unit +- **Requires**: + - [base-font-size [variable]](#base-font-size-variable) +- **Used by**: + - [accordion [mixin]](#accordion-mixin) + - [breadcrumb [mixin]](#breadcrumb-mixin) + - [button [mixin]](#button-mixin) + - [button-base [mixin]](#button-base-mixin) + - [checkbox [mixin]](#checkbox-mixin) + - [snippet [mixin]](#snippet-mixin) + - [bx--snippet [mixin]](#bx--snippet-mixin) + - [content-switcher [mixin]](#content-switcher-mixin) + - [data-table-v2-action [mixin]](#data-table-v2-action-mixin) + - [data-table-core [mixin]](#data-table-core-mixin) + - [data-table-expandable [mixin]](#data-table-expandable-mixin) + - [data-table-sort [mixin]](#data-table-sort-mixin) + - [date-picker [mixin]](#date-picker-mixin) + - [dropdown [mixin]](#dropdown-mixin) + - [file-uploader [mixin]](#file-uploader-mixin) + - [form [mixin]](#form-mixin) + - [inline-loading [mixin]](#inline-loading-mixin) + - [lists [mixin]](#lists-mixin) + - [listbox [mixin]](#listbox-mixin) + - [loading [mixin]](#loading-mixin) + - [modal [mixin]](#modal-mixin) + - [multiselect [mixin]](#multiselect-mixin) + - [inline-notifications [mixin]](#inline-notifications-mixin) + - [toast-notifications [mixin]](#toast-notifications-mixin) + - [number-input [mixin]](#number-input-mixin) + - [overflow-menu [mixin]](#overflow-menu-mixin) + - [pagination [mixin]](#pagination-mixin) + - [unstable_pagination [mixin]](#unstable_pagination-mixin) + - [progress-indicator [mixin]](#progress-indicator-mixin) + - [radio-button [mixin]](#radio-button-mixin) + - [search [mixin]](#search-mixin) + - [select [mixin]](#select-mixin) + - [slider [mixin]](#slider-mixin) + - [tabs [mixin]](#tabs-mixin) + - [tags [mixin]](#tags-mixin) + - [text-area [mixin]](#text-area-mixin) + - [text-input [mixin]](#text-input-mixin) + - [time-picker [mixin]](#time-picker-mixin) + - [toggle [mixin]](#toggle-mixin) + - [toolbar [mixin]](#toolbar-mixin) + - [tooltip--icon [mixin]](#tooltip--icon-mixin) + - [tooltip--definition--legacy [mixin]](#tooltip--definition--legacy-mixin) + - [tooltip [mixin]](#tooltip-mixin) + - [treeview [mixin]](#treeview-mixin) + - [carbon-header [mixin]](#carbon-header-mixin) + - [carbon-navigation [mixin]](#carbon-navigation-mixin) + - [carbon-side-nav [mixin]](#carbon-side-nav-mixin) + - [carbon-switcher [mixin]](#carbon-switcher-mixin) + ### ✅carbon--em [function] Convert a given px unit to a em unit @@ -4960,6 +5515,37 @@ Convert a given px unit to a em unit - **Requires**: - [carbon--base-font-size [variable]](#carbon--base-font-size-variable) +### ✅em [function] + +Convert a given px unit to a em unit + +
+Source code + +```scss +@function em($px) { + @if unit($px) != 'px' { + // TODO: update to @error in v11 + @warn "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`"; + } + + @return ($px / $base-font-size) * 1em; +} +``` + +
+ +- **Parameters**: + +| Name | Description | Type | Default value | +| ----- | ------------------- | -------- | ------------- | +| `$px` | Number with px unit | `Number` | — | + +- **Group**: [@carbon/layout](#carbonlayout) +- **Returns**: `Number` Number with em unit +- **Requires**: + - [base-font-size [variable]](#base-font-size-variable) + ### ✅carbon--fluid-spacing-01 [variable]
@@ -4976,6 +5562,22 @@ $carbon--fluid-spacing-01: 0; - **Aliased**: - `fluid-spacing-01` +### ✅fluid-spacing-01 [variable] + +
+Source code + +```scss +$fluid-spacing-01: 0; +``` + +
+ +- **Group**: [@carbon/layout](#carbonlayout) +- **Type**: `Number` +- **Used by**: + - [carbon--theme [mixin]](#carbon--theme-mixin) + ### ✅carbon--fluid-spacing-02 [variable]
@@ -4992,6 +5594,22 @@ $carbon--fluid-spacing-02: 2vw; - **Aliased**: - `fluid-spacing-02` +### ✅fluid-spacing-02 [variable] + +
+Source code + +```scss +$fluid-spacing-02: 2vw; +``` + +
+ +- **Group**: [@carbon/layout](#carbonlayout) +- **Type**: `Number` +- **Used by**: + - [carbon--theme [mixin]](#carbon--theme-mixin) + ### ✅carbon--fluid-spacing-03 [variable]
@@ -5008,6 +5626,22 @@ $carbon--fluid-spacing-03: 5vw; - **Aliased**: - `fluid-spacing-03` +### ✅fluid-spacing-03 [variable] + +
+Source code + +```scss +$fluid-spacing-03: 5vw; +``` + +
+ +- **Group**: [@carbon/layout](#carbonlayout) +- **Type**: `Number` +- **Used by**: + - [carbon--theme [mixin]](#carbon--theme-mixin) + ### ✅carbon--fluid-spacing-04 [variable]
@@ -5024,6 +5658,22 @@ $carbon--fluid-spacing-04: 10vw; - **Aliased**: - `fluid-spacing-04` +### ✅fluid-spacing-04 [variable] + +
+Source code + +```scss +$fluid-spacing-04: 10vw; +``` + +
+ +- **Group**: [@carbon/layout](#carbonlayout) +- **Type**: `Number` +- **Used by**: + - [carbon--theme [mixin]](#carbon--theme-mixin) + ### ✅carbon--fluid-spacing [variable]
@@ -5043,6 +5693,25 @@ $carbon--fluid-spacing: ( - **Group**: [@carbon/layout](#carbonlayout) - **Type**: `List` +### ✅fluid-spacing [variable] + +
+Source code + +```scss +$fluid-spacing: ( + $fluid-spacing-01, + $fluid-spacing-02, + $fluid-spacing-03, + $fluid-spacing-04 +); +``` + +
+ +- **Group**: [@carbon/layout](#carbonlayout) +- **Type**: `List` + ### ✅fluid-spacing-01 [variable]
@@ -5057,8 +5726,6 @@ $fluid-spacing-01: $carbon--fluid-spacing-01; - **Group**: [@carbon/layout](#carbonlayout) - **Type**: `Number` - **Alias**: `carbon--fluid-spacing-01` -- **Used by**: - - [carbon--theme [mixin]](#carbon--theme-mixin) ### ✅fluid-spacing-02 [variable] @@ -5074,8 +5741,6 @@ $fluid-spacing-02: $carbon--fluid-spacing-02; - **Group**: [@carbon/layout](#carbonlayout) - **Type**: `Number` - **Alias**: `carbon--fluid-spacing-02` -- **Used by**: - - [carbon--theme [mixin]](#carbon--theme-mixin) ### ✅fluid-spacing-03 [variable] @@ -5091,8 +5756,6 @@ $fluid-spacing-03: $carbon--fluid-spacing-03; - **Group**: [@carbon/layout](#carbonlayout) - **Type**: `Number` - **Alias**: `carbon--fluid-spacing-03` -- **Used by**: - - [carbon--theme [mixin]](#carbon--theme-mixin) ### ✅fluid-spacing-04 [variable] @@ -5108,8 +5771,6 @@ $fluid-spacing-04: $carbon--fluid-spacing-04; - **Group**: [@carbon/layout](#carbonlayout) - **Type**: `Number` - **Alias**: `carbon--fluid-spacing-04` -- **Used by**: - - [carbon--theme [mixin]](#carbon--theme-mixin) ### ✅carbon--icon-size-01 [variable] @@ -5651,6 +6312,23 @@ $carbon--spacing-01: 0.125rem; - [search [mixin]](#search-mixin) - [time-picker [mixin]](#time-picker-mixin) +### ✅spacing-01 [variable] + +
+Source code + +```scss +$spacing-01: 0.125rem; +``` + +
+ +- **Group**: [@carbon/layout](#carbonlayout) +- **Type**: `Number` +- **Used by**: + - [carbon--theme [mixin]](#carbon--theme-mixin) + - [data-table-core [mixin]](#data-table-core-mixin) + ### ✅carbon--spacing-02 [variable]
@@ -5676,6 +6354,23 @@ $carbon--spacing-02: 0.25rem; - [tags [mixin]](#tags-mixin) - [tooltip [mixin]](#tooltip-mixin) +### ✅spacing-02 [variable] + +
+Source code + +```scss +$spacing-02: 0.25rem; +``` + +
+ +- **Group**: [@carbon/layout](#carbonlayout) +- **Type**: `Number` +- **Used by**: + - [carbon--theme [mixin]](#carbon--theme-mixin) + - [modal [mixin]](#modal-mixin) + ### ✅carbon--spacing-03 [variable]
@@ -5712,6 +6407,34 @@ $carbon--spacing-03: 0.5rem; - [tooltip--definition--legacy [mixin]](#tooltip--definition--legacy-mixin) - [tooltip [mixin]](#tooltip-mixin) +### ✅spacing-03 [variable] + +
+Source code + +```scss +$spacing-03: 0.5rem; +``` + +
+ +- **Group**: [@carbon/layout](#carbonlayout) +- **Type**: `Number` +- **Used by**: + - [carbon--theme [mixin]](#carbon--theme-mixin) + - [accordion [mixin]](#accordion-mixin) + - [snippet [mixin]](#snippet-mixin) + - [data-table-v2-action [mixin]](#data-table-v2-action-mixin) + - [data-table-core [mixin]](#data-table-core-mixin) + - [data-table-sort [mixin]](#data-table-sort-mixin) + - [modal [mixin]](#modal-mixin) + - [multiselect [mixin]](#multiselect-mixin) + - [select [mixin]](#select-mixin) + - [tabs [mixin]](#tabs-mixin) + - [tooltip [mixin]](#tooltip-mixin) + - [treeview [mixin]](#treeview-mixin) + - [carbon-switcher [mixin]](#carbon-switcher-mixin) + ### ✅carbon--spacing-04 [variable]
@@ -5733,6 +6456,24 @@ $carbon--spacing-04: 0.75rem; - [text-area [mixin]](#text-area-mixin) - [tooltip--definition--legacy [mixin]](#tooltip--definition--legacy-mixin) +### ✅spacing-04 [variable] + +
+Source code + +```scss +$spacing-04: 0.75rem; +``` + +
+ +- **Group**: [@carbon/layout](#carbonlayout) +- **Type**: `Number` +- **Used by**: + - [carbon--theme [mixin]](#carbon--theme-mixin) + - [data-table-core [mixin]](#data-table-core-mixin) + - [tabs [mixin]](#tabs-mixin) + ### ✅carbon--spacing-05 [variable]
@@ -5778,6 +6519,36 @@ $carbon--spacing-05: 1rem; - [tooltip--definition--legacy [mixin]](#tooltip--definition--legacy-mixin) - [tooltip [mixin]](#tooltip-mixin) +### ✅spacing-05 [variable] + +
+Source code + +```scss +$spacing-05: 1rem; +``` + +
+ +- **Group**: [@carbon/layout](#carbonlayout) +- **Type**: `Number` +- **Used by**: + - [carbon--theme [mixin]](#carbon--theme-mixin) + - [accordion [mixin]](#accordion-mixin) + - [checkbox [mixin]](#checkbox-mixin) + - [snippet [mixin]](#snippet-mixin) + - [data-table-v2-action [mixin]](#data-table-v2-action-mixin) + - [data-table-core [mixin]](#data-table-core-mixin) + - [data-table-expandable [mixin]](#data-table-expandable-mixin) + - [modal [mixin]](#modal-mixin) + - [multiselect [mixin]](#multiselect-mixin) + - [pagination [mixin]](#pagination-mixin) + - [search [mixin]](#search-mixin) + - [select [mixin]](#select-mixin) + - [tabs [mixin]](#tabs-mixin) + - [treeview [mixin]](#treeview-mixin) + - [carbon-switcher [mixin]](#carbon-switcher-mixin) + ### ✅carbon--spacing-06 [variable]
@@ -5802,6 +6573,24 @@ $carbon--spacing-06: 1.5rem; - [progress-indicator [mixin]](#progress-indicator-mixin) - [padding-td [mixin]](#padding-td-mixin) +### ✅spacing-06 [variable] + +
+Source code + +```scss +$spacing-06: 1.5rem; +``` + +
+ +- **Group**: [@carbon/layout](#carbonlayout) +- **Type**: `Number` +- **Used by**: + - [carbon--theme [mixin]](#carbon--theme-mixin) + - [data-table-v2-action [mixin]](#data-table-v2-action-mixin) + - [data-table-core [mixin]](#data-table-core-mixin) + ### ✅carbon--spacing-07 [variable]
@@ -5826,6 +6615,27 @@ $carbon--spacing-07: 2rem; - [progress-indicator [mixin]](#progress-indicator-mixin) - [tooltip [mixin]](#tooltip-mixin) +### ✅spacing-07 [variable] + +
+Source code + +```scss +$spacing-07: 2rem; +``` + +
+ +- **Group**: [@carbon/layout](#carbonlayout) +- **Type**: `Number` +- **Used by**: + - [carbon--theme [mixin]](#carbon--theme-mixin) + - [modal [mixin]](#modal-mixin) + - [search [mixin]](#search-mixin) + - [select [mixin]](#select-mixin) + - [treeview [mixin]](#treeview-mixin) + - [carbon-switcher [mixin]](#carbon-switcher-mixin) + ### ✅carbon--spacing-08 [variable]
@@ -5851,6 +6661,25 @@ $carbon--spacing-08: 2.5rem; - [text-area [mixin]](#text-area-mixin) - [text-input [mixin]](#text-input-mixin) +### ✅spacing-08 [variable] + +
+Source code + +```scss +$spacing-08: 2.5rem; +``` + +
+ +- **Group**: [@carbon/layout](#carbonlayout) +- **Type**: `Number` +- **Used by**: + - [carbon--theme [mixin]](#carbon--theme-mixin) + - [dropdown [mixin]](#dropdown-mixin) + - [search [mixin]](#search-mixin) + - [treeview [mixin]](#treeview-mixin) + ### ✅carbon--spacing-09 [variable]
@@ -5878,6 +6707,28 @@ $carbon--spacing-09: 3rem; - [tabs [mixin]](#tabs-mixin) - [tile [mixin]](#tile-mixin) +### ✅spacing-09 [variable] + +
+Source code + +```scss +$spacing-09: 3rem; +``` + +
+ +- **Group**: [@carbon/layout](#carbonlayout) +- **Type**: `Number` +- **Used by**: + - [carbon--theme [mixin]](#carbon--theme-mixin) + - [data-table-v2-action [mixin]](#data-table-v2-action-mixin) + - [modal [mixin]](#modal-mixin) + - [search [mixin]](#search-mixin) + - [select [mixin]](#select-mixin) + - [tabs [mixin]](#tabs-mixin) + - [carbon-side-nav [mixin]](#carbon-side-nav-mixin) + ### ✅carbon--spacing-10 [variable]
@@ -5894,6 +6745,22 @@ $carbon--spacing-10: 4rem; - **Aliased**: - `spacing-10` +### ✅spacing-10 [variable] + +
+Source code + +```scss +$spacing-10: 4rem; +``` + +
+ +- **Group**: [@carbon/layout](#carbonlayout) +- **Type**: `Number` +- **Used by**: + - [carbon--theme [mixin]](#carbon--theme-mixin) + ### ✅carbon--spacing-11 [variable]
@@ -5910,6 +6777,22 @@ $carbon--spacing-11: 5rem; - **Aliased**: - `spacing-11` +### ✅spacing-11 [variable] + +
+Source code + +```scss +$spacing-11: 5rem; +``` + +
+ +- **Group**: [@carbon/layout](#carbonlayout) +- **Type**: `Number` +- **Used by**: + - [carbon--theme [mixin]](#carbon--theme-mixin) + ### ✅carbon--spacing-12 [variable]
@@ -5926,6 +6809,22 @@ $carbon--spacing-12: 6rem; - **Aliased**: - `spacing-12` +### ✅spacing-12 [variable] + +
+Source code + +```scss +$spacing-12: 6rem; +``` + +
+ +- **Group**: [@carbon/layout](#carbonlayout) +- **Type**: `Number` +- **Used by**: + - [carbon--theme [mixin]](#carbon--theme-mixin) + ### ✅carbon--spacing [variable]
@@ -5953,6 +6852,33 @@ $carbon--spacing: ( - **Group**: [@carbon/layout](#carbonlayout) - **Type**: `List` +### ✅spacing [variable] + +
+Source code + +```scss +$spacing: ( + $spacing-01, + $spacing-02, + $spacing-03, + $spacing-04, + $spacing-05, + $spacing-06, + $spacing-07, + $spacing-08, + $spacing-09, + $spacing-10, + $spacing-11, + $spacing-12 +); +``` + +
+ +- **Group**: [@carbon/layout](#carbonlayout) +- **Type**: `List` + ### ✅spacing-01 [variable]
@@ -5967,9 +6893,6 @@ $spacing-01: $carbon--spacing-01; - **Group**: [@carbon/layout](#carbonlayout) - **Type**: `Number` - **Alias**: `carbon--spacing-01` -- **Used by**: - - [carbon--theme [mixin]](#carbon--theme-mixin) - - [data-table-core [mixin]](#data-table-core-mixin) ### ✅spacing-02 [variable] @@ -5985,9 +6908,6 @@ $spacing-02: $carbon--spacing-02; - **Group**: [@carbon/layout](#carbonlayout) - **Type**: `Number` - **Alias**: `carbon--spacing-02` -- **Used by**: - - [carbon--theme [mixin]](#carbon--theme-mixin) - - [modal [mixin]](#modal-mixin) ### ✅spacing-03 [variable] @@ -6003,20 +6923,6 @@ $spacing-03: $carbon--spacing-03; - **Group**: [@carbon/layout](#carbonlayout) - **Type**: `Number` - **Alias**: `carbon--spacing-03` -- **Used by**: - - [carbon--theme [mixin]](#carbon--theme-mixin) - - [accordion [mixin]](#accordion-mixin) - - [snippet [mixin]](#snippet-mixin) - - [data-table-v2-action [mixin]](#data-table-v2-action-mixin) - - [data-table-core [mixin]](#data-table-core-mixin) - - [data-table-sort [mixin]](#data-table-sort-mixin) - - [modal [mixin]](#modal-mixin) - - [multiselect [mixin]](#multiselect-mixin) - - [select [mixin]](#select-mixin) - - [tabs [mixin]](#tabs-mixin) - - [tooltip [mixin]](#tooltip-mixin) - - [treeview [mixin]](#treeview-mixin) - - [carbon-switcher [mixin]](#carbon-switcher-mixin) ### ✅spacing-04 [variable] @@ -6032,10 +6938,6 @@ $spacing-04: $carbon--spacing-04; - **Group**: [@carbon/layout](#carbonlayout) - **Type**: `Number` - **Alias**: `carbon--spacing-04` -- **Used by**: - - [carbon--theme [mixin]](#carbon--theme-mixin) - - [data-table-core [mixin]](#data-table-core-mixin) - - [tabs [mixin]](#tabs-mixin) ### ✅spacing-05 [variable] @@ -6051,22 +6953,6 @@ $spacing-05: $carbon--spacing-05; - **Group**: [@carbon/layout](#carbonlayout) - **Type**: `Number` - **Alias**: `carbon--spacing-05` -- **Used by**: - - [carbon--theme [mixin]](#carbon--theme-mixin) - - [accordion [mixin]](#accordion-mixin) - - [checkbox [mixin]](#checkbox-mixin) - - [snippet [mixin]](#snippet-mixin) - - [data-table-v2-action [mixin]](#data-table-v2-action-mixin) - - [data-table-core [mixin]](#data-table-core-mixin) - - [data-table-expandable [mixin]](#data-table-expandable-mixin) - - [modal [mixin]](#modal-mixin) - - [multiselect [mixin]](#multiselect-mixin) - - [pagination [mixin]](#pagination-mixin) - - [search [mixin]](#search-mixin) - - [select [mixin]](#select-mixin) - - [tabs [mixin]](#tabs-mixin) - - [treeview [mixin]](#treeview-mixin) - - [carbon-switcher [mixin]](#carbon-switcher-mixin) ### ✅spacing-06 [variable] @@ -6082,10 +6968,6 @@ $spacing-06: $carbon--spacing-06; - **Group**: [@carbon/layout](#carbonlayout) - **Type**: `Number` - **Alias**: `carbon--spacing-06` -- **Used by**: - - [carbon--theme [mixin]](#carbon--theme-mixin) - - [data-table-v2-action [mixin]](#data-table-v2-action-mixin) - - [data-table-core [mixin]](#data-table-core-mixin) ### ✅spacing-07 [variable] @@ -6101,13 +6983,6 @@ $spacing-07: $carbon--spacing-07; - **Group**: [@carbon/layout](#carbonlayout) - **Type**: `Number` - **Alias**: `carbon--spacing-07` -- **Used by**: - - [carbon--theme [mixin]](#carbon--theme-mixin) - - [modal [mixin]](#modal-mixin) - - [search [mixin]](#search-mixin) - - [select [mixin]](#select-mixin) - - [treeview [mixin]](#treeview-mixin) - - [carbon-switcher [mixin]](#carbon-switcher-mixin) ### ✅spacing-08 [variable] @@ -6123,11 +6998,6 @@ $spacing-08: $carbon--spacing-08; - **Group**: [@carbon/layout](#carbonlayout) - **Type**: `Number` - **Alias**: `carbon--spacing-08` -- **Used by**: - - [carbon--theme [mixin]](#carbon--theme-mixin) - - [dropdown [mixin]](#dropdown-mixin) - - [search [mixin]](#search-mixin) - - [treeview [mixin]](#treeview-mixin) ### ✅spacing-09 [variable] @@ -6143,14 +7013,6 @@ $spacing-09: $carbon--spacing-09; - **Group**: [@carbon/layout](#carbonlayout) - **Type**: `Number` - **Alias**: `carbon--spacing-09` -- **Used by**: - - [carbon--theme [mixin]](#carbon--theme-mixin) - - [data-table-v2-action [mixin]](#data-table-v2-action-mixin) - - [modal [mixin]](#modal-mixin) - - [search [mixin]](#search-mixin) - - [select [mixin]](#select-mixin) - - [tabs [mixin]](#tabs-mixin) - - [carbon-side-nav [mixin]](#carbon-side-nav-mixin) ### ✅spacing-10 [variable] @@ -6166,8 +7028,6 @@ $spacing-10: $carbon--spacing-10; - **Group**: [@carbon/layout](#carbonlayout) - **Type**: `Number` - **Alias**: `carbon--spacing-10` -- **Used by**: - - [carbon--theme [mixin]](#carbon--theme-mixin) ### ✅spacing-11 [variable] @@ -6183,8 +7043,6 @@ $spacing-11: $carbon--spacing-11; - **Group**: [@carbon/layout](#carbonlayout) - **Type**: `Number` - **Alias**: `carbon--spacing-11` -- **Used by**: - - [carbon--theme [mixin]](#carbon--theme-mixin) ### ✅spacing-12 [variable] @@ -6200,8 +7058,34 @@ $spacing-12: $carbon--spacing-12; - **Group**: [@carbon/layout](#carbonlayout) - **Type**: `Number` - **Alias**: `carbon--spacing-12` -- **Used by**: - - [carbon--theme [mixin]](#carbon--theme-mixin) + +### ✅map-deep-get [function] + +Map deep get + +
+Source code + +```scss +@function map-deep-get($map, $keys) { + @each $key in $keys { + $map: map-get($map, $key); + } + @return $map; +} +``` + +
+ +- **Parameters**: + +| Name | Description | Type | Default value | +| ------- | ----------- | --------- | ------------- | +| `$map` | Map | `Map` | — | +| `$keys` | Key chain | `Arglist` | — | + +- **Group**: [@carbon/layout](#carbonlayout) +- **Returns**: `*` Desired value ### ✅map-deep-get [function] @@ -6260,6 +7144,34 @@ Provide a map and index, and get back the relevant key value - [carbon--largest-breakpoint-name [function]](#carbon--largest-breakpoint-name-function) - [last-map-item [function]](#last-map-item-function) +### ✅key-by-index [function] + +Provide a map and index, and get back the relevant key value + +
+Source code + +```scss +@function key-by-index($map, $index) { + $keys: map-keys($map); + @return nth($keys, $index); +} +``` + +
+ +- **Parameters**: + +| Name | Description | Type | Default value | +| -------- | ----------- | --------- | ------------- | +| `$map` | Map | `Map` | — | +| `$index` | Key chain | `Integer` | — | + +- **Group**: [@carbon/layout](#carbonlayout) +- **Returns**: `String` Desired value +- **Used by**: + - [largest-breakpoint-name [function]](#largest-breakpoint-name-function) + ### ✅last-map-item [function] Pass in a map, and get the last one in the list back @@ -6289,6 +7201,33 @@ Pass in a map, and get the last one in the list back - **Used by**: - [carbon--set-largest-breakpoint [mixin]](#carbon--set-largest-breakpoint-mixin) +### ✅last-map-item [function] + +Pass in a map, and get the last one in the list back + +
+Source code + +```scss +@function last-map-item($map) { + $total-length: length($map); + @return map-get($map, carbon--key-by-index($map, $total-length)); +} +``` + +
+ +- **Parameters**: + +| Name | Description | Type | Default value | +| ------ | ----------- | ----- | ------------- | +| `$map` | Map | `Map` | — | + +- **Group**: [@carbon/layout](#carbonlayout) +- **Returns**: `*` Desired value +- **Requires**: + - [carbon--key-by-index [function]](#carbon--key-by-index-function) + ## @carbon/motion ### ✅carbon--easings [variable] @@ -16246,6 +17185,7 @@ Accordion styles - **Group**: [accordion](#accordion) - **Requires**: - [carbon--breakpoint-up [mixin]](#carbon--breakpoint-up-mixin) + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [ui-03 [variable]](#ui-03-variable) - [text-01 [variable]](#text-01-variable) @@ -16340,6 +17280,7 @@ Breadcrumb styles - **Group**: [breadcrumb](#breadcrumb) - **Requires**: - [carbon--breakpoint [mixin]](#carbon--breakpoint-mixin) + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [carbon--spacing-03 [variable]](#carbon--spacing-03-variable) - [link-01 [variable]](#link-01-variable) @@ -16790,6 +17731,7 @@ Button styles - **Requires**: - [button-base [mixin]](#button-base-mixin) - [button-theme [mixin]](#button-theme-mixin) + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [interactive-01 [variable]](#interactive-01-variable) - [text-04 [variable]](#text-04-variable) @@ -16876,6 +17818,7 @@ Button base styles - **Group**: [button](#button) - **Requires**: + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [disabled-03 [variable]](#disabled-03-variable) - [disabled-02 [variable]](#disabled-02-variable) @@ -17138,6 +18081,7 @@ Checkbox styles - **Group**: [checkbox](#checkbox) - **Requires**: + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [carbon--spacing-02 [variable]](#carbon--spacing-02-variable) - [carbon--spacing-01 [variable]](#carbon--spacing-01-variable) @@ -17720,6 +18664,7 @@ Code snippet styles - **Requires**: - [bx--snippet [mixin]](#bx--snippet-mixin) - [carbon--font-family [mixin]](#carbon--font-family-mixin) + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [text-01 [variable]](#text-01-variable) - [field-01 [variable]](#field-01-variable) @@ -17759,6 +18704,8 @@ Code snippet base styles
- **Group**: [code-snippet](#code-snippet) +- **Requires**: + - [rem [function]](#rem-function) - **Used by**: - [snippet [mixin]](#snippet-mixin) @@ -17991,6 +18938,7 @@ Content switcher styles - **Group**: [content-switcher](#content-switcher) - **Requires**: + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [carbon--spacing-03 [variable]](#carbon--spacing-03-variable) - [carbon--spacing-05 [variable]](#carbon--spacing-05-variable) @@ -18625,6 +19573,7 @@ Data table action styles - **Group**: [data-table](#data-table) - **Requires**: + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [layout-04 [variable]](#layout-04-variable) - [ui-01 [variable]](#ui-01-variable) @@ -19386,6 +20335,7 @@ Data table core styles - **Group**: [data-table](#data-table) - **Requires**: - [text-overflow [mixin]](#text-overflow-mixin) + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [spacing-01 [variable]](#spacing-01-variable) - [spacing-05 [variable]](#spacing-05-variable) @@ -19800,6 +20750,7 @@ Data table expandable styles - **Group**: [data-table](#data-table) - **Requires**: + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [ui-03 [variable]](#ui-03-variable) - [spacing-05 [variable]](#spacing-05-variable) @@ -20030,6 +20981,7 @@ Data table sort styles - **Group**: [data-table](#data-table) - **Requires**: + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [layout-04 [variable]](#layout-04-variable) - [text-01 [variable]](#text-01-variable) @@ -20230,6 +21182,7 @@ Date picker styles - **Group**: [date-picker](#date-picker) - **Requires**: + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [field-02 [variable]](#field-02-variable) - [carbon--spacing-05 [variable]](#carbon--spacing-05-variable) @@ -20715,6 +21668,7 @@ Dropdown styles - **Group**: [dropdown](#dropdown) - **Requires**: + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [text-01 [variable]](#text-01-variable) - [field-01 [variable]](#field-01-variable) @@ -21070,6 +22024,7 @@ File uploader styles - **Group**: [file-uploader](#file-uploader) - **Requires**: + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [carbon--spacing-03 [variable]](#carbon--spacing-03-variable) - [support-01 [variable]](#support-01-variable) @@ -21260,6 +22215,7 @@ Form styles - **Group**: [form](#form) - **Requires**: + - [rem [function]](#rem-function) - [carbon--font-family [function]](#carbon--font-family-function) - [prefix [variable]](#prefix-variable) - [carbon--spacing-07 [variable]](#carbon--spacing-07-variable) @@ -21372,6 +22328,7 @@ Inline loading styles - **Group**: [inline-loading](#inline-loading) - **Requires**: + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [loading--small\_\_gap [variable]](#loading--small__gap-variable) - [text-02 [variable]](#text-02-variable) @@ -21558,6 +22515,7 @@ List styles - **Group**: [list](#list) - **Requires**: + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [text-01 [variable]](#text-01-variable) - [carbon--spacing-06 [variable]](#carbon--spacing-06-variable) @@ -22415,6 +23373,7 @@ List box styles - **Group**: [list-box](#list-box) - **Requires**: - [tag-theme [mixin]](#tag-theme-mixin) + - [rem [function]](#rem-function) - [carbon--mini-units [function]](#carbon--mini-units-function) - [prefix [variable]](#prefix-variable) - [list-box-width [variable]](#list-box-width-variable) @@ -22532,6 +23491,7 @@ Loading styles - **Requires**: - [animation\_\_loading--spin [mixin]](#animation__loading--spin-mixin) - [animation\_\_loading--stop [mixin]](#animation__loading--stop-mixin) + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [loading\_\_size [variable]](#loading__size-variable) - [interactive-04 [variable]](#interactive-04-variable) @@ -23021,6 +23981,7 @@ Modal styles - **Group**: [modal](#modal) - **Requires**: - [carbon--breakpoint [mixin]](#carbon--breakpoint-mixin) + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [overlay-01 [variable]](#overlay-01-variable) - [field-02 [variable]](#field-02-variable) @@ -23118,6 +24079,7 @@ Multi select styles - **Group**: [multi-select](#multi-select) - **Requires**: + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [text-01 [variable]](#text-01-variable) - [spacing-03 [variable]](#spacing-03-variable) @@ -23435,6 +24397,7 @@ Inline notification styles - **Requires**: - [carbon--breakpoint [mixin]](#carbon--breakpoint-mixin) - [notification--experimental [mixin]](#notification--experimental-mixin) + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [carbon--spacing-05 [variable]](#carbon--spacing-05-variable) - [inverse-01 [variable]](#inverse-01-variable) @@ -23732,6 +24695,7 @@ Toast notification styles - **Requires**: - [carbon--breakpoint [mixin]](#carbon--breakpoint-mixin) - [notification--experimental [mixin]](#notification--experimental-mixin) + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [carbon--spacing-03 [variable]](#carbon--spacing-03-variable) - [carbon--spacing-05 [variable]](#carbon--spacing-05-variable) @@ -24044,6 +25008,7 @@ Number input styles - **Group**: [number-input](#number-input) - **Requires**: + - [rem [function]](#rem-function) - [carbon--font-family [function]](#carbon--font-family-function) - [prefix [variable]](#prefix-variable) - [carbon--spacing-07 [variable]](#carbon--spacing-07-variable) @@ -24402,6 +25367,7 @@ Overflow menu styles - **Group**: [overflow-menu](#overflow-menu) - **Requires**: + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [hover-ui [variable]](#hover-ui-variable) - [field-01 [variable]](#field-01-variable) @@ -24626,6 +25592,7 @@ Pagination styles - **Requires**: - [carbon--breakpoint [mixin]](#carbon--breakpoint-mixin) - [carbon--breakpoint-down [mixin]](#carbon--breakpoint-down-mixin) + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [ui-01 [variable]](#ui-01-variable) - [ui-03 [variable]](#ui-03-variable) @@ -24811,6 +25778,7 @@ Unstable pagination styles - **Requires**: - [carbon--type-style [mixin]](#carbon--type-style-mixin) - [carbon--breakpoint [mixin]](#carbon--breakpoint-mixin) + - [rem [function]](#rem-function) - [carbon--mini-units [function]](#carbon--mini-units-function) - [prefix [variable]](#prefix-variable) - [ui-01 [variable]](#ui-01-variable) @@ -25351,6 +26319,7 @@ Progress indicator styles - **Group**: [progress-indicator](#progress-indicator) - **Requires**: + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [carbon--spacing-05 [variable]](#carbon--spacing-05-variable) - [carbon--spacing-03 [variable]](#carbon--spacing-03-variable) @@ -25549,6 +26518,7 @@ Radio button styles - **Group**: [radio-button](#radio-button) - **Requires**: + - [rem [function]](#rem-function) - [carbon--mini-units [function]](#carbon--mini-units-function) - [prefix [variable]](#prefix-variable) - [carbon--spacing-03 [variable]](#carbon--spacing-03-variable) @@ -25830,6 +26800,7 @@ Search styles - **Group**: [search](#search) - **Requires**: + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [carbon--spacing-08 [variable]](#carbon--spacing-08-variable) - [text-01 [variable]](#text-01-variable) @@ -26094,6 +27065,7 @@ Select styles - **Group**: [select](#select) - **Requires**: + - [rem [function]](#rem-function) - [carbon--mini-units [function]](#carbon--mini-units-function) - [prefix [variable]](#prefix-variable) - [spacing-09 [variable]](#spacing-09-variable) @@ -26344,6 +27316,7 @@ Slider styles - **Group**: [slider](#slider) - **Requires**: + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [carbon--spacing-05 [variable]](#carbon--spacing-05-variable) - [text-01 [variable]](#text-01-variable) @@ -27286,6 +28259,7 @@ Tabs styles - **Group**: [tabs](#tabs) - **Requires**: - [carbon--breakpoint [mixin]](#carbon--breakpoint-mixin) + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [text-01 [variable]](#text-01-variable) - [spacing-09 [variable]](#spacing-09-variable) @@ -27550,6 +28524,7 @@ Tag styles - **Group**: [tag](#tag) - **Requires**: - [tag-theme [mixin]](#tag-theme-mixin) + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [carbon--spacing-02 [variable]](#carbon--spacing-02-variable) - [carbon--spacing-03 [variable]](#carbon--spacing-03-variable) @@ -27660,6 +28635,7 @@ Text area styles - **Group**: [text-area](#text-area) - **Requires**: + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [carbon--spacing-05 [variable]](#carbon--spacing-05-variable) - [text-01 [variable]](#text-01-variable) @@ -27984,6 +28960,7 @@ Text input styles - **Group**: [text-input](#text-input) - **Requires**: + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [carbon--spacing-05 [variable]](#carbon--spacing-05-variable) - [text-01 [variable]](#text-01-variable) @@ -28299,6 +29276,7 @@ Time picker styles - **Group**: [time-picker](#time-picker) - **Requires**: + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [carbon--spacing-01 [variable]](#carbon--spacing-01-variable) - [field-02 [variable]](#field-02-variable) @@ -28781,6 +29759,7 @@ Toggle styles - **Group**: [toggle](#toggle) - **Requires**: - [carbon--rem [function]](#carbon--rem-function) + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [carbon--spacing-03 [variable]](#carbon--spacing-03-variable) - [ui-04 [variable]](#ui-04-variable) @@ -28925,6 +29904,7 @@ Toolbar styles - **Group**: [toolbar](#toolbar) - **Requires**: + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [text-02 [variable]](#text-02-variable) - [field-02 [variable]](#field-02-variable) @@ -29007,6 +29987,7 @@ Toolbar styles - **Group**: [tooltip](#tooltip) - **Requires**: + - [rem [function]](#rem-function) - [inverse-02 [variable]](#inverse-02-variable) - [inverse-01 [variable]](#inverse-01-variable) - **Used by**: @@ -29200,6 +30181,7 @@ Toolbar styles - **Group**: [tooltip](#tooltip) - **Requires**: + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [text-01 [variable]](#text-01-variable) - [interactive-01 [variable]](#interactive-01-variable) @@ -29696,6 +30678,7 @@ Tooltip styles - [carbon--type-style [mixin]](#carbon--type-style-mixin) - [tooltip--definition--legacy [mixin]](#tooltip--definition--legacy-mixin) - [tooltip--icon--legacy [mixin]](#tooltip--icon--legacy-mixin) + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [text-02 [variable]](#text-02-variable) - [icon-02 [variable]](#icon-02-variable) @@ -29852,6 +30835,7 @@ Treeview styles - **Group**: [treeview](#treeview) - **Requires**: + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [spacing-05 [variable]](#spacing-05-variable) - [text-02 [variable]](#text-02-variable) @@ -30353,6 +31337,7 @@ UI shell header - **Requires**: - [carbon--breakpoint [mixin]](#carbon--breakpoint-mixin) - [mini-units [function]](#mini-units-function) + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [shell-header-bg-01 [variable]](#shell-header-bg-01-variable) - [shell-header-border-01 [variable]](#shell-header-border-01-variable) @@ -30582,6 +31567,7 @@ UI shell navigation - **Group**: [ui-shell](#ui-shell) - **Requires**: - [mini-units [function]](#mini-units-function) + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) ### ❌product-switcher [mixin] @@ -31498,6 +32484,7 @@ UI shell side nav - [expanded [mixin]](#expanded-mixin) - [text-overflow [mixin]](#text-overflow-mixin) - [mini-units [function]](#mini-units-function) + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [shell-side-nav-text-01 [variable]](#shell-side-nav-text-01-variable) - [shell-side-nav-bg-01 [variable]](#shell-side-nav-bg-01-variable) @@ -31586,6 +32573,7 @@ UI shell side nav - **Group**: [ui-shell](#ui-shell) - **Requires**: - [carbon--type-style [mixin]](#carbon--type-style-mixin) + - [rem [function]](#rem-function) - [prefix [variable]](#prefix-variable) - [shell-panel-text-01 [variable]](#shell-panel-text-01-variable) - [spacing-07 [variable]](#spacing-07-variable) diff --git a/packages/components/package.json b/packages/components/package.json index 165aa541b826..71f048de099d 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -49,13 +49,13 @@ "access": "public" }, "scripts": { - "build": "./tools/copy-vendor-styles.sh && gulp build && bundler check \"scss/**/*.scss\" && yarn docs", + "build": "./tools/copy-vendor-styles.sh && gulp build && carbon-cli check \"scss/**/*.scss\" && yarn docs", "build-dev": "gulp build:dev", "build-dev-rollup": "gulp build:dev:deploy --rollup --use-custom-properties", "clean": "gulp clean", "ci-check": "sh ./tools/ci-check.sh", "dev": "gulp serve", - "docs": "bundler sassdoc \"scss{/components,/globals/grid,/globals/scss/vendor/@carbon/elements}/**/*.scss\" -i \"scss/globals/scss/vendor/@carbon/elements/**/{_inlined,vendor}/**\"", + "docs": "carbon-cli sassdoc \"scss{/components,/globals/grid,/globals/scss/vendor/@carbon/elements}/**/*.scss\" -i \"scss/globals/scss/vendor/@carbon/elements/**/{_inlined,vendor}/**\"", "format:check": "prettier --check \"**/*.{css,js,md,scss}\"", "prebuild": "gulp clean", "prepublishOnly": "yarn build", @@ -83,7 +83,7 @@ "@babel/preset-env": "^7.10.0", "@babel/preset-react": "^7.10.0", "@babel/runtime": "^7.10.0", - "@carbon/bundler": "^10.11.0", + "@carbon/cli": "^10.17.0", "@carbon/elements": "^10.25.0", "@carbon/icons-handlebars": "^10.23.0", "@carbon/icons-react": "^10.23.0", diff --git a/packages/elements/package.json b/packages/elements/package.json index 813ed580e268..f7d7a3a15b4e 100644 --- a/packages/elements/package.json +++ b/packages/elements/package.json @@ -31,7 +31,7 @@ "access": "public" }, "scripts": { - "build": "yarn clean && bundler bundle src/index.js --name CarbonElements && node tasks/build.js && bundler check \"scss/*.scss\" && bundler sassdoc \"scss/**/*.scss\" -i \"**/{_inlined,vendor}/**\"", + "build": "yarn clean && carbon-cli bundle src/index.js --name CarbonElements && node tasks/build.js && carbon-cli check \"scss/*.scss\" && carbon-cli sassdoc \"scss/**/*.scss\" -i \"**/{_inlined,vendor}/**\"", "clean": "rimraf es lib umd && node tasks/clean.js" }, "dependencies": { @@ -45,7 +45,7 @@ "@carbon/type": "^10.19.0" }, "devDependencies": { - "@carbon/bundler": "^10.11.0", + "@carbon/cli": "^10.17.0", "fs-extra": "^8.1.0", "klaw-sync": "^6.0.0", "replace-in-file": "^3.4.2", diff --git a/packages/grid/.gitignore b/packages/grid/.gitignore index d18a78e4e25f..3f2a95d4aed0 100644 --- a/packages/grid/.gitignore +++ b/packages/grid/.gitignore @@ -1,3 +1,3 @@ -# Used for bundler inline command +# Used for carbon-cli inline command scss/_inlined scss/vendor diff --git a/packages/grid/package.json b/packages/grid/package.json index 388a7f17a9a3..69d5b6d52edf 100644 --- a/packages/grid/package.json +++ b/packages/grid/package.json @@ -27,7 +27,7 @@ "access": "public" }, "scripts": { - "build": "yarn clean && bundler sassdoc \"scss/*.scss\" && bundler inline && bundler check \"scss/*.scss\"", + "build": "yarn clean && carbon-cli sassdoc \"scss/*.scss\" && carbon-cli inline && carbon-cli check \"scss/*.scss\"", "clean": "rimraf scss/_inlined scss/vendor" }, "dependencies": { @@ -35,7 +35,7 @@ "@carbon/layout": "^10.16.0" }, "devDependencies": { - "@carbon/bundler": "^10.11.0", + "@carbon/cli": "^10.17.0", "rimraf": "^3.0.0" }, "eyeglass": { diff --git a/packages/icon-helpers/package.json b/packages/icon-helpers/package.json index 50de734f64a3..5ff007edcbe1 100644 --- a/packages/icon-helpers/package.json +++ b/packages/icon-helpers/package.json @@ -29,11 +29,11 @@ "access": "public" }, "scripts": { - "build": "yarn clean && bundler bundle src/index.js --name CarbonIconHelpers", + "build": "yarn clean && carbon-cli bundle src/index.js --name CarbonIconHelpers", "clean": "rimraf es lib umd" }, "devDependencies": { - "@carbon/bundler": "^10.11.0", + "@carbon/cli": "^10.17.0", "rimraf": "^3.0.0" }, "sideEffects": false diff --git a/packages/icons/package.json b/packages/icons/package.json index 417bb3a7cdcb..51935f78c713 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -32,13 +32,13 @@ "access": "public" }, "scripts": { - "build": "yarn clean && node tasks/build.js && bundler sassdoc \"scss/*.scss\"", + "build": "yarn clean && node tasks/build.js && carbon-cli sassdoc \"scss/*.scss\"", "ci-check": "node tasks/ci-check.js", "clean": "rimraf es lib metadata.json svg", "prepublishOnly": "yarn build" }, "devDependencies": { + "@carbon/cli": "^10.17.0", "@carbon/icon-build-helpers": "^0.13.0" - }, - "gitHead": "bb04f2f061de0bda6e457a07a67cf624db375808" + } } diff --git a/packages/import-once/package.json b/packages/import-once/package.json index 0170bf081e83..e7b5c7876252 100644 --- a/packages/import-once/package.json +++ b/packages/import-once/package.json @@ -23,7 +23,7 @@ "access": "public" }, "scripts": { - "build": "bundler sassdoc \"scss/*.scss\"" + "build": "carbon-cli sassdoc \"scss/*.scss\"" }, "eyeglass": { "exports": false, diff --git a/packages/layout/package.json b/packages/layout/package.json index 865ef93669ef..27e4c9a236ca 100644 --- a/packages/layout/package.json +++ b/packages/layout/package.json @@ -25,11 +25,10 @@ "access": "public" }, "scripts": { - "build": "yarn clean && bundler bundle src/index.js --name CarbonLayout && node tasks/build.js && bundler sassdoc \"scss/**/*.scss\"", + "build": "yarn clean && carbon-cli bundle src/index.js --name CarbonLayout && node tasks/build.js && carbon-cli sassdoc \"scss/**/*.scss\"", "clean": "rimraf es lib umd scss/generated" }, "devDependencies": { - "@carbon/bundler": "^10.11.0", "@carbon/cli-reporter": "^10.4.0", "@carbon/scss-generator": "^10.11.0", "@carbon/test-utils": "^10.13.0", diff --git a/packages/motion/package.json b/packages/motion/package.json index 0e935aed994b..c9a66b6bbe08 100644 --- a/packages/motion/package.json +++ b/packages/motion/package.json @@ -25,11 +25,11 @@ "access": "public" }, "scripts": { - "build": "yarn clean && bundler bundle src/index.js --name CarbonMotion && bundler sassdoc \"scss/*.scss\"", + "build": "yarn clean && carbon-cli bundle src/index.js --name CarbonMotion && carbon-cli sassdoc \"scss/*.scss\"", "clean": "rimraf es lib umd" }, "devDependencies": { - "@carbon/bundler": "^10.11.0", + "@carbon/cli": "^10.17.0", "rimraf": "^3.0.0" }, "eyeglass": { diff --git a/packages/themes/package.json b/packages/themes/package.json index a7e3210ffa2e..a58963a2d1c6 100644 --- a/packages/themes/package.json +++ b/packages/themes/package.json @@ -25,7 +25,7 @@ }, "scripts": { "clean": "rimraf es lib umd scss/generated", - "build": "yarn clean && bundler bundle src/index.js --name CarbonThemes && node tasks/build.js && bundler check \"scss/*.scss\" && bundler sassdoc \"scss/**/*.scss\"" + "build": "yarn clean && carbon-cli bundle src/index.js --name CarbonThemes && node tasks/build.js && carbon-cli check \"scss/*.scss\" && carbon-cli sassdoc \"scss/**/*.scss\"" }, "dependencies": { "@carbon/colors": "^10.18.0", @@ -34,6 +34,7 @@ "color": "^3.1.2" }, "devDependencies": { + "@carbon/cli": "^10.17.0", "@carbon/cli-reporter": "^10.4.0", "@carbon/scss-generator": "^10.11.0", "@carbon/test-utils": "^10.13.0", diff --git a/packages/type/.gitignore b/packages/type/.gitignore index d18a78e4e25f..3f2a95d4aed0 100644 --- a/packages/type/.gitignore +++ b/packages/type/.gitignore @@ -1,3 +1,3 @@ -# Used for bundler inline command +# Used for carbon-cli inline command scss/_inlined scss/vendor diff --git a/packages/type/package.json b/packages/type/package.json index 11126cf5f36b..7c3a5ca26b6a 100644 --- a/packages/type/package.json +++ b/packages/type/package.json @@ -32,7 +32,7 @@ "access": "public" }, "scripts": { - "build": "yarn clean && bundler bundle src/index.js --name CarbonType && bundler sassdoc \"scss/**/*.scss\" -i \"**/{_inlined,vendor}**\" && bundler inline && bundler check \"scss/*.scss\"", + "build": "yarn clean && carbon-cli bundle src/index.js --name CarbonType && carbon-cli sassdoc \"scss/**/*.scss\" -i \"**/{_inlined,vendor}**\" && carbon-cli inline && carbon-cli check \"scss/*.scss\"", "clean": "rimraf css es lib umd scss/_inlined scss/vendor" }, "dependencies": { @@ -40,7 +40,7 @@ "@carbon/layout": "^10.16.0" }, "devDependencies": { - "@carbon/bundler": "^10.11.0", + "@carbon/cli": "^10.17.0", "@carbon/test-utils": "^10.13.0", "change-case": "^4.1.1", "rimraf": "^3.0.0" diff --git a/yarn.lock b/yarn.lock index eca1e643100e..898671f5a792 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1551,44 +1551,6 @@ __metadata: languageName: unknown linkType: soft -"@carbon/bundler@^10.11.0, @carbon/bundler@workspace:packages/bundler": - version: 0.0.0-use.local - resolution: "@carbon/bundler@workspace:packages/bundler" - dependencies: - "@babel/core": ^7.10.0 - "@babel/preset-env": ^7.10.0 - "@carbon/cli-reporter": ^10.4.0 - "@commitlint/parse": ^8.3.4 - autoprefixer: ^9.7.4 - babel-plugin-macros: ^2.4.2 - chalk: ^2.4.1 - change-case: ^4.1.1 - cli-table: ^0.3.1 - commander: ^2.19.0 - cssnano: ^4.1.7 - execa: ^2.0.3 - filesize: ^3.6.1 - fs-extra: ^8.1.0 - glob: ^7.1.3 - gzip-size: ^5.0.0 - inquirer: ^6.5.0 - klaw-sync: ^6.0.0 - markdown-toc: ^1.2.0 - node-sass: ^4.13.1 - postcss: ^7.0.26 - postcss-discard-comments: ^4.0.1 - replace-in-file: ^3.4.4 - rollup: ^0.67.1 - rollup-plugin-babel: ^4.4.0 - rollup-plugin-commonjs: ^9.2.0 - rollup-plugin-node-resolve: ^3.4.0 - sassdoc: ^2.5.1 - semver: ^6.3.0 - bin: - bundler: ./bin/bundler.js - languageName: unknown - linkType: soft - "@carbon/cli-reporter@^10.4.0, @carbon/cli-reporter@workspace:packages/cli-reporter": version: 0.0.0-use.local resolution: "@carbon/cli-reporter@workspace:packages/cli-reporter" @@ -1597,7 +1559,7 @@ __metadata: languageName: unknown linkType: soft -"@carbon/cli@workspace:packages/cli": +"@carbon/cli@^10.17.0, @carbon/cli@workspace:packages/cli": version: 0.0.0-use.local resolution: "@carbon/cli@workspace:packages/cli" dependencies: @@ -1605,18 +1567,28 @@ __metadata: "@octokit/plugin-retry": ^2.2.0 "@octokit/plugin-throttling": ^2.6.0 "@octokit/rest": ^16.28.1 + "@rollup/plugin-babel": ^5.2.2 + "@rollup/plugin-commonjs": ^17.0.0 + "@rollup/plugin-node-resolve": ^11.0.1 chalk: ^2.4.2 + change-case: ^4.1.2 child-process-promise: ^2.2.1 clipboardy: ^2.1.0 enquirer: ^2.3.6 fast-glob: ^3.2.2 fs-extra: ^8.0.1 inquirer: ^6.4.1 + klaw-sync: ^6.0.0 lodash.template: ^4.5.0 + markdown-toc: ^1.2.0 prettier: ^2.2.1 prettier-config-carbon: ^0.5.0 progress-estimator: ^0.2.2 remark: ^10.0.1 + replace-in-file: ^6.1.0 + rollup: ^2.36.1 + sass: ^1.32.4 + sassdoc: ^2.7.3 yargs: ^15.1.0 bin: carbon-cli: ./bin/carbon-cli.js @@ -1635,7 +1607,7 @@ __metadata: version: 0.0.0-use.local resolution: "@carbon/colors@workspace:packages/colors" dependencies: - "@carbon/bundler": ^10.11.0 + "@carbon/cli": ^10.17.0 "@carbon/cli-reporter": ^10.4.0 "@carbon/scss-generator": ^10.11.0 "@carbon/test-utils": ^10.13.0 @@ -1651,7 +1623,7 @@ __metadata: version: 0.0.0-use.local resolution: "@carbon/elements@workspace:packages/elements" dependencies: - "@carbon/bundler": ^10.11.0 + "@carbon/cli": ^10.17.0 "@carbon/colors": ^10.18.0 "@carbon/grid": ^10.18.0 "@carbon/icons": ^10.23.0 @@ -1686,7 +1658,7 @@ __metadata: version: 0.0.0-use.local resolution: "@carbon/grid@workspace:packages/grid" dependencies: - "@carbon/bundler": ^10.11.0 + "@carbon/cli": ^10.17.0 "@carbon/import-once": ^10.4.0 "@carbon/layout": ^10.16.0 rimraf: ^3.0.0 @@ -1726,7 +1698,7 @@ __metadata: version: 0.0.0-use.local resolution: "@carbon/icon-helpers@workspace:packages/icon-helpers" dependencies: - "@carbon/bundler": ^10.11.0 + "@carbon/cli": ^10.17.0 rimraf: ^3.0.0 languageName: unknown linkType: soft @@ -1792,6 +1764,7 @@ __metadata: version: 0.0.0-use.local resolution: "@carbon/icons@workspace:packages/icons" dependencies: + "@carbon/cli": ^10.17.0 "@carbon/icon-build-helpers": ^0.13.0 languageName: unknown linkType: soft @@ -1806,7 +1779,6 @@ __metadata: version: 0.0.0-use.local resolution: "@carbon/layout@workspace:packages/layout" dependencies: - "@carbon/bundler": ^10.11.0 "@carbon/cli-reporter": ^10.4.0 "@carbon/scss-generator": ^10.11.0 "@carbon/test-utils": ^10.13.0 @@ -1819,7 +1791,7 @@ __metadata: version: 0.0.0-use.local resolution: "@carbon/motion@workspace:packages/motion" dependencies: - "@carbon/bundler": ^10.11.0 + "@carbon/cli": ^10.17.0 rimraf: ^3.0.0 languageName: unknown linkType: soft @@ -1912,6 +1884,7 @@ __metadata: version: 0.0.0-use.local resolution: "@carbon/themes@workspace:packages/themes" dependencies: + "@carbon/cli": ^10.17.0 "@carbon/cli-reporter": ^10.4.0 "@carbon/colors": ^10.18.0 "@carbon/layout": ^10.16.0 @@ -1932,7 +1905,7 @@ __metadata: version: 0.0.0-use.local resolution: "@carbon/type@workspace:packages/type" dependencies: - "@carbon/bundler": ^10.11.0 + "@carbon/cli": ^10.17.0 "@carbon/import-once": ^10.4.0 "@carbon/layout": ^10.16.0 "@carbon/test-utils": ^10.13.0 @@ -3893,6 +3866,69 @@ __metadata: languageName: node linkType: hard +"@rollup/plugin-babel@npm:^5.2.2": + version: 5.2.2 + resolution: "@rollup/plugin-babel@npm:5.2.2" + dependencies: + "@babel/helper-module-imports": ^7.10.4 + "@rollup/pluginutils": ^3.1.0 + peerDependencies: + "@babel/core": ^7.0.0 + "@types/babel__core": ^7.1.9 + rollup: ^1.20.0||^2.0.0 + peerDependenciesMeta: + "@types/babel__core": + optional: true + checksum: 757fdcdcb135e2f2fd7198c101100a97668471c74f9581f35b29c13f773a0e2dc1a94ed684b97a5e450ac7dc91502c18f5575de2079bc2579dacf7939f55efc0 + languageName: node + linkType: hard + +"@rollup/plugin-commonjs@npm:^17.0.0": + version: 17.0.0 + resolution: "@rollup/plugin-commonjs@npm:17.0.0" + dependencies: + "@rollup/pluginutils": ^3.1.0 + commondir: ^1.0.1 + estree-walker: ^2.0.1 + glob: ^7.1.6 + is-reference: ^1.2.1 + magic-string: ^0.25.7 + resolve: ^1.17.0 + peerDependencies: + rollup: ^2.30.0 + checksum: f2966f591491319e7f8d2b4baf63f2ace92d4e5940bb76b5a571c877388e7ceb5bfbe5cc558da556f9cc3f56c4407ba585716aa9ecec72b5bc624f48c115dee0 + languageName: node + linkType: hard + +"@rollup/plugin-node-resolve@npm:^11.0.1": + version: 11.0.1 + resolution: "@rollup/plugin-node-resolve@npm:11.0.1" + dependencies: + "@rollup/pluginutils": ^3.1.0 + "@types/resolve": 1.17.1 + builtin-modules: ^3.1.0 + deepmerge: ^4.2.2 + is-module: ^1.0.0 + resolve: ^1.19.0 + peerDependencies: + rollup: ^1.20.0||^2.0.0 + checksum: bbec78fba9faab9e82b8f019d8883f119b2aa59cf90aa86f48767242235e39ca76ac2d130f0404553b2fa89dbd8fef90e32159642618f1e75ced7029f1bcece5 + languageName: node + linkType: hard + +"@rollup/pluginutils@npm:^3.1.0": + version: 3.1.0 + resolution: "@rollup/pluginutils@npm:3.1.0" + dependencies: + "@types/estree": 0.0.39 + estree-walker: ^1.0.1 + picomatch: ^2.2.2 + peerDependencies: + rollup: ^1.20.0||^2.0.0 + checksum: 45da6411e045d1b034242a8144f4a5e8c02ff1b68a2e0857807f5bb4b091c416f2015e075057f0f0dec200e7b35efe6ed4e301b43e365cedea09192f01a6839b + languageName: node + linkType: hard + "@samverschueren/stream-to-observable@npm:^0.3.0": version: 0.3.0 resolution: "@samverschueren/stream-to-observable@npm:0.3.0" @@ -3902,6 +3938,13 @@ __metadata: languageName: node linkType: hard +"@sindresorhus/is@npm:^0.14.0": + version: 0.14.0 + resolution: "@sindresorhus/is@npm:0.14.0" + checksum: da26389d6e23f64726224ffda6f6a04bab88e15b9c4eb8f9e5fdafc3baaaa071c85c47816723b7e61e14bf2f4dcff25d6bc1629032c2916ffb8b3fe759ad7b1f + languageName: node + linkType: hard + "@sindresorhus/is@npm:^4.0.0": version: 4.0.0 resolution: "@sindresorhus/is@npm:4.0.0" @@ -4883,6 +4926,15 @@ __metadata: languageName: node linkType: hard +"@szmarczak/http-timer@npm:^1.1.2": + version: 1.1.2 + resolution: "@szmarczak/http-timer@npm:1.1.2" + dependencies: + defer-to-connect: ^1.0.1 + checksum: a46ec854231194dd1ab924a5ea0d8f0afa2b7133754a3def099cc5749e34802d8668a7d7ee3583327048354b9dc621113843d8546387e06ff57e6763cbb558d9 + languageName: node + linkType: hard + "@szmarczak/http-timer@npm:^4.0.5": version: 4.0.5 resolution: "@szmarczak/http-timer@npm:4.0.5" @@ -5072,13 +5124,6 @@ __metadata: languageName: node linkType: hard -"@types/color-name@npm:^1.1.1": - version: 1.1.1 - resolution: "@types/color-name@npm:1.1.1" - checksum: 8311db94a9c4ecd247763b81e783ee49d87678b4ce6a7ee502e2bd5cea242b7357804a04855db009f713174bc654cc0c01c7303d40d757e5d710f5ac0368500f - languageName: node - linkType: hard - "@types/debug@npm:^4.1.4": version: 4.1.5 resolution: "@types/debug@npm:4.1.5" @@ -5360,6 +5405,15 @@ __metadata: languageName: node linkType: hard +"@types/resolve@npm:1.17.1": + version: 1.17.1 + resolution: "@types/resolve@npm:1.17.1" + dependencies: + "@types/node": "*" + checksum: 8e72a73574f9489760662498c1ad512a8d4084a5db15f327e0d785cb277bb0a3146cd049241a8e3268bd0ed204ad3ee7b4a6b4622ef681e70547be9af258ca6a + languageName: node + linkType: hard + "@types/responselike@npm:*, @types/responselike@npm:^1.0.0": version: 1.0.0 resolution: "@types/responselike@npm:1.0.0" @@ -6076,13 +6130,6 @@ __metadata: languageName: node linkType: hard -"alphanum-sort@npm:^1.0.0": - version: 1.0.2 - resolution: "alphanum-sort@npm:1.0.2" - checksum: 28bad91719e15959e36a791a3538924e07da356ebe3b5f992e7668e8018cfc417a7ba4a69512771e5ffa306c7e028435c7748546f66f72d4f7b0ad694cf55069 - languageName: node - linkType: hard - "amdefine@npm:>=0.0.4": version: 1.0.1 resolution: "amdefine@npm:1.0.1" @@ -6467,13 +6514,12 @@ __metadata: languageName: node linkType: hard -"ansi-styles@npm:^4.0.0, ansi-styles@npm:^4.1.0": - version: 4.2.1 - resolution: "ansi-styles@npm:4.2.1" +"ansi-styles@npm:^4.0.0, ansi-styles@npm:^4.1.0, ansi-styles@npm:^4.2.1": + version: 4.3.0 + resolution: "ansi-styles@npm:4.3.0" dependencies: - "@types/color-name": ^1.1.1 color-convert: ^2.0.1 - checksum: c8c007d5dab7b4fea064c9ea318114e1f6fc714bb382d061ac09e66bc83c8f3ce12bb6354be01598722c14a5d710af280b7614d269354f80d2535946aefa82f4 + checksum: ea02c0179f3dd089a161f5fdd7ccd89dd84f31d82b68869f1134bf5c5b9e1313dadd2ff9edb02b44f46243f285ef5b785f6cb61c84a293694221417c42934407 languageName: node linkType: hard @@ -7488,7 +7534,7 @@ __metadata: languageName: node linkType: hard -"babel-plugin-macros@npm:^2.0.0, babel-plugin-macros@npm:^2.4.2, babel-plugin-macros@npm:^2.7.0": +"babel-plugin-macros@npm:^2.0.0, babel-plugin-macros@npm:^2.7.0": version: 2.8.0 resolution: "babel-plugin-macros@npm:2.8.0" dependencies: @@ -8109,7 +8155,7 @@ __metadata: languageName: node linkType: hard -"boxen@npm:^4.1.0": +"boxen@npm:^4.1.0, boxen@npm:^4.2.0": version: 4.2.0 resolution: "boxen@npm:4.2.0" dependencies: @@ -8359,7 +8405,7 @@ __metadata: languageName: node linkType: hard -"browserslist@npm:^4.0.0, browserslist@npm:^4.1.1, browserslist@npm:^4.12.0, browserslist@npm:^4.8.5": +"browserslist@npm:^4.1.1, browserslist@npm:^4.12.0, browserslist@npm:^4.8.5": version: 4.13.0 resolution: "browserslist@npm:4.13.0" dependencies: @@ -8494,13 +8540,6 @@ __metadata: languageName: node linkType: hard -"builtin-modules@npm:^2.0.0": - version: 2.0.0 - resolution: "builtin-modules@npm:2.0.0" - checksum: fc0c46577b7fcdde24b9710b56c55c3eb1255237e75a90185e25f878ac29b61f9aa9503a0a2c95dbc6979ebd5f3532ea0c07a595d8c6691e9d20423fd08c5076 - languageName: node - linkType: hard - "builtin-modules@npm:^3.1.0": version: 3.1.0 resolution: "builtin-modules@npm:3.1.0" @@ -8623,6 +8662,21 @@ __metadata: languageName: node linkType: hard +"cacheable-request@npm:^6.0.0": + version: 6.1.0 + resolution: "cacheable-request@npm:6.1.0" + dependencies: + clone-response: ^1.0.2 + get-stream: ^5.1.0 + http-cache-semantics: ^4.0.0 + keyv: ^3.0.0 + lowercase-keys: ^2.0.0 + normalize-url: ^4.1.0 + responselike: ^1.0.2 + checksum: 8b43f661371084ee67309c6bac93313360f55d5dfb1b622d32750c95a5f9c470a83d5798a042a67badcc0674ce0ca586a72f41e450275e78d87da1b705b91efb + languageName: node + linkType: hard + "cacheable-request@npm:^7.0.1": version: 7.0.1 resolution: "cacheable-request@npm:7.0.1" @@ -8719,13 +8773,13 @@ __metadata: languageName: node linkType: hard -"camel-case@npm:^4.1.1": - version: 4.1.1 - resolution: "camel-case@npm:4.1.1" +"camel-case@npm:^4.1.2": + version: 4.1.2 + resolution: "camel-case@npm:4.1.2" dependencies: - pascal-case: ^3.1.1 - tslib: ^1.10.0 - checksum: c202f62a74c020e51ab6d7d02c0367a6b8cd5d1803e69371421970186d6ca32a20437eb45257baa00a7bb976a202e8fbdb75d509145f5b022f7f80936997c6b8 + pascal-case: ^3.1.2 + tslib: ^2.0.3 + checksum: 0b8dcfb424c9497e45984b88ef005c66bdf8e877e36365aedfc3cf73182684fde5a14cf2c526579c0351a5f27dc39a00f1edecc25d43606075fea948c504e37f languageName: node linkType: hard @@ -8817,33 +8871,21 @@ __metadata: languageName: node linkType: hard -"caniuse-api@npm:^3.0.0": - version: 3.0.0 - resolution: "caniuse-api@npm:3.0.0" - dependencies: - browserslist: ^4.0.0 - caniuse-lite: ^1.0.0 - lodash.memoize: ^4.1.2 - lodash.uniq: ^4.5.0 - checksum: 6822fb3d421b438f9274b15f9a20f54937402730c978285ceb07b569de5876882b0bbc94274519f7308baaae8dc84227d846fc7dacc4f4b54fac7d2515aca582 - languageName: node - linkType: hard - -"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30000887, caniuse-lite@npm:^1.0.30000989, caniuse-lite@npm:^1.0.30001087, caniuse-lite@npm:^1.0.30001093": +"caniuse-lite@npm:^1.0.30000887, caniuse-lite@npm:^1.0.30000989, caniuse-lite@npm:^1.0.30001087, caniuse-lite@npm:^1.0.30001093": version: 1.0.30001158 resolution: "caniuse-lite@npm:1.0.30001158" checksum: 5e8e370bd6bf104dcec4761f88721ed8140ae45bf7cf69e9a82ff4f31d3cc1da6bf339c0231e3c67aa227108ce0fc18e990b4a251c73216f8c473837fe9f361b languageName: node linkType: hard -"capital-case@npm:^1.0.3": - version: 1.0.3 - resolution: "capital-case@npm:1.0.3" +"capital-case@npm:^1.0.4": + version: 1.0.4 + resolution: "capital-case@npm:1.0.4" dependencies: - no-case: ^3.0.3 - tslib: ^1.10.0 - upper-case-first: ^2.0.1 - checksum: bf0f9bcf053c3166ab2ba3eebd6700779a779a3ff40ebc690718b13624222a44b45d20cc6457825a357e48adb01822b36b04e9e4cd980b85c346023d3d36f9c6 + no-case: ^3.0.4 + tslib: ^2.0.3 + upper-case-first: ^2.0.2 + checksum: cce3d8f8f72d04d20e03f3724294edf2e727e71300617357a071cde16972b8f8170d485babf9453928a8fbd145df656d2e0256d6d475859356c78c3849fa12ac languageName: node linkType: hard @@ -8988,7 +9030,7 @@ __metadata: "@babel/preset-env": ^7.10.0 "@babel/preset-react": ^7.10.0 "@babel/runtime": ^7.10.0 - "@carbon/bundler": ^10.11.0 + "@carbon/cli": ^10.17.0 "@carbon/elements": ^10.25.0 "@carbon/icons-handlebars": ^10.23.0 "@carbon/icons-react": ^10.23.0 @@ -9121,7 +9163,6 @@ __metadata: "@babel/preset-env": ^7.10.0 "@babel/preset-react": ^7.10.0 "@babel/runtime": ^7.10.0 - "@carbon/bundler": "workspace:packages/bundler" "@carbon/cli": "workspace:packages/cli" "@commitlint/cli": ^8.3.5 "@commitlint/config-conventional": ^8.3.4 @@ -9252,23 +9293,23 @@ __metadata: languageName: node linkType: hard -"change-case@npm:^4.1.1": - version: 4.1.1 - resolution: "change-case@npm:4.1.1" - dependencies: - camel-case: ^4.1.1 - capital-case: ^1.0.3 - constant-case: ^3.0.3 - dot-case: ^3.0.3 - header-case: ^2.0.3 - no-case: ^3.0.3 - param-case: ^3.0.3 - pascal-case: ^3.1.1 - path-case: ^3.0.3 - sentence-case: ^3.0.3 - snake-case: ^3.0.3 - tslib: ^1.10.0 - checksum: 245a474fdb8008773fc8b6b0946bff8e4d46e5e807d8f5e34f3c59e9c592b94c109c01fe1b12356757c580ba886a51eb51fd255c716131851d9799f9f0d18177 +"change-case@npm:^4.1.1, change-case@npm:^4.1.2": + version: 4.1.2 + resolution: "change-case@npm:4.1.2" + dependencies: + camel-case: ^4.1.2 + capital-case: ^1.0.4 + constant-case: ^3.0.4 + dot-case: ^3.0.4 + header-case: ^2.0.4 + no-case: ^3.0.4 + param-case: ^3.0.4 + pascal-case: ^3.1.2 + path-case: ^3.0.4 + sentence-case: ^3.0.4 + snake-case: ^3.0.4 + tslib: ^2.0.3 + checksum: dfc3d5afcb442b8dfabfd2068d9e845b396f98ba72f4b2c702b8afe935e56d6a0b48281866f91fe77cf669d99bfea6176079d5d1033f6ce574c6a97a5862bcf9 languageName: node linkType: hard @@ -9636,7 +9677,7 @@ __metadata: languageName: node linkType: hard -"cli-table@npm:^0.3.0, cli-table@npm:^0.3.1": +"cli-table@npm:^0.3.0": version: 0.3.1 resolution: "cli-table@npm:0.3.1" dependencies: @@ -10016,7 +10057,7 @@ __metadata: languageName: node linkType: hard -"color@npm:^3.0.0, color@npm:^3.1.2": +"color@npm:^3.1.2": version: 3.1.2 resolution: "color@npm:3.1.2" dependencies: @@ -10205,7 +10246,7 @@ __metadata: languageName: node linkType: hard -"concat-stream@npm:1.6.2, concat-stream@npm:^1.4.6, concat-stream@npm:^1.4.7, concat-stream@npm:^1.5.0, concat-stream@npm:^1.5.2, concat-stream@npm:^1.6.0, concat-stream@npm:^1.6.2": +"concat-stream@npm:1.6.2, concat-stream@npm:^1.4.6, concat-stream@npm:^1.4.7, concat-stream@npm:^1.5.0, concat-stream@npm:^1.5.2, concat-stream@npm:^1.6.0": version: 1.6.2 resolution: "concat-stream@npm:1.6.2" dependencies: @@ -10345,14 +10386,14 @@ __metadata: languageName: node linkType: hard -"constant-case@npm:^3.0.3": - version: 3.0.3 - resolution: "constant-case@npm:3.0.3" +"constant-case@npm:^3.0.4": + version: 3.0.4 + resolution: "constant-case@npm:3.0.4" dependencies: - no-case: ^3.0.3 - tslib: ^1.10.0 - upper-case: ^2.0.1 - checksum: 96ef30a34985743f87cf1e7eb53ef3302df287de032b1621712cc8a29b9b7f10da8e0627d9871a2f0994eb060f2bd3c874abaa7d00a695c022f99d54054346d6 + no-case: ^3.0.4 + tslib: ^2.0.3 + upper-case: ^2.0.2 + checksum: c2ca78e785a0ca46cbb4cb5ea7d64c2ff8e6184ca8a46cab39ec5bedf51a42f22d019d0aaeb00afe0e73e0d6a628d6bd9b85294856047c2fae794934888b8a10 languageName: node linkType: hard @@ -10522,7 +10563,7 @@ __metadata: languageName: node linkType: hard -"convert-source-map@npm:1.X, convert-source-map@npm:^1.1.0, convert-source-map@npm:^1.1.1, convert-source-map@npm:^1.4.0, convert-source-map@npm:^1.5.0, convert-source-map@npm:^1.6.0, convert-source-map@npm:^1.7.0": +"convert-source-map@npm:1.X, convert-source-map@npm:^1.1.0, convert-source-map@npm:^1.4.0, convert-source-map@npm:^1.5.0, convert-source-map@npm:^1.6.0, convert-source-map@npm:^1.7.0": version: 1.7.0 resolution: "convert-source-map@npm:1.7.0" dependencies: @@ -10874,23 +10915,6 @@ __metadata: languageName: node linkType: hard -"css-color-names@npm:0.0.4, css-color-names@npm:^0.0.4": - version: 0.0.4 - resolution: "css-color-names@npm:0.0.4" - checksum: 6842f38c3ae176f9beef3f92be258936aa508d5c4aa6dca48abfc324574eeda275e265dd0589d6e7a9a29768b6d6dd5ab7c4de27b8255c6142330fde84821af2 - languageName: node - linkType: hard - -"css-declaration-sorter@npm:^4.0.1": - version: 4.0.1 - resolution: "css-declaration-sorter@npm:4.0.1" - dependencies: - postcss: ^7.0.1 - timsort: ^0.3.0 - checksum: 9cd18a0cca0e8e983ca3cd59461c05b650c244e0fbf28810e20ec8478dd715701538bf097980b50b92aed916825fd706d0546a8fd203b6e81612b7a67184bf98 - languageName: node - linkType: hard - "css-loader@npm:^3.0.0, css-loader@npm:^3.4.2": version: 3.4.2 resolution: "css-loader@npm:3.4.2" @@ -10978,13 +11002,6 @@ __metadata: languageName: node linkType: hard -"css-unit-converter@npm:^1.1.1": - version: 1.1.1 - resolution: "css-unit-converter@npm:1.1.1" - checksum: bf5338cc2461ee2edd2461de9b05d1ffdcbb85e640134414c46960a0a31664a1e2ed735fdb41da897b24f7f4ce0c1e72b629556103324980ed8ecc92c9e67ca4 - languageName: node - linkType: hard - "css-what@npm:2.1": version: 2.1.3 resolution: "css-what@npm:2.1.3" @@ -11029,15 +11046,6 @@ __metadata: languageName: node linkType: hard -"cssesc@npm:^2.0.0": - version: 2.0.0 - resolution: "cssesc@npm:2.0.0" - bin: - cssesc: bin/cssesc - checksum: f32fabda44dbedacb03a1b393579696594effce89da0a3dd2614ce827b803e4fdf747031bb0bd72784d5558fa077211cddfb20a3dc1326815810b301cb7baab6 - languageName: node - linkType: hard - "cssesc@npm:^3.0.0": version: 3.0.0 resolution: "cssesc@npm:3.0.0" @@ -11056,86 +11064,6 @@ __metadata: languageName: node linkType: hard -"cssnano-preset-default@npm:^4.0.7": - version: 4.0.7 - resolution: "cssnano-preset-default@npm:4.0.7" - dependencies: - css-declaration-sorter: ^4.0.1 - cssnano-util-raw-cache: ^4.0.1 - postcss: ^7.0.0 - postcss-calc: ^7.0.1 - postcss-colormin: ^4.0.3 - postcss-convert-values: ^4.0.1 - postcss-discard-comments: ^4.0.2 - postcss-discard-duplicates: ^4.0.2 - postcss-discard-empty: ^4.0.1 - postcss-discard-overridden: ^4.0.1 - postcss-merge-longhand: ^4.0.11 - postcss-merge-rules: ^4.0.3 - postcss-minify-font-values: ^4.0.2 - postcss-minify-gradients: ^4.0.2 - postcss-minify-params: ^4.0.2 - postcss-minify-selectors: ^4.0.2 - postcss-normalize-charset: ^4.0.1 - postcss-normalize-display-values: ^4.0.2 - postcss-normalize-positions: ^4.0.2 - postcss-normalize-repeat-style: ^4.0.2 - postcss-normalize-string: ^4.0.2 - postcss-normalize-timing-functions: ^4.0.2 - postcss-normalize-unicode: ^4.0.1 - postcss-normalize-url: ^4.0.1 - postcss-normalize-whitespace: ^4.0.2 - postcss-ordered-values: ^4.1.2 - postcss-reduce-initial: ^4.0.3 - postcss-reduce-transforms: ^4.0.2 - postcss-svgo: ^4.0.2 - postcss-unique-selectors: ^4.0.1 - checksum: 7e947b0e09c15816638ff6e8cc881f58a99532271a94e7fc259e01a89e6eececb4a028f931d6940fd44c27f3134c54146a7b877cfa7497cd24fc5e299c493a51 - languageName: node - linkType: hard - -"cssnano-util-get-arguments@npm:^4.0.0": - version: 4.0.0 - resolution: "cssnano-util-get-arguments@npm:4.0.0" - checksum: 40017863677fe03979bf6d8f3cbddbba58913e6257e50eaad65c5b0de567a2e4d704b889919d299f6a8efa272cf89b862481c04e9a0faea4f2fc4dc501abd7ee - languageName: node - linkType: hard - -"cssnano-util-get-match@npm:^4.0.0": - version: 4.0.0 - resolution: "cssnano-util-get-match@npm:4.0.0" - checksum: 1220816e194911db505ea7f0489a5e966914de726ef2c753562a0cc4e31f184a09409806aa18fb07c4d97e68c0c950f2ad60b91c946954240f22356d256eb568 - languageName: node - linkType: hard - -"cssnano-util-raw-cache@npm:^4.0.1": - version: 4.0.1 - resolution: "cssnano-util-raw-cache@npm:4.0.1" - dependencies: - postcss: ^7.0.0 - checksum: d3eb80e96fc680e7b764ed8d622fbe860c7b80e831fb00552717d618c220940ba595cdd471b69bcf5b7d38fbb176d132512e68f6501e197cd10baa726f4d8cbd - languageName: node - linkType: hard - -"cssnano-util-same-parent@npm:^4.0.0": - version: 4.0.1 - resolution: "cssnano-util-same-parent@npm:4.0.1" - checksum: c01d567f9d1e867c3e591338bbfff5fb96dd6843ce0b78cda012a0096dae8c05237d4aedeeadebfbf5e1555c567d40cbc940bf44afc2716c1d077d7c8d907579 - languageName: node - linkType: hard - -"cssnano@npm:^4.1.7": - version: 4.1.10 - resolution: "cssnano@npm:4.1.10" - dependencies: - cosmiconfig: ^5.0.0 - cssnano-preset-default: ^4.0.7 - is-resolvable: ^1.0.0 - postcss: ^7.0.0 - checksum: 7578b1238992f6226e3aaa104fecfac97224ebebb20e58910ce71c6a8f966d2ee116ea1e9bc6c7a59dbf79941feb875452149938d34642898b19de87ff728e01 - languageName: node - linkType: hard - "csso@npm:^4.0.2": version: 4.0.2 resolution: "csso@npm:4.0.2" @@ -11414,6 +11342,15 @@ __metadata: languageName: node linkType: hard +"decompress-response@npm:^3.3.0": + version: 3.3.0 + resolution: "decompress-response@npm:3.3.0" + dependencies: + mimic-response: ^1.0.0 + checksum: 93b0dcc8f0c32f1d5eb656e7db54fa5554227b8bfefd242c9d28f7b9c3908052c2ab8297b4af6256759da496679ee3a806d559f22d29b7e71a25879a2c25b99b + languageName: node + linkType: hard + "decompress-response@npm:^6.0.0": version: 6.0.0 resolution: "decompress-response@npm:6.0.0" @@ -11520,6 +11457,13 @@ __metadata: languageName: node linkType: hard +"defer-to-connect@npm:^1.0.1": + version: 1.1.3 + resolution: "defer-to-connect@npm:1.1.3" + checksum: d8632cafae79a077b894c17f92d668784ad83825150d31c107df4fafc39f351ecd5112e0c75e0c2886c29ea359faf299bbb73246af71607b1e5b0d1ecc496ebf + languageName: node + linkType: hard + "defer-to-connect@npm:^2.0.0": version: 2.0.0 resolution: "defer-to-connect@npm:2.0.0" @@ -12106,13 +12050,13 @@ __metadata: languageName: node linkType: hard -"dot-case@npm:^3.0.3": - version: 3.0.3 - resolution: "dot-case@npm:3.0.3" +"dot-case@npm:^3.0.4": + version: 3.0.4 + resolution: "dot-case@npm:3.0.4" dependencies: - no-case: ^3.0.3 - tslib: ^1.10.0 - checksum: 31e5037039fb696ed7f1da1d3f0cea5fa0ffe0523334229a2f241856411fbbb59a5a7a6f8ae1447820718797708650bd6f90836d510ec27a81694fbc006c946a + no-case: ^3.0.4 + tslib: ^2.0.3 + checksum: 2d93626464927f533eaa66ba8c9b3a2dede6a324b5020fb90c46779ed629d50542f642aaac578e035e5cb141473c5f2c50eac232a8d8bf820ab471358d7bf587 languageName: node linkType: hard @@ -12262,7 +12206,7 @@ __metadata: languageName: node linkType: hard -"duplexify@npm:^3.2.0, duplexify@npm:^3.4.2, duplexify@npm:^3.6.0": +"duplexify@npm:^3.4.2, duplexify@npm:^3.6.0": version: 3.7.1 resolution: "duplexify@npm:3.7.1" dependencies: @@ -13008,6 +12952,13 @@ __metadata: languageName: node linkType: hard +"escape-goat@npm:^2.0.0": + version: 2.1.1 + resolution: "escape-goat@npm:2.1.1" + checksum: 8270a80ca5449893b004ae260f41aece7db91198dcb007f3f26e68c3adde0f9a4c63df9aaa23d9a3a79b670a304a30986027770b2afd5b09be18a8ffcc8ab88d + languageName: node + linkType: hard + "escape-html@npm:^1.0.3, escape-html@npm:~1.0.3": version: 1.0.3 resolution: "escape-html@npm:1.0.3" @@ -13492,6 +13443,20 @@ __metadata: languageName: node linkType: hard +"estree-walker@npm:^1.0.1": + version: 1.0.1 + resolution: "estree-walker@npm:1.0.1" + checksum: 85e7cee763e9125a7d8a947b3a06a8b9282873936df220dd0d791d9b3315e45e40ab096b43ba71bdc99140c11a6d23fdcf686642dc119a7b2d6181004fdb24d2 + languageName: node + linkType: hard + +"estree-walker@npm:^2.0.1": + version: 2.0.2 + resolution: "estree-walker@npm:2.0.2" + checksum: 378cc9d3be56962c5219c55ad1fde732cb7d55a11cde5acbf5995f39ddd0e98c1095a43c0ef15a520d1d6910e816bd3daff5fc5d7d38baaf8b12d5a2970df57c + languageName: node + linkType: hard + "esutils@npm:^2.0.2": version: 2.0.3 resolution: "esutils@npm:2.0.3" @@ -13811,13 +13776,6 @@ __metadata: languageName: node linkType: hard -"extend@npm:2.*": - version: 2.0.2 - resolution: "extend@npm:2.0.2" - checksum: b6f6cab5305606d93a5cc6ba2b37623bfd06a695d477577aac8dda0f2dee4ddc2b19a63571e1a350a71ce48a0bdc815a7ccd8faff690f7f8d83cbadde1a05b24 - languageName: node - linkType: hard - "extend@npm:^3.0.0, extend@npm:^3.0.2, extend@npm:~3.0.2": version: 3.0.2 resolution: "extend@npm:3.0.2" @@ -14265,7 +14223,7 @@ __metadata: languageName: node linkType: hard -"filesize@npm:3.6.1, filesize@npm:^3.6.1": +"filesize@npm:3.6.1": version: 3.6.1 resolution: "filesize@npm:3.6.1" checksum: 9fb54113c906f0b7aecc05440185dc8b8dac83bd73b839a5298ce02500a487151b3a4735784bfab027fc58776f5281ec4c31e60f59b9173d62f47838dae31783 @@ -14482,13 +14440,6 @@ __metadata: languageName: node linkType: hard -"first-chunk-stream@npm:^1.0.0": - version: 1.0.0 - resolution: "first-chunk-stream@npm:1.0.0" - checksum: ee2c13d193f3251677a7c697a18ae9df41315d1305dec8c96b58b494c55e42368935af964d677ca6066a69d450a45a259a098c52397837b1821dbeea1db48e30 - languageName: node - linkType: hard - "flagged-respawn@npm:^1.0.0": version: 1.0.1 resolution: "flagged-respawn@npm:1.0.1" @@ -15341,7 +15292,7 @@ __metadata: languageName: node linkType: hard -"glob-parent@npm:^3.0.0, glob-parent@npm:^3.1.0": +"glob-parent@npm:^3.1.0": version: 3.1.0 resolution: "glob-parent@npm:3.1.0" dependencies: @@ -15360,22 +15311,6 @@ __metadata: languageName: node linkType: hard -"glob-stream@npm:^5.3.2": - version: 5.3.5 - resolution: "glob-stream@npm:5.3.5" - dependencies: - extend: ^3.0.0 - glob: ^5.0.3 - glob-parent: ^3.0.0 - micromatch: ^2.3.7 - ordered-read-streams: ^0.3.0 - through2: ^0.6.0 - to-absolute-glob: ^0.1.1 - unique-stream: ^2.0.2 - checksum: 0ac6d935ef87cc1c93f7265860bb5db5a30bcafab390d060e552cd05dac363a9dc48df36e9abbead07d7afc615fe83eb4d22b849d443003e1def53feaf0fe791 - languageName: node - linkType: hard - "glob-stream@npm:^6.1.0": version: 6.1.0 resolution: "glob-stream@npm:6.1.0" @@ -15451,7 +15386,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:^7.0.0, glob@npm:^7.0.3, glob@npm:^7.0.6, glob@npm:^7.1.1, glob@npm:^7.1.2, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:~7.1.1": +"glob@npm:^7.0.0, glob@npm:^7.0.3, glob@npm:^7.0.6, glob@npm:^7.1.1, glob@npm:^7.1.2, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:~7.1.1": version: 7.1.6 resolution: "glob@npm:7.1.6" dependencies: @@ -15474,6 +15409,15 @@ __metadata: languageName: node linkType: hard +"global-dirs@npm:^2.0.1": + version: 2.1.0 + resolution: "global-dirs@npm:2.1.0" + dependencies: + ini: 1.3.7 + checksum: 32e478655226c5b64f9077c88924ba3079723fb7aabd847574bc21367369ea75d722e13aa77570e22880a51e58338bf4abfbb58f3b03de88c4784a7f94d9a25a + languageName: node + linkType: hard + "global-modules@npm:2.0.0, global-modules@npm:^2.0.0": version: 2.0.0 resolution: "global-modules@npm:2.0.0" @@ -15781,6 +15725,25 @@ __metadata: languageName: node linkType: hard +"got@npm:^9.6.0": + version: 9.6.0 + resolution: "got@npm:9.6.0" + dependencies: + "@sindresorhus/is": ^0.14.0 + "@szmarczak/http-timer": ^1.1.2 + cacheable-request: ^6.0.0 + decompress-response: ^3.3.0 + duplexer3: ^0.1.4 + get-stream: ^4.1.0 + lowercase-keys: ^1.0.1 + mimic-response: ^1.0.1 + p-cancelable: ^1.0.0 + to-readable-stream: ^1.0.0 + url-parse-lax: ^3.0.0 + checksum: 4cfb862eb7e2d023f486efbd9ad5ab199ea44f957dc72be9518bf54d832ad4281ef3b63eac4d861b189690c3b7674eef3e1cb4f41285a83fa43293431ab879bd + languageName: node + linkType: hard + "graceful-fs@npm:4.X, graceful-fs@npm:^4.0.0, graceful-fs@npm:^4.1.11, graceful-fs@npm:^4.1.15, graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.3, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.1.9, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.2, graceful-fs@npm:^4.2.3, graceful-fs@npm:^4.2.4": version: 4.2.4 resolution: "graceful-fs@npm:4.2.4" @@ -15992,19 +15955,6 @@ __metadata: languageName: node linkType: hard -"gulp-sourcemaps@npm:1.6.0": - version: 1.6.0 - resolution: "gulp-sourcemaps@npm:1.6.0" - dependencies: - convert-source-map: ^1.1.1 - graceful-fs: ^4.1.2 - strip-bom: ^2.0.0 - through2: ^2.0.0 - vinyl: ^1.0.0 - checksum: e5978396b41dcf1a8bbc8f35a067ec6a53a5b6bc6f95f257a807ea2e1f1f96fa9150a217bc421ddcaf1d81a30a50f98052b481aca9b353ce401ee22df0193a14 - languageName: node - linkType: hard - "gulp-sourcemaps@npm:^2.6.0": version: 2.6.5 resolution: "gulp-sourcemaps@npm:2.6.5" @@ -16265,7 +16215,14 @@ __metadata: languageName: node linkType: hard -"has@npm:^1.0.0, has@npm:^1.0.3": +"has-yarn@npm:^2.1.0": + version: 2.1.0 + resolution: "has-yarn@npm:2.1.0" + checksum: 105682f263a3437972c75594cdda237ce8454f67cae37a36a507701f300dade0460231dabbe873a7df035b7c0a0b3a686c9fcd1eebb29c73ca35753ecae6fb7d + languageName: node + linkType: hard + +"has@npm:^1.0.3": version: 1.0.3 resolution: "has@npm:1.0.3" dependencies: @@ -16398,13 +16355,13 @@ __metadata: languageName: node linkType: hard -"header-case@npm:^2.0.3": - version: 2.0.3 - resolution: "header-case@npm:2.0.3" +"header-case@npm:^2.0.4": + version: 2.0.4 + resolution: "header-case@npm:2.0.4" dependencies: - capital-case: ^1.0.3 - tslib: ^1.10.0 - checksum: 13440c681db83c41ad67ded7f094c23e14535a54697637585bf049c73fe44443d7561e35aa687b994f6fa737505c7a41256c39df84510dd58ac08c2eb0c1c95c + capital-case: ^1.0.4 + tslib: ^2.0.3 + checksum: 1cc640a98a59224db2b1c3ed2ecf2a9755db445b103462d4a30185e825ec6d61fbcc6b607a0d87b6f71b33a9f0080f6900420da528ced5cb661b4de75c36dd4d languageName: node linkType: hard @@ -16442,13 +16399,6 @@ __metadata: languageName: node linkType: hard -"hex-color-regex@npm:^1.1.0": - version: 1.1.0 - resolution: "hex-color-regex@npm:1.1.0" - checksum: 89899f5f74cdef884e352fe8791018f2f112c338b97f3b486f7d5f4760a9c58181f688eb147937f9f2dd69c976a7296b53d1509c9a0871903eeb26a8382e486c - languageName: node - linkType: hard - "highlight.js@npm:^9.12.0, highlight.js@npm:^9.5.0": version: 9.18.0 resolution: "highlight.js@npm:9.18.0" @@ -16506,27 +16456,6 @@ __metadata: languageName: node linkType: hard -"hsl-regex@npm:^1.0.0": - version: 1.0.0 - resolution: "hsl-regex@npm:1.0.0" - checksum: b04a50c6c75fc4035e9e212a2c581dcae64289f0ad45bb010a32dd3899c9a5ac95c4d23507a89027aa7950a8a9241de0e6ad66bc87535f261c0eef4817222a1f - languageName: node - linkType: hard - -"hsla-regex@npm:^1.0.0": - version: 1.0.0 - resolution: "hsla-regex@npm:1.0.0" - checksum: 2460f935b556795a7cadc17978bc4cd90f74aaba05505f7040e7809336c68e757dcdcc2121004a4d926a6f04295cf68a575a81c0fd2d4e7280dc201a98eb2859 - languageName: node - linkType: hard - -"html-comment-regex@npm:^1.1.0": - version: 1.1.2 - resolution: "html-comment-regex@npm:1.1.2" - checksum: f3bf135002dc424aa5e59aa5f7697b4538898ce8af2375a42c4fcb53dbde3d430ec406b9ea59853b6fef7ca6f8de2939f12b285045850a70a757628bd5483cbf - languageName: node - linkType: hard - "html-element-map@npm:^1.2.0": version: 1.2.0 resolution: "html-element-map@npm:1.2.0" @@ -17174,10 +17103,10 @@ __metadata: languageName: node linkType: hard -"ini@npm:^1.3.0, ini@npm:^1.3.2, ini@npm:^1.3.4, ini@npm:^1.3.5, ini@npm:~1.3.0": - version: 1.3.5 - resolution: "ini@npm:1.3.5" - checksum: 304a78d1e0ec49c6dc316b6a21bee5340ba85159c6581235b26a4cf27e2bac5f66f2c8f0e074ceaf3c48085f89fb974691cbf812df2128d2d74c5ef726d1b19a +"ini@npm:1.3.7, ini@npm:^1.3.0, ini@npm:^1.3.2, ini@npm:^1.3.4, ini@npm:^1.3.5, ini@npm:~1.3.0": + version: 1.3.7 + resolution: "ini@npm:1.3.7" + checksum: cf00289cb43d8de635d907c202f7dd8650d8228c322b501c089c4f52ea78dc21ebc38b07c4f37b532f52eba110d11b71f32bc22173097ca0e9c8521575688d7c languageName: node linkType: hard @@ -17298,7 +17227,7 @@ __metadata: languageName: node linkType: hard -"inquirer@npm:^6.2.0, inquirer@npm:^6.2.2, inquirer@npm:^6.3.1, inquirer@npm:^6.4.1, inquirer@npm:^6.5.0": +"inquirer@npm:^6.2.0, inquirer@npm:^6.2.2, inquirer@npm:^6.3.1, inquirer@npm:^6.4.1": version: 6.5.2 resolution: "inquirer@npm:6.5.2" dependencies: @@ -17416,13 +17345,6 @@ __metadata: languageName: node linkType: hard -"is-absolute-url@npm:^2.0.0": - version: 2.1.0 - resolution: "is-absolute-url@npm:2.1.0" - checksum: f9d193d86b5a255de08eb22653026e09952b5b1335c1c1c9c171237cb056c54d8c12ef45a069ac34270b7e960e46c89bc43f52d911317a2aaaab6d315c0da0e0 - languageName: node - linkType: hard - "is-absolute-url@npm:^3.0.0": version: 3.0.3 resolution: "is-absolute-url@npm:3.0.3" @@ -17571,17 +17493,12 @@ __metadata: languageName: node linkType: hard -"is-color-stop@npm:^1.0.0": - version: 1.1.0 - resolution: "is-color-stop@npm:1.1.0" +"is-core-module@npm:^2.1.0": + version: 2.2.0 + resolution: "is-core-module@npm:2.2.0" dependencies: - css-color-names: ^0.0.4 - hex-color-regex: ^1.1.0 - hsl-regex: ^1.0.0 - hsla-regex: ^1.0.0 - rgb-regex: ^1.0.1 - rgba-regex: ^1.0.0 - checksum: 0e3d46b1e1669891fe38f019188c6edc8b6239ba21b391c2f25bd1887975f11fed0764771adb550e30c7726f737547953c9260b411c9813e573b8b9434e760c4 + has: ^1.0.3 + checksum: 2344744de98a3bc22e2bb30895f307d7889f09e963f9bcb1cc321788f508c8b463f75e0a9ca009eeeb8eb9465181b5c15f1ec9299a6bb6921cfbb2423892e0ba languageName: node linkType: hard @@ -17811,7 +17728,17 @@ __metadata: languageName: node linkType: hard -"is-map@npm:^2.0.0": +"is-installed-globally@npm:^0.3.1": + version: 0.3.2 + resolution: "is-installed-globally@npm:0.3.2" + dependencies: + global-dirs: ^2.0.1 + is-path-inside: ^3.0.1 + checksum: 10fc4fb09fe86c0ed5fa21e821607c6e1ca258386787b1aaad3afbe59470d0c3b50b076cbc996173b9b4c0de7d6a8b741aabf9229ab09d6c37ff663e51631529 + languageName: node + linkType: hard + +"is-map@npm:^2.0.0": version: 2.0.1 resolution: "is-map@npm:2.0.1" checksum: 16524b5d2e0c5c8bc2674f99294205abbb63819de7919b232c3035436771d3df50b69a3af2b2ce110961b4eeaf50f9a172f6a5b690aa4be32be85f4e5b2d6f01 @@ -17859,6 +17786,13 @@ __metadata: languageName: node linkType: hard +"is-npm@npm:^4.0.0": + version: 4.0.0 + resolution: "is-npm@npm:4.0.0" + checksum: 94ab2edae37293ceba039729ba1de851448059979138f72d7184a89a484bf70fbefc462268fecf59865e54ce972c15164229acc73bd56c025a7afc7dd0702c40 + languageName: node + linkType: hard + "is-number-like@npm:^1.0.3": version: 1.0.8 resolution: "is-number-like@npm:1.0.8" @@ -18059,6 +17993,15 @@ __metadata: languageName: node linkType: hard +"is-reference@npm:^1.2.1": + version: 1.2.1 + resolution: "is-reference@npm:1.2.1" + dependencies: + "@types/estree": "*" + checksum: 9daa3d7c4dc159e326be68c025a43bf714b36a6d065c2cc6907f7c44d010867dd10ec7f74bff37cb5d2000ac8b03c94cde3d69c85dc9a56a887ce576200ad01f + languageName: node + linkType: hard + "is-regex@npm:^1.0.3, is-regex@npm:^1.0.4, is-regex@npm:^1.0.5": version: 1.1.0 resolution: "is-regex@npm:1.1.0" @@ -18172,15 +18115,6 @@ __metadata: languageName: node linkType: hard -"is-svg@npm:^3.0.0": - version: 3.0.0 - resolution: "is-svg@npm:3.0.0" - dependencies: - html-comment-regex: ^1.1.0 - checksum: 7dd3f5f18dc7816dcf370b937c3d12f3a74e6aab886032e34d187af7627acaa1c1b0230be6af83dbe02b0f10d97a2d392b12c9be7627fc11a1c588851953c46e - languageName: node - linkType: hard - "is-symbol@npm:^1.0.2, is-symbol@npm:^1.0.3": version: 1.0.3 resolution: "is-symbol@npm:1.0.3" @@ -18238,13 +18172,6 @@ __metadata: languageName: node linkType: hard -"is-valid-glob@npm:^0.3.0": - version: 0.3.0 - resolution: "is-valid-glob@npm:0.3.0" - checksum: 308387661622044c3554ff38ff37b39da24daabe4743a28bf74e6ed3e95d218d2156b77e93e8d4969a7769bdd43c8f7696dddb311c0ea42e2500eea61540cbfa - languageName: node - linkType: hard - "is-valid-glob@npm:^1.0.0": version: 1.0.0 resolution: "is-valid-glob@npm:1.0.0" @@ -18294,6 +18221,13 @@ __metadata: languageName: node linkType: hard +"is-yarn-global@npm:^0.3.0": + version: 0.3.0 + resolution: "is-yarn-global@npm:0.3.0" + checksum: 5a66f706f24e76979ce252a8f5ff4bb680da3c3eb978a2930f0147fecaa583eefb4ee1765bcfb85c0b4e83f67a231355e158a89b0047e83649f8f11a93563ef9 + languageName: node + linkType: hard + "is2@npm:2.0.1": version: 2.0.1 resolution: "is2@npm:2.0.1" @@ -19504,6 +19438,13 @@ __metadata: languageName: node linkType: hard +"json-buffer@npm:3.0.0": + version: 3.0.0 + resolution: "json-buffer@npm:3.0.0" + checksum: 09b53ecc8ffbb1252d9ef07f37ad616eb0769325d749c87555df786dc70e9855d4ad208255bbf232c86069504756277a7efb6725a31f6e6c4ef39a7b072e75f2 + languageName: node + linkType: hard + "json-buffer@npm:3.0.1": version: 3.0.1 resolution: "json-buffer@npm:3.0.1" @@ -19921,6 +19862,15 @@ __metadata: languageName: node linkType: hard +"keyv@npm:^3.0.0": + version: 3.1.0 + resolution: "keyv@npm:3.1.0" + dependencies: + json-buffer: 3.0.0 + checksum: 6bf032ee504f27e00ae3a366c7e0ca5d93b8f947672871568f2a1456bf56d1bc4e55555158a45188d14483c4c38d0fa1dc7f0585b0d6c640f8e79abc9b4d3162 + languageName: node + linkType: hard + "keyv@npm:^4.0.0": version: 4.0.3 resolution: "keyv@npm:4.0.3" @@ -20071,6 +20021,15 @@ __metadata: languageName: node linkType: hard +"latest-version@npm:^5.0.0": + version: 5.1.0 + resolution: "latest-version@npm:5.1.0" + dependencies: + package-json: ^6.3.0 + checksum: 63c1f224358d094a75782cc48a5b3eeaf70a70c0e18f8b814480e50ed0ecedb4bc5f2c9cc44c7983fbf31e865f0376526bf9a563c304f3261971f38d8f51c5c6 + languageName: node + linkType: hard + "lazy-cache@npm:^0.2.3": version: 0.2.7 resolution: "lazy-cache@npm:0.2.7" @@ -20757,7 +20716,7 @@ __metadata: languageName: node linkType: hard -"lodash.isequal@npm:^4.0.0, lodash.isequal@npm:^4.5.0": +"lodash.isequal@npm:^4.5.0": version: 4.5.0 resolution: "lodash.isequal@npm:4.5.0" checksum: 5b47e094641c18a915497343894c66f7da6aebb9aaa2a3fcc5643455aaf29d19df60ebbed664c8374fb959c8b4ce96810ee6becd8a71ac58c6c2ca8d29762947 @@ -21145,16 +21104,16 @@ __metadata: languageName: node linkType: hard -"lower-case@npm:^2.0.1": - version: 2.0.1 - resolution: "lower-case@npm:2.0.1" +"lower-case@npm:^2.0.2": + version: 2.0.2 + resolution: "lower-case@npm:2.0.2" dependencies: - tslib: ^1.10.0 - checksum: 52a55327ea69cbec7693daa11efb94f9e3d13b2697773d3cecd71f68c7eafaca2b0b34f8cc10617a751134e17c8396be992972765f5d5db220047651046762b5 + tslib: ^2.0.3 + checksum: aabaca9cef65f7564a1005b625664527e4d169e363101e65773f8f6ff2fdcf09884a3bc02990cd7a62cf05f3538114af25ee7bef553f1ca3208c8a77ac75cbfa languageName: node linkType: hard -"lowercase-keys@npm:^1.0.0": +"lowercase-keys@npm:^1.0.0, lowercase-keys@npm:^1.0.1": version: 1.0.1 resolution: "lowercase-keys@npm:1.0.1" checksum: ac9d79c47dd9f831cebb2cbe930e72f7c03b27ab07c5bb9072ee0b4a853ce26d6648403b9eb371b3d400af3790da9ce65cf7207af887f8c134d53dce81559107 @@ -21249,7 +21208,7 @@ __metadata: languageName: node linkType: hard -"magic-string@npm:0.25.7, magic-string@npm:^0.25.2": +"magic-string@npm:0.25.7, magic-string@npm:^0.25.2, magic-string@npm:^0.25.7": version: 0.25.7 resolution: "magic-string@npm:0.25.7" dependencies: @@ -21813,15 +21772,6 @@ __metadata: languageName: node linkType: hard -"merge-stream@npm:^1.0.0": - version: 1.0.1 - resolution: "merge-stream@npm:1.0.1" - dependencies: - readable-stream: ^2.0.1 - checksum: dd4607cb213ab86f36d6051b48514cd09a543efe60e7dbfc261e3f2435d8fe0a8c5b266ac2fb89b25b8d490151778052896aaacc187a78098827e1c3c08fa56c - languageName: node - linkType: hard - "merge-stream@npm:^2.0.0": version: 2.0.0 resolution: "merge-stream@npm:2.0.0" @@ -21857,7 +21807,7 @@ __metadata: languageName: node linkType: hard -"micromatch@npm:^2.1.5, micromatch@npm:^2.3.11, micromatch@npm:^2.3.7": +"micromatch@npm:^2.1.5, micromatch@npm:^2.3.11": version: 2.3.11 resolution: "micromatch@npm:2.3.11" dependencies: @@ -21978,7 +21928,7 @@ __metadata: languageName: node linkType: hard -"mimic-response@npm:^1.0.0": +"mimic-response@npm:^1.0.0, mimic-response@npm:^1.0.1": version: 1.0.1 resolution: "mimic-response@npm:1.0.1" checksum: 64b43c717ed8710bc920576e96d38d0e504e9eec3114af8e00c9e3d7ae53cd459ee38febb0badc83e3a4e6d21cd571db43e9011f8cf014809989c87a1a9f0ea4 @@ -22602,13 +22552,13 @@ __metadata: languageName: node linkType: hard -"no-case@npm:^3.0.3": - version: 3.0.3 - resolution: "no-case@npm:3.0.3" +"no-case@npm:^3.0.4": + version: 3.0.4 + resolution: "no-case@npm:3.0.4" dependencies: - lower-case: ^2.0.1 - tslib: ^1.10.0 - checksum: 619e0bd00a3ef0fa6ad9442d32c88adcf47339c5b0d9bdfaaab19380709dad5ba71f865ae584531988ba85a6083e1f0ea0b851bcc49c67aee40a5100104e84b9 + lower-case: ^2.0.2 + tslib: ^2.0.3 + checksum: 84db4909caec37504c6655f995a004067f8733be8cd8d849f1578661b60a1685e086325fa4e1a5e8ce94e7416c1d0f037e2a00f635a14457183de80ab4fc7612 languageName: node linkType: hard @@ -22992,7 +22942,7 @@ __metadata: languageName: node linkType: hard -"normalize-url@npm:^3.0.0, normalize-url@npm:^3.3.0": +"normalize-url@npm:^3.3.0": version: 3.3.0 resolution: "normalize-url@npm:3.3.0" checksum: 5704115f74833cf157a5f104477d9c8e8b4e2c00275624159bcd3c65dbdac93db4f6f008f91364d0f20f93655bd2b643afa9e8875c67b4ab8673cd1dd0fb7a5c @@ -23205,7 +23155,7 @@ __metadata: languageName: node linkType: hard -"object-assign@npm:*, object-assign@npm:4.X, object-assign@npm:^4.0.0, object-assign@npm:^4.0.1, object-assign@npm:^4.1.0, object-assign@npm:^4.1.1": +"object-assign@npm:*, object-assign@npm:4.X, object-assign@npm:^4.0.1, object-assign@npm:^4.1.0, object-assign@npm:^4.1.1": version: 4.1.1 resolution: "object-assign@npm:4.1.1" checksum: 66cf021898fc1b13ea573ea8635fbd5a76533f50cecbc2fcd5eee1e8029af41bcebe7023788b6d0e06cbe4401ecea075d972f78ec74467cdc571a0f1a4d1a081 @@ -23544,16 +23494,6 @@ __metadata: languageName: node linkType: hard -"ordered-read-streams@npm:^0.3.0": - version: 0.3.0 - resolution: "ordered-read-streams@npm:0.3.0" - dependencies: - is-stream: ^1.0.1 - readable-stream: ^2.0.1 - checksum: 059b1815cff6b2b66c3330657653ba0d6d01383e27c68f7977093e6845cdf9c8fce4cbc6e730d384fcfdc784952275ed67e03cbf66deebf64a32127d6d0e4055 - languageName: node - linkType: hard - "ordered-read-streams@npm:^1.0.0": version: 1.0.1 resolution: "ordered-read-streams@npm:1.0.1" @@ -23640,6 +23580,13 @@ __metadata: languageName: node linkType: hard +"p-cancelable@npm:^1.0.0": + version: 1.1.0 + resolution: "p-cancelable@npm:1.1.0" + checksum: 01fdd9ac319f0e69e22c18d5b9e5f4dca62a0827d72349c73b0c88b07c760849de49201dcbe4fbbcbe61b4bdce8f4f3596cfbbfed664cf411ff1ab9a80664574 + languageName: node + linkType: hard + "p-cancelable@npm:^2.0.0": version: 2.0.0 resolution: "p-cancelable@npm:2.0.0" @@ -23858,6 +23805,18 @@ __metadata: languageName: node linkType: hard +"package-json@npm:^6.3.0": + version: 6.5.0 + resolution: "package-json@npm:6.5.0" + dependencies: + got: ^9.6.0 + registry-auth-token: ^4.0.0 + registry-url: ^5.0.0 + semver: ^6.2.0 + checksum: 3023e318de5d76bbd650aedd3671b452cb1e018c4d99b72955dde0f22c6ba765c3f6d678ab0ee45e2561842e8399b1fea77a0730dc93c39505e7ebfed7ab2818 + languageName: node + linkType: hard + "pako@npm:~1.0.2, pako@npm:~1.0.5": version: 1.0.10 resolution: "pako@npm:1.0.10" @@ -23885,13 +23844,13 @@ __metadata: languageName: node linkType: hard -"param-case@npm:^3.0.3": - version: 3.0.3 - resolution: "param-case@npm:3.0.3" +"param-case@npm:^3.0.4": + version: 3.0.4 + resolution: "param-case@npm:3.0.4" dependencies: - dot-case: ^3.0.3 - tslib: ^1.10.0 - checksum: ef57facfaf282f6c074e565e26738e7bb043882aea9a4a575b0568d74f003ab8a1c69555d81773d25413287f079a367aa26a9518b3d5b25f2f17b4952a647f40 + dot-case: ^3.0.4 + tslib: ^2.0.3 + checksum: 879358f67167dfe48f4cd5b3c888456b8d7d30daf8bff1e354eece6e8bedb9fb27250bc34fd32390cb9d890677b9b907dcf89808ee3ebcd947d4c1db9f650127 languageName: node linkType: hard @@ -24107,13 +24066,13 @@ __metadata: languageName: node linkType: hard -"pascal-case@npm:^3.1.1": - version: 3.1.1 - resolution: "pascal-case@npm:3.1.1" +"pascal-case@npm:^3.1.2": + version: 3.1.2 + resolution: "pascal-case@npm:3.1.2" dependencies: - no-case: ^3.0.3 - tslib: ^1.10.0 - checksum: 56f66aea7f8c06f3e8b9e70c48c3019dcd8c3e5f218be905b4aba84c5880baf58dcb517bbf1becac3628e17c09b6c3bd35428a9e519343e5f04e50dd0d17c5f5 + no-case: ^3.0.4 + tslib: ^2.0.3 + checksum: 31708cecab221482edc81e2bd9b9d8282d72d4f1443b31f39725aa23768c5e42d93c4c014f1bc90f7f074e2a70d5091e4892ea370e550affc9ccf1d33c900bcd languageName: node linkType: hard @@ -24131,13 +24090,13 @@ __metadata: languageName: node linkType: hard -"path-case@npm:^3.0.3": - version: 3.0.3 - resolution: "path-case@npm:3.0.3" +"path-case@npm:^3.0.4": + version: 3.0.4 + resolution: "path-case@npm:3.0.4" dependencies: - dot-case: ^3.0.3 - tslib: ^1.10.0 - checksum: 61b82d59d44896924738cf76a0055c1bab48f78aaf5f7b58d40bc365663f2b3ed0e7b0190b244bf3ffa829b49f30f62e54d4e32a38d92759bb2601b933ef9895 + dot-case: ^3.0.4 + tslib: ^2.0.3 + checksum: 4f4a2ac7f621e70a531c7ece246a410ce000f0cd279086f3cbaa9d28fb912f36fb4b4e9f524a535bf1975b6a404a35851c7b463d0453de4b5e0ecf69d4b8aed3 languageName: node linkType: hard @@ -24334,10 +24293,10 @@ __metadata: languageName: node linkType: hard -"picomatch@npm:^2.0.4, picomatch@npm:^2.0.5, picomatch@npm:^2.0.7, picomatch@npm:^2.2.1": - version: 2.2.1 - resolution: "picomatch@npm:2.2.1" - checksum: c926fe6cb118643bbd4eb44125afbfa02fcd3f6ff3ba85db201874678a46ab2dad589c8db654474cc131df356af36a6afd4fb3c8878ca26bae5190c232b838a5 +"picomatch@npm:^2.0.4, picomatch@npm:^2.0.5, picomatch@npm:^2.0.7, picomatch@npm:^2.2.1, picomatch@npm:^2.2.2": + version: 2.2.2 + resolution: "picomatch@npm:2.2.2" + checksum: 20fa75e0a58b39d83425b3db68744d5f6f361fd4fd66ec7745d884036d502abba0d553a637703af79939b844164b13e60eea339ccb043d7fbd74c3da2592b864 languageName: node linkType: hard @@ -24572,41 +24531,6 @@ __metadata: languageName: node linkType: hard -"postcss-calc@npm:^7.0.1": - version: 7.0.1 - resolution: "postcss-calc@npm:7.0.1" - dependencies: - css-unit-converter: ^1.1.1 - postcss: ^7.0.5 - postcss-selector-parser: ^5.0.0-rc.4 - postcss-value-parser: ^3.3.1 - checksum: 879c9bedf94a408a24a524cdcb52af76bc89c26a826b9912fec129b0e3ad0148ec4881e279093f40af500c8e528b84481b1c202b0596d59b140a9e2642e66d14 - languageName: node - linkType: hard - -"postcss-colormin@npm:^4.0.3": - version: 4.0.3 - resolution: "postcss-colormin@npm:4.0.3" - dependencies: - browserslist: ^4.0.0 - color: ^3.0.0 - has: ^1.0.0 - postcss: ^7.0.0 - postcss-value-parser: ^3.0.0 - checksum: c2632c38a64e2f76b41eb58d97193c77ab71a3d206e8453377019ed8f42c9e94be1b9df66b1e86d44e5af1e2892e7f0316c1d039c83519065eec3824aac78d17 - languageName: node - linkType: hard - -"postcss-convert-values@npm:^4.0.1": - version: 4.0.1 - resolution: "postcss-convert-values@npm:4.0.1" - dependencies: - postcss: ^7.0.0 - postcss-value-parser: ^3.0.0 - checksum: 8fc4a78787642d67faebbce5f80c3e1c2ec49ab57e52f6702079f6dd57caa2c7e1bf1472a8499e548b7c6b078bc6dab664580444d81ce723caf80f4b5240237a - languageName: node - linkType: hard - "postcss-custom-properties@npm:^9.0.0, postcss-custom-properties@npm:^9.0.2": version: 9.0.2 resolution: "postcss-custom-properties@npm:9.0.2" @@ -24617,42 +24541,6 @@ __metadata: languageName: node linkType: hard -"postcss-discard-comments@npm:^4.0.1, postcss-discard-comments@npm:^4.0.2": - version: 4.0.2 - resolution: "postcss-discard-comments@npm:4.0.2" - dependencies: - postcss: ^7.0.0 - checksum: 7b357a3a4bbb2601ec0c659ed389de4334e185cfebbd991bed4c69d83905ec49b5a988d4b4ee1ea8db5b6f8b66b93f8590c16cf5c22f7efe5bde2ed1cad4ccce - languageName: node - linkType: hard - -"postcss-discard-duplicates@npm:^4.0.2": - version: 4.0.2 - resolution: "postcss-discard-duplicates@npm:4.0.2" - dependencies: - postcss: ^7.0.0 - checksum: 128342e2b913f0dd6f844519049dfb9a7fd82e0680e28d8e8111314af2137fe6b6d8af3503e775b8df56727d18a1dfc76cdb9944c615bf00cecacbde915e199f - languageName: node - linkType: hard - -"postcss-discard-empty@npm:^4.0.1": - version: 4.0.1 - resolution: "postcss-discard-empty@npm:4.0.1" - dependencies: - postcss: ^7.0.0 - checksum: f06a00331cef0ba05362060642b3661fff63a1a02803984ce071e3af71061ee40083953021ae0665e6c650193f25b9155dca8c94cfe78a4d1b667a5e2d3e738d - languageName: node - linkType: hard - -"postcss-discard-overridden@npm:^4.0.1": - version: 4.0.1 - resolution: "postcss-discard-overridden@npm:4.0.1" - dependencies: - postcss: ^7.0.0 - checksum: be24bca265926d22af134ed3ede7a2a27d65e32c5e5ebe3b83603e84599fc2b5587e3e0344c01e4e660f9f4072100ee6d1b56bacd0a6d428f2e0e0acd9bd4046 - languageName: node - linkType: hard - "postcss-flexbugs-fixes@npm:^4.1.0": version: 4.1.0 resolution: "postcss-flexbugs-fixes@npm:4.1.0" @@ -24737,80 +24625,6 @@ __metadata: languageName: node linkType: hard -"postcss-merge-longhand@npm:^4.0.11": - version: 4.0.11 - resolution: "postcss-merge-longhand@npm:4.0.11" - dependencies: - css-color-names: 0.0.4 - postcss: ^7.0.0 - postcss-value-parser: ^3.0.0 - stylehacks: ^4.0.0 - checksum: f6ae3d8f2b07d30de78b17d7f58828571bf161d1a1d99d9371a59e1f0b18f13b7b684b34bf2b4c0d5c28e2d0eb0901a57b8c69ad558660aa3c81b9af16702cf6 - languageName: node - linkType: hard - -"postcss-merge-rules@npm:^4.0.3": - version: 4.0.3 - resolution: "postcss-merge-rules@npm:4.0.3" - dependencies: - browserslist: ^4.0.0 - caniuse-api: ^3.0.0 - cssnano-util-same-parent: ^4.0.0 - postcss: ^7.0.0 - postcss-selector-parser: ^3.0.0 - vendors: ^1.0.0 - checksum: 18907817119fa00c5b016631c5e623d59061a0ae2a5e54069b19af0c09cde66ed11db8f585f33be0231f55a925beb13edc17b5336c3421050ce8e7d5708b27b9 - languageName: node - linkType: hard - -"postcss-minify-font-values@npm:^4.0.2": - version: 4.0.2 - resolution: "postcss-minify-font-values@npm:4.0.2" - dependencies: - postcss: ^7.0.0 - postcss-value-parser: ^3.0.0 - checksum: 9fc541821f5235f4ea38fdd2671bd1d624894375e044e3f4de3bb161217a4f1501da72f4485e130b8b750c0c6d32ba36cd82ec3d252a07943006b62308938a3c - languageName: node - linkType: hard - -"postcss-minify-gradients@npm:^4.0.2": - version: 4.0.2 - resolution: "postcss-minify-gradients@npm:4.0.2" - dependencies: - cssnano-util-get-arguments: ^4.0.0 - is-color-stop: ^1.0.0 - postcss: ^7.0.0 - postcss-value-parser: ^3.0.0 - checksum: 4c54f4fa49c8b7568b92c2e29bb15602e384837f95f278efb1792f3d650a2b7ff0a2115f62d90b18bc77b94f0bab9a9035ce1fb73953d6046e14e754ae8680af - languageName: node - linkType: hard - -"postcss-minify-params@npm:^4.0.2": - version: 4.0.2 - resolution: "postcss-minify-params@npm:4.0.2" - dependencies: - alphanum-sort: ^1.0.0 - browserslist: ^4.0.0 - cssnano-util-get-arguments: ^4.0.0 - postcss: ^7.0.0 - postcss-value-parser: ^3.0.0 - uniqs: ^2.0.0 - checksum: dbcb82b7b16fece458fa677d1a9da5f5b4984a1880ef51a50f554d31e1825c52e33b08357fef3a4077faa06e78cdc765dc8757482ca18703e72e2826694d4937 - languageName: node - linkType: hard - -"postcss-minify-selectors@npm:^4.0.2": - version: 4.0.2 - resolution: "postcss-minify-selectors@npm:4.0.2" - dependencies: - alphanum-sort: ^1.0.0 - has: ^1.0.0 - postcss: ^7.0.0 - postcss-selector-parser: ^3.0.0 - checksum: 8fde92b5561ceb5dfbede1000457a022b231634daccfec0afeda799aedf21cb0ab52e38dc4c16110aed557c4cbc91570f71c3d5f58de419fd662ccb0656cd43d - languageName: node - linkType: hard - "postcss-modules-extract-imports@npm:^2.0.0": version: 2.0.0 resolution: "postcss-modules-extract-imports@npm:2.0.0" @@ -24852,140 +24666,6 @@ __metadata: languageName: node linkType: hard -"postcss-normalize-charset@npm:^4.0.1": - version: 4.0.1 - resolution: "postcss-normalize-charset@npm:4.0.1" - dependencies: - postcss: ^7.0.0 - checksum: 4e40b321c45c1d8428ac9e6d7bc63ca92be5d4f65747e9b2d34e8d59bcc42a6b1a6fa9f0781e45f29c8fa0221299a61dc8b2b2a7314653e9841c6512d7820e79 - languageName: node - linkType: hard - -"postcss-normalize-display-values@npm:^4.0.2": - version: 4.0.2 - resolution: "postcss-normalize-display-values@npm:4.0.2" - dependencies: - cssnano-util-get-match: ^4.0.0 - postcss: ^7.0.0 - postcss-value-parser: ^3.0.0 - checksum: 4bd5952f1c0a5cf2a731a84b1ce218f6d9df7d2304233449bb82aa7a54c5a150cbdcb4160297206b017dce03b170e7e1a5c85a75a470b878c85b3eeabf652626 - languageName: node - linkType: hard - -"postcss-normalize-positions@npm:^4.0.2": - version: 4.0.2 - resolution: "postcss-normalize-positions@npm:4.0.2" - dependencies: - cssnano-util-get-arguments: ^4.0.0 - has: ^1.0.0 - postcss: ^7.0.0 - postcss-value-parser: ^3.0.0 - checksum: 9d7d79703adeede66302169559603ef314b02acada5f9ff99748d54d6b91386ca0d39ffc0d13c203e8b09fe106ee55504aa5b693d9928766ba2487dd67e0c48d - languageName: node - linkType: hard - -"postcss-normalize-repeat-style@npm:^4.0.2": - version: 4.0.2 - resolution: "postcss-normalize-repeat-style@npm:4.0.2" - dependencies: - cssnano-util-get-arguments: ^4.0.0 - cssnano-util-get-match: ^4.0.0 - postcss: ^7.0.0 - postcss-value-parser: ^3.0.0 - checksum: dcb89339fd8e2411e0f14dec0b22976459b1ad8ced45d5e0a7cc9f8b4ce2a0562dc92f850192c089387541bc931d9cc7cac105cc85f6e5918b80c27669e3f68d - languageName: node - linkType: hard - -"postcss-normalize-string@npm:^4.0.2": - version: 4.0.2 - resolution: "postcss-normalize-string@npm:4.0.2" - dependencies: - has: ^1.0.0 - postcss: ^7.0.0 - postcss-value-parser: ^3.0.0 - checksum: 91116aa9c6c85b3b2ba09f85e31c1e23650e4204ce8936dfd3b46585d7c69e19b6359aa87415ad8b6041a87b7b218cd2c732e5a7b7b5be754e95a41ad6439696 - languageName: node - linkType: hard - -"postcss-normalize-timing-functions@npm:^4.0.2": - version: 4.0.2 - resolution: "postcss-normalize-timing-functions@npm:4.0.2" - dependencies: - cssnano-util-get-match: ^4.0.0 - postcss: ^7.0.0 - postcss-value-parser: ^3.0.0 - checksum: 92bca529aacd9cc0189cf809a2de77d3f4d035ceea6c63365cb6247516ab6cc6525b826a1288c8d77ed1ed21f2f24eb052dd570fb38e95f89e95d2c0eefa82b7 - languageName: node - linkType: hard - -"postcss-normalize-unicode@npm:^4.0.1": - version: 4.0.1 - resolution: "postcss-normalize-unicode@npm:4.0.1" - dependencies: - browserslist: ^4.0.0 - postcss: ^7.0.0 - postcss-value-parser: ^3.0.0 - checksum: 84714ba7c1d0d304d7227ddf53f754b3dde4f6f00d7d4456d925e504e986c1210786a1a4b59e1d127b4a8d1786a9def716f13868b5a622d078f7950404c69392 - languageName: node - linkType: hard - -"postcss-normalize-url@npm:^4.0.1": - version: 4.0.1 - resolution: "postcss-normalize-url@npm:4.0.1" - dependencies: - is-absolute-url: ^2.0.0 - normalize-url: ^3.0.0 - postcss: ^7.0.0 - postcss-value-parser: ^3.0.0 - checksum: 76d75e27e95a563a6f698c83bff4254d7bae916f48ff1b28b4750dc7f07b4fd67699fb3737bc0c9b077ed5ed676a19993597d4208c20d773fcbfa48b39cd9066 - languageName: node - linkType: hard - -"postcss-normalize-whitespace@npm:^4.0.2": - version: 4.0.2 - resolution: "postcss-normalize-whitespace@npm:4.0.2" - dependencies: - postcss: ^7.0.0 - postcss-value-parser: ^3.0.0 - checksum: 7093ca8313659807290f6b039e9064787e777002cf7c84f896667c2c9cf6d349c32b809153dcf5475145ae6a6c2d198a769681ec16321ca227db4b682a5f5344 - languageName: node - linkType: hard - -"postcss-ordered-values@npm:^4.1.2": - version: 4.1.2 - resolution: "postcss-ordered-values@npm:4.1.2" - dependencies: - cssnano-util-get-arguments: ^4.0.0 - postcss: ^7.0.0 - postcss-value-parser: ^3.0.0 - checksum: 6f394641453559d51aecbd61301293b9a274cb5774c47de7488d559597354924c7b11ea66ec009b960d80f0945fc92fde33c3380463b039e8d00b8a0e57037ab - languageName: node - linkType: hard - -"postcss-reduce-initial@npm:^4.0.3": - version: 4.0.3 - resolution: "postcss-reduce-initial@npm:4.0.3" - dependencies: - browserslist: ^4.0.0 - caniuse-api: ^3.0.0 - has: ^1.0.0 - postcss: ^7.0.0 - checksum: ed276a820860d13cccd794954ed759af1e2278bfa2c863bb120ebd307404b2f8a1525e307b5ef9295d2b02ee72b1a8b31bfc2cf33d377ec0c7ca77d225298c3e - languageName: node - linkType: hard - -"postcss-reduce-transforms@npm:^4.0.2": - version: 4.0.2 - resolution: "postcss-reduce-transforms@npm:4.0.2" - dependencies: - cssnano-util-get-match: ^4.0.0 - has: ^1.0.0 - postcss: ^7.0.0 - postcss-value-parser: ^3.0.0 - checksum: 2bf993ff44b4e7b1c242955cf437d502447b93dcadfd812cecca0b4aa7ed8779b8c27c09a8c244b957aaef54ebdcd525a3f67b800a0c9a081775a31b245340ba - languageName: node - linkType: hard - "postcss-reporter@npm:^6.0.0, postcss-reporter@npm:^6.0.1": version: 6.0.1 resolution: "postcss-reporter@npm:6.0.1" @@ -25043,7 +24723,7 @@ __metadata: languageName: node linkType: hard -"postcss-selector-parser@npm:^3.0.0, postcss-selector-parser@npm:^3.1.0": +"postcss-selector-parser@npm:^3.1.0": version: 3.1.2 resolution: "postcss-selector-parser@npm:3.1.2" dependencies: @@ -25054,17 +24734,6 @@ __metadata: languageName: node linkType: hard -"postcss-selector-parser@npm:^5.0.0-rc.4": - version: 5.0.0 - resolution: "postcss-selector-parser@npm:5.0.0" - dependencies: - cssesc: ^2.0.0 - indexes-of: ^1.0.1 - uniq: ^1.0.1 - checksum: eabe69f66f66c7469d7c1618821235d474c9f96d77d7247cb1d5e7481d0ad9b2f632bf5dd8a8a895f1a00df93b10b6c02a61e6f276406d61503ffb0bd67cf5cd - languageName: node - linkType: hard - "postcss-selector-parser@npm:^6.0.0, postcss-selector-parser@npm:^6.0.2": version: 6.0.2 resolution: "postcss-selector-parser@npm:6.0.2" @@ -25096,18 +24765,6 @@ __metadata: languageName: node linkType: hard -"postcss-svgo@npm:^4.0.2": - version: 4.0.2 - resolution: "postcss-svgo@npm:4.0.2" - dependencies: - is-svg: ^3.0.0 - postcss: ^7.0.0 - postcss-value-parser: ^3.0.0 - svgo: ^1.0.0 - checksum: a2a6e324fc1d15523aa6b70649a6afa1bc31f7457ffc3819601508424e35d0b1369463a84b4845d7218463198e1ee1db0234bd48766f925278c9f8272c731ece - languageName: node - linkType: hard - "postcss-syntax@npm:^0.36.2": version: 0.36.2 resolution: "postcss-syntax@npm:0.36.2" @@ -25117,18 +24774,7 @@ __metadata: languageName: node linkType: hard -"postcss-unique-selectors@npm:^4.0.1": - version: 4.0.1 - resolution: "postcss-unique-selectors@npm:4.0.1" - dependencies: - alphanum-sort: ^1.0.0 - postcss: ^7.0.0 - uniqs: ^2.0.0 - checksum: 1f1fdc108654b6d08e499b1b4227a8023f01376ca15f461fe5c62a07bc2b553e688ca2d7e60c7443ce372d09c8121d79a402272d6880785c8659067922622c2a - languageName: node - linkType: hard - -"postcss-value-parser@npm:^3.0.0, postcss-value-parser@npm:^3.3.0, postcss-value-parser@npm:^3.3.1": +"postcss-value-parser@npm:^3.3.0": version: 3.3.1 resolution: "postcss-value-parser@npm:3.3.1" checksum: 834603f6bd822846cc20b1f95e648dea67353eb506898cc5fb540b32e9a956c1030754b9503270eb00c61c3734409d7ec94fba2b4f0a89954bc855bad7e9267c @@ -25191,6 +24837,13 @@ __metadata: languageName: node linkType: hard +"prepend-http@npm:^2.0.0": + version: 2.0.0 + resolution: "prepend-http@npm:2.0.0" + checksum: d39325775adce38e18213fd19656af4abd7672ef6b1e330437079bb237de011d49a70bfb56b35037603d30ef279cceddb33794f70168582d50845c2ade29968e + languageName: node + linkType: hard + "preserve@npm:^0.2.0": version: 0.2.0 resolution: "preserve@npm:0.2.0" @@ -25797,6 +25450,15 @@ __metadata: languageName: node linkType: hard +"pupa@npm:^2.0.1": + version: 2.1.1 + resolution: "pupa@npm:2.1.1" + dependencies: + escape-goat: ^2.0.0 + checksum: b300d979e1bcc388b0aabe723e9bd7f6598f02a10e66b693b9dde6249f68ad95e93804a1511dbbafd172e404b837d60c49ebdd152e3e94909dc282ca4ba285e8 + languageName: node + linkType: hard + "puppeteer@npm:^1.4.0": version: 1.20.0 resolution: "puppeteer@npm:1.20.0" @@ -26578,7 +26240,7 @@ __metadata: languageName: node linkType: hard -"readable-stream@npm:1 || 2, readable-stream@npm:2, readable-stream@npm:^2.0.0, readable-stream@npm:^2.0.1, readable-stream@npm:^2.0.2, readable-stream@npm:^2.0.4, readable-stream@npm:^2.0.5, readable-stream@npm:^2.0.6, readable-stream@npm:^2.1.4, readable-stream@npm:^2.1.5, readable-stream@npm:^2.2.2, readable-stream@npm:^2.3.3, readable-stream@npm:^2.3.5, readable-stream@npm:^2.3.6, readable-stream@npm:^2.3.7, readable-stream@npm:~2.3.6": +"readable-stream@npm:1 || 2, readable-stream@npm:2, readable-stream@npm:^2.0.0, readable-stream@npm:^2.0.1, readable-stream@npm:^2.0.2, readable-stream@npm:^2.0.5, readable-stream@npm:^2.0.6, readable-stream@npm:^2.1.4, readable-stream@npm:^2.1.5, readable-stream@npm:^2.2.2, readable-stream@npm:^2.3.3, readable-stream@npm:^2.3.5, readable-stream@npm:^2.3.6, readable-stream@npm:^2.3.7, readable-stream@npm:~2.3.6": version: 2.3.7 resolution: "readable-stream@npm:2.3.7" dependencies: @@ -26932,6 +26594,15 @@ __metadata: languageName: node linkType: hard +"registry-auth-token@npm:^4.0.0": + version: 4.2.1 + resolution: "registry-auth-token@npm:4.2.1" + dependencies: + rc: ^1.2.8 + checksum: 10ca9caeea81da4a9e52f1932c5aa0fc67cc7301df48a768260e946df354dfde8ccd0c2f1caa1b66b49620bb696d18eb2f4be93c55f0217439e2ab116d6c32a4 + languageName: node + linkType: hard + "registry-url@npm:^3.0.3": version: 3.1.0 resolution: "registry-url@npm:3.1.0" @@ -26941,6 +26612,15 @@ __metadata: languageName: node linkType: hard +"registry-url@npm:^5.0.0": + version: 5.1.0 + resolution: "registry-url@npm:5.1.0" + dependencies: + rc: ^1.2.8 + checksum: 50802a1d43efb18505ffc1f242b8af43bde95e95ac2461f453ef21d4bce793d4230076147809f1ade7452afaa537c6e0324dd4a7bc9d83f1b6f5cc7e1300c544 + languageName: node + linkType: hard + "regjsgen@npm:^0.5.1": version: 0.5.2 resolution: "regjsgen@npm:0.5.2" @@ -27278,7 +26958,7 @@ __metadata: languageName: node linkType: hard -"replace-in-file@npm:^3.4.2, replace-in-file@npm:^3.4.4": +"replace-in-file@npm:^3.4.2": version: 3.4.4 resolution: "replace-in-file@npm:3.4.4" dependencies: @@ -27291,6 +26971,19 @@ __metadata: languageName: node linkType: hard +"replace-in-file@npm:^6.1.0": + version: 6.1.0 + resolution: "replace-in-file@npm:6.1.0" + dependencies: + chalk: ^4.0.0 + glob: ^7.1.6 + yargs: ^15.3.1 + bin: + replace-in-file: bin/cli.js + checksum: 94b48806e6eebc614aa6ab8082152a151b611125f2c565692d5b6b677a483f76ed4a0dafbc39a2c4243bb009571bdcfad1cc33a3da1bdc247866d8b9c03cabaa + languageName: node + linkType: hard + "request-promise-core@npm:1.1.3": version: 1.1.3 resolution: "request-promise-core@npm:1.1.3" @@ -27520,12 +27213,13 @@ resolve@1.1.x: languageName: node linkType: hard -"resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.11.0, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.14.2, resolve@^1.17.0, resolve@^1.3.2, resolve@^1.4.0, resolve@^1.8.1": - version: 1.17.0 - resolution: "resolve@npm:1.17.0" +"resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.11.0, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.14.2, resolve@^1.17.0, resolve@^1.19.0, resolve@^1.3.2, resolve@^1.4.0, resolve@^1.8.1": + version: 1.19.0 + resolution: "resolve@npm:1.19.0" dependencies: + is-core-module: ^2.1.0 path-parse: ^1.0.6 - checksum: 5e3cdb8cf68c20b0c5edeb6505e7fab20c6776af0cae4b978836e557420aef7bb50acd25339bbb143b7f80533aa1988c7e827a0061aee9c237926a7d2c41f8d0 + checksum: 8b23c7fde1224898ffb9fec2a2295a44d1564981343bdbf5fd3769465658f6a6f6647bb7ea66dfb3c1291ca86046b0233be2edfcd8ca05b38886521e8869677c languageName: node linkType: hard @@ -27536,12 +27230,13 @@ resolve@1.1.x: languageName: node linkType: hard -"resolve@patch:resolve@^1.1.6#builtin, resolve@patch:resolve@^1.1.7#builtin, resolve@patch:resolve@^1.10.0#builtin, resolve@patch:resolve@^1.11.0#builtin, resolve@patch:resolve@^1.12.0#builtin, resolve@patch:resolve@^1.13.1#builtin, resolve@patch:resolve@^1.14.2#builtin, resolve@patch:resolve@^1.17.0#builtin, resolve@patch:resolve@^1.3.2#builtin, resolve@patch:resolve@^1.4.0#builtin, resolve@patch:resolve@^1.8.1#builtin": - version: 1.17.0 - resolution: "resolve@patch:resolve@npm%3A1.17.0#builtin::version=1.17.0&hash=3388aa" +"resolve@patch:resolve@^1.1.6#builtin, resolve@patch:resolve@^1.1.7#builtin, resolve@patch:resolve@^1.10.0#builtin, resolve@patch:resolve@^1.11.0#builtin, resolve@patch:resolve@^1.12.0#builtin, resolve@patch:resolve@^1.13.1#builtin, resolve@patch:resolve@^1.14.2#builtin, resolve@patch:resolve@^1.17.0#builtin, resolve@patch:resolve@^1.19.0#builtin, resolve@patch:resolve@^1.3.2#builtin, resolve@patch:resolve@^1.4.0#builtin, resolve@patch:resolve@^1.8.1#builtin": + version: 1.19.0 + resolution: "resolve@patch:resolve@npm%3A1.19.0#builtin::version=1.19.0&hash=3388aa" dependencies: + is-core-module: ^2.1.0 path-parse: ^1.0.6 - checksum: 4bcfb568860d0c361fd16c26b6fce429711138ff0de7dd353bdd73fcb5c7eede2f4602d40ccfa08ff45ec7ef9830845eab2021a46036af0a6e5b58bab1ff6399 + checksum: 188d5167e8578a9af8d194faf382b8f3526aad5145391c24ecdc6246c6fc82c10fc66d6352267f8e93c5977c503d61803169c91b9e2ee36dd2de759915c9b673 languageName: node linkType: hard @@ -27555,6 +27250,15 @@ resolve@1.1.x: languageName: node linkType: hard +"responselike@npm:^1.0.2": + version: 1.0.2 + resolution: "responselike@npm:1.0.2" + dependencies: + lowercase-keys: ^1.0.0 + checksum: c904f1499418d0729e9592079ea653c8fd35d50a7cca1a17d58ef3137382f915cbd344daaa7fe2e2b064a6d9fab4bcdd8b2ab963c523829427b440b775fba8fd + languageName: node + linkType: hard + "responselike@npm:^2.0.0": version: 2.0.0 resolution: "responselike@npm:2.0.0" @@ -27638,20 +27342,6 @@ resolve@1.1.x: languageName: node linkType: hard -"rgb-regex@npm:^1.0.1": - version: 1.0.1 - resolution: "rgb-regex@npm:1.0.1" - checksum: 7701e22ec451e55a919c88f61a8006c70d004cc06d09a3e4806b0ffaff2ac0138fbbb3896d0e21f716c745e4ad6ae62114bf0920a78c7381e994e57b73575baf - languageName: node - linkType: hard - -"rgba-regex@npm:^1.0.0": - version: 1.0.0 - resolution: "rgba-regex@npm:1.0.0" - checksum: 4ffb946276ee7d7259a518eae89a3c6cce99736449ebed2c88ab26a076543766c62194c7dd06b8e4f5375e91c6e9bd21ebfc3ddf4b143f3688f260cafd9d466b - languageName: node - linkType: hard - "right-align@npm:^0.1.1": version: 0.1.3 resolution: "right-align@npm:0.1.3" @@ -27717,7 +27407,7 @@ resolve@1.1.x: languageName: node linkType: hard -"rollup-plugin-commonjs@npm:^9.0.0, rollup-plugin-commonjs@npm:^9.2.0, rollup-plugin-commonjs@npm:^9.3.4": +"rollup-plugin-commonjs@npm:^9.0.0, rollup-plugin-commonjs@npm:^9.3.4": version: 9.3.4 resolution: "rollup-plugin-commonjs@npm:9.3.4" dependencies: @@ -27746,17 +27436,6 @@ resolve@1.1.x: languageName: node linkType: hard -"rollup-plugin-node-resolve@npm:^3.4.0": - version: 3.4.0 - resolution: "rollup-plugin-node-resolve@npm:3.4.0" - dependencies: - builtin-modules: ^2.0.0 - is-module: ^1.0.0 - resolve: ^1.1.6 - checksum: f6c71c23686813fb138cfb691f0a39497e80ed5ab70159aebc5e4ec9f6e692b907c54a84041803b73f744961594a6944c793f21ba4aceb82942934a131ce21cb - languageName: node - linkType: hard - "rollup-plugin-node-resolve@npm:^4.0.0, rollup-plugin-node-resolve@npm:^4.2.3": version: 4.2.4 resolution: "rollup-plugin-node-resolve@npm:4.2.4" @@ -27866,18 +27545,6 @@ resolve@1.1.x: languageName: node linkType: hard -"rollup@npm:^0.67.1": - version: 0.67.4 - resolution: "rollup@npm:0.67.4" - dependencies: - "@types/estree": 0.0.39 - "@types/node": "*" - bin: - rollup: ./bin/rollup - checksum: 1577cd22c5db1f97d275cb7ca7ed2c644e84b30e25abc13b14fc26f3f55f5d310750b8bc59acd410b6c9060d688359c036e28243e184ffb27d21dc980f4c1cc9 - languageName: node - linkType: hard - "rollup@npm:^1.0.0, rollup@npm:^1.10.0, rollup@npm:^1.15.1": version: 1.29.1 resolution: "rollup@npm:1.29.1" @@ -27891,9 +27558,9 @@ resolve@1.1.x: languageName: node linkType: hard -"rollup@npm:^2.17.0": - version: 2.17.0 - resolution: "rollup@npm:2.17.0" +"rollup@npm:^2.17.0, rollup@npm:^2.36.1": + version: 2.36.1 + resolution: "rollup@npm:2.36.1" dependencies: fsevents: ~2.1.2 dependenciesMeta: @@ -27901,7 +27568,7 @@ resolve@1.1.x: optional: true bin: rollup: dist/bin/rollup - checksum: eee94f1c8354d01850cbea390d9de043a6835d49491b59592d3bc597c6dd37d0e03ca57d54b62c8eb24295a1755bd3849c29f0406abfde30deafa63c3a479ac8 + checksum: bb48730bf382d6439012a1504a8ca2f676657b472e9fbf72f726701c3091325229e1501c75088f4feebf6c9eb54cfc01353a11b50d3b0b9fa23764aaf5fca38c languageName: node linkType: hard @@ -28040,14 +27707,14 @@ resolve@1.1.x: languageName: node linkType: hard -"safe-wipe@npm:0.2.4": - version: 0.2.4 - resolution: "safe-wipe@npm:0.2.4" +"safe-wipe@npm:0.2.5": + version: 0.2.5 + resolution: "safe-wipe@npm:0.2.5" dependencies: - extend: 2.* + extend: ^3.0.2 q: 1.* rimraf: 2.* - checksum: 4f0389f9dea71838d1e5597982d4a85f072ba27217722b45fe0f9aba742c92aedac9a3ce69638db797865268522a62b2070bd0172f84d1cda3ca32cf852554fd + checksum: 3043187f62e018bd62f5f7067358b3ee6baa8fb2b5d67d7fdc33903816952649de6dbf772e7c3f0b97e041c13e1764a42acd99c7840e50284ed23853ea7a581a languageName: node linkType: hard @@ -28184,14 +27851,14 @@ resolve@1.1.x: languageName: node linkType: hard -"sass@npm:^1.24.5": - version: 1.25.0 - resolution: "sass@npm:1.25.0" +"sass@npm:^1.24.5, sass@npm:^1.32.4": + version: 1.32.4 + resolution: "sass@npm:1.32.4" dependencies: chokidar: ">=2.0.0 <4.0.0" bin: sass: sass.js - checksum: 0e5e0bb9eba11d0d7fd7a8db77b49645e9eff383db3763f078ec0467ac1c0ce66312f1477b7acc083946e107a8dd7a0e210df6cb9faae257031bc6268184cd69 + checksum: d7ff2252fe702f122bb002f6b65a785213dd2e8c738b247b910d34c959a77215cce93655ceddd08ce1a7fecbb9fb6c376924d271fd9d9af036699d3076c2a4fd languageName: node linkType: hard @@ -28221,37 +27888,37 @@ resolve@1.1.x: languageName: node linkType: hard -"sassdoc@npm:^2.5.1": - version: 2.7.1 - resolution: "sassdoc@npm:2.7.1" +"sassdoc@npm:^2.7.3": + version: 2.7.3 + resolution: "sassdoc@npm:2.7.3" dependencies: - ansi-styles: ^3.2.1 + ansi-styles: ^4.2.1 babel-runtime: ^6.26.0 chalk: ^2.4.2 - concat-stream: ^1.6.2 + concat-stream: ^2.0.0 docopt: ^0.6.1 - glob: ^7.1.4 + glob: ^7.1.6 glob2base: 0.0.12 - js-yaml: ^3.13.1 + js-yaml: ^3.14.0 lodash.difference: ^4.5.0 lodash.uniq: ^4.5.0 minimatch: ^3.0.4 - mkdirp: ^0.5.0 + mkdirp: ^1.0.4 multipipe: 1.0.2 - rimraf: ^2.6.2 - safe-wipe: 0.2.4 + rimraf: ^3.0.2 + safe-wipe: 0.2.5 sass-convert: ^0.5.0 sassdoc-theme-default: ^2.8.3 scss-comment-parser: ^0.8.4 - strip-indent: ^2.0.0 + strip-indent: ^3.0.0 through2: 1.1.1 - update-notifier: ^2.5.0 - vinyl-fs: ^2.4.4 - vinyl-source-stream: ^1.0.0 + update-notifier: ^4.1.0 + vinyl-fs: ^3.0.3 + vinyl-source-stream: 1.1.2 vinyl-string: ^1.0.2 bin: sassdoc: bin/sassdoc - checksum: bcb06d3dfe1ae144779d8232ba0d7c668e39b07efcdee81403a1b764b05cbfcfd0a76317f98a263bb45b5d36b0501e61d20626abab492ce12b45ba56fabe1e14 + checksum: 946d69cbcf32c4341edf2bea7d79eb6144ce3ca520867ba776e6368e70313683d7d8be384f46910da472ac8b35a82e76b02b7d5f963719affd9494ef666696b0 languageName: node linkType: hard @@ -28380,6 +28047,15 @@ resolve@1.1.x: languageName: node linkType: hard +"semver-diff@npm:^3.1.1": + version: 3.1.1 + resolution: "semver-diff@npm:3.1.1" + dependencies: + semver: ^6.3.0 + checksum: d5c9b693e6118bf56226b52fe4bb51f1f05fd7b91bd7979d3d01b32d4e136e16e4ea110f28f0690608712473d682e7a71a05f0ab65b8ba4a70d63b536d4c6278 + languageName: node + linkType: hard + "semver-greatest-satisfied-range@npm:^1.1.0": version: 1.1.0 resolution: "semver-greatest-satisfied-range@npm:1.1.0" @@ -28499,14 +28175,14 @@ resolve@1.1.x: languageName: node linkType: hard -"sentence-case@npm:^3.0.3": - version: 3.0.3 - resolution: "sentence-case@npm:3.0.3" +"sentence-case@npm:^3.0.4": + version: 3.0.4 + resolution: "sentence-case@npm:3.0.4" dependencies: - no-case: ^3.0.3 - tslib: ^1.10.0 - upper-case-first: ^2.0.1 - checksum: cfa123198b9c5303b0c132bd8dd9c456513fa6798264e5f492e0a9cb9d08643dfc40ed7d678940e2162aa1795de9843962cffea082b7586ae650bd1b2be37a96 + no-case: ^3.0.4 + tslib: ^2.0.3 + upper-case-first: ^2.0.2 + checksum: 39bf70b87190064fdccd357ebd78ea9196a260ee6b87893b5099aa54af92f5a49676fa9f94c7ccf501a3fa0d72e3438237c110022b6cec760d6dd921b1bf16f7 languageName: node linkType: hard @@ -28945,13 +28621,13 @@ resolve@1.1.x: languageName: node linkType: hard -"snake-case@npm:^3.0.3": - version: 3.0.3 - resolution: "snake-case@npm:3.0.3" +"snake-case@npm:^3.0.4": + version: 3.0.4 + resolution: "snake-case@npm:3.0.4" dependencies: - dot-case: ^3.0.3 - tslib: ^1.10.0 - checksum: e14d63f5e7f22ef95f7a7a4d79919eb1b0b50f4351dfb2af415258e9159512a4f220c5358dd6125f243a9cbac9ccb7eddc6b47d5fe3bf58ff323cce6b03c0af5 + dot-case: ^3.0.4 + tslib: ^2.0.3 + checksum: f087328861d81e6476996b837b91f9daaa063fd03cb2f0cd35276c5aaa03e7ac7acfd94721028ae5119193a6fc0a9c91123ea7a43e59650f076dac06428c8bf2 languageName: node linkType: hard @@ -30177,16 +29853,6 @@ resolve@1.1.x: languageName: node linkType: hard -"strip-bom-stream@npm:^1.0.0": - version: 1.0.0 - resolution: "strip-bom-stream@npm:1.0.0" - dependencies: - first-chunk-stream: ^1.0.0 - strip-bom: ^2.0.0 - checksum: 049d98f217619195e3d39712f2562c51ce1ebbe22dba49a5f6fcda0e6d87f90e6156a53695cbad0dcafa8b110b7eec27889403ec1a9041ad13e870afc9b049e1 - languageName: node - linkType: hard - "strip-bom-string@npm:1.X": version: 1.0.0 resolution: "strip-bom-string@npm:1.0.0" @@ -30359,17 +30025,6 @@ resolve@1.1.x: languageName: node linkType: hard -"stylehacks@npm:^4.0.0": - version: 4.0.3 - resolution: "stylehacks@npm:4.0.3" - dependencies: - browserslist: ^4.0.0 - postcss: ^7.0.0 - postcss-selector-parser: ^3.0.0 - checksum: 1345ad348db3c98f7d0423762e13e816a8c1ba0b1d90d79f3528513be429f1cf68b7fa9c9d379870208586e7ff4cfb68b4121bbd904df03b17e84d62efcff288 - languageName: node - linkType: hard - "stylelint-config-carbon@workspace:config/stylelint-config-carbon": version: 0.0.0-use.local resolution: "stylelint-config-carbon@workspace:config/stylelint-config-carbon" @@ -30713,7 +30368,7 @@ resolve@1.1.x: languageName: node linkType: hard -"svgo@npm:^1.0.0, svgo@npm:^1.1.1, svgo@npm:^1.2.2": +"svgo@npm:^1.1.1, svgo@npm:^1.2.2": version: 1.3.2 resolution: "svgo@npm:1.3.2" dependencies: @@ -31187,16 +30842,6 @@ resolve@1.1.x: languageName: node linkType: hard -"through2-filter@npm:^2.0.0": - version: 2.0.0 - resolution: "through2-filter@npm:2.0.0" - dependencies: - through2: ~2.0.0 - xtend: ~4.0.0 - checksum: 27b4eb5333878ab0e33777ce80de7d58b05a20953d4726ea588a8f2951e56aa83f025078ef602327849ef43b0fcdd6d33e692057873f3dc608710e03bfe3e698 - languageName: node - linkType: hard - "through2-filter@npm:^3.0.0": version: 3.0.0 resolution: "through2-filter@npm:3.0.0" @@ -31227,7 +30872,7 @@ resolve@1.1.x: languageName: node linkType: hard -"through2@npm:^0.6.0, through2@npm:^0.6.1, through2@npm:^0.6.3, through2@npm:~0.6.1": +"through2@npm:^0.6.1, through2@npm:^0.6.3, through2@npm:~0.6.1": version: 0.6.5 resolution: "through2@npm:0.6.5" dependencies: @@ -31307,13 +30952,6 @@ resolve@1.1.x: languageName: node linkType: hard -"timsort@npm:^0.3.0": - version: 0.3.0 - resolution: "timsort@npm:0.3.0" - checksum: d8300c3ecf1a3751413de82b04ad283b461ab6fb1041820c825d13b4ae74526e2101ab5fb84c57a0c6e1f4d7f67173b5d8754ed8bb7447c6a9ce1db8562eb82c - languageName: node - linkType: hard - "tiny-emitter@npm:^2.0.0": version: 2.1.0 resolution: "tiny-emitter@npm:2.1.0" @@ -31380,15 +31018,6 @@ resolve@1.1.x: languageName: node linkType: hard -"to-absolute-glob@npm:^0.1.1": - version: 0.1.1 - resolution: "to-absolute-glob@npm:0.1.1" - dependencies: - extend-shallow: ^2.0.1 - checksum: ee19fc39e52e140aa691fa3a9638b3b03b0d108a4875bbf7fa9d33cd053a6ca75658e2bf395108d6ee37561576b093b7d960b4fe0cb7a47bd670941fc9f83728 - languageName: node - linkType: hard - "to-absolute-glob@npm:^2.0.0": version: 2.0.2 resolution: "to-absolute-glob@npm:2.0.2" @@ -31443,6 +31072,13 @@ resolve@1.1.x: languageName: node linkType: hard +"to-readable-stream@npm:^1.0.0": + version: 1.0.0 + resolution: "to-readable-stream@npm:1.0.0" + checksum: aa4b65d3e7a60d7b51204585187bdfd2159788a22ec241451c782552699e8dec39dcb8a9cd4957e03f32191ca18d3ea80abd9bb40005a8f1631df8fbba22b413 + languageName: node + linkType: hard + "to-regex-range@npm:^2.1.0": version: 2.1.1 resolution: "to-regex-range@npm:2.1.1" @@ -31703,10 +31339,10 @@ resolve@1.1.x: languageName: node linkType: hard -"tslib@npm:^2.0.1": - version: 2.0.3 - resolution: "tslib@npm:2.0.3" - checksum: 447bfca5deaa157806c3f77eaba74d05dd0b38b014e47ce79d98b5c77ce7d91b00a687ba13ca1b5a74d35ca1098ac7a072c0a97fad06f0266612f2a03a6c8e8f +"tslib@npm:^2.0.1, tslib@npm:^2.0.3": + version: 2.1.0 + resolution: "tslib@npm:2.1.0" + checksum: d8f5bdd067611651c6b846c2388f4dc8ba1f5af124e66105f5263d1ad56da17f4b8c6566887ca2f205c5a9758451871ceca87d5d06087af2dca1699c5e33db69 languageName: node linkType: hard @@ -32113,13 +31749,6 @@ resolve@1.1.x: languageName: node linkType: hard -"uniqs@npm:^2.0.0": - version: 2.0.0 - resolution: "uniqs@npm:2.0.0" - checksum: f6467e9cb94e25d40e25dc600bec69ec5c6c3ba58ec168fecfd2a74cd8a92f54383dfbcbb9f8a50ba389c7e6e9cfd08e03ae80391792357d6a4e616f907af3f6 - languageName: node - linkType: hard - "unique-filename@npm:^1.1.1": version: 1.1.1 resolution: "unique-filename@npm:1.1.1" @@ -32412,6 +32041,27 @@ resolve@1.1.x: languageName: node linkType: hard +"update-notifier@npm:^4.1.0": + version: 4.1.3 + resolution: "update-notifier@npm:4.1.3" + dependencies: + boxen: ^4.2.0 + chalk: ^3.0.0 + configstore: ^5.0.1 + has-yarn: ^2.1.0 + import-lazy: ^2.1.0 + is-ci: ^2.0.0 + is-installed-globally: ^0.3.1 + is-npm: ^4.0.0 + is-yarn-global: ^0.3.0 + latest-version: ^5.0.0 + pupa: ^2.0.1 + semver-diff: ^3.1.1 + xdg-basedir: ^4.0.0 + checksum: 90362dcdf349651f92cffc6b9c1dfe6cb1035c1af3e4952316800d7aa05e98ba7bd291edd315aa215ce3f9b4b246f1fc2489a25c85c6fee8bdd0163731b3e1fa + languageName: node + linkType: hard + "update-section@npm:^0.3.0": version: 0.3.3 resolution: "update-section@npm:0.3.3" @@ -32419,12 +32069,12 @@ resolve@1.1.x: languageName: node linkType: hard -"upper-case-first@npm:^2.0.1": - version: 2.0.1 - resolution: "upper-case-first@npm:2.0.1" +"upper-case-first@npm:^2.0.2": + version: 2.0.2 + resolution: "upper-case-first@npm:2.0.2" dependencies: - tslib: ^1.10.0 - checksum: 35bd4852c8fd1806aff568ccf494c357b4ee4b8fb69a4164a74fc65c4bb5c826de433b0863d0699a5609a735d1818b733ac72bbaaa2d3f5dfe15fc377366dfcd + tslib: ^2.0.3 + checksum: b485994181366f0aced25ed7e3344ae3bfc06ce5430b4a8ec89a552bf57206a9471705561fa37075ee8a1058b5ebc91570746bf6f74f351aa1ab6156dfad5618 languageName: node linkType: hard @@ -32435,12 +32085,12 @@ resolve@1.1.x: languageName: node linkType: hard -"upper-case@npm:^2.0.1": - version: 2.0.1 - resolution: "upper-case@npm:2.0.1" +"upper-case@npm:^2.0.2": + version: 2.0.2 + resolution: "upper-case@npm:2.0.2" dependencies: - tslib: ^1.10.0 - checksum: 69c914af89d1257ae9390535c3ee7f0144e97dd9cc54038eb4488efb6f004dc2bfaf87aaefdfe521ed660c8c6f30539c82af59424b671dafc5510f8fc7506af5 + tslib: ^2.0.3 + checksum: db9adfeca3ba0ca98f197d8cbf5b97f424c30ac2bb5e672e68033cf2ea747e66d1e2ebc3921e947dad672869c65c6cb5257fe703142bca9c3aeefe802a0bc2e8 languageName: node linkType: hard @@ -32493,6 +32143,15 @@ resolve@1.1.x: languageName: node linkType: hard +"url-parse-lax@npm:^3.0.0": + version: 3.0.0 + resolution: "url-parse-lax@npm:3.0.0" + dependencies: + prepend-http: ^2.0.0 + checksum: 334817036b300c35023798b8ceac23ea61b51f231a867112e3a85778d65191a3ccb67e7b69b608d45433d55da392cf0d72cd3c85f2542f6ec34733e455c229d5 + languageName: node + linkType: hard + "url-parse@npm:^1.4.3": version: 1.4.7 resolution: "url-parse@npm:1.4.7" @@ -32713,13 +32372,6 @@ resolve@1.1.x: languageName: node linkType: hard -"vali-date@npm:^1.0.0": - version: 1.0.0 - resolution: "vali-date@npm:1.0.0" - checksum: f805612a4cdaf1c1f7052d4db97fa5085efeb1fa83b3d148e9fc5095d97a283d270b13911394ce613ef3a81f84d4e8b6dec76d8fa76665c48fc06d1f07bf82b0 - languageName: node - linkType: hard - "validate-npm-package-license@npm:^3.0.1, validate-npm-package-license@npm:^3.0.3": version: 3.0.4 resolution: "validate-npm-package-license@npm:3.0.4" @@ -32753,13 +32405,6 @@ resolve@1.1.x: languageName: node linkType: hard -"vendors@npm:^1.0.0": - version: 1.0.4 - resolution: "vendors@npm:1.0.4" - checksum: f49cf918e866901eb36e0dc85970fde99929a3f298e1c55b4e20517eda18e16fb57da3eee72801e7d371f9b33684492879ed5ceebae4d1bed48c6e1a62ef6e58 - languageName: node - linkType: hard - "verror@npm:1.10.0, verror@npm:^1.6.0": version: 1.10.0 resolution: "verror@npm:1.10.0" @@ -32841,32 +32486,7 @@ resolve@1.1.x: languageName: node linkType: hard -"vinyl-fs@npm:^2.4.4": - version: 2.4.4 - resolution: "vinyl-fs@npm:2.4.4" - dependencies: - duplexify: ^3.2.0 - glob-stream: ^5.3.2 - graceful-fs: ^4.0.0 - gulp-sourcemaps: 1.6.0 - is-valid-glob: ^0.3.0 - lazystream: ^1.0.0 - lodash.isequal: ^4.0.0 - merge-stream: ^1.0.0 - mkdirp: ^0.5.0 - object-assign: ^4.0.0 - readable-stream: ^2.0.4 - strip-bom: ^2.0.0 - strip-bom-stream: ^1.0.0 - through2: ^2.0.0 - through2-filter: ^2.0.0 - vali-date: ^1.0.0 - vinyl: ^1.0.0 - checksum: fb142d96fe15649c96a4790a5411237b8a53f3b074360e6fca62447e7b9a8ee511122d7d94ba51a92ebfe4a1b79385ad2d8c9ea1a46dd7d6e62fa70034fb7b91 - languageName: node - linkType: hard - -"vinyl-fs@npm:^3.0.0": +"vinyl-fs@npm:^3.0.0, vinyl-fs@npm:^3.0.3": version: 3.0.3 resolution: "vinyl-fs@npm:3.0.3" dependencies: @@ -32900,7 +32520,7 @@ resolve@1.1.x: languageName: node linkType: hard -"vinyl-source-stream@npm:^1.0.0": +"vinyl-source-stream@npm:1.1.2": version: 1.1.2 resolution: "vinyl-source-stream@npm:1.1.2" dependencies: @@ -32953,7 +32573,7 @@ resolve@1.1.x: languageName: node linkType: hard -"vinyl@npm:^1.0.0, vinyl@npm:^1.1.1, vinyl@npm:^1.2.0": +"vinyl@npm:^1.1.1, vinyl@npm:^1.2.0": version: 1.2.0 resolution: "vinyl@npm:1.2.0" dependencies: