diff --git a/.dockerignore b/.dockerignore index 4aebaf1e..5bc3cea8 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,7 +1,6 @@ .DS_Store Thumbs.db node_modules/ -**/dist/ **/build/ # VS-CODE diff --git a/Dockerfile b/Dockerfile index e4153825..a1e84e60 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM node:18-alpine3.18 COPY packages/core-components/docs-build /tmp +COPY packages/core-components/dist /tmp/design-system/dist RUN echo "Ok" > /tmp/design-system/health.html CMD ["npx", "http-serve", "/tmp", "-p", "80", "-d", "false", "--cors"] diff --git a/package-lock.json b/package-lock.json index e994f9f3..9b9382a7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30464,10 +30464,10 @@ }, "packages/core-components": { "name": "@otto-de/b2b-core-components", - "version": "1.6.1", + "version": "1.7.0", "license": "Apache-2.0", "dependencies": { - "@otto-de/b2b-tokens": "1.6.1", + "@otto-de/b2b-tokens": "1.7.0", "@stencil-community/eslint-plugin": "^0.5.0", "@stencil/core": "^3.4.2" }, @@ -30569,10 +30569,10 @@ }, "packages/react-components": { "name": "@otto-de/b2b-react-components", - "version": "1.6.1", + "version": "1.7.0", "license": "Apache-2.0", "dependencies": { - "@otto-de/b2b-core-components": "1.6.1" + "@otto-de/b2b-core-components": "1.7.0" }, "devDependencies": { "@types/node": "^18.17.1", @@ -30596,7 +30596,7 @@ }, "packages/tokens": { "name": "@otto-de/b2b-tokens", - "version": "1.6.1", + "version": "1.7.0", "license": "Apache-2.0", "devDependencies": { "lodash": "^4.17.21", @@ -33790,7 +33790,7 @@ "@babel/core": "^7.21.3", "@babel/preset-typescript": "^7.22.15", "@fullhuman/postcss-purgecss": "^5.0.0", - "@otto-de/b2b-tokens": "1.6.1", + "@otto-de/b2b-tokens": "1.7.0", "@stencil-community/eslint-plugin": "^0.5.0", "@stencil/core": "^3.4.2", "@stencil/postcss": "^2.1.0", @@ -33877,7 +33877,7 @@ "@otto-de/b2b-react-components": { "version": "file:packages/react-components", "requires": { - "@otto-de/b2b-core-components": "1.6.1", + "@otto-de/b2b-core-components": "1.7.0", "@types/node": "^18.17.1", "@types/react": "^17.0.62", "@types/react-dom": "^17.0.20", @@ -39760,6 +39760,11 @@ "trim-newlines": "3.0.1", "type-fest": "^0.18.0", "yargs-parser": "^20.2.3" + }, + "dependencies": { + "trim-newlines": { + "version": "3.0.1" + } } }, "type-fest": { @@ -39811,6 +39816,11 @@ "trim-newlines": "3.0.1", "type-fest": "^0.18.0", "yargs-parser": "^20.2.3" + }, + "dependencies": { + "trim-newlines": { + "version": "3.0.1" + } } }, "type-fest": { @@ -42171,6 +42181,11 @@ "trim-newlines": "3.0.1", "type-fest": "^0.18.0", "yargs-parser": "^20.2.3" + }, + "dependencies": { + "trim-newlines": { + "version": "3.0.1" + } } }, "type-fest": { @@ -45697,6 +45712,9 @@ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", "dev": true + }, + "trim-newlines": { + "version": "3.0.1" } } }, @@ -46473,6 +46491,11 @@ "sass-graph": "4.0.1", "stdout-stream": "^1.4.0", "true-case-path": "^1.0.2" + }, + "dependencies": { + "sass-graph": { + "version": "4.0.1" + } } }, "noms": { diff --git a/packages/core-components/src/docs/config/components-args.json b/packages/core-components/src/docs/config/components-args.json index c122730c..36d278be 100644 --- a/packages/core-components/src/docs/config/components-args.json +++ b/packages/core-components/src/docs/config/components-args.json @@ -91,7 +91,7 @@ "summary": "null" } }, - "description": "If set to true, the browser will attempt to donwload and save the URL instead of opening it. The name of the created file\ndefaults to the URL string, but can be changed by the user." + "description": "If set to true, the browser will attempt to donwload and save the URL instead of opening it. The name of the created file\r\ndefaults to the URL string, but can be changed by the user." }, "href": { "table": { @@ -214,7 +214,7 @@ }, "defaultValue": {} }, - "description": "If set to true, the browser will attempt to donwload and save the URL instead of opening it. The name of the created file\ndefaults to the URL string, but can be changed by the user." + "description": "If set to true, the browser will attempt to donwload and save the URL instead of opening it. The name of the created file\r\ndefaults to the URL string, but can be changed by the user." }, "href": { "table": { @@ -1599,7 +1599,7 @@ "summary": "false" } }, - "description": "A boolean that indicates whether the modal can be dismissed by clicking\nin the backdrop outside the modal." + "description": "A boolean that indicates whether the modal can be dismissed by clicking\r\nin the backdrop outside the modal." }, "escDismiss": { "control": { @@ -1613,7 +1613,7 @@ "summary": "true" } }, - "description": "A boolean to indicate whether the modal can be dismissed by pressing\nthe escape key on the keyboard" + "description": "A boolean to indicate whether the modal can be dismissed by pressing\r\nthe escape key on the keyboard" }, "heading": { "table": { @@ -1982,7 +1982,7 @@ }, "defaultValue": {} }, - "description": "The color of the border of the circle around the icon or text.\nUse any type including hex, rgb or css custom properties\nas long as you pass it as a string" + "description": "The color of the border of the circle around the icon or text.\r\nUse any type including hex, rgb or css custom properties\r\nas long as you pass it as a string" }, "color": { "table": { @@ -1993,7 +1993,7 @@ "summary": "'var(--b2b-color-info-50)'" } }, - "description": "The color of the circle around the icon or text.\nUse any type including hex, rgb or css custom properties\nas long as you pass it as a string" + "description": "The color of the circle around the icon or text.\r\nUse any type including hex, rgb or css custom properties\r\nas long as you pass it as a string" }, "contentColor": { "table": { @@ -2004,7 +2004,7 @@ "summary": "'var(--b2b-color-copy-default)'" } }, - "description": "The color of the text or icon within the circle.\nUse any type including hex, rgb or css custom properties\nas long as you pass it as a string" + "description": "The color of the text or icon within the circle.\r\nUse any type including hex, rgb or css custom properties\r\nas long as you pass it as a string" } }, "b2b-scrollable-container": {}, @@ -2172,7 +2172,7 @@ "summary": "false" } }, - "description": "Determines if the Tab Group will do it's own navigation. Per default, it will use internal navigation.\nSet it to true if you want to use external, route-based navigation." + "description": "Determines if the Tab Group will do it's own navigation. Per default, it will use internal navigation.\r\nSet it to true if you want to use external, route-based navigation." } }, "b2b-tab-panel": {}, @@ -2193,7 +2193,7 @@ "summary": "TableSizes.EXPAND" } }, - "description": "The size of the table. Both will expand to 100% of parent size.\nExpand cells will use as much space as content needs and text will wrap.\nEqual will keep all column sizes proportional to the number of columns." + "description": "The size of the table. Both will expand to 100% of parent size.\r\nExpand cells will use as much space as content needs and text will wrap.\r\nEqual will keep all column sizes proportional to the number of columns." } }, "b2b-table-cell": { @@ -2265,7 +2265,7 @@ "summary": "TableSizes.EXPAND" } }, - "description": "The size of the cell. Follows table size.\nWhen size is equal and textWrap is false, the text will truncate with Ellipsis.\nOther sizes won't affect cell current implementation." + "description": "The size of the cell. Follows table size.\r\nWhen size is equal and textWrap is false, the text will truncate with Ellipsis.\r\nOther sizes won't affect cell current implementation." }, "textWrap": { "control": { @@ -2279,7 +2279,7 @@ "summary": "true" } }, - "description": "Whether text should wrap or truncate.\nIt will only truncate when table size is equal\n*" + "description": "Whether text should wrap or truncate.\r\nIt will only truncate when table size is equal\r\n*" } }, "b2b-table-header": { @@ -2442,7 +2442,7 @@ "summary": "false" } }, - "description": "Renders the rowgroup as an accordion. Both header and body must have accordion set to true.\nOne table can contain multiple rowgroups of type body, each of which represents an accordion row with children." + "description": "Renders the rowgroup as an accordion. Both header and body must have accordion set to true.\r\nOne table can contain multiple rowgroups of type body, each of which represents an accordion row with children." }, "opened": { "control": { @@ -2456,7 +2456,7 @@ "summary": "false" } }, - "description": "Only use when accordion property is true.\nWill render the accordion opened if set to true. By default, is false." + "description": "Only use when accordion property is true.\r\nWill render the accordion opened if set to true. By default, is false." }, "selectable": { "control": { @@ -2489,7 +2489,7 @@ "summary": "TableRowgroupTypes.HEADER" } }, - "description": "Rowgroup allows grouping rows by context: header, body or footer.\nHeader rows are by default not highlightable on mouse over." + "description": "Rowgroup allows grouping rows by context: header, body or footer.\r\nHeader rows are by default not highlightable on mouse over." } }, "b2b-textarea": { @@ -2824,7 +2824,7 @@ "summary": "true" } }, - "description": "Defaults to true. It will show a checkmark icon when a step is completed.\nSet as false to show the step number" + "description": "Defaults to true. It will show a checkmark icon when a step is completed.\r\nSet as false to show the step number" }, "custom": { "control": { @@ -2838,7 +2838,7 @@ "summary": "false" } }, - "description": "By default, is false, where the wizard will handle steps states.\nIf set to true, steps state must be handled manually." + "description": "By default, is false, where the wizard will handle steps states.\r\nIf set to true, steps state must be handled manually." } }, "b2b-wizard-icon": { @@ -2854,7 +2854,7 @@ "summary": "true" } }, - "description": "Defaults to true. It will show a checkmark icon when a step is completed.\nSet as false to show the step number" + "description": "Defaults to true. It will show a checkmark icon when a step is completed.\r\nSet as false to show the step number" }, "state": { "options": [ @@ -2910,7 +2910,7 @@ "summary": "true" } }, - "description": "Defaults to true. It will show a checkmark icon when a step is completed.\nSet as false to show the step number" + "description": "Defaults to true. It will show a checkmark icon when a step is completed.\r\nSet as false to show the step number" }, "state": { "options": [