diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 048fb3fd0..8ca77ecc3 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -26,8 +26,5 @@ jobs: - name: Install modules run: yarn - - name: Generate tokens - run: yarn tokens:generate - - name: Run Compile - run: yarn compile + run: yarn build:ui-library diff --git a/.node-version b/.node-version index 3c032078a..02c8b485e 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -18 +18.18.0 diff --git a/.vscode/extensions.json b/.vscode/extensions.json index dfa541a5e..2936e6213 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -4,6 +4,8 @@ "dbaeumer.vscode-eslint", "esbenp.prettier-vscode", "runem.lit-plugin", - "bierner.comment-tagged-templates" + "bierner.comment-tagged-templates", + "stylelint.vscode-stylelint", + "styled-components.vscode-styled-components" ] } diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 000000000..560d83997 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,18 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "node", + "request": "launch", + "name": "Launch Example App", + "skipFiles": ["/**"], + "args": ["./dist/server.js"], + "runtimeArgs": ["--enable-source-maps", "--conditions=development", "--watch"], + "preLaunchTask": "js-example-app::build:dev", + "cwd": "${workspaceFolder}/packages/js-example-app" + } + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json index b9e668415..66a5c4570 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -37,5 +37,7 @@ 120 // prettier print width ], "lit-plugin.rules.no-missing-import": "off", - "lit-plugin.strict": true + "lit-plugin.strict": true, + "lit-plugin.cssTemplateTags": [], + "stylelint.validate": ["typescript"] } diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 000000000..039226636 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,16 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "type": "shell", + "command": "yarn build:dev --watch", + "options": { + "cwd": "packages/js-example-app" + }, + "group": "build", + "problemMatcher": ["$tsc-watch"], + "label": "js-example-app::build:dev", + "isBackground": true + } + ] +} diff --git a/README.md b/README.md index 1b113267b..222711f8d 100644 --- a/README.md +++ b/README.md @@ -202,7 +202,7 @@ component can also be viewed ``` 5. Now start up your app ```sh - $ yarn start + $ yarn start:storybook ``` > Note: This command will also open up Storybook locally. This provides you with a full list of available components @@ -260,7 +260,7 @@ your first icon: ``` 2. To check that your icon has been added run your project locally and inspect the Icons tab: ```sh - $ yarn start + $ yarn start:storybook ``` #### Changing Icons @@ -271,8 +271,7 @@ It is also possible to just change existing icon file without renaming it. 3. Replace the `` and `` tags with yours 4. Compile and run your project locally with: ```sh - $ yarn compile:icons - $ yarn start + $ yarn start:storybook ``` 5. If now you navigate to the local Storybook and inspect Icons tab, you will see that the icon `blrBook` is updated @@ -310,7 +309,7 @@ const defaultParams: BlrCheckboxType ={ To check that changes have applied do the following: 1. Run you project locally with: ```sh - $ yarn start + $ yarn start:storybook ``` 2. Navigate to the Checkbox tab in your local Storybook 3. Check the checkbox diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 3bca43868..436e49236 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -142,7 +142,7 @@ Please, before submitting any contribution, be sure that your branch is passing ```bash yarn test -yarn compile +yarn build:ui-library ``` diff --git a/package.json b/package.json index 5ac7bedca..4d76284f8 100644 --- a/package.json +++ b/package.json @@ -5,24 +5,18 @@ "main": "", "types": "", "scripts": { - "start": "yarn tokens:generate && yarn workspace @boiler/ui-library start:storybook", - "build:storybook-and-js-example": "yarn build:storybook && yarn build:js-example:prod", - "join-publish:storybook-and-js-example": "cp -R packages/ui-library/storybook-static dist && cp -R packages/js-example-app/dist dist/js-example-app", - "build:storybook": "yarn workspace @boiler/ui-library build:storybook", - "serve:js-example": "yarn workspace @boiler/js-example-app serve", - "build:ui-library": "yarn workspace @boiler/ui-library build && yarn workspace @boiler/ui-library compile", - "build:js-example": "yarn build:ui-library && yarn workspace @boiler/js-example-app build", - "build:js-example:prod": "yarn build:ui-library && yarn workspace @boiler/js-example-app build:prod", + "start:storybook": "yarn tokens:generate && yarn compile:icons && yarn workspace @boiler/ui-library start:storybook", + "build:js-example-app": "yarn workspace @boiler/js-example-app build:dev", + "start:js-example-app": "yarn workspace @boiler/js-example-app start:dev", + "build:storybook": "yarn tokens:generate && yarn compile:icons && yarn workspace @boiler/ui-library build:storybook", + "build:ui-library": "yarn tokens:generate && yarn compile:icons && yarn workspace @boiler/ui-library build && yarn workspace @boiler/ui-library compile", "lint": "yarn workspace @boiler/ui-library lint", "format": "yarn workspace @boiler/ui-library format:eslint && yarn workspace @boiler/ui-library format:prettier", - "test:ui-library": "yarn workspace @boiler/ui-library test", - "build-and-test:ui-library": "yarn build:ui-library && yarn workspace @boiler/ui-library test", - "test": "yarn build-and-test:ui-library", + "test": "yarn build:ui-library && yarn workspace @boiler/ui-library test", "doc:install": "deven-documentation-skeleton install", "doc:check": "deven-documentation-skeleton check", "doc:update": "deven-documentation-skeleton update", "compile:icons": "yarn workspace @boiler/icons compile:icons", - "compile": "yarn workspace @boiler/ui-library compile", "analyze": "yarn workspace @boiler/ui-library analyze", "tokens:generate": "yarn workspace @boiler/figma-design-tokens tokens:generate", "prepare": "husky install" @@ -47,7 +41,6 @@ "@babel/plugin-transform-class-properties": "^7.23.0", "@babel/preset-env": "^7.23.0", "@babel/preset-typescript": "^7.23.0", - "@boiler/figma-design-tokens": "0.0.1", "@commitlint/cli": "17.4.2", "@commitlint/config-conventional": "17.4.2", "@deven-org/documentation-skeleton": "^2.1.0", @@ -80,12 +73,11 @@ "husky": "^8.0.0", "lint-staged": "^13.1.0", "lit-analyzer": "^2.0.2", - "lit-html": "^2.6.1", "lodash.camelcase": "4.3.0", "mini-css-extract-plugin": "^2.7.2", "pa11y-ci": "3.0.1", - "postcss-lit": "^1.0.1", - "prettier": "2.8.3", + "postcss-styled-syntax": "^0.6.4", + "prettier": "3.2.5", "query-selector-shadow-dom": "^1.0.1", "raw-loader": "^4.0.2", "react": "^18.2.0", @@ -93,25 +85,24 @@ "sass": "^1.57.1", "sass-loader": "^13.2.0", "style-loader": "^3.3.1", - "stylelint": "^14.16.1", - "stylelint-config-standard": "^29.0.0", + "stylelint": "^15.11.0", + "stylelint-config-standard": "^35.0.0", "svgo": "^3.0.2", "ts-lit-plugin": "^2.0.1", - "ts-node": "^10.9.1", "typescript": "^5.3.0", "webpack": "^5.75.0", - "webpack-cli": "^5.0.1" + "webpack-cli": "^5.0.1", + "webpack-merge": "^5.10.0", + "webpack-node-externals": "^3.0.0" }, "dependencies": { "@geometricpanda/storybook-addon-badges": "^2.0.2", - "@lit-labs/react": "^1.1.1", "http-server": "^14.1.1", - "lit": "^2.7.4", "nested-css-to-flat": "^1.0.5", "rimraf": "^5.0.5" }, "engines": { - "node": "^18", + "node": "18.18.0", "yarn": "^4.1.0" } } diff --git a/packages/figma-design-tokens/config/generate-index-files.mjs b/packages/figma-design-tokens/config/generate-index-files.mjs index 1ed07ff44..2adc0f7ca 100644 --- a/packages/figma-design-tokens/config/generate-index-files.mjs +++ b/packages/figma-design-tokens/config/generate-index-files.mjs @@ -43,7 +43,7 @@ themes.array.map((theme) => { (item) => `export {${convertToCamelCase(item.split('.')[0])}Wrapped as ${convertToCamelCase(item.split('.')[0])}}` ); - const fileOutPut = `import {wrapValuesWithCss} from '../../utils/wrap-values-with-css'; + const fileOutPut = `import {wrapValuesWithCss} from '../../utils/wrap-values-with-css.js'; ${importsPart.join('\n')} ${constsPart.join('\n')} diff --git a/packages/icons/.gitignore b/packages/icons/.gitignore new file mode 100644 index 000000000..662d84662 --- /dev/null +++ b/packages/icons/.gitignore @@ -0,0 +1,2 @@ +icons-optimized +*.generated.* diff --git a/packages/icons/icons-optimized/360_lg.svg b/packages/icons/icons-optimized/360_lg.svg deleted file mode 100644 index 5d66efda8..000000000 --- a/packages/icons/icons-optimized/360_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/360_md.svg b/packages/icons/icons-optimized/360_md.svg deleted file mode 100644 index a18529371..000000000 --- a/packages/icons/icons-optimized/360_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/360_sm.svg b/packages/icons/icons-optimized/360_sm.svg deleted file mode 100644 index 5f994b03d..000000000 --- a/packages/icons/icons-optimized/360_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/360_xl.svg b/packages/icons/icons-optimized/360_xl.svg deleted file mode 100644 index 73f0acba3..000000000 --- a/packages/icons/icons-optimized/360_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/360_xs.svg b/packages/icons/icons-optimized/360_xs.svg deleted file mode 100644 index 33c1990d3..000000000 --- a/packages/icons/icons-optimized/360_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/360_xxs.svg b/packages/icons/icons-optimized/360_xxs.svg deleted file mode 100644 index 73f57b1fa..000000000 --- a/packages/icons/icons-optimized/360_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Arrow_down_lg.svg b/packages/icons/icons-optimized/Arrow_down_lg.svg deleted file mode 100644 index 065024dbf..000000000 --- a/packages/icons/icons-optimized/Arrow_down_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Arrow_down_md.svg b/packages/icons/icons-optimized/Arrow_down_md.svg deleted file mode 100644 index f9619186f..000000000 --- a/packages/icons/icons-optimized/Arrow_down_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Arrow_down_sm.svg b/packages/icons/icons-optimized/Arrow_down_sm.svg deleted file mode 100644 index 91560b33f..000000000 --- a/packages/icons/icons-optimized/Arrow_down_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Arrow_down_xl.svg b/packages/icons/icons-optimized/Arrow_down_xl.svg deleted file mode 100644 index 1c1c3bebc..000000000 --- a/packages/icons/icons-optimized/Arrow_down_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Arrow_down_xs.svg b/packages/icons/icons-optimized/Arrow_down_xs.svg deleted file mode 100644 index a9e756b5c..000000000 --- a/packages/icons/icons-optimized/Arrow_down_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Arrow_down_xxs.svg b/packages/icons/icons-optimized/Arrow_down_xxs.svg deleted file mode 100644 index 306e25097..000000000 --- a/packages/icons/icons-optimized/Arrow_down_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Arrow_left_lg.svg b/packages/icons/icons-optimized/Arrow_left_lg.svg deleted file mode 100644 index 62db3ad1b..000000000 --- a/packages/icons/icons-optimized/Arrow_left_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Arrow_left_md.svg b/packages/icons/icons-optimized/Arrow_left_md.svg deleted file mode 100644 index 9efd4cf0a..000000000 --- a/packages/icons/icons-optimized/Arrow_left_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Arrow_left_sm.svg b/packages/icons/icons-optimized/Arrow_left_sm.svg deleted file mode 100644 index b65729d29..000000000 --- a/packages/icons/icons-optimized/Arrow_left_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Arrow_left_xl.svg b/packages/icons/icons-optimized/Arrow_left_xl.svg deleted file mode 100644 index d80592f35..000000000 --- a/packages/icons/icons-optimized/Arrow_left_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Arrow_left_xs.svg b/packages/icons/icons-optimized/Arrow_left_xs.svg deleted file mode 100644 index 816cd9b73..000000000 --- a/packages/icons/icons-optimized/Arrow_left_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Arrow_left_xxs.svg b/packages/icons/icons-optimized/Arrow_left_xxs.svg deleted file mode 100644 index 5fcfdf3aa..000000000 --- a/packages/icons/icons-optimized/Arrow_left_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Arrow_right_lg.svg b/packages/icons/icons-optimized/Arrow_right_lg.svg deleted file mode 100644 index de6a80869..000000000 --- a/packages/icons/icons-optimized/Arrow_right_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Arrow_right_md.svg b/packages/icons/icons-optimized/Arrow_right_md.svg deleted file mode 100644 index a7d38fc71..000000000 --- a/packages/icons/icons-optimized/Arrow_right_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Arrow_right_sm.svg b/packages/icons/icons-optimized/Arrow_right_sm.svg deleted file mode 100644 index 40d3f6731..000000000 --- a/packages/icons/icons-optimized/Arrow_right_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Arrow_right_xl.svg b/packages/icons/icons-optimized/Arrow_right_xl.svg deleted file mode 100644 index e8a43e521..000000000 --- a/packages/icons/icons-optimized/Arrow_right_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Arrow_right_xs.svg b/packages/icons/icons-optimized/Arrow_right_xs.svg deleted file mode 100644 index f52ca21d5..000000000 --- a/packages/icons/icons-optimized/Arrow_right_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Arrow_right_xxs.svg b/packages/icons/icons-optimized/Arrow_right_xxs.svg deleted file mode 100644 index 7c9f6f523..000000000 --- a/packages/icons/icons-optimized/Arrow_right_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Arrow_up_lg.svg b/packages/icons/icons-optimized/Arrow_up_lg.svg deleted file mode 100644 index e0e07c370..000000000 --- a/packages/icons/icons-optimized/Arrow_up_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Arrow_up_md.svg b/packages/icons/icons-optimized/Arrow_up_md.svg deleted file mode 100644 index 134f2b3d7..000000000 --- a/packages/icons/icons-optimized/Arrow_up_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Arrow_up_sm.svg b/packages/icons/icons-optimized/Arrow_up_sm.svg deleted file mode 100644 index 94cb115b4..000000000 --- a/packages/icons/icons-optimized/Arrow_up_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Arrow_up_xl.svg b/packages/icons/icons-optimized/Arrow_up_xl.svg deleted file mode 100644 index b54862b52..000000000 --- a/packages/icons/icons-optimized/Arrow_up_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Arrow_up_xs.svg b/packages/icons/icons-optimized/Arrow_up_xs.svg deleted file mode 100644 index fc8c57069..000000000 --- a/packages/icons/icons-optimized/Arrow_up_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Arrow_up_xxs.svg b/packages/icons/icons-optimized/Arrow_up_xxs.svg deleted file mode 100644 index 281c44ea5..000000000 --- a/packages/icons/icons-optimized/Arrow_up_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Checkmark_lg.svg b/packages/icons/icons-optimized/Checkmark_lg.svg deleted file mode 100644 index 7ef3e28e9..000000000 --- a/packages/icons/icons-optimized/Checkmark_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Checkmark_md.svg b/packages/icons/icons-optimized/Checkmark_md.svg deleted file mode 100644 index 8f05bb0f6..000000000 --- a/packages/icons/icons-optimized/Checkmark_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Checkmark_sm.svg b/packages/icons/icons-optimized/Checkmark_sm.svg deleted file mode 100644 index c893e77bd..000000000 --- a/packages/icons/icons-optimized/Checkmark_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Checkmark_xl.svg b/packages/icons/icons-optimized/Checkmark_xl.svg deleted file mode 100644 index 60def694f..000000000 --- a/packages/icons/icons-optimized/Checkmark_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Checkmark_xs.svg b/packages/icons/icons-optimized/Checkmark_xs.svg deleted file mode 100644 index 9fc34f28d..000000000 --- a/packages/icons/icons-optimized/Checkmark_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Checkmark_xxs.svg b/packages/icons/icons-optimized/Checkmark_xxs.svg deleted file mode 100644 index 0c959f8a8..000000000 --- a/packages/icons/icons-optimized/Checkmark_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Chevron_down_lg.svg b/packages/icons/icons-optimized/Chevron_down_lg.svg deleted file mode 100644 index d11a6b7dc..000000000 --- a/packages/icons/icons-optimized/Chevron_down_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Chevron_down_md.svg b/packages/icons/icons-optimized/Chevron_down_md.svg deleted file mode 100644 index 7f9976174..000000000 --- a/packages/icons/icons-optimized/Chevron_down_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Chevron_down_sm.svg b/packages/icons/icons-optimized/Chevron_down_sm.svg deleted file mode 100644 index d9b2c962f..000000000 --- a/packages/icons/icons-optimized/Chevron_down_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Chevron_down_xl.svg b/packages/icons/icons-optimized/Chevron_down_xl.svg deleted file mode 100644 index 5a0c826ae..000000000 --- a/packages/icons/icons-optimized/Chevron_down_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Chevron_down_xs.svg b/packages/icons/icons-optimized/Chevron_down_xs.svg deleted file mode 100644 index be50015ad..000000000 --- a/packages/icons/icons-optimized/Chevron_down_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Chevron_down_xxs.svg b/packages/icons/icons-optimized/Chevron_down_xxs.svg deleted file mode 100644 index bd6b2bcce..000000000 --- a/packages/icons/icons-optimized/Chevron_down_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Chevron_left_lg.svg b/packages/icons/icons-optimized/Chevron_left_lg.svg deleted file mode 100644 index 8d9185360..000000000 --- a/packages/icons/icons-optimized/Chevron_left_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Chevron_left_md.svg b/packages/icons/icons-optimized/Chevron_left_md.svg deleted file mode 100644 index c8bae8ade..000000000 --- a/packages/icons/icons-optimized/Chevron_left_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Chevron_left_sm.svg b/packages/icons/icons-optimized/Chevron_left_sm.svg deleted file mode 100644 index 7433af339..000000000 --- a/packages/icons/icons-optimized/Chevron_left_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Chevron_left_xl.svg b/packages/icons/icons-optimized/Chevron_left_xl.svg deleted file mode 100644 index 7471ccee8..000000000 --- a/packages/icons/icons-optimized/Chevron_left_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Chevron_left_xs.svg b/packages/icons/icons-optimized/Chevron_left_xs.svg deleted file mode 100644 index 2ac9068ab..000000000 --- a/packages/icons/icons-optimized/Chevron_left_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Chevron_left_xxs.svg b/packages/icons/icons-optimized/Chevron_left_xxs.svg deleted file mode 100644 index 504677f49..000000000 --- a/packages/icons/icons-optimized/Chevron_left_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Chevron_right_lg.svg b/packages/icons/icons-optimized/Chevron_right_lg.svg deleted file mode 100644 index 6f9739657..000000000 --- a/packages/icons/icons-optimized/Chevron_right_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Chevron_right_md.svg b/packages/icons/icons-optimized/Chevron_right_md.svg deleted file mode 100644 index c2802ccb2..000000000 --- a/packages/icons/icons-optimized/Chevron_right_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Chevron_right_sm.svg b/packages/icons/icons-optimized/Chevron_right_sm.svg deleted file mode 100644 index ac788a05a..000000000 --- a/packages/icons/icons-optimized/Chevron_right_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Chevron_right_xl.svg b/packages/icons/icons-optimized/Chevron_right_xl.svg deleted file mode 100644 index 1fbeaaab7..000000000 --- a/packages/icons/icons-optimized/Chevron_right_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Chevron_right_xs.svg b/packages/icons/icons-optimized/Chevron_right_xs.svg deleted file mode 100644 index 2a8753fd9..000000000 --- a/packages/icons/icons-optimized/Chevron_right_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Chevron_right_xxs.svg b/packages/icons/icons-optimized/Chevron_right_xxs.svg deleted file mode 100644 index f18e97c1e..000000000 --- a/packages/icons/icons-optimized/Chevron_right_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Chevron_up_lg.svg b/packages/icons/icons-optimized/Chevron_up_lg.svg deleted file mode 100644 index c13064c4e..000000000 --- a/packages/icons/icons-optimized/Chevron_up_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Chevron_up_md.svg b/packages/icons/icons-optimized/Chevron_up_md.svg deleted file mode 100644 index cb13c324b..000000000 --- a/packages/icons/icons-optimized/Chevron_up_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Chevron_up_sm.svg b/packages/icons/icons-optimized/Chevron_up_sm.svg deleted file mode 100644 index 28952fe1b..000000000 --- a/packages/icons/icons-optimized/Chevron_up_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Chevron_up_xl.svg b/packages/icons/icons-optimized/Chevron_up_xl.svg deleted file mode 100644 index 2bc76aa25..000000000 --- a/packages/icons/icons-optimized/Chevron_up_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Chevron_up_xs.svg b/packages/icons/icons-optimized/Chevron_up_xs.svg deleted file mode 100644 index 4f5b6b700..000000000 --- a/packages/icons/icons-optimized/Chevron_up_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Chevron_up_xxs.svg b/packages/icons/icons-optimized/Chevron_up_xxs.svg deleted file mode 100644 index 982bdfc8b..000000000 --- a/packages/icons/icons-optimized/Chevron_up_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Close_lg.svg b/packages/icons/icons-optimized/Close_lg.svg deleted file mode 100644 index badb94a81..000000000 --- a/packages/icons/icons-optimized/Close_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Close_md.svg b/packages/icons/icons-optimized/Close_md.svg deleted file mode 100644 index 9589d227a..000000000 --- a/packages/icons/icons-optimized/Close_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Close_sm.svg b/packages/icons/icons-optimized/Close_sm.svg deleted file mode 100644 index 5493fa91a..000000000 --- a/packages/icons/icons-optimized/Close_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Close_xl.svg b/packages/icons/icons-optimized/Close_xl.svg deleted file mode 100644 index 9b3b59f96..000000000 --- a/packages/icons/icons-optimized/Close_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Close_xs.svg b/packages/icons/icons-optimized/Close_xs.svg deleted file mode 100644 index dbaf13be6..000000000 --- a/packages/icons/icons-optimized/Close_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Close_xxs.svg b/packages/icons/icons-optimized/Close_xxs.svg deleted file mode 100644 index 50f0af520..000000000 --- a/packages/icons/icons-optimized/Close_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Download_lg.svg b/packages/icons/icons-optimized/Download_lg.svg deleted file mode 100644 index fb042a862..000000000 --- a/packages/icons/icons-optimized/Download_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Download_md.svg b/packages/icons/icons-optimized/Download_md.svg deleted file mode 100644 index d1dd11579..000000000 --- a/packages/icons/icons-optimized/Download_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Download_sm.svg b/packages/icons/icons-optimized/Download_sm.svg deleted file mode 100644 index 59b4f9fc5..000000000 --- a/packages/icons/icons-optimized/Download_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Download_xl.svg b/packages/icons/icons-optimized/Download_xl.svg deleted file mode 100644 index e46553fb8..000000000 --- a/packages/icons/icons-optimized/Download_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Download_xs.svg b/packages/icons/icons-optimized/Download_xs.svg deleted file mode 100644 index 6cc3d7f99..000000000 --- a/packages/icons/icons-optimized/Download_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Download_xxs.svg b/packages/icons/icons-optimized/Download_xxs.svg deleted file mode 100644 index a7933a9ff..000000000 --- a/packages/icons/icons-optimized/Download_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Error_filled_lg.svg b/packages/icons/icons-optimized/Error_filled_lg.svg deleted file mode 100644 index 8e25b3b35..000000000 --- a/packages/icons/icons-optimized/Error_filled_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Error_filled_md.svg b/packages/icons/icons-optimized/Error_filled_md.svg deleted file mode 100644 index 4beb08acc..000000000 --- a/packages/icons/icons-optimized/Error_filled_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Error_filled_sm.svg b/packages/icons/icons-optimized/Error_filled_sm.svg deleted file mode 100644 index 414b627df..000000000 --- a/packages/icons/icons-optimized/Error_filled_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Error_filled_xl.svg b/packages/icons/icons-optimized/Error_filled_xl.svg deleted file mode 100644 index caffa6cc8..000000000 --- a/packages/icons/icons-optimized/Error_filled_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Error_filled_xs.svg b/packages/icons/icons-optimized/Error_filled_xs.svg deleted file mode 100644 index a33a5b10f..000000000 --- a/packages/icons/icons-optimized/Error_filled_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Error_filled_xxs.svg b/packages/icons/icons-optimized/Error_filled_xxs.svg deleted file mode 100644 index 85535c155..000000000 --- a/packages/icons/icons-optimized/Error_filled_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Error_lg.svg b/packages/icons/icons-optimized/Error_lg.svg deleted file mode 100644 index a3bf06e84..000000000 --- a/packages/icons/icons-optimized/Error_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Error_md.svg b/packages/icons/icons-optimized/Error_md.svg deleted file mode 100644 index a910b9b4f..000000000 --- a/packages/icons/icons-optimized/Error_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Error_sm.svg b/packages/icons/icons-optimized/Error_sm.svg deleted file mode 100644 index bcd0bc1b1..000000000 --- a/packages/icons/icons-optimized/Error_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Error_xl.svg b/packages/icons/icons-optimized/Error_xl.svg deleted file mode 100644 index 246b7f4e7..000000000 --- a/packages/icons/icons-optimized/Error_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Error_xs.svg b/packages/icons/icons-optimized/Error_xs.svg deleted file mode 100644 index 790ca87aa..000000000 --- a/packages/icons/icons-optimized/Error_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Error_xxs.svg b/packages/icons/icons-optimized/Error_xxs.svg deleted file mode 100644 index 48749a95f..000000000 --- a/packages/icons/icons-optimized/Error_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Eye_lg.svg b/packages/icons/icons-optimized/Eye_lg.svg deleted file mode 100644 index b800f207f..000000000 --- a/packages/icons/icons-optimized/Eye_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Eye_md.svg b/packages/icons/icons-optimized/Eye_md.svg deleted file mode 100644 index 5bf2400df..000000000 --- a/packages/icons/icons-optimized/Eye_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Eye_off_lg.svg b/packages/icons/icons-optimized/Eye_off_lg.svg deleted file mode 100644 index 34a413507..000000000 --- a/packages/icons/icons-optimized/Eye_off_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Eye_off_md.svg b/packages/icons/icons-optimized/Eye_off_md.svg deleted file mode 100644 index 48bf2ff69..000000000 --- a/packages/icons/icons-optimized/Eye_off_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Eye_off_sm.svg b/packages/icons/icons-optimized/Eye_off_sm.svg deleted file mode 100644 index 1a7335cab..000000000 --- a/packages/icons/icons-optimized/Eye_off_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Eye_off_xl.svg b/packages/icons/icons-optimized/Eye_off_xl.svg deleted file mode 100644 index 08d0c2269..000000000 --- a/packages/icons/icons-optimized/Eye_off_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Eye_off_xs.svg b/packages/icons/icons-optimized/Eye_off_xs.svg deleted file mode 100644 index 41e2779cd..000000000 --- a/packages/icons/icons-optimized/Eye_off_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Eye_off_xxs.svg b/packages/icons/icons-optimized/Eye_off_xxs.svg deleted file mode 100644 index 16b77343c..000000000 --- a/packages/icons/icons-optimized/Eye_off_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Eye_on_lg.svg b/packages/icons/icons-optimized/Eye_on_lg.svg deleted file mode 100644 index b800f207f..000000000 --- a/packages/icons/icons-optimized/Eye_on_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Eye_on_md.svg b/packages/icons/icons-optimized/Eye_on_md.svg deleted file mode 100644 index 5bf2400df..000000000 --- a/packages/icons/icons-optimized/Eye_on_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Eye_on_sm.svg b/packages/icons/icons-optimized/Eye_on_sm.svg deleted file mode 100644 index e1708e8a2..000000000 --- a/packages/icons/icons-optimized/Eye_on_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Eye_on_xl.svg b/packages/icons/icons-optimized/Eye_on_xl.svg deleted file mode 100644 index cfecadb93..000000000 --- a/packages/icons/icons-optimized/Eye_on_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Eye_on_xs.svg b/packages/icons/icons-optimized/Eye_on_xs.svg deleted file mode 100644 index bb2354d2a..000000000 --- a/packages/icons/icons-optimized/Eye_on_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Eye_on_xxs.svg b/packages/icons/icons-optimized/Eye_on_xxs.svg deleted file mode 100644 index c469fe915..000000000 --- a/packages/icons/icons-optimized/Eye_on_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Eye_sm.svg b/packages/icons/icons-optimized/Eye_sm.svg deleted file mode 100644 index e1708e8a2..000000000 --- a/packages/icons/icons-optimized/Eye_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Eye_xl.svg b/packages/icons/icons-optimized/Eye_xl.svg deleted file mode 100644 index cfecadb93..000000000 --- a/packages/icons/icons-optimized/Eye_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Eye_xs.svg b/packages/icons/icons-optimized/Eye_xs.svg deleted file mode 100644 index bb2354d2a..000000000 --- a/packages/icons/icons-optimized/Eye_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Eye_xxs.svg b/packages/icons/icons-optimized/Eye_xxs.svg deleted file mode 100644 index c469fe915..000000000 --- a/packages/icons/icons-optimized/Eye_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Info_lg.svg b/packages/icons/icons-optimized/Info_lg.svg deleted file mode 100644 index 40c3dccbc..000000000 --- a/packages/icons/icons-optimized/Info_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Info_md.svg b/packages/icons/icons-optimized/Info_md.svg deleted file mode 100644 index 04c95743a..000000000 --- a/packages/icons/icons-optimized/Info_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Info_sm.svg b/packages/icons/icons-optimized/Info_sm.svg deleted file mode 100644 index 492df7dfb..000000000 --- a/packages/icons/icons-optimized/Info_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Info_xl.svg b/packages/icons/icons-optimized/Info_xl.svg deleted file mode 100644 index ab92031b3..000000000 --- a/packages/icons/icons-optimized/Info_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Info_xs.svg b/packages/icons/icons-optimized/Info_xs.svg deleted file mode 100644 index 5cd44fda2..000000000 --- a/packages/icons/icons-optimized/Info_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Info_xxs.svg b/packages/icons/icons-optimized/Info_xxs.svg deleted file mode 100644 index 190b01c5e..000000000 --- a/packages/icons/icons-optimized/Info_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Link_broken_lg.svg b/packages/icons/icons-optimized/Link_broken_lg.svg deleted file mode 100644 index 35801a12d..000000000 --- a/packages/icons/icons-optimized/Link_broken_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Link_broken_md.svg b/packages/icons/icons-optimized/Link_broken_md.svg deleted file mode 100644 index 169a80d4f..000000000 --- a/packages/icons/icons-optimized/Link_broken_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Link_broken_sm.svg b/packages/icons/icons-optimized/Link_broken_sm.svg deleted file mode 100644 index b29c813be..000000000 --- a/packages/icons/icons-optimized/Link_broken_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Link_broken_xl.svg b/packages/icons/icons-optimized/Link_broken_xl.svg deleted file mode 100644 index dd847b917..000000000 --- a/packages/icons/icons-optimized/Link_broken_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Link_broken_xs.svg b/packages/icons/icons-optimized/Link_broken_xs.svg deleted file mode 100644 index 0e8eb71f8..000000000 --- a/packages/icons/icons-optimized/Link_broken_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Link_broken_xxs.svg b/packages/icons/icons-optimized/Link_broken_xxs.svg deleted file mode 100644 index 4767e805c..000000000 --- a/packages/icons/icons-optimized/Link_broken_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Link_lg.svg b/packages/icons/icons-optimized/Link_lg.svg deleted file mode 100644 index ed8e9990a..000000000 --- a/packages/icons/icons-optimized/Link_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Link_md.svg b/packages/icons/icons-optimized/Link_md.svg deleted file mode 100644 index de2ff14a4..000000000 --- a/packages/icons/icons-optimized/Link_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Link_sm.svg b/packages/icons/icons-optimized/Link_sm.svg deleted file mode 100644 index bd15b6c7a..000000000 --- a/packages/icons/icons-optimized/Link_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Link_xl.svg b/packages/icons/icons-optimized/Link_xl.svg deleted file mode 100644 index 26dd251e1..000000000 --- a/packages/icons/icons-optimized/Link_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Link_xs.svg b/packages/icons/icons-optimized/Link_xs.svg deleted file mode 100644 index 3a1ea6423..000000000 --- a/packages/icons/icons-optimized/Link_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Link_xxs.svg b/packages/icons/icons-optimized/Link_xxs.svg deleted file mode 100644 index d79893755..000000000 --- a/packages/icons/icons-optimized/Link_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Minus_lg.svg b/packages/icons/icons-optimized/Minus_lg.svg deleted file mode 100644 index 47d4827ee..000000000 --- a/packages/icons/icons-optimized/Minus_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Minus_md.svg b/packages/icons/icons-optimized/Minus_md.svg deleted file mode 100644 index b2f67fd69..000000000 --- a/packages/icons/icons-optimized/Minus_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Minus_sm.svg b/packages/icons/icons-optimized/Minus_sm.svg deleted file mode 100644 index eb19a9644..000000000 --- a/packages/icons/icons-optimized/Minus_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Minus_xl.svg b/packages/icons/icons-optimized/Minus_xl.svg deleted file mode 100644 index e8b3a3eea..000000000 --- a/packages/icons/icons-optimized/Minus_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Minus_xs.svg b/packages/icons/icons-optimized/Minus_xs.svg deleted file mode 100644 index 474013ef2..000000000 --- a/packages/icons/icons-optimized/Minus_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Minus_xxs.svg b/packages/icons/icons-optimized/Minus_xxs.svg deleted file mode 100644 index ec3aea65c..000000000 --- a/packages/icons/icons-optimized/Minus_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Off_lg.svg b/packages/icons/icons-optimized/Off_lg.svg deleted file mode 100644 index eccb5e33c..000000000 --- a/packages/icons/icons-optimized/Off_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Off_md.svg b/packages/icons/icons-optimized/Off_md.svg deleted file mode 100644 index a8c0aecec..000000000 --- a/packages/icons/icons-optimized/Off_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Off_sm.svg b/packages/icons/icons-optimized/Off_sm.svg deleted file mode 100644 index e1ec14027..000000000 --- a/packages/icons/icons-optimized/Off_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Off_xl.svg b/packages/icons/icons-optimized/Off_xl.svg deleted file mode 100644 index c12c194fd..000000000 --- a/packages/icons/icons-optimized/Off_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Off_xs.svg b/packages/icons/icons-optimized/Off_xs.svg deleted file mode 100644 index 82e0a9fa9..000000000 --- a/packages/icons/icons-optimized/Off_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Off_xxs.svg b/packages/icons/icons-optimized/Off_xxs.svg deleted file mode 100644 index d8623b723..000000000 --- a/packages/icons/icons-optimized/Off_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/On_lg.svg b/packages/icons/icons-optimized/On_lg.svg deleted file mode 100644 index 4e7b2ef55..000000000 --- a/packages/icons/icons-optimized/On_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/On_md.svg b/packages/icons/icons-optimized/On_md.svg deleted file mode 100644 index fb9fd9426..000000000 --- a/packages/icons/icons-optimized/On_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/On_sm.svg b/packages/icons/icons-optimized/On_sm.svg deleted file mode 100644 index 4b93cc049..000000000 --- a/packages/icons/icons-optimized/On_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/On_xl.svg b/packages/icons/icons-optimized/On_xl.svg deleted file mode 100644 index 1f07ffffb..000000000 --- a/packages/icons/icons-optimized/On_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/On_xs.svg b/packages/icons/icons-optimized/On_xs.svg deleted file mode 100644 index df0e38b7f..000000000 --- a/packages/icons/icons-optimized/On_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/On_xxs.svg b/packages/icons/icons-optimized/On_xxs.svg deleted file mode 100644 index b067ac9aa..000000000 --- a/packages/icons/icons-optimized/On_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Plane_lg.svg b/packages/icons/icons-optimized/Plane_lg.svg deleted file mode 100644 index 9ffa7683a..000000000 --- a/packages/icons/icons-optimized/Plane_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Plane_md.svg b/packages/icons/icons-optimized/Plane_md.svg deleted file mode 100644 index 0fc1d8eaf..000000000 --- a/packages/icons/icons-optimized/Plane_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Plane_sm.svg b/packages/icons/icons-optimized/Plane_sm.svg deleted file mode 100644 index f89d6f4b5..000000000 --- a/packages/icons/icons-optimized/Plane_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Plane_xl.svg b/packages/icons/icons-optimized/Plane_xl.svg deleted file mode 100644 index 50195269f..000000000 --- a/packages/icons/icons-optimized/Plane_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Plane_xs.svg b/packages/icons/icons-optimized/Plane_xs.svg deleted file mode 100644 index 6365715b1..000000000 --- a/packages/icons/icons-optimized/Plane_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Plane_xxs.svg b/packages/icons/icons-optimized/Plane_xxs.svg deleted file mode 100644 index 82263f72c..000000000 --- a/packages/icons/icons-optimized/Plane_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Plus_lg.svg b/packages/icons/icons-optimized/Plus_lg.svg deleted file mode 100644 index c0abffda6..000000000 --- a/packages/icons/icons-optimized/Plus_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Plus_md.svg b/packages/icons/icons-optimized/Plus_md.svg deleted file mode 100644 index a3447afa3..000000000 --- a/packages/icons/icons-optimized/Plus_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Plus_sm.svg b/packages/icons/icons-optimized/Plus_sm.svg deleted file mode 100644 index cd91237c1..000000000 --- a/packages/icons/icons-optimized/Plus_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Plus_xl.svg b/packages/icons/icons-optimized/Plus_xl.svg deleted file mode 100644 index 854cf95ec..000000000 --- a/packages/icons/icons-optimized/Plus_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Plus_xs.svg b/packages/icons/icons-optimized/Plus_xs.svg deleted file mode 100644 index 167ab376c..000000000 --- a/packages/icons/icons-optimized/Plus_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Plus_xxs.svg b/packages/icons/icons-optimized/Plus_xxs.svg deleted file mode 100644 index 5b76315e4..000000000 --- a/packages/icons/icons-optimized/Plus_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Search_lg.svg b/packages/icons/icons-optimized/Search_lg.svg deleted file mode 100644 index 0795ed971..000000000 --- a/packages/icons/icons-optimized/Search_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Search_md.svg b/packages/icons/icons-optimized/Search_md.svg deleted file mode 100644 index f65d14481..000000000 --- a/packages/icons/icons-optimized/Search_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Search_sm.svg b/packages/icons/icons-optimized/Search_sm.svg deleted file mode 100644 index 57e52e77e..000000000 --- a/packages/icons/icons-optimized/Search_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Search_xl.svg b/packages/icons/icons-optimized/Search_xl.svg deleted file mode 100644 index 69ad54d7a..000000000 --- a/packages/icons/icons-optimized/Search_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Search_xs.svg b/packages/icons/icons-optimized/Search_xs.svg deleted file mode 100644 index 73eab152d..000000000 --- a/packages/icons/icons-optimized/Search_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Search_xxs.svg b/packages/icons/icons-optimized/Search_xxs.svg deleted file mode 100644 index 0b608760f..000000000 --- a/packages/icons/icons-optimized/Search_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Selection_box_off_lg.svg b/packages/icons/icons-optimized/Selection_box_off_lg.svg deleted file mode 100644 index 49374174b..000000000 --- a/packages/icons/icons-optimized/Selection_box_off_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Selection_box_off_md.svg b/packages/icons/icons-optimized/Selection_box_off_md.svg deleted file mode 100644 index 7c3c9deeb..000000000 --- a/packages/icons/icons-optimized/Selection_box_off_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Selection_box_off_sm.svg b/packages/icons/icons-optimized/Selection_box_off_sm.svg deleted file mode 100644 index c344e0d94..000000000 --- a/packages/icons/icons-optimized/Selection_box_off_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Selection_box_off_xl.svg b/packages/icons/icons-optimized/Selection_box_off_xl.svg deleted file mode 100644 index 536cf53bb..000000000 --- a/packages/icons/icons-optimized/Selection_box_off_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Selection_box_off_xs.svg b/packages/icons/icons-optimized/Selection_box_off_xs.svg deleted file mode 100644 index 670dfd826..000000000 --- a/packages/icons/icons-optimized/Selection_box_off_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Selection_box_off_xxs.svg b/packages/icons/icons-optimized/Selection_box_off_xxs.svg deleted file mode 100644 index 54ebed465..000000000 --- a/packages/icons/icons-optimized/Selection_box_off_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Selection_box_on_lg.svg b/packages/icons/icons-optimized/Selection_box_on_lg.svg deleted file mode 100644 index 8d5628e74..000000000 --- a/packages/icons/icons-optimized/Selection_box_on_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Selection_box_on_md.svg b/packages/icons/icons-optimized/Selection_box_on_md.svg deleted file mode 100644 index 291ad4547..000000000 --- a/packages/icons/icons-optimized/Selection_box_on_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Selection_box_on_sm.svg b/packages/icons/icons-optimized/Selection_box_on_sm.svg deleted file mode 100644 index e16d93535..000000000 --- a/packages/icons/icons-optimized/Selection_box_on_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Selection_box_on_xl.svg b/packages/icons/icons-optimized/Selection_box_on_xl.svg deleted file mode 100644 index 1bc047816..000000000 --- a/packages/icons/icons-optimized/Selection_box_on_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Selection_box_on_xs.svg b/packages/icons/icons-optimized/Selection_box_on_xs.svg deleted file mode 100644 index 7e97be26c..000000000 --- a/packages/icons/icons-optimized/Selection_box_on_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Selection_box_on_xxs.svg b/packages/icons/icons-optimized/Selection_box_on_xxs.svg deleted file mode 100644 index b9c1bea13..000000000 --- a/packages/icons/icons-optimized/Selection_box_on_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Selection_off_lg.svg b/packages/icons/icons-optimized/Selection_off_lg.svg deleted file mode 100644 index b19eb7efa..000000000 --- a/packages/icons/icons-optimized/Selection_off_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Selection_off_md.svg b/packages/icons/icons-optimized/Selection_off_md.svg deleted file mode 100644 index 88f527765..000000000 --- a/packages/icons/icons-optimized/Selection_off_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Selection_off_sm.svg b/packages/icons/icons-optimized/Selection_off_sm.svg deleted file mode 100644 index 07ffae34a..000000000 --- a/packages/icons/icons-optimized/Selection_off_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Selection_off_xl.svg b/packages/icons/icons-optimized/Selection_off_xl.svg deleted file mode 100644 index 2d315db08..000000000 --- a/packages/icons/icons-optimized/Selection_off_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Selection_off_xs.svg b/packages/icons/icons-optimized/Selection_off_xs.svg deleted file mode 100644 index 6ce19b8a4..000000000 --- a/packages/icons/icons-optimized/Selection_off_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Selection_off_xxs.svg b/packages/icons/icons-optimized/Selection_off_xxs.svg deleted file mode 100644 index 7fbe676d0..000000000 --- a/packages/icons/icons-optimized/Selection_off_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Selection_on_lg.svg b/packages/icons/icons-optimized/Selection_on_lg.svg deleted file mode 100644 index a5e6af8ed..000000000 --- a/packages/icons/icons-optimized/Selection_on_lg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Selection_on_md.svg b/packages/icons/icons-optimized/Selection_on_md.svg deleted file mode 100644 index 9a70af1e4..000000000 --- a/packages/icons/icons-optimized/Selection_on_md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Selection_on_sm.svg b/packages/icons/icons-optimized/Selection_on_sm.svg deleted file mode 100644 index b5929dc91..000000000 --- a/packages/icons/icons-optimized/Selection_on_sm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Selection_on_xl.svg b/packages/icons/icons-optimized/Selection_on_xl.svg deleted file mode 100644 index 5e7f1dc7d..000000000 --- a/packages/icons/icons-optimized/Selection_on_xl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Selection_on_xs.svg b/packages/icons/icons-optimized/Selection_on_xs.svg deleted file mode 100644 index 5499b0fb5..000000000 --- a/packages/icons/icons-optimized/Selection_on_xs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/Selection_on_xxs.svg b/packages/icons/icons-optimized/Selection_on_xxs.svg deleted file mode 100644 index 153e72570..000000000 --- a/packages/icons/icons-optimized/Selection_on_xxs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icons-optimized/index.ts b/packages/icons/icons-optimized/index.ts deleted file mode 100644 index d24ac9311..000000000 --- a/packages/icons/icons-optimized/index.ts +++ /dev/null @@ -1,578 +0,0 @@ -const blr360Lg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'360_lg.svg'}`); - -const blr360Md = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'360_md.svg'}`); - -const blr360Sm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'360_sm.svg'}`); - -const blr360Xl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'360_xl.svg'}`); - -const blr360Xs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'360_xs.svg'}`); - -const blr360Xxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'360_xxs.svg'}`); - -const blrArrowDownLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Arrow_down_lg.svg'}`); - -const blrArrowDownMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Arrow_down_md.svg'}`); - -const blrArrowDownSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Arrow_down_sm.svg'}`); - -const blrArrowDownXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Arrow_down_xl.svg'}`); - -const blrArrowDownXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Arrow_down_xs.svg'}`); - -const blrArrowDownXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Arrow_down_xxs.svg'}`); - -const blrArrowLeftLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Arrow_left_lg.svg'}`); - -const blrArrowLeftMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Arrow_left_md.svg'}`); - -const blrArrowLeftSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Arrow_left_sm.svg'}`); - -const blrArrowLeftXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Arrow_left_xl.svg'}`); - -const blrArrowLeftXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Arrow_left_xs.svg'}`); - -const blrArrowLeftXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Arrow_left_xxs.svg'}`); - -const blrArrowRightLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Arrow_right_lg.svg'}`); - -const blrArrowRightMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Arrow_right_md.svg'}`); - -const blrArrowRightSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Arrow_right_sm.svg'}`); - -const blrArrowRightXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Arrow_right_xl.svg'}`); - -const blrArrowRightXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Arrow_right_xs.svg'}`); - -const blrArrowRightXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Arrow_right_xxs.svg'}`); - -const blrArrowUpLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Arrow_up_lg.svg'}`); - -const blrArrowUpMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Arrow_up_md.svg'}`); - -const blrArrowUpSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Arrow_up_sm.svg'}`); - -const blrArrowUpXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Arrow_up_xl.svg'}`); - -const blrArrowUpXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Arrow_up_xs.svg'}`); - -const blrArrowUpXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Arrow_up_xxs.svg'}`); - -const blrCheckmarkLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Checkmark_lg.svg'}`); - -const blrCheckmarkMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Checkmark_md.svg'}`); - -const blrCheckmarkSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Checkmark_sm.svg'}`); - -const blrCheckmarkXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Checkmark_xl.svg'}`); - -const blrCheckmarkXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Checkmark_xs.svg'}`); - -const blrCheckmarkXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Checkmark_xxs.svg'}`); - -const blrChevronDownLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Chevron_down_lg.svg'}`); - -const blrChevronDownMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Chevron_down_md.svg'}`); - -const blrChevronDownSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Chevron_down_sm.svg'}`); - -const blrChevronDownXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Chevron_down_xl.svg'}`); - -const blrChevronDownXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Chevron_down_xs.svg'}`); - -const blrChevronDownXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Chevron_down_xxs.svg'}`); - -const blrChevronLeftLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Chevron_left_lg.svg'}`); - -const blrChevronLeftMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Chevron_left_md.svg'}`); - -const blrChevronLeftSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Chevron_left_sm.svg'}`); - -const blrChevronLeftXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Chevron_left_xl.svg'}`); - -const blrChevronLeftXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Chevron_left_xs.svg'}`); - -const blrChevronLeftXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Chevron_left_xxs.svg'}`); - -const blrChevronRightLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Chevron_right_lg.svg'}`); - -const blrChevronRightMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Chevron_right_md.svg'}`); - -const blrChevronRightSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Chevron_right_sm.svg'}`); - -const blrChevronRightXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Chevron_right_xl.svg'}`); - -const blrChevronRightXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Chevron_right_xs.svg'}`); - -const blrChevronRightXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Chevron_right_xxs.svg'}`); - -const blrChevronUpLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Chevron_up_lg.svg'}`); - -const blrChevronUpMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Chevron_up_md.svg'}`); - -const blrChevronUpSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Chevron_up_sm.svg'}`); - -const blrChevronUpXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Chevron_up_xl.svg'}`); - -const blrChevronUpXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Chevron_up_xs.svg'}`); - -const blrChevronUpXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Chevron_up_xxs.svg'}`); - -const blrCloseLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Close_lg.svg'}`); - -const blrCloseMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Close_md.svg'}`); - -const blrCloseSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Close_sm.svg'}`); - -const blrCloseXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Close_xl.svg'}`); - -const blrCloseXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Close_xs.svg'}`); - -const blrCloseXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Close_xxs.svg'}`); - -const blrDownloadLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Download_lg.svg'}`); - -const blrDownloadMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Download_md.svg'}`); - -const blrDownloadSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Download_sm.svg'}`); - -const blrDownloadXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Download_xl.svg'}`); - -const blrDownloadXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Download_xs.svg'}`); - -const blrDownloadXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Download_xxs.svg'}`); - -const blrErrorFilledLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Error_filled_lg.svg'}`); - -const blrErrorFilledMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Error_filled_md.svg'}`); - -const blrErrorFilledSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Error_filled_sm.svg'}`); - -const blrErrorFilledXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Error_filled_xl.svg'}`); - -const blrErrorFilledXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Error_filled_xs.svg'}`); - -const blrErrorFilledXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Error_filled_xxs.svg'}`); - -const blrErrorLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Error_lg.svg'}`); - -const blrErrorMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Error_md.svg'}`); - -const blrErrorSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Error_sm.svg'}`); - -const blrErrorXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Error_xl.svg'}`); - -const blrErrorXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Error_xs.svg'}`); - -const blrErrorXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Error_xxs.svg'}`); - -const blrEyeLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Eye_lg.svg'}`); - -const blrEyeMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Eye_md.svg'}`); - -const blrEyeOffLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Eye_off_lg.svg'}`); - -const blrEyeOffMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Eye_off_md.svg'}`); - -const blrEyeOffSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Eye_off_sm.svg'}`); - -const blrEyeOffXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Eye_off_xl.svg'}`); - -const blrEyeOffXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Eye_off_xs.svg'}`); - -const blrEyeOffXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Eye_off_xxs.svg'}`); - -const blrEyeOnLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Eye_on_lg.svg'}`); - -const blrEyeOnMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Eye_on_md.svg'}`); - -const blrEyeOnSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Eye_on_sm.svg'}`); - -const blrEyeOnXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Eye_on_xl.svg'}`); - -const blrEyeOnXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Eye_on_xs.svg'}`); - -const blrEyeOnXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Eye_on_xxs.svg'}`); - -const blrEyeSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Eye_sm.svg'}`); - -const blrEyeXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Eye_xl.svg'}`); - -const blrEyeXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Eye_xs.svg'}`); - -const blrEyeXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Eye_xxs.svg'}`); - -const blrInfoLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Info_lg.svg'}`); - -const blrInfoMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Info_md.svg'}`); - -const blrInfoSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Info_sm.svg'}`); - -const blrInfoXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Info_xl.svg'}`); - -const blrInfoXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Info_xs.svg'}`); - -const blrInfoXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Info_xxs.svg'}`); - -const blrLinkBrokenLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Link_broken_lg.svg'}`); - -const blrLinkBrokenMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Link_broken_md.svg'}`); - -const blrLinkBrokenSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Link_broken_sm.svg'}`); - -const blrLinkBrokenXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Link_broken_xl.svg'}`); - -const blrLinkBrokenXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Link_broken_xs.svg'}`); - -const blrLinkBrokenXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Link_broken_xxs.svg'}`); - -const blrLinkLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Link_lg.svg'}`); - -const blrLinkMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Link_md.svg'}`); - -const blrLinkSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Link_sm.svg'}`); - -const blrLinkXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Link_xl.svg'}`); - -const blrLinkXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Link_xs.svg'}`); - -const blrLinkXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Link_xxs.svg'}`); - -const blrMinusLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Minus_lg.svg'}`); - -const blrMinusMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Minus_md.svg'}`); - -const blrMinusSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Minus_sm.svg'}`); - -const blrMinusXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Minus_xl.svg'}`); - -const blrMinusXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Minus_xs.svg'}`); - -const blrMinusXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Minus_xxs.svg'}`); - -const blrOffLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Off_lg.svg'}`); - -const blrOffMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Off_md.svg'}`); - -const blrOffSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Off_sm.svg'}`); - -const blrOffXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Off_xl.svg'}`); - -const blrOffXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Off_xs.svg'}`); - -const blrOffXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Off_xxs.svg'}`); - -const blrOnLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'On_lg.svg'}`); - -const blrOnMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'On_md.svg'}`); - -const blrOnSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'On_sm.svg'}`); - -const blrOnXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'On_xl.svg'}`); - -const blrOnXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'On_xs.svg'}`); - -const blrOnXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'On_xxs.svg'}`); - -const blrPlaneLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Plane_lg.svg'}`); - -const blrPlaneMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Plane_md.svg'}`); - -const blrPlaneSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Plane_sm.svg'}`); - -const blrPlaneXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Plane_xl.svg'}`); - -const blrPlaneXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Plane_xs.svg'}`); - -const blrPlaneXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Plane_xxs.svg'}`); - -const blrPlusLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Plus_lg.svg'}`); - -const blrPlusMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Plus_md.svg'}`); - -const blrPlusSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Plus_sm.svg'}`); - -const blrPlusXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Plus_xl.svg'}`); - -const blrPlusXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Plus_xs.svg'}`); - -const blrPlusXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Plus_xxs.svg'}`); - -const blrSearchLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Search_lg.svg'}`); - -const blrSearchMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Search_md.svg'}`); - -const blrSearchSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Search_sm.svg'}`); - -const blrSearchXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Search_xl.svg'}`); - -const blrSearchXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Search_xs.svg'}`); - -const blrSearchXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Search_xxs.svg'}`); - -const blrSelectionBoxOffLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Selection_box_off_lg.svg'}`); - -const blrSelectionBoxOffMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Selection_box_off_md.svg'}`); - -const blrSelectionBoxOffSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Selection_box_off_sm.svg'}`); - -const blrSelectionBoxOffXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Selection_box_off_xl.svg'}`); - -const blrSelectionBoxOffXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Selection_box_off_xs.svg'}`); - -const blrSelectionBoxOffXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Selection_box_off_xxs.svg'}`); - -const blrSelectionBoxOnLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Selection_box_on_lg.svg'}`); - -const blrSelectionBoxOnMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Selection_box_on_md.svg'}`); - -const blrSelectionBoxOnSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Selection_box_on_sm.svg'}`); - -const blrSelectionBoxOnXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Selection_box_on_xl.svg'}`); - -const blrSelectionBoxOnXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Selection_box_on_xs.svg'}`); - -const blrSelectionBoxOnXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Selection_box_on_xxs.svg'}`); - -const blrSelectionOffLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Selection_off_lg.svg'}`); - -const blrSelectionOffMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Selection_off_md.svg'}`); - -const blrSelectionOffSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Selection_off_sm.svg'}`); - -const blrSelectionOffXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Selection_off_xl.svg'}`); - -const blrSelectionOffXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Selection_off_xs.svg'}`); - -const blrSelectionOffXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Selection_off_xxs.svg'}`); - -const blrSelectionOnLg = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Selection_on_lg.svg'}`); - -const blrSelectionOnMd = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Selection_on_md.svg'}`); - -const blrSelectionOnSm = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Selection_on_sm.svg'}`); - -const blrSelectionOnXl = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Selection_on_xl.svg'}`); - -const blrSelectionOnXs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Selection_on_xs.svg'}`); - -const blrSelectionOnXxs = () => import(`!!raw-loader!@boiler/icons/icons-optimized/${'Selection_on_xxs.svg'}`); - -export const PureIconKeys = [ - 'blr360', - 'blrArrowDown', - 'blrArrowLeft', - 'blrArrowRight', - 'blrArrowUp', - 'blrCheckmark', - 'blrChevronDown', - 'blrChevronLeft', - 'blrChevronRight', - 'blrChevronUp', - 'blrClose', - 'blrDownload', - 'blrErrorFilled', - 'blrError', - 'blrEye', - 'blrEyeOff', - 'blrEyeOn', - 'blrInfo', - 'blrLinkBroken', - 'blrLink', - 'blrMinus', - 'blrOff', - 'blrOn', - 'blrPlane', - 'blrPlus', - 'blrSearch', - 'blrSelectionBoxOff', - 'blrSelectionBoxOn', - 'blrSelectionOff', - 'blrSelectionOn', -] as const; - -export const IconMapping = { - blr360Lg, - blr360Md, - blr360Sm, - blr360Xl, - blr360Xs, - blr360Xxs, - blrArrowDownLg, - blrArrowDownMd, - blrArrowDownSm, - blrArrowDownXl, - blrArrowDownXs, - blrArrowDownXxs, - blrArrowLeftLg, - blrArrowLeftMd, - blrArrowLeftSm, - blrArrowLeftXl, - blrArrowLeftXs, - blrArrowLeftXxs, - blrArrowRightLg, - blrArrowRightMd, - blrArrowRightSm, - blrArrowRightXl, - blrArrowRightXs, - blrArrowRightXxs, - blrArrowUpLg, - blrArrowUpMd, - blrArrowUpSm, - blrArrowUpXl, - blrArrowUpXs, - blrArrowUpXxs, - blrCheckmarkLg, - blrCheckmarkMd, - blrCheckmarkSm, - blrCheckmarkXl, - blrCheckmarkXs, - blrCheckmarkXxs, - blrChevronDownLg, - blrChevronDownMd, - blrChevronDownSm, - blrChevronDownXl, - blrChevronDownXs, - blrChevronDownXxs, - blrChevronLeftLg, - blrChevronLeftMd, - blrChevronLeftSm, - blrChevronLeftXl, - blrChevronLeftXs, - blrChevronLeftXxs, - blrChevronRightLg, - blrChevronRightMd, - blrChevronRightSm, - blrChevronRightXl, - blrChevronRightXs, - blrChevronRightXxs, - blrChevronUpLg, - blrChevronUpMd, - blrChevronUpSm, - blrChevronUpXl, - blrChevronUpXs, - blrChevronUpXxs, - blrCloseLg, - blrCloseMd, - blrCloseSm, - blrCloseXl, - blrCloseXs, - blrCloseXxs, - blrDownloadLg, - blrDownloadMd, - blrDownloadSm, - blrDownloadXl, - blrDownloadXs, - blrDownloadXxs, - blrErrorFilledLg, - blrErrorFilledMd, - blrErrorFilledSm, - blrErrorFilledXl, - blrErrorFilledXs, - blrErrorFilledXxs, - blrErrorLg, - blrErrorMd, - blrErrorSm, - blrErrorXl, - blrErrorXs, - blrErrorXxs, - blrEyeLg, - blrEyeMd, - blrEyeOffLg, - blrEyeOffMd, - blrEyeOffSm, - blrEyeOffXl, - blrEyeOffXs, - blrEyeOffXxs, - blrEyeOnLg, - blrEyeOnMd, - blrEyeOnSm, - blrEyeOnXl, - blrEyeOnXs, - blrEyeOnXxs, - blrEyeSm, - blrEyeXl, - blrEyeXs, - blrEyeXxs, - blrInfoLg, - blrInfoMd, - blrInfoSm, - blrInfoXl, - blrInfoXs, - blrInfoXxs, - blrLinkBrokenLg, - blrLinkBrokenMd, - blrLinkBrokenSm, - blrLinkBrokenXl, - blrLinkBrokenXs, - blrLinkBrokenXxs, - blrLinkLg, - blrLinkMd, - blrLinkSm, - blrLinkXl, - blrLinkXs, - blrLinkXxs, - blrMinusLg, - blrMinusMd, - blrMinusSm, - blrMinusXl, - blrMinusXs, - blrMinusXxs, - blrOffLg, - blrOffMd, - blrOffSm, - blrOffXl, - blrOffXs, - blrOffXxs, - blrOnLg, - blrOnMd, - blrOnSm, - blrOnXl, - blrOnXs, - blrOnXxs, - blrPlaneLg, - blrPlaneMd, - blrPlaneSm, - blrPlaneXl, - blrPlaneXs, - blrPlaneXxs, - blrPlusLg, - blrPlusMd, - blrPlusSm, - blrPlusXl, - blrPlusXs, - blrPlusXxs, - blrSearchLg, - blrSearchMd, - blrSearchSm, - blrSearchXl, - blrSearchXs, - blrSearchXxs, - blrSelectionBoxOffLg, - blrSelectionBoxOffMd, - blrSelectionBoxOffSm, - blrSelectionBoxOffXl, - blrSelectionBoxOffXs, - blrSelectionBoxOffXxs, - blrSelectionBoxOnLg, - blrSelectionBoxOnMd, - blrSelectionBoxOnSm, - blrSelectionBoxOnXl, - blrSelectionBoxOnXs, - blrSelectionBoxOnXxs, - blrSelectionOffLg, - blrSelectionOffMd, - blrSelectionOffSm, - blrSelectionOffXl, - blrSelectionOffXs, - blrSelectionOffXxs, - blrSelectionOnLg, - blrSelectionOnMd, - blrSelectionOnSm, - blrSelectionOnXl, - blrSelectionOnXs, - blrSelectionOnXxs, -}; -export type IconType = keyof typeof IconMapping; -export const IconKeys = Object.keys(IconMapping); -export type SizelessIconType = (typeof PureIconKeys)[number]; diff --git a/packages/icons/index.ts b/packages/icons/index.ts deleted file mode 100644 index 23da99fe4..000000000 --- a/packages/icons/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './icons-optimized'; diff --git a/packages/icons/package.json b/packages/icons/package.json index fbbf039b4..cf2338a21 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -4,8 +4,17 @@ "description": "", "author": "", "license": "MIT", + "type": "module", + "main": "./dist/index.js", + "types": "./dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.js", + "import": "./dist/index.js" + } + }, "scripts": { "svgo:icons": "svgo -f icon-set -o icons-optimized --config svgo.config.js", - "compile:icons": "rimraf icons-optimized && yarn svgo:icons && node scripts/index.mjs && prettier ./icons-optimized/index.ts --write" + "compile:icons": "rimraf dist && rimraf icons-optimized && yarn svgo:icons && node scripts/index.mjs && prettier ./src/icons.generated.ts --write && tsc --project ./tsconfig.json" } } diff --git a/packages/icons/scripts/index.mjs b/packages/icons/scripts/index.mjs index 8913a20f2..eeb9f02ad 100644 --- a/packages/icons/scripts/index.mjs +++ b/packages/icons/scripts/index.mjs @@ -5,6 +5,7 @@ import chalk from 'chalk'; const __dirname = path.resolve(); const iconDir = `${__dirname}/icons-optimized`; +const srcDir = `${__dirname}/src`; let pureKeys = []; @@ -31,9 +32,9 @@ fs.readdir(iconDir, (err, files) => { pureKeys.push(`"${nameWithoutSize}"`); } - iconTemplateStrings.push( - `const ${name} = () => import(\`!!raw-loader!@boiler/icons/icons-optimized/\$\{"${file}"\}\`); \n` - ); + const svgFileContent = fs.readFileSync(path.resolve(iconDir, file), { encoding: 'utf-8' }); + + iconTemplateStrings.push(`export const ${name}: string = ${JSON.stringify(svgFileContent)};`); } }); @@ -54,5 +55,5 @@ fs.readdir(iconDir, (err, files) => { export type SizelessIconType = (typeof PureIconKeys)[number]; `; - fs.writeFileSync(`${iconDir}/index.ts`, template, 'utf-8'); + fs.writeFileSync(`${srcDir}/icons.generated.ts`, template, 'utf-8'); }); diff --git a/packages/icons/src/index.ts b/packages/icons/src/index.ts new file mode 100644 index 000000000..c46868c68 --- /dev/null +++ b/packages/icons/src/index.ts @@ -0,0 +1 @@ +export * from './icons.generated.js'; diff --git a/packages/icons/svgo.config.js b/packages/icons/svgo.config.js index 20136a9b6..04c0ce695 100644 --- a/packages/icons/svgo.config.js +++ b/packages/icons/svgo.config.js @@ -1,4 +1,4 @@ -module.exports = { +const config = { plugins: [ 'removeComments', 'removeUselessDefs', @@ -14,3 +14,5 @@ module.exports = { }, ], }; + +export default config; diff --git a/packages/icons/tsconfig.json b/packages/icons/tsconfig.json new file mode 100644 index 000000000..039e21ca4 --- /dev/null +++ b/packages/icons/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "outDir": "./dist", + "declaration": true, + "declarationMap": true, + "sourceMap": true, + "moduleResolution": "NodeNext", + "module": "NodeNext", + "target": "es2020", + "jsx": "react", + "allowSyntheticDefaultImports": false, + "esModuleInterop": false, + "allowJs": true, + "experimentalDecorators": true, + "skipLibCheck": true, + "strict": true, + "useDefineForClassFields": false + }, + "include": ["src"] +} diff --git a/packages/js-example-app/package.json b/packages/js-example-app/package.json index 3b05a1cbe..e6c6f3f1b 100644 --- a/packages/js-example-app/package.json +++ b/packages/js-example-app/package.json @@ -1,20 +1,27 @@ { "name": "@boiler/js-example-app", "version": "0.0.1", + "type": "module", "description": "", "private": true, "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", - "build-index": "yarn run -T ejs src/index.ejs baseURL=. -o src/assets/index.html", - "build-index:prod": "yarn run -T ejs src/index.ejs baseURL=js-example-app -o src/assets/index.html", - "build": "yarn run build-index && webpack --config webpack.dev.js", - "build:prod": "yarn run build-index:prod && webpack --config webpack.prod.js", - "serve": "http-server ./dist" + "build:dev": "yarn run -T build:ui-library && yarn run -T tsc --project ./tsconfig.json --incremental", + "start:dev": "yarn build:dev && node --conditions=development ./dist/server.js" }, "keywords": [], "author": "", "license": "ISC", "dependencies": { - "@boiler/ui-library": "0.0.1" + "@boiler/ui-library": "^0.0.1", + "@koa/router": "^10.0.0", + "@lit-labs/ssr": "^3.1.2", + "@webcomponents/template-shadowroot": "^0.1.0", + "koa": "^2.13.1", + "koa-node-resolve": "^1.0.0-pre.9", + "koa-static": "^5.0.0", + "lit": "^3.1.2" + }, + "devDependencies": { + "@types/koa__router": "^12.0.4" } } diff --git a/packages/js-example-app/src/index.client.ts b/packages/js-example-app/src/index.client.ts new file mode 100644 index 000000000..d5ed2b0a4 --- /dev/null +++ b/packages/js-example-app/src/index.client.ts @@ -0,0 +1,214 @@ +import { + BlrButtonIcon, + BlrButtonText, + BlrCheckbox, + BlrInputFieldNumber, + BlrInputFieldText, + BlrRadio, + BlrSelect, + BlrTabBar, + BlrTextarea, + BlrToggleSwitch, +} from '@boiler/ui-library'; + +async function hydrate() { + // Start fetching the Lit hydration support module (note the absence + // of "await" -- we don't want to block yet). + const litHydrateSupportInstalled = import('@lit-labs/ssr-client/lit-element-hydrate-support.js'); + + if (!HTMLTemplateElement.prototype.hasOwnProperty('shadowRoot')) { + // Fetch the declarative shadow DOM polyfill. + const { hydrateShadowRoots } = await import('@webcomponents/template-shadowroot/template-shadowroot.js'); + + // Apply the polyfill. This is a one-shot operation, so it is important + // it happens after all HTML has been parsed. + hydrateShadowRoots(document.body); + } + + await litHydrateSupportInstalled; + + // Import component modules causing them to become interactive + await import('@boiler/ui-library'); +} + +function init() { + const toggleLoadingButton = document.querySelector('#toggleLoadingState')!; + const toggleDisabledState = document.querySelector('#toggleDisabledState')!; + const logsContainer = document.querySelector('#logs')!; + + const blrButtonText = document.getElementsByTagName('blr-button-text')[0] as BlrButtonText; + const blrButtonIcon = document.getElementsByTagName('blr-button-icon')[0] as BlrButtonIcon; + const blrCheckbox = document.getElementsByTagName('blr-checkbox')[0] as BlrCheckbox; + const blrSelect = document.getElementsByTagName('blr-select')[0] as BlrSelect; + const blrInputFieldText = document.getElementsByTagName('blr-input-field-text')[0] as BlrInputFieldText; + const blrInputFieldNumber = document.getElementsByTagName('blr-input-field-number')[0] as BlrInputFieldNumber; + const blrTextArea = document.getElementsByTagName('blr-textarea')[0] as BlrTextarea; + const blrRadio = document.getElementsByTagName('blr-radio')[0] as BlrRadio; + const blrToggleSwitch = document.getElementsByTagName('blr-label-toggleswitch')[0] as BlrToggleSwitch; + const blrTabBar = document.getElementsByTagName('blr-tab-bar')[0] as BlrTabBar; + + const addLog = (log: string) => { + logsContainer.innerHTML = logsContainer.innerHTML + log + '
'; + + logsContainer.scrollTo(0, logsContainer.scrollHeight); + }; + + toggleLoadingButton.addEventListener('click', () => { + const currentState = blrButtonText.getAttribute('loading'); + + if (currentState) { + blrButtonText.removeAttribute('loading'); + addLog('Set blr-button-text loading state to false'); + } else { + blrButtonText.setAttribute('loading', 'true'); + addLog('Set blr-button-text loading state to true'); + } + }); + + toggleDisabledState.addEventListener('click', () => { + const currentState = blrButtonText.getAttribute('disabled'); + + if (currentState) { + blrButtonText.removeAttribute('disabled'); + addLog('Set blr-button-text disabled state to false'); + } else { + blrButtonText.setAttribute('disabled', 'true'); + addLog('Set blr-button-text loading state to true'); + } + }); + + blrButtonText.addEventListener('blrClick', () => { + addLog('blr-button-text clicked'); + }); + + blrButtonText.addEventListener('blrFocus', () => { + addLog('blr-button-text focused'); + }); + + blrButtonText.addEventListener('blrBlur', () => { + addLog('blr-button-text blurred'); + }); + + blrButtonIcon.addEventListener('blrClick', () => { + addLog('blr-button-icon clicked'); + }); + + blrButtonIcon.addEventListener('blrFocus', () => { + addLog('blr-button-icon focused'); + }); + + blrButtonIcon.addEventListener('blrBlur', () => { + addLog('blr-button-icon blurred'); + }); + + blrCheckbox.addEventListener('blrCheckedChange', (e) => { + addLog('blr-checkbox changed: ' + e.detail.checkedState); + }); + + blrCheckbox.addEventListener('blrFocus', () => { + addLog('blr-checkbox focused'); + }); + + blrCheckbox.addEventListener('blrBlur', () => { + addLog('blr-checkbox blurred'); + }); + + blrSelect.addEventListener('blrSelectedValueChange', (e) => { + addLog('blr-select changed: ' + e.detail.selectedValue); + }); + + blrSelect.addEventListener('blrFocus', () => { + addLog('blr-select focused'); + }); + + blrSelect.addEventListener('blrBlur', () => { + addLog('blr-select blurred'); + }); + + blrInputFieldText.addEventListener('blrFocus', () => { + addLog('blr-text-input focused'); + }); + + blrInputFieldText.addEventListener('blrBlur', () => { + addLog('blr-input-field-text blurred'); + }); + + blrInputFieldText.addEventListener('blrSelect', () => { + addLog('blr-input-field-text selected'); + }); + + blrInputFieldText.addEventListener('blrTextValueChange', (e) => { + addLog('blr-input-field-text changed: ' + e.detail.inputValue); + }); + + blrInputFieldNumber.addEventListener('blrFocus', () => { + addLog('blr-input-field-number focused'); + }); + + blrInputFieldNumber.addEventListener('blrBlur', () => { + addLog('blr-input-field-number blurred'); + }); + + blrInputFieldNumber.addEventListener('blrSelect', () => { + addLog('blr-input-field-number selected'); + }); + + blrInputFieldNumber.addEventListener('blrNumberValueChange', (e) => { + addLog('blr-input-field-number value changed: ' + e.detail.inputValue); + }); + + blrTextArea.addEventListener('blrFocus', () => { + addLog('blr-textarea focused'); + }); + + blrTextArea.addEventListener('blrBlur', () => { + addLog('blr-textarea blurred'); + }); + + blrTextArea.addEventListener('blrTextValueChange', (e) => { + addLog('blr-textarea changed: ' + e.detail.inputValue); + }); + + blrTextArea.addEventListener('blrSelect', () => { + addLog('blr-textarea selected'); + }); + + blrRadio.addEventListener('blrFocus', () => { + addLog('blr-radio focused'); + }); + + blrRadio.addEventListener('blrBlur', () => { + addLog('blr-radio blurred'); + }); + + blrRadio.addEventListener('blrSelectedValueChange', (e) => { + addLog('blr-radio changed: ' + e.detail.selectedValue); + }); + + blrToggleSwitch.addEventListener('blrFocus', () => { + addLog('blr-toggleswitch focused'); + }); + + blrToggleSwitch.addEventListener('blrBlur', () => { + addLog('blr-toggleswitch blurred'); + }); + + blrToggleSwitch.addEventListener('blrCheckedChange', (e) => { + addLog('blr-toggleswitch changed: ' + e.detail.checkedState); + }); + + blrTabBar.addEventListener('blrFocus', () => { + addLog('blr-tab-bar focused'); + }); + + blrTabBar.addEventListener('blrBlur', () => { + addLog('blr-tab-bar blurred'); + }); + + blrTabBar.addEventListener('blrChange', (e) => { + addLog('blr-tab-bar changed: ' + e.detail.changedValue); + }); +} + +await hydrate(); +init(); diff --git a/packages/js-example-app/src/index.ejs b/packages/js-example-app/src/index.ejs deleted file mode 100644 index f80fef82f..000000000 --- a/packages/js-example-app/src/index.ejs +++ /dev/null @@ -1,211 +0,0 @@ - - - - - Boiler | Vanilla JS Example App - - - -
- boiler -

