Skip to content

Commit

Permalink
fix: updated docker ignore to not include dist
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnaHoege committed Oct 26, 2023
1 parent badd23b commit b74cb8d
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 26 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.DS_Store
Thumbs.db
node_modules/
**/dist/
**/build/

# VS-CODE
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
37 changes: 30 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 18 additions & 18 deletions packages/core-components/src/docs/config/components-args.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand All @@ -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": {
Expand Down Expand Up @@ -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": {
Expand All @@ -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": {
Expand All @@ -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": {},
Expand Down Expand Up @@ -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": {},
Expand All @@ -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": {
Expand Down Expand Up @@ -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": {
Expand All @@ -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": {
Expand Down Expand Up @@ -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": {
Expand All @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand All @@ -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": {
Expand All @@ -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": [
Expand Down Expand Up @@ -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": [
Expand Down

0 comments on commit b74cb8d

Please sign in to comment.