@vandeurenglenn/lite-elements 0.3.49 → 0.3.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/exports/banner.js +37 -37
  2. package/exports/bar/top-app-bar.d.ts +1 -1
  3. package/exports/bundle/banner.js +2 -2
  4. package/exports/bundle/button.js +6 -1
  5. package/exports/bundle/card.js +1 -1
  6. package/exports/bundle/code.js +1 -1
  7. package/exports/bundle/{column-B0bUzxkF.js → column-dsIMZ5XT.js} +1 -1
  8. package/exports/bundle/demo-elements.js +1 -1
  9. package/exports/bundle/demo-icons.js +1 -1
  10. package/exports/bundle/demo-shell.js +1 -1
  11. package/exports/bundle/demo.js +1 -1
  12. package/exports/bundle/dialog.js +1 -1
  13. package/exports/bundle/divider.js +1 -1
  14. package/exports/bundle/drawer-button.js +1 -1
  15. package/exports/bundle/drawer-item.js +1 -1
  16. package/exports/bundle/drawer-layout.js +1 -1
  17. package/exports/bundle/drawer.js +2 -2
  18. package/exports/bundle/dropdown-menu.js +1 -1
  19. package/exports/bundle/dropdown.js +1 -1
  20. package/exports/bundle/elements.js +1 -1
  21. package/exports/bundle/elevation.js +1 -1
  22. package/exports/bundle/fab.js +2 -2
  23. package/exports/bundle/icon-button.js +1 -1
  24. package/exports/bundle/icon-set.js +1 -1
  25. package/exports/bundle/icon.js +1 -1
  26. package/exports/bundle/index.html +590 -590
  27. package/exports/bundle/input.js +2 -2
  28. package/exports/bundle/list-item.js +1 -1
  29. package/exports/bundle/menu.js +1 -1
  30. package/exports/bundle/minute-field.js +1 -1
  31. package/exports/bundle/notification.js +1 -1
  32. package/exports/bundle/notifications.js +1 -1
  33. package/exports/bundle/pages.js +1 -1
  34. package/exports/bundle/pane.js +3 -3
  35. package/exports/bundle/property-C1gA9hig.js +23 -0
  36. package/exports/bundle/property-DL093_VN.js +11 -0
  37. package/exports/bundle/rail.js +1 -1
  38. package/exports/bundle/root.js +2 -2
  39. package/exports/bundle/row-CW5FbTZ_.js +28 -0
  40. package/exports/bundle/section.js +1 -1
  41. package/exports/bundle/section2.js +1 -1
  42. package/exports/bundle/select-mixin.js +1 -1
  43. package/exports/bundle/selector-mixin.js +1 -1
  44. package/exports/bundle/selector.js +1 -1
  45. package/exports/bundle/summary-mirror.js +1 -1
  46. package/exports/bundle/summary.js +2 -2
  47. package/exports/bundle/supporting-pane.js +1 -1
  48. package/exports/bundle/tab.js +2 -2
  49. package/exports/bundle/tabs.js +1 -1
  50. package/exports/bundle/text-field.js +1 -1
  51. package/exports/bundle/theme.js +1 -1
  52. package/exports/bundle/themes/default/colors.module.css +180 -180
  53. package/exports/bundle/themes/default/missing/motion.css +3 -3
  54. package/exports/bundle/themes/default/missing/shape.css +12 -12
  55. package/exports/bundle/themes/default/missing/theme.dark.css +4 -4
  56. package/exports/bundle/themes/default/missing/theme.light.css +4 -4
  57. package/exports/bundle/themes/default/missing/tokens.css +8 -8
  58. package/exports/bundle/themes/default/theme.css +10 -10
  59. package/exports/bundle/themes/default/theme.dark.css +33 -33
  60. package/exports/bundle/themes/default/theme.light.css +33 -33
  61. package/exports/bundle/themes/default/tokens.css +256 -256
  62. package/exports/bundle/themes/default/typography.module.css +150 -150
  63. package/exports/bundle/time-picker.js +1 -1
  64. package/exports/bundle/toggle-button.js +1 -1
  65. package/exports/bundle/toggle.js +1 -1
  66. package/exports/bundle/top-app-bar.js +63 -2
  67. package/exports/bundle/typography.js +1 -1
  68. package/exports/bundle/upload-file.js +1 -1
  69. package/exports/bundle/upload-image.js +62 -55
  70. package/exports/button.js +149 -144
  71. package/exports/card.js +140 -140
  72. package/exports/code.js +35 -35
  73. package/exports/demo-elements.js +1 -1
  74. package/exports/demo-icons.js +16 -16
  75. package/exports/demo-shell.js +540 -540
  76. package/exports/demo.js +457 -457
  77. package/exports/dialog.js +149 -149
  78. package/exports/divider.js +22 -22
  79. package/exports/drawer-button.js +14 -14
  80. package/exports/drawer-item.js +39 -39
  81. package/exports/drawer-layout.js +96 -96
  82. package/exports/drawer.js +8 -8
  83. package/exports/dropdown-menu.js +59 -59
  84. package/exports/dropdown.js +26 -26
  85. package/exports/elements.js +1 -1
  86. package/exports/elevation.js +51 -51
  87. package/exports/fab.js +146 -146
  88. package/exports/icon-button.js +13 -13
  89. package/exports/icon-set.js +5 -5
  90. package/exports/icon.js +16 -16
  91. package/exports/input.js +6 -6
  92. package/exports/list-item.js +43 -43
  93. package/exports/menu.js +13 -13
  94. package/exports/minute-field.js +5 -5
  95. package/exports/mixins/scroll-mixin.d.ts +1 -1
  96. package/exports/notification.js +35 -35
  97. package/exports/notifications.js +66 -66
  98. package/exports/pages.js +42 -42
  99. package/exports/pane.js +19 -19
  100. package/exports/rail.js +58 -58
  101. package/exports/root.js +8 -8
  102. package/exports/section/section.d.ts +2 -2
  103. package/exports/section.js +11 -11
  104. package/exports/section2.js +25 -25
  105. package/exports/selector.js +31 -31
  106. package/exports/summary-mirror.js +20 -20
  107. package/exports/summary.js +25 -25
  108. package/exports/supporting-pane.js +47 -47
  109. package/exports/tab.js +22 -22
  110. package/exports/tabs.js +51 -51
  111. package/exports/text-field.js +10 -10
  112. package/exports/theme.js +9 -9
  113. package/exports/themes/default/colors.module.css +180 -180
  114. package/exports/themes/default/missing/motion.css +3 -3
  115. package/exports/themes/default/missing/shape.css +12 -12
  116. package/exports/themes/default/missing/theme.dark.css +4 -4
  117. package/exports/themes/default/missing/theme.light.css +4 -4
  118. package/exports/themes/default/missing/tokens.css +8 -8
  119. package/exports/themes/default/theme.css +10 -10
  120. package/exports/themes/default/theme.dark.css +33 -33
  121. package/exports/themes/default/theme.light.css +33 -33
  122. package/exports/themes/default/tokens.css +256 -256
  123. package/exports/themes/default/typography.module.css +150 -150
  124. package/exports/time-picker.js +21 -21
  125. package/exports/toggle-button.js +4 -4
  126. package/exports/toggle.js +5 -5
  127. package/exports/top-app-bar.js +21 -21
  128. package/exports/{tslib.es6-CFl_-KPR.js → tslib.es6-Cg9lAhfj.js} +1 -1
  129. package/exports/typography.js +156 -156
  130. package/exports/upload-file.js +9 -9
  131. package/exports/upload-image.js +201 -201
  132. package/package.json +20 -36
  133. package/exports/bundle/property-BYA8Sw2t.js +0 -11
  134. package/exports/bundle/property-C4lhirVQ.js +0 -23
  135. package/exports/bundle/row-DYDgQVDj.js +0 -28
  136. package/exports/bundle/simple-hash-router.js +0 -1
  137. package/exports/bundle/types2.js +0 -1
  138. package/exports/mixins/file-reader-mixin.d.ts +0 -341
  139. package/exports/router/types.d.ts +0 -45
  140. package/exports/simple-hash-router.js +0 -111
  141. package/exports/types2.js +0 -1
  142. package/exports/upload/upload-image.d.ts +0 -381
