@vandeurenglenn/lite-elements 0.3.18
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.
- package/exports/banner/banner.d.ts +7 -0
- package/exports/banner.js +68 -0
- package/exports/bundle/banner.js +37 -0
- package/exports/bundle/button.js +144 -0
- package/exports/bundle/card.js +140 -0
- package/exports/bundle/code.js +35 -0
- package/exports/bundle/custom-element-c2e883ba.js +1 -0
- package/exports/bundle/demo-elements.js +1 -0
- package/exports/bundle/demo-icons.js +16 -0
- package/exports/bundle/demo-shell.js +540 -0
- package/exports/bundle/demo.js +457 -0
- package/exports/bundle/dial.js +1 -0
- package/exports/bundle/dialog.js +149 -0
- package/exports/bundle/divider.js +21 -0
- package/exports/bundle/drawer-button.js +18 -0
- package/exports/bundle/drawer-item.js +39 -0
- package/exports/bundle/drawer-layout.js +96 -0
- package/exports/bundle/drawer.js +56 -0
- package/exports/bundle/dropdown-menu.js +59 -0
- package/exports/bundle/dropdown.js +26 -0
- package/exports/bundle/elements.js +1 -0
- package/exports/bundle/elevation.js +56 -0
- package/exports/bundle/hour-field.js +1 -0
- package/exports/bundle/icon-button.js +13 -0
- package/exports/bundle/icon-set.js +5 -0
- package/exports/bundle/icon.js +16 -0
- package/exports/bundle/index-3c006227.js +1 -0
- package/exports/bundle/index.html +590 -0
- package/exports/bundle/input.js +6 -0
- package/exports/bundle/it-d4d177bf.js +1 -0
- package/exports/bundle/list-item.js +43 -0
- package/exports/bundle/list.js +1 -0
- package/exports/bundle/menu.js +13 -0
- package/exports/bundle/menu2.js +1 -0
- package/exports/bundle/minute-field.js +5 -0
- package/exports/bundle/pages.js +43 -0
- package/exports/bundle/pane.js +96 -0
- package/exports/bundle/property-58e28172.js +11 -0
- package/exports/bundle/query-73dacde5.js +1 -0
- package/exports/bundle/rail.js +58 -0
- package/exports/bundle/root.js +8 -0
- package/exports/bundle/scroll-mixin.js +1 -0
- package/exports/bundle/section.js +11 -0
- package/exports/bundle/section2.js +25 -0
- package/exports/bundle/select-mixin.js +1 -0
- package/exports/bundle/selector-mixin.js +1 -0
- package/exports/bundle/selector.js +31 -0
- package/exports/bundle/supporting-pane.js +47 -0
- package/exports/bundle/tab.js +22 -0
- package/exports/bundle/tabs.js +51 -0
- package/exports/bundle/text-field.js +10 -0
- package/exports/bundle/theme.js +1 -0
- package/exports/bundle/themes/default/colors.module.css +180 -0
- package/exports/bundle/themes/default/missing/motion.css +4 -0
- package/exports/bundle/themes/default/missing/shape.css +13 -0
- package/exports/bundle/themes/default/missing/theme.dark.css +5 -0
- package/exports/bundle/themes/default/missing/theme.light.css +5 -0
- package/exports/bundle/themes/default/missing/tokens.css +9 -0
- package/exports/bundle/themes/default/theme.css +10 -0
- package/exports/bundle/themes/default/theme.dark.css +33 -0
- package/exports/bundle/themes/default/theme.light.css +33 -0
- package/exports/bundle/themes/default/tokens.css +256 -0
- package/exports/bundle/themes/default/typography.module.css +150 -0
- package/exports/bundle/time-picker.js +21 -0
- package/exports/bundle/title.js +1 -0
- package/exports/bundle/toggle-button.js +4 -0
- package/exports/bundle/toggle.js +5 -0
- package/exports/bundle/top-app-bar-e6e33a9e.js +114 -0
- package/exports/bundle/top-app-bar.js +1 -0
- package/exports/bundle/types.js +1 -0
- package/exports/bundle/typography.js +156 -0
- package/exports/button.js +227 -0
- package/exports/card/card.d.ts +13 -0
- package/exports/card.js +187 -0
- package/exports/code.js +77 -0
- package/exports/demo-elements.d.ts +9 -0
- package/exports/demo-elements.js +10 -0
- package/exports/demo-icons.js +48 -0
- package/exports/demo-shell.js +648 -0
- package/exports/demo.js +524 -0
- package/exports/dial.js +1 -0
- package/exports/dialog.js +256 -0
- package/exports/divider/divider.d.ts +17 -0
- package/exports/divider.js +54 -0
- package/exports/drawer/drawer-button.d.ts +9 -0
- package/exports/drawer/drawer-layout.d.ts +19 -0
- package/exports/drawer/drawer.d.ts +13 -0
- package/exports/drawer-button.js +83 -0
- package/exports/drawer-item.js +69 -0
- package/exports/drawer-layout.js +209 -0
- package/exports/drawer.js +140 -0
- package/exports/dropdown-menu.js +172 -0
- package/exports/dropdown.js +68 -0
- package/exports/elements.d.ts +63 -0
- package/exports/elements.js +41 -0
- package/exports/elevation/elevation.d.ts +11 -0
- package/exports/elevation.js +97 -0
- package/exports/hour-field.js +1 -0
- package/exports/icon-button.js +59 -0
- package/exports/icon-set.js +52 -0
- package/exports/icon.js +103 -0
- package/exports/input.js +36 -0
- package/exports/list/list.d.ts +1 -0
- package/exports/list-item.js +127 -0
- package/exports/list.js +1 -0
- package/exports/menu.js +68 -0
- package/exports/menu2.js +1 -0
- package/exports/minute-field.js +36 -0
- package/exports/mixins/scroll-mixin.d.ts +13 -0
- package/exports/mixins/select-mixin.d.ts +32 -0
- package/exports/mixins/selector-mixin.d.ts +8 -0
- package/exports/pages.js +88 -0
- package/exports/pane/pane.d.ts +14 -0
- package/exports/pane.js +182 -0
- package/exports/rail/rail.d.ts +9 -0
- package/exports/rail.js +124 -0
- package/exports/root.js +39 -0
- package/exports/scroll-mixin.js +36 -0
- package/exports/section.js +54 -0
- package/exports/section2.js +58 -0
- package/exports/select-mixin.js +139 -0
- package/exports/selector-mixin.js +43 -0
- package/exports/selector.js +63 -0
- package/exports/supporting-pane/supporting-pane.d.ts +12 -0
- package/exports/supporting-pane.js +133 -0
- package/exports/tab.js +47 -0
- package/exports/tabs/menu.d.ts +1 -0
- package/exports/tabs/tab.d.ts +4 -0
- package/exports/tabs/tabs.d.ts +5 -0
- package/exports/tabs.js +80 -0
- package/exports/text-field.js +88 -0
- package/exports/theme/theme.d.ts +15 -0
- package/exports/theme.js +123 -0
- package/exports/themes/default/colors.module.css +180 -0
- package/exports/themes/default/missing/motion.css +4 -0
- package/exports/themes/default/missing/shape.css +13 -0
- package/exports/themes/default/missing/theme.dark.css +5 -0
- package/exports/themes/default/missing/theme.light.css +5 -0
- package/exports/themes/default/missing/tokens.css +9 -0
- package/exports/themes/default/theme.css +10 -0
- package/exports/themes/default/theme.dark.css +33 -0
- package/exports/themes/default/theme.light.css +33 -0
- package/exports/themes/default/tokens.css +256 -0
- package/exports/themes/default/typography.module.css +150 -0
- package/exports/time-picker/dial.d.ts +1 -0
- package/exports/time-picker/hour-field.d.ts +1 -0
- package/exports/time-picker.js +52 -0
- package/exports/title.js +1 -0
- package/exports/toggle/toggle-button.d.ts +13 -0
- package/exports/toggle-button.js +63 -0
- package/exports/toggle.js +78 -0
- package/exports/top-app-bar.js +143 -0
- package/exports/tslib.es6-d3ba6528.js +57 -0
- package/exports/types.d.ts +18 -0
- package/exports/types.js +1 -0
- package/exports/typography/title.d.ts +1 -0
- package/exports/typography.js +206 -0
- package/package.json +256 -0
|
@@ -0,0 +1,590 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<title>Document</title>
|
|
8
|
+
<style>
|
|
9
|
+
html,
|
|
10
|
+
body {
|
|
11
|
+
inset: 0;
|
|
12
|
+
position: absolute;
|
|
13
|
+
margin: 0;
|
|
14
|
+
width: 100%;
|
|
15
|
+
color: var(--md-sys-color-on-background);
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
}
|
|
18
|
+
custom-drawer-layout {
|
|
19
|
+
height: 100%;
|
|
20
|
+
width: 100%;
|
|
21
|
+
inset: 0;
|
|
22
|
+
|
|
23
|
+
background: var(--md-sys-color-background, #fff);
|
|
24
|
+
position: absolute;
|
|
25
|
+
display: flex;
|
|
26
|
+
}
|
|
27
|
+
.demo-container {
|
|
28
|
+
height: 100%;
|
|
29
|
+
width: 100%;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
flex-column {
|
|
33
|
+
width: 100%;
|
|
34
|
+
height: 100%;
|
|
35
|
+
overflow-y: auto;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.demo-container section {
|
|
39
|
+
align-items: center;
|
|
40
|
+
justify-content: center;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
[non-interactive] {
|
|
44
|
+
pointer-events: none;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
h4 {
|
|
48
|
+
margin: 0;
|
|
49
|
+
padding-top: 16px;
|
|
50
|
+
padding-bottom: 12px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
custom-drawer custom-divider {
|
|
54
|
+
margin-top: 16px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
flex-row:not([slot='top-app-bar-end']) {
|
|
58
|
+
width: 100%;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
flex-column {
|
|
62
|
+
display: flex;
|
|
63
|
+
flex-direction: column;
|
|
64
|
+
}
|
|
65
|
+
</style>
|
|
66
|
+
</head>
|
|
67
|
+
<body>
|
|
68
|
+
<custom-theme></custom-theme>
|
|
69
|
+
<demo-icons></demo-icons>
|
|
70
|
+
|
|
71
|
+
<!-- <custom-root> -->
|
|
72
|
+
<custom-drawer-layout class="demo-container" drawer-open>
|
|
73
|
+
<span slot="drawer-headline"> menu </span>
|
|
74
|
+
|
|
75
|
+
<flex-column slot="drawer-content">
|
|
76
|
+
<custom-selector attr-for-selected="route" default-selected="banner">
|
|
77
|
+
<custom-drawer-item route="banner">banner</custom-drawer-item>
|
|
78
|
+
<custom-drawer-item route="dialog">dialog</custom-drawer-item>
|
|
79
|
+
<custom-drawer-item route="divider">divider</custom-drawer-item>
|
|
80
|
+
<custom-drawer-item route="buttons">buttons</custom-drawer-item>
|
|
81
|
+
<custom-drawer-item route="cards">cards</custom-drawer-item>
|
|
82
|
+
<custom-drawer-item route="top-app-bar">top-app-bar</custom-drawer-item>
|
|
83
|
+
<custom-drawer-item route="typography">typography</custom-drawer-item>
|
|
84
|
+
<custom-drawer-item route="drawer">drawer</custom-drawer-item>
|
|
85
|
+
<custom-drawer-item route="pane">pane</custom-drawer-item>
|
|
86
|
+
<custom-drawer-item route="supporting-pane">supporting-pane</custom-drawer-item>
|
|
87
|
+
<custom-drawer-item route="tabs">tabs</custom-drawer-item>
|
|
88
|
+
<custom-drawer-item route="menu">menu</custom-drawer-item>
|
|
89
|
+
<custom-drawer-item route="dropdown-menu">dropdown-menu</custom-drawer-item>
|
|
90
|
+
<custom-drawer-item route="list-item">list-item</custom-drawer-item>
|
|
91
|
+
<custom-drawer-item route="toggle">toggle</custom-drawer-item>
|
|
92
|
+
<custom-drawer-item route="toggle-button">toggle-button</custom-drawer-item>
|
|
93
|
+
<custom-drawer-item route="time-picker">time-picker</custom-drawer-item>
|
|
94
|
+
</custom-selector>
|
|
95
|
+
</flex-column>
|
|
96
|
+
|
|
97
|
+
<span slot="top-app-bar-title">custom-elements</span>
|
|
98
|
+
|
|
99
|
+
<flex-row slot="top-app-bar-end">
|
|
100
|
+
<custom-theme-mode></custom-theme-mode>
|
|
101
|
+
<custom-button>
|
|
102
|
+
<custom-icon slot="icon">more_vert</custom-icon>
|
|
103
|
+
</custom-button>
|
|
104
|
+
</flex-row>
|
|
105
|
+
|
|
106
|
+
<flex-column>
|
|
107
|
+
<custom-pages attr-for-selected="route" default-selected="banner">
|
|
108
|
+
<demo-section route="banner">
|
|
109
|
+
<custom-banner>Banner</custom-banner>
|
|
110
|
+
</demo-section>
|
|
111
|
+
|
|
112
|
+
<demo-section route="divider">
|
|
113
|
+
<custom-divider></custom-divider>
|
|
114
|
+
<custom-divider inset></custom-divider>
|
|
115
|
+
<custom-divider middle-inset></custom-divider>
|
|
116
|
+
</demo-section>
|
|
117
|
+
|
|
118
|
+
<demo-section route="cards">
|
|
119
|
+
<custom-card type="filled">
|
|
120
|
+
<span slot="headline">filled</span>
|
|
121
|
+
<span slot="subline">subline</span>
|
|
122
|
+
<p slot="supportingText">
|
|
123
|
+
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Similique ratione eligendi eum aliquam enim,
|
|
124
|
+
magni beatae facere tempora ex accusantium a, dolorem tempore placeat laboriosam praesentium veritatis
|
|
125
|
+
facilis et quasi? Lorem ipsum dolor, sit amet consectetur adipisicing elit. Similique ratione eligendi
|
|
126
|
+
eum aliquam enim, magni beatae facere tempora ex accusantium a, dolorem tempore placeat laboriosam
|
|
127
|
+
praesentium veritatis facilis et quasi?
|
|
128
|
+
</p>
|
|
129
|
+
<flex-row slot="actions">
|
|
130
|
+
<custom-button type="filled" label="YES"></custom-button>
|
|
131
|
+
</flex-row>
|
|
132
|
+
</custom-card>
|
|
133
|
+
|
|
134
|
+
<custom-card type="elevated">
|
|
135
|
+
<span slot="headline">elevated</span>
|
|
136
|
+
<span slot="subline">subline</span>
|
|
137
|
+
<p slot="supportingText">
|
|
138
|
+
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Similique ratione eligendi eum aliquam enim,
|
|
139
|
+
magni beatae facere tempora ex accusantium a, dolorem tempore placeat laboriosam praesentium veritatis
|
|
140
|
+
facilis et quasi?
|
|
141
|
+
</p>
|
|
142
|
+
<flex-row slot="actions">
|
|
143
|
+
<custom-button type="elevated" label="YES"></custom-button>
|
|
144
|
+
</flex-row>
|
|
145
|
+
</custom-card>
|
|
146
|
+
|
|
147
|
+
<custom-card type="outlined">
|
|
148
|
+
<span slot="headline">outlined</span>
|
|
149
|
+
<span slot="subline">subline</span>
|
|
150
|
+
<p slot="supportingText">
|
|
151
|
+
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Similique ratione eligendi eum aliquam enim,
|
|
152
|
+
magni beatae facere tempora ex accusantium a, dolorem tempore placeat laboriosam praesentium veritatis
|
|
153
|
+
facilis et quasi?
|
|
154
|
+
</p>
|
|
155
|
+
<flex-row slot="actions">
|
|
156
|
+
<custom-button type="outlined" label="YES"></custom-button>
|
|
157
|
+
</flex-row>
|
|
158
|
+
</custom-card>
|
|
159
|
+
|
|
160
|
+
<custom-card type="tertiary">
|
|
161
|
+
<img
|
|
162
|
+
loading="lazy"
|
|
163
|
+
slot="image"
|
|
164
|
+
src="https://lh3.googleusercontent.com/9NBw6U14z6f-EAnwPqfcX-mIkxNdpK0IXvwiun9w84JkMcZfBT0bfRqn7QWdBVqnCYC5hsDEnGhSjbaWcgi1HT_Q6pCioSRTgMFODqZdAXw=s0"
|
|
165
|
+
/>
|
|
166
|
+
<span slot="headline">tertiary</span>
|
|
167
|
+
<span slot="subline">subline</span>
|
|
168
|
+
|
|
169
|
+
<flex-row slot="actions">
|
|
170
|
+
<custom-button type="tertiary" label="YES"></custom-button>
|
|
171
|
+
</flex-row>
|
|
172
|
+
</custom-card>
|
|
173
|
+
</demo-section>
|
|
174
|
+
|
|
175
|
+
<demo-section route="buttons">
|
|
176
|
+
<custom-button type="text" label="text"></custom-button>
|
|
177
|
+
|
|
178
|
+
<custom-button type="text" label="with icon">
|
|
179
|
+
<span slot="icon">+</span>
|
|
180
|
+
</custom-button>
|
|
181
|
+
|
|
182
|
+
<custom-button type="filled" label="filled"></custom-button>
|
|
183
|
+
|
|
184
|
+
<custom-button type="filled" label="with icon">
|
|
185
|
+
<span slot="icon">+</span>
|
|
186
|
+
</custom-button>
|
|
187
|
+
|
|
188
|
+
<custom-button type="elevated" label="elevated"></custom-button>
|
|
189
|
+
|
|
190
|
+
<custom-button type="elevated" label="with icon">
|
|
191
|
+
<span slot="icon">+</span>
|
|
192
|
+
</custom-button>
|
|
193
|
+
|
|
194
|
+
<custom-button type="outlined" label="outlined"></custom-button>
|
|
195
|
+
|
|
196
|
+
<custom-button type="outlined" label="with icon">
|
|
197
|
+
<span slot="icon">+</span>
|
|
198
|
+
</custom-button>
|
|
199
|
+
|
|
200
|
+
<custom-button type="tonal" label="tonal"></custom-button>
|
|
201
|
+
|
|
202
|
+
<custom-button type="tonal" label="with icon">
|
|
203
|
+
<span slot="icon">+</span>
|
|
204
|
+
</custom-button>
|
|
205
|
+
|
|
206
|
+
<custom-button type="tertiary" label="tertiary"></custom-button>
|
|
207
|
+
|
|
208
|
+
<custom-button type="tertiary" label="with icon">
|
|
209
|
+
<span slot="icon">+</span>
|
|
210
|
+
</custom-button>
|
|
211
|
+
</demo-section>
|
|
212
|
+
|
|
213
|
+
<demo-section route="top-app-bar">
|
|
214
|
+
<custom-top-app-bar>
|
|
215
|
+
<span slot="title">title</span>
|
|
216
|
+
</custom-top-app-bar>
|
|
217
|
+
|
|
218
|
+
<custom-top-app-bar type="small">
|
|
219
|
+
<custom-icon-button slot="start" icon="menu"></custom-icon-button>
|
|
220
|
+
<span slot="title">title</span>
|
|
221
|
+
</custom-top-app-bar>
|
|
222
|
+
|
|
223
|
+
<custom-top-app-bar type="medium">
|
|
224
|
+
<custom-icon-button slot="start" icon="menu"></custom-icon-button>
|
|
225
|
+
<span slot="title">title</span>
|
|
226
|
+
</custom-top-app-bar>
|
|
227
|
+
|
|
228
|
+
<custom-top-app-bar type="large">
|
|
229
|
+
<custom-icon-button slot="start" icon="menu"></custom-icon-button>
|
|
230
|
+
<span slot="title">title</span>
|
|
231
|
+
</custom-top-app-bar>
|
|
232
|
+
</demo-section>
|
|
233
|
+
|
|
234
|
+
<demo-section route="typography">
|
|
235
|
+
<custom-typography>
|
|
236
|
+
<span>title</span>
|
|
237
|
+
</custom-typography>
|
|
238
|
+
|
|
239
|
+
<custom-typography size="medium">
|
|
240
|
+
<span>title medium</span>
|
|
241
|
+
</custom-typography>
|
|
242
|
+
|
|
243
|
+
<custom-typography size="small">
|
|
244
|
+
<span>title small</span>
|
|
245
|
+
</custom-typography>
|
|
246
|
+
|
|
247
|
+
<custom-typography type="body">
|
|
248
|
+
<span>body</span>
|
|
249
|
+
</custom-typography>
|
|
250
|
+
|
|
251
|
+
<custom-typography type="body" size="medium">
|
|
252
|
+
<span>body medium</span>
|
|
253
|
+
</custom-typography>
|
|
254
|
+
|
|
255
|
+
<custom-typography type="body" size="small">
|
|
256
|
+
<span>body small</span>
|
|
257
|
+
</custom-typography>
|
|
258
|
+
|
|
259
|
+
<custom-typography type="label">
|
|
260
|
+
<span>label</span>
|
|
261
|
+
</custom-typography>
|
|
262
|
+
|
|
263
|
+
<custom-typography type="label" size="medium">
|
|
264
|
+
<span>label medium</span>
|
|
265
|
+
</custom-typography>
|
|
266
|
+
|
|
267
|
+
<custom-typography type="label" size="small">
|
|
268
|
+
<span>label small</span>
|
|
269
|
+
</custom-typography>
|
|
270
|
+
|
|
271
|
+
<custom-typography type="headline">
|
|
272
|
+
<span>headline</span>
|
|
273
|
+
</custom-typography>
|
|
274
|
+
|
|
275
|
+
<custom-typography type="headline" size="medium">
|
|
276
|
+
<span>headline medium</span>
|
|
277
|
+
</custom-typography>
|
|
278
|
+
|
|
279
|
+
<custom-typography type="headline" size="small">
|
|
280
|
+
<span>headline small</span>
|
|
281
|
+
</custom-typography>
|
|
282
|
+
|
|
283
|
+
<custom-typography type="display">
|
|
284
|
+
<span>display</span>
|
|
285
|
+
</custom-typography>
|
|
286
|
+
|
|
287
|
+
<custom-typography type="display" size="medium">
|
|
288
|
+
<span>display medium</span>
|
|
289
|
+
</custom-typography>
|
|
290
|
+
|
|
291
|
+
<custom-typography type="display" size="small">
|
|
292
|
+
<span>display small</span>
|
|
293
|
+
</custom-typography>
|
|
294
|
+
</demo-section>
|
|
295
|
+
|
|
296
|
+
<demo-section route="drawer">
|
|
297
|
+
<custom-drawer open type="modal" id="demo-drawer">
|
|
298
|
+
<span slot="content">
|
|
299
|
+
<custom-drawer-item>home</custom-drawer-item>
|
|
300
|
+
<custom-drawer-item>about</custom-drawer-item>
|
|
301
|
+
</span>
|
|
302
|
+
</custom-drawer>
|
|
303
|
+
|
|
304
|
+
<custom-drawer-button id="demo-drawer"></custom-drawer-button>
|
|
305
|
+
|
|
306
|
+
<custom-selector>
|
|
307
|
+
<custom-drawer-item id="demo-drawer">drawer-item</custom-drawer-item>
|
|
308
|
+
</custom-selector>
|
|
309
|
+
</demo-section>
|
|
310
|
+
|
|
311
|
+
<demo-section route="pane">
|
|
312
|
+
<custom-pane open type="modal" id="demo-pane">
|
|
313
|
+
<span slot="content">
|
|
314
|
+
<custom-drawer-item>home</custom-drawer-item>
|
|
315
|
+
<custom-drawer-item>about</custom-drawer-item>
|
|
316
|
+
</span>
|
|
317
|
+
</custom-pane>
|
|
318
|
+
|
|
319
|
+
<custom-pane open type="modal" id="demo-pane" right>
|
|
320
|
+
<span slot="content">
|
|
321
|
+
<custom-drawer-item>home</custom-drawer-item>
|
|
322
|
+
<custom-drawer-item>about</custom-drawer-item>
|
|
323
|
+
</span>
|
|
324
|
+
</custom-pane>
|
|
325
|
+
</demo-section>
|
|
326
|
+
<demo-section route="supporting-pane">
|
|
327
|
+
<custom-supporting-pane id="demo-supporting-pane">
|
|
328
|
+
<flex-column>
|
|
329
|
+
<p>
|
|
330
|
+
Lorem ipsum dolor sit amet consectetur adipisicing elit. Commodi, dolor minima. Ab nobis quae neque
|
|
331
|
+
dolor. Asperiores itaque incidunt quae quis est explicabo dolorem, laudantium repellat earum nisi.
|
|
332
|
+
Quae, cum.
|
|
333
|
+
</p>
|
|
334
|
+
</flex-column>
|
|
335
|
+
<flex-column slot="supporting"></flex-column>
|
|
336
|
+
</custom-supporting-pane>
|
|
337
|
+
<custom-drawer-button id="demo-supporting-pane"></custom-drawer-button>
|
|
338
|
+
<custom-supporting-pane open left>
|
|
339
|
+
<flex-column>
|
|
340
|
+
<p>
|
|
341
|
+
Lorem ipsum dolor sit amet consectetur adipisicing elit. Commodi, dolor minima. Ab nobis quae neque
|
|
342
|
+
dolor. Asperiores itaque incidunt quae quis est explicabo dolorem, laudantium repellat earum nisi.
|
|
343
|
+
Quae, cum.
|
|
344
|
+
</p>
|
|
345
|
+
</flex-column>
|
|
346
|
+
<flex-column slot="supporting"></flex-column>
|
|
347
|
+
</custom-supporting-pane>
|
|
348
|
+
</demo-section>
|
|
349
|
+
|
|
350
|
+
<demo-section route="tabs">
|
|
351
|
+
<custom-tabs>
|
|
352
|
+
<custom-tab>home</custom-tab>
|
|
353
|
+
<custom-tab>about</custom-tab>
|
|
354
|
+
</custom-tabs>
|
|
355
|
+
|
|
356
|
+
<custom-tabs round>
|
|
357
|
+
<custom-tab>
|
|
358
|
+
<custom-icon>home</custom-icon>
|
|
359
|
+
home
|
|
360
|
+
</custom-tab>
|
|
361
|
+
<custom-tab>about</custom-tab>
|
|
362
|
+
</custom-tabs>
|
|
363
|
+
</demo-section>
|
|
364
|
+
|
|
365
|
+
<demo-section route="dialog">
|
|
366
|
+
<flex-container>
|
|
367
|
+
<custom-button class="fullscreen-dialog"><custom-icon slot="icon">menu</custom-icon></custom-button>
|
|
368
|
+
<custom-dialog fullscreen>
|
|
369
|
+
<span slot="title">title</span>
|
|
370
|
+
<p>
|
|
371
|
+
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Rerum quae ipsum autem, recusandae impedit
|
|
372
|
+
minus cumque odit vel incidunt, exercitationem sint tempore sit ea ratione accusamus nemo magni
|
|
373
|
+
dolorem corporis.
|
|
374
|
+
</p>
|
|
375
|
+
<p>
|
|
376
|
+
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Rerum quae ipsum autem, recusandae impedit
|
|
377
|
+
minus cumque odit vel incidunt, exercitationem sint tempore sit ea ratione accusamus nemo magni
|
|
378
|
+
dolorem corporis.
|
|
379
|
+
</p>
|
|
380
|
+
<p>
|
|
381
|
+
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Rerum quae ipsum autem, recusandae impedit
|
|
382
|
+
minus cumque odit vel incidunt, exercitationem sint tempore sit ea ratione accusamus nemo magni
|
|
383
|
+
dolorem corporis.
|
|
384
|
+
</p>
|
|
385
|
+
<p>
|
|
386
|
+
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Rerum quae ipsum autem, recusandae impedit
|
|
387
|
+
minus cumque odit vel incidunt, exercitationem sint tempore sit ea ratione accusamus nemo magni
|
|
388
|
+
dolorem corporis.
|
|
389
|
+
</p>
|
|
390
|
+
<p>
|
|
391
|
+
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Rerum quae ipsum autem, recusandae impedit
|
|
392
|
+
minus cumque odit vel incidunt, exercitationem sint tempore sit ea ratione accusamus nemo magni
|
|
393
|
+
dolorem corporis.
|
|
394
|
+
</p>
|
|
395
|
+
<p>
|
|
396
|
+
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Rerum quae ipsum autem, recusandae impedit
|
|
397
|
+
minus cumque odit vel incidunt, exercitationem sint tempore sit ea ratione accusamus nemo magni
|
|
398
|
+
dolorem corporis.
|
|
399
|
+
</p>
|
|
400
|
+
<flex-row slot="actions">
|
|
401
|
+
<custom-button label="agree" action="agree">agree</custom-button>
|
|
402
|
+
</flex-row>
|
|
403
|
+
</custom-dialog>
|
|
404
|
+
|
|
405
|
+
<script>
|
|
406
|
+
const demoSection = document.querySelector('demo-section[route="dialog"]')
|
|
407
|
+
const fullscreenDialog = demoSection.querySelector('custom-dialog[fullscreen]')
|
|
408
|
+
demoSection.querySelector('.fullscreen-dialog').addEventListener('click', () => {
|
|
409
|
+
fullscreenDialog.open = !fullscreenDialog.open
|
|
410
|
+
})
|
|
411
|
+
</script>
|
|
412
|
+
</flex-container>
|
|
413
|
+
|
|
414
|
+
<flex-container>
|
|
415
|
+
<custom-button class="dialog"><custom-icon slot="icon">menu</custom-icon></custom-button>
|
|
416
|
+
<custom-dialog class="dialog">
|
|
417
|
+
<span slot="title">title</span>
|
|
418
|
+
<p>
|
|
419
|
+
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Rerum quae ipsum autem, recusandae impedit
|
|
420
|
+
minus cumque odit vel incidunt, exercitationem sint tempore sit ea ratione accusamus nemo magni
|
|
421
|
+
dolorem corporis.
|
|
422
|
+
</p>
|
|
423
|
+
|
|
424
|
+
<flex-row slot="actions">
|
|
425
|
+
<custom-button label="agree" action="agree">agree</custom-button>
|
|
426
|
+
</flex-row>
|
|
427
|
+
</custom-dialog>
|
|
428
|
+
|
|
429
|
+
<script>
|
|
430
|
+
const dialog = demoSection.querySelector('custom-dialog.dialog')
|
|
431
|
+
demoSection.querySelector('.dialog').addEventListener('click', () => {
|
|
432
|
+
dialog.open = !dialog.open
|
|
433
|
+
})
|
|
434
|
+
</script>
|
|
435
|
+
</flex-container>
|
|
436
|
+
</demo-section>
|
|
437
|
+
|
|
438
|
+
<demo-section route="time-picker">
|
|
439
|
+
<custom-time-picker></custom-time-picker>
|
|
440
|
+
</demo-section>
|
|
441
|
+
|
|
442
|
+
<demo-section route="menu">
|
|
443
|
+
<custom-menu>
|
|
444
|
+
<custom-list-item type="menu">
|
|
445
|
+
<custom-icon slot="start">info</custom-icon>
|
|
446
|
+
item 1
|
|
447
|
+
</custom-list-item>
|
|
448
|
+
|
|
449
|
+
<custom-list-item type="menu">
|
|
450
|
+
<custom-icon slot="start">info</custom-icon>
|
|
451
|
+
item 2
|
|
452
|
+
</custom-list-item>
|
|
453
|
+
|
|
454
|
+
<custom-list-item type="menu">
|
|
455
|
+
<custom-icon slot="start">info</custom-icon>
|
|
456
|
+
item 3
|
|
457
|
+
</custom-list-item>
|
|
458
|
+
</custom-menu>
|
|
459
|
+
</demo-section>
|
|
460
|
+
|
|
461
|
+
<demo-section route="dropdown-menu">
|
|
462
|
+
<custom-dropdown-menu>
|
|
463
|
+
<custom-list-item type="menu">
|
|
464
|
+
<custom-icon slot="start">info</custom-icon>
|
|
465
|
+
item 1
|
|
466
|
+
</custom-list-item>
|
|
467
|
+
|
|
468
|
+
<custom-list-item type="menu">
|
|
469
|
+
<custom-icon slot="start">info</custom-icon>
|
|
470
|
+
item 2
|
|
471
|
+
</custom-list-item>
|
|
472
|
+
|
|
473
|
+
<custom-list-item type="menu">
|
|
474
|
+
<custom-icon slot="start">info</custom-icon>
|
|
475
|
+
item 3
|
|
476
|
+
</custom-list-item>
|
|
477
|
+
</custom-dropdown-menu>
|
|
478
|
+
|
|
479
|
+
<flex-row>
|
|
480
|
+
<flex-it></flex-it>
|
|
481
|
+
<custom-dropdown-menu right>
|
|
482
|
+
<custom-list-item type="menu">
|
|
483
|
+
<custom-icon slot="start">info</custom-icon>
|
|
484
|
+
item 1
|
|
485
|
+
</custom-list-item>
|
|
486
|
+
|
|
487
|
+
<custom-list-item type="menu">
|
|
488
|
+
<custom-icon slot="start">info</custom-icon>
|
|
489
|
+
item 2
|
|
490
|
+
</custom-list-item>
|
|
491
|
+
|
|
492
|
+
<custom-list-item type="menu">
|
|
493
|
+
<custom-icon slot="start">info</custom-icon>
|
|
494
|
+
item 3
|
|
495
|
+
</custom-list-item>
|
|
496
|
+
</custom-dropdown-menu>
|
|
497
|
+
</flex-row>
|
|
498
|
+
|
|
499
|
+
<custom-dropdown-menu bottom>
|
|
500
|
+
<custom-list-item type="menu">
|
|
501
|
+
<custom-icon slot="start">info</custom-icon>
|
|
502
|
+
item 1
|
|
503
|
+
</custom-list-item>
|
|
504
|
+
|
|
505
|
+
<custom-list-item type="menu">
|
|
506
|
+
<custom-icon slot="start">info</custom-icon>
|
|
507
|
+
item 2
|
|
508
|
+
</custom-list-item>
|
|
509
|
+
|
|
510
|
+
<custom-list-item type="menu">
|
|
511
|
+
<custom-icon slot="start">info</custom-icon>
|
|
512
|
+
item 3
|
|
513
|
+
</custom-list-item>
|
|
514
|
+
</custom-dropdown-menu>
|
|
515
|
+
|
|
516
|
+
<flex-row>
|
|
517
|
+
<flex-it></flex-it>
|
|
518
|
+
<custom-dropdown-menu bottom right>
|
|
519
|
+
<custom-list-item type="menu">
|
|
520
|
+
<custom-icon slot="start">info</custom-icon>
|
|
521
|
+
item 1
|
|
522
|
+
</custom-list-item>
|
|
523
|
+
|
|
524
|
+
<custom-list-item type="menu">
|
|
525
|
+
<custom-icon slot="start">info</custom-icon>
|
|
526
|
+
item 2
|
|
527
|
+
</custom-list-item>
|
|
528
|
+
|
|
529
|
+
<custom-list-item type="menu">
|
|
530
|
+
<custom-icon slot="start">info</custom-icon>
|
|
531
|
+
item 3
|
|
532
|
+
</custom-list-item>
|
|
533
|
+
</custom-dropdown-menu>
|
|
534
|
+
</flex-row>
|
|
535
|
+
</demo-section>
|
|
536
|
+
|
|
537
|
+
<demo-section route="list-item">
|
|
538
|
+
<custom-list-item>
|
|
539
|
+
<custom-icon slot="start">info</custom-icon>
|
|
540
|
+
</custom-list-item>
|
|
541
|
+
</demo-section>
|
|
542
|
+
<demo-section route="toggle">
|
|
543
|
+
<custom-toggle togglers='["check_box","check_box_outline_blank", "info"]'></custom-toggle>
|
|
544
|
+
|
|
545
|
+
<custom-button label="next"></custom-button>
|
|
546
|
+
|
|
547
|
+
<script>
|
|
548
|
+
const toggleDemo = document.querySelector('demo-section[route="toggle"]')
|
|
549
|
+
toggleDemo.querySelector('custom-button').addEventListener('click', () => {
|
|
550
|
+
toggleDemo.querySelector('custom-toggle').next()
|
|
551
|
+
})
|
|
552
|
+
</script>
|
|
553
|
+
</demo-section>
|
|
554
|
+
|
|
555
|
+
<demo-section route="toggle-button">
|
|
556
|
+
<custom-toggle-button togglers='["check_box","check_box_outline_blank"]'> </custom-toggle-button>
|
|
557
|
+
</demo-section>
|
|
558
|
+
</custom-pages>
|
|
559
|
+
</flex-column>
|
|
560
|
+
</custom-drawer-layout>
|
|
561
|
+
<!-- </custom-root> -->
|
|
562
|
+
<!-- </flex-row> -->
|
|
563
|
+
|
|
564
|
+
<script type="module">
|
|
565
|
+
import './demo-elements.js'
|
|
566
|
+
import './elements.js'
|
|
567
|
+
|
|
568
|
+
const selector = document.querySelector('custom-selector')
|
|
569
|
+
const pages = document.querySelector('custom-pages')
|
|
570
|
+
|
|
571
|
+
const onSelected = async ({ detail }) => {
|
|
572
|
+
document.dispatchEvent(new CustomEvent('custom-scroll', { detail: { scrolling: false } }))
|
|
573
|
+
pages.select(detail)
|
|
574
|
+
localStorage.setItem('last-selected', detail)
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
selector.addEventListener('selected', onSelected)
|
|
578
|
+
|
|
579
|
+
const lastSelected = localStorage.getItem('last-selected')
|
|
580
|
+
if (lastSelected)
|
|
581
|
+
if (customElements.get('custom-serlector')) selector.select(lastSelected)
|
|
582
|
+
else {
|
|
583
|
+
await customElements.whenDefined('custom-selector')
|
|
584
|
+
selector.select(lastSelected)
|
|
585
|
+
|
|
586
|
+
pages.select(lastSelected)
|
|
587
|
+
}
|
|
588
|
+
</script>
|
|
589
|
+
</body>
|
|
590
|
+
</html>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{_ as t,a as e,e as a}from"./custom-element-c2e883ba.js";import{j as l,v as i,D as m}from"./property-58e28172.js";let n=(()=>{let n,o,r=[a("custom-time-picker-input")],s=[],c=m;return class extends c{static{o=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(c[Symbol.metadata]??null):void 0;t(null,n={value:o},r,{kind:"class",name:o.name,metadata:e},null,s),o=n.value,e&&Object.defineProperty(o,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static styles=[l`
|
|
2
|
+
:host {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
}
|
|
6
|
+
`];render(){return i` <input type="time" /> `}static{e(o,s)}},o})();export{n as TimePickerInput};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
class FlexIt extends HTMLElement{static get observedAttributes(){return["flex","min-width","max-width","width"]}constructor(){super(),this.attachShadow({mode:"open"}),this.maxWidth=this.getAttribute("max-width")||"auto",this.minWidth=this.getAttribute("min-width")||"auto",this.width=this.getAttribute("width")||"100%",this.flex=this.getAttribute("flex")||"1",this.shadowRoot.innerHTML=this.template}attributeChangedCallback(t,e,i){e!==i&&this.style.setProperty(`--flex-it-${t}`,i)}set minWidth(t){t!==this.minWidth&&this.setAttribute("min-width",t)}set maxWidth(t){t!==this.maxWidth&&this.setAttribute("max-width",t)}set width(t){t!==this.width&&this.setAttribute("width",t)}set flex(t){t!==this.flex&&this.setAttribute("flex",t)}get minWidth(){return this.getAttribute("min-width")}get maxWidth(){return this.getAttribute("max-width")}get width(){return this.getAttribute("width")}get flex(){return this.getAttribute("flex")}get template(){return`<style>\n :host {\n --flex-it-pointer-events: none;\n --flex-it-user-select: none;\n\n flex: var(--flex-it-flex, ${this.flex});\n max-width: var(--flex-it-max-width, ${this.maxWidth});\n min-width: var(--flex-it-min-width, ${this.minWidth});\n width: var(--flex-it-width, ${this.width});\n pointer-events: var(--flex-it-pointer-events);\n user-select: var(--flex-it-user-select);\n }\n </style>\n <slot></slot>\n `}}customElements.define("flex-it",FlexIt);
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import{_ as t,a as e,e as s}from"./custom-element-c2e883ba.js";import{e as a,j as n,v as r,D as o}from"./property-58e28172.js";import{t as i}from"./query-73dacde5.js";const c=t=>function(e,{kind:s,name:a,access:n,addInitializer:r}){let o;return"accessor"!==s&&r((function(){console.warn(`${this.localName}: @assignedElements${!t??`(${t})`} ${String(a)} ${s} is not supported`)})),o=t?()=>document.querySelector(`slot[name="${t}"]`):()=>document.querySelector("slot:not([name])"),{get:()=>o().assignedElements()}};let l=(()=>{let l,h,p,d,m,g,u,S,_=[s("custom-list-item")],v=[],y=o,f=[],b=[],x=[],E=[],I=[],k=[],$=[],j=[],w=[],q=[],B=[],C=[];return class extends y{static{h=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(y[Symbol.metadata]??null):void 0;p=[a({type:String,reflect:!0})],d=[a({type:Boolean,reflect:!0})],m=[a({type:Boolean,reflect:!0,attribute:"has-start"})],g=[a({type:Boolean,reflect:!0,attribute:"non-interactive"})],u=[c("start")],S=[i('slot[name="start"]')],t(this,null,p,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:t=>"type"in t,get:t=>t.type,set:(t,e)=>{t.type=e}},metadata:e},f,b),t(this,null,d,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:t=>"open"in t,get:t=>t.open,set:(t,e)=>{t.open=e}},metadata:e},x,E),t(this,null,m,{kind:"accessor",name:"hasStart",static:!1,private:!1,access:{has:t=>"hasStart"in t,get:t=>t.hasStart,set:(t,e)=>{t.hasStart=e}},metadata:e},I,k),t(this,null,g,{kind:"accessor",name:"nonInteractive",static:!1,private:!1,access:{has:t=>"nonInteractive"in t,get:t=>t.nonInteractive,set:(t,e)=>{t.nonInteractive=e}},metadata:e},$,j),t(this,null,u,{kind:"accessor",name:"assignedStartElements",static:!1,private:!1,access:{has:t=>"assignedStartElements"in t,get:t=>t.assignedStartElements,set:(t,e)=>{t.assignedStartElements=e}},metadata:e},w,q),t(this,null,S,{kind:"accessor",name:"startSlot",static:!1,private:!1,access:{has:t=>"startSlot"in t,get:t=>t.startSlot,set:(t,e)=>{t.startSlot=e}},metadata:e},B,C),t(null,l={value:h},_,{kind:"class",name:h.name,metadata:e},null,v),h=l.value,e&&Object.defineProperty(h,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,f,"one-line");get type(){return this.#t}set type(t){this.#t=t}#e=(e(this,b),e(this,x,void 0));get open(){return this.#e}set open(t){this.#e=t}#s=(e(this,E),e(this,I,void 0));get hasStart(){return this.#s}set hasStart(t){this.#s=t}#a=(e(this,k),e(this,$,void 0));get nonInteractive(){return this.#a}set nonInteractive(t){this.#a=t}#n=(e(this,j),e(this,w,void 0));get assignedStartElements(){return this.#n}set assignedStartElements(t){this.#n=t}#r=(e(this,q),e(this,B,void 0));get startSlot(){return this.#r}set startSlot(t){this.#r=t}#o=(e(this,C),()=>{this.hasStart=!0});connectedCallback(){this.startSlot.addEventListener("slotchange",this.#o)}static styles=[n`
|
|
2
|
+
* {
|
|
3
|
+
pointer-events: none;
|
|
4
|
+
user-select: none;
|
|
5
|
+
}
|
|
6
|
+
:host {
|
|
7
|
+
display: flex;
|
|
8
|
+
/* top, right, bottom, left */
|
|
9
|
+
padding: 8px 24px 8px 16px;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
width: 100%;
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
min-width: 112px;
|
|
14
|
+
max-width: 280px;
|
|
15
|
+
height: 48px;
|
|
16
|
+
pointer-events: auto;
|
|
17
|
+
}
|
|
18
|
+
:host([type='menu']) {
|
|
19
|
+
padding: 0 12px;
|
|
20
|
+
height: 48px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
:host([type='menu']),
|
|
24
|
+
:host([type='one-line']) {
|
|
25
|
+
align-items: center;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:host([has-start]) .body {
|
|
29
|
+
padding-left: 12px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:host([non-interactive]) {
|
|
33
|
+
pointer-events: none;
|
|
34
|
+
cursor: default;
|
|
35
|
+
}
|
|
36
|
+
`];render(){return r`
|
|
37
|
+
<slot name="start"></slot>
|
|
38
|
+
<span class="body">
|
|
39
|
+
<slot></slot>
|
|
40
|
+
</span>
|
|
41
|
+
<flex-it></flex-it>
|
|
42
|
+
<slot name="end"></slot>
|
|
43
|
+
`}static{e(h,v)}},h})();export{l as CustomListItem};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import{_ as e,a as t,e as s}from"./custom-element-c2e883ba.js";import{j as l,v as o,D as c}from"./property-58e28172.js";import"./dropdown.js";import"./selector.js";import"./selector-mixin.js";import"./select-mixin.js";let r=(()=>{let r,i,a=[s("custom-menu")],n=[],d=c;return class extends d{static{i=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;e(null,r={value:i},a,{kind:"class",name:i.name,metadata:t},null,n),i=r.value,t&&Object.defineProperty(i,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}get selector(){return this.shadowRoot.querySelector("custom-selector")}set selected(e){this.selector.selected=e}get selected(){return this.selector.selected}select(e){this.selector.select(e)}#e=({detail:e})=>{this.dispatchEvent(new CustomEvent("selected",{detail:e}))};connectedCallback(){this.selector.addEventListener("selected",this.#e)}disconnectedCallback(){this.selector.removeEventListener("selected",this.#e)}static styles=[l`
|
|
2
|
+
:host {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
width: 100%;
|
|
6
|
+
min-width: 120px;
|
|
7
|
+
max-width: 280px;
|
|
8
|
+
}
|
|
9
|
+
`];render(){return o`
|
|
10
|
+
<custom-selector>
|
|
11
|
+
<slot></slot>
|
|
12
|
+
</custom-selector>
|
|
13
|
+
`}static{t(i,n)}},i})();export{r as CustomMenu};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|