@skf-design-system/ui-components 1.0.0-alpha.35 → 1.0.0-alpha.36
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 +25490 -0
- package/dist/components/accordion/accordion.component.d.ts +1 -1
- package/dist/components/accordion/accordion.component.js +2 -2
- package/dist/components/card/card.component.d.ts +2 -0
- package/dist/components/card/card.styles.js +2 -1
- package/dist/components/datepicker/datepicker.component.js +1 -0
- package/dist/components/icon/icon.component.d.ts +1 -4
- package/dist/components/icon/icon.component.js +41 -53
- package/dist/components/icon/icon.styles.js +0 -1
- package/dist/components/input/input.component.js +1 -0
- package/dist/components/link/link.component.d.ts +15 -18
- package/dist/components/link/link.component.js +99 -108
- package/dist/components/link/link.styles.js +45 -45
- package/dist/components/menu/menu-item.component.d.ts +1 -1
- package/dist/components/menu/menu-item.component.js +8 -8
- package/dist/components/menu/menu-item.styles.js +8 -5
- package/dist/components/nav/nav-item.component.d.ts +4 -0
- package/dist/components/nav/nav-item.component.js +44 -25
- package/dist/components/nav/nav-item.styles.js +29 -25
- package/dist/components/nav/nav.component.d.ts +6 -0
- package/dist/components/nav/nav.component.js +42 -21
- package/dist/components/nav/nav.styles.js +15 -9
- package/dist/components/popover/popover.component.d.ts +4 -0
- package/dist/components/popover/popover.component.js +31 -23
- package/dist/components/progress/progress.component.d.ts +2 -0
- package/dist/components/progress/progress.component.js +38 -29
- package/dist/components/progress/progress.styles.js +3 -3
- package/dist/components/select/select-option-group.component.d.ts +4 -0
- package/dist/components/select/select-option-group.component.js +37 -18
- package/dist/components/select/select-option-group.style.js +12 -6
- package/dist/components/select/select-option.component.d.ts +5 -1
- package/dist/components/select/select-option.component.js +69 -52
- package/dist/components/select/select-option.styles.js +43 -31
- package/dist/components/select/select.component.d.ts +5 -1
- package/dist/components/select/select.component.js +47 -29
- package/dist/components/select/select.controllers.js +2 -1
- package/dist/components/textarea/textarea.component.js +5 -4
- package/dist/components/toast/toast.component.js +9 -9
- package/dist/components/toast/toast.singleton.d.ts +1 -1
- package/dist/components/toast/toast.singleton.js +18 -18
- package/dist/custom-elements.json +758 -678
- package/dist/internal/base-classes/popover/popover.base.d.ts +2 -2
- package/dist/internal/base-classes/popover/popover.base.js +17 -17
- package/dist/internal/base-classes/popover/popover.styles.js +4 -5
- package/dist/internal/components/hint/hint.component.d.ts +4 -0
- package/dist/internal/components/hint/hint.component.js +47 -20
- package/dist/internal/components/hint/hint.styles.js +29 -25
- package/dist/types/jsx/custom-element-jsx.d.ts +188 -70
- package/dist/types/vue/index.d.ts +81 -69
- package/dist/vscode.html-custom-data.json +91 -95
- package/dist/web-types.json +204 -203
- package/package.json +13 -13
package/dist/web-types.json
CHANGED
@@ -24,7 +24,7 @@
|
|
24
24
|
{
|
25
25
|
"name": "name",
|
26
26
|
"description": "Name of the icon to display",
|
27
|
-
"value": { "type": "Icon
|
27
|
+
"value": { "type": "Icon" }
|
28
28
|
},
|
29
29
|
{
|
30
30
|
"name": "size",
|
@@ -48,7 +48,7 @@
|
|
48
48
|
{
|
49
49
|
"name": "name",
|
50
50
|
"description": "Name of the icon to display",
|
51
|
-
"type": "Icon
|
51
|
+
"type": "Icon"
|
52
52
|
},
|
53
53
|
{
|
54
54
|
"name": "size",
|
@@ -547,7 +547,7 @@
|
|
547
547
|
},
|
548
548
|
{
|
549
549
|
"name": "skf-card",
|
550
|
-
"description": "The `<skf-card>` can be used to group related subjects in a container\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/021eed-card) for design principles\n---\n\n\n### **Slots:**\n - _default_ - The card's main content",
|
550
|
+
"description": "The `<skf-card>` can be used to group related subjects in a container\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/021eed-card) for design principles\n---\n\n\n### **Slots:**\n - _default_ - The card's main content\n\n### **CSS Properties:**\n - **--mod-card-bg-color** - Ability to set a custom background color _(default: undefined)_",
|
551
551
|
"doc-url": "",
|
552
552
|
"attributes": [
|
553
553
|
{
|
@@ -1312,6 +1312,165 @@
|
|
1312
1312
|
"events": []
|
1313
1313
|
}
|
1314
1314
|
},
|
1315
|
+
{
|
1316
|
+
"name": "skf-link",
|
1317
|
+
"description": "The `<skf-link>` can be used as either a regular link or a semantic button. The button variant is\nintended to be used for triggering javascript functions, not handling forms.\n---\n\n\n### **Events:**\n - **skf-link-click** - Fired when the link is clicked\n\n### **Slots:**\n - _default_ - The links' main content",
|
1318
|
+
"doc-url": "",
|
1319
|
+
"attributes": [
|
1320
|
+
{
|
1321
|
+
"name": "as",
|
1322
|
+
"description": "Defines the semantic element to render",
|
1323
|
+
"value": { "type": "'button' | 'link'", "default": "'link'" }
|
1324
|
+
},
|
1325
|
+
{
|
1326
|
+
"name": "color",
|
1327
|
+
"description": "Defines the text-color",
|
1328
|
+
"value": { "type": "Color", "default": "'primary'" }
|
1329
|
+
},
|
1330
|
+
{
|
1331
|
+
"name": "disabled",
|
1332
|
+
"description": "If true, disables the link",
|
1333
|
+
"value": { "type": "boolean", "default": "false" }
|
1334
|
+
},
|
1335
|
+
{
|
1336
|
+
"name": "download",
|
1337
|
+
"description": "If defined, downloads the url",
|
1338
|
+
"value": { "type": "boolean", "default": "false" }
|
1339
|
+
},
|
1340
|
+
{
|
1341
|
+
"name": "href",
|
1342
|
+
"description": "If defined, loads url on click",
|
1343
|
+
"value": { "type": "string | undefined" }
|
1344
|
+
},
|
1345
|
+
{
|
1346
|
+
"name": "icon",
|
1347
|
+
"description": "If defined, renders an icon before or after the text",
|
1348
|
+
"value": { "type": "Icon | undefined" }
|
1349
|
+
},
|
1350
|
+
{
|
1351
|
+
"name": "icon-right",
|
1352
|
+
"description": "If true, the icon is placed to the right in relation to the text",
|
1353
|
+
"value": { "type": "boolean", "default": "false" }
|
1354
|
+
},
|
1355
|
+
{
|
1356
|
+
"name": "rel",
|
1357
|
+
"description": "If defined, describes the relationship between a linked resource and the current document",
|
1358
|
+
"value": { "type": "string | undefined" }
|
1359
|
+
},
|
1360
|
+
{
|
1361
|
+
"name": "route",
|
1362
|
+
"description": "If defined, used on conjunction with onClick property. **Notice!** Only applicable to as=button.",
|
1363
|
+
"value": { "type": "string | undefined" }
|
1364
|
+
},
|
1365
|
+
{
|
1366
|
+
"name": "stretch",
|
1367
|
+
"description": "If true, fills the parents horizontal axis",
|
1368
|
+
"value": { "type": "boolean", "default": "false" }
|
1369
|
+
},
|
1370
|
+
{
|
1371
|
+
"name": "target",
|
1372
|
+
"description": "If defined, specifies where to open the linked document",
|
1373
|
+
"value": {
|
1374
|
+
"type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
1375
|
+
}
|
1376
|
+
}
|
1377
|
+
],
|
1378
|
+
"slots": [{ "name": "", "description": "The links' main content" }],
|
1379
|
+
"events": [
|
1380
|
+
{
|
1381
|
+
"name": "skf-link-click",
|
1382
|
+
"type": "CustomEvent",
|
1383
|
+
"description": "Fired when the link is clicked"
|
1384
|
+
}
|
1385
|
+
],
|
1386
|
+
"js": {
|
1387
|
+
"properties": [
|
1388
|
+
{
|
1389
|
+
"name": "as",
|
1390
|
+
"description": "Defines the semantic element to render",
|
1391
|
+
"type": "'button' | 'link'"
|
1392
|
+
},
|
1393
|
+
{
|
1394
|
+
"name": "color",
|
1395
|
+
"description": "Defines the text-color",
|
1396
|
+
"type": "Color"
|
1397
|
+
},
|
1398
|
+
{
|
1399
|
+
"name": "disabled",
|
1400
|
+
"description": "If true, disables the link",
|
1401
|
+
"type": "boolean"
|
1402
|
+
},
|
1403
|
+
{
|
1404
|
+
"name": "download",
|
1405
|
+
"description": "If defined, downloads the url",
|
1406
|
+
"type": "boolean"
|
1407
|
+
},
|
1408
|
+
{
|
1409
|
+
"name": "href",
|
1410
|
+
"description": "If defined, loads url on click",
|
1411
|
+
"type": "string | undefined"
|
1412
|
+
},
|
1413
|
+
{
|
1414
|
+
"name": "icon",
|
1415
|
+
"description": "If defined, renders an icon before or after the text",
|
1416
|
+
"type": "Icon | undefined"
|
1417
|
+
},
|
1418
|
+
{
|
1419
|
+
"name": "iconRight",
|
1420
|
+
"description": "If true, the icon is placed to the right in relation to the text",
|
1421
|
+
"type": "boolean"
|
1422
|
+
},
|
1423
|
+
{
|
1424
|
+
"name": "rel",
|
1425
|
+
"description": "If defined, describes the relationship between a linked resource and the current document",
|
1426
|
+
"type": "string | undefined"
|
1427
|
+
},
|
1428
|
+
{
|
1429
|
+
"name": "route",
|
1430
|
+
"description": "If defined, used on conjunction with onClick property. **Notice!** Only applicable to as=button.",
|
1431
|
+
"type": "string | undefined"
|
1432
|
+
},
|
1433
|
+
{
|
1434
|
+
"name": "stretch",
|
1435
|
+
"description": "If true, fills the parents horizontal axis",
|
1436
|
+
"type": "boolean"
|
1437
|
+
},
|
1438
|
+
{
|
1439
|
+
"name": "target",
|
1440
|
+
"description": "If defined, specifies where to open the linked document",
|
1441
|
+
"type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
1442
|
+
}
|
1443
|
+
],
|
1444
|
+
"events": [
|
1445
|
+
{
|
1446
|
+
"name": "skf-link-click",
|
1447
|
+
"type": "CustomEvent",
|
1448
|
+
"description": "Fired when the link is clicked"
|
1449
|
+
}
|
1450
|
+
]
|
1451
|
+
}
|
1452
|
+
},
|
1453
|
+
{
|
1454
|
+
"name": "skf-nav-item",
|
1455
|
+
"description": "The `<skf-nav>` is a component that displays a list of <nav-items>.\n---\n\n\n### **Slots:**\n - _default_ - The component's main content",
|
1456
|
+
"doc-url": "",
|
1457
|
+
"attributes": [
|
1458
|
+
{ "name": "href", "value": { "type": "string", "default": "''" } },
|
1459
|
+
{ "name": "icon", "value": { "type": "Icon | undefined" } }
|
1460
|
+
],
|
1461
|
+
"slots": [
|
1462
|
+
{ "name": "", "description": "The component's main content" }
|
1463
|
+
],
|
1464
|
+
"events": [],
|
1465
|
+
"js": {
|
1466
|
+
"properties": [
|
1467
|
+
{ "name": "href", "type": "string" },
|
1468
|
+
{ "name": "icon", "type": "Icon | undefined" },
|
1469
|
+
{ "name": "vertical", "type": "boolean" }
|
1470
|
+
],
|
1471
|
+
"events": []
|
1472
|
+
}
|
1473
|
+
},
|
1315
1474
|
{
|
1316
1475
|
"name": "skf-nav",
|
1317
1476
|
"description": "The `<skf-nav>` is a component that displays a list of <nav-items>.\n---\n\n\n### **Slots:**\n - _default_ - The component's main content",
|
@@ -1319,6 +1478,7 @@
|
|
1319
1478
|
"attributes": [
|
1320
1479
|
{
|
1321
1480
|
"name": "vertical",
|
1481
|
+
"description": "If true, the navigation will be displayed vertically",
|
1322
1482
|
"value": { "type": "boolean", "default": "false" }
|
1323
1483
|
}
|
1324
1484
|
],
|
@@ -1327,7 +1487,13 @@
|
|
1327
1487
|
],
|
1328
1488
|
"events": [],
|
1329
1489
|
"js": {
|
1330
|
-
"properties": [
|
1490
|
+
"properties": [
|
1491
|
+
{
|
1492
|
+
"name": "vertical",
|
1493
|
+
"description": "If true, the navigation will be displayed vertically",
|
1494
|
+
"type": "boolean"
|
1495
|
+
}
|
1496
|
+
],
|
1331
1497
|
"events": []
|
1332
1498
|
}
|
1333
1499
|
},
|
@@ -1714,166 +1880,20 @@
|
|
1714
1880
|
]
|
1715
1881
|
}
|
1716
1882
|
},
|
1717
|
-
{
|
1718
|
-
"name": "skf-link",
|
1719
|
-
"description": "The `<skf-link>` can be used as either a regular link or a link styled semantic button\n---\n\n\n### **Slots:**\n - _default_ - The links' main content",
|
1720
|
-
"doc-url": "",
|
1721
|
-
"attributes": [
|
1722
|
-
{
|
1723
|
-
"name": "as",
|
1724
|
-
"description": "Defines the semantic element to render",
|
1725
|
-
"value": { "type": "'button' | 'a'", "default": "'a'" }
|
1726
|
-
},
|
1727
|
-
{
|
1728
|
-
"name": "color",
|
1729
|
-
"description": "Defines the text-color",
|
1730
|
-
"value": {
|
1731
|
-
"type": "'primary' | 'inverse'",
|
1732
|
-
"default": "'primary'"
|
1733
|
-
}
|
1734
|
-
},
|
1735
|
-
{
|
1736
|
-
"name": "disabled",
|
1737
|
-
"description": "If true, disables the link",
|
1738
|
-
"value": { "type": "boolean", "default": "false" }
|
1739
|
-
},
|
1740
|
-
{
|
1741
|
-
"name": "download",
|
1742
|
-
"description": "If defined, downloads the url",
|
1743
|
-
"value": { "type": "string | undefined" }
|
1744
|
-
},
|
1745
|
-
{
|
1746
|
-
"name": "href",
|
1747
|
-
"description": "If defined, loads url on click",
|
1748
|
-
"value": { "type": "string | undefined" }
|
1749
|
-
},
|
1750
|
-
{
|
1751
|
-
"name": "icon",
|
1752
|
-
"description": "If defined, renders an icon before or after the text",
|
1753
|
-
"value": { "type": "Icon | undefined" }
|
1754
|
-
},
|
1755
|
-
{
|
1756
|
-
"name": "icon-placement",
|
1757
|
-
"description": "Defines the position of the icon in relation to the text",
|
1758
|
-
"value": { "type": "'left' | 'right'", "default": "'left'" }
|
1759
|
-
},
|
1760
|
-
{
|
1761
|
-
"name": "rel",
|
1762
|
-
"description": "If defined, describes the relationship between a linked resource and the current document",
|
1763
|
-
"value": { "type": "string | undefined" }
|
1764
|
-
},
|
1765
|
-
{
|
1766
|
-
"name": "route",
|
1767
|
-
"description": "If defined, used on conjunction with onClick property, second argument",
|
1768
|
-
"value": { "type": "string | undefined" }
|
1769
|
-
},
|
1770
|
-
{
|
1771
|
-
"name": "stretch",
|
1772
|
-
"description": "If true, fills the parents horizontal axis",
|
1773
|
-
"value": { "type": "boolean", "default": "false" }
|
1774
|
-
},
|
1775
|
-
{
|
1776
|
-
"name": "target",
|
1777
|
-
"description": "If defined, specifies where to open the linked document",
|
1778
|
-
"value": {
|
1779
|
-
"type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
1780
|
-
}
|
1781
|
-
},
|
1782
|
-
{
|
1783
|
-
"name": "type",
|
1784
|
-
"description": "Defines the type of button",
|
1785
|
-
"value": { "type": "SkfLinkType", "default": "'button'" }
|
1786
|
-
}
|
1787
|
-
],
|
1788
|
-
"slots": [{ "name": "", "description": "The links' main content" }],
|
1789
|
-
"events": [],
|
1790
|
-
"js": {
|
1791
|
-
"properties": [
|
1792
|
-
{
|
1793
|
-
"name": "as",
|
1794
|
-
"description": "Defines the semantic element to render",
|
1795
|
-
"type": "'button' | 'a'"
|
1796
|
-
},
|
1797
|
-
{
|
1798
|
-
"name": "color",
|
1799
|
-
"description": "Defines the text-color",
|
1800
|
-
"type": "'primary' | 'inverse'"
|
1801
|
-
},
|
1802
|
-
{
|
1803
|
-
"name": "disabled",
|
1804
|
-
"description": "If true, disables the link",
|
1805
|
-
"type": "boolean"
|
1806
|
-
},
|
1807
|
-
{
|
1808
|
-
"name": "download",
|
1809
|
-
"description": "If defined, downloads the url",
|
1810
|
-
"type": "string | undefined"
|
1811
|
-
},
|
1812
|
-
{
|
1813
|
-
"name": "href",
|
1814
|
-
"description": "If defined, loads url on click",
|
1815
|
-
"type": "string | undefined"
|
1816
|
-
},
|
1817
|
-
{
|
1818
|
-
"name": "icon",
|
1819
|
-
"description": "If defined, renders an icon before or after the text",
|
1820
|
-
"type": "Icon | undefined"
|
1821
|
-
},
|
1822
|
-
{
|
1823
|
-
"name": "iconPlacement",
|
1824
|
-
"description": "Defines the position of the icon in relation to the text",
|
1825
|
-
"type": "'left' | 'right'"
|
1826
|
-
},
|
1827
|
-
{
|
1828
|
-
"name": "onClick",
|
1829
|
-
"description": "If defined, accepts a function that runs on click. Forwards optional route as second argument."
|
1830
|
-
},
|
1831
|
-
{
|
1832
|
-
"name": "rel",
|
1833
|
-
"description": "If defined, describes the relationship between a linked resource and the current document",
|
1834
|
-
"type": "string | undefined"
|
1835
|
-
},
|
1836
|
-
{
|
1837
|
-
"name": "route",
|
1838
|
-
"description": "If defined, used on conjunction with onClick property, second argument",
|
1839
|
-
"type": "string | undefined"
|
1840
|
-
},
|
1841
|
-
{
|
1842
|
-
"name": "stretch",
|
1843
|
-
"description": "If true, fills the parents horizontal axis",
|
1844
|
-
"type": "boolean"
|
1845
|
-
},
|
1846
|
-
{
|
1847
|
-
"name": "target",
|
1848
|
-
"description": "If defined, specifies where to open the linked document",
|
1849
|
-
"type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
1850
|
-
},
|
1851
|
-
{
|
1852
|
-
"name": "type",
|
1853
|
-
"description": "Defines the type of button",
|
1854
|
-
"type": "SkfLinkType"
|
1855
|
-
}
|
1856
|
-
],
|
1857
|
-
"events": []
|
1858
|
-
}
|
1859
|
-
},
|
1860
1883
|
{
|
1861
1884
|
"name": "skf-menu-item",
|
1862
|
-
"description": "The `<skf-menu-item>` is used in conjunction with the `<skf-menu>` component\n---\n\n\n### **Slots:**\n - _default_ - The component's main content",
|
1885
|
+
"description": "The `<skf-menu-item>` is used in conjunction with the `<skf-menu>` component\n---\n\n\n### **Events:**\n - **skf-link-click** - Fired when the link is clicked\n\n### **Slots:**\n - _default_ - The component's main content",
|
1863
1886
|
"doc-url": "",
|
1864
1887
|
"attributes": [
|
1865
1888
|
{
|
1866
1889
|
"name": "as",
|
1867
1890
|
"description": "Defines the semantic element to render",
|
1868
|
-
"value": { "type": "'button' | '
|
1891
|
+
"value": { "type": "'button' | 'link'", "default": "'link'" }
|
1869
1892
|
},
|
1870
1893
|
{
|
1871
1894
|
"name": "color",
|
1872
1895
|
"description": "Defines the text-color",
|
1873
|
-
"value": {
|
1874
|
-
"type": "'primary' | 'inverse'",
|
1875
|
-
"default": "'primary'"
|
1876
|
-
}
|
1896
|
+
"value": { "type": "Color", "default": "'primary'" }
|
1877
1897
|
},
|
1878
1898
|
{
|
1879
1899
|
"name": "disabled",
|
@@ -1883,7 +1903,7 @@
|
|
1883
1903
|
{
|
1884
1904
|
"name": "download",
|
1885
1905
|
"description": "If defined, downloads the url",
|
1886
|
-
"value": { "type": "
|
1906
|
+
"value": { "type": "boolean", "default": "false" }
|
1887
1907
|
},
|
1888
1908
|
{
|
1889
1909
|
"name": "href",
|
@@ -1896,9 +1916,9 @@
|
|
1896
1916
|
"value": { "type": "Icon | undefined" }
|
1897
1917
|
},
|
1898
1918
|
{
|
1899
|
-
"name": "icon-
|
1900
|
-
"description": "
|
1901
|
-
"value": { "type": "
|
1919
|
+
"name": "icon-right",
|
1920
|
+
"description": "If true, the icon is placed to the right in relation to the text",
|
1921
|
+
"value": { "type": "boolean", "default": "false" }
|
1902
1922
|
},
|
1903
1923
|
{
|
1904
1924
|
"name": "rel",
|
@@ -1907,7 +1927,7 @@
|
|
1907
1927
|
},
|
1908
1928
|
{
|
1909
1929
|
"name": "route",
|
1910
|
-
"description": "If defined, used on conjunction with onClick property
|
1930
|
+
"description": "If defined, used on conjunction with onClick property. **Notice!** Only applicable to as=button.",
|
1911
1931
|
"value": { "type": "string | undefined" }
|
1912
1932
|
},
|
1913
1933
|
{
|
@@ -1921,29 +1941,29 @@
|
|
1921
1941
|
"value": {
|
1922
1942
|
"type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
1923
1943
|
}
|
1924
|
-
},
|
1925
|
-
{
|
1926
|
-
"name": "type",
|
1927
|
-
"description": "Defines the type of button",
|
1928
|
-
"value": { "type": "SkfLinkType", "default": "'button'" }
|
1929
1944
|
}
|
1930
1945
|
],
|
1931
1946
|
"slots": [
|
1932
1947
|
{ "name": "", "description": "The component's main content" }
|
1933
1948
|
],
|
1934
|
-
"events": [
|
1949
|
+
"events": [
|
1950
|
+
{
|
1951
|
+
"name": "skf-link-click",
|
1952
|
+
"type": "CustomEvent",
|
1953
|
+
"description": "Fired when the link is clicked"
|
1954
|
+
}
|
1955
|
+
],
|
1935
1956
|
"js": {
|
1936
1957
|
"properties": [
|
1937
|
-
{ "name": "role", "type": "string" },
|
1938
1958
|
{
|
1939
1959
|
"name": "as",
|
1940
1960
|
"description": "Defines the semantic element to render",
|
1941
|
-
"type": "'button' | '
|
1961
|
+
"type": "'button' | 'link'"
|
1942
1962
|
},
|
1943
1963
|
{
|
1944
1964
|
"name": "color",
|
1945
1965
|
"description": "Defines the text-color",
|
1946
|
-
"type": "
|
1966
|
+
"type": "Color"
|
1947
1967
|
},
|
1948
1968
|
{
|
1949
1969
|
"name": "disabled",
|
@@ -1953,7 +1973,7 @@
|
|
1953
1973
|
{
|
1954
1974
|
"name": "download",
|
1955
1975
|
"description": "If defined, downloads the url",
|
1956
|
-
"type": "
|
1976
|
+
"type": "boolean"
|
1957
1977
|
},
|
1958
1978
|
{
|
1959
1979
|
"name": "href",
|
@@ -1966,13 +1986,9 @@
|
|
1966
1986
|
"type": "Icon | undefined"
|
1967
1987
|
},
|
1968
1988
|
{
|
1969
|
-
"name": "
|
1970
|
-
"description": "
|
1971
|
-
"type": "
|
1972
|
-
},
|
1973
|
-
{
|
1974
|
-
"name": "onClick",
|
1975
|
-
"description": "If defined, accepts a function that runs on click. Forwards optional route as second argument."
|
1989
|
+
"name": "iconRight",
|
1990
|
+
"description": "If true, the icon is placed to the right in relation to the text",
|
1991
|
+
"type": "boolean"
|
1976
1992
|
},
|
1977
1993
|
{
|
1978
1994
|
"name": "rel",
|
@@ -1981,7 +1997,7 @@
|
|
1981
1997
|
},
|
1982
1998
|
{
|
1983
1999
|
"name": "route",
|
1984
|
-
"description": "If defined, used on conjunction with onClick property
|
2000
|
+
"description": "If defined, used on conjunction with onClick property. **Notice!** Only applicable to as=button.",
|
1985
2001
|
"type": "string | undefined"
|
1986
2002
|
},
|
1987
2003
|
{
|
@@ -1993,14 +2009,15 @@
|
|
1993
2009
|
"name": "target",
|
1994
2010
|
"description": "If defined, specifies where to open the linked document",
|
1995
2011
|
"type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
1996
|
-
},
|
1997
|
-
{
|
1998
|
-
"name": "type",
|
1999
|
-
"description": "Defines the type of button",
|
2000
|
-
"type": "SkfLinkType"
|
2001
2012
|
}
|
2002
2013
|
],
|
2003
|
-
"events": [
|
2014
|
+
"events": [
|
2015
|
+
{
|
2016
|
+
"name": "skf-link-click",
|
2017
|
+
"type": "CustomEvent",
|
2018
|
+
"description": "Fired when the link is clicked"
|
2019
|
+
}
|
2020
|
+
]
|
2004
2021
|
}
|
2005
2022
|
},
|
2006
2023
|
{
|
@@ -2051,26 +2068,6 @@
|
|
2051
2068
|
]
|
2052
2069
|
}
|
2053
2070
|
},
|
2054
|
-
{
|
2055
|
-
"name": "skf-nav-item",
|
2056
|
-
"description": "The `<skf-nav>` is a component that displays a list of <nav-items>.\n---\n\n\n### **Slots:**\n - _default_ - The component's main content",
|
2057
|
-
"doc-url": "",
|
2058
|
-
"attributes": [
|
2059
|
-
{ "name": "href", "value": { "type": "string", "default": "'#'" } },
|
2060
|
-
{ "name": "icon", "value": { "type": "Icon | undefined" } }
|
2061
|
-
],
|
2062
|
-
"slots": [
|
2063
|
-
{ "name": "", "description": "The component's main content" }
|
2064
|
-
],
|
2065
|
-
"events": [],
|
2066
|
-
"js": {
|
2067
|
-
"properties": [
|
2068
|
-
{ "name": "href", "type": "string" },
|
2069
|
-
{ "name": "icon", "type": "Icon | undefined" }
|
2070
|
-
],
|
2071
|
-
"events": []
|
2072
|
-
}
|
2073
|
-
},
|
2074
2071
|
{
|
2075
2072
|
"name": "skf-popover",
|
2076
2073
|
"description": "The `<skf-popover>` is a general purpose component that displays the slot content in a popover.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/983e5d-popover) for design principles\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the menu is opened\n- **skf-closed** - Fired when the menu is closed\n\n### **Slots:**\n - _default_ - The popover content",
|
@@ -2424,7 +2421,10 @@
|
|
2424
2421
|
],
|
2425
2422
|
"events": [],
|
2426
2423
|
"js": {
|
2427
|
-
"properties": [
|
2424
|
+
"properties": [
|
2425
|
+
{ "name": "label", "type": "string" },
|
2426
|
+
{ "name": "small", "type": "boolean" }
|
2427
|
+
],
|
2428
2428
|
"events": []
|
2429
2429
|
}
|
2430
2430
|
},
|
@@ -2807,6 +2807,7 @@
|
|
2807
2807
|
"name": "value",
|
2808
2808
|
"description": "Returns or sets the tags value. If value is omitted, defaults to the tags text."
|
2809
2809
|
},
|
2810
|
+
{ "name": "small", "type": "boolean" },
|
2810
2811
|
{ "name": "role", "type": "string" },
|
2811
2812
|
{ "name": "_parent" },
|
2812
2813
|
{ "name": "_shortcutUpdate", "type": "boolean" }
|
package/package.json
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
"url": "https://github.com/SKF-Internal/ui-components/issues"
|
7
7
|
},
|
8
8
|
"engines": {
|
9
|
-
"node": ">=
|
9
|
+
"node": ">=22",
|
10
10
|
"pnpm": ">=10"
|
11
11
|
},
|
12
12
|
"engineStrict": true,
|
@@ -34,9 +34,9 @@
|
|
34
34
|
"sideEffects": true,
|
35
35
|
"type": "module",
|
36
36
|
"types": "./dist/index.d.ts",
|
37
|
-
"version": "1.0.0-alpha.
|
37
|
+
"version": "1.0.0-alpha.36",
|
38
38
|
"dependencies": {
|
39
|
-
"@floating-ui/dom": "^1.
|
39
|
+
"@floating-ui/dom": "^1.7.0",
|
40
40
|
"@js-temporal/polyfill": "^0.5.1"
|
41
41
|
},
|
42
42
|
"devDependencies": {
|
@@ -44,7 +44,7 @@
|
|
44
44
|
"@commitlint/cli": "^19.8.0",
|
45
45
|
"@commitlint/config-conventional": "^19.8.0",
|
46
46
|
"@custom-elements-manifest/analyzer": "^0.10.4",
|
47
|
-
"@eslint/js": "^9.
|
47
|
+
"@eslint/js": "^9.26.0",
|
48
48
|
"@skf-design-system/ui-assets": "0.1.3-beta.4",
|
49
49
|
"@storybook/addon-a11y": "^8.6.12",
|
50
50
|
"@storybook/addon-essentials": "^8.6.12",
|
@@ -56,7 +56,7 @@
|
|
56
56
|
"@storybook/theming": "^8.6.12",
|
57
57
|
"@storybook/web-components": "^8.6.12",
|
58
58
|
"@storybook/web-components-vite": "^8.6.12",
|
59
|
-
"@types/node": "^22.
|
59
|
+
"@types/node": "^22.15.12",
|
60
60
|
"@wc-toolkit/module-path-resolver": "^1.0.0",
|
61
61
|
"@wc-toolkit/storybook-helpers": "^1.1.2",
|
62
62
|
"@wc-toolkit/type-parser": "^1.0.3",
|
@@ -65,25 +65,25 @@
|
|
65
65
|
"custom-element-jsx-integration": "^1.6.0",
|
66
66
|
"custom-element-vs-code-integration": "^1.5.0",
|
67
67
|
"custom-element-vuejs-integration": "^1.4.0",
|
68
|
-
"eslint": "^9.
|
69
|
-
"eslint-plugin-lit": "^2.
|
68
|
+
"eslint": "^9.26.0",
|
69
|
+
"eslint-plugin-lit": "^2.1.1",
|
70
70
|
"eslint-plugin-lit-a11y": "^4.1.4",
|
71
|
-
"eslint-plugin-wc": "^3.0.
|
71
|
+
"eslint-plugin-wc": "^3.0.1",
|
72
72
|
"husky": "^9.1.7",
|
73
73
|
"lint-staged": "^15.5.1",
|
74
74
|
"lit": "^3.3.0",
|
75
75
|
"postcss-styled-syntax": "^0.7.1",
|
76
76
|
"prettier": "3.5.3",
|
77
77
|
"storybook": "^8.6.12",
|
78
|
-
"stylelint": "^16.
|
78
|
+
"stylelint": "^16.19.1",
|
79
79
|
"stylelint-config-standard": "^38.0.0",
|
80
80
|
"stylelint-no-unsupported-browser-features": "^8.0.4",
|
81
|
-
"stylelint-order": "^
|
81
|
+
"stylelint-order": "^7.0.0",
|
82
82
|
"stylelint-value-no-unknown-custom-properties": "^6.0.1",
|
83
|
-
"tsc-alias": "^1.8.
|
83
|
+
"tsc-alias": "^1.8.16",
|
84
84
|
"typescript": "^5.8.3",
|
85
|
-
"typescript-eslint": "^8.
|
86
|
-
"vite": "^6.3.
|
85
|
+
"typescript-eslint": "^8.32.0",
|
86
|
+
"vite": "^6.3.5",
|
87
87
|
"vite-tsconfig-paths": "^5.1.4"
|
88
88
|
},
|
89
89
|
"peerDependencies": {
|