@design.estate/dees-catalog 3.42.0 → 3.43.0
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/dist_bundle/bundle.js +1568 -1473
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/00group-chart/dees-chart-area/component.d.ts +15 -1
- package/dist_ts_web/elements/00group-chart/dees-chart-area/component.js +1 -1
- package/dist_ts_web/elements/00group-dataview/dees-table/dees-table.js +7 -7
- package/dist_ts_web/elements/00group-form/dees-form/dees-form.d.ts +2 -1
- package/dist_ts_web/elements/00group-form/dees-form/dees-form.js +18 -7
- package/dist_ts_web/elements/00group-input/dees-input-base/dees-input-base.js +2 -19
- package/dist_ts_web/elements/00group-input/dees-input-dropdown/dees-input-dropdown.demo.js +33 -23
- package/dist_ts_web/elements/00group-input/dees-input-iban/dees-input-iban.demo.js +33 -23
- package/dist_ts_web/elements/00group-input/dees-input-phone/dees-input-phone.demo.js +34 -24
- package/dist_ts_web/elements/00group-input/dees-input-quantityselector/dees-input-quantityselector.demo.js +35 -25
- package/dist_ts_web/elements/00group-input/dees-input-radiogroup/dees-input-radiogroup.demo.js +45 -35
- package/dist_ts_web/elements/00group-input/dees-input-text/dees-input-text.demo.js +81 -67
- package/dist_ts_web/elements/00group-input/dees-input-typelist/dees-input-typelist.demo.js +44 -32
- package/dist_watch/bundle.js +1566 -1471
- package/dist_watch/bundle.js.map +3 -3
- package/package.json +5 -5
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00group-chart/dees-chart-area/component.ts +10 -0
- package/ts_web/elements/00group-dataview/dees-table/dees-table.ts +6 -6
- package/ts_web/elements/00group-form/dees-form/dees-form.ts +18 -5
- package/ts_web/elements/00group-input/dees-input-base/dees-input-base.ts +1 -18
- package/ts_web/elements/00group-input/dees-input-dropdown/dees-input-dropdown.demo.ts +52 -42
- package/ts_web/elements/00group-input/dees-input-iban/dees-input-iban.demo.ts +32 -22
- package/ts_web/elements/00group-input/dees-input-phone/dees-input-phone.demo.ts +33 -23
- package/ts_web/elements/00group-input/dees-input-quantityselector/dees-input-quantityselector.demo.ts +34 -24
- package/ts_web/elements/00group-input/dees-input-radiogroup/dees-input-radiogroup.demo.ts +48 -38
- package/ts_web/elements/00group-input/dees-input-text/dees-input-text.demo.ts +80 -66
- package/ts_web/elements/00group-input/dees-input-typelist/dees-input-typelist.demo.ts +43 -31
|
@@ -30,6 +30,12 @@ export const demoFunc = () => html`
|
|
|
30
30
|
flex-wrap: wrap;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
.input-group {
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
gap: 16px;
|
|
37
|
+
}
|
|
38
|
+
|
|
33
39
|
.grid-layout {
|
|
34
40
|
display: grid;
|
|
35
41
|
grid-template-columns: 1fr 1fr;
|
|
@@ -83,25 +89,27 @@ export const demoFunc = () => html`
|
|
|
83
89
|
}
|
|
84
90
|
}}>
|
|
85
91
|
<dees-panel .title=${'Basic Text Inputs'} .subtitle=${'Standard text inputs with labels and descriptions'}>
|
|
86
|
-
<
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
92
|
+
<div class="input-group">
|
|
93
|
+
<dees-input-text
|
|
94
|
+
.label=${'Username'}
|
|
95
|
+
.value=${'johndoe'}
|
|
96
|
+
.key=${'username'}
|
|
97
|
+
></dees-input-text>
|
|
98
|
+
|
|
99
|
+
<dees-input-text
|
|
100
|
+
.label=${'Email Address'}
|
|
101
|
+
.value=${'john@example.com'}
|
|
102
|
+
.description=${'We will never share your email with anyone'}
|
|
103
|
+
.key=${'email'}
|
|
104
|
+
></dees-input-text>
|
|
105
|
+
|
|
106
|
+
<dees-input-text
|
|
107
|
+
.label=${'Password'}
|
|
108
|
+
.isPasswordBool=${true}
|
|
109
|
+
.value=${'secret123'}
|
|
110
|
+
.key=${'password'}
|
|
111
|
+
></dees-input-text>
|
|
112
|
+
</div>
|
|
105
113
|
</dees-panel>
|
|
106
114
|
</dees-demowrapper>
|
|
107
115
|
|
|
@@ -172,31 +180,33 @@ export const demoFunc = () => html`
|
|
|
172
180
|
}
|
|
173
181
|
}}>
|
|
174
182
|
<dees-panel .title=${'Label Positions'} .subtitle=${'Different label positioning options for various layouts'}>
|
|
175
|
-
<
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
183
|
+
<div class="input-group">
|
|
184
|
+
<dees-input-text
|
|
185
|
+
.label=${'Label on Top (Default)'}
|
|
186
|
+
.value=${'Standard layout'}
|
|
187
|
+
.labelPosition=${'top'}
|
|
188
|
+
></dees-input-text>
|
|
189
|
+
|
|
190
|
+
<dees-input-text
|
|
191
|
+
.label=${'Label on Left'}
|
|
192
|
+
.value=${'Inline label'}
|
|
193
|
+
.labelPosition=${'left'}
|
|
194
|
+
></dees-input-text>
|
|
195
|
+
|
|
196
|
+
<div class="grid-layout">
|
|
188
197
|
<dees-input-text
|
|
189
198
|
.label=${'City'}
|
|
190
199
|
.value=${'New York'}
|
|
191
200
|
.labelPosition=${'left'}
|
|
192
201
|
></dees-input-text>
|
|
193
202
|
|
|
194
|
-
<dees-input-text
|
|
195
|
-
.label=${'ZIP Code'}
|
|
196
|
-
.value=${'10001'}
|
|
203
|
+
<dees-input-text
|
|
204
|
+
.label=${'ZIP Code'}
|
|
205
|
+
.value=${'10001'}
|
|
197
206
|
.labelPosition=${'left'}
|
|
198
207
|
></dees-input-text>
|
|
199
208
|
</div>
|
|
209
|
+
</div>
|
|
200
210
|
</dees-panel>
|
|
201
211
|
</dees-demowrapper>
|
|
202
212
|
|
|
@@ -234,24 +244,26 @@ export const demoFunc = () => html`
|
|
|
234
244
|
}
|
|
235
245
|
}}>
|
|
236
246
|
<dees-panel .title=${'Validation & States'} .subtitle=${'Different validation states and input configurations'}>
|
|
237
|
-
<
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
247
|
+
<div class="input-group">
|
|
248
|
+
<dees-input-text
|
|
249
|
+
.label=${'Required Field'}
|
|
250
|
+
.required=${true}
|
|
251
|
+
.key=${'requiredField'}
|
|
252
|
+
></dees-input-text>
|
|
253
|
+
|
|
254
|
+
<dees-input-text
|
|
255
|
+
.label=${'Disabled Field'}
|
|
256
|
+
.value=${'Cannot edit this'}
|
|
257
|
+
.disabled=${true}
|
|
258
|
+
></dees-input-text>
|
|
259
|
+
|
|
260
|
+
<dees-input-text
|
|
261
|
+
.label=${'Field with Error'}
|
|
262
|
+
.value=${'invalid@'}
|
|
263
|
+
.validationText=${'Please enter a valid email address'}
|
|
264
|
+
.validationState=${'invalid'}
|
|
265
|
+
></dees-input-text>
|
|
266
|
+
</div>
|
|
255
267
|
</dees-panel>
|
|
256
268
|
</dees-demowrapper>
|
|
257
269
|
|
|
@@ -279,19 +291,21 @@ export const demoFunc = () => html`
|
|
|
279
291
|
});
|
|
280
292
|
}}>
|
|
281
293
|
<dees-panel .title=${'Advanced Features'} .subtitle=${'Password visibility toggle and other advanced features'}>
|
|
282
|
-
<
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
294
|
+
<div class="input-group">
|
|
295
|
+
<dees-input-text
|
|
296
|
+
.label=${'Password with Toggle'}
|
|
297
|
+
.isPasswordBool=${true}
|
|
298
|
+
.value=${'mySecurePassword123'}
|
|
299
|
+
.description=${'Click the eye icon to show/hide password'}
|
|
300
|
+
></dees-input-text>
|
|
301
|
+
|
|
302
|
+
<dees-input-text
|
|
303
|
+
.label=${'API Key'}
|
|
304
|
+
.isPasswordBool=${true}
|
|
305
|
+
.value=${'sk-1234567890abcdef'}
|
|
306
|
+
.description=${'Keep this key secure and never share it'}
|
|
307
|
+
></dees-input-text>
|
|
308
|
+
</div>
|
|
295
309
|
</dees-panel>
|
|
296
310
|
</dees-demowrapper>
|
|
297
311
|
|
|
@@ -13,6 +13,12 @@ export const demoFunc = () => html`
|
|
|
13
13
|
margin: 0 auto;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
.input-group {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
gap: 16px;
|
|
20
|
+
}
|
|
21
|
+
|
|
16
22
|
.horizontal-group {
|
|
17
23
|
display: flex;
|
|
18
24
|
gap: 24px;
|
|
@@ -39,27 +45,30 @@ export const demoFunc = () => html`
|
|
|
39
45
|
|
|
40
46
|
<div class="demo-container">
|
|
41
47
|
<dees-panel .title=${'Basic Type List'} .subtitle=${'Add and remove items from a list'}>
|
|
42
|
-
<
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
<div class="input-group">
|
|
49
|
+
<dees-input-typelist
|
|
50
|
+
.label=${'Tags'}
|
|
51
|
+
.description=${'Add tags by typing and pressing Enter'}
|
|
52
|
+
.value=${['javascript', 'typescript', 'web-components']}
|
|
53
|
+
></dees-input-typelist>
|
|
54
|
+
|
|
55
|
+
<dees-input-typelist
|
|
56
|
+
.label=${'Team Members'}
|
|
57
|
+
.description=${'Add email addresses of team members'}
|
|
58
|
+
.value=${['alice@example.com', 'bob@example.com']}
|
|
59
|
+
></dees-input-typelist>
|
|
60
|
+
</div>
|
|
53
61
|
</dees-panel>
|
|
54
62
|
|
|
55
63
|
<dees-panel .title=${'Skills & Keywords'} .subtitle=${'Manage lists of skills and keywords'}>
|
|
56
|
-
<
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
64
|
+
<div class="input-group">
|
|
65
|
+
<dees-input-typelist
|
|
66
|
+
.label=${'Your Skills'}
|
|
67
|
+
.description=${'List your professional skills'}
|
|
68
|
+
.value=${['HTML', 'CSS', 'JavaScript', 'Node.js', 'React']}
|
|
69
|
+
></dees-input-typelist>
|
|
70
|
+
|
|
71
|
+
<div class="horizontal-group">
|
|
63
72
|
<dees-input-typelist
|
|
64
73
|
.label=${'Categories'}
|
|
65
74
|
.layoutMode=${'horizontal'}
|
|
@@ -72,22 +81,25 @@ export const demoFunc = () => html`
|
|
|
72
81
|
.value=${['innovation', 'startup', 'growth']}
|
|
73
82
|
></dees-input-typelist>
|
|
74
83
|
</div>
|
|
84
|
+
</div>
|
|
75
85
|
</dees-panel>
|
|
76
86
|
|
|
77
87
|
<dees-panel .title=${'Required & Disabled States'} .subtitle=${'Different input states for validation'}>
|
|
78
|
-
<
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
<div class="input-group">
|
|
89
|
+
<dees-input-typelist
|
|
90
|
+
.label=${'Project Dependencies'}
|
|
91
|
+
.description=${'List all required npm packages'}
|
|
92
|
+
.required=${true}
|
|
93
|
+
.value=${['@design.estate/dees-element', '@design.estate/dees-domtools']}
|
|
94
|
+
></dees-input-typelist>
|
|
95
|
+
|
|
96
|
+
<dees-input-typelist
|
|
97
|
+
.label=${'System Tags'}
|
|
98
|
+
.description=${'These tags are managed by the system'}
|
|
99
|
+
.disabled=${true}
|
|
100
|
+
.value=${['system', 'protected', 'readonly']}
|
|
101
|
+
></dees-input-typelist>
|
|
102
|
+
</div>
|
|
91
103
|
</dees-panel>
|
|
92
104
|
|
|
93
105
|
<dees-panel .title=${'Article Publishing Form'} .subtitle=${'Complete form with tag management'}>
|