Vanilla JS Example Application

-
- -
-
-
-

Button Text

- - - -
- -
-

Icon Button

- - -
- -
-

Select

- - - - - - - - - -
- -
-

Checkbox

- - -
- -
-

Input Field Text

- - -
- -
-

Input Field Number

- -
- -
-

Textarea

- - -
- -
-

Tooltip

- - - - -
- -
-

Radio Input

- - -
- -
-

Tab Bar

-

Tab 1

-

Tab 2

-

Tab 3

-

Tab 4

-

Tab 5

-

Tab 6

-

Tab 7

-

Tab 8

-

Tab 9

-

Tab 10

-

Tab 11

-
-
- -
-

Toggle Switch

- -
-
- -
-
- - - - diff --git a/packages/js-example-app/src/index.js b/packages/js-example-app/src/index.js deleted file mode 100644 index ad8d6d655..000000000 --- a/packages/js-example-app/src/index.js +++ /dev/null @@ -1,179 +0,0 @@ -import '@boiler/ui-library/dist/index.js'; -import './style.scss'; - -const toggleLoadingButton = document.querySelector('#toggleLoadingState'); -const toggleDisabledState = document.querySelector('#toggleDisabledState'); -const logsContainer = document.querySelector('#logs'); - -const blrButtonText = document.getElementsByTagName('blr-button-text')[0]; -const blrButtonIcon = document.getElementsByTagName('blr-button-icon')[0]; -const blrCheckbox = document.getElementsByTagName('blr-checkbox')[0]; -const blrSelect = document.getElementsByTagName('blr-select')[0]; -const blrInputFieldText = document.getElementsByTagName('blr-input-field-text')[0]; -const blrInputFieldNumber = document.getElementsByTagName('blr-input-field-number')[0]; -const blrTextArea = document.getElementsByTagName('blr-textarea')[0]; -const blrRadio = document.getElementsByTagName('blr-radio')[0]; -const blrToggleSwitch = document.getElementsByTagName('blr-label-toggleswitch')[0]; -const blrTabBar = document.getElementsByTagName('blr-tab-bar')[0]; - -const addLog = (log) => { - logsContainer.innerHTML = logsContainer.innerHTML + log + '
'; - - logsContainer.scrollTo(0, logsContainer.scrollHeight); -}; - -toggleLoadingButton.addEventListener('click', () => { - const currentState = blrButtonText.getAttribute('loading'); - - if (currentState) { - blrButtonText.removeAttribute('loading'); - addLog('Set blr-button-text loading state to false'); - } else { - blrButtonText.setAttribute('loading', 'true'); - addLog('Set blr-button-text loading state to true'); - } -}); - -toggleDisabledState.addEventListener('click', () => { - const currentState = blrButtonText.getAttribute('disabled'); - - if (currentState) { - blrButtonText.removeAttribute('disabled'); - addLog('Set blr-button-text disabled state to false'); - } else { - blrButtonText.setAttribute('disabled', 'true'); - addLog('Set blr-button-text loading state to true'); - } -}); - -blrButtonText.addEventListener('blrClick', () => { - addLog('blr-button-text clicked'); -}); - -blrButtonText.addEventListener('blrFocus', () => { - addLog('blr-button-text focused'); -}); - -blrButtonText.addEventListener('blrBlur', () => { - addLog('blr-button-text blurred'); -}); - -blrButtonIcon.addEventListener('blrClick', () => { - addLog('blr-button-icon clicked'); -}); - -blrButtonIcon.addEventListener('blrFocus', () => { - addLog('blr-button-icon focused'); -}); - -blrButtonIcon.addEventListener('blrBlur', () => { - addLog('blr-button-icon blurred'); -}); - -blrCheckbox.addEventListener('blrCheckedChange', (e) => { - addLog('blr-checkbox changed: ' + e.detail.checkedState); -}); - -blrCheckbox.addEventListener('blrFocus', () => { - addLog('blr-checkbox focused'); -}); - -blrCheckbox.addEventListener('blrBlur', () => { - addLog('blr-checkbox blurred'); -}); - -blrSelect.addEventListener('blrSelectedValueChange', (e) => { - addLog('blr-select changed: ' + e.detail.selectedValue); -}); - -blrSelect.addEventListener('blrFocus', () => { - addLog('blr-select focused'); -}); - -blrSelect.addEventListener('blrBlur', () => { - addLog('blr-select blurred'); -}); - -blrInputFieldText.addEventListener('blrFocus', () => { - addLog('blr-text-input focused'); -}); - -blrInputFieldText.addEventListener('blrBlur', () => { - addLog('blr-input-field-text blurred'); -}); - -blrInputFieldText.addEventListener('blrSelect', () => { - addLog('blr-input-field-text selected'); -}); - -blrInputFieldText.addEventListener('blrTextValueChange', (e) => { - addLog('blr-input-field-text changed: ' + e.detail.inputValue); -}); - -blrInputFieldNumber.addEventListener('blrFocus', () => { - addLog('blr-input-field-number focused'); -}); - -blrInputFieldNumber.addEventListener('blrBlur', () => { - addLog('blr-input-field-number blurred'); -}); - -blrInputFieldNumber.addEventListener('blrSelect', () => { - addLog('blr-input-field-number selected'); -}); - -blrInputFieldNumber.addEventListener('blrNumberValueChange', (e) => { - addLog('blr-input-field-number value changed: ' + e.detail.inputValue); -}); - -blrTextArea.addEventListener('blrFocus', () => { - addLog('blr-textarea focused'); -}); - -blrTextArea.addEventListener('blrBlur', () => { - addLog('blr-textarea blurred'); -}); - -blrTextArea.addEventListener('blrTextValueChange', (e) => { - addLog('blr-textarea changed: ' + e.detail.inputValue); -}); - -blrTextArea.addEventListener('blrSelect', () => { - addLog('blr-textarea selected'); -}); - -blrRadio.addEventListener('blrFocus', () => { - addLog('blr-radio focused'); -}); - -blrRadio.addEventListener('blrBlur', () => { - addLog('blr-radio blurred'); -}); - -blrRadio.addEventListener('blrSelectedValueChange', (e) => { - addLog('blr-radio changed: ' + e.detail.selectedValue); -}); - -blrToggleSwitch.addEventListener('blrFocus', () => { - addLog('blr-toggleswitch focused'); -}); - -blrToggleSwitch.addEventListener('blrBlur', () => { - addLog('blr-toggleswitch blurred'); -}); - -blrToggleSwitch.addEventListener('blrCheckedChange', (e) => { - addLog('blr-toggleswitch changed: ' + e.detail.checkedState); -}); - -blrTabBar.addEventListener('blrFocus', () => { - addLog('blr-tab-bar focused'); -}); - -blrTabBar.addEventListener('blrBlur', () => { - addLog('blr-tab-bar blurred'); -}); - -blrTabBar.addEventListener('blrChange', (e) => { - addLog('blr-tab-bar changed: ' + e.detail.changedValue); -}); diff --git a/packages/js-example-app/src/index.server.ts b/packages/js-example-app/src/index.server.ts new file mode 100644 index 000000000..d995c915e --- /dev/null +++ b/packages/js-example-app/src/index.server.ts @@ -0,0 +1,234 @@ +import { render } from '@lit-labs/ssr'; +import { html } from 'lit'; +import '@boiler/ui-library'; + +export function* renderIndex() { + yield* render(html` + + + + + Boiler | Vanilla JS Example App + + + + +
+ boiler +

Vanilla JS Example Application

+
+ +
+
+
+

Button Text

+ + + +
+ +
+

Icon Button

+ + +
+ +
+

Select

+ + +
+ +
+

Checkbox

+ + +
+ +
+

Input Field Text

+ + +
+ +
+

Input Field Number

+ +
+ +
+

Textarea

+ + +
+ +
+

Tooltip

+ + + + +
+ +
+

Radio Input

+ + +
+ +
+

Tab Bar

+

Tab 1

+

Tab 2

+

Tab 3

+

Tab 4

+

Tab 5

+

Tab 6

+

Tab 7

+

Tab 8

+

Tab 9

+

Tab 10

+

Tab 11

+
+
+ +
+

Toggle Switch

+ +
+
+ +
+
+ + + + `); +} diff --git a/packages/js-example-app/src/server.ts b/packages/js-example-app/src/server.ts new file mode 100644 index 000000000..f49b33703 --- /dev/null +++ b/packages/js-example-app/src/server.ts @@ -0,0 +1,24 @@ +import Koa from 'koa'; +import { AddressInfo } from 'node:net'; +import Router from '@koa/router'; +import staticFiles from 'koa-static'; +import { nodeResolve } from 'koa-node-resolve'; +import { RenderResultReadable } from '@lit-labs/ssr/lib/render-result-readable.js'; + +import { renderIndex } from './index.server.js'; + +const app = new Koa(); +const router = new Router(); +const port = process.env.PORT || 3000; + +router.get('/', (ctx) => { + ctx.type = 'text/html'; + ctx.body = new RenderResultReadable(renderIndex()); +}); + +app.use(router.routes()); +app.use(nodeResolve({ root: '../../' })); +app.use(staticFiles('../../', { maxage: Number.MAX_SAFE_INTEGER })); + +const server = app.listen({ host: '0.0.0.0', port }); +server.on('listening', () => console.info(`Server listening on port ${(server.address() as AddressInfo).port}`)); diff --git a/packages/js-example-app/src/style.scss b/packages/js-example-app/src/style.css similarity index 94% rename from packages/js-example-app/src/style.scss rename to packages/js-example-app/src/style.css index c26646e06..b1067f107 100644 --- a/packages/js-example-app/src/style.scss +++ b/packages/js-example-app/src/style.css @@ -1,4 +1,4 @@ -@import '@boiler/ui-library/dist/assets/fonts/fonts.css'; +@import '../../assets/fonts/fonts.css'; body { margin: 0; diff --git a/packages/js-example-app/src/types/declarations.d.ts b/packages/js-example-app/src/types/declarations.d.ts new file mode 100644 index 000000000..6eedede36 --- /dev/null +++ b/packages/js-example-app/src/types/declarations.d.ts @@ -0,0 +1,3 @@ +declare module 'koa-static' { + export default function(arg: string, opts?: { maxage: number }): import('koa').Middleware +} diff --git a/packages/js-example-app/tsconfig.json b/packages/js-example-app/tsconfig.json new file mode 100644 index 000000000..16d80264b --- /dev/null +++ b/packages/js-example-app/tsconfig.json @@ -0,0 +1,29 @@ +{ + "compilerOptions": { + "moduleResolution": "NodeNext", + "declaration": true, + "declarationMap": true, + "outDir": "./dist", + "allowSyntheticDefaultImports": false, + "emitDeclarationOnly": false, + "sourceMap": true, + "module": "NodeNext", + "target": "es2020", + "jsx": "react", + "allowJs": true, + "experimentalDecorators": false, + "skipLibCheck": true, + "strict": true, + "useDefineForClassFields": true, + "plugins": [ + { + "name": "ts-lit-plugin", + "strict": true, + "rules": { + "no-missing-import": "off" + } + } + ] + }, + "include": ["./src"] +} diff --git a/packages/js-example-app/webpack.config.js b/packages/js-example-app/webpack.config.js deleted file mode 100644 index 81412380b..000000000 --- a/packages/js-example-app/webpack.config.js +++ /dev/null @@ -1,24 +0,0 @@ -const path = require('path'); - -module.exports = { - entry: './src/index.js', - output: { - filename: 'main.js', - path: path.resolve(__dirname, 'dist'), - }, - module: { - rules: [ - { - test: /\.s[ac]ss$/i, - use: [ - // Creates `style` nodes from JS strings - 'style-loader', - // Translates CSS into CommonJS - 'css-loader', - // Compiles Sass to CSS - 'sass-loader', - ], - }, - ], - }, -}; diff --git a/packages/js-example-app/webpack.dev.js b/packages/js-example-app/webpack.dev.js deleted file mode 100644 index cbe47371a..000000000 --- a/packages/js-example-app/webpack.dev.js +++ /dev/null @@ -1,15 +0,0 @@ -/* eslint-disable @typescript-eslint/no-var-requires */ -const { merge } = require('webpack-merge'); -const common = require('./webpack.config.js'); -const CopyPlugin = require('copy-webpack-plugin'); - -module.exports = merge(common, { - plugins: [ - new CopyPlugin({ - patterns: [ - { from: 'src/assets', to: '.' }, - { from: '../ui-library/dist', to: '.' }, - ], - }), - ], -}); diff --git a/packages/js-example-app/webpack.prod.js b/packages/js-example-app/webpack.prod.js deleted file mode 100644 index 7a56e651b..000000000 --- a/packages/js-example-app/webpack.prod.js +++ /dev/null @@ -1,18 +0,0 @@ -/* eslint-disable @typescript-eslint/no-var-requires */ -const { merge } = require('webpack-merge'); -const common = require('./webpack.config.js'); -const CopyPlugin = require('copy-webpack-plugin'); - -module.exports = merge(common, { - output: { - publicPath: '/js-example-app/', - }, - plugins: [ - new CopyPlugin({ - patterns: [ - { from: 'src/assets', to: '.' }, - { from: '../ui-library/dist', to: '.' }, - ], - }), - ], -}); diff --git a/packages/ui-library/.babelrc b/packages/ui-library/.babelrc new file mode 100644 index 000000000..c58d74138 --- /dev/null +++ b/packages/ui-library/.babelrc @@ -0,0 +1,6 @@ +// Used by Storybook +{ + "sourceType": "unambiguous", + "presets": ["@babel/preset-env", "@babel/preset-typescript"], + "plugins": [["@babel/plugin-proposal-decorators", { "version": "2023-05" }]] +} diff --git a/packages/ui-library/.eslintrc.cjs b/packages/ui-library/.eslintrc.cjs new file mode 100644 index 000000000..3ff9cc549 --- /dev/null +++ b/packages/ui-library/.eslintrc.cjs @@ -0,0 +1,38 @@ +module.exports = { + root: true, + parser: '@typescript-eslint/parser', + parserOptions: { + tsconfigRootDir: __dirname, + project: ['./tsconfig.eslint.json'], + ecmaVersion: 2022, + sourceType: 'module', + }, + + plugins: ['@typescript-eslint'], + extends: ['../eslint-config-boiler'], + ignorePatterns: ['types/', '*.generated.*', '*.svg', '*.scss', '*.css', '*.md', '*.config.mjs', '.*', 'webpack*.js'], + rules: { + 'no-restricted-imports': [ + 'error', + { + patterns: [ + { + group: ['lit', '!**/utils/lit'], + importNamePattern: '^LitElement$', + message: `Don't use the default LitElement class. Import LitElementCustom from /utils/lit/element.js instead`, + }, + { + group: ['lit', '!**/utils/lit'], + importNamePattern: '^css$', + message: `Don't use lit's css function. Use css from /utils/css-in-ts/nested-typesafe-css-literals instead`, + }, + { + group: ['lit', '!**/utils/lit'], + importNamePattern: '^property$', + message: `Don't use the default @property decorator. Import property from /utils/lit/decorators.js instead`, + }, + ], + }, + ], + }, +}; diff --git a/packages/ui-library/.eslintrc.js b/packages/ui-library/.eslintrc.js deleted file mode 100644 index fcf15ff9d..000000000 --- a/packages/ui-library/.eslintrc.js +++ /dev/null @@ -1,28 +0,0 @@ -module.exports = { - root: true, - parser: '@typescript-eslint/parser', - parserOptions: { - tsconfigRootDir: __dirname, - project: ['./tsconfig.eslint.json'], - ecmaVersion: 2022, - sourceType: 'module', - }, - - plugins: ['@typescript-eslint'], - extends: ['../eslint-config-boiler'], - ignorePatterns: ['types/', '*.svg', '*.scss', '*.css', '*.md', '*.config.mjs', '.*', 'webpack*.js'], - rules: { - 'no-restricted-imports': [ - 'error', - { - patterns: [ - { - group: ['lit'], - importNamePattern: 'LitElement', - message: `Don't use the default LitElement class. Import from /utils/lit-element-custom instead`, - }, - ], - }, - ], - }, -}; diff --git a/packages/ui-library/.storybook/main.ts b/packages/ui-library/.storybook/main.ts index d7fa845a1..4ce7ce587 100644 --- a/packages/ui-library/.storybook/main.ts +++ b/packages/ui-library/.storybook/main.ts @@ -1,5 +1,6 @@ import type { StorybookConfig } from '@storybook/web-components-webpack5'; import { resolve } from 'path'; +import { merge } from 'webpack-merge'; const config: StorybookConfig = { stories: ['../src/**/*.stories.@(js|jsx|ts|tsx)'], @@ -19,25 +20,35 @@ const config: StorybookConfig = { ${body} `, - webpackFinal: async (config) => { - config.module!.rules!.push({ - test: /\.scss$/, - use: ['style-loader', 'css-loader', 'sass-loader'], - include: resolve(__dirname, 'packages'), - }); - - config.module!.rules!.push({ - test: /\.svg$/, - use: [ - { - loader: 'raw-loader', + const result = merge(config, { + resolve: { + extensionAlias: { + '.js': ['.ts', '.js'], + '.mjs': ['.mts', '.mjs'], + '.cjs': ['.cts', '.cjs'], }, - ], + }, + module: { + rules: [ + { + test: /\.scss$/, + use: ['style-loader', 'css-loader', 'sass-loader'], + include: resolve(__dirname, 'packages'), + }, + { + test: /\.svg$/, + use: [ + { + loader: 'raw-loader', + }, + ], + }, + ], + }, }); - // Return the altered config - return config; + return result; }, }; diff --git a/packages/ui-library/.stylelintrc.json b/packages/ui-library/.stylelintrc.json index 0fe70ebd8..f6676d08d 100644 --- a/packages/ui-library/.stylelintrc.json +++ b/packages/ui-library/.stylelintrc.json @@ -1,20 +1,11 @@ { "extends": "stylelint-config-standard", - "customSyntax": "postcss-lit", + "customSyntax": "postcss-styled-syntax", "rules": { - "comment-empty-line-before": null, - "at-rule-empty-line-before": null, - "declaration-empty-line-before": null, - "declaration-colon-newline-after": null, - "property-no-vendor-prefix": null, - "alpha-value-notation": null, - "value-keyword-case": ["lower", { "ignoreProperties": ["--font-family-sans"], "ignoreKeywords": ["/POSTCSS/"] }], + "declaration-block-no-redundant-longhand-properties": null, "selector-class-pattern": null, - "no-descending-specificity": null, - "value-no-vendor-prefix": null, - "font-family-name-quotes": null, - "selector-not-notation": null, - "max-line-length": null - }, - "ignoreShorthands": ["outline"] + "property-no-vendor-prefix": null, + "no-duplicate-selectors": null, + "no-descending-specificity": null + } } diff --git a/packages/ui-library/babel.config.json b/packages/ui-library/babel.config.json deleted file mode 100644 index 6497ac208..000000000 --- a/packages/ui-library/babel.config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "sourceType": "unambiguous", - "presets": ["@babel/preset-env", "@babel/preset-typescript"], - "plugins": [ - ["@babel/plugin-proposal-decorators", { "decoratorsBeforeExport": true }], - "@babel/plugin-transform-class-properties" - ] -} diff --git a/packages/ui-library/package.json b/packages/ui-library/package.json index 8b91aaad5..bcedb3725 100644 --- a/packages/ui-library/package.json +++ b/packages/ui-library/package.json @@ -2,13 +2,21 @@ "name": "@boiler/ui-library", "version": "0.0.1", "description": "", + "type": "module", + "main": "./dist/index.js", + "types": "./dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.js" + } + }, "scripts": { "start:storybook": "sb dev -p 1337", "analyze": "npx lit-analyzer src", - "compile": "tsc --project tsconfig.json", + "compile": "tsc --project ./tsconfig.json --incremental", "build:storybook": "sb build", - "build": "NODE_ENV=production webpack --config webpack.prod.js", - "build:types": "rimraf types && tsc --emitDeclarationOnly", + "build": "yarn compile && cp -R ../assets ./dist/assets", "lint": "yarn lint:eslint && yarn lint:stylelint", "format": "yarn format:eslint && yarn format:prettier", "lint:eslint": "eslint 'src/**' --ext .ts,.tsx", @@ -29,7 +37,7 @@ "@boiler/icons": "0.0.1", "@floating-ui/dom": "^1.6.3", "@lit-labs/react": "^1.1.1", - "lit": "^2.6.1", + "lit": "^3.1.2", "nested-css-to-flat": "^1.0.5" } } diff --git a/packages/ui-library/src/components/button-group/index.css.ts b/packages/ui-library/src/components/button-group/index.css.ts index 7ef58e0a3..bb0535adf 100644 --- a/packages/ui-library/src/components/button-group/index.css.ts +++ b/packages/ui-library/src/components/button-group/index.css.ts @@ -1,42 +1,42 @@ -import { ComponentThemeIterator } from "../../foundation/_tokens-generated/index.pseudo.generated"; -import { typeSafeNestedCss } from "../../utils/css-in-ts/nested-typesafe-css-literals"; +import { ComponentThemeIterator } from "../../foundation/_tokens-generated/index.pseudo.generated.js"; +import { css } from "../../utils/css-in-ts/nested-typesafe-css-literals.js"; -export const staticStyles = typeSafeNestedCss/* css */ ` - ${ComponentThemeIterator((theme, cmp, typeSafeCss) => { +export const staticStyles = css` + ${ComponentThemeIterator((theme, cmp, css) => { const { ButtonGroup } = cmp; - return typeSafeCss/* css */ ` + return css` .blr-button-group.${theme} { display: flex; - + &.left { justify-content: flex-start; } - + &.center { justify-content: center; } - + &.right { justify-content: flex-end; } - + &.xs { gap: ${ButtonGroup.Container.ItemSpacing.XS}; } - + &.sm { gap: ${ButtonGroup.Container.ItemSpacing.SM}; } - + &.md { gap: ${ButtonGroup.Container.ItemSpacing.MD}; } - + &.lg { gap: ${ButtonGroup.Container.ItemSpacing.LG}; } - + &.xl { gap: ${ButtonGroup.Container.ItemSpacing.XL}; } diff --git a/packages/ui-library/src/components/button-group/index.stories.ts b/packages/ui-library/src/components/button-group/index.stories.ts index 33d429695..6d960b549 100644 --- a/packages/ui-library/src/components/button-group/index.stories.ts +++ b/packages/ui-library/src/components/button-group/index.stories.ts @@ -1,11 +1,11 @@ /* eslint-disable no-console */ import { html } from 'lit'; -import '../../index'; -import { ButtonGroupSizes, ButtonGroupAlignmentVariants } from '../../globals/constants'; -import { BlrButtonIconRenderFunction } from '../button-icon/renderFunction'; -import { BlrButtonTextRenderFunction } from '../button-text/renderFunction'; -import { BlrButtonGroupType } from '.'; -import { BlrButtonGroupRenderFunction } from './renderFunction'; +import '../../index.js'; +import { ButtonGroupSizes, ButtonGroupAlignmentVariants } from '../../globals/constants.js'; +import { BlrButtonIconRenderFunction } from '../button-icon/renderFunction.js'; +import { BlrButtonTextRenderFunction } from '../button-text/renderFunction.js'; +import { BlrButtonGroupType } from './index.js'; +import { BlrButtonGroupRenderFunction } from './renderFunction.js'; const sharedStyles = html` + return html` ${unsafeHTML(``)}