@umbraco-ui/uui 1.1.0 → 1.2.0-rc.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/custom-elements.json +661 -14
- package/dist/uui.min.js +69 -36
- package/dist/uui.min.js.map +1 -1
- package/lib/index.d.ts +5 -0
- package/lib/index.js +5 -0
- package/package.json +80 -75
package/custom-elements.json
CHANGED
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
"description": "header area, use this for things that is not the headline but located in the header."
|
|
219
219
|
},
|
|
220
220
|
{
|
|
221
|
-
"name": "
|
|
221
|
+
"name": "",
|
|
222
222
|
"description": "area for the content of the box"
|
|
223
223
|
}
|
|
224
224
|
],
|
|
@@ -1331,6 +1331,640 @@
|
|
|
1331
1331
|
}
|
|
1332
1332
|
]
|
|
1333
1333
|
},
|
|
1334
|
+
{
|
|
1335
|
+
"name": "uui-color-area",
|
|
1336
|
+
"path": "./../uui-color-area/lib/uui-color-area.element.ts",
|
|
1337
|
+
"attributes": [
|
|
1338
|
+
{
|
|
1339
|
+
"name": "hue",
|
|
1340
|
+
"description": "The current hue.",
|
|
1341
|
+
"type": "number",
|
|
1342
|
+
"default": "\"0\""
|
|
1343
|
+
},
|
|
1344
|
+
{
|
|
1345
|
+
"name": "saturation",
|
|
1346
|
+
"description": "The current saturation.",
|
|
1347
|
+
"type": "number",
|
|
1348
|
+
"default": "\"0\""
|
|
1349
|
+
},
|
|
1350
|
+
{
|
|
1351
|
+
"name": "lightness",
|
|
1352
|
+
"description": "The current lightness.",
|
|
1353
|
+
"type": "number",
|
|
1354
|
+
"default": "\"0\""
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
"name": "brightness",
|
|
1358
|
+
"description": "The current brightness.",
|
|
1359
|
+
"type": "number",
|
|
1360
|
+
"default": "\"0\""
|
|
1361
|
+
},
|
|
1362
|
+
{
|
|
1363
|
+
"name": "alpha",
|
|
1364
|
+
"description": "The current alpha.",
|
|
1365
|
+
"type": "number",
|
|
1366
|
+
"default": "\"100\""
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
"name": "value",
|
|
1370
|
+
"description": "The current value.",
|
|
1371
|
+
"type": "string"
|
|
1372
|
+
},
|
|
1373
|
+
{
|
|
1374
|
+
"name": "disabled",
|
|
1375
|
+
"description": "Disables the color area.",
|
|
1376
|
+
"type": "boolean",
|
|
1377
|
+
"default": "false"
|
|
1378
|
+
}
|
|
1379
|
+
],
|
|
1380
|
+
"properties": [
|
|
1381
|
+
{
|
|
1382
|
+
"name": "styles",
|
|
1383
|
+
"type": "CSSResult[]",
|
|
1384
|
+
"default": "[null]"
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
"name": "hue",
|
|
1388
|
+
"attribute": "hue",
|
|
1389
|
+
"description": "The current hue.",
|
|
1390
|
+
"type": "number",
|
|
1391
|
+
"default": "\"0\""
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
"name": "saturation",
|
|
1395
|
+
"attribute": "saturation",
|
|
1396
|
+
"description": "The current saturation.",
|
|
1397
|
+
"type": "number",
|
|
1398
|
+
"default": "\"0\""
|
|
1399
|
+
},
|
|
1400
|
+
{
|
|
1401
|
+
"name": "lightness",
|
|
1402
|
+
"attribute": "lightness",
|
|
1403
|
+
"description": "The current lightness.",
|
|
1404
|
+
"type": "number",
|
|
1405
|
+
"default": "\"0\""
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
"name": "brightness",
|
|
1409
|
+
"attribute": "brightness",
|
|
1410
|
+
"description": "The current brightness.",
|
|
1411
|
+
"type": "number",
|
|
1412
|
+
"default": "\"0\""
|
|
1413
|
+
},
|
|
1414
|
+
{
|
|
1415
|
+
"name": "alpha",
|
|
1416
|
+
"attribute": "alpha",
|
|
1417
|
+
"description": "The current alpha.",
|
|
1418
|
+
"type": "number",
|
|
1419
|
+
"default": "\"100\""
|
|
1420
|
+
},
|
|
1421
|
+
{
|
|
1422
|
+
"name": "value",
|
|
1423
|
+
"attribute": "value",
|
|
1424
|
+
"description": "The current value.",
|
|
1425
|
+
"type": "string"
|
|
1426
|
+
},
|
|
1427
|
+
{
|
|
1428
|
+
"name": "disabled",
|
|
1429
|
+
"attribute": "disabled",
|
|
1430
|
+
"description": "Disables the color area.",
|
|
1431
|
+
"type": "boolean",
|
|
1432
|
+
"default": "false"
|
|
1433
|
+
}
|
|
1434
|
+
],
|
|
1435
|
+
"cssProperties": [
|
|
1436
|
+
{
|
|
1437
|
+
"name": "--uui-color-area-grid-handle-size",
|
|
1438
|
+
"description": "The size of the handle in the grid"
|
|
1439
|
+
}
|
|
1440
|
+
]
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
"name": "uui-color-picker",
|
|
1444
|
+
"path": "./../uui-color-picker/lib/uui-color-picker.element.ts",
|
|
1445
|
+
"attributes": [
|
|
1446
|
+
{
|
|
1447
|
+
"name": "value",
|
|
1448
|
+
"description": "The current color.",
|
|
1449
|
+
"type": "string",
|
|
1450
|
+
"default": "\"''\""
|
|
1451
|
+
},
|
|
1452
|
+
{
|
|
1453
|
+
"name": "format",
|
|
1454
|
+
"description": "The format to use for the display value. If opacity is enabled, these will translate to HEXA, RGBA, and HSLA\nrespectively. The color picker will always accept user input in any format (including CSS color names) and convert\nit to the desired format.",
|
|
1455
|
+
"type": "UUIColorPickerFormat",
|
|
1456
|
+
"default": "\"'hex'\""
|
|
1457
|
+
},
|
|
1458
|
+
{
|
|
1459
|
+
"name": "name",
|
|
1460
|
+
"description": "The input's name attribute.",
|
|
1461
|
+
"type": "string",
|
|
1462
|
+
"default": "\"''\""
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
"name": "size",
|
|
1466
|
+
"description": "Determines the size of the color picker's trigger. This has no effect on inline color pickers.",
|
|
1467
|
+
"type": "UUIColorPickerSize",
|
|
1468
|
+
"default": "\"'medium'\""
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
"name": "no-format-toggle",
|
|
1472
|
+
"description": "Removes the format toggle.",
|
|
1473
|
+
"type": "boolean",
|
|
1474
|
+
"default": "\"false\""
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
"name": "inline",
|
|
1478
|
+
"description": "Renders the color picker inline rather than inside a dropdown.",
|
|
1479
|
+
"type": "boolean",
|
|
1480
|
+
"default": "\"false\""
|
|
1481
|
+
},
|
|
1482
|
+
{
|
|
1483
|
+
"name": "disabled",
|
|
1484
|
+
"description": "Disables the color picker.",
|
|
1485
|
+
"type": "boolean",
|
|
1486
|
+
"default": "\"false\""
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"name": "opacity",
|
|
1490
|
+
"description": "Whether to show the opacity slider.",
|
|
1491
|
+
"type": "boolean",
|
|
1492
|
+
"default": "\"false\""
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
"name": "uppercase",
|
|
1496
|
+
"description": "By default, the value will be set in lowercase. Set this to true to set it in uppercase instead.",
|
|
1497
|
+
"type": "boolean",
|
|
1498
|
+
"default": "\"false\""
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
"name": "label",
|
|
1502
|
+
"description": "Label to be used for aria-label and potentially as visual label for some components",
|
|
1503
|
+
"type": "string"
|
|
1504
|
+
}
|
|
1505
|
+
],
|
|
1506
|
+
"properties": [
|
|
1507
|
+
{
|
|
1508
|
+
"name": "styles",
|
|
1509
|
+
"type": "CSSResult[]",
|
|
1510
|
+
"default": "[null]"
|
|
1511
|
+
},
|
|
1512
|
+
{
|
|
1513
|
+
"name": "value",
|
|
1514
|
+
"attribute": "value",
|
|
1515
|
+
"description": "The current color.",
|
|
1516
|
+
"type": "string",
|
|
1517
|
+
"default": "\"''\""
|
|
1518
|
+
},
|
|
1519
|
+
{
|
|
1520
|
+
"name": "format",
|
|
1521
|
+
"attribute": "format",
|
|
1522
|
+
"description": "The format to use for the display value. If opacity is enabled, these will translate to HEXA, RGBA, and HSLA\nrespectively. The color picker will always accept user input in any format (including CSS color names) and convert\nit to the desired format.",
|
|
1523
|
+
"type": "UUIColorPickerFormat",
|
|
1524
|
+
"default": "\"'hex'\""
|
|
1525
|
+
},
|
|
1526
|
+
{
|
|
1527
|
+
"name": "name",
|
|
1528
|
+
"attribute": "name",
|
|
1529
|
+
"description": "The input's name attribute.",
|
|
1530
|
+
"type": "string",
|
|
1531
|
+
"default": "\"''\""
|
|
1532
|
+
},
|
|
1533
|
+
{
|
|
1534
|
+
"name": "size",
|
|
1535
|
+
"attribute": "size",
|
|
1536
|
+
"description": "Determines the size of the color picker's trigger. This has no effect on inline color pickers.",
|
|
1537
|
+
"type": "UUIColorPickerSize",
|
|
1538
|
+
"default": "\"'medium'\""
|
|
1539
|
+
},
|
|
1540
|
+
{
|
|
1541
|
+
"name": "noFormatToggle",
|
|
1542
|
+
"attribute": "no-format-toggle",
|
|
1543
|
+
"description": "Removes the format toggle.",
|
|
1544
|
+
"type": "boolean",
|
|
1545
|
+
"default": "\"false\""
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
"name": "inline",
|
|
1549
|
+
"attribute": "inline",
|
|
1550
|
+
"description": "Renders the color picker inline rather than inside a dropdown.",
|
|
1551
|
+
"type": "boolean",
|
|
1552
|
+
"default": "\"false\""
|
|
1553
|
+
},
|
|
1554
|
+
{
|
|
1555
|
+
"name": "disabled",
|
|
1556
|
+
"attribute": "disabled",
|
|
1557
|
+
"description": "Disables the color picker.",
|
|
1558
|
+
"type": "boolean",
|
|
1559
|
+
"default": "\"false\""
|
|
1560
|
+
},
|
|
1561
|
+
{
|
|
1562
|
+
"name": "opacity",
|
|
1563
|
+
"attribute": "opacity",
|
|
1564
|
+
"description": "Whether to show the opacity slider.",
|
|
1565
|
+
"type": "boolean",
|
|
1566
|
+
"default": "\"false\""
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
"name": "uppercase",
|
|
1570
|
+
"attribute": "uppercase",
|
|
1571
|
+
"description": "By default, the value will be set in lowercase. Set this to true to set it in uppercase instead.",
|
|
1572
|
+
"type": "boolean",
|
|
1573
|
+
"default": "\"false\""
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
"name": "swatches",
|
|
1577
|
+
"description": "An array of predefined color swatches to display. Can include any format the color picker can parse, including\nHEX(A), RGB(A), HSL(A), and CSS color names.",
|
|
1578
|
+
"type": "string[]",
|
|
1579
|
+
"default": "[\"#d0021b\",\"#f5a623\",\"#f8e71c\",\"#8b572a\",\"#7ed321\",\"#417505\",\"#bd10e0\",\"#9013fe\",\"#4a90e2\",\"#50e3c2\",\"#b8e986\",\"#000\",\"#444\",\"#888\",\"#ccc\",\"#fff\"]"
|
|
1580
|
+
},
|
|
1581
|
+
{
|
|
1582
|
+
"name": "label",
|
|
1583
|
+
"attribute": "label",
|
|
1584
|
+
"description": "Label to be used for aria-label and potentially as visual label for some components",
|
|
1585
|
+
"type": "string"
|
|
1586
|
+
}
|
|
1587
|
+
],
|
|
1588
|
+
"events": [
|
|
1589
|
+
{
|
|
1590
|
+
"name": "change",
|
|
1591
|
+
"description": "Fired when the color changes"
|
|
1592
|
+
}
|
|
1593
|
+
],
|
|
1594
|
+
"slots": [
|
|
1595
|
+
{
|
|
1596
|
+
"name": "",
|
|
1597
|
+
"description": "Override the default label"
|
|
1598
|
+
}
|
|
1599
|
+
],
|
|
1600
|
+
"cssProperties": [
|
|
1601
|
+
{
|
|
1602
|
+
"name": "--uui-color-picker-width",
|
|
1603
|
+
"description": "The width of the color picker"
|
|
1604
|
+
}
|
|
1605
|
+
]
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
"name": "uui-color-slider",
|
|
1609
|
+
"path": "./../uui-color-slider/lib/uui-color-slider.element.ts",
|
|
1610
|
+
"attributes": [
|
|
1611
|
+
{
|
|
1612
|
+
"name": "type",
|
|
1613
|
+
"description": "The type of the slider.",
|
|
1614
|
+
"type": "UUIColorSliderType",
|
|
1615
|
+
"default": "\"'hue'\""
|
|
1616
|
+
},
|
|
1617
|
+
{
|
|
1618
|
+
"name": "color",
|
|
1619
|
+
"description": "The color value.",
|
|
1620
|
+
"type": "string",
|
|
1621
|
+
"default": "\"''\""
|
|
1622
|
+
},
|
|
1623
|
+
{
|
|
1624
|
+
"name": "min",
|
|
1625
|
+
"description": "This is a minimum value of the slider.",
|
|
1626
|
+
"type": "number",
|
|
1627
|
+
"default": "\"0\""
|
|
1628
|
+
},
|
|
1629
|
+
{
|
|
1630
|
+
"name": "max",
|
|
1631
|
+
"description": "This is a maximum value of the slider.",
|
|
1632
|
+
"type": "number",
|
|
1633
|
+
"default": "\"100\""
|
|
1634
|
+
},
|
|
1635
|
+
{
|
|
1636
|
+
"name": "precision",
|
|
1637
|
+
"description": "The minimum increment value allowed by the slider.",
|
|
1638
|
+
"type": "number",
|
|
1639
|
+
"default": "1"
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
"name": "vertical",
|
|
1643
|
+
"description": "Draws the slider in a vertical orientation.",
|
|
1644
|
+
"type": "boolean",
|
|
1645
|
+
"default": "\"false\""
|
|
1646
|
+
},
|
|
1647
|
+
{
|
|
1648
|
+
"name": "value",
|
|
1649
|
+
"description": "The current value of the slider.",
|
|
1650
|
+
"type": "number",
|
|
1651
|
+
"default": "\"0\""
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
"name": "disabled",
|
|
1655
|
+
"description": "Disables the color slider.",
|
|
1656
|
+
"type": "boolean",
|
|
1657
|
+
"default": "\"false\""
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
"name": "label",
|
|
1661
|
+
"description": "Label to be used for aria-label and potentially as visual label for some components",
|
|
1662
|
+
"type": "string"
|
|
1663
|
+
}
|
|
1664
|
+
],
|
|
1665
|
+
"properties": [
|
|
1666
|
+
{
|
|
1667
|
+
"name": "styles",
|
|
1668
|
+
"type": "CSSResult[]",
|
|
1669
|
+
"default": "[null]"
|
|
1670
|
+
},
|
|
1671
|
+
{
|
|
1672
|
+
"name": "type",
|
|
1673
|
+
"attribute": "type",
|
|
1674
|
+
"description": "The type of the slider.",
|
|
1675
|
+
"type": "UUIColorSliderType",
|
|
1676
|
+
"default": "\"'hue'\""
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
"name": "color",
|
|
1680
|
+
"attribute": "color",
|
|
1681
|
+
"description": "The color value.",
|
|
1682
|
+
"type": "string",
|
|
1683
|
+
"default": "\"''\""
|
|
1684
|
+
},
|
|
1685
|
+
{
|
|
1686
|
+
"name": "min",
|
|
1687
|
+
"attribute": "min",
|
|
1688
|
+
"description": "This is a minimum value of the slider.",
|
|
1689
|
+
"type": "number",
|
|
1690
|
+
"default": "\"0\""
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
"name": "max",
|
|
1694
|
+
"attribute": "max",
|
|
1695
|
+
"description": "This is a maximum value of the slider.",
|
|
1696
|
+
"type": "number",
|
|
1697
|
+
"default": "\"100\""
|
|
1698
|
+
},
|
|
1699
|
+
{
|
|
1700
|
+
"name": "precision",
|
|
1701
|
+
"attribute": "precision",
|
|
1702
|
+
"description": "The minimum increment value allowed by the slider.",
|
|
1703
|
+
"type": "number",
|
|
1704
|
+
"default": "1"
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
"name": "vertical",
|
|
1708
|
+
"attribute": "vertical",
|
|
1709
|
+
"description": "Draws the slider in a vertical orientation.",
|
|
1710
|
+
"type": "boolean",
|
|
1711
|
+
"default": "\"false\""
|
|
1712
|
+
},
|
|
1713
|
+
{
|
|
1714
|
+
"name": "value",
|
|
1715
|
+
"attribute": "value",
|
|
1716
|
+
"description": "The current value of the slider.",
|
|
1717
|
+
"type": "number",
|
|
1718
|
+
"default": "\"0\""
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
"name": "disabled",
|
|
1722
|
+
"attribute": "disabled",
|
|
1723
|
+
"description": "Disables the color slider.",
|
|
1724
|
+
"type": "boolean",
|
|
1725
|
+
"default": "\"false\""
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
"name": "ccsPropCurrentValue",
|
|
1729
|
+
"type": "number"
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
"name": "label",
|
|
1733
|
+
"attribute": "label",
|
|
1734
|
+
"description": "Label to be used for aria-label and potentially as visual label for some components",
|
|
1735
|
+
"type": "string"
|
|
1736
|
+
}
|
|
1737
|
+
],
|
|
1738
|
+
"events": [
|
|
1739
|
+
{
|
|
1740
|
+
"name": "change",
|
|
1741
|
+
"description": "Fires when the value of the slider changes."
|
|
1742
|
+
}
|
|
1743
|
+
],
|
|
1744
|
+
"slots": [
|
|
1745
|
+
{
|
|
1746
|
+
"name": "",
|
|
1747
|
+
"description": "Override the default label"
|
|
1748
|
+
}
|
|
1749
|
+
],
|
|
1750
|
+
"cssProperties": [
|
|
1751
|
+
{
|
|
1752
|
+
"name": "--uui-slider-height",
|
|
1753
|
+
"description": "The height of the slider."
|
|
1754
|
+
},
|
|
1755
|
+
{
|
|
1756
|
+
"name": "--uui-slider-handle-size",
|
|
1757
|
+
"description": "The size of the slider handle."
|
|
1758
|
+
},
|
|
1759
|
+
{
|
|
1760
|
+
"name": "--uui-slider-background-image",
|
|
1761
|
+
"description": "The background image of the slider."
|
|
1762
|
+
},
|
|
1763
|
+
{
|
|
1764
|
+
"name": "--uui-slider-background-size",
|
|
1765
|
+
"description": "The background size of the slider."
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
"name": "--uui-slider-background-position",
|
|
1769
|
+
"description": "The background position of the slider."
|
|
1770
|
+
}
|
|
1771
|
+
]
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
"name": "uui-color-swatch",
|
|
1775
|
+
"path": "./../uui-color-swatch/lib/uui-color-swatch.element.ts",
|
|
1776
|
+
"description": "Color swatch, can have label and be selectable. Depends on colord library and exposes it's utility functions under color property.",
|
|
1777
|
+
"attributes": [
|
|
1778
|
+
{
|
|
1779
|
+
"name": "value",
|
|
1780
|
+
"description": "Value of the swatch. Should be a valid hex, hexa, rgb, rgba, hsl or hsla string. Should fulfill this [css spec](https://www.w3.org/TR/css-color-4/#color-type). If not provided element will look at its text content.",
|
|
1781
|
+
"type": " string ",
|
|
1782
|
+
"default": "\"\\\"\\\"\""
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
"name": "disabled",
|
|
1786
|
+
"description": "Determines if the options is disabled. If true the option can't be selected",
|
|
1787
|
+
"type": " boolean ",
|
|
1788
|
+
"default": "\"false\""
|
|
1789
|
+
},
|
|
1790
|
+
{
|
|
1791
|
+
"name": "show-label",
|
|
1792
|
+
"description": "When true shows element label below the color checkbox",
|
|
1793
|
+
"type": "boolean",
|
|
1794
|
+
"default": "false"
|
|
1795
|
+
},
|
|
1796
|
+
{
|
|
1797
|
+
"name": "label",
|
|
1798
|
+
"description": "Label to be used for aria-label and potentially as visual label for some components",
|
|
1799
|
+
"type": "string"
|
|
1800
|
+
},
|
|
1801
|
+
{
|
|
1802
|
+
"name": "selectable",
|
|
1803
|
+
"description": "Enable the ability to select this element.",
|
|
1804
|
+
"type": "boolean"
|
|
1805
|
+
},
|
|
1806
|
+
{
|
|
1807
|
+
"name": "selected",
|
|
1808
|
+
"description": "Attribute applied when the element is selected.",
|
|
1809
|
+
"type": "boolean",
|
|
1810
|
+
"default": "false"
|
|
1811
|
+
},
|
|
1812
|
+
{
|
|
1813
|
+
"name": "active",
|
|
1814
|
+
"description": "Set this boolean to true for then the related composition is sorted.",
|
|
1815
|
+
"type": "boolean",
|
|
1816
|
+
"default": "false"
|
|
1817
|
+
}
|
|
1818
|
+
],
|
|
1819
|
+
"properties": [
|
|
1820
|
+
{
|
|
1821
|
+
"name": "styles",
|
|
1822
|
+
"type": "CSSResult[]",
|
|
1823
|
+
"default": "[null]"
|
|
1824
|
+
},
|
|
1825
|
+
{
|
|
1826
|
+
"name": "value",
|
|
1827
|
+
"attribute": "value",
|
|
1828
|
+
"description": "Value of the swatch. Should be a valid hex, hexa, rgb, rgba, hsl or hsla string. Should fulfill this [css spec](https://www.w3.org/TR/css-color-4/#color-type). If not provided element will look at its text content.",
|
|
1829
|
+
"type": " string ",
|
|
1830
|
+
"default": "\"\\\"\\\"\""
|
|
1831
|
+
},
|
|
1832
|
+
{
|
|
1833
|
+
"name": "disabled",
|
|
1834
|
+
"attribute": "disabled",
|
|
1835
|
+
"description": "Determines if the options is disabled. If true the option can't be selected",
|
|
1836
|
+
"type": " boolean ",
|
|
1837
|
+
"default": "\"false\""
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
"name": "showLabel",
|
|
1841
|
+
"attribute": "show-label",
|
|
1842
|
+
"description": "When true shows element label below the color checkbox",
|
|
1843
|
+
"type": "boolean",
|
|
1844
|
+
"default": "false"
|
|
1845
|
+
},
|
|
1846
|
+
{
|
|
1847
|
+
"name": "color",
|
|
1848
|
+
"description": "Colord object instance based on the value provided to the element. If the value is not a valid color, it falls back to black (like Amy Winehouse). For more information about Colord, see [Colord](https://omgovich.github.io/colord/)",
|
|
1849
|
+
"type": "(Colord | null)"
|
|
1850
|
+
},
|
|
1851
|
+
{
|
|
1852
|
+
"name": "isLight",
|
|
1853
|
+
"description": "Returns true if the color brightness is >= 0.5",
|
|
1854
|
+
"type": "boolean"
|
|
1855
|
+
},
|
|
1856
|
+
{
|
|
1857
|
+
"name": "label",
|
|
1858
|
+
"attribute": "label",
|
|
1859
|
+
"description": "Label to be used for aria-label and potentially as visual label for some components",
|
|
1860
|
+
"type": "string"
|
|
1861
|
+
},
|
|
1862
|
+
{
|
|
1863
|
+
"name": "selectable",
|
|
1864
|
+
"attribute": "selectable",
|
|
1865
|
+
"description": "Enable the ability to select this element.",
|
|
1866
|
+
"type": "boolean"
|
|
1867
|
+
},
|
|
1868
|
+
{
|
|
1869
|
+
"name": "selected",
|
|
1870
|
+
"attribute": "selected",
|
|
1871
|
+
"description": "Attribute applied when the element is selected.",
|
|
1872
|
+
"type": "boolean",
|
|
1873
|
+
"default": "false"
|
|
1874
|
+
},
|
|
1875
|
+
{
|
|
1876
|
+
"name": "active",
|
|
1877
|
+
"attribute": "active",
|
|
1878
|
+
"description": "Set this boolean to true for then the related composition is sorted.",
|
|
1879
|
+
"type": "boolean",
|
|
1880
|
+
"default": "false"
|
|
1881
|
+
}
|
|
1882
|
+
],
|
|
1883
|
+
"events": [
|
|
1884
|
+
{
|
|
1885
|
+
"name": "selected",
|
|
1886
|
+
"description": "fires when the media card is selected"
|
|
1887
|
+
},
|
|
1888
|
+
{
|
|
1889
|
+
"name": "unselected",
|
|
1890
|
+
"description": "fires when the media card is unselected"
|
|
1891
|
+
}
|
|
1892
|
+
],
|
|
1893
|
+
"slots": [
|
|
1894
|
+
{
|
|
1895
|
+
"name": "label",
|
|
1896
|
+
"description": "Default slot for the label."
|
|
1897
|
+
},
|
|
1898
|
+
{
|
|
1899
|
+
"name": "",
|
|
1900
|
+
"description": "Override the default label"
|
|
1901
|
+
}
|
|
1902
|
+
],
|
|
1903
|
+
"cssProperties": [
|
|
1904
|
+
{
|
|
1905
|
+
"name": "--uui-swatch-size",
|
|
1906
|
+
"description": "The size of the swatch."
|
|
1907
|
+
},
|
|
1908
|
+
{
|
|
1909
|
+
"name": "--uui-swatch-border-width",
|
|
1910
|
+
"description": "The width of the border."
|
|
1911
|
+
}
|
|
1912
|
+
]
|
|
1913
|
+
},
|
|
1914
|
+
{
|
|
1915
|
+
"name": "uui-color-swatches",
|
|
1916
|
+
"path": "./../uui-color-swatches/lib/uui-color-swatches.element.ts",
|
|
1917
|
+
"description": "Put uui-stacked-color-swatch elements inside this element to create a color swatch selector.",
|
|
1918
|
+
"attributes": [
|
|
1919
|
+
{
|
|
1920
|
+
"name": "value",
|
|
1921
|
+
"description": "Value of selected option.",
|
|
1922
|
+
"type": " string ",
|
|
1923
|
+
"default": "\"\\\"\\\"\""
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
"name": "label",
|
|
1927
|
+
"description": "Label to be used for aria-label and potentially as visual label for some components",
|
|
1928
|
+
"type": "string"
|
|
1929
|
+
}
|
|
1930
|
+
],
|
|
1931
|
+
"properties": [
|
|
1932
|
+
{
|
|
1933
|
+
"name": "styles",
|
|
1934
|
+
"type": "CSSResult[]",
|
|
1935
|
+
"default": "[null]"
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
"name": "value",
|
|
1939
|
+
"attribute": "value",
|
|
1940
|
+
"description": "Value of selected option.",
|
|
1941
|
+
"type": " string ",
|
|
1942
|
+
"default": "\"\\\"\\\"\""
|
|
1943
|
+
},
|
|
1944
|
+
{
|
|
1945
|
+
"name": "swatches",
|
|
1946
|
+
"type": "UUIColorSwatchElement[]"
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
"name": "label",
|
|
1950
|
+
"attribute": "label",
|
|
1951
|
+
"description": "Label to be used for aria-label and potentially as visual label for some components",
|
|
1952
|
+
"type": "string"
|
|
1953
|
+
}
|
|
1954
|
+
],
|
|
1955
|
+
"events": [
|
|
1956
|
+
{
|
|
1957
|
+
"name": "change",
|
|
1958
|
+
"description": "Fires when a color swatch is selected."
|
|
1959
|
+
}
|
|
1960
|
+
],
|
|
1961
|
+
"slots": [
|
|
1962
|
+
{
|
|
1963
|
+
"name": "",
|
|
1964
|
+
"description": "Default slot for content."
|
|
1965
|
+
}
|
|
1966
|
+
]
|
|
1967
|
+
},
|
|
1334
1968
|
{
|
|
1335
1969
|
"name": "uui-combobox-list-option",
|
|
1336
1970
|
"path": "./../uui-combobox-list/lib/uui-combobox-list-option.element.ts",
|
|
@@ -1433,7 +2067,7 @@
|
|
|
1433
2067
|
],
|
|
1434
2068
|
"slots": [
|
|
1435
2069
|
{
|
|
1436
|
-
"name": "
|
|
2070
|
+
"name": "",
|
|
1437
2071
|
"description": "For option content"
|
|
1438
2072
|
}
|
|
1439
2073
|
]
|
|
@@ -1497,7 +2131,7 @@
|
|
|
1497
2131
|
],
|
|
1498
2132
|
"slots": [
|
|
1499
2133
|
{
|
|
1500
|
-
"name": "
|
|
2134
|
+
"name": "",
|
|
1501
2135
|
"description": "for uui-combobox-list-options"
|
|
1502
2136
|
}
|
|
1503
2137
|
]
|
|
@@ -1669,7 +2303,7 @@
|
|
|
1669
2303
|
],
|
|
1670
2304
|
"slots": [
|
|
1671
2305
|
{
|
|
1672
|
-
"name": "
|
|
2306
|
+
"name": "",
|
|
1673
2307
|
"description": "for uui-combobox-list-options"
|
|
1674
2308
|
},
|
|
1675
2309
|
{
|
|
@@ -3468,6 +4102,10 @@
|
|
|
3468
4102
|
{
|
|
3469
4103
|
"name": "trigger",
|
|
3470
4104
|
"description": "The element that triggers the popover."
|
|
4105
|
+
},
|
|
4106
|
+
{
|
|
4107
|
+
"name": "popover",
|
|
4108
|
+
"description": "The content of the popover."
|
|
3471
4109
|
}
|
|
3472
4110
|
]
|
|
3473
4111
|
},
|
|
@@ -6057,7 +6695,7 @@
|
|
|
6057
6695
|
],
|
|
6058
6696
|
"slots": [
|
|
6059
6697
|
{
|
|
6060
|
-
"name": "
|
|
6698
|
+
"name": "",
|
|
6061
6699
|
"description": "for label"
|
|
6062
6700
|
},
|
|
6063
6701
|
{
|
|
@@ -6067,10 +6705,6 @@
|
|
|
6067
6705
|
{
|
|
6068
6706
|
"name": "extra",
|
|
6069
6707
|
"description": "for extra"
|
|
6070
|
-
},
|
|
6071
|
-
{
|
|
6072
|
-
"name": "",
|
|
6073
|
-
"description": "Override the default label"
|
|
6074
6708
|
}
|
|
6075
6709
|
],
|
|
6076
6710
|
"cssProperties": [
|
|
@@ -6174,7 +6808,7 @@
|
|
|
6174
6808
|
],
|
|
6175
6809
|
"slots": [
|
|
6176
6810
|
{
|
|
6177
|
-
"name": "
|
|
6811
|
+
"name": "",
|
|
6178
6812
|
"description": "for label"
|
|
6179
6813
|
},
|
|
6180
6814
|
{
|
|
@@ -6184,10 +6818,6 @@
|
|
|
6184
6818
|
{
|
|
6185
6819
|
"name": "extra",
|
|
6186
6820
|
"description": "for extra"
|
|
6187
|
-
},
|
|
6188
|
-
{
|
|
6189
|
-
"name": "",
|
|
6190
|
-
"description": "Override the default label"
|
|
6191
6821
|
}
|
|
6192
6822
|
],
|
|
6193
6823
|
"cssProperties": [
|
|
@@ -6513,12 +7143,29 @@
|
|
|
6513
7143
|
{
|
|
6514
7144
|
"name": "--uui-textarea-max-height",
|
|
6515
7145
|
"description": "Sets the maximum height of the textarea"
|
|
7146
|
+
},
|
|
7147
|
+
{
|
|
7148
|
+
"name": "--uui-textarea-background-color",
|
|
7149
|
+
"description": "Sets the background color of the textarea",
|
|
7150
|
+
"type": "color"
|
|
6516
7151
|
}
|
|
6517
7152
|
]
|
|
6518
7153
|
},
|
|
6519
7154
|
{
|
|
6520
7155
|
"name": "uui-toast-notification-container",
|
|
6521
7156
|
"path": "./../uui-toast-notification-container/lib/uui-toast-notification-container.element.ts",
|
|
7157
|
+
"attributes": [
|
|
7158
|
+
{
|
|
7159
|
+
"name": "bottom-up",
|
|
7160
|
+
"description": "set the toast container to grow from bottom to top.",
|
|
7161
|
+
"type": "boolean"
|
|
7162
|
+
},
|
|
7163
|
+
{
|
|
7164
|
+
"name": "left-align",
|
|
7165
|
+
"description": "set the toast container to align to the left.",
|
|
7166
|
+
"type": "boolean"
|
|
7167
|
+
}
|
|
7168
|
+
],
|
|
6522
7169
|
"properties": [
|
|
6523
7170
|
{
|
|
6524
7171
|
"name": "styles",
|