@umbraco-ui/uui 0.1.3 → 0.2.2
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/custom-elements.json +827 -25
- package/dist/uui.min.js +38 -34
- package/dist/uui.min.js.map +1 -1
- package/lib/index.d.ts +72 -64
- package/lib/index.js +72 -64
- package/package.json +73 -66
package/custom-elements.json
CHANGED
|
@@ -396,7 +396,7 @@
|
|
|
396
396
|
"attributes": [
|
|
397
397
|
{
|
|
398
398
|
"name": "type",
|
|
399
|
-
"description": "Specifies the type of button
|
|
399
|
+
"description": "Specifies the type of button",
|
|
400
400
|
"type": " \"submit\" | \"button\" | \"reset\" ",
|
|
401
401
|
"default": "\"\\\"button\\\"\""
|
|
402
402
|
},
|
|
@@ -421,8 +421,50 @@
|
|
|
421
421
|
{
|
|
422
422
|
"name": "state",
|
|
423
423
|
"description": "Sets the state of the button. With waiting state a loader will show, the success state and fail states display icons. State is reset do default automatically after 3 seconds.",
|
|
424
|
-
"type": "
|
|
425
|
-
"default": "\"
|
|
424
|
+
"type": "undefined |'waiting' | 'success' | 'failed'",
|
|
425
|
+
"default": "\"undefined\""
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"name": "name",
|
|
429
|
+
"description": "This is a name property of the component.",
|
|
430
|
+
"type": "string",
|
|
431
|
+
"default": "\"''\""
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"name": "value",
|
|
435
|
+
"description": "Value of this form control.",
|
|
436
|
+
"type": "string",
|
|
437
|
+
"default": "\"''\""
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"name": "pristine",
|
|
441
|
+
"description": "Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.",
|
|
442
|
+
"type": "boolean",
|
|
443
|
+
"default": "\"false\""
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"name": "required",
|
|
447
|
+
"description": "Apply validation rule for requiring a value of this form control.",
|
|
448
|
+
"type": "boolean",
|
|
449
|
+
"default": "\"false\""
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"name": "required-message",
|
|
453
|
+
"description": "Required validation message.",
|
|
454
|
+
"type": "string",
|
|
455
|
+
"default": "\"This field is required\""
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"name": "error",
|
|
459
|
+
"description": "Apply custom error on this input.",
|
|
460
|
+
"type": "boolean",
|
|
461
|
+
"default": "false"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"name": "error-message",
|
|
465
|
+
"description": "Custom error message.",
|
|
466
|
+
"type": "string",
|
|
467
|
+
"default": "\"This field is invalid\""
|
|
426
468
|
},
|
|
427
469
|
{
|
|
428
470
|
"name": "label",
|
|
@@ -439,7 +481,7 @@
|
|
|
439
481
|
{
|
|
440
482
|
"name": "type",
|
|
441
483
|
"attribute": "type",
|
|
442
|
-
"description": "Specifies the type of button
|
|
484
|
+
"description": "Specifies the type of button",
|
|
443
485
|
"type": " \"submit\" | \"button\" | \"reset\" ",
|
|
444
486
|
"default": "\"\\\"button\\\"\""
|
|
445
487
|
},
|
|
@@ -468,15 +510,71 @@
|
|
|
468
510
|
"name": "state",
|
|
469
511
|
"attribute": "state",
|
|
470
512
|
"description": "Sets the state of the button. With waiting state a loader will show, the success state and fail states display icons. State is reset do default automatically after 3 seconds.",
|
|
471
|
-
"type": "
|
|
472
|
-
"default": "\"
|
|
513
|
+
"type": "undefined |'waiting' | 'success' | 'failed'",
|
|
514
|
+
"default": "\"undefined\""
|
|
473
515
|
},
|
|
474
516
|
{
|
|
475
517
|
"name": "formAssociated",
|
|
476
|
-
"description": "This is a static class field indicating that the element is can be used inside a native form and participate in its events
|
|
518
|
+
"description": "This is a static class field indicating that the element is can be used inside a native form and participate in its events.\nIt may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals.\nRead more about form controls here https://web.dev/more-capable-form-controls/",
|
|
477
519
|
"type": "boolean",
|
|
478
520
|
"default": "true"
|
|
479
521
|
},
|
|
522
|
+
{
|
|
523
|
+
"name": "name",
|
|
524
|
+
"attribute": "name",
|
|
525
|
+
"description": "This is a name property of the component.",
|
|
526
|
+
"type": "string",
|
|
527
|
+
"default": "\"''\""
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"name": "value",
|
|
531
|
+
"attribute": "value",
|
|
532
|
+
"description": "Value of this form control.",
|
|
533
|
+
"type": "string",
|
|
534
|
+
"default": "\"''\""
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"name": "pristine",
|
|
538
|
+
"attribute": "pristine",
|
|
539
|
+
"description": "Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.",
|
|
540
|
+
"type": "boolean",
|
|
541
|
+
"default": "\"false\""
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"name": "required",
|
|
545
|
+
"attribute": "required",
|
|
546
|
+
"description": "Apply validation rule for requiring a value of this form control.",
|
|
547
|
+
"type": "boolean",
|
|
548
|
+
"default": "\"false\""
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"name": "requiredMessage",
|
|
552
|
+
"attribute": "required-message",
|
|
553
|
+
"description": "Required validation message.",
|
|
554
|
+
"type": "string",
|
|
555
|
+
"default": "\"This field is required\""
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"name": "error",
|
|
559
|
+
"attribute": "error",
|
|
560
|
+
"description": "Apply custom error on this input.",
|
|
561
|
+
"type": "boolean",
|
|
562
|
+
"default": "false"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"name": "errorMessage",
|
|
566
|
+
"attribute": "error-message",
|
|
567
|
+
"description": "Custom error message.",
|
|
568
|
+
"type": "string",
|
|
569
|
+
"default": "\"This field is invalid\""
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"name": "validity",
|
|
573
|
+
"type": "ValidityState"
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"name": "validationMessage"
|
|
577
|
+
},
|
|
480
578
|
{
|
|
481
579
|
"name": "label",
|
|
482
580
|
"attribute": "label",
|
|
@@ -1191,6 +1289,10 @@
|
|
|
1191
1289
|
"type": "string",
|
|
1192
1290
|
"default": "\"This field is invalid\""
|
|
1193
1291
|
},
|
|
1292
|
+
{
|
|
1293
|
+
"name": "validity",
|
|
1294
|
+
"type": "ValidityState"
|
|
1295
|
+
},
|
|
1194
1296
|
{
|
|
1195
1297
|
"name": "validationMessage"
|
|
1196
1298
|
},
|
|
@@ -1220,6 +1322,344 @@
|
|
|
1220
1322
|
}
|
|
1221
1323
|
]
|
|
1222
1324
|
},
|
|
1325
|
+
{
|
|
1326
|
+
"name": "uui-combobox-list-option",
|
|
1327
|
+
"path": "./../uui-combobox-list/lib/uui-combobox-list-option.element.ts",
|
|
1328
|
+
"attributes": [
|
|
1329
|
+
{
|
|
1330
|
+
"name": "value",
|
|
1331
|
+
"description": "Value of the option.",
|
|
1332
|
+
"type": " string ",
|
|
1333
|
+
"default": "\"\\\"\\\"\""
|
|
1334
|
+
},
|
|
1335
|
+
{
|
|
1336
|
+
"name": "display-value",
|
|
1337
|
+
"description": "A readable value.",
|
|
1338
|
+
"type": " string ",
|
|
1339
|
+
"default": "\"\\\"\\\"\""
|
|
1340
|
+
},
|
|
1341
|
+
{
|
|
1342
|
+
"name": "disabled",
|
|
1343
|
+
"description": "Determines if the options is disabled. If true the option can't be selected",
|
|
1344
|
+
"type": " boolean ",
|
|
1345
|
+
"default": "\"false\""
|
|
1346
|
+
},
|
|
1347
|
+
{
|
|
1348
|
+
"name": "selectable",
|
|
1349
|
+
"description": "Enable the ability to select this element.",
|
|
1350
|
+
"type": "boolean",
|
|
1351
|
+
"default": "true"
|
|
1352
|
+
},
|
|
1353
|
+
{
|
|
1354
|
+
"name": "selected",
|
|
1355
|
+
"description": "Attribute applied when the element is selected.",
|
|
1356
|
+
"type": "boolean",
|
|
1357
|
+
"default": "false"
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
"name": "active",
|
|
1361
|
+
"description": "Set this boolean to true for then the related composition is sorted.",
|
|
1362
|
+
"type": "boolean",
|
|
1363
|
+
"default": "false"
|
|
1364
|
+
}
|
|
1365
|
+
],
|
|
1366
|
+
"properties": [
|
|
1367
|
+
{
|
|
1368
|
+
"name": "styles",
|
|
1369
|
+
"type": "CSSResult[]",
|
|
1370
|
+
"default": "[null]"
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
"name": "value",
|
|
1374
|
+
"attribute": "value",
|
|
1375
|
+
"description": "Value of the option.",
|
|
1376
|
+
"type": " string ",
|
|
1377
|
+
"default": "\"\\\"\\\"\""
|
|
1378
|
+
},
|
|
1379
|
+
{
|
|
1380
|
+
"name": "displayValue",
|
|
1381
|
+
"attribute": "display-value",
|
|
1382
|
+
"description": "A readable value.",
|
|
1383
|
+
"type": " string ",
|
|
1384
|
+
"default": "\"\\\"\\\"\""
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
"name": "disabled",
|
|
1388
|
+
"attribute": "disabled",
|
|
1389
|
+
"description": "Determines if the options is disabled. If true the option can't be selected",
|
|
1390
|
+
"type": " boolean ",
|
|
1391
|
+
"default": "\"false\""
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
"name": "selectable",
|
|
1395
|
+
"attribute": "selectable",
|
|
1396
|
+
"description": "Enable the ability to select this element.",
|
|
1397
|
+
"type": "boolean",
|
|
1398
|
+
"default": "true"
|
|
1399
|
+
},
|
|
1400
|
+
{
|
|
1401
|
+
"name": "selected",
|
|
1402
|
+
"attribute": "selected",
|
|
1403
|
+
"description": "Attribute applied when the element is selected.",
|
|
1404
|
+
"type": "boolean",
|
|
1405
|
+
"default": "false"
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
"name": "active",
|
|
1409
|
+
"attribute": "active",
|
|
1410
|
+
"description": "Set this boolean to true for then the related composition is sorted.",
|
|
1411
|
+
"type": "boolean",
|
|
1412
|
+
"default": "false"
|
|
1413
|
+
}
|
|
1414
|
+
],
|
|
1415
|
+
"events": [
|
|
1416
|
+
{
|
|
1417
|
+
"name": "selected",
|
|
1418
|
+
"description": "fires when the media card is selected"
|
|
1419
|
+
},
|
|
1420
|
+
{
|
|
1421
|
+
"name": "unselected",
|
|
1422
|
+
"description": "fires when the media card is unselected"
|
|
1423
|
+
}
|
|
1424
|
+
],
|
|
1425
|
+
"slots": [
|
|
1426
|
+
{
|
|
1427
|
+
"name": "default",
|
|
1428
|
+
"description": "For option content"
|
|
1429
|
+
}
|
|
1430
|
+
]
|
|
1431
|
+
},
|
|
1432
|
+
{
|
|
1433
|
+
"name": "uui-combobox-list",
|
|
1434
|
+
"path": "./../uui-combobox-list/lib/uui-combobox-list.element.ts",
|
|
1435
|
+
"attributes": [
|
|
1436
|
+
{
|
|
1437
|
+
"name": "value",
|
|
1438
|
+
"description": "Value of selected option.",
|
|
1439
|
+
"type": " string ",
|
|
1440
|
+
"default": "\"\\\"\\\"\""
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
"name": "displayValue",
|
|
1444
|
+
"description": "A readable value to display to show the selected value.",
|
|
1445
|
+
"type": " string ",
|
|
1446
|
+
"default": "\"\\\"\\\"\""
|
|
1447
|
+
},
|
|
1448
|
+
{
|
|
1449
|
+
"name": "for",
|
|
1450
|
+
"description": "provide another element of which keyboard navigation",
|
|
1451
|
+
"type": " HTMLElement ",
|
|
1452
|
+
"default": "\"this\""
|
|
1453
|
+
}
|
|
1454
|
+
],
|
|
1455
|
+
"properties": [
|
|
1456
|
+
{
|
|
1457
|
+
"name": "styles",
|
|
1458
|
+
"type": "CSSResult[]",
|
|
1459
|
+
"default": "[null]"
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
"name": "value",
|
|
1463
|
+
"attribute": "value",
|
|
1464
|
+
"description": "Value of selected option.",
|
|
1465
|
+
"type": " string ",
|
|
1466
|
+
"default": "\"\\\"\\\"\""
|
|
1467
|
+
},
|
|
1468
|
+
{
|
|
1469
|
+
"name": "displayValue",
|
|
1470
|
+
"attribute": "displayValue",
|
|
1471
|
+
"description": "A readable value to display to show the selected value.",
|
|
1472
|
+
"type": " string ",
|
|
1473
|
+
"default": "\"\\\"\\\"\""
|
|
1474
|
+
},
|
|
1475
|
+
{
|
|
1476
|
+
"name": "for",
|
|
1477
|
+
"attribute": "for",
|
|
1478
|
+
"description": "provide another element of which keyboard navigation",
|
|
1479
|
+
"type": " HTMLElement ",
|
|
1480
|
+
"default": "\"this\""
|
|
1481
|
+
}
|
|
1482
|
+
],
|
|
1483
|
+
"events": [
|
|
1484
|
+
{
|
|
1485
|
+
"name": "change",
|
|
1486
|
+
"description": "fires when selection is changed"
|
|
1487
|
+
}
|
|
1488
|
+
],
|
|
1489
|
+
"slots": [
|
|
1490
|
+
{
|
|
1491
|
+
"name": "default",
|
|
1492
|
+
"description": "for uui-combobox-list-options"
|
|
1493
|
+
}
|
|
1494
|
+
]
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
"name": "uui-combobox",
|
|
1498
|
+
"path": "./../uui-combobox/lib/uui-combobox.element.ts",
|
|
1499
|
+
"attributes": [
|
|
1500
|
+
{
|
|
1501
|
+
"name": "search",
|
|
1502
|
+
"description": "The search input.",
|
|
1503
|
+
"type": " string ",
|
|
1504
|
+
"default": "\"\\\"\\\"\""
|
|
1505
|
+
},
|
|
1506
|
+
{
|
|
1507
|
+
"name": "open",
|
|
1508
|
+
"description": "Specifies if the popover should be open.",
|
|
1509
|
+
"type": " boolean ",
|
|
1510
|
+
"default": "\"false\""
|
|
1511
|
+
},
|
|
1512
|
+
{
|
|
1513
|
+
"name": "name",
|
|
1514
|
+
"description": "This is a name property of the component.",
|
|
1515
|
+
"type": "string",
|
|
1516
|
+
"default": "\"''\""
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
"name": "value",
|
|
1520
|
+
"description": "Value of this form control.",
|
|
1521
|
+
"type": "string",
|
|
1522
|
+
"default": "\"''\""
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
"name": "pristine",
|
|
1526
|
+
"description": "Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.",
|
|
1527
|
+
"type": "boolean",
|
|
1528
|
+
"default": "\"false\""
|
|
1529
|
+
},
|
|
1530
|
+
{
|
|
1531
|
+
"name": "required",
|
|
1532
|
+
"description": "Apply validation rule for requiring a value of this form control.",
|
|
1533
|
+
"type": "boolean",
|
|
1534
|
+
"default": "\"false\""
|
|
1535
|
+
},
|
|
1536
|
+
{
|
|
1537
|
+
"name": "required-message",
|
|
1538
|
+
"description": "Required validation message.",
|
|
1539
|
+
"type": "string",
|
|
1540
|
+
"default": "\"This field is required\""
|
|
1541
|
+
},
|
|
1542
|
+
{
|
|
1543
|
+
"name": "error",
|
|
1544
|
+
"description": "Apply custom error on this input.",
|
|
1545
|
+
"type": "boolean",
|
|
1546
|
+
"default": "false"
|
|
1547
|
+
},
|
|
1548
|
+
{
|
|
1549
|
+
"name": "error-message",
|
|
1550
|
+
"description": "Custom error message.",
|
|
1551
|
+
"type": "string",
|
|
1552
|
+
"default": "\"This field is invalid\""
|
|
1553
|
+
}
|
|
1554
|
+
],
|
|
1555
|
+
"properties": [
|
|
1556
|
+
{
|
|
1557
|
+
"name": "styles",
|
|
1558
|
+
"type": "CSSResult[]",
|
|
1559
|
+
"default": "[null]"
|
|
1560
|
+
},
|
|
1561
|
+
{
|
|
1562
|
+
"name": "search",
|
|
1563
|
+
"attribute": "search",
|
|
1564
|
+
"description": "The search input.",
|
|
1565
|
+
"type": " string ",
|
|
1566
|
+
"default": "\"\\\"\\\"\""
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
"name": "open",
|
|
1570
|
+
"attribute": "open",
|
|
1571
|
+
"description": "Specifies if the popover should be open.",
|
|
1572
|
+
"type": " boolean ",
|
|
1573
|
+
"default": "\"false\""
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
"name": "formAssociated",
|
|
1577
|
+
"description": "This is a static class field indicating that the element is can be used inside a native form and participate in its events.\nIt may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals.\nRead more about form controls here https://web.dev/more-capable-form-controls/",
|
|
1578
|
+
"type": "boolean",
|
|
1579
|
+
"default": "true"
|
|
1580
|
+
},
|
|
1581
|
+
{
|
|
1582
|
+
"name": "name",
|
|
1583
|
+
"attribute": "name",
|
|
1584
|
+
"description": "This is a name property of the component.",
|
|
1585
|
+
"type": "string",
|
|
1586
|
+
"default": "\"''\""
|
|
1587
|
+
},
|
|
1588
|
+
{
|
|
1589
|
+
"name": "value",
|
|
1590
|
+
"attribute": "value",
|
|
1591
|
+
"description": "Value of this form control.",
|
|
1592
|
+
"type": "string",
|
|
1593
|
+
"default": "\"''\""
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
"name": "pristine",
|
|
1597
|
+
"attribute": "pristine",
|
|
1598
|
+
"description": "Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.",
|
|
1599
|
+
"type": "boolean",
|
|
1600
|
+
"default": "\"false\""
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
"name": "required",
|
|
1604
|
+
"attribute": "required",
|
|
1605
|
+
"description": "Apply validation rule for requiring a value of this form control.",
|
|
1606
|
+
"type": "boolean",
|
|
1607
|
+
"default": "\"false\""
|
|
1608
|
+
},
|
|
1609
|
+
{
|
|
1610
|
+
"name": "requiredMessage",
|
|
1611
|
+
"attribute": "required-message",
|
|
1612
|
+
"description": "Required validation message.",
|
|
1613
|
+
"type": "string",
|
|
1614
|
+
"default": "\"This field is required\""
|
|
1615
|
+
},
|
|
1616
|
+
{
|
|
1617
|
+
"name": "error",
|
|
1618
|
+
"attribute": "error",
|
|
1619
|
+
"description": "Apply custom error on this input.",
|
|
1620
|
+
"type": "boolean",
|
|
1621
|
+
"default": "false"
|
|
1622
|
+
},
|
|
1623
|
+
{
|
|
1624
|
+
"name": "errorMessage",
|
|
1625
|
+
"attribute": "error-message",
|
|
1626
|
+
"description": "Custom error message.",
|
|
1627
|
+
"type": "string",
|
|
1628
|
+
"default": "\"This field is invalid\""
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
"name": "validity",
|
|
1632
|
+
"type": "ValidityState"
|
|
1633
|
+
},
|
|
1634
|
+
{
|
|
1635
|
+
"name": "validationMessage"
|
|
1636
|
+
}
|
|
1637
|
+
],
|
|
1638
|
+
"events": [
|
|
1639
|
+
{
|
|
1640
|
+
"name": "input",
|
|
1641
|
+
"description": "fires when search input is changed"
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
"name": "change",
|
|
1645
|
+
"description": "fires when selection is changed"
|
|
1646
|
+
}
|
|
1647
|
+
],
|
|
1648
|
+
"slots": [
|
|
1649
|
+
{
|
|
1650
|
+
"name": "default",
|
|
1651
|
+
"description": "for uui-combobox-list-options"
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
"name": "input-prepend",
|
|
1655
|
+
"description": "prepend for the uui-input"
|
|
1656
|
+
},
|
|
1657
|
+
{
|
|
1658
|
+
"name": "input-append",
|
|
1659
|
+
"description": "append for the uui-input"
|
|
1660
|
+
}
|
|
1661
|
+
]
|
|
1662
|
+
},
|
|
1223
1663
|
{
|
|
1224
1664
|
"name": "uui-dialog-layout",
|
|
1225
1665
|
"path": "./../uui-dialog-layout/lib/uui-dialog-layout.element.ts",
|
|
@@ -1238,42 +1678,125 @@
|
|
|
1238
1678
|
"default": "[null]"
|
|
1239
1679
|
},
|
|
1240
1680
|
{
|
|
1241
|
-
"name": "headline",
|
|
1242
|
-
"attribute": "headline",
|
|
1243
|
-
"description": "Headline for this notification, can also be set via the 'headline' slot.",
|
|
1244
|
-
"type": "string | null",
|
|
1245
|
-
"default": "\"null\""
|
|
1681
|
+
"name": "headline",
|
|
1682
|
+
"attribute": "headline",
|
|
1683
|
+
"description": "Headline for this notification, can also be set via the 'headline' slot.",
|
|
1684
|
+
"type": "string | null",
|
|
1685
|
+
"default": "\"null\""
|
|
1686
|
+
}
|
|
1687
|
+
],
|
|
1688
|
+
"slots": [
|
|
1689
|
+
{
|
|
1690
|
+
"name": "",
|
|
1691
|
+
"description": "Use this for the text content"
|
|
1692
|
+
},
|
|
1693
|
+
{
|
|
1694
|
+
"name": "headline",
|
|
1695
|
+
"description": "Use this for slotted headline"
|
|
1696
|
+
},
|
|
1697
|
+
{
|
|
1698
|
+
"name": "actions",
|
|
1699
|
+
"description": "Use this for actions"
|
|
1700
|
+
}
|
|
1701
|
+
]
|
|
1702
|
+
},
|
|
1703
|
+
{
|
|
1704
|
+
"name": "uui-dialog",
|
|
1705
|
+
"path": "./../uui-dialog/lib/uui-dialog.element.ts",
|
|
1706
|
+
"properties": [
|
|
1707
|
+
{
|
|
1708
|
+
"name": "styles",
|
|
1709
|
+
"type": "CSSResult[]",
|
|
1710
|
+
"default": "[null]"
|
|
1711
|
+
}
|
|
1712
|
+
],
|
|
1713
|
+
"slots": [
|
|
1714
|
+
{
|
|
1715
|
+
"name": "",
|
|
1716
|
+
"description": "The slot for dialog content"
|
|
1717
|
+
}
|
|
1718
|
+
]
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
"name": "uui-file-dropzone",
|
|
1722
|
+
"path": "./../uui-file-dropzone/lib/uui-file-dropzone.element.ts",
|
|
1723
|
+
"attributes": [
|
|
1724
|
+
{
|
|
1725
|
+
"name": "accept",
|
|
1726
|
+
"description": "Accepted filetypes. Will allow all types if empty.",
|
|
1727
|
+
"type": "string",
|
|
1728
|
+
"default": "\"false\""
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
"name": "multiple",
|
|
1732
|
+
"description": "Allows for multiple files to be selected.",
|
|
1733
|
+
"type": "boolean",
|
|
1734
|
+
"default": "\"false\""
|
|
1735
|
+
},
|
|
1736
|
+
{
|
|
1737
|
+
"name": "label",
|
|
1738
|
+
"description": "Label to be used for aria-label and eventually as visual label",
|
|
1739
|
+
"type": "string"
|
|
1740
|
+
}
|
|
1741
|
+
],
|
|
1742
|
+
"properties": [
|
|
1743
|
+
{
|
|
1744
|
+
"name": "styles",
|
|
1745
|
+
"type": "CSSResult[]",
|
|
1746
|
+
"default": "[null]"
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
"name": "accept",
|
|
1750
|
+
"attribute": "accept",
|
|
1751
|
+
"description": "Accepted filetypes. Will allow all types if empty.",
|
|
1752
|
+
"type": "string",
|
|
1753
|
+
"default": "\"false\""
|
|
1754
|
+
},
|
|
1755
|
+
{
|
|
1756
|
+
"name": "multiple",
|
|
1757
|
+
"attribute": "multiple",
|
|
1758
|
+
"description": "Allows for multiple files to be selected.",
|
|
1759
|
+
"type": "boolean",
|
|
1760
|
+
"default": "\"false\""
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
"name": "label",
|
|
1764
|
+
"attribute": "label",
|
|
1765
|
+
"description": "Label to be used for aria-label and eventually as visual label",
|
|
1766
|
+
"type": "string"
|
|
1767
|
+
}
|
|
1768
|
+
],
|
|
1769
|
+
"events": [
|
|
1770
|
+
{
|
|
1771
|
+
"name": "file-change",
|
|
1772
|
+
"description": "fires when the a file has been selected."
|
|
1246
1773
|
}
|
|
1247
1774
|
],
|
|
1248
1775
|
"slots": [
|
|
1249
1776
|
{
|
|
1250
1777
|
"name": "",
|
|
1251
|
-
"description": "
|
|
1252
|
-
},
|
|
1253
|
-
{
|
|
1254
|
-
"name": "headline",
|
|
1255
|
-
"description": "Use this for slotted headline"
|
|
1256
|
-
},
|
|
1257
|
-
{
|
|
1258
|
-
"name": "actions",
|
|
1259
|
-
"description": "Use this for actions"
|
|
1778
|
+
"description": "For the content of the dropzone"
|
|
1260
1779
|
}
|
|
1261
1780
|
]
|
|
1262
1781
|
},
|
|
1263
1782
|
{
|
|
1264
|
-
"name": "uui-
|
|
1265
|
-
"path": "./../uui-
|
|
1783
|
+
"name": "uui-file-preview",
|
|
1784
|
+
"path": "./../uui-file-preview/lib/uui-file-preview.element.ts",
|
|
1266
1785
|
"properties": [
|
|
1267
1786
|
{
|
|
1268
1787
|
"name": "styles",
|
|
1269
1788
|
"type": "CSSResult[]",
|
|
1270
1789
|
"default": "[null]"
|
|
1790
|
+
},
|
|
1791
|
+
{
|
|
1792
|
+
"name": "file",
|
|
1793
|
+
"type": "File | undefined"
|
|
1271
1794
|
}
|
|
1272
1795
|
],
|
|
1273
1796
|
"slots": [
|
|
1274
1797
|
{
|
|
1275
|
-
"name": "",
|
|
1276
|
-
"description": "
|
|
1798
|
+
"name": "actions",
|
|
1799
|
+
"description": "To display one or more actions that can be executed on the file."
|
|
1277
1800
|
}
|
|
1278
1801
|
]
|
|
1279
1802
|
},
|
|
@@ -1448,6 +1971,149 @@
|
|
|
1448
1971
|
}
|
|
1449
1972
|
]
|
|
1450
1973
|
},
|
|
1974
|
+
{
|
|
1975
|
+
"name": "uui-input-file",
|
|
1976
|
+
"path": "./../uui-input-file/lib/uui-input-file.element.ts",
|
|
1977
|
+
"attributes": [
|
|
1978
|
+
{
|
|
1979
|
+
"name": "accept",
|
|
1980
|
+
"description": "Accepted filetypes. Will allow all types if empty.",
|
|
1981
|
+
"type": "string",
|
|
1982
|
+
"default": "\"false\""
|
|
1983
|
+
},
|
|
1984
|
+
{
|
|
1985
|
+
"name": "multiple",
|
|
1986
|
+
"description": "Allows for multiple files to be selected.",
|
|
1987
|
+
"type": "boolean",
|
|
1988
|
+
"default": "\"false\""
|
|
1989
|
+
},
|
|
1990
|
+
{
|
|
1991
|
+
"name": "name",
|
|
1992
|
+
"description": "This is a name property of the component.",
|
|
1993
|
+
"type": "string",
|
|
1994
|
+
"default": "\"''\""
|
|
1995
|
+
},
|
|
1996
|
+
{
|
|
1997
|
+
"name": "value",
|
|
1998
|
+
"description": "Value of this form control.",
|
|
1999
|
+
"type": "string",
|
|
2000
|
+
"default": "\"''\""
|
|
2001
|
+
},
|
|
2002
|
+
{
|
|
2003
|
+
"name": "pristine",
|
|
2004
|
+
"description": "Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.",
|
|
2005
|
+
"type": "boolean",
|
|
2006
|
+
"default": "\"false\""
|
|
2007
|
+
},
|
|
2008
|
+
{
|
|
2009
|
+
"name": "required",
|
|
2010
|
+
"description": "Apply validation rule for requiring a value of this form control.",
|
|
2011
|
+
"type": "boolean",
|
|
2012
|
+
"default": "\"false\""
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
"name": "required-message",
|
|
2016
|
+
"description": "Required validation message.",
|
|
2017
|
+
"type": "string",
|
|
2018
|
+
"default": "\"This field is required\""
|
|
2019
|
+
},
|
|
2020
|
+
{
|
|
2021
|
+
"name": "error",
|
|
2022
|
+
"description": "Apply custom error on this input.",
|
|
2023
|
+
"type": "boolean",
|
|
2024
|
+
"default": "false"
|
|
2025
|
+
},
|
|
2026
|
+
{
|
|
2027
|
+
"name": "error-message",
|
|
2028
|
+
"description": "Custom error message.",
|
|
2029
|
+
"type": "string",
|
|
2030
|
+
"default": "\"This field is invalid\""
|
|
2031
|
+
}
|
|
2032
|
+
],
|
|
2033
|
+
"properties": [
|
|
2034
|
+
{
|
|
2035
|
+
"name": "styles",
|
|
2036
|
+
"type": "CSSResult[]",
|
|
2037
|
+
"default": "[null]"
|
|
2038
|
+
},
|
|
2039
|
+
{
|
|
2040
|
+
"name": "accept",
|
|
2041
|
+
"attribute": "accept",
|
|
2042
|
+
"description": "Accepted filetypes. Will allow all types if empty.",
|
|
2043
|
+
"type": "string",
|
|
2044
|
+
"default": "\"false\""
|
|
2045
|
+
},
|
|
2046
|
+
{
|
|
2047
|
+
"name": "multiple",
|
|
2048
|
+
"attribute": "multiple",
|
|
2049
|
+
"description": "Allows for multiple files to be selected.",
|
|
2050
|
+
"type": "boolean",
|
|
2051
|
+
"default": "\"false\""
|
|
2052
|
+
},
|
|
2053
|
+
{
|
|
2054
|
+
"name": "formAssociated",
|
|
2055
|
+
"description": "This is a static class field indicating that the element is can be used inside a native form and participate in its events.\nIt may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals.\nRead more about form controls here https://web.dev/more-capable-form-controls/",
|
|
2056
|
+
"type": "boolean",
|
|
2057
|
+
"default": "true"
|
|
2058
|
+
},
|
|
2059
|
+
{
|
|
2060
|
+
"name": "name",
|
|
2061
|
+
"attribute": "name",
|
|
2062
|
+
"description": "This is a name property of the component.",
|
|
2063
|
+
"type": "string",
|
|
2064
|
+
"default": "\"''\""
|
|
2065
|
+
},
|
|
2066
|
+
{
|
|
2067
|
+
"name": "value",
|
|
2068
|
+
"attribute": "value",
|
|
2069
|
+
"description": "Value of this form control.",
|
|
2070
|
+
"type": "string",
|
|
2071
|
+
"default": "\"''\""
|
|
2072
|
+
},
|
|
2073
|
+
{
|
|
2074
|
+
"name": "pristine",
|
|
2075
|
+
"attribute": "pristine",
|
|
2076
|
+
"description": "Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.",
|
|
2077
|
+
"type": "boolean",
|
|
2078
|
+
"default": "\"false\""
|
|
2079
|
+
},
|
|
2080
|
+
{
|
|
2081
|
+
"name": "required",
|
|
2082
|
+
"attribute": "required",
|
|
2083
|
+
"description": "Apply validation rule for requiring a value of this form control.",
|
|
2084
|
+
"type": "boolean",
|
|
2085
|
+
"default": "\"false\""
|
|
2086
|
+
},
|
|
2087
|
+
{
|
|
2088
|
+
"name": "requiredMessage",
|
|
2089
|
+
"attribute": "required-message",
|
|
2090
|
+
"description": "Required validation message.",
|
|
2091
|
+
"type": "string",
|
|
2092
|
+
"default": "\"This field is required\""
|
|
2093
|
+
},
|
|
2094
|
+
{
|
|
2095
|
+
"name": "error",
|
|
2096
|
+
"attribute": "error",
|
|
2097
|
+
"description": "Apply custom error on this input.",
|
|
2098
|
+
"type": "boolean",
|
|
2099
|
+
"default": "false"
|
|
2100
|
+
},
|
|
2101
|
+
{
|
|
2102
|
+
"name": "errorMessage",
|
|
2103
|
+
"attribute": "error-message",
|
|
2104
|
+
"description": "Custom error message.",
|
|
2105
|
+
"type": "string",
|
|
2106
|
+
"default": "\"This field is invalid\""
|
|
2107
|
+
},
|
|
2108
|
+
{
|
|
2109
|
+
"name": "validity",
|
|
2110
|
+
"type": "ValidityState"
|
|
2111
|
+
},
|
|
2112
|
+
{
|
|
2113
|
+
"name": "validationMessage"
|
|
2114
|
+
}
|
|
2115
|
+
]
|
|
2116
|
+
},
|
|
1451
2117
|
{
|
|
1452
2118
|
"name": "uui-input-lock",
|
|
1453
2119
|
"path": "./../uui-input-lock/lib/uui-input-lock.element.ts",
|
|
@@ -1503,6 +2169,12 @@
|
|
|
1503
2169
|
"type": "string",
|
|
1504
2170
|
"default": "\"''\""
|
|
1505
2171
|
},
|
|
2172
|
+
{
|
|
2173
|
+
"name": "autocomplete",
|
|
2174
|
+
"description": "Defines the input autocomplete.",
|
|
2175
|
+
"type": "string",
|
|
2176
|
+
"default": "\"undefined\""
|
|
2177
|
+
},
|
|
1506
2178
|
{
|
|
1507
2179
|
"name": "type",
|
|
1508
2180
|
"description": "This property specifies the type of input that will be rendered.",
|
|
@@ -1618,6 +2290,13 @@
|
|
|
1618
2290
|
"type": "string",
|
|
1619
2291
|
"default": "\"''\""
|
|
1620
2292
|
},
|
|
2293
|
+
{
|
|
2294
|
+
"name": "autocomplete",
|
|
2295
|
+
"attribute": "autocomplete",
|
|
2296
|
+
"description": "Defines the input autocomplete.",
|
|
2297
|
+
"type": "string",
|
|
2298
|
+
"default": "\"undefined\""
|
|
2299
|
+
},
|
|
1621
2300
|
{
|
|
1622
2301
|
"name": "type",
|
|
1623
2302
|
"attribute": "type",
|
|
@@ -1680,6 +2359,10 @@
|
|
|
1680
2359
|
"type": "string",
|
|
1681
2360
|
"default": "\"This field is invalid\""
|
|
1682
2361
|
},
|
|
2362
|
+
{
|
|
2363
|
+
"name": "validity",
|
|
2364
|
+
"type": "ValidityState"
|
|
2365
|
+
},
|
|
1683
2366
|
{
|
|
1684
2367
|
"name": "validationMessage"
|
|
1685
2368
|
}
|
|
@@ -1762,6 +2445,12 @@
|
|
|
1762
2445
|
"type": "string",
|
|
1763
2446
|
"default": "\"''\""
|
|
1764
2447
|
},
|
|
2448
|
+
{
|
|
2449
|
+
"name": "autocomplete",
|
|
2450
|
+
"description": "Defines the input autocomplete.",
|
|
2451
|
+
"type": "string",
|
|
2452
|
+
"default": "\"undefined\""
|
|
2453
|
+
},
|
|
1765
2454
|
{
|
|
1766
2455
|
"name": "type",
|
|
1767
2456
|
"description": "This property specifies the type of input that will be rendered.",
|
|
@@ -1870,6 +2559,13 @@
|
|
|
1870
2559
|
"type": "string",
|
|
1871
2560
|
"default": "\"''\""
|
|
1872
2561
|
},
|
|
2562
|
+
{
|
|
2563
|
+
"name": "autocomplete",
|
|
2564
|
+
"attribute": "autocomplete",
|
|
2565
|
+
"description": "Defines the input autocomplete.",
|
|
2566
|
+
"type": "string",
|
|
2567
|
+
"default": "\"undefined\""
|
|
2568
|
+
},
|
|
1873
2569
|
{
|
|
1874
2570
|
"name": "type",
|
|
1875
2571
|
"attribute": "type",
|
|
@@ -1932,6 +2628,10 @@
|
|
|
1932
2628
|
"type": "string",
|
|
1933
2629
|
"default": "\"This field is invalid\""
|
|
1934
2630
|
},
|
|
2631
|
+
{
|
|
2632
|
+
"name": "validity",
|
|
2633
|
+
"type": "ValidityState"
|
|
2634
|
+
},
|
|
1935
2635
|
{
|
|
1936
2636
|
"name": "validationMessage"
|
|
1937
2637
|
}
|
|
@@ -2015,6 +2715,12 @@
|
|
|
2015
2715
|
"type": "string",
|
|
2016
2716
|
"default": "\"''\""
|
|
2017
2717
|
},
|
|
2718
|
+
{
|
|
2719
|
+
"name": "autocomplete",
|
|
2720
|
+
"description": "Defines the input autocomplete.",
|
|
2721
|
+
"type": "string",
|
|
2722
|
+
"default": "\"undefined\""
|
|
2723
|
+
},
|
|
2018
2724
|
{
|
|
2019
2725
|
"name": "type",
|
|
2020
2726
|
"description": "This property specifies the type of input that will be rendered.",
|
|
@@ -2123,6 +2829,13 @@
|
|
|
2123
2829
|
"type": "string",
|
|
2124
2830
|
"default": "\"''\""
|
|
2125
2831
|
},
|
|
2832
|
+
{
|
|
2833
|
+
"name": "autocomplete",
|
|
2834
|
+
"attribute": "autocomplete",
|
|
2835
|
+
"description": "Defines the input autocomplete.",
|
|
2836
|
+
"type": "string",
|
|
2837
|
+
"default": "\"undefined\""
|
|
2838
|
+
},
|
|
2126
2839
|
{
|
|
2127
2840
|
"name": "type",
|
|
2128
2841
|
"attribute": "type",
|
|
@@ -2185,6 +2898,10 @@
|
|
|
2185
2898
|
"type": "string",
|
|
2186
2899
|
"default": "\"This field is invalid\""
|
|
2187
2900
|
},
|
|
2901
|
+
{
|
|
2902
|
+
"name": "validity",
|
|
2903
|
+
"type": "ValidityState"
|
|
2904
|
+
},
|
|
2188
2905
|
{
|
|
2189
2906
|
"name": "validationMessage"
|
|
2190
2907
|
}
|
|
@@ -2879,6 +3596,10 @@
|
|
|
2879
3596
|
"type": "string",
|
|
2880
3597
|
"default": "\"This field is invalid\""
|
|
2881
3598
|
},
|
|
3599
|
+
{
|
|
3600
|
+
"name": "validity",
|
|
3601
|
+
"type": "ValidityState"
|
|
3602
|
+
},
|
|
2882
3603
|
{
|
|
2883
3604
|
"name": "validationMessage"
|
|
2884
3605
|
}
|
|
@@ -4263,6 +4984,10 @@
|
|
|
4263
4984
|
"type": "string",
|
|
4264
4985
|
"default": "\"This field is invalid\""
|
|
4265
4986
|
},
|
|
4987
|
+
{
|
|
4988
|
+
"name": "validity",
|
|
4989
|
+
"type": "ValidityState"
|
|
4990
|
+
},
|
|
4266
4991
|
{
|
|
4267
4992
|
"name": "validationMessage"
|
|
4268
4993
|
}
|
|
@@ -4458,6 +5183,10 @@
|
|
|
4458
5183
|
"type": "string",
|
|
4459
5184
|
"default": "\"This field is invalid\""
|
|
4460
5185
|
},
|
|
5186
|
+
{
|
|
5187
|
+
"name": "validity",
|
|
5188
|
+
"type": "ValidityState"
|
|
5189
|
+
},
|
|
4461
5190
|
{
|
|
4462
5191
|
"name": "validationMessage"
|
|
4463
5192
|
}
|
|
@@ -4496,6 +5225,71 @@
|
|
|
4496
5225
|
}
|
|
4497
5226
|
]
|
|
4498
5227
|
},
|
|
5228
|
+
{
|
|
5229
|
+
"name": "uui-symbol-file-dropzone",
|
|
5230
|
+
"path": "./../uui-symbol-file-dropzone/lib/uui-symbol-file-dropzone.element.ts",
|
|
5231
|
+
"attributes": [
|
|
5232
|
+
{
|
|
5233
|
+
"name": "error",
|
|
5234
|
+
"description": "Renders a error symbol instead of the upload symbol",
|
|
5235
|
+
"type": "boolean",
|
|
5236
|
+
"default": "\"false\""
|
|
5237
|
+
}
|
|
5238
|
+
],
|
|
5239
|
+
"properties": [
|
|
5240
|
+
{
|
|
5241
|
+
"name": "styles",
|
|
5242
|
+
"type": "CSSResult[]",
|
|
5243
|
+
"default": "[null]"
|
|
5244
|
+
},
|
|
5245
|
+
{
|
|
5246
|
+
"name": "error",
|
|
5247
|
+
"attribute": "error",
|
|
5248
|
+
"description": "Renders a error symbol instead of the upload symbol",
|
|
5249
|
+
"type": "boolean",
|
|
5250
|
+
"default": "\"false\""
|
|
5251
|
+
}
|
|
5252
|
+
]
|
|
5253
|
+
},
|
|
5254
|
+
{
|
|
5255
|
+
"name": "uui-symbol-file-thumbnail",
|
|
5256
|
+
"path": "./../uui-symbol-file-thumbnail/lib/uui-symbol-file-thumbnail.element.ts",
|
|
5257
|
+
"attributes": [
|
|
5258
|
+
{
|
|
5259
|
+
"name": "src",
|
|
5260
|
+
"description": "Source of the thumbnail.",
|
|
5261
|
+
"type": "string",
|
|
5262
|
+
"default": "\"''\""
|
|
5263
|
+
},
|
|
5264
|
+
{
|
|
5265
|
+
"name": "alt",
|
|
5266
|
+
"description": "Alt of the thumbnail.",
|
|
5267
|
+
"type": "string",
|
|
5268
|
+
"default": "\"''\""
|
|
5269
|
+
}
|
|
5270
|
+
],
|
|
5271
|
+
"properties": [
|
|
5272
|
+
{
|
|
5273
|
+
"name": "styles",
|
|
5274
|
+
"type": "CSSResult[]",
|
|
5275
|
+
"default": "[null]"
|
|
5276
|
+
},
|
|
5277
|
+
{
|
|
5278
|
+
"name": "src",
|
|
5279
|
+
"attribute": "src",
|
|
5280
|
+
"description": "Source of the thumbnail.",
|
|
5281
|
+
"type": "string",
|
|
5282
|
+
"default": "\"''\""
|
|
5283
|
+
},
|
|
5284
|
+
{
|
|
5285
|
+
"name": "alt",
|
|
5286
|
+
"attribute": "alt",
|
|
5287
|
+
"description": "Alt of the thumbnail.",
|
|
5288
|
+
"type": "string",
|
|
5289
|
+
"default": "\"''\""
|
|
5290
|
+
}
|
|
5291
|
+
]
|
|
5292
|
+
},
|
|
4499
5293
|
{
|
|
4500
5294
|
"name": "uui-file-symbol",
|
|
4501
5295
|
"path": "./../uui-symbol-file/lib/uui-symbol-file.element.ts",
|
|
@@ -5307,6 +6101,10 @@
|
|
|
5307
6101
|
"type": "string",
|
|
5308
6102
|
"default": "\"This field is invalid\""
|
|
5309
6103
|
},
|
|
6104
|
+
{
|
|
6105
|
+
"name": "validity",
|
|
6106
|
+
"type": "ValidityState"
|
|
6107
|
+
},
|
|
5310
6108
|
{
|
|
5311
6109
|
"name": "validationMessage"
|
|
5312
6110
|
}
|
|
@@ -5636,6 +6434,10 @@
|
|
|
5636
6434
|
"type": "string",
|
|
5637
6435
|
"default": "\"This field is invalid\""
|
|
5638
6436
|
},
|
|
6437
|
+
{
|
|
6438
|
+
"name": "validity",
|
|
6439
|
+
"type": "ValidityState"
|
|
6440
|
+
},
|
|
5639
6441
|
{
|
|
5640
6442
|
"name": "validationMessage"
|
|
5641
6443
|
},
|