@prioticket/design-system-web 1.0.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/COMPONENT-DOCUMENTATION.md +608 -0
- package/README.md +229 -0
- package/component-documentation.json +1681 -0
- package/dist/components/pd-button.cjs.js +99 -0
- package/dist/components/pd-button.es.js +156 -0
- package/dist/components/pd-card.cjs.js +59 -0
- package/dist/components/pd-card.es.js +93 -0
- package/dist/components/pd-checkbox.cjs.js +85 -0
- package/dist/components/pd-checkbox.es.js +154 -0
- package/dist/components/pd-chip.cjs.js +118 -0
- package/dist/components/pd-chip.es.js +220 -0
- package/dist/components/pd-dialog.cjs.js +195 -0
- package/dist/components/pd-dialog.es.js +285 -0
- package/dist/components/pd-expandable-card.cjs.js +134 -0
- package/dist/components/pd-expandable-card.es.js +205 -0
- package/dist/components/pd-fab.cjs.js +119 -0
- package/dist/components/pd-fab.es.js +179 -0
- package/dist/components/pd-icon-button.cjs.js +159 -0
- package/dist/components/pd-icon-button.es.js +268 -0
- package/dist/components/pd-icon.cjs.js +71 -0
- package/dist/components/pd-icon.es.js +102 -0
- package/dist/components/pd-list.cjs.js +108 -0
- package/dist/components/pd-list.es.js +229 -0
- package/dist/components/pd-menu-item.cjs.js +85 -0
- package/dist/components/pd-menu-item.es.js +156 -0
- package/dist/components/pd-menu.cjs.js +42 -0
- package/dist/components/pd-menu.es.js +122 -0
- package/dist/components/pd-progress.cjs.js +72 -0
- package/dist/components/pd-progress.es.js +119 -0
- package/dist/components/pd-radio.cjs.js +38 -0
- package/dist/components/pd-radio.es.js +153 -0
- package/dist/components/pd-segmented-button.cjs.js +135 -0
- package/dist/components/pd-segmented-button.es.js +234 -0
- package/dist/components/pd-segmented-stepper.cjs.js +191 -0
- package/dist/components/pd-segmented-stepper.es.js +333 -0
- package/dist/components/pd-select.cjs.js +59 -0
- package/dist/components/pd-select.es.js +136 -0
- package/dist/components/pd-slider.cjs.js +42 -0
- package/dist/components/pd-slider.es.js +123 -0
- package/dist/components/pd-stepper.cjs.js +279 -0
- package/dist/components/pd-stepper.es.js +375 -0
- package/dist/components/pd-switch.cjs.js +57 -0
- package/dist/components/pd-switch.es.js +126 -0
- package/dist/components/pd-tabs.cjs.js +32 -0
- package/dist/components/pd-tabs.es.js +139 -0
- package/dist/components/pd-text-field.cjs.js +86 -0
- package/dist/components/pd-text-field.es.js +202 -0
- package/dist/design-system-web.css +1 -0
- package/dist/fonts/ProximaNova-Bold.woff2 +0 -0
- package/dist/fonts/ProximaNova-Extrabld.woff2 +0 -0
- package/dist/fonts/ProximaNova-Light.woff2 +0 -0
- package/dist/fonts/ProximaNova-Medium.woff2 +0 -0
- package/dist/fonts/ProximaNova-Regular.woff2 +0 -0
- package/dist/fonts/ProximaNova-Semibold.woff2 +0 -0
- package/dist/fonts/ProximaNovaCond-Semibold.woff2 +0 -0
- package/dist/fonts-only.css +59 -0
- package/dist/fonts.cjs.js +1 -0
- package/dist/fonts.es.js +1 -0
- package/dist/prioticket-design-system-web.cjs.js +1 -0
- package/dist/prioticket-design-system-web.es.js +52 -0
- package/dist/theme-only.css +311 -0
- package/dist/theme-with-fonts.cjs.js +1 -0
- package/dist/theme-with-fonts.css +372 -0
- package/dist/theme-with-fonts.es.js +2 -0
- package/dist/theme.cjs.js +1 -0
- package/dist/theme.es.js +1 -0
- package/dist/types/components/pd-button.d.ts +30 -0
- package/dist/types/components/pd-card.d.ts +8 -0
- package/dist/types/components/pd-checkbox.d.ts +16 -0
- package/dist/types/components/pd-chip.d.ts +26 -0
- package/dist/types/components/pd-dialog.d.ts +49 -0
- package/dist/types/components/pd-expandable-card.d.ts +39 -0
- package/dist/types/components/pd-fab.d.ts +17 -0
- package/dist/types/components/pd-icon-button.d.ts +24 -0
- package/dist/types/components/pd-icon.d.ts +9 -0
- package/dist/types/components/pd-list.d.ts +36 -0
- package/dist/types/components/pd-menu-item.d.ts +38 -0
- package/dist/types/components/pd-menu.d.ts +58 -0
- package/dist/types/components/pd-progress.d.ts +30 -0
- package/dist/types/components/pd-radio.d.ts +54 -0
- package/dist/types/components/pd-segmented-button.d.ts +53 -0
- package/dist/types/components/pd-segmented-stepper.d.ts +65 -0
- package/dist/types/components/pd-select.d.ts +46 -0
- package/dist/types/components/pd-slider.d.ts +43 -0
- package/dist/types/components/pd-stepper.d.ts +47 -0
- package/dist/types/components/pd-switch.d.ts +37 -0
- package/dist/types/components/pd-tabs.d.ts +54 -0
- package/dist/types/components/pd-text-field.d.ts +30 -0
- package/dist/types/fonts.d.ts +1 -0
- package/dist/types/index.d.ts +22 -0
- package/dist/types/theme-with-fonts.d.ts +2 -0
- package/dist/types/theme.d.ts +1 -0
- package/package.json +93 -0
|
@@ -0,0 +1,608 @@
|
|
|
1
|
+
# Prioticket Design System Web Components
|
|
2
|
+
|
|
3
|
+
## Installation
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npm install @prioticket/design-system-web
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## NPM Registry Configuration
|
|
10
|
+
|
|
11
|
+
```ini
|
|
12
|
+
@prioticket:registry=https://gitlab.prioticket.dev/api/v4/projects/193/packages/npm/
|
|
13
|
+
//gitlab.prioticket.dev/api/v4/projects/193/packages/npm/:_authToken=TcG8u2Ryebr6v3x3D19y
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { PdButton, PdCard, PdTextField } from '@prioticket/design-system-web';
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Components
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### src\components\pd-text-field
|
|
26
|
+
|
|
27
|
+
**Tag:** `<src\components\text-field>`
|
|
28
|
+
|
|
29
|
+
Component description not available
|
|
30
|
+
|
|
31
|
+
#### Properties
|
|
32
|
+
- `variant`: 'filled' | 'outlined'
|
|
33
|
+
- `label`: any
|
|
34
|
+
- `placeholder`: any
|
|
35
|
+
- `value`: any
|
|
36
|
+
- `supportingText`: any
|
|
37
|
+
- `errorText`: any
|
|
38
|
+
- `prefixText`: any
|
|
39
|
+
- `suffixText`: any
|
|
40
|
+
- `disabled`: any
|
|
41
|
+
- `readonly`: any
|
|
42
|
+
- `required`: any
|
|
43
|
+
- `error`: any
|
|
44
|
+
- `type`: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url' | 'search' | 'textarea'
|
|
45
|
+
- `rows`: any
|
|
46
|
+
- `cols`: any
|
|
47
|
+
- `leadingIcon`: any
|
|
48
|
+
- `trailingIcon`: any
|
|
49
|
+
- `maxlength`: any
|
|
50
|
+
- `minlength`: any
|
|
51
|
+
|
|
52
|
+
#### Events
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
#### Example
|
|
56
|
+
```html
|
|
57
|
+
<src\components\pd-text-field></src\components\pd-text-field>
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
### src\components\pd-tabs
|
|
62
|
+
|
|
63
|
+
**Tag:** `<src\components\tabs>`
|
|
64
|
+
|
|
65
|
+
Component description not available
|
|
66
|
+
|
|
67
|
+
#### Properties
|
|
68
|
+
- `activeTabIndex`: any
|
|
69
|
+
- `autoActivate`: any
|
|
70
|
+
- `tabs`: TabData[]
|
|
71
|
+
- `secondary`: any
|
|
72
|
+
- `inlineIcon`: any
|
|
73
|
+
- `icon`: any
|
|
74
|
+
- `ariaLabel`: any
|
|
75
|
+
|
|
76
|
+
#### Events
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
#### Example
|
|
80
|
+
```html
|
|
81
|
+
<src\components\pd-tabs></src\components\pd-tabs>
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
### src\components\pd-switch
|
|
86
|
+
|
|
87
|
+
**Tag:** `<src\components\switch>`
|
|
88
|
+
|
|
89
|
+
Component description not available
|
|
90
|
+
|
|
91
|
+
#### Properties
|
|
92
|
+
- `selected`: any
|
|
93
|
+
- `disabled`: any
|
|
94
|
+
- `selectedIcon`: any
|
|
95
|
+
- `unselectedIcon`: any
|
|
96
|
+
- `showOnlySelectedIcon`: any
|
|
97
|
+
- `name`: any
|
|
98
|
+
- `value`: any
|
|
99
|
+
- `ariaLabel`: any
|
|
100
|
+
- `required`: any
|
|
101
|
+
|
|
102
|
+
#### Events
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
#### Example
|
|
106
|
+
```html
|
|
107
|
+
<src\components\pd-switch></src\components\pd-switch>
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
### src\components\pd-stepper
|
|
112
|
+
|
|
113
|
+
**Tag:** `<src\components\stepper>`
|
|
114
|
+
|
|
115
|
+
Component description not available
|
|
116
|
+
|
|
117
|
+
#### Properties
|
|
118
|
+
- `steps`: StepData[]
|
|
119
|
+
- `currentStep`: any
|
|
120
|
+
- `orientation`: 'horizontal' | 'vertical'
|
|
121
|
+
- `linear`: any
|
|
122
|
+
- `showContent`: any
|
|
123
|
+
- `alternativeLabel`: any
|
|
124
|
+
|
|
125
|
+
#### Events
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
#### Example
|
|
129
|
+
```html
|
|
130
|
+
<src\components\pd-stepper></src\components\pd-stepper>
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
### src\components\pd-slider
|
|
135
|
+
|
|
136
|
+
**Tag:** `<src\components\slider>`
|
|
137
|
+
|
|
138
|
+
Component description not available
|
|
139
|
+
|
|
140
|
+
#### Properties
|
|
141
|
+
- `disabled`: any
|
|
142
|
+
- `min`: any
|
|
143
|
+
- `max`: any
|
|
144
|
+
- `value`: any
|
|
145
|
+
- `step`: any
|
|
146
|
+
- `ticks`: any
|
|
147
|
+
- `labeled`: any
|
|
148
|
+
- `valueIndicator`: any
|
|
149
|
+
- `valueStart`: any
|
|
150
|
+
- `valueEnd`: any
|
|
151
|
+
- `ariaLabel`: any
|
|
152
|
+
- `ariaLabelStart`: any
|
|
153
|
+
- `ariaLabelEnd`: any
|
|
154
|
+
|
|
155
|
+
#### Events
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
#### Example
|
|
159
|
+
```html
|
|
160
|
+
<src\components\pd-slider></src\components\pd-slider>
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
### src\components\pd-select
|
|
165
|
+
|
|
166
|
+
**Tag:** `<src\components\select>`
|
|
167
|
+
|
|
168
|
+
Component description not available
|
|
169
|
+
|
|
170
|
+
#### Properties
|
|
171
|
+
- `variant`: 'filled' | 'outlined'
|
|
172
|
+
- `label`: any
|
|
173
|
+
- `value`: any
|
|
174
|
+
- `disabled`: any
|
|
175
|
+
- `required`: any
|
|
176
|
+
- `errorText`: any
|
|
177
|
+
- `error`: any
|
|
178
|
+
- `supportingText`: any
|
|
179
|
+
- `options`: SelectOption[]
|
|
180
|
+
- `leadingIcon`: any
|
|
181
|
+
|
|
182
|
+
#### Events
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
#### Example
|
|
186
|
+
```html
|
|
187
|
+
<src\components\pd-select></src\components\pd-select>
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
### src\components\pd-segmented-stepper
|
|
192
|
+
|
|
193
|
+
**Tag:** `<src\components\segmented-stepper>`
|
|
194
|
+
|
|
195
|
+
Component description not available
|
|
196
|
+
|
|
197
|
+
#### Properties
|
|
198
|
+
- `activeStep`: any
|
|
199
|
+
- `completedSteps`: number[]
|
|
200
|
+
- `size`: 'small' | 'medium' | 'large'
|
|
201
|
+
- `disabled`: any
|
|
202
|
+
- `allowStepNavigation`: any
|
|
203
|
+
- `stepNumber`: any
|
|
204
|
+
- `state`: 'pending' | 'active' | 'completed' | 'disabled'
|
|
205
|
+
- `disabled`: any
|
|
206
|
+
- `clickable`: any
|
|
207
|
+
- `icon`: any
|
|
208
|
+
|
|
209
|
+
#### Events
|
|
210
|
+
- `stepchange`: Fired when the active step changes.
|
|
211
|
+
- `stepcomplete`: Fired when a step is marked as completed.
|
|
212
|
+
|
|
213
|
+
#### Example
|
|
214
|
+
```html
|
|
215
|
+
<src\components\pd-segmented-stepper></src\components\pd-segmented-stepper>
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
### src\components\pd-segmented-button
|
|
220
|
+
|
|
221
|
+
**Tag:** `<src\components\segmented-button>`
|
|
222
|
+
|
|
223
|
+
Component description not available
|
|
224
|
+
|
|
225
|
+
#### Properties
|
|
226
|
+
- `multiSelect`: any
|
|
227
|
+
- `size`: 'small' | 'medium' | 'large'
|
|
228
|
+
- `disabled`: any
|
|
229
|
+
- `selectedValues`: string[]
|
|
230
|
+
- `value`: any
|
|
231
|
+
- `selected`: any
|
|
232
|
+
- `disabled`: any
|
|
233
|
+
- `icon`: any
|
|
234
|
+
- `iconOnly`: any
|
|
235
|
+
|
|
236
|
+
#### Events
|
|
237
|
+
- `selectionchange`: Fired when the selection changes.
|
|
238
|
+
|
|
239
|
+
#### Example
|
|
240
|
+
```html
|
|
241
|
+
<src\components\pd-segmented-button></src\components\pd-segmented-button>
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
### src\components\pd-radio
|
|
246
|
+
|
|
247
|
+
**Tag:** `<src\components\radio>`
|
|
248
|
+
|
|
249
|
+
Component description not available
|
|
250
|
+
|
|
251
|
+
#### Properties
|
|
252
|
+
- `checked`: any
|
|
253
|
+
- `disabled`: any
|
|
254
|
+
- `name`: any
|
|
255
|
+
- `value`: any
|
|
256
|
+
- `ariaLabel`: any
|
|
257
|
+
- `ariaDescribedby`: any
|
|
258
|
+
- `required`: any
|
|
259
|
+
- `name`: any
|
|
260
|
+
- `value`: any
|
|
261
|
+
- `disabled`: any
|
|
262
|
+
- `required`: any
|
|
263
|
+
- `ariaLabel`: any
|
|
264
|
+
- `ariaLabelledby`: any
|
|
265
|
+
|
|
266
|
+
#### Events
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
#### Example
|
|
270
|
+
```html
|
|
271
|
+
<src\components\pd-radio></src\components\pd-radio>
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
### src\components\pd-progress
|
|
276
|
+
|
|
277
|
+
**Tag:** `<src\components\progress>`
|
|
278
|
+
|
|
279
|
+
Component description not available
|
|
280
|
+
|
|
281
|
+
#### Properties
|
|
282
|
+
- `type`: 'linear' | 'circular'
|
|
283
|
+
- `value`: any
|
|
284
|
+
- `max`: any
|
|
285
|
+
- `buffer`: any
|
|
286
|
+
- `indeterminate`: any
|
|
287
|
+
- `visible`: any
|
|
288
|
+
- `size`: 'small' | 'medium' | 'large'
|
|
289
|
+
- `ariaLabel`: any
|
|
290
|
+
|
|
291
|
+
#### Events
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
#### Example
|
|
295
|
+
```html
|
|
296
|
+
<src\components\pd-progress></src\components\pd-progress>
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
### src\components\pd-menu
|
|
301
|
+
|
|
302
|
+
**Tag:** `<src\components\menu>`
|
|
303
|
+
|
|
304
|
+
Component description not available
|
|
305
|
+
|
|
306
|
+
#### Properties
|
|
307
|
+
- `anchor`: any
|
|
308
|
+
- `anchorElement`: any
|
|
309
|
+
- `open`: any
|
|
310
|
+
- `positioning`: 'absolute' | 'fixed' | 'document' | 'popover'
|
|
311
|
+
- `anchorCorner`: 'end-start' | 'end-end' | 'start-start' | 'start-end'
|
|
312
|
+
- `menuCorner`: 'end-start' | 'end-end' | 'start-start' | 'start-end'
|
|
313
|
+
- `quick`: any
|
|
314
|
+
- `hasOverflow`: any
|
|
315
|
+
- `xOffset`: any
|
|
316
|
+
- `yOffset`: any
|
|
317
|
+
- `defaultFocus`: 'none' | 'list-root' | 'first-item' | 'last-item'
|
|
318
|
+
- `stayOpenOnFocusout`: any
|
|
319
|
+
- `stayOpenOnOutsideClick`: any
|
|
320
|
+
- `skipRestoreFocus`: any
|
|
321
|
+
|
|
322
|
+
#### Events
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
#### Example
|
|
326
|
+
```html
|
|
327
|
+
<src\components\pd-menu></src\components\pd-menu>
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
### src\components\pd-menu-item
|
|
332
|
+
|
|
333
|
+
**Tag:** `<src\components\menu-item>`
|
|
334
|
+
|
|
335
|
+
Component description not available
|
|
336
|
+
|
|
337
|
+
#### Properties
|
|
338
|
+
- `disabled`: any
|
|
339
|
+
- `type`: 'menuitem' | 'option' | 'button'
|
|
340
|
+
- `href`: any
|
|
341
|
+
- `target`: any
|
|
342
|
+
- `keepOpen`: any
|
|
343
|
+
- `selected`: any
|
|
344
|
+
- `leadingIcon`: any
|
|
345
|
+
- `trailingIcon`: any
|
|
346
|
+
- `text`: any
|
|
347
|
+
- `supportingText`: any
|
|
348
|
+
|
|
349
|
+
#### Events
|
|
350
|
+
- `close`: menu - Fired when the menu should be closed (usually on selection)
|
|
351
|
+
|
|
352
|
+
#### Example
|
|
353
|
+
```html
|
|
354
|
+
<src\components\pd-menu-item></src\components\pd-menu-item>
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
### src\components\pd-list
|
|
359
|
+
|
|
360
|
+
**Tag:** `<src\components\list>`
|
|
361
|
+
|
|
362
|
+
Component description not available
|
|
363
|
+
|
|
364
|
+
#### Properties
|
|
365
|
+
- `role`: any
|
|
366
|
+
- `tabindex`: any
|
|
367
|
+
- `type`: 'text' | 'link' | 'button'
|
|
368
|
+
- `headline`: any
|
|
369
|
+
- `supportingText`: any
|
|
370
|
+
- `trailingSupportingText`: any
|
|
371
|
+
- `href`: any
|
|
372
|
+
- `target`: any
|
|
373
|
+
- `disabled`: any
|
|
374
|
+
- `icon`: any
|
|
375
|
+
- `trailingIcon`: any
|
|
376
|
+
- `avatar`: any
|
|
377
|
+
- `image`: any
|
|
378
|
+
- `tabindex`: any
|
|
379
|
+
- `inset`: any
|
|
380
|
+
- `role`: any
|
|
381
|
+
|
|
382
|
+
#### Events
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
#### Example
|
|
386
|
+
```html
|
|
387
|
+
<src\components\pd-list></src\components\pd-list>
|
|
388
|
+
```
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
### src\components\pd-icon
|
|
392
|
+
|
|
393
|
+
**Tag:** `<src\components\icon>`
|
|
394
|
+
|
|
395
|
+
Component description not available
|
|
396
|
+
|
|
397
|
+
#### Properties
|
|
398
|
+
- `name`: any
|
|
399
|
+
- `size`: 'small' | 'medium' | 'large'
|
|
400
|
+
- `variant`: 'filled' | 'outlined' | 'round' | 'sharp' | 'two-tone'
|
|
401
|
+
|
|
402
|
+
#### Events
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
#### Example
|
|
406
|
+
```html
|
|
407
|
+
<src\components\pd-icon></src\components\pd-icon>
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
### src\components\pd-icon-button
|
|
412
|
+
|
|
413
|
+
**Tag:** `<src\components\icon-button>`
|
|
414
|
+
|
|
415
|
+
Component description not available
|
|
416
|
+
|
|
417
|
+
#### Properties
|
|
418
|
+
- `variant`: 'standard' | 'filled' | 'tonal' | 'outlined'
|
|
419
|
+
- `icon`: any
|
|
420
|
+
- `selectedIcon`: any
|
|
421
|
+
- `disabled`: any
|
|
422
|
+
- `toggle`: any
|
|
423
|
+
- `selected`: any
|
|
424
|
+
- `href`: any
|
|
425
|
+
- `target`: any
|
|
426
|
+
- `ariaLabel`: any
|
|
427
|
+
- `ariaLabelSelected`: any
|
|
428
|
+
|
|
429
|
+
#### Events
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
#### Example
|
|
433
|
+
```html
|
|
434
|
+
<src\components\pd-icon-button></src\components\pd-icon-button>
|
|
435
|
+
```
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
### src\components\pd-fab
|
|
439
|
+
|
|
440
|
+
**Tag:** `<src\components\fab>`
|
|
441
|
+
|
|
442
|
+
Component description not available
|
|
443
|
+
|
|
444
|
+
#### Properties
|
|
445
|
+
- `variant`: 'surface' | 'primary' | 'secondary' | 'tertiary' | 'branded'
|
|
446
|
+
- `size`: 'small' | 'medium' | 'large'
|
|
447
|
+
- `icon`: any
|
|
448
|
+
- `label`: any
|
|
449
|
+
- `lowered`: any
|
|
450
|
+
- `disabled`: any
|
|
451
|
+
- `ariaLabel`: any
|
|
452
|
+
|
|
453
|
+
#### Events
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
#### Example
|
|
457
|
+
```html
|
|
458
|
+
<src\components\pd-fab></src\components\pd-fab>
|
|
459
|
+
```
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
### src\components\pd-expandable-card
|
|
463
|
+
|
|
464
|
+
**Tag:** `<src\components\expandable-card>`
|
|
465
|
+
|
|
466
|
+
Component description not available
|
|
467
|
+
|
|
468
|
+
#### Properties
|
|
469
|
+
- `variant`: 'elevated' | 'filled' | 'outlined'
|
|
470
|
+
- `expanded`: any
|
|
471
|
+
- `expandIcon`: any
|
|
472
|
+
- `collapseIcon`: any
|
|
473
|
+
- `headerClickable`: any
|
|
474
|
+
|
|
475
|
+
#### Events
|
|
476
|
+
- `expand`: Fired when the card is expanded
|
|
477
|
+
- `collapse`: Fired when the card is collapsed
|
|
478
|
+
|
|
479
|
+
#### Example
|
|
480
|
+
```html
|
|
481
|
+
<src\components\pd-expandable-card></src\components\pd-expandable-card>
|
|
482
|
+
```
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
### src\components\pd-dialog
|
|
486
|
+
|
|
487
|
+
**Tag:** `<src\components\dialog>`
|
|
488
|
+
|
|
489
|
+
Component description not available
|
|
490
|
+
|
|
491
|
+
#### Properties
|
|
492
|
+
- `open`: any
|
|
493
|
+
- `size`: 'small' | 'medium' | 'large' | 'fullscreen'
|
|
494
|
+
- `variant`: 'alert' | 'confirm' | 'form' | 'custom'
|
|
495
|
+
- `headline`: any
|
|
496
|
+
- `primaryAction`: any
|
|
497
|
+
- `secondaryAction`: any
|
|
498
|
+
- `closableByBackdrop`: any
|
|
499
|
+
- `showCloseButton`: any
|
|
500
|
+
|
|
501
|
+
#### Events
|
|
502
|
+
- `open`: Fired when the dialog is opened.
|
|
503
|
+
- `closed`: Fired when the dialog is closed.
|
|
504
|
+
|
|
505
|
+
#### Example
|
|
506
|
+
```html
|
|
507
|
+
<src\components\pd-dialog></src\components\pd-dialog>
|
|
508
|
+
```
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
### src\components\pd-chip
|
|
512
|
+
|
|
513
|
+
**Tag:** `<src\components\chip>`
|
|
514
|
+
|
|
515
|
+
Component description not available
|
|
516
|
+
|
|
517
|
+
#### Properties
|
|
518
|
+
- `variant`: 'assist' | 'filter' | 'input' | 'suggestion'
|
|
519
|
+
- `label`: any
|
|
520
|
+
- `disabled`: any
|
|
521
|
+
- `alwaysFocusable`: any
|
|
522
|
+
- `hasIcon`: any
|
|
523
|
+
- `icon`: any
|
|
524
|
+
- `selected`: any
|
|
525
|
+
- `removable`: any
|
|
526
|
+
- `elevated`: any
|
|
527
|
+
- `href`: any
|
|
528
|
+
- `target`: any
|
|
529
|
+
- `avatar`: any
|
|
530
|
+
- `removeOnly`: any
|
|
531
|
+
|
|
532
|
+
#### Events
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
#### Example
|
|
536
|
+
```html
|
|
537
|
+
<src\components\pd-chip></src\components\pd-chip>
|
|
538
|
+
```
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
### src\components\pd-checkbox
|
|
542
|
+
|
|
543
|
+
**Tag:** `<src\components\checkbox>`
|
|
544
|
+
|
|
545
|
+
Component description not available
|
|
546
|
+
|
|
547
|
+
#### Properties
|
|
548
|
+
- `checked`: any
|
|
549
|
+
- `indeterminate`: any
|
|
550
|
+
- `disabled`: any
|
|
551
|
+
- `required`: any
|
|
552
|
+
- `value`: any
|
|
553
|
+
- `name`: any
|
|
554
|
+
- `label`: any
|
|
555
|
+
- `touchTarget`: any
|
|
556
|
+
|
|
557
|
+
#### Events
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
#### Example
|
|
561
|
+
```html
|
|
562
|
+
<src\components\pd-checkbox></src\components\pd-checkbox>
|
|
563
|
+
```
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
### src\components\pd-card
|
|
567
|
+
|
|
568
|
+
**Tag:** `<src\components\card>`
|
|
569
|
+
|
|
570
|
+
Component description not available
|
|
571
|
+
|
|
572
|
+
#### Properties
|
|
573
|
+
- `variant`: 'elevated' | 'filled' | 'outlined'
|
|
574
|
+
- `clickable`: any
|
|
575
|
+
|
|
576
|
+
#### Events
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
#### Example
|
|
580
|
+
```html
|
|
581
|
+
<src\components\pd-card></src\components\pd-card>
|
|
582
|
+
```
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
### src\components\pd-button
|
|
586
|
+
|
|
587
|
+
**Tag:** `<src\components\button>`
|
|
588
|
+
|
|
589
|
+
Component description not available
|
|
590
|
+
|
|
591
|
+
#### Properties
|
|
592
|
+
- `variant`: 'filled' | 'outlined' | 'text' | 'elevated' | 'tonal'
|
|
593
|
+
- `size`: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge'
|
|
594
|
+
- `icon`: any
|
|
595
|
+
- `iconTrailing`: any
|
|
596
|
+
- `disabled`: any
|
|
597
|
+
|
|
598
|
+
#### Events
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
#### Example
|
|
602
|
+
```html
|
|
603
|
+
<src\components\pd-button></src\components\pd-button>
|
|
604
|
+
```
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
## Storybook
|
|
608
|
+
View interactive documentation: https://68af3f22b44ad2acc02b3370-smrhgwrsuh.chromatic.com/
|