Skip to content

Commit 40bcf78

Browse files
committed
chore: remove old modal HTML partial that's now rendered by the <pl-drawer> component; add new UIKit build
1 parent caf51ee commit 40bcf78

File tree

8 files changed

+206
-1825
lines changed

8 files changed

+206
-1825
lines changed

packages/uikit-workshop/dist/index.html

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -77,27 +77,7 @@
7777

7878
</div>
7979
<!--end pl-c-viewport-->
80-
<div class="pl-c-modal__cover pl-js-modal-cover"></div>
81-
<div class="pl-c-modal pl-js-modal">
82-
<div class="pl-c-modal__toolbar">
83-
<div class="pl-c-modal__resizer pl-js-modal-resizer"></div>
84-
<div class="pl-c-modal__toolbar-controls">
85-
<!-- @todo: revisit to see if slotted content might make sense here (ex. to have an extra toggle for switching the layout -->
86-
<pl-toggle-layout></pl-toggle-layout>
87-
88-
<button class="pl-c-modal__close-btn pl-js-modal-close-btn" title="Hide pattern info">
89-
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="12" height="12" viewBox="0 0 12 12" class="pl-c-modal__close-btn-icon">
90-
<title>Close</title>
91-
<path fill="currentColor" d="M11.8905,9.6405 L11.8905,9.6405 L8.25,6 L11.8905,2.3595 L11.8905,2.3595 C11.9295,2.3205 11.958,2.27475 11.976,2.226 C12.0255,2.0925 11.997,1.9365 11.8905,1.82925 L10.17075,0.1095 C10.0635,0.00225 9.9075,-0.02625 9.774,0.024 C9.72525,0.042 9.6795,0.0705 9.6405,0.1095 L9.6405,0.1095 L6,3.75 L2.3595,0.1095 L2.3595,0.1095 C2.3205,0.0705 2.27475,0.042 2.226,0.024 C2.0925,-0.0255 1.9365,0.00225 1.82925,0.1095 L0.1095,1.82925 C0.00225,1.9365 -0.02625,2.0925 0.024,2.226 C0.042,2.27475 0.0705,2.3205 0.1095,2.3595 L0.1095,2.3595 L3.75,6 L0.1095,9.6405 L0.1095,9.6405 C0.0705,9.6795 0.042,9.72525 0.024,9.774 C-0.0255,9.9075 0.00225,10.0635 0.1095,10.17075 L1.82925,11.8905 C1.9365,11.99775 2.0925,12.02625 2.226,11.976 C2.27475,11.958 2.3205,11.9295 2.3595,11.8905 L2.3595,11.8905 L6,8.25 L9.6405,11.8905 L9.6405,11.8905 C9.6795,11.9295 9.72525,11.958 9.774,11.976 C9.9075,12.0255 10.0635,11.99775 10.17075,11.8905 L11.8905,10.17075 C11.99775,10.0635 12.02625,9.9075 11.976,9.774 C11.958,9.72525 11.9295,9.6795 11.8905,9.6405 L11.8905,9.6405 Z"></path>
92-
</svg>
93-
</button>
94-
</div>
95-
</div>
96-
<div class="pl-c-modal__content-wrapper">
97-
<div class="pl-c-modal__content pl-js-modal-content"></div>
98-
</div>
99-
</div>
100-
80+
<pl-drawer></pl-drawer>
10181
</div>
10282
</pl-layout>
10383

@@ -229,9 +209,7 @@
229209

230210
<ul class="pl-c-tools__list pl-js-acc-panel">
231211
<li class="pl-c-tools__item">
232-
<button class="pl-c-tools__action pl-js-pattern-info-toggle">Show Pattern Info</button>
233-
<!-- WIP - commenting out for now -->
234-
<!-- <pl-info-toggle></pl-info-toggle> -->
212+
<pl-toggle-info></pl-toggle-info>
235213
</li>
236214
<li class="pl-c-tools__item">
237215
<pl-toggle-layout text="Switch Layout"><pl-toggle-layout>

packages/uikit-workshop/dist/styleguide/css/pattern-lab.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/uikit-workshop/dist/styleguide/js/patternlab-pattern.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/uikit-workshop/dist/styleguide/js/patternlab-viewer.js

Lines changed: 149 additions & 1726 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/uikit-workshop/dist/styleguide/js/pl-drawer-chunk-2201e4e5edc1a0ecfa95.js renamed to packages/uikit-workshop/dist/styleguide/js/pl-drawer-chunk-255d8552e9d65aece1d1.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/uikit-workshop/dist/styleguide/js/pl-search-chunk-81ca8f078fa314388a8e.js

Lines changed: 52 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/uikit-workshop/dist/styleguide/js/pl-search-chunk-d4fdead6004e1b24c59e.js

Lines changed: 0 additions & 52 deletions
This file was deleted.

packages/uikit-workshop/src/html/partials/modal.html

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)