@@ -1,4 +1,4 @@
1
- import { _ as __esDecorate, a as __runInitializers } from './tslib.es6-CFl_-KPR.js';
1
+ import { _ as __esDecorate, a as __runInitializers } from './tslib.es6-Cg9lAhfj.js';
2
2
  import { customElement, query, css, html, LiteElement } from '@vandeurenglenn/lite';
3
3
  import './demo-icons.js';
4
4
  import './section.js';
@@ -97,548 +97,548 @@ let DemoShell = (() => {
97
97
  }
98
98
  }
99
99
  static styles = [
100
- css `
101
- custom-drawer-layout {
102
- height: 100%;
103
- width: 100%;
104
- inset: 0;
105
-
106
- background: var(--md-sys-color-background, #fff);
107
- position: absolute;
108
- display: flex;
109
- }
110
- .demo-container {
111
- height: 100%;
112
- width: 100%;
113
- }
114
-
115
- flex-column {
116
- width: 100%;
117
- height: 100%;
118
- overflow-y: auto;
119
- }
120
-
121
- .demo-container section {
122
- align-items: center;
123
- justify-content: center;
124
- }
125
-
126
- [non-interactive] {
127
- pointer-events: none;
128
- }
129
-
130
- h4 {
131
- margin: 0;
132
- padding-top: 16px;
133
- padding-bottom: 12px;
134
- }
135
-
136
- custom-drawer custom-divider {
137
- margin-top: 16px;
138
- }
139
-
140
- flex-row:not([slot='top-app-bar-end']) {
141
- width: 100%;
142
- }
100
+ css `
101
+ custom-drawer-layout {
102
+ height: 100%;
103
+ width: 100%;
104
+ inset: 0;
105
+
106
+ background: var(--md-sys-color-background, #fff);
107
+ position: absolute;
108
+ display: flex;
109
+ }
110
+ .demo-container {
111
+ height: 100%;
112
+ width: 100%;
113
+ }
114
+
115
+ flex-column {
116
+ width: 100%;
117
+ height: 100%;
118
+ overflow-y: auto;
119
+ }
120
+
121
+ .demo-container section {
122
+ align-items: center;
123
+ justify-content: center;
124
+ }
125
+
126
+ [non-interactive] {
127
+ pointer-events: none;
128
+ }
129
+
130
+ h4 {
131
+ margin: 0;
132
+ padding-top: 16px;
133
+ padding-bottom: 12px;
134
+ }
135
+
136
+ custom-drawer custom-divider {
137
+ margin-top: 16px;
138
+ }
139
+
140
+ flex-row:not([slot='top-app-bar-end']) {
141
+ width: 100%;
142
+ }
143
143
  `
144
144
  ];
145
145
  render() {
146
- return html `
147
- <custom-theme></custom-theme>
148
- <demo-icons></demo-icons>
149
-
150
- <!-- <custom-root> -->
151
- <custom-drawer-layout class="demo-container">
152
- <span slot="drawer-headline"> menu </span>
153
-
154
- <flex-column slot="drawer-content">
155
- <custom-selector attr-for-selected="route" default-selected="banner">
156
- <custom-drawer-item route="banner">banner</custom-drawer-item>
157
- <custom-drawer-item route="dialog">dialog</custom-drawer-item>
158
- <custom-drawer-item route="divider">divider</custom-drawer-item>
159
- <custom-drawer-item route="buttons">buttons</custom-drawer-item>
160
- <custom-drawer-item route="cards">cards</custom-drawer-item>
161
- <custom-drawer-item route="top-app-bar">top-app-bar</custom-drawer-item>
162
- <custom-drawer-item route="typography">typography</custom-drawer-item>
163
- <custom-drawer-item route="drawer">drawer</custom-drawer-item>
164
- <custom-drawer-item route="pane">pane</custom-drawer-item>
165
- <custom-drawer-item route="supporting-pane">supporting-pane</custom-drawer-item>
166
- <custom-drawer-item route="tabs">tabs</custom-drawer-item>
167
- <custom-drawer-item route="menu">menu</custom-drawer-item>
168
- <custom-drawer-item route="dropdown-menu">dropdown-menu</custom-drawer-item>
169
- <custom-drawer-item route="list-item">list-item</custom-drawer-item>
170
- <custom-drawer-item route="toggle">toggle</custom-drawer-item>
171
- <custom-drawer-item route="toggle-button">toggle-button</custom-drawer-item>
172
- <custom-drawer-item route="time-picker">time-picker</custom-drawer-item>
173
- </custom-selector>
174
- </flex-column>
175
-
176
- <span slot="top-app-bar-title">custom-elements</span>
177
-
178
- <flex-row slot="top-app-bar-end">
179
- <custom-theme-mode></custom-theme-mode>
180
- <custom-button>
181
- <custom-icon slot="icon">more_vert</custom-icon>
182
- </custom-button>
183
- </flex-row>
184
-
185
- <flex-column>
186
- <custom-pages attr-for-selected="route" default-selected="banner">
187
- <demo-section route="banner">
188
- <custom-banner>Banner</custom-banner>
189
- </demo-section>
190
-
191
- <demo-section route="divider">
192
- <custom-divider></custom-divider>
193
- <custom-divider inset></custom-divider>
194
- <custom-divider middle-inset></custom-divider>
195
- </demo-section>
196
-
197
- <demo-section route="cards">
198
- <custom-card type="filled">
199
- <span slot="headline">filled</span>
200
- <span slot="subline">subline</span>
201
- <p slot="supportingText">
202
- Lorem ipsum dolor, sit amet consectetur adipisicing elit. Similique ratione eligendi eum aliquam enim,
203
- magni beatae facere tempora ex accusantium a, dolorem tempore placeat laboriosam praesentium veritatis
204
- facilis et quasi? Lorem ipsum dolor, sit amet consectetur adipisicing elit. Similique ratione eligendi
205
- eum aliquam enim, magni beatae facere tempora ex accusantium a, dolorem tempore placeat laboriosam
206
- praesentium veritatis facilis et quasi?
207
- </p>
208
- <flex-row slot="actions">
209
- <custom-button type="filled" label="YES"></custom-button>
210
- </flex-row>
211
- </custom-card>
212
-
213
- <custom-card type="elevated">
214
- <span slot="headline">elevated</span>
215
- <span slot="subline">subline</span>
216
- <p slot="supportingText">
217
- Lorem ipsum dolor, sit amet consectetur adipisicing elit. Similique ratione eligendi eum aliquam enim,
218
- magni beatae facere tempora ex accusantium a, dolorem tempore placeat laboriosam praesentium veritatis
219
- facilis et quasi?
220
- </p>
221
- <flex-row slot="actions">
222
- <custom-button type="elevated" label="YES"></custom-button>
223
- </flex-row>
224
- </custom-card>
225
-
226
- <custom-card type="outlined">
227
- <span slot="headline">outlined</span>
228
- <span slot="subline">subline</span>
229
- <p slot="supportingText">
230
- Lorem ipsum dolor, sit amet consectetur adipisicing elit. Similique ratione eligendi eum aliquam enim,
231
- magni beatae facere tempora ex accusantium a, dolorem tempore placeat laboriosam praesentium veritatis
232
- facilis et quasi?
233
- </p>
234
- <flex-row slot="actions">
235
- <custom-button type="outlined" label="YES"></custom-button>
236
- </flex-row>
237
- </custom-card>
238
-
239
- <custom-card type="tertiary">
240
- <img
241
- loading="lazy"
242
- slot="image"
243
- src="https://lh3.googleusercontent.com/9NBw6U14z6f-EAnwPqfcX-mIkxNdpK0IXvwiun9w84JkMcZfBT0bfRqn7QWdBVqnCYC5hsDEnGhSjbaWcgi1HT_Q6pCioSRTgMFODqZdAXw=s0"
244
- />
245
- <span slot="headline">tertiary</span>
246
- <span slot="subline">subline</span>
247
-
248
- <flex-row slot="actions">
249
- <custom-button label="YES" type="tertiary"></custom-button>
250
- </flex-row>
251
- </custom-card>
252
- </demo-section>
253
-
254
- <demo-section route="buttons">
255
- <custom-button type="text" label="text"></custom-button>
256
-
257
- <custom-button type="text" label="with icon">
258
- <span slot="icon">+</span>
259
- </custom-button>
260
-
261
- <custom-button type="filled" label="filled"></custom-button>
262
-
263
- <custom-button type="filled" label="with icon">
264
- <span slot="icon">+</span>
265
- </custom-button>
266
-
267
- <custom-button type="elevated" label="elevated"></custom-button>
268
-
269
- <custom-button type="elevated" label="with icon">
270
- <span slot="icon">+</span>
271
- </custom-button>
272
-
273
- <custom-button type="outlined" label="outlined"></custom-button>
274
-
275
- <custom-button type="outlined" label="with icon">
276
- <span slot="icon">+</span>
277
- </custom-button>
278
-
279
- <custom-button type="tonal" label="tonal"></custom-button>
280
-
281
- <custom-button type="tonal" label="with icon">
282
- <span slot="icon">+</span>
283
- </custom-button>
284
-
285
- <custom-button type="tertiary" label="tertiary"></custom-button>
286
-
287
- <custom-button type="tertiary" label="with icon">
288
- <span slot="icon">+</span>
289
- </custom-button>
290
- </demo-section>
291
-
292
- <demo-section route="top-app-bar">
293
- <custom-top-app-bar>
294
- <span slot="title">title</span>
295
- </custom-top-app-bar>
296
-
297
- <custom-top-app-bar type="small">
298
- <custom-icon-button slot="start" icon="menu"></custom-icon-button>
299
- <span slot="title">title</span>
300
- </custom-top-app-bar>
301
-
302
- <custom-top-app-bar type="medium">
303
- <custom-icon-button slot="start" icon="menu"></custom-icon-button>
304
- <span slot="title">title</span>
305
- </custom-top-app-bar>
306
-
307
- <custom-top-app-bar type="large">
308
- <custom-icon-button slot="start" icon="menu"></custom-icon-button>
309
- <span slot="title">title</span>
310
- </custom-top-app-bar>
311
- </demo-section>
312
-
313
- <demo-section route="typography">
314
- <custom-typography>
315
- <span>title</span>
316
- </custom-typography>
317
-
318
- <custom-typography size="medium">
319
- <span>title medium</span>
320
- </custom-typography>
321
-
322
- <custom-typography size="small">
323
- <span>title small</span>
324
- </custom-typography>
325
-
326
- <custom-typography type="body">
327
- <span>body</span>
328
- </custom-typography>
329
-
330
- <custom-typography type="body" size="medium">
331
- <span>body medium</span>
332
- </custom-typography>
333
-
334
- <custom-typography type="body" size="small">
335
- <span>body small</span>
336
- </custom-typography>
337
-
338
- <custom-typography type="label">
339
- <span>label</span>
340
- </custom-typography>
341
-
342
- <custom-typography type="label" size="medium">
343
- <span>label medium</span>
344
- </custom-typography>
345
-
346
- <custom-typography type="label" size="small">
347
- <span>label small</span>
348
- </custom-typography>
349
-
350
- <custom-typography type="headline">
351
- <span>headline</span>
352
- </custom-typography>
353
-
354
- <custom-typography type="headline" size="medium">
355
- <span>headline medium</span>
356
- </custom-typography>
357
-
358
- <custom-typography type="headline" size="small">
359
- <span>headline small</span>
360
- </custom-typography>
361
-
362
- <custom-typography type="display">
363
- <span>display</span>
364
- </custom-typography>
365
-
366
- <custom-typography type="display" size="medium">
367
- <span>display medium</span>
368
- </custom-typography>
369
-
370
- <custom-typography type="display" size="small">
371
- <span>display small</span>
372
- </custom-typography>
373
- </demo-section>
374
-
375
- <demo-section route="drawer">
376
- <custom-drawer open type="modal" id="demo-drawer">
377
- <span slot="content">
378
- <custom-drawer-item>home</custom-drawer-item>
379
- <custom-drawer-item>about</custom-drawer-item>
380
- </span>
381
- </custom-drawer>
382
-
383
- <custom-drawer-button id="demo-drawer"></custom-drawer-button>
384
-
385
- <custom-selector>
386
- <custom-drawer-item id="demo-drawer">drawer-item</custom-drawer-item>
387
- </custom-selector>
388
- </demo-section>
389
-
390
- <demo-section route="pane">
391
- <custom-pane open type="modal" id="demo-pane">
392
- <span slot="content">
393
- <custom-drawer-item>home</custom-drawer-item>
394
- <custom-drawer-item>about</custom-drawer-item>
395
- </span>
396
- </custom-pane>
397
-
398
- <custom-pane open type="modal" id="demo-pane" right>
399
- <span slot="content">
400
- <custom-drawer-item>home</custom-drawer-item>
401
- <custom-drawer-item>about</custom-drawer-item>
402
- </span>
403
- </custom-pane>
404
- </demo-section>
405
- <demo-section route="supporting-pane">
406
- <custom-supporting-pane id="demo-supporting-pane">
407
- <flex-column>
408
- <p>
409
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Commodi, dolor minima. Ab nobis quae neque
410
- dolor. Asperiores itaque incidunt quae quis est explicabo dolorem, laudantium repellat earum nisi.
411
- Quae, cum.
412
- </p>
413
- </flex-column>
414
- <flex-column slot="supporting"></flex-column>
415
- </custom-supporting-pane>
416
- <custom-drawer-button id="demo-supporting-pane"></custom-drawer-button>
417
- <custom-supporting-pane open left>
418
- <flex-column>
419
- <p>
420
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Commodi, dolor minima. Ab nobis quae neque
421
- dolor. Asperiores itaque incidunt quae quis est explicabo dolorem, laudantium repellat earum nisi.
422
- Quae, cum.
423
- </p>
424
- </flex-column>
425
- <flex-column slot="supporting"></flex-column>
426
- </custom-supporting-pane>
427
- </demo-section>
428
-
429
- <demo-section route="tabs">
430
- <custom-tabs>
431
- <custom-tab>home</custom-tab>
432
- <custom-tab>about</custom-tab>
433
- </custom-tabs>
434
-
435
- <custom-tabs round>
436
- <custom-tab>
437
- <custom-icon>home</custom-icon>
438
- home
439
- </custom-tab>
440
- <custom-tab>about</custom-tab>
441
- </custom-tabs>
442
- </demo-section>
443
-
444
- <demo-section route="dialog">
445
- <flex-container>
446
- <custom-button class="fullscreen-dialog"><custom-icon slot="icon">menu</custom-icon></custom-button>
447
- <custom-dialog fullscreen>
448
- <span slot="title">title</span>
449
- <p>
450
- Lorem ipsum, dolor sit amet consectetur adipisicing elit. Rerum quae ipsum autem, recusandae impedit
451
- minus cumque odit vel incidunt, exercitationem sint tempore sit ea ratione accusamus nemo magni
452
- dolorem corporis.
453
- </p>
454
- <p>
455
- Lorem ipsum, dolor sit amet consectetur adipisicing elit. Rerum quae ipsum autem, recusandae impedit
456
- minus cumque odit vel incidunt, exercitationem sint tempore sit ea ratione accusamus nemo magni
457
- dolorem corporis.
458
- </p>
459
- <p>
460
- Lorem ipsum, dolor sit amet consectetur adipisicing elit. Rerum quae ipsum autem, recusandae impedit
461
- minus cumque odit vel incidunt, exercitationem sint tempore sit ea ratione accusamus nemo magni
462
- dolorem corporis.
463
- </p>
464
- <p>
465
- Lorem ipsum, dolor sit amet consectetur adipisicing elit. Rerum quae ipsum autem, recusandae impedit
466
- minus cumque odit vel incidunt, exercitationem sint tempore sit ea ratione accusamus nemo magni
467
- dolorem corporis.
468
- </p>
469
- <p>
470
- Lorem ipsum, dolor sit amet consectetur adipisicing elit. Rerum quae ipsum autem, recusandae impedit
471
- minus cumque odit vel incidunt, exercitationem sint tempore sit ea ratione accusamus nemo magni
472
- dolorem corporis.
473
- </p>
474
- <p>
475
- Lorem ipsum, dolor sit amet consectetur adipisicing elit. Rerum quae ipsum autem, recusandae impedit
476
- minus cumque odit vel incidunt, exercitationem sint tempore sit ea ratione accusamus nemo magni
477
- dolorem corporis.
478
- </p>
479
- <flex-row slot="actions">
480
- <custom-button label="agree" action="agree">agree</custom-button>
481
- </flex-row>
482
- </custom-dialog>
483
-
484
- <script>
485
- const demoSection = document.querySelector('demo-section[route="dialog"]')
486
- const fullscreenDialog = demoSection.querySelector('custom-dialog[fullscreen]')
487
- demoSection.querySelector('.fullscreen-dialog').addEventListener('click', () => {
488
- fullscreenDialog.open = !fullscreenDialog.open
489
- })
490
- </script>
491
- </flex-container>
492
-
493
- <flex-container>
494
- <custom-button class="dialog"><custom-icon slot="icon">menu</custom-icon></custom-button>
495
- <custom-dialog class="dialog">
496
- <span slot="title">title</span>
497
- <p>
498
- Lorem ipsum, dolor sit amet consectetur adipisicing elit. Rerum quae ipsum autem, recusandae impedit
499
- minus cumque odit vel incidunt, exercitationem sint tempore sit ea ratione accusamus nemo magni
500
- dolorem corporis.
501
- </p>
502
-
503
- <flex-row slot="actions">
504
- <custom-button label="agree" action="agree">agree</custom-button>
505
- </flex-row>
506
- </custom-dialog>
507
-
508
- <script>
509
- const dialog = demoSection.querySelector('custom-dialog.dialog')
510
- demoSection.querySelector('.dialog').addEventListener('click', () => {
511
- dialog.open = !dialog.open
512
- })
513
- </script>
514
- </flex-container>
515
- </demo-section>
516
-
517
- <demo-section route="time-picker">
518
- <custom-time-picker></custom-time-picker>
519
- </demo-section>
520
-
521
- <demo-section route="menu">
522
- <custom-menu>
523
- <custom-list-item type="menu">
524
- <custom-icon slot="start">info</custom-icon>
525
- item 1
526
- </custom-list-item>
527
-
528
- <custom-list-item type="menu">
529
- <custom-icon slot="start">info</custom-icon>
530
- item 2
531
- </custom-list-item>
532
-
533
- <custom-list-item type="menu">
534
- <custom-icon slot="start">info</custom-icon>
535
- item 3
536
- </custom-list-item>
537
- </custom-menu>
538
- </demo-section>
539
-
540
- <demo-section route="dropdown-menu">
541
- <custom-dropdown-menu>
542
- <custom-list-item type="menu">
543
- <custom-icon slot="start">info</custom-icon>
544
- item 1
545
- </custom-list-item>
546
-
547
- <custom-list-item type="menu">
548
- <custom-icon slot="start">info</custom-icon>
549
- item 2
550
- </custom-list-item>
551
-
552
- <custom-list-item type="menu">
553
- <custom-icon slot="start">info</custom-icon>
554
- item 3
555
- </custom-list-item>
556
- </custom-dropdown-menu>
557
-
558
- <flex-row>
559
- <flex-it></flex-it>
560
- <custom-dropdown-menu right>
561
- <custom-list-item type="menu">
562
- <custom-icon slot="start">info</custom-icon>
563
- item 1
564
- </custom-list-item>
565
-
566
- <custom-list-item type="menu">
567
- <custom-icon slot="start">info</custom-icon>
568
- item 2
569
- </custom-list-item>
570
-
571
- <custom-list-item type="menu">
572
- <custom-icon slot="start">info</custom-icon>
573
- item 3
574
- </custom-list-item>
575
- </custom-dropdown-menu>
576
- </flex-row>
577
-
578
- <custom-dropdown-menu bottom>
579
- <custom-list-item type="menu">
580
- <custom-icon slot="start">info</custom-icon>
581
- item 1
582
- </custom-list-item>
583
-
584
- <custom-list-item type="menu">
585
- <custom-icon slot="start">info</custom-icon>
586
- item 2
587
- </custom-list-item>
588
-
589
- <custom-list-item type="menu">
590
- <custom-icon slot="start">info</custom-icon>
591
- item 3
592
- </custom-list-item>
593
- </custom-dropdown-menu>
594
-
595
- <flex-row>
596
- <flex-it></flex-it>
597
- <custom-dropdown-menu bottom right>
598
- <custom-list-item type="menu">
599
- <custom-icon slot="start">info</custom-icon>
600
- item 1
601
- </custom-list-item>
602
-
603
- <custom-list-item type="menu">
604
- <custom-icon slot="start">info</custom-icon>
605
- item 2
606
- </custom-list-item>
607
-
608
- <custom-list-item type="menu">
609
- <custom-icon slot="start">info</custom-icon>
610
- item 3
611
- </custom-list-item>
612
- </custom-dropdown-menu>
613
- </flex-row>
614
- </demo-section>
615
-
616
- <demo-section route="list-item">
617
- <custom-list-item>
618
- <custom-icon slot="start">info</custom-icon>
619
- </custom-list-item>
620
- </demo-section>
621
- <demo-section route="toggle">
622
- <custom-toggle togglers='["check_box","check_box_outline_blank", "info"]'></custom-toggle>
623
-
624
- <custom-button label="next"></custom-button>
625
-
626
- <script>
627
- const toggleDemo = document.querySelector('demo-section[route="toggle"]')
628
- toggleDemo.querySelector('custom-button').addEventListener('click', () => {
629
- toggleDemo.querySelector('custom-toggle').next()
630
- })
631
- </script>
632
- </demo-section>
633
-
634
- <demo-section route="toggle-button">
635
- <custom-toggle-button .togglers='["check_box","check_box_outline_blank"]'> </custom-toggle-button>
636
- </demo-section>
637
- </custom-pages>
638
- </flex-column>
639
- </custom-drawer-layout>
640
- <!-- </custom-root> -->
641
- <!-- </flex-row> -->
146
+ return html `
147
+ <custom-theme></custom-theme>
148
+ <demo-icons></demo-icons>
149
+
150
+ <!-- <custom-root> -->
151
+ <custom-drawer-layout class="demo-container">
152
+ <span slot="drawer-headline"> menu </span>
153
+
154
+ <flex-column slot="drawer-content">
155
+ <custom-selector attr-for-selected="route" default-selected="banner">
156
+ <custom-drawer-item route="banner">banner</custom-drawer-item>
157
+ <custom-drawer-item route="dialog">dialog</custom-drawer-item>
158
+ <custom-drawer-item route="divider">divider</custom-drawer-item>
159
+ <custom-drawer-item route="buttons">buttons</custom-drawer-item>
160
+ <custom-drawer-item route="cards">cards</custom-drawer-item>
161
+ <custom-drawer-item route="top-app-bar">top-app-bar</custom-drawer-item>
162
+ <custom-drawer-item route="typography">typography</custom-drawer-item>
163
+ <custom-drawer-item route="drawer">drawer</custom-drawer-item>
164
+ <custom-drawer-item route="pane">pane</custom-drawer-item>
165
+ <custom-drawer-item route="supporting-pane">supporting-pane</custom-drawer-item>
166
+ <custom-drawer-item route="tabs">tabs</custom-drawer-item>
167
+ <custom-drawer-item route="menu">menu</custom-drawer-item>
168
+ <custom-drawer-item route="dropdown-menu">dropdown-menu</custom-drawer-item>
169
+ <custom-drawer-item route="list-item">list-item</custom-drawer-item>
170
+ <custom-drawer-item route="toggle">toggle</custom-drawer-item>
171
+ <custom-drawer-item route="toggle-button">toggle-button</custom-drawer-item>
172
+ <custom-drawer-item route="time-picker">time-picker</custom-drawer-item>
173
+ </custom-selector>
174
+ </flex-column>
175
+
176
+ <span slot="top-app-bar-title">custom-elements</span>
177
+
178
+ <flex-row slot="top-app-bar-end">
179
+ <custom-theme-mode></custom-theme-mode>
180
+ <custom-button>
181
+ <custom-icon slot="icon">more_vert</custom-icon>
182
+ </custom-button>
183
+ </flex-row>
184
+
185
+ <flex-column>
186
+ <custom-pages attr-for-selected="route" default-selected="banner">
187
+ <demo-section route="banner">
188
+ <custom-banner>Banner</custom-banner>
189
+ </demo-section>
190
+
191
+ <demo-section route="divider">
192
+ <custom-divider></custom-divider>
193
+ <custom-divider inset></custom-divider>
194
+ <custom-divider middle-inset></custom-divider>
195
+ </demo-section>
196
+
197
+ <demo-section route="cards">
198
+ <custom-card type="filled">
199
+ <span slot="headline">filled</span>
200
+ <span slot="subline">subline</span>
201
+ <p slot="supportingText">
202
+ Lorem ipsum dolor, sit amet consectetur adipisicing elit. Similique ratione eligendi eum aliquam enim,
203
+ magni beatae facere tempora ex accusantium a, dolorem tempore placeat laboriosam praesentium veritatis
204
+ facilis et quasi? Lorem ipsum dolor, sit amet consectetur adipisicing elit. Similique ratione eligendi
205
+ eum aliquam enim, magni beatae facere tempora ex accusantium a, dolorem tempore placeat laboriosam
206
+ praesentium veritatis facilis et quasi?
207
+ </p>
208
+ <flex-row slot="actions">
209
+ <custom-button type="filled" label="YES"></custom-button>
210
+ </flex-row>
211
+ </custom-card>
212
+
213
+ <custom-card type="elevated">
214
+ <span slot="headline">elevated</span>
215
+ <span slot="subline">subline</span>
216
+ <p slot="supportingText">
217
+ Lorem ipsum dolor, sit amet consectetur adipisicing elit. Similique ratione eligendi eum aliquam enim,
218
+ magni beatae facere tempora ex accusantium a, dolorem tempore placeat laboriosam praesentium veritatis
219
+ facilis et quasi?
220
+ </p>
221
+ <flex-row slot="actions">
222
+ <custom-button type="elevated" label="YES"></custom-button>
223
+ </flex-row>
224
+ </custom-card>
225
+
226
+ <custom-card type="outlined">
227
+ <span slot="headline">outlined</span>
228
+ <span slot="subline">subline</span>
229
+ <p slot="supportingText">
230
+ Lorem ipsum dolor, sit amet consectetur adipisicing elit. Similique ratione eligendi eum aliquam enim,
231
+ magni beatae facere tempora ex accusantium a, dolorem tempore placeat laboriosam praesentium veritatis
232
+ facilis et quasi?
233
+ </p>
234
+ <flex-row slot="actions">
235
+ <custom-button type="outlined" label="YES"></custom-button>
236
+ </flex-row>
237
+ </custom-card>
238
+
239
+ <custom-card type="tertiary">
240
+ <img
241
+ loading="lazy"
242
+ slot="image"
243
+ src="https://lh3.googleusercontent.com/9NBw6U14z6f-EAnwPqfcX-mIkxNdpK0IXvwiun9w84JkMcZfBT0bfRqn7QWdBVqnCYC5hsDEnGhSjbaWcgi1HT_Q6pCioSRTgMFODqZdAXw=s0"
244
+ />
245
+ <span slot="headline">tertiary</span>
246
+ <span slot="subline">subline</span>
247
+
248
+ <flex-row slot="actions">
249
+ <custom-button label="YES" type="tertiary"></custom-button>
250
+ </flex-row>
251
+ </custom-card>
252
+ </demo-section>
253
+
254
+ <demo-section route="buttons">
255
+ <custom-button type="text" label="text"></custom-button>
256
+
257
+ <custom-button type="text" label="with icon">
258
+ <span slot="icon">+</span>
259
+ </custom-button>
260
+
261
+ <custom-button type="filled" label="filled"></custom-button>
262
+
263
+ <custom-button type="filled" label="with icon">
264
+ <span slot="icon">+</span>
265
+ </custom-button>
266
+
267
+ <custom-button type="elevated" label="elevated"></custom-button>
268
+
269
+ <custom-button type="elevated" label="with icon">
270
+ <span slot="icon">+</span>
271
+ </custom-button>
272
+
273
+ <custom-button type="outlined" label="outlined"></custom-button>
274
+
275
+ <custom-button type="outlined" label="with icon">
276
+ <span slot="icon">+</span>
277
+ </custom-button>
278
+
279
+ <custom-button type="tonal" label="tonal"></custom-button>
280
+
281
+ <custom-button type="tonal" label="with icon">
282
+ <span slot="icon">+</span>
283
+ </custom-button>
284
+
285
+ <custom-button type="tertiary" label="tertiary"></custom-button>
286
+
287
+ <custom-button type="tertiary" label="with icon">
288
+ <span slot="icon">+</span>
289
+ </custom-button>
290
+ </demo-section>
291
+
292
+ <demo-section route="top-app-bar">
293
+ <custom-top-app-bar>
294
+ <span slot="title">title</span>
295
+ </custom-top-app-bar>
296
+
297
+ <custom-top-app-bar type="small">
298
+ <custom-icon-button slot="start" icon="menu"></custom-icon-button>
299
+ <span slot="title">title</span>
300
+ </custom-top-app-bar>
301
+
302
+ <custom-top-app-bar type="medium">
303
+ <custom-icon-button slot="start" icon="menu"></custom-icon-button>
304
+ <span slot="title">title</span>
305
+ </custom-top-app-bar>
306
+
307
+ <custom-top-app-bar type="large">
308
+ <custom-icon-button slot="start" icon="menu"></custom-icon-button>
309
+ <span slot="title">title</span>
310
+ </custom-top-app-bar>
311
+ </demo-section>
312
+
313
+ <demo-section route="typography">
314
+ <custom-typography>
315
+ <span>title</span>
316
+ </custom-typography>
317
+
318
+ <custom-typography size="medium">
319
+ <span>title medium</span>
320
+ </custom-typography>
321
+
322
+ <custom-typography size="small">
323
+ <span>title small</span>
324
+ </custom-typography>
325
+
326
+ <custom-typography type="body">
327
+ <span>body</span>
328
+ </custom-typography>
329
+
330
+ <custom-typography type="body" size="medium">
331
+ <span>body medium</span>
332
+ </custom-typography>
333
+
334
+ <custom-typography type="body" size="small">
335
+ <span>body small</span>
336
+ </custom-typography>
337
+
338
+ <custom-typography type="label">
339
+ <span>label</span>
340
+ </custom-typography>
341
+
342
+ <custom-typography type="label" size="medium">
343
+ <span>label medium</span>
344
+ </custom-typography>
345
+
346
+ <custom-typography type="label" size="small">
347
+ <span>label small</span>
348
+ </custom-typography>
349
+
350
+ <custom-typography type="headline">
351
+ <span>headline</span>
352
+ </custom-typography>
353
+
354
+ <custom-typography type="headline" size="medium">
355
+ <span>headline medium</span>
356
+ </custom-typography>
357
+
358
+ <custom-typography type="headline" size="small">
359
+ <span>headline small</span>
360
+ </custom-typography>
361
+
362
+ <custom-typography type="display">
363
+ <span>display</span>
364
+ </custom-typography>
365
+
366
+ <custom-typography type="display" size="medium">
367
+ <span>display medium</span>
368
+ </custom-typography>
369
+
370
+ <custom-typography type="display" size="small">
371
+ <span>display small</span>
372
+ </custom-typography>
373
+ </demo-section>
374
+
375
+ <demo-section route="drawer">
376
+ <custom-drawer open type="modal" id="demo-drawer">
377
+ <span slot="content">
378
+ <custom-drawer-item>home</custom-drawer-item>
379
+ <custom-drawer-item>about</custom-drawer-item>
380
+ </span>
381
+ </custom-drawer>
382
+
383
+ <custom-drawer-button id="demo-drawer"></custom-drawer-button>
384
+
385
+ <custom-selector>
386
+ <custom-drawer-item id="demo-drawer">drawer-item</custom-drawer-item>
387
+ </custom-selector>
388
+ </demo-section>
389
+
390
+ <demo-section route="pane">
391
+ <custom-pane open type="modal" id="demo-pane">
392
+ <span slot="content">
393
+ <custom-drawer-item>home</custom-drawer-item>
394
+ <custom-drawer-item>about</custom-drawer-item>
395
+ </span>
396
+ </custom-pane>
397
+
398
+ <custom-pane open type="modal" id="demo-pane" right>
399
+ <span slot="content">
400
+ <custom-drawer-item>home</custom-drawer-item>
401
+ <custom-drawer-item>about</custom-drawer-item>
402
+ </span>
403
+ </custom-pane>
404
+ </demo-section>
405
+ <demo-section route="supporting-pane">
406
+ <custom-supporting-pane id="demo-supporting-pane">
407
+ <flex-column>
408
+ <p>
409
+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Commodi, dolor minima. Ab nobis quae neque
410
+ dolor. Asperiores itaque incidunt quae quis est explicabo dolorem, laudantium repellat earum nisi.
411
+ Quae, cum.
412
+ </p>
413
+ </flex-column>
414
+ <flex-column slot="supporting"></flex-column>
415
+ </custom-supporting-pane>
416
+ <custom-drawer-button id="demo-supporting-pane"></custom-drawer-button>
417
+ <custom-supporting-pane open left>
418
+ <flex-column>
419
+ <p>
420
+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Commodi, dolor minima. Ab nobis quae neque
421
+ dolor. Asperiores itaque incidunt quae quis est explicabo dolorem, laudantium repellat earum nisi.
422
+ Quae, cum.
423
+ </p>
424
+ </flex-column>
425
+ <flex-column slot="supporting"></flex-column>
426
+ </custom-supporting-pane>
427
+ </demo-section>
428
+
429
+ <demo-section route="tabs">
430
+ <custom-tabs>
431
+ <custom-tab>home</custom-tab>
432
+ <custom-tab>about</custom-tab>
433
+ </custom-tabs>
434
+
435
+ <custom-tabs round>
436
+ <custom-tab>
437
+ <custom-icon>home</custom-icon>
438
+ home
439
+ </custom-tab>
440
+ <custom-tab>about</custom-tab>
441
+ </custom-tabs>
442
+ </demo-section>
443
+
444
+ <demo-section route="dialog">
445
+ <flex-container>
446
+ <custom-button class="fullscreen-dialog"><custom-icon slot="icon">menu</custom-icon></custom-button>
447
+ <custom-dialog fullscreen>
448
+ <span slot="title">title</span>
449
+ <p>
450
+ Lorem ipsum, dolor sit amet consectetur adipisicing elit. Rerum quae ipsum autem, recusandae impedit
451
+ minus cumque odit vel incidunt, exercitationem sint tempore sit ea ratione accusamus nemo magni
452
+ dolorem corporis.
453
+ </p>
454
+ <p>
455
+ Lorem ipsum, dolor sit amet consectetur adipisicing elit. Rerum quae ipsum autem, recusandae impedit
456
+ minus cumque odit vel incidunt, exercitationem sint tempore sit ea ratione accusamus nemo magni
457
+ dolorem corporis.
458
+ </p>
459
+ <p>
460
+ Lorem ipsum, dolor sit amet consectetur adipisicing elit. Rerum quae ipsum autem, recusandae impedit
461
+ minus cumque odit vel incidunt, exercitationem sint tempore sit ea ratione accusamus nemo magni
462
+ dolorem corporis.
463
+ </p>
464
+ <p>
465
+ Lorem ipsum, dolor sit amet consectetur adipisicing elit. Rerum quae ipsum autem, recusandae impedit
466
+ minus cumque odit vel incidunt, exercitationem sint tempore sit ea ratione accusamus nemo magni
467
+ dolorem corporis.
468
+ </p>
469
+ <p>
470
+ Lorem ipsum, dolor sit amet consectetur adipisicing elit. Rerum quae ipsum autem, recusandae impedit
471
+ minus cumque odit vel incidunt, exercitationem sint tempore sit ea ratione accusamus nemo magni
472
+ dolorem corporis.
473
+ </p>
474
+ <p>
475
+ Lorem ipsum, dolor sit amet consectetur adipisicing elit. Rerum quae ipsum autem, recusandae impedit
476
+ minus cumque odit vel incidunt, exercitationem sint tempore sit ea ratione accusamus nemo magni
477
+ dolorem corporis.
478
+ </p>
479
+ <flex-row slot="actions">
480
+ <custom-button label="agree" action="agree">agree</custom-button>
481
+ </flex-row>
482
+ </custom-dialog>
483
+
484
+ <script>
485
+ const demoSection = document.querySelector('demo-section[route="dialog"]')
486
+ const fullscreenDialog = demoSection.querySelector('custom-dialog[fullscreen]')
487
+ demoSection.querySelector('.fullscreen-dialog').addEventListener('click', () => {
488
+ fullscreenDialog.open = !fullscreenDialog.open
489
+ })
490
+ </script>
491
+ </flex-container>
492
+
493
+ <flex-container>
494
+ <custom-button class="dialog"><custom-icon slot="icon">menu</custom-icon></custom-button>
495
+ <custom-dialog class="dialog">
496
+ <span slot="title">title</span>
497
+ <p>
498
+ Lorem ipsum, dolor sit amet consectetur adipisicing elit. Rerum quae ipsum autem, recusandae impedit
499
+ minus cumque odit vel incidunt, exercitationem sint tempore sit ea ratione accusamus nemo magni
500
+ dolorem corporis.
501
+ </p>
502
+
503
+ <flex-row slot="actions">
504
+ <custom-button label="agree" action="agree">agree</custom-button>
505
+ </flex-row>
506
+ </custom-dialog>
507
+
508
+ <script>
509
+ const dialog = demoSection.querySelector('custom-dialog.dialog')
510
+ demoSection.querySelector('.dialog').addEventListener('click', () => {
511
+ dialog.open = !dialog.open
512
+ })
513
+ </script>
514
+ </flex-container>
515
+ </demo-section>
516
+
517
+ <demo-section route="time-picker">
518
+ <custom-time-picker></custom-time-picker>
519
+ </demo-section>
520
+
521
+ <demo-section route="menu">
522
+ <custom-menu>
523
+ <custom-list-item type="menu">
524
+ <custom-icon slot="start">info</custom-icon>
525
+ item 1
526
+ </custom-list-item>
527
+
528
+ <custom-list-item type="menu">
529
+ <custom-icon slot="start">info</custom-icon>
530
+ item 2
531
+ </custom-list-item>
532
+
533
+ <custom-list-item type="menu">
534
+ <custom-icon slot="start">info</custom-icon>
535
+ item 3
536
+ </custom-list-item>
537
+ </custom-menu>
538
+ </demo-section>
539
+
540
+ <demo-section route="dropdown-menu">
541
+ <custom-dropdown-menu>
542
+ <custom-list-item type="menu">
543
+ <custom-icon slot="start">info</custom-icon>
544
+ item 1
545
+ </custom-list-item>
546
+
547
+ <custom-list-item type="menu">
548
+ <custom-icon slot="start">info</custom-icon>
549
+ item 2
550
+ </custom-list-item>
551
+
552
+ <custom-list-item type="menu">
553
+ <custom-icon slot="start">info</custom-icon>
554
+ item 3
555
+ </custom-list-item>
556
+ </custom-dropdown-menu>
557
+
558
+ <flex-row>
559
+ <flex-it></flex-it>
560
+ <custom-dropdown-menu right>
561
+ <custom-list-item type="menu">
562
+ <custom-icon slot="start">info</custom-icon>
563
+ item 1
564
+ </custom-list-item>
565
+
566
+ <custom-list-item type="menu">
567
+ <custom-icon slot="start">info</custom-icon>
568
+ item 2
569
+ </custom-list-item>
570
+
571
+ <custom-list-item type="menu">
572
+ <custom-icon slot="start">info</custom-icon>
573
+ item 3
574
+ </custom-list-item>
575
+ </custom-dropdown-menu>
576
+ </flex-row>
577
+
578
+ <custom-dropdown-menu bottom>
579
+ <custom-list-item type="menu">
580
+ <custom-icon slot="start">info</custom-icon>
581
+ item 1
582
+ </custom-list-item>
583
+
584
+ <custom-list-item type="menu">
585
+ <custom-icon slot="start">info</custom-icon>
586
+ item 2
587
+ </custom-list-item>
588
+
589
+ <custom-list-item type="menu">
590
+ <custom-icon slot="start">info</custom-icon>
591
+ item 3
592
+ </custom-list-item>
593
+ </custom-dropdown-menu>
594
+
595
+ <flex-row>
596
+ <flex-it></flex-it>
597
+ <custom-dropdown-menu bottom right>
598
+ <custom-list-item type="menu">
599
+ <custom-icon slot="start">info</custom-icon>
600
+ item 1
601
+ </custom-list-item>
602
+
603
+ <custom-list-item type="menu">
604
+ <custom-icon slot="start">info</custom-icon>
605
+ item 2
606
+ </custom-list-item>
607
+
608
+ <custom-list-item type="menu">
609
+ <custom-icon slot="start">info</custom-icon>
610
+ item 3
611
+ </custom-list-item>
612
+ </custom-dropdown-menu>
613
+ </flex-row>
614
+ </demo-section>
615
+
616
+ <demo-section route="list-item">
617
+ <custom-list-item>
618
+ <custom-icon slot="start">info</custom-icon>
619
+ </custom-list-item>
620
+ </demo-section>
621
+ <demo-section route="toggle">
622
+ <custom-toggle togglers='["check_box","check_box_outline_blank", "info"]'></custom-toggle>
623
+
624
+ <custom-button label="next"></custom-button>
625
+
626
+ <script>
627
+ const toggleDemo = document.querySelector('demo-section[route="toggle"]')
628
+ toggleDemo.querySelector('custom-button').addEventListener('click', () => {
629
+ toggleDemo.querySelector('custom-toggle').next()
630
+ })
631
+ </script>
632
+ </demo-section>
633
+
634
+ <demo-section route="toggle-button">
635
+ <custom-toggle-button .togglers='["check_box","check_box_outline_blank"]'> </custom-toggle-button>
636
+ </demo-section>
637
+ </custom-pages>
638
+ </flex-column>
639
+ </custom-drawer-layout>
640
+ <!-- </custom-root> -->
641
+ <!-- </flex-row> -->
642
642
  `;
643
643
  }
644
644
  constructor() {