@skf-design-system/ui-components 1.0.2-beta.4 → 1.0.2-beta.6
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/datepicker/datepicker.component.js +1 -0
- package/dist/components/divider/divider.component.d.ts +3 -0
- package/dist/components/divider/divider.component.js +43 -22
- package/dist/components/divider/divider.styles.js +8 -8
- package/dist/components/drawer/drawer.component.d.ts +8 -2
- package/dist/components/drawer/drawer.component.js +74 -54
- package/dist/components/drawer/drawer.styles.js +47 -40
- 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/loader/loader.component.d.ts +5 -1
- package/dist/components/loader/loader.component.js +43 -29
- package/dist/components/loader/loader.styles.js +5 -9
- 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/menu/menu.component.d.ts +1 -1
- package/dist/components/menu/menu.component.js +8 -8
- 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 +30 -22
- 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 +6 -1
- package/dist/components/select/select-option.component.js +73 -53
- 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/select/select.styles.js +8 -2
- package/dist/components/stepper/stepper-item.component.d.ts +1 -1
- package/dist/components/stepper/stepper-item.component.js +26 -23
- package/dist/components/tabs/tab-panel.component.d.ts +1 -1
- package/dist/components/tabs/tab-panel.component.js +19 -16
- package/dist/components/tabs/tab.component.d.ts +1 -1
- package/dist/components/tabs/tab.component.js +17 -14
- package/dist/components/textarea/textarea.component.js +5 -4
- package/dist/components/toast/toast-item.styles.js +13 -10
- 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/components/tooltip/tooltip.component.d.ts +1 -0
- package/dist/components/tooltip/tooltip.component.js +10 -7
- package/dist/custom-elements.json +803 -704
- package/dist/index.d.ts +2 -2
- package/dist/index.js +20 -20
- package/dist/internal/base-classes/popover/popover.base.d.ts +3 -3
- package/dist/internal/base-classes/popover/popover.base.js +27 -26
- 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/internal/types.d.ts +4 -0
- package/dist/types/jsx/custom-element-jsx.d.ts +184 -81
- package/dist/types/vue/index.d.ts +77 -80
- package/dist/vscode.html-custom-data.json +93 -97
- package/dist/web-types.json +210 -215
- package/package.json +28 -28
package/dist/web-types.json
CHANGED
@@ -393,7 +393,7 @@
|
|
393
393
|
{
|
394
394
|
"name": "size",
|
395
395
|
"description": "Defines the size of the loader",
|
396
|
-
"value": { "type": "
|
396
|
+
"value": { "type": "Size", "default": "'md'" }
|
397
397
|
}
|
398
398
|
],
|
399
399
|
"events": [],
|
@@ -412,7 +412,7 @@
|
|
412
412
|
{
|
413
413
|
"name": "size",
|
414
414
|
"description": "Defines the size of the loader",
|
415
|
-
"type": "
|
415
|
+
"type": "Size"
|
416
416
|
}
|
417
417
|
],
|
418
418
|
"events": []
|
@@ -1201,7 +1201,7 @@
|
|
1201
1201
|
{
|
1202
1202
|
"name": "size",
|
1203
1203
|
"description": "Sets the max-width",
|
1204
|
-
"value": { "type": "
|
1204
|
+
"value": { "type": "Size", "default": "'md'" }
|
1205
1205
|
},
|
1206
1206
|
{
|
1207
1207
|
"name": "open",
|
@@ -1211,7 +1211,7 @@
|
|
1211
1211
|
{
|
1212
1212
|
"name": "placement",
|
1213
1213
|
"description": "Placement of the Drawer",
|
1214
|
-
"value": { "type": "
|
1214
|
+
"value": { "type": "Placement", "default": "'right'" }
|
1215
1215
|
}
|
1216
1216
|
],
|
1217
1217
|
"slots": [{ "name": "", "description": "The Drawer's main content" }],
|
@@ -1247,7 +1247,7 @@
|
|
1247
1247
|
{
|
1248
1248
|
"name": "size",
|
1249
1249
|
"description": "Sets the max-width",
|
1250
|
-
"type": "
|
1250
|
+
"type": "Size"
|
1251
1251
|
},
|
1252
1252
|
{
|
1253
1253
|
"name": "open",
|
@@ -1257,7 +1257,7 @@
|
|
1257
1257
|
{
|
1258
1258
|
"name": "placement",
|
1259
1259
|
"description": "Placement of the Drawer",
|
1260
|
-
"type": "
|
1260
|
+
"type": "Placement"
|
1261
1261
|
}
|
1262
1262
|
],
|
1263
1263
|
"events": [
|
@@ -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,8 +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": "
|
2811
|
-
{ "name": "_parent" },
|
2810
|
+
{ "name": "small", "type": "boolean" },
|
2812
2811
|
{ "name": "_shortcutUpdate", "type": "boolean" }
|
2813
2812
|
],
|
2814
2813
|
"events": [
|
@@ -2856,8 +2855,7 @@
|
|
2856
2855
|
"description": "If true, item marked as completed",
|
2857
2856
|
"type": "boolean"
|
2858
2857
|
},
|
2859
|
-
{ "name": "_setInternalState" }
|
2860
|
-
{ "name": "role", "type": "string" }
|
2858
|
+
{ "name": "_setInternalState" }
|
2861
2859
|
],
|
2862
2860
|
"events": [
|
2863
2861
|
{
|
@@ -3044,8 +3042,7 @@
|
|
3044
3042
|
"description": "The tab panel's name.",
|
3045
3043
|
"type": "string"
|
3046
3044
|
},
|
3047
|
-
{ "name": "active", "type": "boolean" }
|
3048
|
-
{ "name": "role", "type": "string" }
|
3045
|
+
{ "name": "active", "type": "boolean" }
|
3049
3046
|
],
|
3050
3047
|
"events": []
|
3051
3048
|
}
|
@@ -3157,8 +3154,7 @@
|
|
3157
3154
|
"type": "string"
|
3158
3155
|
},
|
3159
3156
|
{ "name": "selected", "type": "boolean" },
|
3160
|
-
{ "name": "variant", "type": "SkfTabs['variant']" }
|
3161
|
-
{ "name": "role", "type": "string" }
|
3157
|
+
{ "name": "variant", "type": "SkfTabs['variant']" }
|
3162
3158
|
],
|
3163
3159
|
"events": [
|
3164
3160
|
{
|
@@ -3529,7 +3525,6 @@
|
|
3529
3525
|
],
|
3530
3526
|
"js": {
|
3531
3527
|
"properties": [
|
3532
|
-
{ "name": "role", "type": "string" },
|
3533
3528
|
{ "name": "offset", "type": "number" },
|
3534
3529
|
{ "name": "placement", "type": "string" },
|
3535
3530
|
{ "name": "variant", "type": "string" }
|