@nordhealth/components 1.0.0-alpha.37 → 1.0.0-alpha.38
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 +1832 -824
- package/lib/Card.js +1 -1
- package/lib/Card.js.map +1 -1
- package/lib/CommandMenu.js +2 -2
- package/lib/CommandMenu.js.map +1 -1
- package/lib/FormField-02dd3b4f.js +2 -0
- package/lib/FormField-02dd3b4f.js.map +1 -0
- package/lib/Input.js +1 -1
- package/lib/Input.js.map +1 -1
- package/lib/Select.js +1 -1
- package/lib/Select.js.map +1 -1
- package/lib/SlotController-fda28afb.js +2 -0
- package/lib/SlotController-fda28afb.js.map +1 -0
- package/lib/TextField-afe4d64f.js +2 -0
- package/lib/TextField-afe4d64f.js.map +1 -0
- package/lib/Textarea.js +2 -0
- package/lib/Textarea.js.map +1 -0
- package/lib/events-731d0007.js +2 -0
- package/lib/events-731d0007.js.map +1 -0
- package/lib/events.js +1 -1
- package/lib/events.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/src/card/Card.d.ts +1 -2
- package/lib/src/common/controllers/SlotController.d.ts +9 -0
- package/lib/src/common/mixins/FormAssociatedMixin.d.ts +13 -1
- package/lib/src/index.d.ts +1 -0
- package/lib/src/input/Input.d.ts +1 -26
- package/lib/src/select/Select.d.ts +1 -25
- package/lib/src/textarea/Textarea.d.ts +33 -0
- package/lib/src/textarea/Textarea.test.d.ts +1 -0
- package/package.json +2 -2
- package/lib/FormAssociatedMixin-c9674b41.js +0 -2
- package/lib/FormAssociatedMixin-c9674b41.js.map +0 -1
- package/lib/collection.js +0 -2
- package/lib/collection.js.map +0 -1
- package/lib/events2.js +0 -2
- package/lib/events2.js.map +0 -1
- package/lib/focus.js +0 -2
- package/lib/focus.js.map +0 -1
- package/lib/number.js +0 -2
- package/lib/number.js.map +0 -1
- package/lib/ref.js +0 -2
- package/lib/ref.js.map +0 -1
package/custom-elements.json
CHANGED
|
@@ -94,6 +94,14 @@
|
|
|
94
94
|
"name": "default",
|
|
95
95
|
"module": "\"./visually-hidden/VisuallyHidden.js\""
|
|
96
96
|
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"kind": "js",
|
|
100
|
+
"name": "Textarea",
|
|
101
|
+
"declaration": {
|
|
102
|
+
"name": "default",
|
|
103
|
+
"module": "\"./textarea/Textarea.js\""
|
|
104
|
+
}
|
|
97
105
|
}
|
|
98
106
|
]
|
|
99
107
|
},
|
|
@@ -585,6 +593,12 @@
|
|
|
585
593
|
}
|
|
586
594
|
],
|
|
587
595
|
"members": [
|
|
596
|
+
{
|
|
597
|
+
"kind": "field",
|
|
598
|
+
"name": "slots",
|
|
599
|
+
"privacy": "private",
|
|
600
|
+
"default": "new SlotController(this)"
|
|
601
|
+
},
|
|
588
602
|
{
|
|
589
603
|
"kind": "field",
|
|
590
604
|
"name": "padding",
|
|
@@ -596,24 +610,6 @@
|
|
|
596
610
|
"attribute": "padding",
|
|
597
611
|
"reflects": true
|
|
598
612
|
},
|
|
599
|
-
{
|
|
600
|
-
"kind": "method",
|
|
601
|
-
"name": "handleSlotChange",
|
|
602
|
-
"privacy": "private"
|
|
603
|
-
},
|
|
604
|
-
{
|
|
605
|
-
"kind": "method",
|
|
606
|
-
"name": "hasSlottedContent",
|
|
607
|
-
"privacy": "private",
|
|
608
|
-
"parameters": [
|
|
609
|
-
{
|
|
610
|
-
"name": "slotName",
|
|
611
|
-
"type": {
|
|
612
|
-
"text": "string"
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
]
|
|
616
|
-
},
|
|
617
613
|
{
|
|
618
614
|
"kind": "field",
|
|
619
615
|
"name": "_warningLogged",
|
|
@@ -1230,6 +1226,184 @@
|
|
|
1230
1226
|
}
|
|
1231
1227
|
]
|
|
1232
1228
|
},
|
|
1229
|
+
{
|
|
1230
|
+
"kind": "javascript-module",
|
|
1231
|
+
"path": "src/common/collection.ts",
|
|
1232
|
+
"declarations": [
|
|
1233
|
+
{
|
|
1234
|
+
"kind": "function",
|
|
1235
|
+
"name": "groupBy",
|
|
1236
|
+
"parameters": [
|
|
1237
|
+
{
|
|
1238
|
+
"name": "array",
|
|
1239
|
+
"type": {
|
|
1240
|
+
"text": "Array<TObject>"
|
|
1241
|
+
},
|
|
1242
|
+
"description": "the collection of objects to group"
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
"name": "key",
|
|
1246
|
+
"type": {
|
|
1247
|
+
"text": "TKey"
|
|
1248
|
+
},
|
|
1249
|
+
"description": "the property to group by"
|
|
1250
|
+
}
|
|
1251
|
+
],
|
|
1252
|
+
"description": "Groups an array objects by property value",
|
|
1253
|
+
"return": {
|
|
1254
|
+
"type": {
|
|
1255
|
+
"text": ""
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
],
|
|
1260
|
+
"exports": [
|
|
1261
|
+
{
|
|
1262
|
+
"kind": "js",
|
|
1263
|
+
"name": "groupBy",
|
|
1264
|
+
"declaration": {
|
|
1265
|
+
"name": "groupBy",
|
|
1266
|
+
"module": "src/common/collection.ts"
|
|
1267
|
+
}
|
|
1268
|
+
}
|
|
1269
|
+
]
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
"kind": "javascript-module",
|
|
1273
|
+
"path": "src/common/events.ts",
|
|
1274
|
+
"declarations": [
|
|
1275
|
+
{
|
|
1276
|
+
"kind": "class",
|
|
1277
|
+
"description": "A base class for events which defaults to bubbling and composed",
|
|
1278
|
+
"name": "NordEvent",
|
|
1279
|
+
"superclass": {
|
|
1280
|
+
"name": "Event",
|
|
1281
|
+
"module": "src/common/events.ts"
|
|
1282
|
+
},
|
|
1283
|
+
"status": null,
|
|
1284
|
+
"category": null
|
|
1285
|
+
}
|
|
1286
|
+
],
|
|
1287
|
+
"exports": [
|
|
1288
|
+
{
|
|
1289
|
+
"kind": "js",
|
|
1290
|
+
"name": "NordEvent",
|
|
1291
|
+
"declaration": {
|
|
1292
|
+
"name": "NordEvent",
|
|
1293
|
+
"module": "src/common/events.ts"
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
]
|
|
1297
|
+
},
|
|
1298
|
+
{
|
|
1299
|
+
"kind": "javascript-module",
|
|
1300
|
+
"path": "src/common/focus.ts",
|
|
1301
|
+
"declarations": [
|
|
1302
|
+
{
|
|
1303
|
+
"kind": "function",
|
|
1304
|
+
"name": "getFocusedElement",
|
|
1305
|
+
"return": {
|
|
1306
|
+
"type": {
|
|
1307
|
+
"text": "Element | undefined"
|
|
1308
|
+
}
|
|
1309
|
+
},
|
|
1310
|
+
"parameters": [
|
|
1311
|
+
{
|
|
1312
|
+
"name": "root",
|
|
1313
|
+
"type": {
|
|
1314
|
+
"text": "Document | ShadowRoot"
|
|
1315
|
+
}
|
|
1316
|
+
}
|
|
1317
|
+
],
|
|
1318
|
+
"description": "Gets the currently focused element, taking shadow roots into account."
|
|
1319
|
+
}
|
|
1320
|
+
],
|
|
1321
|
+
"exports": [
|
|
1322
|
+
{
|
|
1323
|
+
"kind": "js",
|
|
1324
|
+
"name": "getFocusedElement",
|
|
1325
|
+
"declaration": {
|
|
1326
|
+
"name": "getFocusedElement",
|
|
1327
|
+
"module": "src/common/focus.ts"
|
|
1328
|
+
}
|
|
1329
|
+
}
|
|
1330
|
+
]
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"kind": "javascript-module",
|
|
1334
|
+
"path": "src/common/number.ts",
|
|
1335
|
+
"declarations": [
|
|
1336
|
+
{
|
|
1337
|
+
"kind": "function",
|
|
1338
|
+
"name": "wrap",
|
|
1339
|
+
"parameters": [
|
|
1340
|
+
{
|
|
1341
|
+
"name": "val",
|
|
1342
|
+
"type": {
|
|
1343
|
+
"text": "number"
|
|
1344
|
+
}
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
"name": "min",
|
|
1348
|
+
"type": {
|
|
1349
|
+
"text": "number"
|
|
1350
|
+
}
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
"name": "max",
|
|
1354
|
+
"type": {
|
|
1355
|
+
"text": "number"
|
|
1356
|
+
}
|
|
1357
|
+
}
|
|
1358
|
+
],
|
|
1359
|
+
"description": "Wraps a value so that it always falls within min/max,\nwhere a value greater than max gets set to min, and vice versa"
|
|
1360
|
+
}
|
|
1361
|
+
],
|
|
1362
|
+
"exports": [
|
|
1363
|
+
{
|
|
1364
|
+
"kind": "js",
|
|
1365
|
+
"name": "wrap",
|
|
1366
|
+
"declaration": {
|
|
1367
|
+
"name": "wrap",
|
|
1368
|
+
"module": "src/common/number.ts"
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
]
|
|
1372
|
+
},
|
|
1373
|
+
{
|
|
1374
|
+
"kind": "javascript-module",
|
|
1375
|
+
"path": "src/common/ref.ts",
|
|
1376
|
+
"declarations": [
|
|
1377
|
+
{
|
|
1378
|
+
"kind": "function",
|
|
1379
|
+
"name": "mergeRefs",
|
|
1380
|
+
"return": {
|
|
1381
|
+
"type": {
|
|
1382
|
+
"text": "RefCallback"
|
|
1383
|
+
}
|
|
1384
|
+
},
|
|
1385
|
+
"parameters": [
|
|
1386
|
+
{
|
|
1387
|
+
"name": "refs",
|
|
1388
|
+
"type": {
|
|
1389
|
+
"text": "Ref[]"
|
|
1390
|
+
}
|
|
1391
|
+
}
|
|
1392
|
+
],
|
|
1393
|
+
"description": "Creates a ref callback which will assign the element to every given ref"
|
|
1394
|
+
}
|
|
1395
|
+
],
|
|
1396
|
+
"exports": [
|
|
1397
|
+
{
|
|
1398
|
+
"kind": "js",
|
|
1399
|
+
"name": "mergeRefs",
|
|
1400
|
+
"declaration": {
|
|
1401
|
+
"name": "mergeRefs",
|
|
1402
|
+
"module": "src/common/ref.ts"
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
]
|
|
1406
|
+
},
|
|
1233
1407
|
{
|
|
1234
1408
|
"kind": "javascript-module",
|
|
1235
1409
|
"path": "src/icon/Icon.ts",
|
|
@@ -1486,308 +1660,642 @@
|
|
|
1486
1660
|
},
|
|
1487
1661
|
{
|
|
1488
1662
|
"kind": "javascript-module",
|
|
1489
|
-
"path": "src/
|
|
1663
|
+
"path": "src/input/Input.ts",
|
|
1490
1664
|
"declarations": [
|
|
1491
1665
|
{
|
|
1492
|
-
"kind": "
|
|
1493
|
-
"
|
|
1494
|
-
"
|
|
1666
|
+
"kind": "class",
|
|
1667
|
+
"description": "Inputs are used to allow users to provide text input when the expected input is short.\nAs well as plain text, Input supports various types of text, including passwords and numbers.",
|
|
1668
|
+
"name": "Input",
|
|
1669
|
+
"slots": [
|
|
1495
1670
|
{
|
|
1496
|
-
"
|
|
1671
|
+
"description": "Use when a label requires more than plain text.",
|
|
1672
|
+
"name": "label"
|
|
1673
|
+
},
|
|
1674
|
+
{
|
|
1675
|
+
"description": "Optional slot that holds hint text for the input.",
|
|
1676
|
+
"name": "hint"
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
"description": "Optional slot that holds error text for the input.",
|
|
1680
|
+
"name": "error"
|
|
1681
|
+
},
|
|
1682
|
+
{
|
|
1683
|
+
"description": "Optional slot that holds an icon for the input.",
|
|
1684
|
+
"name": "before"
|
|
1685
|
+
}
|
|
1686
|
+
],
|
|
1687
|
+
"members": [
|
|
1688
|
+
{
|
|
1689
|
+
"kind": "field",
|
|
1690
|
+
"name": "type",
|
|
1497
1691
|
"type": {
|
|
1498
|
-
"text": "
|
|
1692
|
+
"text": "\"text\" | \"email\" | \"password\" | \"tel\" | \"url\" | \"search\" | \"number\""
|
|
1499
1693
|
},
|
|
1500
|
-
"
|
|
1694
|
+
"default": "\"text\"",
|
|
1695
|
+
"description": "The type of the input.",
|
|
1696
|
+
"attribute": "type"
|
|
1501
1697
|
},
|
|
1502
1698
|
{
|
|
1503
|
-
"
|
|
1699
|
+
"kind": "field",
|
|
1700
|
+
"name": "slots",
|
|
1701
|
+
"privacy": "protected",
|
|
1702
|
+
"default": "new SlotController(this)",
|
|
1703
|
+
"inheritedFrom": {
|
|
1704
|
+
"name": "FormAssociatedMixin",
|
|
1705
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1706
|
+
}
|
|
1707
|
+
},
|
|
1708
|
+
{
|
|
1709
|
+
"kind": "field",
|
|
1710
|
+
"name": "inputId",
|
|
1504
1711
|
"type": {
|
|
1505
|
-
"text": "
|
|
1712
|
+
"text": "string"
|
|
1506
1713
|
},
|
|
1507
|
-
"
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
}
|
|
1515
|
-
}
|
|
1516
|
-
}
|
|
1517
|
-
],
|
|
1518
|
-
"exports": [
|
|
1519
|
-
{
|
|
1520
|
-
"kind": "js",
|
|
1521
|
-
"name": "groupBy",
|
|
1522
|
-
"declaration": {
|
|
1523
|
-
"name": "groupBy",
|
|
1524
|
-
"module": "src/common/collection.ts"
|
|
1525
|
-
}
|
|
1526
|
-
}
|
|
1527
|
-
]
|
|
1528
|
-
},
|
|
1529
|
-
{
|
|
1530
|
-
"kind": "javascript-module",
|
|
1531
|
-
"path": "src/common/events.ts",
|
|
1532
|
-
"declarations": [
|
|
1533
|
-
{
|
|
1534
|
-
"kind": "class",
|
|
1535
|
-
"description": "A base class for events which defaults to bubbling and composed",
|
|
1536
|
-
"name": "NordEvent",
|
|
1537
|
-
"superclass": {
|
|
1538
|
-
"name": "Event",
|
|
1539
|
-
"module": "src/common/events.ts"
|
|
1540
|
-
},
|
|
1541
|
-
"status": null,
|
|
1542
|
-
"category": null
|
|
1543
|
-
}
|
|
1544
|
-
],
|
|
1545
|
-
"exports": [
|
|
1546
|
-
{
|
|
1547
|
-
"kind": "js",
|
|
1548
|
-
"name": "NordEvent",
|
|
1549
|
-
"declaration": {
|
|
1550
|
-
"name": "NordEvent",
|
|
1551
|
-
"module": "src/common/events.ts"
|
|
1552
|
-
}
|
|
1553
|
-
}
|
|
1554
|
-
]
|
|
1555
|
-
},
|
|
1556
|
-
{
|
|
1557
|
-
"kind": "javascript-module",
|
|
1558
|
-
"path": "src/common/focus.ts",
|
|
1559
|
-
"declarations": [
|
|
1560
|
-
{
|
|
1561
|
-
"kind": "function",
|
|
1562
|
-
"name": "getFocusedElement",
|
|
1563
|
-
"return": {
|
|
1564
|
-
"type": {
|
|
1565
|
-
"text": "Element | undefined"
|
|
1566
|
-
}
|
|
1567
|
-
},
|
|
1568
|
-
"parameters": [
|
|
1714
|
+
"privacy": "protected",
|
|
1715
|
+
"default": "\"input\"",
|
|
1716
|
+
"inheritedFrom": {
|
|
1717
|
+
"name": "FormAssociatedMixin",
|
|
1718
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1719
|
+
}
|
|
1720
|
+
},
|
|
1569
1721
|
{
|
|
1570
|
-
"
|
|
1722
|
+
"kind": "field",
|
|
1723
|
+
"name": "label",
|
|
1571
1724
|
"type": {
|
|
1572
|
-
"text": "
|
|
1725
|
+
"text": "string"
|
|
1726
|
+
},
|
|
1727
|
+
"default": "\"\"",
|
|
1728
|
+
"description": "Label for the input.",
|
|
1729
|
+
"attribute": "label",
|
|
1730
|
+
"inheritedFrom": {
|
|
1731
|
+
"name": "FormAssociatedMixin",
|
|
1732
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1733
|
+
}
|
|
1734
|
+
},
|
|
1735
|
+
{
|
|
1736
|
+
"kind": "field",
|
|
1737
|
+
"name": "hint",
|
|
1738
|
+
"type": {
|
|
1739
|
+
"text": "string | undefined"
|
|
1740
|
+
},
|
|
1741
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
1742
|
+
"attribute": "hint",
|
|
1743
|
+
"inheritedFrom": {
|
|
1744
|
+
"name": "FormAssociatedMixin",
|
|
1745
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1746
|
+
}
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
"kind": "field",
|
|
1750
|
+
"name": "hideLabel",
|
|
1751
|
+
"type": {
|
|
1752
|
+
"text": "boolean"
|
|
1753
|
+
},
|
|
1754
|
+
"default": "false",
|
|
1755
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
1756
|
+
"attribute": "hide-label",
|
|
1757
|
+
"inheritedFrom": {
|
|
1758
|
+
"name": "FormAssociatedMixin",
|
|
1759
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1760
|
+
}
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
"kind": "field",
|
|
1764
|
+
"name": "placeholder",
|
|
1765
|
+
"type": {
|
|
1766
|
+
"text": "string | undefined"
|
|
1767
|
+
},
|
|
1768
|
+
"description": "Placeholder text to display within the input.",
|
|
1769
|
+
"attribute": "placeholder",
|
|
1770
|
+
"inheritedFrom": {
|
|
1771
|
+
"name": "FormAssociatedMixin",
|
|
1772
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1773
|
+
}
|
|
1774
|
+
},
|
|
1775
|
+
{
|
|
1776
|
+
"kind": "field",
|
|
1777
|
+
"name": "error",
|
|
1778
|
+
"type": {
|
|
1779
|
+
"text": "string | undefined"
|
|
1780
|
+
},
|
|
1781
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
1782
|
+
"attribute": "error",
|
|
1783
|
+
"inheritedFrom": {
|
|
1784
|
+
"name": "FormAssociatedMixin",
|
|
1785
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1786
|
+
}
|
|
1787
|
+
},
|
|
1788
|
+
{
|
|
1789
|
+
"kind": "field",
|
|
1790
|
+
"name": "required",
|
|
1791
|
+
"type": {
|
|
1792
|
+
"text": "boolean"
|
|
1793
|
+
},
|
|
1794
|
+
"default": "false",
|
|
1795
|
+
"description": "Determines whether the input is required or not.\nAn input marked as required will be announced as such to users of assistive technology.\nWhen using this property you need to also set “novalidate” attribute on a form element to prevent browser from displaying its own validation errors.",
|
|
1796
|
+
"attribute": "required",
|
|
1797
|
+
"inheritedFrom": {
|
|
1798
|
+
"name": "FormAssociatedMixin",
|
|
1799
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1800
|
+
}
|
|
1801
|
+
},
|
|
1802
|
+
{
|
|
1803
|
+
"kind": "field",
|
|
1804
|
+
"name": "expand",
|
|
1805
|
+
"type": {
|
|
1806
|
+
"text": "boolean"
|
|
1807
|
+
},
|
|
1808
|
+
"default": "false",
|
|
1809
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
1810
|
+
"attribute": "expand",
|
|
1811
|
+
"reflects": true,
|
|
1812
|
+
"inheritedFrom": {
|
|
1813
|
+
"name": "FormAssociatedMixin",
|
|
1814
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1815
|
+
}
|
|
1816
|
+
},
|
|
1817
|
+
{
|
|
1818
|
+
"kind": "field",
|
|
1819
|
+
"name": "handleFormData",
|
|
1820
|
+
"privacy": "private",
|
|
1821
|
+
"inheritedFrom": {
|
|
1822
|
+
"name": "FormAssociatedMixin",
|
|
1823
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1824
|
+
}
|
|
1825
|
+
},
|
|
1826
|
+
{
|
|
1827
|
+
"kind": "method",
|
|
1828
|
+
"name": "handleChange",
|
|
1829
|
+
"privacy": "protected",
|
|
1830
|
+
"parameters": [
|
|
1831
|
+
{
|
|
1832
|
+
"name": "e",
|
|
1833
|
+
"type": {
|
|
1834
|
+
"text": "Event"
|
|
1835
|
+
}
|
|
1836
|
+
}
|
|
1837
|
+
],
|
|
1838
|
+
"inheritedFrom": {
|
|
1839
|
+
"name": "FormAssociatedMixin",
|
|
1840
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1841
|
+
}
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
"kind": "method",
|
|
1845
|
+
"name": "renderLabel",
|
|
1846
|
+
"privacy": "protected",
|
|
1847
|
+
"inheritedFrom": {
|
|
1848
|
+
"name": "FormAssociatedMixin",
|
|
1849
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1850
|
+
}
|
|
1851
|
+
},
|
|
1852
|
+
{
|
|
1853
|
+
"kind": "method",
|
|
1854
|
+
"name": "renderHint",
|
|
1855
|
+
"privacy": "private",
|
|
1856
|
+
"inheritedFrom": {
|
|
1857
|
+
"name": "FormAssociatedMixin",
|
|
1858
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1859
|
+
}
|
|
1860
|
+
},
|
|
1861
|
+
{
|
|
1862
|
+
"kind": "method",
|
|
1863
|
+
"name": "renderError",
|
|
1864
|
+
"privacy": "protected",
|
|
1865
|
+
"inheritedFrom": {
|
|
1866
|
+
"name": "FormAssociatedMixin",
|
|
1867
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1868
|
+
}
|
|
1869
|
+
},
|
|
1870
|
+
{
|
|
1871
|
+
"kind": "method",
|
|
1872
|
+
"name": "getDescribedBy",
|
|
1873
|
+
"privacy": "protected",
|
|
1874
|
+
"inheritedFrom": {
|
|
1875
|
+
"name": "FormAssociatedMixin",
|
|
1876
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1877
|
+
}
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
"kind": "method",
|
|
1881
|
+
"name": "getInvalid",
|
|
1882
|
+
"privacy": "protected",
|
|
1883
|
+
"inheritedFrom": {
|
|
1884
|
+
"name": "FormAssociatedMixin",
|
|
1885
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1886
|
+
}
|
|
1887
|
+
},
|
|
1888
|
+
{
|
|
1889
|
+
"kind": "field",
|
|
1890
|
+
"name": "hasHint",
|
|
1891
|
+
"privacy": "protected",
|
|
1892
|
+
"inheritedFrom": {
|
|
1893
|
+
"name": "FormAssociatedMixin",
|
|
1894
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1895
|
+
}
|
|
1896
|
+
},
|
|
1897
|
+
{
|
|
1898
|
+
"kind": "field",
|
|
1899
|
+
"name": "hasError",
|
|
1900
|
+
"privacy": "protected",
|
|
1901
|
+
"inheritedFrom": {
|
|
1902
|
+
"name": "FormAssociatedMixin",
|
|
1903
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1904
|
+
}
|
|
1905
|
+
},
|
|
1906
|
+
{
|
|
1907
|
+
"kind": "field",
|
|
1908
|
+
"name": "disabled",
|
|
1909
|
+
"type": {
|
|
1910
|
+
"text": "boolean"
|
|
1911
|
+
},
|
|
1912
|
+
"default": "false",
|
|
1913
|
+
"description": "Makes the input component disabled.\nThis prevents users from being able to interact with the component, and conveys its inactive state to assistive technologies.",
|
|
1914
|
+
"attribute": "disabled",
|
|
1915
|
+
"inheritedFrom": {
|
|
1916
|
+
"name": "InputMixin",
|
|
1917
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
1918
|
+
}
|
|
1919
|
+
},
|
|
1920
|
+
{
|
|
1921
|
+
"kind": "field",
|
|
1922
|
+
"name": "name",
|
|
1923
|
+
"type": {
|
|
1924
|
+
"text": "string | undefined"
|
|
1925
|
+
},
|
|
1926
|
+
"description": "The name of the input component.",
|
|
1927
|
+
"attribute": "name",
|
|
1928
|
+
"inheritedFrom": {
|
|
1929
|
+
"name": "InputMixin",
|
|
1930
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
1931
|
+
}
|
|
1932
|
+
},
|
|
1933
|
+
{
|
|
1934
|
+
"kind": "field",
|
|
1935
|
+
"name": "value",
|
|
1936
|
+
"type": {
|
|
1937
|
+
"text": "string | undefined"
|
|
1938
|
+
},
|
|
1939
|
+
"description": "The value of the input component.",
|
|
1940
|
+
"attribute": "value",
|
|
1941
|
+
"inheritedFrom": {
|
|
1942
|
+
"name": "InputMixin",
|
|
1943
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
1944
|
+
}
|
|
1945
|
+
},
|
|
1946
|
+
{
|
|
1947
|
+
"kind": "field",
|
|
1948
|
+
"name": "form",
|
|
1949
|
+
"privacy": "protected",
|
|
1950
|
+
"description": "Gets the form, if any, associated with the input element.",
|
|
1951
|
+
"inheritedFrom": {
|
|
1952
|
+
"name": "InputMixin",
|
|
1953
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
1954
|
+
}
|
|
1955
|
+
},
|
|
1956
|
+
{
|
|
1957
|
+
"kind": "field",
|
|
1958
|
+
"name": "focusableRef",
|
|
1959
|
+
"privacy": "protected",
|
|
1960
|
+
"inheritedFrom": {
|
|
1961
|
+
"name": "FocusableMixin",
|
|
1962
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
1963
|
+
}
|
|
1964
|
+
},
|
|
1965
|
+
{
|
|
1966
|
+
"kind": "method",
|
|
1967
|
+
"name": "focus",
|
|
1968
|
+
"parameters": [
|
|
1969
|
+
{
|
|
1970
|
+
"name": "options",
|
|
1971
|
+
"optional": true,
|
|
1972
|
+
"type": {
|
|
1973
|
+
"text": "FocusOptions"
|
|
1974
|
+
},
|
|
1975
|
+
"description": "An object which controls aspects of the focusing process."
|
|
1976
|
+
}
|
|
1977
|
+
],
|
|
1978
|
+
"description": "Programmatically move focus to the component",
|
|
1979
|
+
"inheritedFrom": {
|
|
1980
|
+
"name": "FocusableMixin",
|
|
1981
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
1982
|
+
}
|
|
1983
|
+
},
|
|
1984
|
+
{
|
|
1985
|
+
"kind": "method",
|
|
1986
|
+
"name": "blur",
|
|
1987
|
+
"description": "Programmatically remove focus from the component.",
|
|
1988
|
+
"inheritedFrom": {
|
|
1989
|
+
"name": "FocusableMixin",
|
|
1990
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
1991
|
+
}
|
|
1992
|
+
},
|
|
1993
|
+
{
|
|
1994
|
+
"kind": "method",
|
|
1995
|
+
"name": "click",
|
|
1996
|
+
"description": "Programmatically simulates a click on the component.",
|
|
1997
|
+
"inheritedFrom": {
|
|
1998
|
+
"name": "FocusableMixin",
|
|
1999
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
2000
|
+
}
|
|
2001
|
+
},
|
|
2002
|
+
{
|
|
2003
|
+
"kind": "field",
|
|
2004
|
+
"name": "_warningLogged",
|
|
2005
|
+
"type": {
|
|
2006
|
+
"text": "boolean"
|
|
2007
|
+
},
|
|
2008
|
+
"privacy": "private",
|
|
2009
|
+
"static": true,
|
|
2010
|
+
"default": "false",
|
|
2011
|
+
"inheritedFrom": {
|
|
2012
|
+
"name": "DraftComponentMixin",
|
|
2013
|
+
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
1573
2014
|
}
|
|
1574
2015
|
}
|
|
1575
2016
|
],
|
|
1576
|
-
"
|
|
1577
|
-
}
|
|
1578
|
-
],
|
|
1579
|
-
"exports": [
|
|
1580
|
-
{
|
|
1581
|
-
"kind": "js",
|
|
1582
|
-
"name": "getFocusedElement",
|
|
1583
|
-
"declaration": {
|
|
1584
|
-
"name": "getFocusedElement",
|
|
1585
|
-
"module": "src/common/focus.ts"
|
|
1586
|
-
}
|
|
1587
|
-
}
|
|
1588
|
-
]
|
|
1589
|
-
},
|
|
1590
|
-
{
|
|
1591
|
-
"kind": "javascript-module",
|
|
1592
|
-
"path": "src/common/number.ts",
|
|
1593
|
-
"declarations": [
|
|
1594
|
-
{
|
|
1595
|
-
"kind": "function",
|
|
1596
|
-
"name": "wrap",
|
|
1597
|
-
"parameters": [
|
|
2017
|
+
"attributes": [
|
|
1598
2018
|
{
|
|
1599
|
-
"name": "
|
|
2019
|
+
"name": "type",
|
|
1600
2020
|
"type": {
|
|
1601
|
-
"text": "number"
|
|
2021
|
+
"text": "\"text\" | \"email\" | \"password\" | \"tel\" | \"url\" | \"search\" | \"number\""
|
|
2022
|
+
},
|
|
2023
|
+
"default": "\"text\"",
|
|
2024
|
+
"description": "The type of the input.",
|
|
2025
|
+
"fieldName": "type"
|
|
2026
|
+
},
|
|
2027
|
+
{
|
|
2028
|
+
"name": "label",
|
|
2029
|
+
"type": {
|
|
2030
|
+
"text": "string"
|
|
2031
|
+
},
|
|
2032
|
+
"default": "\"\"",
|
|
2033
|
+
"description": "Label for the input.",
|
|
2034
|
+
"fieldName": "label",
|
|
2035
|
+
"inheritedFrom": {
|
|
2036
|
+
"name": "FormAssociatedMixin",
|
|
2037
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2038
|
+
}
|
|
2039
|
+
},
|
|
2040
|
+
{
|
|
2041
|
+
"name": "hint",
|
|
2042
|
+
"type": {
|
|
2043
|
+
"text": "string | undefined"
|
|
2044
|
+
},
|
|
2045
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
2046
|
+
"fieldName": "hint",
|
|
2047
|
+
"inheritedFrom": {
|
|
2048
|
+
"name": "FormAssociatedMixin",
|
|
2049
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2050
|
+
}
|
|
2051
|
+
},
|
|
2052
|
+
{
|
|
2053
|
+
"name": "hide-label",
|
|
2054
|
+
"type": {
|
|
2055
|
+
"text": "boolean"
|
|
2056
|
+
},
|
|
2057
|
+
"default": "false",
|
|
2058
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
2059
|
+
"fieldName": "hideLabel",
|
|
2060
|
+
"inheritedFrom": {
|
|
2061
|
+
"name": "FormAssociatedMixin",
|
|
2062
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2063
|
+
}
|
|
2064
|
+
},
|
|
2065
|
+
{
|
|
2066
|
+
"name": "placeholder",
|
|
2067
|
+
"type": {
|
|
2068
|
+
"text": "string | undefined"
|
|
2069
|
+
},
|
|
2070
|
+
"description": "Placeholder text to display within the input.",
|
|
2071
|
+
"fieldName": "placeholder",
|
|
2072
|
+
"inheritedFrom": {
|
|
2073
|
+
"name": "FormAssociatedMixin",
|
|
2074
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2075
|
+
}
|
|
2076
|
+
},
|
|
2077
|
+
{
|
|
2078
|
+
"name": "error",
|
|
2079
|
+
"type": {
|
|
2080
|
+
"text": "string | undefined"
|
|
2081
|
+
},
|
|
2082
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
2083
|
+
"fieldName": "error",
|
|
2084
|
+
"inheritedFrom": {
|
|
2085
|
+
"name": "FormAssociatedMixin",
|
|
2086
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2087
|
+
}
|
|
2088
|
+
},
|
|
2089
|
+
{
|
|
2090
|
+
"name": "required",
|
|
2091
|
+
"type": {
|
|
2092
|
+
"text": "boolean"
|
|
2093
|
+
},
|
|
2094
|
+
"default": "false",
|
|
2095
|
+
"description": "Determines whether the input is required or not.\nAn input marked as required will be announced as such to users of assistive technology.\nWhen using this property you need to also set “novalidate” attribute on a form element to prevent browser from displaying its own validation errors.",
|
|
2096
|
+
"fieldName": "required",
|
|
2097
|
+
"inheritedFrom": {
|
|
2098
|
+
"name": "FormAssociatedMixin",
|
|
2099
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2100
|
+
}
|
|
2101
|
+
},
|
|
2102
|
+
{
|
|
2103
|
+
"name": "expand",
|
|
2104
|
+
"type": {
|
|
2105
|
+
"text": "boolean"
|
|
2106
|
+
},
|
|
2107
|
+
"default": "false",
|
|
2108
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
2109
|
+
"fieldName": "expand",
|
|
2110
|
+
"inheritedFrom": {
|
|
2111
|
+
"name": "FormAssociatedMixin",
|
|
2112
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2113
|
+
}
|
|
2114
|
+
},
|
|
2115
|
+
{
|
|
2116
|
+
"name": "disabled",
|
|
2117
|
+
"type": {
|
|
2118
|
+
"text": "boolean"
|
|
2119
|
+
},
|
|
2120
|
+
"default": "false",
|
|
2121
|
+
"description": "Makes the input component disabled.\nThis prevents users from being able to interact with the component, and conveys its inactive state to assistive technologies.",
|
|
2122
|
+
"fieldName": "disabled",
|
|
2123
|
+
"inheritedFrom": {
|
|
2124
|
+
"name": "InputMixin",
|
|
2125
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
1602
2126
|
}
|
|
1603
2127
|
},
|
|
1604
2128
|
{
|
|
1605
|
-
"name": "
|
|
2129
|
+
"name": "name",
|
|
1606
2130
|
"type": {
|
|
1607
|
-
"text": "
|
|
2131
|
+
"text": "string | undefined"
|
|
2132
|
+
},
|
|
2133
|
+
"description": "The name of the input component.",
|
|
2134
|
+
"fieldName": "name",
|
|
2135
|
+
"inheritedFrom": {
|
|
2136
|
+
"name": "InputMixin",
|
|
2137
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
1608
2138
|
}
|
|
1609
2139
|
},
|
|
1610
2140
|
{
|
|
1611
|
-
"name": "
|
|
2141
|
+
"name": "value",
|
|
1612
2142
|
"type": {
|
|
1613
|
-
"text": "
|
|
2143
|
+
"text": "string | undefined"
|
|
2144
|
+
},
|
|
2145
|
+
"description": "The value of the input component.",
|
|
2146
|
+
"fieldName": "value",
|
|
2147
|
+
"inheritedFrom": {
|
|
2148
|
+
"name": "InputMixin",
|
|
2149
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
1614
2150
|
}
|
|
1615
2151
|
}
|
|
1616
2152
|
],
|
|
1617
|
-
"
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
"path": "src/common/ref.ts",
|
|
1634
|
-
"declarations": [
|
|
1635
|
-
{
|
|
1636
|
-
"kind": "function",
|
|
1637
|
-
"name": "mergeRefs",
|
|
1638
|
-
"return": {
|
|
1639
|
-
"type": {
|
|
1640
|
-
"text": "RefCallback"
|
|
2153
|
+
"mixins": [
|
|
2154
|
+
{
|
|
2155
|
+
"name": "FormAssociatedMixin",
|
|
2156
|
+
"module": "/src/common/mixins/FormAssociatedMixin.js"
|
|
2157
|
+
},
|
|
2158
|
+
{
|
|
2159
|
+
"name": "InputMixin",
|
|
2160
|
+
"module": "/src/common/mixins/InputMixin.js"
|
|
2161
|
+
},
|
|
2162
|
+
{
|
|
2163
|
+
"name": "FocusableMixin",
|
|
2164
|
+
"module": "/src/common/mixins/FocusableMixin.js"
|
|
2165
|
+
},
|
|
2166
|
+
{
|
|
2167
|
+
"name": "DraftComponentMixin",
|
|
2168
|
+
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
1641
2169
|
}
|
|
2170
|
+
],
|
|
2171
|
+
"superclass": {
|
|
2172
|
+
"name": "LitElement",
|
|
2173
|
+
"package": "lit"
|
|
1642
2174
|
},
|
|
1643
|
-
"
|
|
2175
|
+
"status": "draft",
|
|
2176
|
+
"category": "form",
|
|
2177
|
+
"tagName": "nord-input",
|
|
2178
|
+
"customElement": true,
|
|
2179
|
+
"events": [
|
|
1644
2180
|
{
|
|
1645
|
-
"name": "
|
|
2181
|
+
"name": "change",
|
|
1646
2182
|
"type": {
|
|
1647
|
-
"text": "
|
|
2183
|
+
"text": "NordEvent"
|
|
2184
|
+
},
|
|
2185
|
+
"description": "Fired whenever the input's value is changed via user interaction.",
|
|
2186
|
+
"inheritedFrom": {
|
|
2187
|
+
"name": "FormAssociatedMixin",
|
|
2188
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1648
2189
|
}
|
|
1649
2190
|
}
|
|
1650
|
-
]
|
|
1651
|
-
"description": "Creates a ref callback which will assign the element to every given ref"
|
|
2191
|
+
]
|
|
1652
2192
|
}
|
|
1653
2193
|
],
|
|
1654
2194
|
"exports": [
|
|
1655
2195
|
{
|
|
1656
2196
|
"kind": "js",
|
|
1657
|
-
"name": "
|
|
2197
|
+
"name": "default",
|
|
1658
2198
|
"declaration": {
|
|
1659
|
-
"name": "
|
|
1660
|
-
"module": "src/
|
|
2199
|
+
"name": "Input",
|
|
2200
|
+
"module": "src/input/Input.ts"
|
|
2201
|
+
}
|
|
2202
|
+
},
|
|
2203
|
+
{
|
|
2204
|
+
"kind": "custom-element-definition",
|
|
2205
|
+
"name": "nord-input",
|
|
2206
|
+
"declaration": {
|
|
2207
|
+
"name": "Input",
|
|
2208
|
+
"module": "src/input/Input.ts"
|
|
1661
2209
|
}
|
|
1662
2210
|
}
|
|
1663
2211
|
]
|
|
1664
2212
|
},
|
|
1665
2213
|
{
|
|
1666
2214
|
"kind": "javascript-module",
|
|
1667
|
-
"path": "src/
|
|
2215
|
+
"path": "src/select/Select.ts",
|
|
1668
2216
|
"declarations": [
|
|
1669
2217
|
{
|
|
1670
2218
|
"kind": "class",
|
|
1671
|
-
"description": "
|
|
1672
|
-
"name": "
|
|
2219
|
+
"description": "Select lets users choose one option from an options menu.\nConsider using select when you have 5 or more options to choose from.",
|
|
2220
|
+
"name": "Select",
|
|
1673
2221
|
"slots": [
|
|
2222
|
+
{
|
|
2223
|
+
"description": "Default slot for holding <option> elements.",
|
|
2224
|
+
"name": ""
|
|
2225
|
+
},
|
|
1674
2226
|
{
|
|
1675
2227
|
"description": "Use when a label requires more than plain text.",
|
|
1676
2228
|
"name": "label"
|
|
1677
2229
|
},
|
|
1678
2230
|
{
|
|
1679
|
-
"description": "
|
|
2231
|
+
"description": "Use when a hint requires more than plain text.",
|
|
1680
2232
|
"name": "hint"
|
|
1681
2233
|
},
|
|
1682
2234
|
{
|
|
1683
2235
|
"description": "Optional slot that holds error text for the input.",
|
|
1684
2236
|
"name": "error"
|
|
1685
|
-
},
|
|
1686
|
-
{
|
|
1687
|
-
"description": "Optional slot that holds an icon for the input.",
|
|
1688
|
-
"name": "before"
|
|
1689
2237
|
}
|
|
1690
2238
|
],
|
|
1691
2239
|
"members": [
|
|
1692
2240
|
{
|
|
1693
2241
|
"kind": "field",
|
|
1694
|
-
"name": "
|
|
1695
|
-
"type": {
|
|
1696
|
-
"text": "\"text\" | \"email\" | \"password\" | \"tel\" | \"url\" | \"search\" | \"number\""
|
|
1697
|
-
},
|
|
1698
|
-
"default": "\"text\"",
|
|
1699
|
-
"description": "The type of the input.",
|
|
1700
|
-
"attribute": "type"
|
|
1701
|
-
},
|
|
1702
|
-
{
|
|
1703
|
-
"kind": "field",
|
|
1704
|
-
"name": "hint",
|
|
1705
|
-
"type": {
|
|
1706
|
-
"text": "string | undefined"
|
|
1707
|
-
},
|
|
1708
|
-
"description": "Optional hint text to be displayed with input. Alternatively use the hint slot.",
|
|
1709
|
-
"attribute": "hint"
|
|
1710
|
-
},
|
|
1711
|
-
{
|
|
1712
|
-
"kind": "field",
|
|
1713
|
-
"name": "hideLabel",
|
|
1714
|
-
"type": {
|
|
1715
|
-
"text": "boolean"
|
|
1716
|
-
},
|
|
1717
|
-
"default": "false",
|
|
1718
|
-
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
1719
|
-
"attribute": "hide-label"
|
|
1720
|
-
},
|
|
1721
|
-
{
|
|
1722
|
-
"kind": "field",
|
|
1723
|
-
"name": "placeholder",
|
|
1724
|
-
"type": {
|
|
1725
|
-
"text": "string | undefined"
|
|
1726
|
-
},
|
|
1727
|
-
"description": "Placeholder of the input.",
|
|
1728
|
-
"attribute": "placeholder"
|
|
1729
|
-
},
|
|
1730
|
-
{
|
|
1731
|
-
"kind": "field",
|
|
1732
|
-
"name": "error",
|
|
2242
|
+
"name": "inputId",
|
|
1733
2243
|
"type": {
|
|
1734
|
-
"text": "string
|
|
2244
|
+
"text": "string"
|
|
1735
2245
|
},
|
|
1736
|
-
"
|
|
1737
|
-
"
|
|
2246
|
+
"privacy": "protected",
|
|
2247
|
+
"default": "\"select\"",
|
|
2248
|
+
"inheritedFrom": {
|
|
2249
|
+
"name": "FormAssociatedMixin",
|
|
2250
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2251
|
+
}
|
|
1738
2252
|
},
|
|
1739
2253
|
{
|
|
1740
2254
|
"kind": "field",
|
|
1741
|
-
"name": "
|
|
1742
|
-
"
|
|
1743
|
-
"text": "boolean"
|
|
1744
|
-
},
|
|
1745
|
-
"default": "false",
|
|
1746
|
-
"description": "Controls whether the input expands to fill the width of its container.",
|
|
1747
|
-
"attribute": "expand",
|
|
1748
|
-
"reflects": true
|
|
2255
|
+
"name": "options",
|
|
2256
|
+
"privacy": "private"
|
|
1749
2257
|
},
|
|
1750
2258
|
{
|
|
1751
2259
|
"kind": "method",
|
|
1752
|
-
"name": "
|
|
2260
|
+
"name": "getButtonText",
|
|
1753
2261
|
"privacy": "private",
|
|
2262
|
+
"return": {
|
|
2263
|
+
"type": {
|
|
2264
|
+
"text": "string"
|
|
2265
|
+
}
|
|
2266
|
+
},
|
|
1754
2267
|
"parameters": [
|
|
1755
2268
|
{
|
|
1756
|
-
"name": "
|
|
2269
|
+
"name": "options",
|
|
1757
2270
|
"type": {
|
|
1758
|
-
"text": "
|
|
2271
|
+
"text": "HTMLOptionElement[]"
|
|
1759
2272
|
}
|
|
1760
2273
|
}
|
|
1761
2274
|
]
|
|
1762
2275
|
},
|
|
1763
2276
|
{
|
|
1764
2277
|
"kind": "method",
|
|
1765
|
-
"name": "
|
|
1766
|
-
"privacy": "private"
|
|
1767
|
-
},
|
|
1768
|
-
{
|
|
1769
|
-
"kind": "method",
|
|
1770
|
-
"name": "renderError",
|
|
1771
|
-
"privacy": "private"
|
|
1772
|
-
},
|
|
1773
|
-
{
|
|
1774
|
-
"kind": "method",
|
|
1775
|
-
"name": "handleSlotChange",
|
|
1776
|
-
"privacy": "private"
|
|
1777
|
-
},
|
|
1778
|
-
{
|
|
1779
|
-
"kind": "method",
|
|
1780
|
-
"name": "hasSlottedContent",
|
|
2278
|
+
"name": "renderOption",
|
|
1781
2279
|
"privacy": "private",
|
|
1782
2280
|
"parameters": [
|
|
1783
2281
|
{
|
|
1784
|
-
"name": "
|
|
2282
|
+
"name": "option",
|
|
1785
2283
|
"type": {
|
|
1786
|
-
"text": "
|
|
2284
|
+
"text": "HTMLOptionElement"
|
|
1787
2285
|
}
|
|
1788
2286
|
}
|
|
1789
2287
|
]
|
|
1790
2288
|
},
|
|
2289
|
+
{
|
|
2290
|
+
"kind": "field",
|
|
2291
|
+
"name": "slots",
|
|
2292
|
+
"privacy": "protected",
|
|
2293
|
+
"default": "new SlotController(this)",
|
|
2294
|
+
"inheritedFrom": {
|
|
2295
|
+
"name": "FormAssociatedMixin",
|
|
2296
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2297
|
+
}
|
|
2298
|
+
},
|
|
1791
2299
|
{
|
|
1792
2300
|
"kind": "field",
|
|
1793
2301
|
"name": "label",
|
|
@@ -1802,6 +2310,59 @@
|
|
|
1802
2310
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1803
2311
|
}
|
|
1804
2312
|
},
|
|
2313
|
+
{
|
|
2314
|
+
"kind": "field",
|
|
2315
|
+
"name": "hint",
|
|
2316
|
+
"type": {
|
|
2317
|
+
"text": "string | undefined"
|
|
2318
|
+
},
|
|
2319
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
2320
|
+
"attribute": "hint",
|
|
2321
|
+
"inheritedFrom": {
|
|
2322
|
+
"name": "FormAssociatedMixin",
|
|
2323
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2324
|
+
}
|
|
2325
|
+
},
|
|
2326
|
+
{
|
|
2327
|
+
"kind": "field",
|
|
2328
|
+
"name": "hideLabel",
|
|
2329
|
+
"type": {
|
|
2330
|
+
"text": "boolean"
|
|
2331
|
+
},
|
|
2332
|
+
"default": "false",
|
|
2333
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
2334
|
+
"attribute": "hide-label",
|
|
2335
|
+
"inheritedFrom": {
|
|
2336
|
+
"name": "FormAssociatedMixin",
|
|
2337
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2338
|
+
}
|
|
2339
|
+
},
|
|
2340
|
+
{
|
|
2341
|
+
"kind": "field",
|
|
2342
|
+
"name": "placeholder",
|
|
2343
|
+
"type": {
|
|
2344
|
+
"text": "string | undefined"
|
|
2345
|
+
},
|
|
2346
|
+
"description": "Placeholder text to display within the input.",
|
|
2347
|
+
"attribute": "placeholder",
|
|
2348
|
+
"inheritedFrom": {
|
|
2349
|
+
"name": "FormAssociatedMixin",
|
|
2350
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2351
|
+
}
|
|
2352
|
+
},
|
|
2353
|
+
{
|
|
2354
|
+
"kind": "field",
|
|
2355
|
+
"name": "error",
|
|
2356
|
+
"type": {
|
|
2357
|
+
"text": "string | undefined"
|
|
2358
|
+
},
|
|
2359
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
2360
|
+
"attribute": "error",
|
|
2361
|
+
"inheritedFrom": {
|
|
2362
|
+
"name": "FormAssociatedMixin",
|
|
2363
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2364
|
+
}
|
|
2365
|
+
},
|
|
1805
2366
|
{
|
|
1806
2367
|
"kind": "field",
|
|
1807
2368
|
"name": "required",
|
|
@@ -1816,6 +2377,21 @@
|
|
|
1816
2377
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1817
2378
|
}
|
|
1818
2379
|
},
|
|
2380
|
+
{
|
|
2381
|
+
"kind": "field",
|
|
2382
|
+
"name": "expand",
|
|
2383
|
+
"type": {
|
|
2384
|
+
"text": "boolean"
|
|
2385
|
+
},
|
|
2386
|
+
"default": "false",
|
|
2387
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
2388
|
+
"attribute": "expand",
|
|
2389
|
+
"reflects": true,
|
|
2390
|
+
"inheritedFrom": {
|
|
2391
|
+
"name": "FormAssociatedMixin",
|
|
2392
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2393
|
+
}
|
|
2394
|
+
},
|
|
1819
2395
|
{
|
|
1820
2396
|
"kind": "field",
|
|
1821
2397
|
"name": "handleFormData",
|
|
@@ -1842,6 +2418,69 @@
|
|
|
1842
2418
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1843
2419
|
}
|
|
1844
2420
|
},
|
|
2421
|
+
{
|
|
2422
|
+
"kind": "method",
|
|
2423
|
+
"name": "renderLabel",
|
|
2424
|
+
"privacy": "protected",
|
|
2425
|
+
"inheritedFrom": {
|
|
2426
|
+
"name": "FormAssociatedMixin",
|
|
2427
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2428
|
+
}
|
|
2429
|
+
},
|
|
2430
|
+
{
|
|
2431
|
+
"kind": "method",
|
|
2432
|
+
"name": "renderHint",
|
|
2433
|
+
"privacy": "private",
|
|
2434
|
+
"inheritedFrom": {
|
|
2435
|
+
"name": "FormAssociatedMixin",
|
|
2436
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2437
|
+
}
|
|
2438
|
+
},
|
|
2439
|
+
{
|
|
2440
|
+
"kind": "method",
|
|
2441
|
+
"name": "renderError",
|
|
2442
|
+
"privacy": "protected",
|
|
2443
|
+
"inheritedFrom": {
|
|
2444
|
+
"name": "FormAssociatedMixin",
|
|
2445
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2446
|
+
}
|
|
2447
|
+
},
|
|
2448
|
+
{
|
|
2449
|
+
"kind": "method",
|
|
2450
|
+
"name": "getDescribedBy",
|
|
2451
|
+
"privacy": "protected",
|
|
2452
|
+
"inheritedFrom": {
|
|
2453
|
+
"name": "FormAssociatedMixin",
|
|
2454
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2455
|
+
}
|
|
2456
|
+
},
|
|
2457
|
+
{
|
|
2458
|
+
"kind": "method",
|
|
2459
|
+
"name": "getInvalid",
|
|
2460
|
+
"privacy": "protected",
|
|
2461
|
+
"inheritedFrom": {
|
|
2462
|
+
"name": "FormAssociatedMixin",
|
|
2463
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2464
|
+
}
|
|
2465
|
+
},
|
|
2466
|
+
{
|
|
2467
|
+
"kind": "field",
|
|
2468
|
+
"name": "hasHint",
|
|
2469
|
+
"privacy": "protected",
|
|
2470
|
+
"inheritedFrom": {
|
|
2471
|
+
"name": "FormAssociatedMixin",
|
|
2472
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2473
|
+
}
|
|
2474
|
+
},
|
|
2475
|
+
{
|
|
2476
|
+
"kind": "field",
|
|
2477
|
+
"name": "hasError",
|
|
2478
|
+
"privacy": "protected",
|
|
2479
|
+
"inheritedFrom": {
|
|
2480
|
+
"name": "FormAssociatedMixin",
|
|
2481
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2482
|
+
}
|
|
2483
|
+
},
|
|
1845
2484
|
{
|
|
1846
2485
|
"kind": "field",
|
|
1847
2486
|
"name": "disabled",
|
|
@@ -1953,23 +2592,57 @@
|
|
|
1953
2592
|
}
|
|
1954
2593
|
}
|
|
1955
2594
|
],
|
|
2595
|
+
"mixins": [
|
|
2596
|
+
{
|
|
2597
|
+
"name": "FormAssociatedMixin",
|
|
2598
|
+
"module": "/src/common/mixins/FormAssociatedMixin.js"
|
|
2599
|
+
},
|
|
2600
|
+
{
|
|
2601
|
+
"name": "InputMixin",
|
|
2602
|
+
"module": "/src/common/mixins/InputMixin.js"
|
|
2603
|
+
},
|
|
2604
|
+
{
|
|
2605
|
+
"name": "FocusableMixin",
|
|
2606
|
+
"module": "/src/common/mixins/FocusableMixin.js"
|
|
2607
|
+
},
|
|
2608
|
+
{
|
|
2609
|
+
"name": "DraftComponentMixin",
|
|
2610
|
+
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
2611
|
+
}
|
|
2612
|
+
],
|
|
2613
|
+
"superclass": {
|
|
2614
|
+
"name": "LitElement",
|
|
2615
|
+
"package": "lit"
|
|
2616
|
+
},
|
|
2617
|
+
"status": "draft",
|
|
2618
|
+
"category": "form",
|
|
2619
|
+
"tagName": "nord-select",
|
|
2620
|
+
"customElement": true,
|
|
1956
2621
|
"attributes": [
|
|
1957
2622
|
{
|
|
1958
|
-
"name": "
|
|
2623
|
+
"name": "label",
|
|
1959
2624
|
"type": {
|
|
1960
|
-
"text": "
|
|
2625
|
+
"text": "string"
|
|
1961
2626
|
},
|
|
1962
|
-
"default": "\"
|
|
1963
|
-
"description": "
|
|
1964
|
-
"fieldName": "
|
|
2627
|
+
"default": "\"\"",
|
|
2628
|
+
"description": "Label for the input.",
|
|
2629
|
+
"fieldName": "label",
|
|
2630
|
+
"inheritedFrom": {
|
|
2631
|
+
"name": "FormAssociatedMixin",
|
|
2632
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2633
|
+
}
|
|
1965
2634
|
},
|
|
1966
2635
|
{
|
|
1967
2636
|
"name": "hint",
|
|
1968
2637
|
"type": {
|
|
1969
2638
|
"text": "string | undefined"
|
|
1970
2639
|
},
|
|
1971
|
-
"description": "Optional hint text to be displayed with input. Alternatively use the hint slot.",
|
|
1972
|
-
"fieldName": "hint"
|
|
2640
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
2641
|
+
"fieldName": "hint",
|
|
2642
|
+
"inheritedFrom": {
|
|
2643
|
+
"name": "FormAssociatedMixin",
|
|
2644
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2645
|
+
}
|
|
1973
2646
|
},
|
|
1974
2647
|
{
|
|
1975
2648
|
"name": "hide-label",
|
|
@@ -1978,110 +2651,225 @@
|
|
|
1978
2651
|
},
|
|
1979
2652
|
"default": "false",
|
|
1980
2653
|
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
1981
|
-
"fieldName": "hideLabel"
|
|
2654
|
+
"fieldName": "hideLabel",
|
|
2655
|
+
"inheritedFrom": {
|
|
2656
|
+
"name": "FormAssociatedMixin",
|
|
2657
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2658
|
+
}
|
|
1982
2659
|
},
|
|
1983
2660
|
{
|
|
1984
2661
|
"name": "placeholder",
|
|
1985
2662
|
"type": {
|
|
1986
2663
|
"text": "string | undefined"
|
|
1987
2664
|
},
|
|
1988
|
-
"description": "Placeholder
|
|
1989
|
-
"fieldName": "placeholder"
|
|
2665
|
+
"description": "Placeholder text to display within the input.",
|
|
2666
|
+
"fieldName": "placeholder",
|
|
2667
|
+
"inheritedFrom": {
|
|
2668
|
+
"name": "FormAssociatedMixin",
|
|
2669
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2670
|
+
}
|
|
1990
2671
|
},
|
|
1991
2672
|
{
|
|
1992
2673
|
"name": "error",
|
|
1993
2674
|
"type": {
|
|
1994
2675
|
"text": "string | undefined"
|
|
1995
2676
|
},
|
|
1996
|
-
"description": "Optional error to be shown with input. Alternatively use the error slot.",
|
|
1997
|
-
"fieldName": "error"
|
|
2677
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
2678
|
+
"fieldName": "error",
|
|
2679
|
+
"inheritedFrom": {
|
|
2680
|
+
"name": "FormAssociatedMixin",
|
|
2681
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2682
|
+
}
|
|
2683
|
+
},
|
|
2684
|
+
{
|
|
2685
|
+
"name": "required",
|
|
2686
|
+
"type": {
|
|
2687
|
+
"text": "boolean"
|
|
2688
|
+
},
|
|
2689
|
+
"default": "false",
|
|
2690
|
+
"description": "Determines whether the input is required or not.\nAn input marked as required will be announced as such to users of assistive technology.\nWhen using this property you need to also set “novalidate” attribute on a form element to prevent browser from displaying its own validation errors.",
|
|
2691
|
+
"fieldName": "required",
|
|
2692
|
+
"inheritedFrom": {
|
|
2693
|
+
"name": "FormAssociatedMixin",
|
|
2694
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2695
|
+
}
|
|
1998
2696
|
},
|
|
1999
2697
|
{
|
|
2000
2698
|
"name": "expand",
|
|
2001
2699
|
"type": {
|
|
2002
|
-
"text": "boolean"
|
|
2700
|
+
"text": "boolean"
|
|
2701
|
+
},
|
|
2702
|
+
"default": "false",
|
|
2703
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
2704
|
+
"fieldName": "expand",
|
|
2705
|
+
"inheritedFrom": {
|
|
2706
|
+
"name": "FormAssociatedMixin",
|
|
2707
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2708
|
+
}
|
|
2709
|
+
},
|
|
2710
|
+
{
|
|
2711
|
+
"name": "disabled",
|
|
2712
|
+
"type": {
|
|
2713
|
+
"text": "boolean"
|
|
2714
|
+
},
|
|
2715
|
+
"default": "false",
|
|
2716
|
+
"description": "Makes the input component disabled.\nThis prevents users from being able to interact with the component, and conveys its inactive state to assistive technologies.",
|
|
2717
|
+
"fieldName": "disabled",
|
|
2718
|
+
"inheritedFrom": {
|
|
2719
|
+
"name": "InputMixin",
|
|
2720
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
2721
|
+
}
|
|
2722
|
+
},
|
|
2723
|
+
{
|
|
2724
|
+
"name": "name",
|
|
2725
|
+
"type": {
|
|
2726
|
+
"text": "string | undefined"
|
|
2727
|
+
},
|
|
2728
|
+
"description": "The name of the input component.",
|
|
2729
|
+
"fieldName": "name",
|
|
2730
|
+
"inheritedFrom": {
|
|
2731
|
+
"name": "InputMixin",
|
|
2732
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
2733
|
+
}
|
|
2734
|
+
},
|
|
2735
|
+
{
|
|
2736
|
+
"name": "value",
|
|
2737
|
+
"type": {
|
|
2738
|
+
"text": "string | undefined"
|
|
2739
|
+
},
|
|
2740
|
+
"description": "The value of the input component.",
|
|
2741
|
+
"fieldName": "value",
|
|
2742
|
+
"inheritedFrom": {
|
|
2743
|
+
"name": "InputMixin",
|
|
2744
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
2745
|
+
}
|
|
2746
|
+
}
|
|
2747
|
+
],
|
|
2748
|
+
"events": [
|
|
2749
|
+
{
|
|
2750
|
+
"name": "change",
|
|
2751
|
+
"type": {
|
|
2752
|
+
"text": "NordEvent"
|
|
2753
|
+
},
|
|
2754
|
+
"description": "Fired whenever the input's value is changed via user interaction.",
|
|
2755
|
+
"inheritedFrom": {
|
|
2756
|
+
"name": "FormAssociatedMixin",
|
|
2757
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2758
|
+
}
|
|
2759
|
+
}
|
|
2760
|
+
]
|
|
2761
|
+
}
|
|
2762
|
+
],
|
|
2763
|
+
"exports": [
|
|
2764
|
+
{
|
|
2765
|
+
"kind": "js",
|
|
2766
|
+
"name": "default",
|
|
2767
|
+
"declaration": {
|
|
2768
|
+
"name": "Select",
|
|
2769
|
+
"module": "src/select/Select.ts"
|
|
2770
|
+
}
|
|
2771
|
+
},
|
|
2772
|
+
{
|
|
2773
|
+
"kind": "custom-element-definition",
|
|
2774
|
+
"name": "nord-select",
|
|
2775
|
+
"declaration": {
|
|
2776
|
+
"name": "Select",
|
|
2777
|
+
"module": "src/select/Select.ts"
|
|
2778
|
+
}
|
|
2779
|
+
}
|
|
2780
|
+
]
|
|
2781
|
+
},
|
|
2782
|
+
{
|
|
2783
|
+
"kind": "javascript-module",
|
|
2784
|
+
"path": "src/stack/Stack.ts",
|
|
2785
|
+
"declarations": [
|
|
2786
|
+
{
|
|
2787
|
+
"kind": "class",
|
|
2788
|
+
"description": "Stack component manages layout of immediate children along the\nvertical or horizontal axis with optional spacing between each child.",
|
|
2789
|
+
"name": "Stack",
|
|
2790
|
+
"slots": [
|
|
2791
|
+
{
|
|
2792
|
+
"description": "The stack content.",
|
|
2793
|
+
"name": ""
|
|
2794
|
+
}
|
|
2795
|
+
],
|
|
2796
|
+
"members": [
|
|
2797
|
+
{
|
|
2798
|
+
"kind": "field",
|
|
2799
|
+
"name": "gap",
|
|
2800
|
+
"type": {
|
|
2801
|
+
"text": "\"none\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
|
|
2802
|
+
},
|
|
2803
|
+
"default": "\"m\"",
|
|
2804
|
+
"description": "The space injected between components.",
|
|
2805
|
+
"attribute": "gap",
|
|
2806
|
+
"reflects": true
|
|
2807
|
+
},
|
|
2808
|
+
{
|
|
2809
|
+
"kind": "field",
|
|
2810
|
+
"name": "direction",
|
|
2811
|
+
"type": {
|
|
2812
|
+
"text": "\"vertical\" | \"horizontal\""
|
|
2003
2813
|
},
|
|
2004
|
-
"default": "
|
|
2005
|
-
"description": "
|
|
2006
|
-
"
|
|
2814
|
+
"default": "\"vertical\"",
|
|
2815
|
+
"description": "The direction of the stack.",
|
|
2816
|
+
"attribute": "direction",
|
|
2817
|
+
"reflects": true
|
|
2007
2818
|
},
|
|
2008
2819
|
{
|
|
2009
|
-
"
|
|
2820
|
+
"kind": "field",
|
|
2821
|
+
"name": "alignItems",
|
|
2010
2822
|
"type": {
|
|
2011
|
-
"text": "
|
|
2823
|
+
"text": "\"center\" | \"start\" | \"end\" | undefined"
|
|
2012
2824
|
},
|
|
2013
|
-
"
|
|
2014
|
-
"
|
|
2015
|
-
"
|
|
2016
|
-
"inheritedFrom": {
|
|
2017
|
-
"name": "FormAssociatedMixin",
|
|
2018
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2019
|
-
}
|
|
2825
|
+
"description": "How to align the child items inside the stack.",
|
|
2826
|
+
"attribute": "align-items",
|
|
2827
|
+
"reflects": true
|
|
2020
2828
|
},
|
|
2021
2829
|
{
|
|
2022
|
-
"
|
|
2830
|
+
"kind": "field",
|
|
2831
|
+
"name": "_warningLogged",
|
|
2023
2832
|
"type": {
|
|
2024
2833
|
"text": "boolean"
|
|
2025
2834
|
},
|
|
2835
|
+
"privacy": "private",
|
|
2836
|
+
"static": true,
|
|
2026
2837
|
"default": "false",
|
|
2027
|
-
"description": "Determines whether the input is required or not.\nAn input marked as required will be announced as such to users of assistive technology.\nWhen using this property you need to also set “novalidate” attribute on a form element to prevent browser from displaying its own validation errors.",
|
|
2028
|
-
"fieldName": "required",
|
|
2029
2838
|
"inheritedFrom": {
|
|
2030
|
-
"name": "
|
|
2031
|
-
"module": "src/common/mixins/
|
|
2839
|
+
"name": "DraftComponentMixin",
|
|
2840
|
+
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
2032
2841
|
}
|
|
2033
|
-
}
|
|
2842
|
+
}
|
|
2843
|
+
],
|
|
2844
|
+
"attributes": [
|
|
2034
2845
|
{
|
|
2035
|
-
"name": "
|
|
2846
|
+
"name": "gap",
|
|
2036
2847
|
"type": {
|
|
2037
|
-
"text": "
|
|
2848
|
+
"text": "\"none\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
|
|
2038
2849
|
},
|
|
2039
|
-
"default": "
|
|
2040
|
-
"description": "
|
|
2041
|
-
"fieldName": "
|
|
2042
|
-
"inheritedFrom": {
|
|
2043
|
-
"name": "InputMixin",
|
|
2044
|
-
"module": "src/common/mixins/InputMixin.ts"
|
|
2045
|
-
}
|
|
2850
|
+
"default": "\"m\"",
|
|
2851
|
+
"description": "The space injected between components.",
|
|
2852
|
+
"fieldName": "gap"
|
|
2046
2853
|
},
|
|
2047
2854
|
{
|
|
2048
|
-
"name": "
|
|
2855
|
+
"name": "direction",
|
|
2049
2856
|
"type": {
|
|
2050
|
-
"text": "
|
|
2857
|
+
"text": "\"vertical\" | \"horizontal\""
|
|
2051
2858
|
},
|
|
2052
|
-
"
|
|
2053
|
-
"
|
|
2054
|
-
"
|
|
2055
|
-
"name": "InputMixin",
|
|
2056
|
-
"module": "src/common/mixins/InputMixin.ts"
|
|
2057
|
-
}
|
|
2859
|
+
"default": "\"vertical\"",
|
|
2860
|
+
"description": "The direction of the stack.",
|
|
2861
|
+
"fieldName": "direction"
|
|
2058
2862
|
},
|
|
2059
2863
|
{
|
|
2060
|
-
"name": "
|
|
2864
|
+
"name": "align-items",
|
|
2061
2865
|
"type": {
|
|
2062
|
-
"text": "
|
|
2866
|
+
"text": "\"center\" | \"start\" | \"end\" | undefined"
|
|
2063
2867
|
},
|
|
2064
|
-
"description": "
|
|
2065
|
-
"fieldName": "
|
|
2066
|
-
"inheritedFrom": {
|
|
2067
|
-
"name": "InputMixin",
|
|
2068
|
-
"module": "src/common/mixins/InputMixin.ts"
|
|
2069
|
-
}
|
|
2868
|
+
"description": "How to align the child items inside the stack.",
|
|
2869
|
+
"fieldName": "alignItems"
|
|
2070
2870
|
}
|
|
2071
2871
|
],
|
|
2072
2872
|
"mixins": [
|
|
2073
|
-
{
|
|
2074
|
-
"name": "FormAssociatedMixin",
|
|
2075
|
-
"module": "/src/common/mixins/FormAssociatedMixin.js"
|
|
2076
|
-
},
|
|
2077
|
-
{
|
|
2078
|
-
"name": "InputMixin",
|
|
2079
|
-
"module": "/src/common/mixins/InputMixin.js"
|
|
2080
|
-
},
|
|
2081
|
-
{
|
|
2082
|
-
"name": "FocusableMixin",
|
|
2083
|
-
"module": "/src/common/mixins/FocusableMixin.js"
|
|
2084
|
-
},
|
|
2085
2873
|
{
|
|
2086
2874
|
"name": "DraftComponentMixin",
|
|
2087
2875
|
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
@@ -2092,22 +2880,9 @@
|
|
|
2092
2880
|
"package": "lit"
|
|
2093
2881
|
},
|
|
2094
2882
|
"status": "draft",
|
|
2095
|
-
"category": "
|
|
2096
|
-
"tagName": "nord-
|
|
2097
|
-
"customElement": true
|
|
2098
|
-
"events": [
|
|
2099
|
-
{
|
|
2100
|
-
"name": "change",
|
|
2101
|
-
"type": {
|
|
2102
|
-
"text": "NordEvent"
|
|
2103
|
-
},
|
|
2104
|
-
"description": "Fired whenever the input's value is changed via user interaction.",
|
|
2105
|
-
"inheritedFrom": {
|
|
2106
|
-
"name": "FormAssociatedMixin",
|
|
2107
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2108
|
-
}
|
|
2109
|
-
}
|
|
2110
|
-
]
|
|
2883
|
+
"category": "structure",
|
|
2884
|
+
"tagName": "nord-stack",
|
|
2885
|
+
"customElement": true
|
|
2111
2886
|
}
|
|
2112
2887
|
],
|
|
2113
2888
|
"exports": [
|
|
@@ -2115,171 +2890,180 @@
|
|
|
2115
2890
|
"kind": "js",
|
|
2116
2891
|
"name": "default",
|
|
2117
2892
|
"declaration": {
|
|
2118
|
-
"name": "
|
|
2119
|
-
"module": "src/
|
|
2893
|
+
"name": "Stack",
|
|
2894
|
+
"module": "src/stack/Stack.ts"
|
|
2120
2895
|
}
|
|
2121
2896
|
},
|
|
2122
2897
|
{
|
|
2123
2898
|
"kind": "custom-element-definition",
|
|
2124
|
-
"name": "nord-
|
|
2899
|
+
"name": "nord-stack",
|
|
2125
2900
|
"declaration": {
|
|
2126
|
-
"name": "
|
|
2127
|
-
"module": "src/
|
|
2901
|
+
"name": "Stack",
|
|
2902
|
+
"module": "src/stack/Stack.ts"
|
|
2128
2903
|
}
|
|
2129
2904
|
}
|
|
2130
2905
|
]
|
|
2131
2906
|
},
|
|
2132
2907
|
{
|
|
2133
2908
|
"kind": "javascript-module",
|
|
2134
|
-
"path": "src/
|
|
2909
|
+
"path": "src/table/Table.ts",
|
|
2135
2910
|
"declarations": [
|
|
2136
2911
|
{
|
|
2137
2912
|
"kind": "class",
|
|
2138
|
-
"description": "
|
|
2139
|
-
"name": "
|
|
2913
|
+
"description": "Table is used to organize and display information from a data set.\nProvides table styles in addition to features like sticky\nheaders and support for narrow viewports.",
|
|
2914
|
+
"name": "Table",
|
|
2140
2915
|
"slots": [
|
|
2141
2916
|
{
|
|
2142
|
-
"description": "
|
|
2917
|
+
"description": "The table.",
|
|
2143
2918
|
"name": ""
|
|
2144
|
-
},
|
|
2145
|
-
{
|
|
2146
|
-
"description": "Use when a label requires more than plain text.",
|
|
2147
|
-
"name": "label"
|
|
2148
|
-
},
|
|
2149
|
-
{
|
|
2150
|
-
"description": "Use when a hint requires more than plain text.",
|
|
2151
|
-
"name": "hint"
|
|
2152
|
-
},
|
|
2153
|
-
{
|
|
2154
|
-
"description": "Optional slot that holds error text for the input.",
|
|
2155
|
-
"name": "error"
|
|
2156
2919
|
}
|
|
2157
2920
|
],
|
|
2158
2921
|
"members": [
|
|
2159
2922
|
{
|
|
2160
2923
|
"kind": "field",
|
|
2161
|
-
"name": "
|
|
2162
|
-
"type": {
|
|
2163
|
-
"text": "string | undefined"
|
|
2164
|
-
},
|
|
2165
|
-
"description": "Optional hint text to be displayed with select. Alternatively use the hint slot.",
|
|
2166
|
-
"attribute": "hint"
|
|
2167
|
-
},
|
|
2168
|
-
{
|
|
2169
|
-
"kind": "field",
|
|
2170
|
-
"name": "hideLabel",
|
|
2924
|
+
"name": "density",
|
|
2171
2925
|
"type": {
|
|
2172
|
-
"text": "
|
|
2926
|
+
"text": "\"condensed\" | \"default\" | \"relaxed\""
|
|
2173
2927
|
},
|
|
2174
|
-
"default": "
|
|
2175
|
-
"description": "
|
|
2176
|
-
"attribute": "
|
|
2928
|
+
"default": "\"default\"",
|
|
2929
|
+
"description": "Controls the density of the table's rows and headers.\nRelaxed increases space, condensed reduces space.",
|
|
2930
|
+
"attribute": "density",
|
|
2931
|
+
"reflects": true
|
|
2177
2932
|
},
|
|
2178
2933
|
{
|
|
2179
|
-
"kind": "
|
|
2180
|
-
"name": "
|
|
2181
|
-
"
|
|
2182
|
-
|
|
2183
|
-
},
|
|
2184
|
-
"description": "Hint text to display as the first option of the select element.",
|
|
2185
|
-
"attribute": "placeholder"
|
|
2934
|
+
"kind": "method",
|
|
2935
|
+
"name": "renderStyles",
|
|
2936
|
+
"privacy": "private",
|
|
2937
|
+
"description": "renders table styles into nearest root.\nthis is necessary since we do not use shadow dom."
|
|
2186
2938
|
},
|
|
2187
2939
|
{
|
|
2188
|
-
"kind": "
|
|
2189
|
-
"name": "
|
|
2190
|
-
"
|
|
2191
|
-
|
|
2192
|
-
},
|
|
2193
|
-
"description": "Optional error to be shown with the select. Alternatively use the error slot.",
|
|
2194
|
-
"attribute": "error"
|
|
2940
|
+
"kind": "method",
|
|
2941
|
+
"name": "createRenderRoot",
|
|
2942
|
+
"privacy": "protected",
|
|
2943
|
+
"description": "opt out of shadow dom"
|
|
2195
2944
|
},
|
|
2196
2945
|
{
|
|
2197
2946
|
"kind": "field",
|
|
2198
|
-
"name": "
|
|
2947
|
+
"name": "_warningLogged",
|
|
2199
2948
|
"type": {
|
|
2200
2949
|
"text": "boolean"
|
|
2201
2950
|
},
|
|
2951
|
+
"privacy": "private",
|
|
2952
|
+
"static": true,
|
|
2202
2953
|
"default": "false",
|
|
2203
|
-
"
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
"privacy": "private"
|
|
2211
|
-
},
|
|
2212
|
-
{
|
|
2213
|
-
"kind": "field",
|
|
2214
|
-
"name": "options",
|
|
2215
|
-
"privacy": "private"
|
|
2216
|
-
},
|
|
2954
|
+
"inheritedFrom": {
|
|
2955
|
+
"name": "DraftComponentMixin",
|
|
2956
|
+
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
2957
|
+
}
|
|
2958
|
+
}
|
|
2959
|
+
],
|
|
2960
|
+
"attributes": [
|
|
2217
2961
|
{
|
|
2218
|
-
"
|
|
2219
|
-
"
|
|
2220
|
-
|
|
2221
|
-
"return": {
|
|
2222
|
-
"type": {
|
|
2223
|
-
"text": "string"
|
|
2224
|
-
}
|
|
2962
|
+
"name": "density",
|
|
2963
|
+
"type": {
|
|
2964
|
+
"text": "\"condensed\" | \"default\" | \"relaxed\""
|
|
2225
2965
|
},
|
|
2226
|
-
"
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2966
|
+
"default": "\"default\"",
|
|
2967
|
+
"description": "Controls the density of the table's rows and headers.\nRelaxed increases space, condensed reduces space.",
|
|
2968
|
+
"fieldName": "density"
|
|
2969
|
+
}
|
|
2970
|
+
],
|
|
2971
|
+
"mixins": [
|
|
2972
|
+
{
|
|
2973
|
+
"name": "DraftComponentMixin",
|
|
2974
|
+
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
2975
|
+
}
|
|
2976
|
+
],
|
|
2977
|
+
"superclass": {
|
|
2978
|
+
"name": "LitElement",
|
|
2979
|
+
"package": "lit"
|
|
2980
|
+
},
|
|
2981
|
+
"status": "draft",
|
|
2982
|
+
"category": "list",
|
|
2983
|
+
"tagName": "nord-table",
|
|
2984
|
+
"customElement": true
|
|
2985
|
+
}
|
|
2986
|
+
],
|
|
2987
|
+
"exports": [
|
|
2988
|
+
{
|
|
2989
|
+
"kind": "js",
|
|
2990
|
+
"name": "default",
|
|
2991
|
+
"declaration": {
|
|
2992
|
+
"name": "Table",
|
|
2993
|
+
"module": "src/table/Table.ts"
|
|
2994
|
+
}
|
|
2995
|
+
},
|
|
2996
|
+
{
|
|
2997
|
+
"kind": "custom-element-definition",
|
|
2998
|
+
"name": "nord-table",
|
|
2999
|
+
"declaration": {
|
|
3000
|
+
"name": "Table",
|
|
3001
|
+
"module": "src/table/Table.ts"
|
|
3002
|
+
}
|
|
3003
|
+
}
|
|
3004
|
+
]
|
|
3005
|
+
},
|
|
3006
|
+
{
|
|
3007
|
+
"kind": "javascript-module",
|
|
3008
|
+
"path": "src/textarea/Textarea.ts",
|
|
3009
|
+
"declarations": [
|
|
3010
|
+
{
|
|
3011
|
+
"kind": "class",
|
|
3012
|
+
"description": "Textarea is a component that allows user to write text over\nmultiple rows. Used when the expected user input is long.\nFor shorter input, use the Input component.",
|
|
3013
|
+
"name": "Textarea",
|
|
3014
|
+
"slots": [
|
|
3015
|
+
{
|
|
3016
|
+
"description": "Use when a label requires more than plain text.",
|
|
3017
|
+
"name": "label"
|
|
2234
3018
|
},
|
|
2235
3019
|
{
|
|
2236
|
-
"
|
|
2237
|
-
"name": "
|
|
2238
|
-
"privacy": "private",
|
|
2239
|
-
"parameters": [
|
|
2240
|
-
{
|
|
2241
|
-
"name": "hasHint",
|
|
2242
|
-
"type": {
|
|
2243
|
-
"text": "boolean"
|
|
2244
|
-
}
|
|
2245
|
-
}
|
|
2246
|
-
]
|
|
3020
|
+
"description": "Optional slot that holds hint text for the textarea.",
|
|
3021
|
+
"name": "hint"
|
|
2247
3022
|
},
|
|
2248
3023
|
{
|
|
2249
|
-
"
|
|
2250
|
-
"name": "
|
|
2251
|
-
|
|
3024
|
+
"description": "Optional slot that holds error text for the textarea.",
|
|
3025
|
+
"name": "error"
|
|
3026
|
+
}
|
|
3027
|
+
],
|
|
3028
|
+
"members": [
|
|
3029
|
+
{
|
|
3030
|
+
"kind": "field",
|
|
3031
|
+
"name": "inputId",
|
|
3032
|
+
"type": {
|
|
3033
|
+
"text": "string"
|
|
3034
|
+
},
|
|
3035
|
+
"privacy": "protected",
|
|
3036
|
+
"default": "\"textarea\"",
|
|
3037
|
+
"inheritedFrom": {
|
|
3038
|
+
"name": "FormAssociatedMixin",
|
|
3039
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3040
|
+
}
|
|
2252
3041
|
},
|
|
2253
3042
|
{
|
|
2254
|
-
"kind": "
|
|
2255
|
-
"name": "
|
|
2256
|
-
"
|
|
3043
|
+
"kind": "field",
|
|
3044
|
+
"name": "resize",
|
|
3045
|
+
"type": {
|
|
3046
|
+
"text": "\"vertical\" | \"auto\""
|
|
3047
|
+
},
|
|
3048
|
+
"default": "\"vertical\"",
|
|
3049
|
+
"description": "Controls whether the textarea is resizable.\nBy default is manually resizable vertically.\nSet to \"auto\" to enable auto-resizing as content grows.",
|
|
3050
|
+
"attribute": "resize",
|
|
3051
|
+
"reflects": true
|
|
2257
3052
|
},
|
|
2258
3053
|
{
|
|
2259
3054
|
"kind": "method",
|
|
2260
|
-
"name": "
|
|
2261
|
-
"privacy": "private"
|
|
2262
|
-
"parameters": [
|
|
2263
|
-
{
|
|
2264
|
-
"name": "option",
|
|
2265
|
-
"type": {
|
|
2266
|
-
"text": "HTMLOptionElement"
|
|
2267
|
-
}
|
|
2268
|
-
}
|
|
2269
|
-
]
|
|
3055
|
+
"name": "resizeToFitContent",
|
|
3056
|
+
"privacy": "private"
|
|
2270
3057
|
},
|
|
2271
3058
|
{
|
|
2272
|
-
"kind": "
|
|
2273
|
-
"name": "
|
|
2274
|
-
"privacy": "
|
|
2275
|
-
"
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
}
|
|
2281
|
-
}
|
|
2282
|
-
]
|
|
3059
|
+
"kind": "field",
|
|
3060
|
+
"name": "slots",
|
|
3061
|
+
"privacy": "protected",
|
|
3062
|
+
"default": "new SlotController(this)",
|
|
3063
|
+
"inheritedFrom": {
|
|
3064
|
+
"name": "FormAssociatedMixin",
|
|
3065
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3066
|
+
}
|
|
2283
3067
|
},
|
|
2284
3068
|
{
|
|
2285
3069
|
"kind": "field",
|
|
@@ -2297,13 +3081,12 @@
|
|
|
2297
3081
|
},
|
|
2298
3082
|
{
|
|
2299
3083
|
"kind": "field",
|
|
2300
|
-
"name": "
|
|
3084
|
+
"name": "hint",
|
|
2301
3085
|
"type": {
|
|
2302
|
-
"text": "
|
|
3086
|
+
"text": "string | undefined"
|
|
2303
3087
|
},
|
|
2304
|
-
"
|
|
2305
|
-
"
|
|
2306
|
-
"attribute": "required",
|
|
3088
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
3089
|
+
"attribute": "hint",
|
|
2307
3090
|
"inheritedFrom": {
|
|
2308
3091
|
"name": "FormAssociatedMixin",
|
|
2309
3092
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
@@ -2311,25 +3094,13 @@
|
|
|
2311
3094
|
},
|
|
2312
3095
|
{
|
|
2313
3096
|
"kind": "field",
|
|
2314
|
-
"name": "
|
|
2315
|
-
"
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
{
|
|
2322
|
-
"kind": "method",
|
|
2323
|
-
"name": "handleChange",
|
|
2324
|
-
"privacy": "protected",
|
|
2325
|
-
"parameters": [
|
|
2326
|
-
{
|
|
2327
|
-
"name": "e",
|
|
2328
|
-
"type": {
|
|
2329
|
-
"text": "Event"
|
|
2330
|
-
}
|
|
2331
|
-
}
|
|
2332
|
-
],
|
|
3097
|
+
"name": "hideLabel",
|
|
3098
|
+
"type": {
|
|
3099
|
+
"text": "boolean"
|
|
3100
|
+
},
|
|
3101
|
+
"default": "false",
|
|
3102
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
3103
|
+
"attribute": "hide-label",
|
|
2333
3104
|
"inheritedFrom": {
|
|
2334
3105
|
"name": "FormAssociatedMixin",
|
|
2335
3106
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
@@ -2337,444 +3108,243 @@
|
|
|
2337
3108
|
},
|
|
2338
3109
|
{
|
|
2339
3110
|
"kind": "field",
|
|
2340
|
-
"name": "
|
|
3111
|
+
"name": "placeholder",
|
|
2341
3112
|
"type": {
|
|
2342
|
-
"text": "
|
|
3113
|
+
"text": "string | undefined"
|
|
2343
3114
|
},
|
|
2344
|
-
"
|
|
2345
|
-
"
|
|
2346
|
-
"attribute": "disabled",
|
|
3115
|
+
"description": "Placeholder text to display within the input.",
|
|
3116
|
+
"attribute": "placeholder",
|
|
2347
3117
|
"inheritedFrom": {
|
|
2348
|
-
"name": "
|
|
2349
|
-
"module": "src/common/mixins/
|
|
3118
|
+
"name": "FormAssociatedMixin",
|
|
3119
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2350
3120
|
}
|
|
2351
3121
|
},
|
|
2352
3122
|
{
|
|
2353
3123
|
"kind": "field",
|
|
2354
|
-
"name": "
|
|
3124
|
+
"name": "error",
|
|
2355
3125
|
"type": {
|
|
2356
3126
|
"text": "string | undefined"
|
|
2357
3127
|
},
|
|
2358
|
-
"description": "
|
|
2359
|
-
"attribute": "
|
|
3128
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
3129
|
+
"attribute": "error",
|
|
2360
3130
|
"inheritedFrom": {
|
|
2361
|
-
"name": "
|
|
2362
|
-
"module": "src/common/mixins/
|
|
3131
|
+
"name": "FormAssociatedMixin",
|
|
3132
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2363
3133
|
}
|
|
2364
3134
|
},
|
|
2365
3135
|
{
|
|
2366
3136
|
"kind": "field",
|
|
2367
|
-
"name": "
|
|
3137
|
+
"name": "required",
|
|
2368
3138
|
"type": {
|
|
2369
|
-
"text": "
|
|
3139
|
+
"text": "boolean"
|
|
2370
3140
|
},
|
|
2371
|
-
"
|
|
2372
|
-
"
|
|
3141
|
+
"default": "false",
|
|
3142
|
+
"description": "Determines whether the input is required or not.\nAn input marked as required will be announced as such to users of assistive technology.\nWhen using this property you need to also set “novalidate” attribute on a form element to prevent browser from displaying its own validation errors.",
|
|
3143
|
+
"attribute": "required",
|
|
2373
3144
|
"inheritedFrom": {
|
|
2374
|
-
"name": "
|
|
2375
|
-
"module": "src/common/mixins/
|
|
3145
|
+
"name": "FormAssociatedMixin",
|
|
3146
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2376
3147
|
}
|
|
2377
3148
|
},
|
|
2378
3149
|
{
|
|
2379
3150
|
"kind": "field",
|
|
2380
|
-
"name": "
|
|
2381
|
-
"
|
|
2382
|
-
|
|
3151
|
+
"name": "expand",
|
|
3152
|
+
"type": {
|
|
3153
|
+
"text": "boolean"
|
|
3154
|
+
},
|
|
3155
|
+
"default": "false",
|
|
3156
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
3157
|
+
"attribute": "expand",
|
|
3158
|
+
"reflects": true,
|
|
2383
3159
|
"inheritedFrom": {
|
|
2384
|
-
"name": "
|
|
2385
|
-
"module": "src/common/mixins/
|
|
3160
|
+
"name": "FormAssociatedMixin",
|
|
3161
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2386
3162
|
}
|
|
2387
3163
|
},
|
|
2388
3164
|
{
|
|
2389
3165
|
"kind": "field",
|
|
2390
|
-
"name": "
|
|
2391
|
-
"privacy": "
|
|
3166
|
+
"name": "handleFormData",
|
|
3167
|
+
"privacy": "private",
|
|
2392
3168
|
"inheritedFrom": {
|
|
2393
|
-
"name": "
|
|
2394
|
-
"module": "src/common/mixins/
|
|
3169
|
+
"name": "FormAssociatedMixin",
|
|
3170
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2395
3171
|
}
|
|
2396
3172
|
},
|
|
2397
3173
|
{
|
|
2398
3174
|
"kind": "method",
|
|
2399
|
-
"name": "
|
|
3175
|
+
"name": "handleChange",
|
|
3176
|
+
"privacy": "protected",
|
|
2400
3177
|
"parameters": [
|
|
2401
3178
|
{
|
|
2402
|
-
"name": "
|
|
2403
|
-
"optional": true,
|
|
3179
|
+
"name": "e",
|
|
2404
3180
|
"type": {
|
|
2405
|
-
"text": "
|
|
2406
|
-
}
|
|
2407
|
-
"description": "An object which controls aspects of the focusing process."
|
|
3181
|
+
"text": "Event"
|
|
3182
|
+
}
|
|
2408
3183
|
}
|
|
2409
3184
|
],
|
|
2410
|
-
"description": "Programmatically move focus to the component",
|
|
2411
3185
|
"inheritedFrom": {
|
|
2412
|
-
"name": "
|
|
2413
|
-
"module": "src/common/mixins/
|
|
3186
|
+
"name": "FormAssociatedMixin",
|
|
3187
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2414
3188
|
}
|
|
2415
3189
|
},
|
|
2416
3190
|
{
|
|
2417
3191
|
"kind": "method",
|
|
2418
|
-
"name": "
|
|
2419
|
-
"
|
|
3192
|
+
"name": "renderLabel",
|
|
3193
|
+
"privacy": "protected",
|
|
2420
3194
|
"inheritedFrom": {
|
|
2421
|
-
"name": "
|
|
2422
|
-
"module": "src/common/mixins/
|
|
3195
|
+
"name": "FormAssociatedMixin",
|
|
3196
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2423
3197
|
}
|
|
2424
3198
|
},
|
|
2425
3199
|
{
|
|
2426
3200
|
"kind": "method",
|
|
2427
|
-
"name": "
|
|
2428
|
-
"
|
|
3201
|
+
"name": "renderHint",
|
|
3202
|
+
"privacy": "private",
|
|
2429
3203
|
"inheritedFrom": {
|
|
2430
|
-
"name": "
|
|
2431
|
-
"module": "src/common/mixins/
|
|
3204
|
+
"name": "FormAssociatedMixin",
|
|
3205
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2432
3206
|
}
|
|
2433
3207
|
},
|
|
2434
3208
|
{
|
|
2435
|
-
"kind": "
|
|
2436
|
-
"name": "
|
|
2437
|
-
"
|
|
2438
|
-
"text": "boolean"
|
|
2439
|
-
},
|
|
2440
|
-
"privacy": "private",
|
|
2441
|
-
"static": true,
|
|
2442
|
-
"default": "false",
|
|
3209
|
+
"kind": "method",
|
|
3210
|
+
"name": "renderError",
|
|
3211
|
+
"privacy": "protected",
|
|
2443
3212
|
"inheritedFrom": {
|
|
2444
|
-
"name": "
|
|
2445
|
-
"module": "src/common/mixins/
|
|
3213
|
+
"name": "FormAssociatedMixin",
|
|
3214
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2446
3215
|
}
|
|
2447
|
-
}
|
|
2448
|
-
],
|
|
2449
|
-
"attributes": [
|
|
2450
|
-
{
|
|
2451
|
-
"name": "hint",
|
|
2452
|
-
"type": {
|
|
2453
|
-
"text": "string | undefined"
|
|
2454
|
-
},
|
|
2455
|
-
"description": "Optional hint text to be displayed with select. Alternatively use the hint slot.",
|
|
2456
|
-
"fieldName": "hint"
|
|
2457
|
-
},
|
|
2458
|
-
{
|
|
2459
|
-
"name": "hide-label",
|
|
2460
|
-
"type": {
|
|
2461
|
-
"text": "boolean"
|
|
2462
|
-
},
|
|
2463
|
-
"default": "false",
|
|
2464
|
-
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
2465
|
-
"fieldName": "hideLabel"
|
|
2466
|
-
},
|
|
2467
|
-
{
|
|
2468
|
-
"name": "placeholder",
|
|
2469
|
-
"type": {
|
|
2470
|
-
"text": "string | undefined"
|
|
2471
|
-
},
|
|
2472
|
-
"description": "Hint text to display as the first option of the select element.",
|
|
2473
|
-
"fieldName": "placeholder"
|
|
2474
3216
|
},
|
|
2475
3217
|
{
|
|
2476
|
-
"
|
|
2477
|
-
"
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
3218
|
+
"kind": "method",
|
|
3219
|
+
"name": "getDescribedBy",
|
|
3220
|
+
"privacy": "protected",
|
|
3221
|
+
"inheritedFrom": {
|
|
3222
|
+
"name": "FormAssociatedMixin",
|
|
3223
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3224
|
+
}
|
|
2482
3225
|
},
|
|
2483
3226
|
{
|
|
2484
|
-
"
|
|
2485
|
-
"
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
3227
|
+
"kind": "method",
|
|
3228
|
+
"name": "getInvalid",
|
|
3229
|
+
"privacy": "protected",
|
|
3230
|
+
"inheritedFrom": {
|
|
3231
|
+
"name": "FormAssociatedMixin",
|
|
3232
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3233
|
+
}
|
|
2491
3234
|
},
|
|
2492
3235
|
{
|
|
2493
|
-
"
|
|
2494
|
-
"
|
|
2495
|
-
|
|
2496
|
-
},
|
|
2497
|
-
"default": "\"\"",
|
|
2498
|
-
"description": "Label for the input.",
|
|
2499
|
-
"fieldName": "label",
|
|
3236
|
+
"kind": "field",
|
|
3237
|
+
"name": "hasHint",
|
|
3238
|
+
"privacy": "protected",
|
|
2500
3239
|
"inheritedFrom": {
|
|
2501
3240
|
"name": "FormAssociatedMixin",
|
|
2502
3241
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2503
3242
|
}
|
|
2504
3243
|
},
|
|
2505
3244
|
{
|
|
2506
|
-
"
|
|
2507
|
-
"
|
|
2508
|
-
|
|
2509
|
-
},
|
|
2510
|
-
"default": "false",
|
|
2511
|
-
"description": "Determines whether the input is required or not.\nAn input marked as required will be announced as such to users of assistive technology.\nWhen using this property you need to also set “novalidate” attribute on a form element to prevent browser from displaying its own validation errors.",
|
|
2512
|
-
"fieldName": "required",
|
|
3245
|
+
"kind": "field",
|
|
3246
|
+
"name": "hasError",
|
|
3247
|
+
"privacy": "protected",
|
|
2513
3248
|
"inheritedFrom": {
|
|
2514
3249
|
"name": "FormAssociatedMixin",
|
|
2515
3250
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2516
3251
|
}
|
|
2517
3252
|
},
|
|
2518
3253
|
{
|
|
3254
|
+
"kind": "field",
|
|
2519
3255
|
"name": "disabled",
|
|
2520
3256
|
"type": {
|
|
2521
3257
|
"text": "boolean"
|
|
2522
3258
|
},
|
|
2523
3259
|
"default": "false",
|
|
2524
3260
|
"description": "Makes the input component disabled.\nThis prevents users from being able to interact with the component, and conveys its inactive state to assistive technologies.",
|
|
2525
|
-
"
|
|
3261
|
+
"attribute": "disabled",
|
|
2526
3262
|
"inheritedFrom": {
|
|
2527
3263
|
"name": "InputMixin",
|
|
2528
3264
|
"module": "src/common/mixins/InputMixin.ts"
|
|
2529
3265
|
}
|
|
2530
3266
|
},
|
|
2531
3267
|
{
|
|
3268
|
+
"kind": "field",
|
|
2532
3269
|
"name": "name",
|
|
2533
3270
|
"type": {
|
|
2534
3271
|
"text": "string | undefined"
|
|
2535
3272
|
},
|
|
2536
3273
|
"description": "The name of the input component.",
|
|
2537
|
-
"
|
|
3274
|
+
"attribute": "name",
|
|
2538
3275
|
"inheritedFrom": {
|
|
2539
3276
|
"name": "InputMixin",
|
|
2540
3277
|
"module": "src/common/mixins/InputMixin.ts"
|
|
2541
3278
|
}
|
|
2542
3279
|
},
|
|
2543
3280
|
{
|
|
3281
|
+
"kind": "field",
|
|
2544
3282
|
"name": "value",
|
|
2545
3283
|
"type": {
|
|
2546
3284
|
"text": "string | undefined"
|
|
2547
3285
|
},
|
|
2548
3286
|
"description": "The value of the input component.",
|
|
2549
|
-
"
|
|
3287
|
+
"attribute": "value",
|
|
2550
3288
|
"inheritedFrom": {
|
|
2551
3289
|
"name": "InputMixin",
|
|
2552
3290
|
"module": "src/common/mixins/InputMixin.ts"
|
|
2553
3291
|
}
|
|
2554
|
-
}
|
|
2555
|
-
],
|
|
2556
|
-
"mixins": [
|
|
2557
|
-
{
|
|
2558
|
-
"name": "FormAssociatedMixin",
|
|
2559
|
-
"module": "/src/common/mixins/FormAssociatedMixin.js"
|
|
2560
|
-
},
|
|
2561
|
-
{
|
|
2562
|
-
"name": "InputMixin",
|
|
2563
|
-
"module": "/src/common/mixins/InputMixin.js"
|
|
2564
|
-
},
|
|
2565
|
-
{
|
|
2566
|
-
"name": "FocusableMixin",
|
|
2567
|
-
"module": "/src/common/mixins/FocusableMixin.js"
|
|
2568
3292
|
},
|
|
2569
3293
|
{
|
|
2570
|
-
"
|
|
2571
|
-
"
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
"superclass": {
|
|
2575
|
-
"name": "LitElement",
|
|
2576
|
-
"package": "lit"
|
|
2577
|
-
},
|
|
2578
|
-
"status": "draft",
|
|
2579
|
-
"category": "form",
|
|
2580
|
-
"tagName": "nord-select",
|
|
2581
|
-
"customElement": true,
|
|
2582
|
-
"events": [
|
|
2583
|
-
{
|
|
2584
|
-
"name": "change",
|
|
2585
|
-
"type": {
|
|
2586
|
-
"text": "NordEvent"
|
|
2587
|
-
},
|
|
2588
|
-
"description": "Fired whenever the input's value is changed via user interaction.",
|
|
3294
|
+
"kind": "field",
|
|
3295
|
+
"name": "form",
|
|
3296
|
+
"privacy": "protected",
|
|
3297
|
+
"description": "Gets the form, if any, associated with the input element.",
|
|
2589
3298
|
"inheritedFrom": {
|
|
2590
|
-
"name": "
|
|
2591
|
-
"module": "src/common/mixins/
|
|
3299
|
+
"name": "InputMixin",
|
|
3300
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
2592
3301
|
}
|
|
2593
|
-
}
|
|
2594
|
-
]
|
|
2595
|
-
}
|
|
2596
|
-
],
|
|
2597
|
-
"exports": [
|
|
2598
|
-
{
|
|
2599
|
-
"kind": "js",
|
|
2600
|
-
"name": "default",
|
|
2601
|
-
"declaration": {
|
|
2602
|
-
"name": "Select",
|
|
2603
|
-
"module": "src/select/Select.ts"
|
|
2604
|
-
}
|
|
2605
|
-
},
|
|
2606
|
-
{
|
|
2607
|
-
"kind": "custom-element-definition",
|
|
2608
|
-
"name": "nord-select",
|
|
2609
|
-
"declaration": {
|
|
2610
|
-
"name": "Select",
|
|
2611
|
-
"module": "src/select/Select.ts"
|
|
2612
|
-
}
|
|
2613
|
-
}
|
|
2614
|
-
]
|
|
2615
|
-
},
|
|
2616
|
-
{
|
|
2617
|
-
"kind": "javascript-module",
|
|
2618
|
-
"path": "src/stack/Stack.ts",
|
|
2619
|
-
"declarations": [
|
|
2620
|
-
{
|
|
2621
|
-
"kind": "class",
|
|
2622
|
-
"description": "Stack component manages layout of immediate children along the\nvertical or horizontal axis with optional spacing between each child.",
|
|
2623
|
-
"name": "Stack",
|
|
2624
|
-
"slots": [
|
|
2625
|
-
{
|
|
2626
|
-
"description": "The stack content.",
|
|
2627
|
-
"name": ""
|
|
2628
|
-
}
|
|
2629
|
-
],
|
|
2630
|
-
"members": [
|
|
2631
|
-
{
|
|
2632
|
-
"kind": "field",
|
|
2633
|
-
"name": "gap",
|
|
2634
|
-
"type": {
|
|
2635
|
-
"text": "\"none\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
|
|
2636
|
-
},
|
|
2637
|
-
"default": "\"m\"",
|
|
2638
|
-
"description": "The space injected between components.",
|
|
2639
|
-
"attribute": "gap",
|
|
2640
|
-
"reflects": true
|
|
2641
|
-
},
|
|
2642
|
-
{
|
|
2643
|
-
"kind": "field",
|
|
2644
|
-
"name": "direction",
|
|
2645
|
-
"type": {
|
|
2646
|
-
"text": "\"vertical\" | \"horizontal\""
|
|
2647
|
-
},
|
|
2648
|
-
"default": "\"vertical\"",
|
|
2649
|
-
"description": "The direction of the stack.",
|
|
2650
|
-
"attribute": "direction",
|
|
2651
|
-
"reflects": true
|
|
2652
|
-
},
|
|
2653
|
-
{
|
|
2654
|
-
"kind": "field",
|
|
2655
|
-
"name": "alignItems",
|
|
2656
|
-
"type": {
|
|
2657
|
-
"text": "\"center\" | \"start\" | \"end\" | undefined"
|
|
2658
|
-
},
|
|
2659
|
-
"description": "How to align the child items inside the stack.",
|
|
2660
|
-
"attribute": "align-items",
|
|
2661
|
-
"reflects": true
|
|
2662
3302
|
},
|
|
2663
3303
|
{
|
|
2664
3304
|
"kind": "field",
|
|
2665
|
-
"name": "
|
|
2666
|
-
"
|
|
2667
|
-
"text": "boolean"
|
|
2668
|
-
},
|
|
2669
|
-
"privacy": "private",
|
|
2670
|
-
"static": true,
|
|
2671
|
-
"default": "false",
|
|
3305
|
+
"name": "focusableRef",
|
|
3306
|
+
"privacy": "protected",
|
|
2672
3307
|
"inheritedFrom": {
|
|
2673
|
-
"name": "
|
|
2674
|
-
"module": "src/common/mixins/
|
|
3308
|
+
"name": "FocusableMixin",
|
|
3309
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
2675
3310
|
}
|
|
2676
|
-
}
|
|
2677
|
-
],
|
|
2678
|
-
"attributes": [
|
|
2679
|
-
{
|
|
2680
|
-
"name": "gap",
|
|
2681
|
-
"type": {
|
|
2682
|
-
"text": "\"none\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
|
|
2683
|
-
},
|
|
2684
|
-
"default": "\"m\"",
|
|
2685
|
-
"description": "The space injected between components.",
|
|
2686
|
-
"fieldName": "gap"
|
|
2687
|
-
},
|
|
2688
|
-
{
|
|
2689
|
-
"name": "direction",
|
|
2690
|
-
"type": {
|
|
2691
|
-
"text": "\"vertical\" | \"horizontal\""
|
|
2692
|
-
},
|
|
2693
|
-
"default": "\"vertical\"",
|
|
2694
|
-
"description": "The direction of the stack.",
|
|
2695
|
-
"fieldName": "direction"
|
|
2696
3311
|
},
|
|
2697
3312
|
{
|
|
2698
|
-
"
|
|
2699
|
-
"
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
},
|
|
2716
|
-
"status": "draft",
|
|
2717
|
-
"category": "structure",
|
|
2718
|
-
"tagName": "nord-stack",
|
|
2719
|
-
"customElement": true
|
|
2720
|
-
}
|
|
2721
|
-
],
|
|
2722
|
-
"exports": [
|
|
2723
|
-
{
|
|
2724
|
-
"kind": "js",
|
|
2725
|
-
"name": "default",
|
|
2726
|
-
"declaration": {
|
|
2727
|
-
"name": "Stack",
|
|
2728
|
-
"module": "src/stack/Stack.ts"
|
|
2729
|
-
}
|
|
2730
|
-
},
|
|
2731
|
-
{
|
|
2732
|
-
"kind": "custom-element-definition",
|
|
2733
|
-
"name": "nord-stack",
|
|
2734
|
-
"declaration": {
|
|
2735
|
-
"name": "Stack",
|
|
2736
|
-
"module": "src/stack/Stack.ts"
|
|
2737
|
-
}
|
|
2738
|
-
}
|
|
2739
|
-
]
|
|
2740
|
-
},
|
|
2741
|
-
{
|
|
2742
|
-
"kind": "javascript-module",
|
|
2743
|
-
"path": "src/table/Table.ts",
|
|
2744
|
-
"declarations": [
|
|
2745
|
-
{
|
|
2746
|
-
"kind": "class",
|
|
2747
|
-
"description": "Table is used to organize and display information from a data set.\nProvides table styles in addition to features like sticky\nheaders and support for narrow viewports.",
|
|
2748
|
-
"name": "Table",
|
|
2749
|
-
"slots": [
|
|
2750
|
-
{
|
|
2751
|
-
"description": "The table.",
|
|
2752
|
-
"name": ""
|
|
2753
|
-
}
|
|
2754
|
-
],
|
|
2755
|
-
"members": [
|
|
2756
|
-
{
|
|
2757
|
-
"kind": "field",
|
|
2758
|
-
"name": "density",
|
|
2759
|
-
"type": {
|
|
2760
|
-
"text": "\"condensed\" | \"default\" | \"relaxed\""
|
|
2761
|
-
},
|
|
2762
|
-
"default": "\"default\"",
|
|
2763
|
-
"description": "Controls the density of the table's rows and headers.\nRelaxed increases space, condensed reduces space.",
|
|
2764
|
-
"attribute": "density",
|
|
2765
|
-
"reflects": true
|
|
3313
|
+
"kind": "method",
|
|
3314
|
+
"name": "focus",
|
|
3315
|
+
"parameters": [
|
|
3316
|
+
{
|
|
3317
|
+
"name": "options",
|
|
3318
|
+
"optional": true,
|
|
3319
|
+
"type": {
|
|
3320
|
+
"text": "FocusOptions"
|
|
3321
|
+
},
|
|
3322
|
+
"description": "An object which controls aspects of the focusing process."
|
|
3323
|
+
}
|
|
3324
|
+
],
|
|
3325
|
+
"description": "Programmatically move focus to the component",
|
|
3326
|
+
"inheritedFrom": {
|
|
3327
|
+
"name": "FocusableMixin",
|
|
3328
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
3329
|
+
}
|
|
2766
3330
|
},
|
|
2767
3331
|
{
|
|
2768
3332
|
"kind": "method",
|
|
2769
|
-
"name": "
|
|
2770
|
-
"
|
|
2771
|
-
"
|
|
3333
|
+
"name": "blur",
|
|
3334
|
+
"description": "Programmatically remove focus from the component.",
|
|
3335
|
+
"inheritedFrom": {
|
|
3336
|
+
"name": "FocusableMixin",
|
|
3337
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
3338
|
+
}
|
|
2772
3339
|
},
|
|
2773
3340
|
{
|
|
2774
3341
|
"kind": "method",
|
|
2775
|
-
"name": "
|
|
2776
|
-
"
|
|
2777
|
-
"
|
|
3342
|
+
"name": "click",
|
|
3343
|
+
"description": "Programmatically simulates a click on the component.",
|
|
3344
|
+
"inheritedFrom": {
|
|
3345
|
+
"name": "FocusableMixin",
|
|
3346
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
3347
|
+
}
|
|
2778
3348
|
},
|
|
2779
3349
|
{
|
|
2780
3350
|
"kind": "field",
|
|
@@ -2793,16 +3363,153 @@
|
|
|
2793
3363
|
],
|
|
2794
3364
|
"attributes": [
|
|
2795
3365
|
{
|
|
2796
|
-
"name": "
|
|
3366
|
+
"name": "resize",
|
|
2797
3367
|
"type": {
|
|
2798
|
-
"text": "\"
|
|
3368
|
+
"text": "\"vertical\" | \"auto\""
|
|
2799
3369
|
},
|
|
2800
|
-
"default": "\"
|
|
2801
|
-
"description": "Controls the
|
|
2802
|
-
"fieldName": "
|
|
3370
|
+
"default": "\"vertical\"",
|
|
3371
|
+
"description": "Controls whether the textarea is resizable.\nBy default is manually resizable vertically.\nSet to \"auto\" to enable auto-resizing as content grows.",
|
|
3372
|
+
"fieldName": "resize"
|
|
3373
|
+
},
|
|
3374
|
+
{
|
|
3375
|
+
"name": "label",
|
|
3376
|
+
"type": {
|
|
3377
|
+
"text": "string"
|
|
3378
|
+
},
|
|
3379
|
+
"default": "\"\"",
|
|
3380
|
+
"description": "Label for the input.",
|
|
3381
|
+
"fieldName": "label",
|
|
3382
|
+
"inheritedFrom": {
|
|
3383
|
+
"name": "FormAssociatedMixin",
|
|
3384
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3385
|
+
}
|
|
3386
|
+
},
|
|
3387
|
+
{
|
|
3388
|
+
"name": "hint",
|
|
3389
|
+
"type": {
|
|
3390
|
+
"text": "string | undefined"
|
|
3391
|
+
},
|
|
3392
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
3393
|
+
"fieldName": "hint",
|
|
3394
|
+
"inheritedFrom": {
|
|
3395
|
+
"name": "FormAssociatedMixin",
|
|
3396
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3397
|
+
}
|
|
3398
|
+
},
|
|
3399
|
+
{
|
|
3400
|
+
"name": "hide-label",
|
|
3401
|
+
"type": {
|
|
3402
|
+
"text": "boolean"
|
|
3403
|
+
},
|
|
3404
|
+
"default": "false",
|
|
3405
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
3406
|
+
"fieldName": "hideLabel",
|
|
3407
|
+
"inheritedFrom": {
|
|
3408
|
+
"name": "FormAssociatedMixin",
|
|
3409
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3410
|
+
}
|
|
3411
|
+
},
|
|
3412
|
+
{
|
|
3413
|
+
"name": "placeholder",
|
|
3414
|
+
"type": {
|
|
3415
|
+
"text": "string | undefined"
|
|
3416
|
+
},
|
|
3417
|
+
"description": "Placeholder text to display within the input.",
|
|
3418
|
+
"fieldName": "placeholder",
|
|
3419
|
+
"inheritedFrom": {
|
|
3420
|
+
"name": "FormAssociatedMixin",
|
|
3421
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3422
|
+
}
|
|
3423
|
+
},
|
|
3424
|
+
{
|
|
3425
|
+
"name": "error",
|
|
3426
|
+
"type": {
|
|
3427
|
+
"text": "string | undefined"
|
|
3428
|
+
},
|
|
3429
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
3430
|
+
"fieldName": "error",
|
|
3431
|
+
"inheritedFrom": {
|
|
3432
|
+
"name": "FormAssociatedMixin",
|
|
3433
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3434
|
+
}
|
|
3435
|
+
},
|
|
3436
|
+
{
|
|
3437
|
+
"name": "required",
|
|
3438
|
+
"type": {
|
|
3439
|
+
"text": "boolean"
|
|
3440
|
+
},
|
|
3441
|
+
"default": "false",
|
|
3442
|
+
"description": "Determines whether the input is required or not.\nAn input marked as required will be announced as such to users of assistive technology.\nWhen using this property you need to also set “novalidate” attribute on a form element to prevent browser from displaying its own validation errors.",
|
|
3443
|
+
"fieldName": "required",
|
|
3444
|
+
"inheritedFrom": {
|
|
3445
|
+
"name": "FormAssociatedMixin",
|
|
3446
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3447
|
+
}
|
|
3448
|
+
},
|
|
3449
|
+
{
|
|
3450
|
+
"name": "expand",
|
|
3451
|
+
"type": {
|
|
3452
|
+
"text": "boolean"
|
|
3453
|
+
},
|
|
3454
|
+
"default": "false",
|
|
3455
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
3456
|
+
"fieldName": "expand",
|
|
3457
|
+
"inheritedFrom": {
|
|
3458
|
+
"name": "FormAssociatedMixin",
|
|
3459
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3460
|
+
}
|
|
3461
|
+
},
|
|
3462
|
+
{
|
|
3463
|
+
"name": "disabled",
|
|
3464
|
+
"type": {
|
|
3465
|
+
"text": "boolean"
|
|
3466
|
+
},
|
|
3467
|
+
"default": "false",
|
|
3468
|
+
"description": "Makes the input component disabled.\nThis prevents users from being able to interact with the component, and conveys its inactive state to assistive technologies.",
|
|
3469
|
+
"fieldName": "disabled",
|
|
3470
|
+
"inheritedFrom": {
|
|
3471
|
+
"name": "InputMixin",
|
|
3472
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
3473
|
+
}
|
|
3474
|
+
},
|
|
3475
|
+
{
|
|
3476
|
+
"name": "name",
|
|
3477
|
+
"type": {
|
|
3478
|
+
"text": "string | undefined"
|
|
3479
|
+
},
|
|
3480
|
+
"description": "The name of the input component.",
|
|
3481
|
+
"fieldName": "name",
|
|
3482
|
+
"inheritedFrom": {
|
|
3483
|
+
"name": "InputMixin",
|
|
3484
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
3485
|
+
}
|
|
3486
|
+
},
|
|
3487
|
+
{
|
|
3488
|
+
"name": "value",
|
|
3489
|
+
"type": {
|
|
3490
|
+
"text": "string | undefined"
|
|
3491
|
+
},
|
|
3492
|
+
"description": "The value of the input component.",
|
|
3493
|
+
"fieldName": "value",
|
|
3494
|
+
"inheritedFrom": {
|
|
3495
|
+
"name": "InputMixin",
|
|
3496
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
3497
|
+
}
|
|
2803
3498
|
}
|
|
2804
3499
|
],
|
|
2805
3500
|
"mixins": [
|
|
3501
|
+
{
|
|
3502
|
+
"name": "FormAssociatedMixin",
|
|
3503
|
+
"module": "/src/common/mixins/FormAssociatedMixin.js"
|
|
3504
|
+
},
|
|
3505
|
+
{
|
|
3506
|
+
"name": "InputMixin",
|
|
3507
|
+
"module": "/src/common/mixins/InputMixin.js"
|
|
3508
|
+
},
|
|
3509
|
+
{
|
|
3510
|
+
"name": "FocusableMixin",
|
|
3511
|
+
"module": "/src/common/mixins/FocusableMixin.js"
|
|
3512
|
+
},
|
|
2806
3513
|
{
|
|
2807
3514
|
"name": "DraftComponentMixin",
|
|
2808
3515
|
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
@@ -2813,9 +3520,22 @@
|
|
|
2813
3520
|
"package": "lit"
|
|
2814
3521
|
},
|
|
2815
3522
|
"status": "draft",
|
|
2816
|
-
"category": "
|
|
2817
|
-
"tagName": "nord-
|
|
2818
|
-
"customElement": true
|
|
3523
|
+
"category": "form",
|
|
3524
|
+
"tagName": "nord-textarea",
|
|
3525
|
+
"customElement": true,
|
|
3526
|
+
"events": [
|
|
3527
|
+
{
|
|
3528
|
+
"name": "change",
|
|
3529
|
+
"type": {
|
|
3530
|
+
"text": "NordEvent"
|
|
3531
|
+
},
|
|
3532
|
+
"description": "Fired whenever the input's value is changed via user interaction.",
|
|
3533
|
+
"inheritedFrom": {
|
|
3534
|
+
"name": "FormAssociatedMixin",
|
|
3535
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3536
|
+
}
|
|
3537
|
+
}
|
|
3538
|
+
]
|
|
2819
3539
|
}
|
|
2820
3540
|
],
|
|
2821
3541
|
"exports": [
|
|
@@ -2823,16 +3543,16 @@
|
|
|
2823
3543
|
"kind": "js",
|
|
2824
3544
|
"name": "default",
|
|
2825
3545
|
"declaration": {
|
|
2826
|
-
"name": "
|
|
2827
|
-
"module": "src/
|
|
3546
|
+
"name": "Textarea",
|
|
3547
|
+
"module": "src/textarea/Textarea.ts"
|
|
2828
3548
|
}
|
|
2829
3549
|
},
|
|
2830
3550
|
{
|
|
2831
3551
|
"kind": "custom-element-definition",
|
|
2832
|
-
"name": "nord-
|
|
3552
|
+
"name": "nord-textarea",
|
|
2833
3553
|
"declaration": {
|
|
2834
|
-
"name": "
|
|
2835
|
-
"module": "src/
|
|
3554
|
+
"name": "Textarea",
|
|
3555
|
+
"module": "src/textarea/Textarea.ts"
|
|
2836
3556
|
}
|
|
2837
3557
|
}
|
|
2838
3558
|
]
|
|
@@ -2980,29 +3700,93 @@
|
|
|
2980
3700
|
"members": [
|
|
2981
3701
|
{
|
|
2982
3702
|
"kind": "field",
|
|
2983
|
-
"name": "target",
|
|
2984
|
-
"type": {
|
|
2985
|
-
"text": "ShortcutTarget"
|
|
2986
|
-
},
|
|
2987
|
-
"privacy": "private",
|
|
2988
|
-
"default": "target"
|
|
2989
|
-
},
|
|
2990
|
-
{
|
|
2991
|
-
"kind": "field",
|
|
2992
|
-
"name": "shortcuts",
|
|
3703
|
+
"name": "target",
|
|
3704
|
+
"type": {
|
|
3705
|
+
"text": "ShortcutTarget"
|
|
3706
|
+
},
|
|
3707
|
+
"privacy": "private",
|
|
3708
|
+
"default": "target"
|
|
3709
|
+
},
|
|
3710
|
+
{
|
|
3711
|
+
"kind": "field",
|
|
3712
|
+
"name": "shortcuts",
|
|
3713
|
+
"type": {
|
|
3714
|
+
"text": "KeyBindingMap | undefined"
|
|
3715
|
+
},
|
|
3716
|
+
"privacy": "private",
|
|
3717
|
+
"default": "shortcuts"
|
|
3718
|
+
},
|
|
3719
|
+
{
|
|
3720
|
+
"kind": "field",
|
|
3721
|
+
"name": "unregister",
|
|
3722
|
+
"type": {
|
|
3723
|
+
"text": "ReturnType<typeof tinykeys> | undefined"
|
|
3724
|
+
},
|
|
3725
|
+
"privacy": "private"
|
|
3726
|
+
},
|
|
3727
|
+
{
|
|
3728
|
+
"kind": "method",
|
|
3729
|
+
"name": "hostConnected"
|
|
3730
|
+
},
|
|
3731
|
+
{
|
|
3732
|
+
"kind": "method",
|
|
3733
|
+
"name": "hostDisconnected"
|
|
3734
|
+
},
|
|
3735
|
+
{
|
|
3736
|
+
"kind": "method",
|
|
3737
|
+
"name": "unbind"
|
|
3738
|
+
},
|
|
3739
|
+
{
|
|
3740
|
+
"kind": "method",
|
|
3741
|
+
"name": "bind",
|
|
3742
|
+
"parameters": [
|
|
3743
|
+
{
|
|
3744
|
+
"name": "shortcuts",
|
|
3745
|
+
"type": {
|
|
3746
|
+
"text": "KeyBindingMap"
|
|
3747
|
+
}
|
|
3748
|
+
}
|
|
3749
|
+
]
|
|
3750
|
+
}
|
|
3751
|
+
]
|
|
3752
|
+
}
|
|
3753
|
+
],
|
|
3754
|
+
"exports": [
|
|
3755
|
+
{
|
|
3756
|
+
"kind": "js",
|
|
3757
|
+
"name": "ShortcutController",
|
|
3758
|
+
"declaration": {
|
|
3759
|
+
"name": "ShortcutController",
|
|
3760
|
+
"module": "src/common/controllers/ShortcutController.ts"
|
|
3761
|
+
}
|
|
3762
|
+
},
|
|
3763
|
+
{
|
|
3764
|
+
"kind": "js",
|
|
3765
|
+
"name": "ShortcutMap",
|
|
3766
|
+
"declaration": {
|
|
3767
|
+
"name": "KeyBindingMap",
|
|
3768
|
+
"module": "src/common/controllers/ShortcutController.ts"
|
|
3769
|
+
}
|
|
3770
|
+
}
|
|
3771
|
+
]
|
|
3772
|
+
},
|
|
3773
|
+
{
|
|
3774
|
+
"kind": "javascript-module",
|
|
3775
|
+
"path": "src/common/controllers/SlotController.ts",
|
|
3776
|
+
"declarations": [
|
|
3777
|
+
{
|
|
3778
|
+
"kind": "class",
|
|
3779
|
+
"description": "",
|
|
3780
|
+
"name": "SlotController",
|
|
3781
|
+
"members": [
|
|
3782
|
+
{
|
|
3783
|
+
"kind": "field",
|
|
3784
|
+
"name": "host",
|
|
2993
3785
|
"type": {
|
|
2994
|
-
"text": "
|
|
3786
|
+
"text": "ReactiveElement"
|
|
2995
3787
|
},
|
|
2996
3788
|
"privacy": "private",
|
|
2997
|
-
"default": "
|
|
2998
|
-
},
|
|
2999
|
-
{
|
|
3000
|
-
"kind": "field",
|
|
3001
|
-
"name": "unregister",
|
|
3002
|
-
"type": {
|
|
3003
|
-
"text": "ReturnType<typeof tinykeys> | undefined"
|
|
3004
|
-
},
|
|
3005
|
-
"privacy": "private"
|
|
3789
|
+
"default": "host"
|
|
3006
3790
|
},
|
|
3007
3791
|
{
|
|
3008
3792
|
"kind": "method",
|
|
@@ -3014,19 +3798,20 @@
|
|
|
3014
3798
|
},
|
|
3015
3799
|
{
|
|
3016
3800
|
"kind": "method",
|
|
3017
|
-
"name": "
|
|
3018
|
-
},
|
|
3019
|
-
{
|
|
3020
|
-
"kind": "method",
|
|
3021
|
-
"name": "bind",
|
|
3801
|
+
"name": "hasSlottedContent",
|
|
3022
3802
|
"parameters": [
|
|
3023
3803
|
{
|
|
3024
|
-
"name": "
|
|
3804
|
+
"name": "slotName",
|
|
3025
3805
|
"type": {
|
|
3026
|
-
"text": "
|
|
3806
|
+
"text": "string"
|
|
3027
3807
|
}
|
|
3028
3808
|
}
|
|
3029
3809
|
]
|
|
3810
|
+
},
|
|
3811
|
+
{
|
|
3812
|
+
"kind": "field",
|
|
3813
|
+
"name": "handleSlotChange",
|
|
3814
|
+
"privacy": "private"
|
|
3030
3815
|
}
|
|
3031
3816
|
]
|
|
3032
3817
|
}
|
|
@@ -3034,18 +3819,10 @@
|
|
|
3034
3819
|
"exports": [
|
|
3035
3820
|
{
|
|
3036
3821
|
"kind": "js",
|
|
3037
|
-
"name": "
|
|
3038
|
-
"declaration": {
|
|
3039
|
-
"name": "ShortcutController",
|
|
3040
|
-
"module": "src/common/controllers/ShortcutController.ts"
|
|
3041
|
-
}
|
|
3042
|
-
},
|
|
3043
|
-
{
|
|
3044
|
-
"kind": "js",
|
|
3045
|
-
"name": "ShortcutMap",
|
|
3822
|
+
"name": "SlotController",
|
|
3046
3823
|
"declaration": {
|
|
3047
|
-
"name": "
|
|
3048
|
-
"module": "src/common/controllers/
|
|
3824
|
+
"name": "SlotController",
|
|
3825
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
3049
3826
|
}
|
|
3050
3827
|
}
|
|
3051
3828
|
]
|
|
@@ -3254,6 +4031,57 @@
|
|
|
3254
4031
|
"text": "boolean"
|
|
3255
4032
|
}
|
|
3256
4033
|
},
|
|
4034
|
+
{
|
|
4035
|
+
"kind": "field",
|
|
4036
|
+
"name": "hint",
|
|
4037
|
+
"type": {
|
|
4038
|
+
"text": "string | undefined"
|
|
4039
|
+
}
|
|
4040
|
+
},
|
|
4041
|
+
{
|
|
4042
|
+
"kind": "field",
|
|
4043
|
+
"name": "hideLabel",
|
|
4044
|
+
"type": {
|
|
4045
|
+
"text": "boolean"
|
|
4046
|
+
}
|
|
4047
|
+
},
|
|
4048
|
+
{
|
|
4049
|
+
"kind": "field",
|
|
4050
|
+
"name": "placeholder",
|
|
4051
|
+
"type": {
|
|
4052
|
+
"text": "string | undefined"
|
|
4053
|
+
}
|
|
4054
|
+
},
|
|
4055
|
+
{
|
|
4056
|
+
"kind": "field",
|
|
4057
|
+
"name": "error",
|
|
4058
|
+
"type": {
|
|
4059
|
+
"text": "string | undefined"
|
|
4060
|
+
}
|
|
4061
|
+
},
|
|
4062
|
+
{
|
|
4063
|
+
"kind": "field",
|
|
4064
|
+
"name": "expand",
|
|
4065
|
+
"type": {
|
|
4066
|
+
"text": "boolean"
|
|
4067
|
+
}
|
|
4068
|
+
},
|
|
4069
|
+
{
|
|
4070
|
+
"kind": "field",
|
|
4071
|
+
"name": "inputId",
|
|
4072
|
+
"type": {
|
|
4073
|
+
"text": "string"
|
|
4074
|
+
},
|
|
4075
|
+
"privacy": "protected"
|
|
4076
|
+
},
|
|
4077
|
+
{
|
|
4078
|
+
"kind": "field",
|
|
4079
|
+
"name": "slots",
|
|
4080
|
+
"type": {
|
|
4081
|
+
"text": "SlotController"
|
|
4082
|
+
},
|
|
4083
|
+
"privacy": "protected"
|
|
4084
|
+
},
|
|
3257
4085
|
{
|
|
3258
4086
|
"kind": "method",
|
|
3259
4087
|
"name": "handleChange",
|
|
@@ -3271,6 +4099,46 @@
|
|
|
3271
4099
|
}
|
|
3272
4100
|
}
|
|
3273
4101
|
]
|
|
4102
|
+
},
|
|
4103
|
+
{
|
|
4104
|
+
"kind": "method",
|
|
4105
|
+
"name": "renderLabel",
|
|
4106
|
+
"privacy": "protected",
|
|
4107
|
+
"return": {
|
|
4108
|
+
"type": {
|
|
4109
|
+
"text": "TemplateResult"
|
|
4110
|
+
}
|
|
4111
|
+
}
|
|
4112
|
+
},
|
|
4113
|
+
{
|
|
4114
|
+
"kind": "method",
|
|
4115
|
+
"name": "renderError",
|
|
4116
|
+
"privacy": "protected",
|
|
4117
|
+
"return": {
|
|
4118
|
+
"type": {
|
|
4119
|
+
"text": "TemplateResult"
|
|
4120
|
+
}
|
|
4121
|
+
}
|
|
4122
|
+
},
|
|
4123
|
+
{
|
|
4124
|
+
"kind": "method",
|
|
4125
|
+
"name": "getDescribedBy",
|
|
4126
|
+
"privacy": "protected",
|
|
4127
|
+
"return": {
|
|
4128
|
+
"type": {
|
|
4129
|
+
"text": "string | undefined"
|
|
4130
|
+
}
|
|
4131
|
+
}
|
|
4132
|
+
},
|
|
4133
|
+
{
|
|
4134
|
+
"kind": "method",
|
|
4135
|
+
"name": "getInvalid",
|
|
4136
|
+
"privacy": "protected",
|
|
4137
|
+
"return": {
|
|
4138
|
+
"type": {
|
|
4139
|
+
"text": "\"true\" | undefined"
|
|
4140
|
+
}
|
|
4141
|
+
}
|
|
3274
4142
|
}
|
|
3275
4143
|
]
|
|
3276
4144
|
},
|
|
@@ -3279,6 +4147,21 @@
|
|
|
3279
4147
|
"description": "",
|
|
3280
4148
|
"name": "FormAssociatedMixin",
|
|
3281
4149
|
"members": [
|
|
4150
|
+
{
|
|
4151
|
+
"kind": "field",
|
|
4152
|
+
"name": "slots",
|
|
4153
|
+
"privacy": "protected",
|
|
4154
|
+
"default": "new SlotController(this)"
|
|
4155
|
+
},
|
|
4156
|
+
{
|
|
4157
|
+
"kind": "field",
|
|
4158
|
+
"name": "inputId",
|
|
4159
|
+
"type": {
|
|
4160
|
+
"text": "string"
|
|
4161
|
+
},
|
|
4162
|
+
"privacy": "protected",
|
|
4163
|
+
"default": "\"input\""
|
|
4164
|
+
},
|
|
3282
4165
|
{
|
|
3283
4166
|
"kind": "field",
|
|
3284
4167
|
"name": "label",
|
|
@@ -3289,6 +4172,43 @@
|
|
|
3289
4172
|
"description": "Label for the input.",
|
|
3290
4173
|
"attribute": "label"
|
|
3291
4174
|
},
|
|
4175
|
+
{
|
|
4176
|
+
"kind": "field",
|
|
4177
|
+
"name": "hint",
|
|
4178
|
+
"type": {
|
|
4179
|
+
"text": "string | undefined"
|
|
4180
|
+
},
|
|
4181
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
4182
|
+
"attribute": "hint"
|
|
4183
|
+
},
|
|
4184
|
+
{
|
|
4185
|
+
"kind": "field",
|
|
4186
|
+
"name": "hideLabel",
|
|
4187
|
+
"type": {
|
|
4188
|
+
"text": "boolean"
|
|
4189
|
+
},
|
|
4190
|
+
"default": "false",
|
|
4191
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
4192
|
+
"attribute": "hide-label"
|
|
4193
|
+
},
|
|
4194
|
+
{
|
|
4195
|
+
"kind": "field",
|
|
4196
|
+
"name": "placeholder",
|
|
4197
|
+
"type": {
|
|
4198
|
+
"text": "string | undefined"
|
|
4199
|
+
},
|
|
4200
|
+
"description": "Placeholder text to display within the input.",
|
|
4201
|
+
"attribute": "placeholder"
|
|
4202
|
+
},
|
|
4203
|
+
{
|
|
4204
|
+
"kind": "field",
|
|
4205
|
+
"name": "error",
|
|
4206
|
+
"type": {
|
|
4207
|
+
"text": "string | undefined"
|
|
4208
|
+
},
|
|
4209
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
4210
|
+
"attribute": "error"
|
|
4211
|
+
},
|
|
3292
4212
|
{
|
|
3293
4213
|
"kind": "field",
|
|
3294
4214
|
"name": "required",
|
|
@@ -3299,6 +4219,17 @@
|
|
|
3299
4219
|
"description": "Determines whether the input is required or not.\nAn input marked as required will be announced as such to users of assistive technology.\nWhen using this property you need to also set “novalidate” attribute on a form element to prevent browser from displaying its own validation errors.",
|
|
3300
4220
|
"attribute": "required"
|
|
3301
4221
|
},
|
|
4222
|
+
{
|
|
4223
|
+
"kind": "field",
|
|
4224
|
+
"name": "expand",
|
|
4225
|
+
"type": {
|
|
4226
|
+
"text": "boolean"
|
|
4227
|
+
},
|
|
4228
|
+
"default": "false",
|
|
4229
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
4230
|
+
"attribute": "expand",
|
|
4231
|
+
"reflects": true
|
|
4232
|
+
},
|
|
3302
4233
|
{
|
|
3303
4234
|
"kind": "field",
|
|
3304
4235
|
"name": "handleFormData",
|
|
@@ -3316,6 +4247,41 @@
|
|
|
3316
4247
|
}
|
|
3317
4248
|
}
|
|
3318
4249
|
]
|
|
4250
|
+
},
|
|
4251
|
+
{
|
|
4252
|
+
"kind": "method",
|
|
4253
|
+
"name": "renderLabel",
|
|
4254
|
+
"privacy": "protected"
|
|
4255
|
+
},
|
|
4256
|
+
{
|
|
4257
|
+
"kind": "method",
|
|
4258
|
+
"name": "renderHint",
|
|
4259
|
+
"privacy": "private"
|
|
4260
|
+
},
|
|
4261
|
+
{
|
|
4262
|
+
"kind": "method",
|
|
4263
|
+
"name": "renderError",
|
|
4264
|
+
"privacy": "protected"
|
|
4265
|
+
},
|
|
4266
|
+
{
|
|
4267
|
+
"kind": "method",
|
|
4268
|
+
"name": "getDescribedBy",
|
|
4269
|
+
"privacy": "protected"
|
|
4270
|
+
},
|
|
4271
|
+
{
|
|
4272
|
+
"kind": "method",
|
|
4273
|
+
"name": "getInvalid",
|
|
4274
|
+
"privacy": "protected"
|
|
4275
|
+
},
|
|
4276
|
+
{
|
|
4277
|
+
"kind": "field",
|
|
4278
|
+
"name": "hasHint",
|
|
4279
|
+
"privacy": "protected"
|
|
4280
|
+
},
|
|
4281
|
+
{
|
|
4282
|
+
"kind": "field",
|
|
4283
|
+
"name": "hasError",
|
|
4284
|
+
"privacy": "protected"
|
|
3319
4285
|
}
|
|
3320
4286
|
],
|
|
3321
4287
|
"events": [
|
|
@@ -3337,6 +4303,39 @@
|
|
|
3337
4303
|
"description": "Label for the input.",
|
|
3338
4304
|
"fieldName": "label"
|
|
3339
4305
|
},
|
|
4306
|
+
{
|
|
4307
|
+
"name": "hint",
|
|
4308
|
+
"type": {
|
|
4309
|
+
"text": "string | undefined"
|
|
4310
|
+
},
|
|
4311
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
4312
|
+
"fieldName": "hint"
|
|
4313
|
+
},
|
|
4314
|
+
{
|
|
4315
|
+
"name": "hide-label",
|
|
4316
|
+
"type": {
|
|
4317
|
+
"text": "boolean"
|
|
4318
|
+
},
|
|
4319
|
+
"default": "false",
|
|
4320
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
4321
|
+
"fieldName": "hideLabel"
|
|
4322
|
+
},
|
|
4323
|
+
{
|
|
4324
|
+
"name": "placeholder",
|
|
4325
|
+
"type": {
|
|
4326
|
+
"text": "string | undefined"
|
|
4327
|
+
},
|
|
4328
|
+
"description": "Placeholder text to display within the input.",
|
|
4329
|
+
"fieldName": "placeholder"
|
|
4330
|
+
},
|
|
4331
|
+
{
|
|
4332
|
+
"name": "error",
|
|
4333
|
+
"type": {
|
|
4334
|
+
"text": "string | undefined"
|
|
4335
|
+
},
|
|
4336
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
4337
|
+
"fieldName": "error"
|
|
4338
|
+
},
|
|
3340
4339
|
{
|
|
3341
4340
|
"name": "required",
|
|
3342
4341
|
"type": {
|
|
@@ -3345,6 +4344,15 @@
|
|
|
3345
4344
|
"default": "false",
|
|
3346
4345
|
"description": "Determines whether the input is required or not.\nAn input marked as required will be announced as such to users of assistive technology.\nWhen using this property you need to also set “novalidate” attribute on a form element to prevent browser from displaying its own validation errors.",
|
|
3347
4346
|
"fieldName": "required"
|
|
4347
|
+
},
|
|
4348
|
+
{
|
|
4349
|
+
"name": "expand",
|
|
4350
|
+
"type": {
|
|
4351
|
+
"text": "boolean"
|
|
4352
|
+
},
|
|
4353
|
+
"default": "false",
|
|
4354
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
4355
|
+
"fieldName": "expand"
|
|
3348
4356
|
}
|
|
3349
4357
|
],
|
|
3350
4358
|
"parameters": [
|