Skip to content

Commit d3edc34

Browse files
committed
fix: integrating the dialog-polyfill CSS only for demo purposes
1 parent 82c5b72 commit d3edc34

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

enterprise.patternlab-config.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"iframeResizer.contentWindow.min.js": "node_modules/iframe-resizer/js/iframeResizer.contentWindow.min.js",
5858
"details-element-polyfill.js": "node_modules/details-element-polyfill/dist/details-element-polyfill.js",
5959
"dialog-polyfill.js": "node_modules/dialog-polyfill/dist/dialog-polyfill.js",
60+
"dialog-polyfill.css": "node_modules/dialog-polyfill/dist/dialog-polyfill.css",
6061
"sitemap": "./source/sitemap.xml"
6162
},
6263
"public": {
@@ -74,6 +75,7 @@
7475
"iframeResizer.contentWindow.min.js": "public/js/iframeResizer.contentWindow.min.js",
7576
"details-element-polyfill.js": "public/js/details-element-polyfill.js",
7677
"dialog-polyfill.js": "public/js/dialog-polyfill.js",
78+
"dialog-polyfill.css": "public/css/dialog-polyfill.css",
7779
"sitemap": "public/sitemap.xml"
7880
}
7981
},

source/_meta/_head.hbs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@
1515

1616
<!-- If you're adapting the HTML out of this document, only include the following CSS file, as the other below are related to pattern lab styling and presenting our patterns in this context even only //-->
1717
<link rel="stylesheet" href="../../css/{{ domain }}/db-ui-core.css?{{ cacheBuster }}" media="all">
18-
18+
1919
<!-- Do not include the following CSS, as these are related to pattern lab styling and presenting our patterns in this context even only //-->
2020
<link rel="stylesheet" href="../../css/pattern-scaffolding.css?{{ cacheBuster }}" media="all">
2121
<link rel="stylesheet" href="../../css/pattern-scaffolding-project-specific.css?{{ cacheBuster }}" media="all">
2222
<link rel="stylesheet" href="../../css/{{ domain }}/db-ui-core.demonstration.css?{{ cacheBuster }}" media="all">
23+
<!-- dialog polyfill //-->
24+
<link rel="stylesheet" href="../../css/dialog-polyfill.css?{{ cacheBuster }}" media="all">
2325

2426
<!-- Begin Pattern Lab (Required for Pattern Lab to run properly) -->
2527
{{{ patternLabHead }}}

source/_patterns/02-components/dialog/dialog.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
@use "dialog-polyfill/dist/dialog-polyfill.css";
21
@import "../../../css/partials.meta";
32
@import "dialog.variables";
43

0 commit comments

Comments
 (0)