@govtechsg/sgds-web-component 3.23.0-rc.2 → 3.23.0-rc.4
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/base/card-element.js +1 -1
- package/base/card-element.js.map +1 -1
- package/components/Card/index.umd.min.js +1 -1
- package/components/Card/index.umd.min.js.map +1 -1
- package/components/Checkbox/checkbox-group.js +1 -1
- package/components/Checkbox/index.umd.min.js +2 -2
- package/components/Checkbox/index.umd.min.js.map +1 -1
- package/components/ComboBox/index.umd.min.js +3 -3
- package/components/ComboBox/index.umd.min.js.map +1 -1
- package/components/ComboBox/sgds-combo-box-option.js +1 -1
- package/components/ComboBox/sgds-combo-box-option.js.map +1 -1
- package/components/Datepicker/index.umd.min.js +1 -1
- package/components/Datepicker/index.umd.min.js.map +1 -1
- package/components/FileUpload/index.umd.min.js +7 -7
- package/components/FileUpload/index.umd.min.js.map +1 -1
- package/components/IconCard/index.umd.min.js +1 -1
- package/components/IconCard/index.umd.min.js.map +1 -1
- package/components/ImageCard/index.umd.min.js +1 -1
- package/components/ImageCard/index.umd.min.js.map +1 -1
- package/components/Input/index.umd.min.js +2 -2
- package/components/Input/index.umd.min.js.map +1 -1
- package/components/Input/input.js +1 -1
- package/components/QuantityToggle/index.umd.min.js +2 -2
- package/components/QuantityToggle/index.umd.min.js.map +1 -1
- package/components/Radio/index.umd.min.js +1 -1
- package/components/Radio/index.umd.min.js.map +1 -1
- package/components/Select/index.umd.min.js +2 -2
- package/components/Select/index.umd.min.js.map +1 -1
- package/components/Select/sgds-select-option.js +1 -1
- package/components/Select/sgds-select-option.js.map +1 -1
- package/components/Switch/index.umd.min.js +1 -1
- package/components/Switch/index.umd.min.js.map +1 -1
- package/components/Textarea/index.umd.min.js +1 -1
- package/components/Textarea/index.umd.min.js.map +1 -1
- package/components/ThumbnailCard/index.umd.min.js +1 -1
- package/components/ThumbnailCard/index.umd.min.js.map +1 -1
- package/components/index.umd.min.js +7 -7
- package/components/index.umd.min.js.map +1 -1
- package/css/fouc.css +2 -2
- package/custom-elements.json +534 -534
- package/index.umd.min.js +7 -7
- package/index.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/react/base/card-element.cjs.js +1 -1
- package/react/base/card-element.cjs.js.map +1 -1
- package/react/base/card-element.js +1 -1
- package/react/base/card-element.js.map +1 -1
- package/react/components/Checkbox/checkbox-group.cjs.js +1 -1
- package/react/components/Checkbox/checkbox-group.js +1 -1
- package/react/components/ComboBox/sgds-combo-box-option.cjs.js +1 -1
- package/react/components/ComboBox/sgds-combo-box-option.cjs.js.map +1 -1
- package/react/components/ComboBox/sgds-combo-box-option.js +1 -1
- package/react/components/ComboBox/sgds-combo-box-option.js.map +1 -1
- package/react/components/Input/input.cjs.js +1 -1
- package/react/components/Input/input.js +1 -1
- package/react/components/Select/sgds-select-option.cjs.js +1 -1
- package/react/components/Select/sgds-select-option.cjs.js.map +1 -1
- package/react/components/Select/sgds-select-option.js +1 -1
- package/react/components/Select/sgds-select-option.js.map +1 -1
- package/react/index.cjs.js +8 -8
- package/react/index.d.ts +2 -2
- package/react/index.js +2 -2
- package/react/styles/form-label.cjs.js +1 -1
- package/react/styles/form-label.js +1 -1
- package/react/styles/form-text-control.cjs.js +1 -1
- package/react/styles/form-text-control.js +1 -1
- package/styles/form-label.js +1 -1
- package/styles/form-text-control.js +1 -1
- package/types/react.d.ts +18 -18
package/custom-elements.json
CHANGED
|
@@ -1212,6 +1212,308 @@
|
|
|
1212
1212
|
}
|
|
1213
1213
|
]
|
|
1214
1214
|
},
|
|
1215
|
+
{
|
|
1216
|
+
"kind": "javascript-module",
|
|
1217
|
+
"path": "src/components/Breadcrumb/sgds-breadcrumb-item.ts",
|
|
1218
|
+
"declarations": [
|
|
1219
|
+
{
|
|
1220
|
+
"kind": "class",
|
|
1221
|
+
"description": "",
|
|
1222
|
+
"name": "SgdsBreadcrumbItem",
|
|
1223
|
+
"slots": [
|
|
1224
|
+
{
|
|
1225
|
+
"description": "The link of the item. Pass in anchor tags into this slot",
|
|
1226
|
+
"name": "default"
|
|
1227
|
+
}
|
|
1228
|
+
],
|
|
1229
|
+
"members": [
|
|
1230
|
+
{
|
|
1231
|
+
"kind": "field",
|
|
1232
|
+
"name": "dependencies",
|
|
1233
|
+
"type": {
|
|
1234
|
+
"text": "Record<string, typeof SgdsElement>"
|
|
1235
|
+
},
|
|
1236
|
+
"static": true,
|
|
1237
|
+
"default": "{\n \"sgds-link\": SgdsLink,\n \"sgds-icon\": SgdsIcon\n }"
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
"kind": "field",
|
|
1241
|
+
"name": "active",
|
|
1242
|
+
"type": {
|
|
1243
|
+
"text": "boolean"
|
|
1244
|
+
},
|
|
1245
|
+
"default": "false",
|
|
1246
|
+
"description": "Indicates the link matches the current location of the page. Programmatically handled by SgdsBreadcrumb to set this prop to true for the last breadcrumb item",
|
|
1247
|
+
"attribute": "active",
|
|
1248
|
+
"reflects": true
|
|
1249
|
+
},
|
|
1250
|
+
{
|
|
1251
|
+
"kind": "field",
|
|
1252
|
+
"name": "_preventNavigation",
|
|
1253
|
+
"privacy": "private",
|
|
1254
|
+
"type": {}
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
"kind": "method",
|
|
1258
|
+
"name": "emit",
|
|
1259
|
+
"parameters": [
|
|
1260
|
+
{
|
|
1261
|
+
"name": "name",
|
|
1262
|
+
"type": {
|
|
1263
|
+
"text": "string"
|
|
1264
|
+
}
|
|
1265
|
+
},
|
|
1266
|
+
{
|
|
1267
|
+
"name": "options",
|
|
1268
|
+
"optional": true,
|
|
1269
|
+
"type": {
|
|
1270
|
+
"text": "CustomEventInit<T>"
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1273
|
+
],
|
|
1274
|
+
"description": "Emits a custom event with more convenient defaults.",
|
|
1275
|
+
"type": {},
|
|
1276
|
+
"inheritedFrom": {
|
|
1277
|
+
"name": "SgdsElement",
|
|
1278
|
+
"module": "src/base/sgds-element.ts"
|
|
1279
|
+
}
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
"kind": "method",
|
|
1283
|
+
"name": "define",
|
|
1284
|
+
"static": true,
|
|
1285
|
+
"parameters": [
|
|
1286
|
+
{
|
|
1287
|
+
"name": "name",
|
|
1288
|
+
"type": {
|
|
1289
|
+
"text": "string"
|
|
1290
|
+
}
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
"name": "elementConstructor",
|
|
1294
|
+
"default": "this"
|
|
1295
|
+
},
|
|
1296
|
+
{
|
|
1297
|
+
"name": "options",
|
|
1298
|
+
"default": "{}",
|
|
1299
|
+
"type": {
|
|
1300
|
+
"text": "ElementDefinitionOptions"
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
],
|
|
1304
|
+
"type": {},
|
|
1305
|
+
"inheritedFrom": {
|
|
1306
|
+
"name": "SgdsElement",
|
|
1307
|
+
"module": "src/base/sgds-element.ts"
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
],
|
|
1311
|
+
"attributes": [
|
|
1312
|
+
{
|
|
1313
|
+
"name": "active",
|
|
1314
|
+
"type": {
|
|
1315
|
+
"text": "boolean"
|
|
1316
|
+
},
|
|
1317
|
+
"default": "false",
|
|
1318
|
+
"description": "Indicates the link matches the current location of the page. Programmatically handled by SgdsBreadcrumb to set this prop to true for the last breadcrumb item",
|
|
1319
|
+
"fieldName": "active"
|
|
1320
|
+
}
|
|
1321
|
+
],
|
|
1322
|
+
"superclass": {
|
|
1323
|
+
"name": "SgdsElement",
|
|
1324
|
+
"module": "/src/base/sgds-element"
|
|
1325
|
+
},
|
|
1326
|
+
"summary": "Breadcrumb Item are navigational links used in Breadcrumb component",
|
|
1327
|
+
"tagName": "sgds-breadcrumb-item",
|
|
1328
|
+
"customElement": true,
|
|
1329
|
+
"modulePath": "src/components/Breadcrumb/sgds-breadcrumb-item.ts",
|
|
1330
|
+
"cssProperties": [],
|
|
1331
|
+
"cssParts": [],
|
|
1332
|
+
"cssStates": [],
|
|
1333
|
+
"events": []
|
|
1334
|
+
}
|
|
1335
|
+
],
|
|
1336
|
+
"exports": [
|
|
1337
|
+
{
|
|
1338
|
+
"kind": "js",
|
|
1339
|
+
"name": "SgdsBreadcrumbItem",
|
|
1340
|
+
"declaration": {
|
|
1341
|
+
"name": "SgdsBreadcrumbItem",
|
|
1342
|
+
"module": "src/components/Breadcrumb/sgds-breadcrumb-item.ts"
|
|
1343
|
+
}
|
|
1344
|
+
},
|
|
1345
|
+
{
|
|
1346
|
+
"kind": "js",
|
|
1347
|
+
"name": "default",
|
|
1348
|
+
"declaration": {
|
|
1349
|
+
"name": "SgdsBreadcrumbItem",
|
|
1350
|
+
"module": "src/components/Breadcrumb/sgds-breadcrumb-item.ts"
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
]
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
"kind": "javascript-module",
|
|
1357
|
+
"path": "src/components/Breadcrumb/sgds-breadcrumb.ts",
|
|
1358
|
+
"declarations": [
|
|
1359
|
+
{
|
|
1360
|
+
"kind": "class",
|
|
1361
|
+
"description": "",
|
|
1362
|
+
"name": "SgdsBreadcrumb",
|
|
1363
|
+
"slots": [
|
|
1364
|
+
{
|
|
1365
|
+
"description": "The slot to pass in custom elements of `SgdsBreadcrumbItems`.",
|
|
1366
|
+
"name": "default"
|
|
1367
|
+
}
|
|
1368
|
+
],
|
|
1369
|
+
"members": [
|
|
1370
|
+
{
|
|
1371
|
+
"kind": "field",
|
|
1372
|
+
"name": "dependencies",
|
|
1373
|
+
"type": {
|
|
1374
|
+
"text": "object"
|
|
1375
|
+
},
|
|
1376
|
+
"static": true,
|
|
1377
|
+
"default": "{\n \"sgds-overflow-menu\": SgdsOverflowMenu\n }"
|
|
1378
|
+
},
|
|
1379
|
+
{
|
|
1380
|
+
"kind": "field",
|
|
1381
|
+
"name": "ariaLabel",
|
|
1382
|
+
"type": {
|
|
1383
|
+
"text": "string"
|
|
1384
|
+
},
|
|
1385
|
+
"default": "\"breadcrumb\"",
|
|
1386
|
+
"description": "The aria-label of nav element within breadcrumb component.",
|
|
1387
|
+
"attribute": "ariaLabel"
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
"kind": "method",
|
|
1391
|
+
"name": "_replaceExcessItemsWithDropdown",
|
|
1392
|
+
"privacy": "private",
|
|
1393
|
+
"parameters": [
|
|
1394
|
+
{
|
|
1395
|
+
"name": "items",
|
|
1396
|
+
"type": {
|
|
1397
|
+
"text": "SgdsBreadcrumbItem[]"
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
],
|
|
1401
|
+
"description": "creates `<sgds-breadcrumb-item>\n <sgds-overflow-menu>\n <sgds-dropdown-item></sgds-dropdown-item>\n ...\n </sgds-overflow-menu>\n <sgds-breadcrumb-item>`",
|
|
1402
|
+
"type": {}
|
|
1403
|
+
},
|
|
1404
|
+
{
|
|
1405
|
+
"kind": "method",
|
|
1406
|
+
"name": "_handleSlotChange",
|
|
1407
|
+
"privacy": "private",
|
|
1408
|
+
"parameters": [
|
|
1409
|
+
{
|
|
1410
|
+
"name": "e",
|
|
1411
|
+
"type": {
|
|
1412
|
+
"text": "Event"
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
],
|
|
1416
|
+
"type": {}
|
|
1417
|
+
},
|
|
1418
|
+
{
|
|
1419
|
+
"kind": "method",
|
|
1420
|
+
"name": "emit",
|
|
1421
|
+
"parameters": [
|
|
1422
|
+
{
|
|
1423
|
+
"name": "name",
|
|
1424
|
+
"type": {
|
|
1425
|
+
"text": "string"
|
|
1426
|
+
}
|
|
1427
|
+
},
|
|
1428
|
+
{
|
|
1429
|
+
"name": "options",
|
|
1430
|
+
"optional": true,
|
|
1431
|
+
"type": {
|
|
1432
|
+
"text": "CustomEventInit<T>"
|
|
1433
|
+
}
|
|
1434
|
+
}
|
|
1435
|
+
],
|
|
1436
|
+
"description": "Emits a custom event with more convenient defaults.",
|
|
1437
|
+
"type": {},
|
|
1438
|
+
"inheritedFrom": {
|
|
1439
|
+
"name": "SgdsElement",
|
|
1440
|
+
"module": "src/base/sgds-element.ts"
|
|
1441
|
+
}
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
"kind": "method",
|
|
1445
|
+
"name": "define",
|
|
1446
|
+
"static": true,
|
|
1447
|
+
"parameters": [
|
|
1448
|
+
{
|
|
1449
|
+
"name": "name",
|
|
1450
|
+
"type": {
|
|
1451
|
+
"text": "string"
|
|
1452
|
+
}
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
"name": "elementConstructor",
|
|
1456
|
+
"default": "this"
|
|
1457
|
+
},
|
|
1458
|
+
{
|
|
1459
|
+
"name": "options",
|
|
1460
|
+
"default": "{}",
|
|
1461
|
+
"type": {
|
|
1462
|
+
"text": "ElementDefinitionOptions"
|
|
1463
|
+
}
|
|
1464
|
+
}
|
|
1465
|
+
],
|
|
1466
|
+
"type": {},
|
|
1467
|
+
"inheritedFrom": {
|
|
1468
|
+
"name": "SgdsElement",
|
|
1469
|
+
"module": "src/base/sgds-element.ts"
|
|
1470
|
+
}
|
|
1471
|
+
}
|
|
1472
|
+
],
|
|
1473
|
+
"attributes": [
|
|
1474
|
+
{
|
|
1475
|
+
"name": "ariaLabel",
|
|
1476
|
+
"type": {
|
|
1477
|
+
"text": "string"
|
|
1478
|
+
},
|
|
1479
|
+
"default": "\"breadcrumb\"",
|
|
1480
|
+
"description": "The aria-label of nav element within breadcrumb component.",
|
|
1481
|
+
"fieldName": "ariaLabel"
|
|
1482
|
+
}
|
|
1483
|
+
],
|
|
1484
|
+
"superclass": {
|
|
1485
|
+
"name": "SgdsElement",
|
|
1486
|
+
"module": "/src/base/sgds-element"
|
|
1487
|
+
},
|
|
1488
|
+
"summary": "Breadcrumbs help users to navigate and understand where they are on the current website or service.",
|
|
1489
|
+
"tagName": "sgds-breadcrumb",
|
|
1490
|
+
"customElement": true,
|
|
1491
|
+
"modulePath": "src/components/Breadcrumb/sgds-breadcrumb.ts",
|
|
1492
|
+
"cssProperties": [],
|
|
1493
|
+
"cssParts": [],
|
|
1494
|
+
"cssStates": [],
|
|
1495
|
+
"events": []
|
|
1496
|
+
}
|
|
1497
|
+
],
|
|
1498
|
+
"exports": [
|
|
1499
|
+
{
|
|
1500
|
+
"kind": "js",
|
|
1501
|
+
"name": "SgdsBreadcrumb",
|
|
1502
|
+
"declaration": {
|
|
1503
|
+
"name": "SgdsBreadcrumb",
|
|
1504
|
+
"module": "src/components/Breadcrumb/sgds-breadcrumb.ts"
|
|
1505
|
+
}
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
"kind": "js",
|
|
1509
|
+
"name": "default",
|
|
1510
|
+
"declaration": {
|
|
1511
|
+
"name": "SgdsBreadcrumb",
|
|
1512
|
+
"module": "src/components/Breadcrumb/sgds-breadcrumb.ts"
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
]
|
|
1516
|
+
},
|
|
1215
1517
|
{
|
|
1216
1518
|
"kind": "javascript-module",
|
|
1217
1519
|
"path": "src/components/Button/sgds-button.ts",
|
|
@@ -2001,652 +2303,245 @@
|
|
|
2001
2303
|
"description": "The subtitle of the card",
|
|
2002
2304
|
"name": "subtitle"
|
|
2003
2305
|
},
|
|
2004
|
-
{
|
|
2005
|
-
"description": "The title of the card",
|
|
2006
|
-
"name": "title"
|
|
2007
|
-
},
|
|
2008
|
-
{
|
|
2009
|
-
"description": "The paragrapher text of the card",
|
|
2010
|
-
"name": "description"
|
|
2011
|
-
},
|
|
2012
|
-
{
|
|
2013
|
-
"description": "Accepts any additional content to be displayed below the card description, such as badges, metadata, or supplementary information.",
|
|
2014
|
-
"name": "lower"
|
|
2015
|
-
},
|
|
2016
|
-
{
|
|
2017
|
-
"description": "Footer area of the card. Accepts links, actions, or any custom content.",
|
|
2018
|
-
"name": "footer"
|
|
2019
|
-
},
|
|
2020
|
-
{
|
|
2021
|
-
"description": "(@deprecated) Deprecated since 3.3.2 in favour of `footer` slot. Legacy slot for anchor elements. Use `footer` instead.",
|
|
2022
|
-
"name": "link"
|
|
2023
|
-
}
|
|
2024
|
-
],
|
|
2025
|
-
"members": [
|
|
2026
|
-
{
|
|
2027
|
-
"kind": "field",
|
|
2028
|
-
"name": "footerNode",
|
|
2029
|
-
"type": {
|
|
2030
|
-
"text": "HTMLElement[]"
|
|
2031
|
-
},
|
|
2032
|
-
"privacy": "private"
|
|
2033
|
-
},
|
|
2034
|
-
{
|
|
2035
|
-
"kind": "field",
|
|
2036
|
-
"name": "linkNode",
|
|
2037
|
-
"type": {
|
|
2038
|
-
"text": "HTMLAnchorElement[] | SgdsLink[]"
|
|
2039
|
-
},
|
|
2040
|
-
"privacy": "private"
|
|
2041
|
-
},
|
|
2042
|
-
{
|
|
2043
|
-
"kind": "field",
|
|
2044
|
-
"name": "imagePosition",
|
|
2045
|
-
"type": {
|
|
2046
|
-
"text": "CardImagePosition"
|
|
2047
|
-
},
|
|
2048
|
-
"default": "\"before\"",
|
|
2049
|
-
"description": "Sets the image position of the card. Available options: `before`, `after`",
|
|
2050
|
-
"attribute": "imagePosition",
|
|
2051
|
-
"reflects": true
|
|
2052
|
-
},
|
|
2053
|
-
{
|
|
2054
|
-
"kind": "field",
|
|
2055
|
-
"name": "imageAdjustment",
|
|
2056
|
-
"type": {
|
|
2057
|
-
"text": "CardImageAdjustment"
|
|
2058
|
-
},
|
|
2059
|
-
"default": "\"default\"",
|
|
2060
|
-
"description": "Controls how the image is sized and aligned within the card. Available options: `default`, `padding around`, `aspect ratio`",
|
|
2061
|
-
"attribute": "imageAdjustment",
|
|
2062
|
-
"reflects": true
|
|
2063
|
-
},
|
|
2064
|
-
{
|
|
2065
|
-
"kind": "field",
|
|
2066
|
-
"name": "hasImageSlot",
|
|
2067
|
-
"type": {
|
|
2068
|
-
"text": "boolean"
|
|
2069
|
-
},
|
|
2070
|
-
"default": "false",
|
|
2071
|
-
"description": "Used only for SSR to indicate the presence of the `image` slot.",
|
|
2072
|
-
"attribute": "hasImageSlot"
|
|
2073
|
-
},
|
|
2074
|
-
{
|
|
2075
|
-
"kind": "field",
|
|
2076
|
-
"name": "hasIconSlot",
|
|
2077
|
-
"type": {
|
|
2078
|
-
"text": "boolean"
|
|
2079
|
-
},
|
|
2080
|
-
"default": "false",
|
|
2081
|
-
"description": "Used only for SSR to indicate the presence of the `icon` slot.",
|
|
2082
|
-
"attribute": "hasIconSlot"
|
|
2083
|
-
},
|
|
2084
|
-
{
|
|
2085
|
-
"kind": "field",
|
|
2086
|
-
"name": "hasUpperSlot",
|
|
2087
|
-
"type": {
|
|
2088
|
-
"text": "boolean"
|
|
2089
|
-
},
|
|
2090
|
-
"default": "false",
|
|
2091
|
-
"description": "Used only for SSR to indicate the presence of the `upper` slot.",
|
|
2092
|
-
"attribute": "hasUpperSlot"
|
|
2093
|
-
},
|
|
2094
|
-
{
|
|
2095
|
-
"kind": "field",
|
|
2096
|
-
"name": "linkSlotItems",
|
|
2097
|
-
"type": {
|
|
2098
|
-
"text": "HTMLAnchorElement | null"
|
|
2099
|
-
},
|
|
2100
|
-
"privacy": "private"
|
|
2101
|
-
},
|
|
2102
|
-
{
|
|
2103
|
-
"kind": "field",
|
|
2104
|
-
"name": "footerSlotItems",
|
|
2105
|
-
"type": {
|
|
2106
|
-
"text": "HTMLAnchorElement | null"
|
|
2107
|
-
},
|
|
2108
|
-
"privacy": "private"
|
|
2109
|
-
},
|
|
2110
|
-
{
|
|
2111
|
-
"kind": "field",
|
|
2112
|
-
"name": "hasSlotController",
|
|
2113
|
-
"privacy": "private",
|
|
2114
|
-
"default": "new HasSlotController(this, \"image\", \"icon\", \"upper\")",
|
|
2115
|
-
"type": {}
|
|
2116
|
-
},
|
|
2117
|
-
{
|
|
2118
|
-
"kind": "method",
|
|
2119
|
-
"name": "handleImgSlotChange",
|
|
2120
|
-
"parameters": [
|
|
2121
|
-
{
|
|
2122
|
-
"name": "e",
|
|
2123
|
-
"type": {
|
|
2124
|
-
"text": "Event"
|
|
2125
|
-
}
|
|
2126
|
-
}
|
|
2127
|
-
],
|
|
2128
|
-
"type": {}
|
|
2129
|
-
},
|
|
2130
|
-
{
|
|
2131
|
-
"kind": "field",
|
|
2132
|
-
"name": "stretchedLink",
|
|
2133
|
-
"type": {
|
|
2134
|
-
"text": "boolean"
|
|
2135
|
-
},
|
|
2136
|
-
"default": "false",
|
|
2137
|
-
"description": "Extends the link passed in either `footer` or `link`(deprecated) slot.",
|
|
2138
|
-
"attribute": "stretchedLink",
|
|
2139
|
-
"reflects": true,
|
|
2140
|
-
"inheritedFrom": {
|
|
2141
|
-
"name": "CardElement",
|
|
2142
|
-
"module": "src/base/card-element.ts"
|
|
2143
|
-
}
|
|
2144
|
-
},
|
|
2145
|
-
{
|
|
2146
|
-
"kind": "field",
|
|
2147
|
-
"name": "disabled",
|
|
2148
|
-
"type": {
|
|
2149
|
-
"text": "boolean"
|
|
2150
|
-
},
|
|
2151
|
-
"default": "false",
|
|
2152
|
-
"description": "Disables the card",
|
|
2153
|
-
"attribute": "disabled",
|
|
2154
|
-
"reflects": true,
|
|
2155
|
-
"inheritedFrom": {
|
|
2156
|
-
"name": "CardElement",
|
|
2157
|
-
"module": "src/base/card-element.ts"
|
|
2158
|
-
}
|
|
2159
|
-
},
|
|
2160
|
-
{
|
|
2161
|
-
"kind": "field",
|
|
2162
|
-
"name": "hideBorder",
|
|
2163
|
-
"type": {
|
|
2164
|
-
"text": "boolean"
|
|
2165
|
-
},
|
|
2166
|
-
"default": "false",
|
|
2167
|
-
"description": "When true, hides the default border of the card.",
|
|
2168
|
-
"attribute": "hideBorder",
|
|
2169
|
-
"reflects": true,
|
|
2170
|
-
"inheritedFrom": {
|
|
2171
|
-
"name": "CardElement",
|
|
2172
|
-
"module": "src/base/card-element.ts"
|
|
2173
|
-
}
|
|
2174
|
-
},
|
|
2175
|
-
{
|
|
2176
|
-
"kind": "field",
|
|
2177
|
-
"name": "tinted",
|
|
2178
|
-
"type": {
|
|
2179
|
-
"text": "boolean"
|
|
2180
|
-
},
|
|
2181
|
-
"default": "false",
|
|
2182
|
-
"description": "When true, applies a tinted background color to the card.",
|
|
2183
|
-
"attribute": "tinted",
|
|
2184
|
-
"reflects": true,
|
|
2185
|
-
"inheritedFrom": {
|
|
2186
|
-
"name": "CardElement",
|
|
2187
|
-
"module": "src/base/card-element.ts"
|
|
2188
|
-
}
|
|
2189
|
-
},
|
|
2190
|
-
{
|
|
2191
|
-
"kind": "field",
|
|
2192
|
-
"name": "orientation",
|
|
2193
|
-
"type": {
|
|
2194
|
-
"text": "CardOrientation"
|
|
2195
|
-
},
|
|
2196
|
-
"default": "\"vertical\"",
|
|
2197
|
-
"description": "Sets the orientation of the card. Available options: `vertical`, `horizontal`",
|
|
2198
|
-
"attribute": "orientation",
|
|
2199
|
-
"reflects": true,
|
|
2200
|
-
"inheritedFrom": {
|
|
2201
|
-
"name": "CardElement",
|
|
2202
|
-
"module": "src/base/card-element.ts"
|
|
2203
|
-
}
|
|
2204
|
-
},
|
|
2205
|
-
{
|
|
2206
|
-
"kind": "method",
|
|
2207
|
-
"name": "handleTitleSlotChange",
|
|
2208
|
-
"parameters": [
|
|
2209
|
-
{
|
|
2210
|
-
"name": "e",
|
|
2211
|
-
"type": {
|
|
2212
|
-
"text": "Event"
|
|
2213
|
-
}
|
|
2214
|
-
}
|
|
2215
|
-
],
|
|
2216
|
-
"type": {},
|
|
2217
|
-
"inheritedFrom": {
|
|
2218
|
-
"name": "CardElement",
|
|
2219
|
-
"module": "src/base/card-element.ts"
|
|
2220
|
-
}
|
|
2221
|
-
},
|
|
2222
|
-
{
|
|
2223
|
-
"kind": "method",
|
|
2224
|
-
"name": "_forwardAnchorAttributes",
|
|
2225
|
-
"privacy": "protected",
|
|
2226
|
-
"parameters": [
|
|
2227
|
-
{
|
|
2228
|
-
"name": "anchor",
|
|
2229
|
-
"type": {
|
|
2230
|
-
"text": "HTMLAnchorElement | null"
|
|
2231
|
-
}
|
|
2232
|
-
}
|
|
2233
|
-
],
|
|
2234
|
-
"type": {},
|
|
2235
|
-
"inheritedFrom": {
|
|
2236
|
-
"name": "CardElement",
|
|
2237
|
-
"module": "src/base/card-element.ts"
|
|
2238
|
-
}
|
|
2239
|
-
},
|
|
2240
|
-
{
|
|
2241
|
-
"kind": "method",
|
|
2242
|
-
"name": "warnLinkSlotMisused",
|
|
2243
|
-
"parameters": [
|
|
2244
|
-
{
|
|
2245
|
-
"name": "e",
|
|
2246
|
-
"type": {
|
|
2247
|
-
"text": "Event"
|
|
2248
|
-
}
|
|
2249
|
-
}
|
|
2250
|
-
],
|
|
2251
|
-
"type": {},
|
|
2252
|
-
"inheritedFrom": {
|
|
2253
|
-
"name": "CardElement",
|
|
2254
|
-
"module": "src/base/card-element.ts"
|
|
2255
|
-
}
|
|
2306
|
+
{
|
|
2307
|
+
"description": "The title of the card",
|
|
2308
|
+
"name": "title"
|
|
2256
2309
|
},
|
|
2257
2310
|
{
|
|
2258
|
-
"
|
|
2259
|
-
"name": "
|
|
2260
|
-
"parameters": [
|
|
2261
|
-
{
|
|
2262
|
-
"name": "name",
|
|
2263
|
-
"type": {
|
|
2264
|
-
"text": "string"
|
|
2265
|
-
}
|
|
2266
|
-
},
|
|
2267
|
-
{
|
|
2268
|
-
"name": "options",
|
|
2269
|
-
"optional": true,
|
|
2270
|
-
"type": {
|
|
2271
|
-
"text": "CustomEventInit<T>"
|
|
2272
|
-
}
|
|
2273
|
-
}
|
|
2274
|
-
],
|
|
2275
|
-
"description": "Emits a custom event with more convenient defaults.",
|
|
2276
|
-
"type": {},
|
|
2277
|
-
"inheritedFrom": {
|
|
2278
|
-
"name": "SgdsElement",
|
|
2279
|
-
"module": "src/base/sgds-element.ts"
|
|
2280
|
-
}
|
|
2311
|
+
"description": "The paragrapher text of the card",
|
|
2312
|
+
"name": "description"
|
|
2281
2313
|
},
|
|
2282
2314
|
{
|
|
2283
|
-
"
|
|
2284
|
-
"name": "
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
{
|
|
2294
|
-
"name": "elementConstructor",
|
|
2295
|
-
"default": "this"
|
|
2296
|
-
},
|
|
2297
|
-
{
|
|
2298
|
-
"name": "options",
|
|
2299
|
-
"default": "{}",
|
|
2300
|
-
"type": {
|
|
2301
|
-
"text": "ElementDefinitionOptions"
|
|
2302
|
-
}
|
|
2303
|
-
}
|
|
2304
|
-
],
|
|
2305
|
-
"type": {},
|
|
2306
|
-
"inheritedFrom": {
|
|
2307
|
-
"name": "SgdsElement",
|
|
2308
|
-
"module": "src/base/sgds-element.ts"
|
|
2309
|
-
}
|
|
2315
|
+
"description": "Accepts any additional content to be displayed below the card description, such as badges, metadata, or supplementary information.",
|
|
2316
|
+
"name": "lower"
|
|
2317
|
+
},
|
|
2318
|
+
{
|
|
2319
|
+
"description": "Footer area of the card. Accepts links, actions, or any custom content.",
|
|
2320
|
+
"name": "footer"
|
|
2321
|
+
},
|
|
2322
|
+
{
|
|
2323
|
+
"description": "(@deprecated) Deprecated since 3.3.2 in favour of `footer` slot. Legacy slot for anchor elements. Use `footer` instead.",
|
|
2324
|
+
"name": "link"
|
|
2310
2325
|
}
|
|
2311
2326
|
],
|
|
2312
|
-
"
|
|
2327
|
+
"members": [
|
|
2328
|
+
{
|
|
2329
|
+
"kind": "field",
|
|
2330
|
+
"name": "footerNode",
|
|
2331
|
+
"type": {
|
|
2332
|
+
"text": "HTMLElement[]"
|
|
2333
|
+
},
|
|
2334
|
+
"privacy": "private"
|
|
2335
|
+
},
|
|
2336
|
+
{
|
|
2337
|
+
"kind": "field",
|
|
2338
|
+
"name": "linkNode",
|
|
2339
|
+
"type": {
|
|
2340
|
+
"text": "HTMLAnchorElement[] | SgdsLink[]"
|
|
2341
|
+
},
|
|
2342
|
+
"privacy": "private"
|
|
2343
|
+
},
|
|
2313
2344
|
{
|
|
2345
|
+
"kind": "field",
|
|
2314
2346
|
"name": "imagePosition",
|
|
2315
2347
|
"type": {
|
|
2316
2348
|
"text": "CardImagePosition"
|
|
2317
2349
|
},
|
|
2318
2350
|
"default": "\"before\"",
|
|
2319
2351
|
"description": "Sets the image position of the card. Available options: `before`, `after`",
|
|
2320
|
-
"
|
|
2352
|
+
"attribute": "imagePosition",
|
|
2353
|
+
"reflects": true
|
|
2321
2354
|
},
|
|
2322
2355
|
{
|
|
2356
|
+
"kind": "field",
|
|
2323
2357
|
"name": "imageAdjustment",
|
|
2324
2358
|
"type": {
|
|
2325
2359
|
"text": "CardImageAdjustment"
|
|
2326
2360
|
},
|
|
2327
2361
|
"default": "\"default\"",
|
|
2328
2362
|
"description": "Controls how the image is sized and aligned within the card. Available options: `default`, `padding around`, `aspect ratio`",
|
|
2329
|
-
"
|
|
2363
|
+
"attribute": "imageAdjustment",
|
|
2364
|
+
"reflects": true
|
|
2330
2365
|
},
|
|
2331
2366
|
{
|
|
2367
|
+
"kind": "field",
|
|
2332
2368
|
"name": "hasImageSlot",
|
|
2333
2369
|
"type": {
|
|
2334
2370
|
"text": "boolean"
|
|
2335
2371
|
},
|
|
2336
2372
|
"default": "false",
|
|
2337
2373
|
"description": "Used only for SSR to indicate the presence of the `image` slot.",
|
|
2338
|
-
"
|
|
2374
|
+
"attribute": "hasImageSlot"
|
|
2339
2375
|
},
|
|
2340
2376
|
{
|
|
2377
|
+
"kind": "field",
|
|
2341
2378
|
"name": "hasIconSlot",
|
|
2342
2379
|
"type": {
|
|
2343
2380
|
"text": "boolean"
|
|
2344
2381
|
},
|
|
2345
2382
|
"default": "false",
|
|
2346
2383
|
"description": "Used only for SSR to indicate the presence of the `icon` slot.",
|
|
2347
|
-
"
|
|
2384
|
+
"attribute": "hasIconSlot"
|
|
2348
2385
|
},
|
|
2349
2386
|
{
|
|
2387
|
+
"kind": "field",
|
|
2350
2388
|
"name": "hasUpperSlot",
|
|
2351
2389
|
"type": {
|
|
2352
2390
|
"text": "boolean"
|
|
2353
2391
|
},
|
|
2354
2392
|
"default": "false",
|
|
2355
2393
|
"description": "Used only for SSR to indicate the presence of the `upper` slot.",
|
|
2356
|
-
"
|
|
2394
|
+
"attribute": "hasUpperSlot"
|
|
2395
|
+
},
|
|
2396
|
+
{
|
|
2397
|
+
"kind": "field",
|
|
2398
|
+
"name": "linkSlotItems",
|
|
2399
|
+
"type": {
|
|
2400
|
+
"text": "HTMLAnchorElement | null"
|
|
2401
|
+
},
|
|
2402
|
+
"privacy": "private"
|
|
2403
|
+
},
|
|
2404
|
+
{
|
|
2405
|
+
"kind": "field",
|
|
2406
|
+
"name": "footerSlotItems",
|
|
2407
|
+
"type": {
|
|
2408
|
+
"text": "HTMLAnchorElement | null"
|
|
2409
|
+
},
|
|
2410
|
+
"privacy": "private"
|
|
2411
|
+
},
|
|
2412
|
+
{
|
|
2413
|
+
"kind": "field",
|
|
2414
|
+
"name": "hasSlotController",
|
|
2415
|
+
"privacy": "private",
|
|
2416
|
+
"default": "new HasSlotController(this, \"image\", \"icon\", \"upper\")",
|
|
2417
|
+
"type": {}
|
|
2418
|
+
},
|
|
2419
|
+
{
|
|
2420
|
+
"kind": "method",
|
|
2421
|
+
"name": "handleImgSlotChange",
|
|
2422
|
+
"parameters": [
|
|
2423
|
+
{
|
|
2424
|
+
"name": "e",
|
|
2425
|
+
"type": {
|
|
2426
|
+
"text": "Event"
|
|
2427
|
+
}
|
|
2428
|
+
}
|
|
2429
|
+
],
|
|
2430
|
+
"type": {}
|
|
2357
2431
|
},
|
|
2358
2432
|
{
|
|
2433
|
+
"kind": "field",
|
|
2359
2434
|
"name": "stretchedLink",
|
|
2360
2435
|
"type": {
|
|
2361
2436
|
"text": "boolean"
|
|
2362
2437
|
},
|
|
2363
2438
|
"default": "false",
|
|
2364
2439
|
"description": "Extends the link passed in either `footer` or `link`(deprecated) slot.",
|
|
2365
|
-
"
|
|
2440
|
+
"attribute": "stretchedLink",
|
|
2441
|
+
"reflects": true,
|
|
2366
2442
|
"inheritedFrom": {
|
|
2367
2443
|
"name": "CardElement",
|
|
2368
2444
|
"module": "src/base/card-element.ts"
|
|
2369
2445
|
}
|
|
2370
2446
|
},
|
|
2371
2447
|
{
|
|
2448
|
+
"kind": "field",
|
|
2372
2449
|
"name": "disabled",
|
|
2373
2450
|
"type": {
|
|
2374
2451
|
"text": "boolean"
|
|
2375
2452
|
},
|
|
2376
2453
|
"default": "false",
|
|
2377
2454
|
"description": "Disables the card",
|
|
2378
|
-
"
|
|
2455
|
+
"attribute": "disabled",
|
|
2456
|
+
"reflects": true,
|
|
2379
2457
|
"inheritedFrom": {
|
|
2380
2458
|
"name": "CardElement",
|
|
2381
2459
|
"module": "src/base/card-element.ts"
|
|
2382
2460
|
}
|
|
2383
2461
|
},
|
|
2384
2462
|
{
|
|
2463
|
+
"kind": "field",
|
|
2385
2464
|
"name": "hideBorder",
|
|
2386
2465
|
"type": {
|
|
2387
2466
|
"text": "boolean"
|
|
2388
2467
|
},
|
|
2389
2468
|
"default": "false",
|
|
2390
2469
|
"description": "When true, hides the default border of the card.",
|
|
2391
|
-
"
|
|
2470
|
+
"attribute": "hideBorder",
|
|
2471
|
+
"reflects": true,
|
|
2392
2472
|
"inheritedFrom": {
|
|
2393
2473
|
"name": "CardElement",
|
|
2394
2474
|
"module": "src/base/card-element.ts"
|
|
2395
2475
|
}
|
|
2396
2476
|
},
|
|
2397
2477
|
{
|
|
2478
|
+
"kind": "field",
|
|
2398
2479
|
"name": "tinted",
|
|
2399
2480
|
"type": {
|
|
2400
2481
|
"text": "boolean"
|
|
2401
2482
|
},
|
|
2402
2483
|
"default": "false",
|
|
2403
2484
|
"description": "When true, applies a tinted background color to the card.",
|
|
2404
|
-
"
|
|
2485
|
+
"attribute": "tinted",
|
|
2486
|
+
"reflects": true,
|
|
2405
2487
|
"inheritedFrom": {
|
|
2406
2488
|
"name": "CardElement",
|
|
2407
2489
|
"module": "src/base/card-element.ts"
|
|
2408
2490
|
}
|
|
2409
2491
|
},
|
|
2410
2492
|
{
|
|
2493
|
+
"kind": "field",
|
|
2411
2494
|
"name": "orientation",
|
|
2412
2495
|
"type": {
|
|
2413
2496
|
"text": "CardOrientation"
|
|
2414
2497
|
},
|
|
2415
2498
|
"default": "\"vertical\"",
|
|
2416
2499
|
"description": "Sets the orientation of the card. Available options: `vertical`, `horizontal`",
|
|
2417
|
-
"
|
|
2500
|
+
"attribute": "orientation",
|
|
2501
|
+
"reflects": true,
|
|
2418
2502
|
"inheritedFrom": {
|
|
2419
2503
|
"name": "CardElement",
|
|
2420
2504
|
"module": "src/base/card-element.ts"
|
|
2421
2505
|
}
|
|
2422
|
-
}
|
|
2423
|
-
],
|
|
2424
|
-
"superclass": {
|
|
2425
|
-
"name": "CardElement",
|
|
2426
|
-
"module": "/src/base/card-element"
|
|
2427
|
-
},
|
|
2428
|
-
"summary": "Cards can be used for headers and footers, a wide variety of content, contain contextual background colors and images.",
|
|
2429
|
-
"tagName": "sgds-card",
|
|
2430
|
-
"customElement": true,
|
|
2431
|
-
"modulePath": "src/components/Card/sgds-card.ts",
|
|
2432
|
-
"cssProperties": [],
|
|
2433
|
-
"cssParts": [],
|
|
2434
|
-
"cssStates": [],
|
|
2435
|
-
"events": []
|
|
2436
|
-
}
|
|
2437
|
-
],
|
|
2438
|
-
"exports": [
|
|
2439
|
-
{
|
|
2440
|
-
"kind": "js",
|
|
2441
|
-
"name": "SgdsCard",
|
|
2442
|
-
"declaration": {
|
|
2443
|
-
"name": "SgdsCard",
|
|
2444
|
-
"module": "src/components/Card/sgds-card.ts"
|
|
2445
|
-
}
|
|
2446
|
-
},
|
|
2447
|
-
{
|
|
2448
|
-
"kind": "js",
|
|
2449
|
-
"name": "default",
|
|
2450
|
-
"declaration": {
|
|
2451
|
-
"name": "SgdsCard",
|
|
2452
|
-
"module": "src/components/Card/sgds-card.ts"
|
|
2453
|
-
}
|
|
2454
|
-
}
|
|
2455
|
-
]
|
|
2456
|
-
},
|
|
2457
|
-
{
|
|
2458
|
-
"kind": "javascript-module",
|
|
2459
|
-
"path": "src/components/Breadcrumb/sgds-breadcrumb-item.ts",
|
|
2460
|
-
"declarations": [
|
|
2461
|
-
{
|
|
2462
|
-
"kind": "class",
|
|
2463
|
-
"description": "",
|
|
2464
|
-
"name": "SgdsBreadcrumbItem",
|
|
2465
|
-
"slots": [
|
|
2466
|
-
{
|
|
2467
|
-
"description": "The link of the item. Pass in anchor tags into this slot",
|
|
2468
|
-
"name": "default"
|
|
2469
|
-
}
|
|
2470
|
-
],
|
|
2471
|
-
"members": [
|
|
2472
|
-
{
|
|
2473
|
-
"kind": "field",
|
|
2474
|
-
"name": "dependencies",
|
|
2475
|
-
"type": {
|
|
2476
|
-
"text": "Record<string, typeof SgdsElement>"
|
|
2477
|
-
},
|
|
2478
|
-
"static": true,
|
|
2479
|
-
"default": "{\n \"sgds-link\": SgdsLink,\n \"sgds-icon\": SgdsIcon\n }"
|
|
2480
|
-
},
|
|
2481
|
-
{
|
|
2482
|
-
"kind": "field",
|
|
2483
|
-
"name": "active",
|
|
2484
|
-
"type": {
|
|
2485
|
-
"text": "boolean"
|
|
2486
|
-
},
|
|
2487
|
-
"default": "false",
|
|
2488
|
-
"description": "Indicates the link matches the current location of the page. Programmatically handled by SgdsBreadcrumb to set this prop to true for the last breadcrumb item",
|
|
2489
|
-
"attribute": "active",
|
|
2490
|
-
"reflects": true
|
|
2491
|
-
},
|
|
2492
|
-
{
|
|
2493
|
-
"kind": "field",
|
|
2494
|
-
"name": "_preventNavigation",
|
|
2495
|
-
"privacy": "private",
|
|
2496
|
-
"type": {}
|
|
2497
|
-
},
|
|
2498
|
-
{
|
|
2499
|
-
"kind": "method",
|
|
2500
|
-
"name": "emit",
|
|
2501
|
-
"parameters": [
|
|
2502
|
-
{
|
|
2503
|
-
"name": "name",
|
|
2504
|
-
"type": {
|
|
2505
|
-
"text": "string"
|
|
2506
|
-
}
|
|
2507
|
-
},
|
|
2508
|
-
{
|
|
2509
|
-
"name": "options",
|
|
2510
|
-
"optional": true,
|
|
2511
|
-
"type": {
|
|
2512
|
-
"text": "CustomEventInit<T>"
|
|
2513
|
-
}
|
|
2514
|
-
}
|
|
2515
|
-
],
|
|
2516
|
-
"description": "Emits a custom event with more convenient defaults.",
|
|
2517
|
-
"type": {},
|
|
2518
|
-
"inheritedFrom": {
|
|
2519
|
-
"name": "SgdsElement",
|
|
2520
|
-
"module": "src/base/sgds-element.ts"
|
|
2521
|
-
}
|
|
2522
2506
|
},
|
|
2523
2507
|
{
|
|
2524
2508
|
"kind": "method",
|
|
2525
|
-
"name": "
|
|
2526
|
-
"static": true,
|
|
2509
|
+
"name": "handleTitleSlotChange",
|
|
2527
2510
|
"parameters": [
|
|
2528
2511
|
{
|
|
2529
|
-
"name": "
|
|
2530
|
-
"type": {
|
|
2531
|
-
"text": "string"
|
|
2532
|
-
}
|
|
2533
|
-
},
|
|
2534
|
-
{
|
|
2535
|
-
"name": "elementConstructor",
|
|
2536
|
-
"default": "this"
|
|
2537
|
-
},
|
|
2538
|
-
{
|
|
2539
|
-
"name": "options",
|
|
2540
|
-
"default": "{}",
|
|
2512
|
+
"name": "e",
|
|
2541
2513
|
"type": {
|
|
2542
|
-
"text": "
|
|
2514
|
+
"text": "Event"
|
|
2543
2515
|
}
|
|
2544
2516
|
}
|
|
2545
2517
|
],
|
|
2546
2518
|
"type": {},
|
|
2547
2519
|
"inheritedFrom": {
|
|
2548
|
-
"name": "
|
|
2549
|
-
"module": "src/base/
|
|
2520
|
+
"name": "CardElement",
|
|
2521
|
+
"module": "src/base/card-element.ts"
|
|
2550
2522
|
}
|
|
2551
|
-
}
|
|
2552
|
-
],
|
|
2553
|
-
"attributes": [
|
|
2554
|
-
{
|
|
2555
|
-
"name": "active",
|
|
2556
|
-
"type": {
|
|
2557
|
-
"text": "boolean"
|
|
2558
|
-
},
|
|
2559
|
-
"default": "false",
|
|
2560
|
-
"description": "Indicates the link matches the current location of the page. Programmatically handled by SgdsBreadcrumb to set this prop to true for the last breadcrumb item",
|
|
2561
|
-
"fieldName": "active"
|
|
2562
|
-
}
|
|
2563
|
-
],
|
|
2564
|
-
"superclass": {
|
|
2565
|
-
"name": "SgdsElement",
|
|
2566
|
-
"module": "/src/base/sgds-element"
|
|
2567
|
-
},
|
|
2568
|
-
"summary": "Breadcrumb Item are navigational links used in Breadcrumb component",
|
|
2569
|
-
"tagName": "sgds-breadcrumb-item",
|
|
2570
|
-
"customElement": true,
|
|
2571
|
-
"modulePath": "src/components/Breadcrumb/sgds-breadcrumb-item.ts",
|
|
2572
|
-
"cssProperties": [],
|
|
2573
|
-
"cssParts": [],
|
|
2574
|
-
"cssStates": [],
|
|
2575
|
-
"events": []
|
|
2576
|
-
}
|
|
2577
|
-
],
|
|
2578
|
-
"exports": [
|
|
2579
|
-
{
|
|
2580
|
-
"kind": "js",
|
|
2581
|
-
"name": "SgdsBreadcrumbItem",
|
|
2582
|
-
"declaration": {
|
|
2583
|
-
"name": "SgdsBreadcrumbItem",
|
|
2584
|
-
"module": "src/components/Breadcrumb/sgds-breadcrumb-item.ts"
|
|
2585
|
-
}
|
|
2586
|
-
},
|
|
2587
|
-
{
|
|
2588
|
-
"kind": "js",
|
|
2589
|
-
"name": "default",
|
|
2590
|
-
"declaration": {
|
|
2591
|
-
"name": "SgdsBreadcrumbItem",
|
|
2592
|
-
"module": "src/components/Breadcrumb/sgds-breadcrumb-item.ts"
|
|
2593
|
-
}
|
|
2594
|
-
}
|
|
2595
|
-
]
|
|
2596
|
-
},
|
|
2597
|
-
{
|
|
2598
|
-
"kind": "javascript-module",
|
|
2599
|
-
"path": "src/components/Breadcrumb/sgds-breadcrumb.ts",
|
|
2600
|
-
"declarations": [
|
|
2601
|
-
{
|
|
2602
|
-
"kind": "class",
|
|
2603
|
-
"description": "",
|
|
2604
|
-
"name": "SgdsBreadcrumb",
|
|
2605
|
-
"slots": [
|
|
2606
|
-
{
|
|
2607
|
-
"description": "The slot to pass in custom elements of `SgdsBreadcrumbItems`.",
|
|
2608
|
-
"name": "default"
|
|
2609
|
-
}
|
|
2610
|
-
],
|
|
2611
|
-
"members": [
|
|
2612
|
-
{
|
|
2613
|
-
"kind": "field",
|
|
2614
|
-
"name": "dependencies",
|
|
2615
|
-
"type": {
|
|
2616
|
-
"text": "object"
|
|
2617
|
-
},
|
|
2618
|
-
"static": true,
|
|
2619
|
-
"default": "{\n \"sgds-overflow-menu\": SgdsOverflowMenu\n }"
|
|
2620
|
-
},
|
|
2621
|
-
{
|
|
2622
|
-
"kind": "field",
|
|
2623
|
-
"name": "ariaLabel",
|
|
2624
|
-
"type": {
|
|
2625
|
-
"text": "string"
|
|
2626
|
-
},
|
|
2627
|
-
"default": "\"breadcrumb\"",
|
|
2628
|
-
"description": "The aria-label of nav element within breadcrumb component.",
|
|
2629
|
-
"attribute": "ariaLabel"
|
|
2630
2523
|
},
|
|
2631
2524
|
{
|
|
2632
2525
|
"kind": "method",
|
|
2633
|
-
"name": "
|
|
2634
|
-
"privacy": "
|
|
2526
|
+
"name": "_forwardAnchorAttributes",
|
|
2527
|
+
"privacy": "protected",
|
|
2635
2528
|
"parameters": [
|
|
2636
2529
|
{
|
|
2637
|
-
"name": "
|
|
2530
|
+
"name": "anchor",
|
|
2638
2531
|
"type": {
|
|
2639
|
-
"text": "
|
|
2532
|
+
"text": "HTMLAnchorElement | null"
|
|
2640
2533
|
}
|
|
2641
2534
|
}
|
|
2642
2535
|
],
|
|
2643
|
-
"
|
|
2644
|
-
"
|
|
2536
|
+
"type": {},
|
|
2537
|
+
"inheritedFrom": {
|
|
2538
|
+
"name": "CardElement",
|
|
2539
|
+
"module": "src/base/card-element.ts"
|
|
2540
|
+
}
|
|
2645
2541
|
},
|
|
2646
2542
|
{
|
|
2647
2543
|
"kind": "method",
|
|
2648
|
-
"name": "
|
|
2649
|
-
"privacy": "private",
|
|
2544
|
+
"name": "warnLinkSlotMisused",
|
|
2650
2545
|
"parameters": [
|
|
2651
2546
|
{
|
|
2652
2547
|
"name": "e",
|
|
@@ -2655,7 +2550,11 @@
|
|
|
2655
2550
|
}
|
|
2656
2551
|
}
|
|
2657
2552
|
],
|
|
2658
|
-
"type": {}
|
|
2553
|
+
"type": {},
|
|
2554
|
+
"inheritedFrom": {
|
|
2555
|
+
"name": "CardElement",
|
|
2556
|
+
"module": "src/base/card-element.ts"
|
|
2557
|
+
}
|
|
2659
2558
|
},
|
|
2660
2559
|
{
|
|
2661
2560
|
"kind": "method",
|
|
@@ -2714,23 +2613,124 @@
|
|
|
2714
2613
|
],
|
|
2715
2614
|
"attributes": [
|
|
2716
2615
|
{
|
|
2717
|
-
"name": "
|
|
2616
|
+
"name": "imagePosition",
|
|
2718
2617
|
"type": {
|
|
2719
|
-
"text": "
|
|
2618
|
+
"text": "CardImagePosition"
|
|
2720
2619
|
},
|
|
2721
|
-
"default": "\"
|
|
2722
|
-
"description": "
|
|
2723
|
-
"fieldName": "
|
|
2620
|
+
"default": "\"before\"",
|
|
2621
|
+
"description": "Sets the image position of the card. Available options: `before`, `after`",
|
|
2622
|
+
"fieldName": "imagePosition"
|
|
2623
|
+
},
|
|
2624
|
+
{
|
|
2625
|
+
"name": "imageAdjustment",
|
|
2626
|
+
"type": {
|
|
2627
|
+
"text": "CardImageAdjustment"
|
|
2628
|
+
},
|
|
2629
|
+
"default": "\"default\"",
|
|
2630
|
+
"description": "Controls how the image is sized and aligned within the card. Available options: `default`, `padding around`, `aspect ratio`",
|
|
2631
|
+
"fieldName": "imageAdjustment"
|
|
2632
|
+
},
|
|
2633
|
+
{
|
|
2634
|
+
"name": "hasImageSlot",
|
|
2635
|
+
"type": {
|
|
2636
|
+
"text": "boolean"
|
|
2637
|
+
},
|
|
2638
|
+
"default": "false",
|
|
2639
|
+
"description": "Used only for SSR to indicate the presence of the `image` slot.",
|
|
2640
|
+
"fieldName": "hasImageSlot"
|
|
2641
|
+
},
|
|
2642
|
+
{
|
|
2643
|
+
"name": "hasIconSlot",
|
|
2644
|
+
"type": {
|
|
2645
|
+
"text": "boolean"
|
|
2646
|
+
},
|
|
2647
|
+
"default": "false",
|
|
2648
|
+
"description": "Used only for SSR to indicate the presence of the `icon` slot.",
|
|
2649
|
+
"fieldName": "hasIconSlot"
|
|
2650
|
+
},
|
|
2651
|
+
{
|
|
2652
|
+
"name": "hasUpperSlot",
|
|
2653
|
+
"type": {
|
|
2654
|
+
"text": "boolean"
|
|
2655
|
+
},
|
|
2656
|
+
"default": "false",
|
|
2657
|
+
"description": "Used only for SSR to indicate the presence of the `upper` slot.",
|
|
2658
|
+
"fieldName": "hasUpperSlot"
|
|
2659
|
+
},
|
|
2660
|
+
{
|
|
2661
|
+
"name": "stretchedLink",
|
|
2662
|
+
"type": {
|
|
2663
|
+
"text": "boolean"
|
|
2664
|
+
},
|
|
2665
|
+
"default": "false",
|
|
2666
|
+
"description": "Extends the link passed in either `footer` or `link`(deprecated) slot.",
|
|
2667
|
+
"fieldName": "stretchedLink",
|
|
2668
|
+
"inheritedFrom": {
|
|
2669
|
+
"name": "CardElement",
|
|
2670
|
+
"module": "src/base/card-element.ts"
|
|
2671
|
+
}
|
|
2672
|
+
},
|
|
2673
|
+
{
|
|
2674
|
+
"name": "disabled",
|
|
2675
|
+
"type": {
|
|
2676
|
+
"text": "boolean"
|
|
2677
|
+
},
|
|
2678
|
+
"default": "false",
|
|
2679
|
+
"description": "Disables the card",
|
|
2680
|
+
"fieldName": "disabled",
|
|
2681
|
+
"inheritedFrom": {
|
|
2682
|
+
"name": "CardElement",
|
|
2683
|
+
"module": "src/base/card-element.ts"
|
|
2684
|
+
}
|
|
2685
|
+
},
|
|
2686
|
+
{
|
|
2687
|
+
"name": "hideBorder",
|
|
2688
|
+
"type": {
|
|
2689
|
+
"text": "boolean"
|
|
2690
|
+
},
|
|
2691
|
+
"default": "false",
|
|
2692
|
+
"description": "When true, hides the default border of the card.",
|
|
2693
|
+
"fieldName": "hideBorder",
|
|
2694
|
+
"inheritedFrom": {
|
|
2695
|
+
"name": "CardElement",
|
|
2696
|
+
"module": "src/base/card-element.ts"
|
|
2697
|
+
}
|
|
2698
|
+
},
|
|
2699
|
+
{
|
|
2700
|
+
"name": "tinted",
|
|
2701
|
+
"type": {
|
|
2702
|
+
"text": "boolean"
|
|
2703
|
+
},
|
|
2704
|
+
"default": "false",
|
|
2705
|
+
"description": "When true, applies a tinted background color to the card.",
|
|
2706
|
+
"fieldName": "tinted",
|
|
2707
|
+
"inheritedFrom": {
|
|
2708
|
+
"name": "CardElement",
|
|
2709
|
+
"module": "src/base/card-element.ts"
|
|
2710
|
+
}
|
|
2711
|
+
},
|
|
2712
|
+
{
|
|
2713
|
+
"name": "orientation",
|
|
2714
|
+
"type": {
|
|
2715
|
+
"text": "CardOrientation"
|
|
2716
|
+
},
|
|
2717
|
+
"default": "\"vertical\"",
|
|
2718
|
+
"description": "Sets the orientation of the card. Available options: `vertical`, `horizontal`",
|
|
2719
|
+
"fieldName": "orientation",
|
|
2720
|
+
"inheritedFrom": {
|
|
2721
|
+
"name": "CardElement",
|
|
2722
|
+
"module": "src/base/card-element.ts"
|
|
2723
|
+
}
|
|
2724
2724
|
}
|
|
2725
2725
|
],
|
|
2726
2726
|
"superclass": {
|
|
2727
|
-
"name": "
|
|
2728
|
-
"module": "/src/base/
|
|
2727
|
+
"name": "CardElement",
|
|
2728
|
+
"module": "/src/base/card-element"
|
|
2729
2729
|
},
|
|
2730
|
-
"summary": "
|
|
2731
|
-
"tagName": "sgds-
|
|
2730
|
+
"summary": "Cards can be used for headers and footers, a wide variety of content, contain contextual background colors and images.",
|
|
2731
|
+
"tagName": "sgds-card",
|
|
2732
2732
|
"customElement": true,
|
|
2733
|
-
"modulePath": "src/components/
|
|
2733
|
+
"modulePath": "src/components/Card/sgds-card.ts",
|
|
2734
2734
|
"cssProperties": [],
|
|
2735
2735
|
"cssParts": [],
|
|
2736
2736
|
"cssStates": [],
|
|
@@ -2740,18 +2740,18 @@
|
|
|
2740
2740
|
"exports": [
|
|
2741
2741
|
{
|
|
2742
2742
|
"kind": "js",
|
|
2743
|
-
"name": "
|
|
2743
|
+
"name": "SgdsCard",
|
|
2744
2744
|
"declaration": {
|
|
2745
|
-
"name": "
|
|
2746
|
-
"module": "src/components/
|
|
2745
|
+
"name": "SgdsCard",
|
|
2746
|
+
"module": "src/components/Card/sgds-card.ts"
|
|
2747
2747
|
}
|
|
2748
2748
|
},
|
|
2749
2749
|
{
|
|
2750
2750
|
"kind": "js",
|
|
2751
2751
|
"name": "default",
|
|
2752
2752
|
"declaration": {
|
|
2753
|
-
"name": "
|
|
2754
|
-
"module": "src/components/
|
|
2753
|
+
"name": "SgdsCard",
|
|
2754
|
+
"module": "src/components/Card/sgds-card.ts"
|
|
2755
2755
|
}
|
|
2756
2756
|
}
|
|
2757
2757
|
]
|
|
@@ -27951,7 +27951,7 @@
|
|
|
27951
27951
|
"package": {
|
|
27952
27952
|
"name": "@govtechsg/sgds-web-component",
|
|
27953
27953
|
"description": "",
|
|
27954
|
-
"version": "3.23.0-rc.
|
|
27954
|
+
"version": "3.23.0-rc.4",
|
|
27955
27955
|
"author": "GovTechSG",
|
|
27956
27956
|
"license": "MIT"
|
|
27957
27957
|
}
|