@govtechsg/sgds-web-component 3.21.2-rc.4 → 3.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/base/select-element.d.ts +2 -0
  2. package/base/select-element.js +5 -0
  3. package/base/select-element.js.map +1 -1
  4. package/components/Breadcrumb/index.umd.min.js +1 -1
  5. package/components/Breadcrumb/index.umd.min.js.map +1 -1
  6. package/components/ComboBox/index.umd.min.js +4 -2
  7. package/components/ComboBox/index.umd.min.js.map +1 -1
  8. package/components/ComboBox/sgds-combo-box.js +2 -0
  9. package/components/ComboBox/sgds-combo-box.js.map +1 -1
  10. package/components/Datepicker/index.umd.min.js +3 -2
  11. package/components/Datepicker/index.umd.min.js.map +1 -1
  12. package/components/Footer/index.umd.min.js +1 -1
  13. package/components/Footer/index.umd.min.js.map +1 -1
  14. package/components/Input/index.umd.min.js +3 -2
  15. package/components/Input/index.umd.min.js.map +1 -1
  16. package/components/Input/sgds-input.d.ts +2 -0
  17. package/components/Input/sgds-input.js +6 -0
  18. package/components/Input/sgds-input.js.map +1 -1
  19. package/components/Link/index.umd.min.js +1 -1
  20. package/components/Link/index.umd.min.js.map +1 -1
  21. package/components/Link/link.js +1 -1
  22. package/components/QuantityToggle/index.umd.min.js +3 -2
  23. package/components/QuantityToggle/index.umd.min.js.map +1 -1
  24. package/components/Select/index.umd.min.js +2 -2
  25. package/components/Select/index.umd.min.js.map +1 -1
  26. package/components/Subnav/index.umd.min.js +1 -1
  27. package/components/Subnav/index.umd.min.js.map +1 -1
  28. package/components/index.umd.min.js +9 -6
  29. package/components/index.umd.min.js.map +1 -1
  30. package/css/fouc.css +3 -3
  31. package/css/grid.css +4 -30
  32. package/css/grid.js +1 -1
  33. package/custom-elements.json +1087 -991
  34. package/index.umd.min.js +9 -6
  35. package/index.umd.min.js.map +1 -1
  36. package/package.json +1 -1
  37. package/react/base/select-element.cjs.js +5 -0
  38. package/react/base/select-element.cjs.js.map +1 -1
  39. package/react/base/select-element.js +5 -0
  40. package/react/base/select-element.js.map +1 -1
  41. package/react/components/ComboBox/sgds-combo-box.cjs.js +2 -0
  42. package/react/components/ComboBox/sgds-combo-box.cjs.js.map +1 -1
  43. package/react/components/ComboBox/sgds-combo-box.js +2 -0
  44. package/react/components/ComboBox/sgds-combo-box.js.map +1 -1
  45. package/react/components/Input/sgds-input.cjs.js +6 -0
  46. package/react/components/Input/sgds-input.cjs.js.map +1 -1
  47. package/react/components/Input/sgds-input.js +6 -0
  48. package/react/components/Input/sgds-input.js.map +1 -1
  49. package/react/components/Link/link.cjs.js +1 -1
  50. package/react/components/Link/link.js +1 -1
  51. package/react/css/grid.cjs.js +1 -1
  52. package/react/css/grid.js +1 -1
  53. package/react/index.cjs.js +10 -10
  54. package/react/index.d.ts +3 -3
  55. package/react/index.js +3 -3
  56. package/themes/root.css +0 -2
  57. package/types/react.d.ts +65 -59
@@ -939,107 +939,241 @@
939
939
  },
940
940
  {
941
941
  "kind": "javascript-module",
942
- "path": "src/components/Badge/sgds-badge.ts",
942
+ "path": "src/components/Card/sgds-card.ts",
943
943
  "declarations": [
944
944
  {
945
945
  "kind": "class",
946
946
  "description": "",
947
- "name": "SgdsBadge",
947
+ "name": "SgdsCard",
948
948
  "slots": [
949
949
  {
950
- "description": "slot for badge",
950
+ "description": "The content area of the card, placed directly under the title. Accepts any HTML or custom elements.",
951
951
  "name": "default"
952
952
  },
953
953
  {
954
- "description": "The slot for icon to the left of the badge text",
954
+ "description": "Accepts an element for an overflow or contextual menu, positioned at the top-right corner of the card. Typically used for action menus or dropdowns.",
955
+ "name": "menu"
956
+ },
957
+ {
958
+ "description": "Accepts an element to be displayed above the card content. When used, it overrides image and icon slot content.",
959
+ "name": "upper"
960
+ },
961
+ {
962
+ "description": "Accepts an image or svg element of the card. Only a single element is allowed to be passed in.",
963
+ "name": "image"
964
+ },
965
+ {
966
+ "description": "Accepts an icon element to visually represent the card. Only a single element is allowed to be passed in.",
955
967
  "name": "icon"
968
+ },
969
+ {
970
+ "description": "The subtitle of the card",
971
+ "name": "subtitle"
972
+ },
973
+ {
974
+ "description": "The title of the card",
975
+ "name": "title"
976
+ },
977
+ {
978
+ "description": "The paragrapher text of the card",
979
+ "name": "description"
980
+ },
981
+ {
982
+ "description": "Accepts any additional content to be displayed below the card description, such as badges, metadata, or supplementary information.",
983
+ "name": "lower"
984
+ },
985
+ {
986
+ "description": "Footer area of the card. Accepts links, actions, or any custom content.",
987
+ "name": "footer"
988
+ },
989
+ {
990
+ "description": "(@deprecated) Deprecated since 3.3.2 in favour of `footer` slot. Legacy slot for anchor elements. Use `footer` instead.",
991
+ "name": "link"
956
992
  }
957
993
  ],
958
994
  "members": [
959
995
  {
960
996
  "kind": "field",
961
- "name": "show",
997
+ "name": "footerNode",
962
998
  "type": {
963
- "text": "boolean"
999
+ "text": "HTMLElement[]"
964
1000
  },
965
- "default": "false",
966
- "description": "Controls the appearance of the dismissible badge. This prop only applies when dismissible is true",
967
- "attribute": "show",
1001
+ "privacy": "private"
1002
+ },
1003
+ {
1004
+ "kind": "field",
1005
+ "name": "linkNode",
1006
+ "type": {
1007
+ "text": "HTMLAnchorElement[] | SgdsLink[]"
1008
+ },
1009
+ "privacy": "private"
1010
+ },
1011
+ {
1012
+ "kind": "field",
1013
+ "name": "imagePosition",
1014
+ "type": {
1015
+ "text": "CardImagePosition"
1016
+ },
1017
+ "default": "\"before\"",
1018
+ "description": "Sets the image position of the card. Available options: `before`, `after`",
1019
+ "attribute": "imagePosition",
968
1020
  "reflects": true
969
1021
  },
970
1022
  {
971
1023
  "kind": "field",
972
- "name": "variant",
1024
+ "name": "imageAdjustment",
973
1025
  "type": {
974
- "text": "\"primary\" | \"accent\" | \"success\" | \"danger\" | \"warning\" | \"cyan\" | \"purple\" | \"neutral\" | \"white\" | \"info\""
1026
+ "text": "CardImageAdjustment"
975
1027
  },
976
- "default": "\"primary\"",
977
- "description": "One or more badge variant combinations.\nVariants include: `primary`, `accent`, `success`, `danger`, `warning`, `cyan`, `purple`, `neutral`, `white`, `info`.\n\n(@deprecated) The `info` variant is deprecated. Use `primary` instead.",
978
- "attribute": "variant",
1028
+ "default": "\"default\"",
1029
+ "description": "Controls how the image is sized and aligned within the card. Available options: `default`, `padding around`, `aspect ratio`",
1030
+ "attribute": "imageAdjustment",
979
1031
  "reflects": true
980
1032
  },
981
1033
  {
982
1034
  "kind": "field",
983
- "name": "outlined",
1035
+ "name": "hasImageSlot",
984
1036
  "type": {
985
1037
  "text": "boolean"
986
1038
  },
987
1039
  "default": "false",
988
- "description": "Manually set the outlined state to false",
989
- "attribute": "outlined",
990
- "reflects": true
1040
+ "description": "Used only for SSR to indicate the presence of the `image` slot.",
1041
+ "attribute": "hasImageSlot"
991
1042
  },
992
1043
  {
993
1044
  "kind": "field",
994
- "name": "dismissible",
1045
+ "name": "hasIconSlot",
995
1046
  "type": {
996
1047
  "text": "boolean"
997
1048
  },
998
1049
  "default": "false",
999
- "description": "Manually set the dismissible state of the button to `false`",
1000
- "attribute": "dismissible",
1001
- "reflects": true
1050
+ "description": "Used only for SSR to indicate the presence of the `icon` slot.",
1051
+ "attribute": "hasIconSlot"
1002
1052
  },
1003
1053
  {
1004
1054
  "kind": "field",
1005
- "name": "fullWidth",
1055
+ "name": "hasUpperSlot",
1006
1056
  "type": {
1007
1057
  "text": "boolean"
1008
1058
  },
1009
1059
  "default": "false",
1010
- "description": "Manually enable full width",
1011
- "attribute": "fullWidth",
1012
- "reflects": true
1060
+ "description": "Used only for SSR to indicate the presence of the `upper` slot.",
1061
+ "attribute": "hasUpperSlot"
1013
1062
  },
1014
1063
  {
1015
1064
  "kind": "field",
1016
- "name": "truncated",
1065
+ "name": "linkSlotItems",
1017
1066
  "type": {
1018
- "text": "boolean"
1067
+ "text": "HTMLAnchorElement | null"
1019
1068
  },
1020
- "privacy": "private",
1021
- "default": "false"
1069
+ "privacy": "private"
1022
1070
  },
1023
1071
  {
1024
1072
  "kind": "field",
1025
- "name": "text",
1073
+ "name": "footerSlotItems",
1026
1074
  "type": {
1027
- "text": "string"
1075
+ "text": "HTMLAnchorElement | null"
1028
1076
  },
1077
+ "privacy": "private"
1078
+ },
1079
+ {
1080
+ "kind": "field",
1081
+ "name": "hasSlotController",
1029
1082
  "privacy": "private",
1030
- "default": "\"\""
1083
+ "default": "new HasSlotController(this, \"image\", \"icon\", \"upper\")",
1084
+ "type": {}
1031
1085
  },
1032
1086
  {
1033
1087
  "kind": "method",
1034
- "name": "close",
1035
- "privacy": "public",
1036
- "description": "Closes the badge",
1088
+ "name": "handleImgSlotChange",
1089
+ "parameters": [
1090
+ {
1091
+ "name": "e",
1092
+ "type": {
1093
+ "text": "Event"
1094
+ }
1095
+ }
1096
+ ],
1037
1097
  "type": {}
1038
1098
  },
1099
+ {
1100
+ "kind": "field",
1101
+ "name": "stretchedLink",
1102
+ "type": {
1103
+ "text": "boolean"
1104
+ },
1105
+ "default": "false",
1106
+ "description": "Extends the link passed in either `footer` or `link`(deprecated) slot.",
1107
+ "attribute": "stretchedLink",
1108
+ "reflects": true,
1109
+ "inheritedFrom": {
1110
+ "name": "CardElement",
1111
+ "module": "src/base/card-element.ts"
1112
+ }
1113
+ },
1114
+ {
1115
+ "kind": "field",
1116
+ "name": "disabled",
1117
+ "type": {
1118
+ "text": "boolean"
1119
+ },
1120
+ "default": "false",
1121
+ "description": "Disables the card",
1122
+ "attribute": "disabled",
1123
+ "reflects": true,
1124
+ "inheritedFrom": {
1125
+ "name": "CardElement",
1126
+ "module": "src/base/card-element.ts"
1127
+ }
1128
+ },
1129
+ {
1130
+ "kind": "field",
1131
+ "name": "hideBorder",
1132
+ "type": {
1133
+ "text": "boolean"
1134
+ },
1135
+ "default": "false",
1136
+ "description": "When true, hides the default border of the card.",
1137
+ "attribute": "hideBorder",
1138
+ "reflects": true,
1139
+ "inheritedFrom": {
1140
+ "name": "CardElement",
1141
+ "module": "src/base/card-element.ts"
1142
+ }
1143
+ },
1144
+ {
1145
+ "kind": "field",
1146
+ "name": "tinted",
1147
+ "type": {
1148
+ "text": "boolean"
1149
+ },
1150
+ "default": "false",
1151
+ "description": "When true, applies a tinted background color to the card.",
1152
+ "attribute": "tinted",
1153
+ "reflects": true,
1154
+ "inheritedFrom": {
1155
+ "name": "CardElement",
1156
+ "module": "src/base/card-element.ts"
1157
+ }
1158
+ },
1159
+ {
1160
+ "kind": "field",
1161
+ "name": "orientation",
1162
+ "type": {
1163
+ "text": "CardOrientation"
1164
+ },
1165
+ "default": "\"vertical\"",
1166
+ "description": "Sets the orientation of the card. Available options: `vertical`, `horizontal`",
1167
+ "attribute": "orientation",
1168
+ "reflects": true,
1169
+ "inheritedFrom": {
1170
+ "name": "CardElement",
1171
+ "module": "src/base/card-element.ts"
1172
+ }
1173
+ },
1039
1174
  {
1040
1175
  "kind": "method",
1041
- "name": "_handleLabelSlotChange",
1042
- "privacy": "private",
1176
+ "name": "handleTitleSlotChange",
1043
1177
  "parameters": [
1044
1178
  {
1045
1179
  "name": "e",
@@ -1048,13 +1182,46 @@
1048
1182
  }
1049
1183
  }
1050
1184
  ],
1051
- "type": {}
1185
+ "type": {},
1186
+ "inheritedFrom": {
1187
+ "name": "CardElement",
1188
+ "module": "src/base/card-element.ts"
1189
+ }
1052
1190
  },
1053
1191
  {
1054
1192
  "kind": "method",
1055
- "name": "_renderBadge",
1056
- "privacy": "private",
1057
- "type": {}
1193
+ "name": "_forwardAnchorAttributes",
1194
+ "privacy": "protected",
1195
+ "parameters": [
1196
+ {
1197
+ "name": "anchor",
1198
+ "type": {
1199
+ "text": "HTMLAnchorElement | null"
1200
+ }
1201
+ }
1202
+ ],
1203
+ "type": {},
1204
+ "inheritedFrom": {
1205
+ "name": "CardElement",
1206
+ "module": "src/base/card-element.ts"
1207
+ }
1208
+ },
1209
+ {
1210
+ "kind": "method",
1211
+ "name": "warnLinkSlotMisused",
1212
+ "parameters": [
1213
+ {
1214
+ "name": "e",
1215
+ "type": {
1216
+ "text": "Event"
1217
+ }
1218
+ }
1219
+ ],
1220
+ "type": {},
1221
+ "inheritedFrom": {
1222
+ "name": "CardElement",
1223
+ "module": "src/base/card-element.ts"
1224
+ }
1058
1225
  },
1059
1226
  {
1060
1227
  "kind": "method",
@@ -1111,390 +1278,314 @@
1111
1278
  }
1112
1279
  }
1113
1280
  ],
1114
- "events": [
1281
+ "attributes": [
1115
1282
  {
1116
- "description": "Emitted when the badge appears.",
1117
- "name": "sgds-show",
1118
- "reactName": "onSgdsShow"
1283
+ "name": "imagePosition",
1284
+ "type": {
1285
+ "text": "CardImagePosition"
1286
+ },
1287
+ "default": "\"before\"",
1288
+ "description": "Sets the image position of the card. Available options: `before`, `after`",
1289
+ "fieldName": "imagePosition"
1119
1290
  },
1120
1291
  {
1121
- "description": "Emitted when the badge is starting to close but has not closed.",
1122
- "name": "sgds-hide",
1123
- "reactName": "onSgdsHide"
1292
+ "name": "imageAdjustment",
1293
+ "type": {
1294
+ "text": "CardImageAdjustment"
1295
+ },
1296
+ "default": "\"default\"",
1297
+ "description": "Controls how the image is sized and aligned within the card. Available options: `default`, `padding around`, `aspect ratio`",
1298
+ "fieldName": "imageAdjustment"
1124
1299
  },
1125
1300
  {
1126
- "description": "Emitted after the badge has appeared",
1127
- "name": "sgds-after-show",
1128
- "reactName": "onSgdsAfterShow"
1301
+ "name": "hasImageSlot",
1302
+ "type": {
1303
+ "text": "boolean"
1304
+ },
1305
+ "default": "false",
1306
+ "description": "Used only for SSR to indicate the presence of the `image` slot.",
1307
+ "fieldName": "hasImageSlot"
1129
1308
  },
1130
1309
  {
1131
- "description": "Emitted after the badge has closed",
1132
- "name": "sgds-after-hide",
1133
- "reactName": "onSgdsAfterHide"
1134
- }
1135
- ],
1136
- "attributes": [
1310
+ "name": "hasIconSlot",
1311
+ "type": {
1312
+ "text": "boolean"
1313
+ },
1314
+ "default": "false",
1315
+ "description": "Used only for SSR to indicate the presence of the `icon` slot.",
1316
+ "fieldName": "hasIconSlot"
1317
+ },
1137
1318
  {
1138
- "name": "show",
1319
+ "name": "hasUpperSlot",
1139
1320
  "type": {
1140
1321
  "text": "boolean"
1141
1322
  },
1142
1323
  "default": "false",
1143
- "description": "Controls the appearance of the dismissible badge. This prop only applies when dismissible is true",
1144
- "fieldName": "show"
1324
+ "description": "Used only for SSR to indicate the presence of the `upper` slot.",
1325
+ "fieldName": "hasUpperSlot"
1145
1326
  },
1146
1327
  {
1147
- "name": "variant",
1328
+ "name": "stretchedLink",
1148
1329
  "type": {
1149
- "text": "BadgeVariant"
1330
+ "text": "boolean"
1150
1331
  },
1151
- "default": "\"primary\"",
1152
- "description": "One or more badge variant combinations.\nVariants include: `primary`, `accent`, `success`, `danger`, `warning`, `cyan`, `purple`, `neutral`, `white`, `info`.\n\n(@deprecated) The `info` variant is deprecated. Use `primary` instead.",
1153
- "fieldName": "variant"
1332
+ "default": "false",
1333
+ "description": "Extends the link passed in either `footer` or `link`(deprecated) slot.",
1334
+ "fieldName": "stretchedLink",
1335
+ "inheritedFrom": {
1336
+ "name": "CardElement",
1337
+ "module": "src/base/card-element.ts"
1338
+ }
1154
1339
  },
1155
1340
  {
1156
- "name": "outlined",
1341
+ "name": "disabled",
1157
1342
  "type": {
1158
1343
  "text": "boolean"
1159
1344
  },
1160
1345
  "default": "false",
1161
- "description": "Manually set the outlined state to false",
1162
- "fieldName": "outlined"
1346
+ "description": "Disables the card",
1347
+ "fieldName": "disabled",
1348
+ "inheritedFrom": {
1349
+ "name": "CardElement",
1350
+ "module": "src/base/card-element.ts"
1351
+ }
1163
1352
  },
1164
1353
  {
1165
- "name": "dismissible",
1354
+ "name": "hideBorder",
1166
1355
  "type": {
1167
1356
  "text": "boolean"
1168
1357
  },
1169
1358
  "default": "false",
1170
- "description": "Manually set the dismissible state of the button to `false`",
1171
- "fieldName": "dismissible"
1359
+ "description": "When true, hides the default border of the card.",
1360
+ "fieldName": "hideBorder",
1361
+ "inheritedFrom": {
1362
+ "name": "CardElement",
1363
+ "module": "src/base/card-element.ts"
1364
+ }
1172
1365
  },
1173
1366
  {
1174
- "name": "fullWidth",
1367
+ "name": "tinted",
1175
1368
  "type": {
1176
1369
  "text": "boolean"
1177
1370
  },
1178
1371
  "default": "false",
1179
- "description": "Manually enable full width",
1180
- "fieldName": "fullWidth"
1372
+ "description": "When true, applies a tinted background color to the card.",
1373
+ "fieldName": "tinted",
1374
+ "inheritedFrom": {
1375
+ "name": "CardElement",
1376
+ "module": "src/base/card-element.ts"
1377
+ }
1378
+ },
1379
+ {
1380
+ "name": "orientation",
1381
+ "type": {
1382
+ "text": "CardOrientation"
1383
+ },
1384
+ "default": "\"vertical\"",
1385
+ "description": "Sets the orientation of the card. Available options: `vertical`, `horizontal`",
1386
+ "fieldName": "orientation",
1387
+ "inheritedFrom": {
1388
+ "name": "CardElement",
1389
+ "module": "src/base/card-element.ts"
1390
+ }
1181
1391
  }
1182
1392
  ],
1183
1393
  "superclass": {
1184
- "name": "SgdsElement",
1185
- "module": "/src/base/sgds-element"
1394
+ "name": "CardElement",
1395
+ "module": "/src/base/card-element"
1186
1396
  },
1187
- "summary": "Badges can be used to highlight important bits of information such as labels, notifications & status.\nWhen the text exceeds the width, it will be truncated with a tooltip that will be displayed on hover.",
1188
- "tagName": "sgds-badge",
1397
+ "summary": "Cards can be used for headers and footers, a wide variety of content, contain contextual background colors and images.",
1398
+ "tagName": "sgds-card",
1189
1399
  "customElement": true,
1190
- "modulePath": "src/components/Badge/sgds-badge.ts",
1400
+ "modulePath": "src/components/Card/sgds-card.ts",
1191
1401
  "cssProperties": [],
1192
1402
  "cssParts": [],
1193
- "cssStates": []
1403
+ "cssStates": [],
1404
+ "events": []
1194
1405
  }
1195
1406
  ],
1196
1407
  "exports": [
1197
1408
  {
1198
1409
  "kind": "js",
1199
- "name": "SgdsBadge",
1410
+ "name": "SgdsCard",
1200
1411
  "declaration": {
1201
- "name": "SgdsBadge",
1202
- "module": "src/components/Badge/sgds-badge.ts"
1412
+ "name": "SgdsCard",
1413
+ "module": "src/components/Card/sgds-card.ts"
1203
1414
  }
1204
1415
  },
1205
1416
  {
1206
1417
  "kind": "js",
1207
1418
  "name": "default",
1208
1419
  "declaration": {
1209
- "name": "SgdsBadge",
1210
- "module": "src/components/Badge/sgds-badge.ts"
1420
+ "name": "SgdsCard",
1421
+ "module": "src/components/Card/sgds-card.ts"
1211
1422
  }
1212
1423
  }
1213
1424
  ]
1214
1425
  },
1215
1426
  {
1216
1427
  "kind": "javascript-module",
1217
- "path": "src/components/Button/sgds-button.ts",
1428
+ "path": "src/components/Breadcrumb/sgds-breadcrumb-item.ts",
1218
1429
  "declarations": [
1219
1430
  {
1220
1431
  "kind": "class",
1221
1432
  "description": "",
1222
- "name": "SgdsButton",
1433
+ "name": "SgdsBreadcrumbItem",
1223
1434
  "slots": [
1224
1435
  {
1225
- "description": "The button's label.",
1436
+ "description": "The link of the item. Pass in anchor tags into this slot",
1226
1437
  "name": "default"
1227
- },
1228
- {
1229
- "description": "The slot for icon to the left of the button text",
1230
- "name": "leftIcon"
1231
- },
1232
- {
1233
- "description": "The slot for icon to the right of the button text",
1234
- "name": "rightIcon"
1235
1438
  }
1236
1439
  ],
1237
1440
  "members": [
1238
1441
  {
1239
1442
  "kind": "field",
1240
- "name": "name",
1241
- "type": {
1242
- "text": "string"
1243
- },
1244
- "description": "The name of the button, submitted as a name/value pair with form data only when this button is the submitter. Only works with `type=\"submit\"`. Has no effect when the button is rendered as a link (i.e. when `href` is set).",
1245
- "attribute": "name",
1246
- "reflects": true
1247
- },
1248
- {
1249
- "kind": "field",
1250
- "name": "value",
1251
- "type": {
1252
- "text": "string"
1253
- },
1254
- "description": "The value of the button, submitted as a name/value pair with form data only when this button is the submitter. Only works with `type=\"submit\"`. Has no effect when the button is rendered as a link (i.e. when `href` is set).",
1255
- "attribute": "value",
1256
- "reflects": true
1257
- },
1258
- {
1259
- "kind": "field",
1260
- "name": "type",
1261
- "type": {
1262
- "text": "\"button\" | \"submit\" | \"reset\""
1263
- },
1264
- "default": "\"button\"",
1265
- "description": "The behavior of the button with default as `type='button', `reset` resets all the controls to their initial values and `submit` submits the form data to the server",
1266
- "attribute": "type",
1267
- "reflects": true
1268
- },
1269
- {
1270
- "kind": "field",
1271
- "name": "form",
1272
- "type": {
1273
- "text": "string"
1274
- },
1275
- "description": "The \"form owner\" to associate the button with. If omitted, the closest containing form will be used instead. The\nvalue of this attribute must be an id of a form in the same document or shadow root as the button.",
1276
- "attribute": "form",
1277
- "reflects": true
1278
- },
1279
- {
1280
- "kind": "field",
1281
- "name": "formAction",
1282
- "type": {
1283
- "text": "string"
1284
- },
1285
- "description": "Used to override the form owner's `action` attribute.",
1286
- "attribute": "formaction",
1287
- "reflects": true
1288
- },
1289
- {
1290
- "kind": "field",
1291
- "name": "formMethod",
1292
- "type": {
1293
- "text": "\"post\" | \"get\""
1294
- },
1295
- "description": "Used to override the form owner's `method` attribute.",
1296
- "attribute": "formmethod",
1297
- "reflects": true
1298
- },
1299
- {
1300
- "kind": "field",
1301
- "name": "formNoValidate",
1302
- "type": {
1303
- "text": "boolean"
1304
- },
1305
- "description": "Used to override the form owner's `novalidate` attribute.",
1306
- "attribute": "formnovalidate",
1307
- "reflects": true
1308
- },
1309
- {
1310
- "kind": "field",
1311
- "name": "formTarget",
1443
+ "name": "dependencies",
1312
1444
  "type": {
1313
- "text": "| \"_self\"\n | \"_blank\"\n | \"_parent\"\n | \"_top\"\n | string"
1445
+ "text": "Record<string, typeof SgdsElement>"
1314
1446
  },
1315
- "description": "Used to override the form owner's `target` attribute.",
1316
- "attribute": "formtarget",
1317
- "reflects": true
1447
+ "static": true,
1448
+ "default": "{\n \"sgds-link\": SgdsLink,\n \"sgds-icon\": SgdsIcon\n }"
1318
1449
  },
1319
1450
  {
1320
1451
  "kind": "field",
1321
- "name": "fullWidth",
1452
+ "name": "active",
1322
1453
  "type": {
1323
1454
  "text": "boolean"
1324
1455
  },
1325
1456
  "default": "false",
1326
- "description": "When set, the button will be in full width.",
1327
- "attribute": "fullWidth",
1457
+ "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",
1458
+ "attribute": "active",
1328
1459
  "reflects": true
1329
1460
  },
1330
1461
  {
1331
1462
  "kind": "field",
1332
- "name": "hasLeftIconSlot",
1333
- "type": {
1334
- "text": "boolean"
1335
- },
1336
- "default": "false",
1337
- "description": "Used only for SSR to indicate the presence of the `leftIcon` slot.",
1338
- "attribute": "hasLeftIconSlot"
1339
- },
1340
- {
1341
- "kind": "field",
1342
- "name": "hasRightIconSlot",
1343
- "type": {
1344
- "text": "boolean"
1345
- },
1346
- "default": "false",
1347
- "description": "Used only for SSR to indicate the presence of the `rightIcon` slot.",
1348
- "attribute": "hasRightIconSlot"
1349
- },
1350
- {
1351
- "kind": "field",
1352
- "name": "hasSlotController",
1463
+ "name": "_preventNavigation",
1353
1464
  "privacy": "private",
1354
- "default": "new HasSlotController(this, \"leftIcon\", \"rightIcon\")",
1355
1465
  "type": {}
1356
1466
  },
1357
1467
  {
1358
1468
  "kind": "method",
1359
- "name": "_handleClick",
1360
- "privacy": "protected",
1469
+ "name": "emit",
1361
1470
  "parameters": [
1362
1471
  {
1363
- "name": "event",
1472
+ "name": "name",
1364
1473
  "type": {
1365
- "text": "MouseEvent"
1474
+ "text": "string"
1475
+ }
1476
+ },
1477
+ {
1478
+ "name": "options",
1479
+ "optional": true,
1480
+ "type": {
1481
+ "text": "CustomEventInit<T>"
1366
1482
  }
1367
1483
  }
1368
1484
  ],
1485
+ "description": "Emits a custom event with more convenient defaults.",
1369
1486
  "type": {},
1370
1487
  "inheritedFrom": {
1371
- "name": "ButtonElement",
1372
- "module": "src/base/button-element.ts"
1373
- }
1374
- },
1375
- {
1376
- "kind": "field",
1377
- "name": "_clickHandler",
1378
- "privacy": "private",
1379
- "type": {}
1380
- },
1381
- {
1382
- "kind": "field",
1383
- "name": "variant",
1384
- "type": {
1385
- "text": "\"primary\" | \"outline\" | \"ghost\" | \"danger\""
1386
- },
1387
- "default": "\"primary\"",
1388
- "description": "Sets the visual variants such as: `primary`, `outline`, `ghost`. The `danger` value is deprecated since v3.5.6 — use `variant=\"primary\"` with `tone=\"danger\"` instead.",
1389
- "attribute": "variant",
1390
- "reflects": true,
1391
- "inheritedFrom": {
1392
- "name": "ButtonElement",
1393
- "module": "src/base/button-element.ts"
1394
- }
1395
- },
1396
- {
1397
- "kind": "field",
1398
- "name": "tone",
1399
- "type": {
1400
- "text": "\"brand\" | \"danger\" | \"fixed-light\" | \"neutral\""
1401
- },
1402
- "default": "\"brand\"",
1403
- "description": "Sets the visual colour of the button: `brand`, `danger`, `fixed-light`, `neutral`",
1404
- "attribute": "tone",
1405
- "reflects": true,
1406
- "inheritedFrom": {
1407
- "name": "ButtonElement",
1408
- "module": "src/base/button-element.ts"
1488
+ "name": "SgdsElement",
1489
+ "module": "src/base/sgds-element.ts"
1409
1490
  }
1410
1491
  },
1411
1492
  {
1412
- "kind": "field",
1413
- "name": "size",
1414
- "type": {
1415
- "text": "\"xs\" | \"sm\" | \"md\" | \"lg\""
1416
- },
1417
- "default": "\"md\"",
1418
- "description": "Specifies a small, medium or large button, the size is medium by default.",
1419
- "attribute": "size",
1420
- "reflects": true,
1493
+ "kind": "method",
1494
+ "name": "define",
1495
+ "static": true,
1496
+ "parameters": [
1497
+ {
1498
+ "name": "name",
1499
+ "type": {
1500
+ "text": "string"
1501
+ }
1502
+ },
1503
+ {
1504
+ "name": "elementConstructor",
1505
+ "default": "this"
1506
+ },
1507
+ {
1508
+ "name": "options",
1509
+ "default": "{}",
1510
+ "type": {
1511
+ "text": "ElementDefinitionOptions"
1512
+ }
1513
+ }
1514
+ ],
1515
+ "type": {},
1421
1516
  "inheritedFrom": {
1422
- "name": "ButtonElement",
1423
- "module": "src/base/button-element.ts"
1517
+ "name": "SgdsElement",
1518
+ "module": "src/base/sgds-element.ts"
1424
1519
  }
1425
- },
1520
+ }
1521
+ ],
1522
+ "attributes": [
1426
1523
  {
1427
- "kind": "field",
1428
1524
  "name": "active",
1429
1525
  "type": {
1430
1526
  "text": "boolean"
1431
1527
  },
1432
1528
  "default": "false",
1433
- "description": "Manually set the visual state of the button to `:active`",
1434
- "attribute": "active",
1435
- "reflects": true,
1436
- "inheritedFrom": {
1437
- "name": "ButtonElement",
1438
- "module": "src/base/button-element.ts"
1439
- }
1440
- },
1441
- {
1442
- "kind": "field",
1443
- "name": "disabled",
1444
- "type": {
1445
- "text": "boolean"
1446
- },
1447
- "default": "false",
1448
- "description": "The disabled state of the button",
1449
- "attribute": "disabled",
1450
- "reflects": true,
1451
- "inheritedFrom": {
1452
- "name": "ButtonElement",
1453
- "module": "src/base/button-element.ts"
1454
- }
1455
- },
1456
- {
1457
- "kind": "field",
1458
- "name": "href",
1459
- "type": {
1460
- "text": "string"
1461
- },
1462
- "description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
1463
- "attribute": "href",
1464
- "reflects": true,
1465
- "inheritedFrom": {
1466
- "name": "ButtonElement",
1467
- "module": "src/base/button-element.ts"
1468
- }
1469
- },
1529
+ "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",
1530
+ "fieldName": "active"
1531
+ }
1532
+ ],
1533
+ "superclass": {
1534
+ "name": "SgdsElement",
1535
+ "module": "/src/base/sgds-element"
1536
+ },
1537
+ "summary": "Breadcrumb Item are navigational links used in Breadcrumb component",
1538
+ "tagName": "sgds-breadcrumb-item",
1539
+ "customElement": true,
1540
+ "modulePath": "src/components/Breadcrumb/sgds-breadcrumb-item.ts",
1541
+ "cssProperties": [],
1542
+ "cssParts": [],
1543
+ "cssStates": [],
1544
+ "events": []
1545
+ }
1546
+ ],
1547
+ "exports": [
1548
+ {
1549
+ "kind": "js",
1550
+ "name": "SgdsBreadcrumbItem",
1551
+ "declaration": {
1552
+ "name": "SgdsBreadcrumbItem",
1553
+ "module": "src/components/Breadcrumb/sgds-breadcrumb-item.ts"
1554
+ }
1555
+ },
1556
+ {
1557
+ "kind": "js",
1558
+ "name": "default",
1559
+ "declaration": {
1560
+ "name": "SgdsBreadcrumbItem",
1561
+ "module": "src/components/Breadcrumb/sgds-breadcrumb-item.ts"
1562
+ }
1563
+ }
1564
+ ]
1565
+ },
1566
+ {
1567
+ "kind": "javascript-module",
1568
+ "path": "src/components/Breadcrumb/sgds-breadcrumb.ts",
1569
+ "declarations": [
1570
+ {
1571
+ "kind": "class",
1572
+ "description": "",
1573
+ "name": "SgdsBreadcrumb",
1574
+ "slots": [
1470
1575
  {
1471
- "kind": "field",
1472
- "name": "target",
1473
- "type": {
1474
- "text": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\""
1475
- },
1476
- "default": "\"_self\"",
1477
- "description": "Where to display the linked URL, as the name for a browsing context. Forwards to the HTMLAnchor target attribute",
1478
- "attribute": "target",
1479
- "reflects": true,
1480
- "inheritedFrom": {
1481
- "name": "ButtonElement",
1482
- "module": "src/base/button-element.ts"
1483
- }
1484
- },
1576
+ "description": "The slot to pass in custom elements of `SgdsBreadcrumbItems`.",
1577
+ "name": "default"
1578
+ }
1579
+ ],
1580
+ "members": [
1485
1581
  {
1486
1582
  "kind": "field",
1487
- "name": "download",
1583
+ "name": "dependencies",
1488
1584
  "type": {
1489
- "text": "string"
1585
+ "text": "object"
1490
1586
  },
1491
- "description": "Tells the browser to download the linked file as this filename. Only used when `href` is set.",
1492
- "attribute": "download",
1493
- "reflects": true,
1494
- "inheritedFrom": {
1495
- "name": "ButtonElement",
1496
- "module": "src/base/button-element.ts"
1497
- }
1587
+ "static": true,
1588
+ "default": "{\n \"sgds-overflow-menu\": SgdsOverflowMenu\n }"
1498
1589
  },
1499
1590
  {
1500
1591
  "kind": "field",
@@ -1502,152 +1593,38 @@
1502
1593
  "type": {
1503
1594
  "text": "string"
1504
1595
  },
1505
- "description": "The aria-label attribute to passed to button element when necessary",
1506
- "attribute": "ariaLabel",
1507
- "inheritedFrom": {
1508
- "name": "ButtonElement",
1509
- "module": "src/base/button-element.ts"
1510
- }
1511
- },
1512
- {
1513
- "kind": "field",
1514
- "name": "loading",
1515
- "type": {
1516
- "text": "boolean"
1517
- },
1518
- "description": "When true, shows a loading spinner",
1519
- "attribute": "loading",
1520
- "inheritedFrom": {
1521
- "name": "ButtonElement",
1522
- "module": "src/base/button-element.ts"
1523
- }
1524
- },
1525
- {
1526
- "kind": "method",
1527
- "name": "focus",
1528
- "privacy": "public",
1529
- "parameters": [
1530
- {
1531
- "name": "options",
1532
- "optional": true,
1533
- "type": {
1534
- "text": "FocusOptions"
1535
- }
1536
- }
1537
- ],
1538
- "description": "Sets focus on the button.",
1539
- "type": {},
1540
- "inheritedFrom": {
1541
- "name": "ButtonElement",
1542
- "module": "src/base/button-element.ts"
1543
- }
1544
- },
1545
- {
1546
- "kind": "method",
1547
- "name": "click",
1548
- "privacy": "public",
1549
- "description": "Simulates a click on the button.",
1550
- "type": {},
1551
- "inheritedFrom": {
1552
- "name": "ButtonElement",
1553
- "module": "src/base/button-element.ts"
1554
- }
1555
- },
1556
- {
1557
- "kind": "method",
1558
- "name": "blur",
1559
- "privacy": "public",
1560
- "description": "Removes focus from the button.",
1561
- "type": {},
1562
- "inheritedFrom": {
1563
- "name": "ButtonElement",
1564
- "module": "src/base/button-element.ts"
1565
- }
1566
- },
1567
- {
1568
- "kind": "method",
1569
- "name": "_handleBlur",
1570
- "privacy": "protected",
1571
- "type": {},
1572
- "inheritedFrom": {
1573
- "name": "ButtonElement",
1574
- "module": "src/base/button-element.ts"
1575
- }
1576
- },
1577
- {
1578
- "kind": "method",
1579
- "name": "_handleFocus",
1580
- "privacy": "protected",
1581
- "type": {},
1582
- "inheritedFrom": {
1583
- "name": "ButtonElement",
1584
- "module": "src/base/button-element.ts"
1585
- }
1586
- },
1587
- {
1588
- "kind": "method",
1589
- "name": "_handleKeydown",
1590
- "privacy": "protected",
1591
- "parameters": [
1592
- {
1593
- "name": "event",
1594
- "type": {
1595
- "text": "KeyboardEvent"
1596
- }
1597
- }
1598
- ],
1599
- "type": {},
1600
- "inheritedFrom": {
1601
- "name": "ButtonElement",
1602
- "module": "src/base/button-element.ts"
1603
- }
1596
+ "default": "\"breadcrumb\"",
1597
+ "description": "The aria-label of nav element within breadcrumb component.",
1598
+ "attribute": "ariaLabel"
1604
1599
  },
1605
1600
  {
1606
1601
  "kind": "method",
1607
- "name": "_assignSpinnerSize",
1608
- "privacy": "protected",
1602
+ "name": "_replaceExcessItemsWithDropdown",
1603
+ "privacy": "private",
1609
1604
  "parameters": [
1610
1605
  {
1611
- "name": "buttonSize",
1606
+ "name": "items",
1612
1607
  "type": {
1613
- "text": "\"xs\" | \"sm\" | \"md\" | \"lg\""
1608
+ "text": "SgdsBreadcrumbItem[]"
1614
1609
  }
1615
1610
  }
1616
1611
  ],
1617
- "type": {},
1618
- "inheritedFrom": {
1619
- "name": "ButtonElement",
1620
- "module": "src/base/button-element.ts"
1621
- }
1612
+ "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>`",
1613
+ "type": {}
1622
1614
  },
1623
1615
  {
1624
1616
  "kind": "method",
1625
- "name": "_assignSpinnerTone",
1626
- "privacy": "protected",
1627
- "return": {
1628
- "type": {
1629
- "text": "SpinnerTone"
1630
- }
1631
- },
1617
+ "name": "_handleSlotChange",
1618
+ "privacy": "private",
1632
1619
  "parameters": [
1633
1620
  {
1634
- "name": "buttonTone",
1635
- "type": {
1636
- "text": "ButtonTone"
1637
- }
1638
- },
1639
- {
1640
- "name": "buttonVariant",
1621
+ "name": "e",
1641
1622
  "type": {
1642
- "text": "ButtonVariant"
1623
+ "text": "Event"
1643
1624
  }
1644
1625
  }
1645
1626
  ],
1646
- "type": {},
1647
- "inheritedFrom": {
1648
- "name": "ButtonElement",
1649
- "module": "src/base/button-element.ts"
1650
- }
1627
+ "type": {}
1651
1628
  },
1652
1629
  {
1653
1630
  "kind": "method",
@@ -1704,472 +1681,486 @@
1704
1681
  }
1705
1682
  }
1706
1683
  ],
1707
- "events": [
1684
+ "attributes": [
1708
1685
  {
1709
- "description": "Emitted when the button is blurred.",
1710
- "name": "sgds-blur",
1711
- "reactName": "onSgdsBlur"
1686
+ "name": "ariaLabel",
1687
+ "type": {
1688
+ "text": "string"
1689
+ },
1690
+ "default": "\"breadcrumb\"",
1691
+ "description": "The aria-label of nav element within breadcrumb component.",
1692
+ "fieldName": "ariaLabel"
1693
+ }
1694
+ ],
1695
+ "superclass": {
1696
+ "name": "SgdsElement",
1697
+ "module": "/src/base/sgds-element"
1698
+ },
1699
+ "summary": "Breadcrumbs help users to navigate and understand where they are on the current website or service.",
1700
+ "tagName": "sgds-breadcrumb",
1701
+ "customElement": true,
1702
+ "modulePath": "src/components/Breadcrumb/sgds-breadcrumb.ts",
1703
+ "cssProperties": [],
1704
+ "cssParts": [],
1705
+ "cssStates": [],
1706
+ "events": []
1707
+ }
1708
+ ],
1709
+ "exports": [
1710
+ {
1711
+ "kind": "js",
1712
+ "name": "SgdsBreadcrumb",
1713
+ "declaration": {
1714
+ "name": "SgdsBreadcrumb",
1715
+ "module": "src/components/Breadcrumb/sgds-breadcrumb.ts"
1716
+ }
1717
+ },
1718
+ {
1719
+ "kind": "js",
1720
+ "name": "default",
1721
+ "declaration": {
1722
+ "name": "SgdsBreadcrumb",
1723
+ "module": "src/components/Breadcrumb/sgds-breadcrumb.ts"
1724
+ }
1725
+ }
1726
+ ]
1727
+ },
1728
+ {
1729
+ "kind": "javascript-module",
1730
+ "path": "src/components/Button/sgds-button.ts",
1731
+ "declarations": [
1732
+ {
1733
+ "kind": "class",
1734
+ "description": "",
1735
+ "name": "SgdsButton",
1736
+ "slots": [
1737
+ {
1738
+ "description": "The button's label.",
1739
+ "name": "default"
1712
1740
  },
1713
1741
  {
1714
- "description": "Emitted when the button is focused.",
1715
- "name": "sgds-focus",
1716
- "reactName": "onSgdsFocus"
1742
+ "description": "The slot for icon to the left of the button text",
1743
+ "name": "leftIcon"
1744
+ },
1745
+ {
1746
+ "description": "The slot for icon to the right of the button text",
1747
+ "name": "rightIcon"
1717
1748
  }
1718
1749
  ],
1719
- "attributes": [
1750
+ "members": [
1720
1751
  {
1752
+ "kind": "field",
1721
1753
  "name": "name",
1722
1754
  "type": {
1723
1755
  "text": "string"
1724
1756
  },
1725
1757
  "description": "The name of the button, submitted as a name/value pair with form data only when this button is the submitter. Only works with `type=\"submit\"`. Has no effect when the button is rendered as a link (i.e. when `href` is set).",
1726
- "fieldName": "name"
1758
+ "attribute": "name",
1759
+ "reflects": true
1727
1760
  },
1728
1761
  {
1762
+ "kind": "field",
1729
1763
  "name": "value",
1730
1764
  "type": {
1731
1765
  "text": "string"
1732
1766
  },
1733
1767
  "description": "The value of the button, submitted as a name/value pair with form data only when this button is the submitter. Only works with `type=\"submit\"`. Has no effect when the button is rendered as a link (i.e. when `href` is set).",
1734
- "fieldName": "value"
1768
+ "attribute": "value",
1769
+ "reflects": true
1735
1770
  },
1736
1771
  {
1772
+ "kind": "field",
1737
1773
  "name": "type",
1738
1774
  "type": {
1739
1775
  "text": "\"button\" | \"submit\" | \"reset\""
1740
1776
  },
1741
1777
  "default": "\"button\"",
1742
1778
  "description": "The behavior of the button with default as `type='button', `reset` resets all the controls to their initial values and `submit` submits the form data to the server",
1743
- "fieldName": "type"
1779
+ "attribute": "type",
1780
+ "reflects": true
1744
1781
  },
1745
1782
  {
1783
+ "kind": "field",
1746
1784
  "name": "form",
1747
1785
  "type": {
1748
1786
  "text": "string"
1749
1787
  },
1750
1788
  "description": "The \"form owner\" to associate the button with. If omitted, the closest containing form will be used instead. The\nvalue of this attribute must be an id of a form in the same document or shadow root as the button.",
1751
- "fieldName": "form"
1789
+ "attribute": "form",
1790
+ "reflects": true
1752
1791
  },
1753
1792
  {
1754
- "name": "formaction",
1793
+ "kind": "field",
1794
+ "name": "formAction",
1755
1795
  "type": {
1756
1796
  "text": "string"
1757
1797
  },
1758
1798
  "description": "Used to override the form owner's `action` attribute.",
1759
- "fieldName": "formAction"
1799
+ "attribute": "formaction",
1800
+ "reflects": true
1760
1801
  },
1761
1802
  {
1762
- "name": "formmethod",
1803
+ "kind": "field",
1804
+ "name": "formMethod",
1763
1805
  "type": {
1764
1806
  "text": "\"post\" | \"get\""
1765
1807
  },
1766
1808
  "description": "Used to override the form owner's `method` attribute.",
1767
- "fieldName": "formMethod"
1809
+ "attribute": "formmethod",
1810
+ "reflects": true
1768
1811
  },
1769
1812
  {
1770
- "name": "formnovalidate",
1813
+ "kind": "field",
1814
+ "name": "formNoValidate",
1771
1815
  "type": {
1772
1816
  "text": "boolean"
1773
1817
  },
1774
1818
  "description": "Used to override the form owner's `novalidate` attribute.",
1775
- "fieldName": "formNoValidate"
1819
+ "attribute": "formnovalidate",
1820
+ "reflects": true
1776
1821
  },
1777
1822
  {
1778
- "name": "formtarget",
1823
+ "kind": "field",
1824
+ "name": "formTarget",
1779
1825
  "type": {
1780
1826
  "text": "| \"_self\"\n | \"_blank\"\n | \"_parent\"\n | \"_top\"\n | string"
1781
1827
  },
1782
1828
  "description": "Used to override the form owner's `target` attribute.",
1783
- "fieldName": "formTarget"
1829
+ "attribute": "formtarget",
1830
+ "reflects": true
1784
1831
  },
1785
1832
  {
1833
+ "kind": "field",
1786
1834
  "name": "fullWidth",
1787
1835
  "type": {
1788
1836
  "text": "boolean"
1789
1837
  },
1790
1838
  "default": "false",
1791
1839
  "description": "When set, the button will be in full width.",
1792
- "fieldName": "fullWidth"
1840
+ "attribute": "fullWidth",
1841
+ "reflects": true
1793
1842
  },
1794
1843
  {
1844
+ "kind": "field",
1795
1845
  "name": "hasLeftIconSlot",
1796
1846
  "type": {
1797
1847
  "text": "boolean"
1798
1848
  },
1799
1849
  "default": "false",
1800
1850
  "description": "Used only for SSR to indicate the presence of the `leftIcon` slot.",
1801
- "fieldName": "hasLeftIconSlot"
1851
+ "attribute": "hasLeftIconSlot"
1802
1852
  },
1803
1853
  {
1854
+ "kind": "field",
1804
1855
  "name": "hasRightIconSlot",
1805
1856
  "type": {
1806
1857
  "text": "boolean"
1807
1858
  },
1808
1859
  "default": "false",
1809
1860
  "description": "Used only for SSR to indicate the presence of the `rightIcon` slot.",
1810
- "fieldName": "hasRightIconSlot"
1861
+ "attribute": "hasRightIconSlot"
1862
+ },
1863
+ {
1864
+ "kind": "field",
1865
+ "name": "hasSlotController",
1866
+ "privacy": "private",
1867
+ "default": "new HasSlotController(this, \"leftIcon\", \"rightIcon\")",
1868
+ "type": {}
1811
1869
  },
1812
1870
  {
1871
+ "kind": "method",
1872
+ "name": "_handleClick",
1873
+ "privacy": "protected",
1874
+ "parameters": [
1875
+ {
1876
+ "name": "event",
1877
+ "type": {
1878
+ "text": "MouseEvent"
1879
+ }
1880
+ }
1881
+ ],
1882
+ "type": {},
1883
+ "inheritedFrom": {
1884
+ "name": "ButtonElement",
1885
+ "module": "src/base/button-element.ts"
1886
+ }
1887
+ },
1888
+ {
1889
+ "kind": "field",
1890
+ "name": "_clickHandler",
1891
+ "privacy": "private",
1892
+ "type": {}
1893
+ },
1894
+ {
1895
+ "kind": "field",
1813
1896
  "name": "variant",
1814
1897
  "type": {
1815
- "text": "ButtonVariant"
1898
+ "text": "\"primary\" | \"outline\" | \"ghost\" | \"danger\""
1816
1899
  },
1817
1900
  "default": "\"primary\"",
1818
1901
  "description": "Sets the visual variants such as: `primary`, `outline`, `ghost`. The `danger` value is deprecated since v3.5.6 — use `variant=\"primary\"` with `tone=\"danger\"` instead.",
1819
- "fieldName": "variant",
1902
+ "attribute": "variant",
1903
+ "reflects": true,
1820
1904
  "inheritedFrom": {
1821
1905
  "name": "ButtonElement",
1822
1906
  "module": "src/base/button-element.ts"
1823
1907
  }
1824
1908
  },
1825
1909
  {
1910
+ "kind": "field",
1826
1911
  "name": "tone",
1827
1912
  "type": {
1828
- "text": "ButtonTone"
1913
+ "text": "\"brand\" | \"danger\" | \"fixed-light\" | \"neutral\""
1829
1914
  },
1830
1915
  "default": "\"brand\"",
1831
1916
  "description": "Sets the visual colour of the button: `brand`, `danger`, `fixed-light`, `neutral`",
1832
- "fieldName": "tone",
1917
+ "attribute": "tone",
1918
+ "reflects": true,
1833
1919
  "inheritedFrom": {
1834
1920
  "name": "ButtonElement",
1835
1921
  "module": "src/base/button-element.ts"
1836
1922
  }
1837
1923
  },
1838
1924
  {
1925
+ "kind": "field",
1839
1926
  "name": "size",
1840
1927
  "type": {
1841
1928
  "text": "\"xs\" | \"sm\" | \"md\" | \"lg\""
1842
1929
  },
1843
1930
  "default": "\"md\"",
1844
1931
  "description": "Specifies a small, medium or large button, the size is medium by default.",
1845
- "fieldName": "size",
1932
+ "attribute": "size",
1933
+ "reflects": true,
1846
1934
  "inheritedFrom": {
1847
1935
  "name": "ButtonElement",
1848
1936
  "module": "src/base/button-element.ts"
1849
1937
  }
1850
1938
  },
1851
1939
  {
1940
+ "kind": "field",
1852
1941
  "name": "active",
1853
1942
  "type": {
1854
1943
  "text": "boolean"
1855
1944
  },
1856
1945
  "default": "false",
1857
1946
  "description": "Manually set the visual state of the button to `:active`",
1858
- "fieldName": "active",
1947
+ "attribute": "active",
1948
+ "reflects": true,
1859
1949
  "inheritedFrom": {
1860
1950
  "name": "ButtonElement",
1861
1951
  "module": "src/base/button-element.ts"
1862
1952
  }
1863
1953
  },
1864
1954
  {
1955
+ "kind": "field",
1865
1956
  "name": "disabled",
1866
1957
  "type": {
1867
1958
  "text": "boolean"
1868
1959
  },
1869
1960
  "default": "false",
1870
1961
  "description": "The disabled state of the button",
1871
- "fieldName": "disabled",
1962
+ "attribute": "disabled",
1963
+ "reflects": true,
1872
1964
  "inheritedFrom": {
1873
1965
  "name": "ButtonElement",
1874
1966
  "module": "src/base/button-element.ts"
1875
1967
  }
1876
1968
  },
1877
1969
  {
1970
+ "kind": "field",
1878
1971
  "name": "href",
1879
1972
  "type": {
1880
1973
  "text": "string"
1881
1974
  },
1882
1975
  "description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
1883
- "fieldName": "href",
1976
+ "attribute": "href",
1977
+ "reflects": true,
1884
1978
  "inheritedFrom": {
1885
1979
  "name": "ButtonElement",
1886
1980
  "module": "src/base/button-element.ts"
1887
1981
  }
1888
1982
  },
1889
1983
  {
1984
+ "kind": "field",
1890
1985
  "name": "target",
1891
1986
  "type": {
1892
1987
  "text": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\""
1893
1988
  },
1894
1989
  "default": "\"_self\"",
1895
1990
  "description": "Where to display the linked URL, as the name for a browsing context. Forwards to the HTMLAnchor target attribute",
1896
- "fieldName": "target",
1991
+ "attribute": "target",
1992
+ "reflects": true,
1897
1993
  "inheritedFrom": {
1898
1994
  "name": "ButtonElement",
1899
1995
  "module": "src/base/button-element.ts"
1900
1996
  }
1901
1997
  },
1902
1998
  {
1999
+ "kind": "field",
1903
2000
  "name": "download",
1904
2001
  "type": {
1905
2002
  "text": "string"
1906
2003
  },
1907
2004
  "description": "Tells the browser to download the linked file as this filename. Only used when `href` is set.",
1908
- "fieldName": "download",
2005
+ "attribute": "download",
2006
+ "reflects": true,
1909
2007
  "inheritedFrom": {
1910
2008
  "name": "ButtonElement",
1911
2009
  "module": "src/base/button-element.ts"
1912
2010
  }
1913
2011
  },
1914
2012
  {
2013
+ "kind": "field",
1915
2014
  "name": "ariaLabel",
1916
2015
  "type": {
1917
2016
  "text": "string"
1918
2017
  },
1919
2018
  "description": "The aria-label attribute to passed to button element when necessary",
1920
- "fieldName": "ariaLabel",
2019
+ "attribute": "ariaLabel",
1921
2020
  "inheritedFrom": {
1922
2021
  "name": "ButtonElement",
1923
2022
  "module": "src/base/button-element.ts"
1924
2023
  }
1925
2024
  },
1926
2025
  {
2026
+ "kind": "field",
1927
2027
  "name": "loading",
1928
2028
  "type": {
1929
2029
  "text": "boolean"
1930
2030
  },
1931
2031
  "description": "When true, shows a loading spinner",
1932
- "fieldName": "loading",
2032
+ "attribute": "loading",
1933
2033
  "inheritedFrom": {
1934
2034
  "name": "ButtonElement",
1935
2035
  "module": "src/base/button-element.ts"
1936
2036
  }
1937
- }
1938
- ],
1939
- "superclass": {
1940
- "name": "ButtonElement",
1941
- "module": "/src/base/button-element"
1942
- },
1943
- "summary": "Custom button styles for actions in forms, dialogs, and more with support for multiple sizes, states, and more.",
1944
- "tagName": "sgds-button",
1945
- "customElement": true,
1946
- "modulePath": "src/components/Button/sgds-button.ts",
1947
- "cssProperties": [],
1948
- "cssParts": [],
1949
- "cssStates": []
1950
- }
1951
- ],
1952
- "exports": [
1953
- {
1954
- "kind": "js",
1955
- "name": "SgdsButton",
1956
- "declaration": {
1957
- "name": "SgdsButton",
1958
- "module": "src/components/Button/sgds-button.ts"
1959
- }
1960
- },
1961
- {
1962
- "kind": "js",
1963
- "name": "default",
1964
- "declaration": {
1965
- "name": "SgdsButton",
1966
- "module": "src/components/Button/sgds-button.ts"
1967
- }
1968
- }
1969
- ]
1970
- },
1971
- {
1972
- "kind": "javascript-module",
1973
- "path": "src/components/Breadcrumb/sgds-breadcrumb-item.ts",
1974
- "declarations": [
1975
- {
1976
- "kind": "class",
1977
- "description": "",
1978
- "name": "SgdsBreadcrumbItem",
1979
- "slots": [
1980
- {
1981
- "description": "The link of the item. Pass in anchor tags into this slot",
1982
- "name": "default"
1983
- }
1984
- ],
1985
- "members": [
1986
- {
1987
- "kind": "field",
1988
- "name": "dependencies",
1989
- "type": {
1990
- "text": "Record<string, typeof SgdsElement>"
1991
- },
1992
- "static": true,
1993
- "default": "{\n \"sgds-link\": SgdsLink,\n \"sgds-icon\": SgdsIcon\n }"
1994
- },
1995
- {
1996
- "kind": "field",
1997
- "name": "active",
1998
- "type": {
1999
- "text": "boolean"
2000
- },
2001
- "default": "false",
2002
- "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",
2003
- "attribute": "active",
2004
- "reflects": true
2005
- },
2006
- {
2007
- "kind": "field",
2008
- "name": "_preventNavigation",
2009
- "privacy": "private",
2010
- "type": {}
2011
2037
  },
2012
2038
  {
2013
2039
  "kind": "method",
2014
- "name": "emit",
2040
+ "name": "focus",
2041
+ "privacy": "public",
2015
2042
  "parameters": [
2016
- {
2017
- "name": "name",
2018
- "type": {
2019
- "text": "string"
2020
- }
2021
- },
2022
2043
  {
2023
2044
  "name": "options",
2024
2045
  "optional": true,
2025
2046
  "type": {
2026
- "text": "CustomEventInit<T>"
2047
+ "text": "FocusOptions"
2027
2048
  }
2028
2049
  }
2029
2050
  ],
2030
- "description": "Emits a custom event with more convenient defaults.",
2051
+ "description": "Sets focus on the button.",
2031
2052
  "type": {},
2032
2053
  "inheritedFrom": {
2033
- "name": "SgdsElement",
2034
- "module": "src/base/sgds-element.ts"
2054
+ "name": "ButtonElement",
2055
+ "module": "src/base/button-element.ts"
2035
2056
  }
2036
2057
  },
2037
2058
  {
2038
2059
  "kind": "method",
2039
- "name": "define",
2040
- "static": true,
2041
- "parameters": [
2042
- {
2043
- "name": "name",
2044
- "type": {
2045
- "text": "string"
2046
- }
2047
- },
2048
- {
2049
- "name": "elementConstructor",
2050
- "default": "this"
2051
- },
2052
- {
2053
- "name": "options",
2054
- "default": "{}",
2055
- "type": {
2056
- "text": "ElementDefinitionOptions"
2057
- }
2058
- }
2059
- ],
2060
+ "name": "click",
2061
+ "privacy": "public",
2062
+ "description": "Simulates a click on the button.",
2060
2063
  "type": {},
2061
2064
  "inheritedFrom": {
2062
- "name": "SgdsElement",
2063
- "module": "src/base/sgds-element.ts"
2065
+ "name": "ButtonElement",
2066
+ "module": "src/base/button-element.ts"
2064
2067
  }
2065
- }
2066
- ],
2067
- "attributes": [
2068
+ },
2068
2069
  {
2069
- "name": "active",
2070
- "type": {
2071
- "text": "boolean"
2072
- },
2073
- "default": "false",
2074
- "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",
2075
- "fieldName": "active"
2076
- }
2077
- ],
2078
- "superclass": {
2079
- "name": "SgdsElement",
2080
- "module": "/src/base/sgds-element"
2081
- },
2082
- "summary": "Breadcrumb Item are navigational links used in Breadcrumb component",
2083
- "tagName": "sgds-breadcrumb-item",
2084
- "customElement": true,
2085
- "modulePath": "src/components/Breadcrumb/sgds-breadcrumb-item.ts",
2086
- "cssProperties": [],
2087
- "cssParts": [],
2088
- "cssStates": [],
2089
- "events": []
2090
- }
2091
- ],
2092
- "exports": [
2093
- {
2094
- "kind": "js",
2095
- "name": "SgdsBreadcrumbItem",
2096
- "declaration": {
2097
- "name": "SgdsBreadcrumbItem",
2098
- "module": "src/components/Breadcrumb/sgds-breadcrumb-item.ts"
2099
- }
2100
- },
2101
- {
2102
- "kind": "js",
2103
- "name": "default",
2104
- "declaration": {
2105
- "name": "SgdsBreadcrumbItem",
2106
- "module": "src/components/Breadcrumb/sgds-breadcrumb-item.ts"
2107
- }
2108
- }
2109
- ]
2110
- },
2111
- {
2112
- "kind": "javascript-module",
2113
- "path": "src/components/Breadcrumb/sgds-breadcrumb.ts",
2114
- "declarations": [
2115
- {
2116
- "kind": "class",
2117
- "description": "",
2118
- "name": "SgdsBreadcrumb",
2119
- "slots": [
2070
+ "kind": "method",
2071
+ "name": "blur",
2072
+ "privacy": "public",
2073
+ "description": "Removes focus from the button.",
2074
+ "type": {},
2075
+ "inheritedFrom": {
2076
+ "name": "ButtonElement",
2077
+ "module": "src/base/button-element.ts"
2078
+ }
2079
+ },
2120
2080
  {
2121
- "description": "The slot to pass in custom elements of `SgdsBreadcrumbItems`.",
2122
- "name": "default"
2123
- }
2124
- ],
2125
- "members": [
2081
+ "kind": "method",
2082
+ "name": "_handleBlur",
2083
+ "privacy": "protected",
2084
+ "type": {},
2085
+ "inheritedFrom": {
2086
+ "name": "ButtonElement",
2087
+ "module": "src/base/button-element.ts"
2088
+ }
2089
+ },
2126
2090
  {
2127
- "kind": "field",
2128
- "name": "dependencies",
2129
- "type": {
2130
- "text": "object"
2131
- },
2132
- "static": true,
2133
- "default": "{\n \"sgds-overflow-menu\": SgdsOverflowMenu\n }"
2091
+ "kind": "method",
2092
+ "name": "_handleFocus",
2093
+ "privacy": "protected",
2094
+ "type": {},
2095
+ "inheritedFrom": {
2096
+ "name": "ButtonElement",
2097
+ "module": "src/base/button-element.ts"
2098
+ }
2134
2099
  },
2135
2100
  {
2136
- "kind": "field",
2137
- "name": "ariaLabel",
2138
- "type": {
2139
- "text": "string"
2140
- },
2141
- "default": "\"breadcrumb\"",
2142
- "description": "The aria-label of nav element within breadcrumb component.",
2143
- "attribute": "ariaLabel"
2101
+ "kind": "method",
2102
+ "name": "_handleKeydown",
2103
+ "privacy": "protected",
2104
+ "parameters": [
2105
+ {
2106
+ "name": "event",
2107
+ "type": {
2108
+ "text": "KeyboardEvent"
2109
+ }
2110
+ }
2111
+ ],
2112
+ "type": {},
2113
+ "inheritedFrom": {
2114
+ "name": "ButtonElement",
2115
+ "module": "src/base/button-element.ts"
2116
+ }
2144
2117
  },
2145
2118
  {
2146
2119
  "kind": "method",
2147
- "name": "_replaceExcessItemsWithDropdown",
2148
- "privacy": "private",
2120
+ "name": "_assignSpinnerSize",
2121
+ "privacy": "protected",
2149
2122
  "parameters": [
2150
2123
  {
2151
- "name": "items",
2124
+ "name": "buttonSize",
2152
2125
  "type": {
2153
- "text": "SgdsBreadcrumbItem[]"
2126
+ "text": "\"xs\" | \"sm\" | \"md\" | \"lg\""
2154
2127
  }
2155
2128
  }
2156
2129
  ],
2157
- "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>`",
2158
- "type": {}
2130
+ "type": {},
2131
+ "inheritedFrom": {
2132
+ "name": "ButtonElement",
2133
+ "module": "src/base/button-element.ts"
2134
+ }
2159
2135
  },
2160
2136
  {
2161
2137
  "kind": "method",
2162
- "name": "_handleSlotChange",
2163
- "privacy": "private",
2138
+ "name": "_assignSpinnerTone",
2139
+ "privacy": "protected",
2140
+ "return": {
2141
+ "type": {
2142
+ "text": "SpinnerTone"
2143
+ }
2144
+ },
2164
2145
  "parameters": [
2165
2146
  {
2166
- "name": "e",
2147
+ "name": "buttonTone",
2167
2148
  "type": {
2168
- "text": "Event"
2149
+ "text": "ButtonTone"
2150
+ }
2151
+ },
2152
+ {
2153
+ "name": "buttonVariant",
2154
+ "type": {
2155
+ "text": "ButtonVariant"
2169
2156
  }
2170
2157
  }
2171
2158
  ],
2172
- "type": {}
2159
+ "type": {},
2160
+ "inheritedFrom": {
2161
+ "name": "ButtonElement",
2162
+ "module": "src/base/button-element.ts"
2163
+ }
2173
2164
  },
2174
2165
  {
2175
2166
  "kind": "method",
@@ -2226,322 +2217,373 @@
2226
2217
  }
2227
2218
  }
2228
2219
  ],
2220
+ "events": [
2221
+ {
2222
+ "description": "Emitted when the button is blurred.",
2223
+ "name": "sgds-blur",
2224
+ "reactName": "onSgdsBlur"
2225
+ },
2226
+ {
2227
+ "description": "Emitted when the button is focused.",
2228
+ "name": "sgds-focus",
2229
+ "reactName": "onSgdsFocus"
2230
+ }
2231
+ ],
2229
2232
  "attributes": [
2233
+ {
2234
+ "name": "name",
2235
+ "type": {
2236
+ "text": "string"
2237
+ },
2238
+ "description": "The name of the button, submitted as a name/value pair with form data only when this button is the submitter. Only works with `type=\"submit\"`. Has no effect when the button is rendered as a link (i.e. when `href` is set).",
2239
+ "fieldName": "name"
2240
+ },
2241
+ {
2242
+ "name": "value",
2243
+ "type": {
2244
+ "text": "string"
2245
+ },
2246
+ "description": "The value of the button, submitted as a name/value pair with form data only when this button is the submitter. Only works with `type=\"submit\"`. Has no effect when the button is rendered as a link (i.e. when `href` is set).",
2247
+ "fieldName": "value"
2248
+ },
2249
+ {
2250
+ "name": "type",
2251
+ "type": {
2252
+ "text": "\"button\" | \"submit\" | \"reset\""
2253
+ },
2254
+ "default": "\"button\"",
2255
+ "description": "The behavior of the button with default as `type='button', `reset` resets all the controls to their initial values and `submit` submits the form data to the server",
2256
+ "fieldName": "type"
2257
+ },
2258
+ {
2259
+ "name": "form",
2260
+ "type": {
2261
+ "text": "string"
2262
+ },
2263
+ "description": "The \"form owner\" to associate the button with. If omitted, the closest containing form will be used instead. The\nvalue of this attribute must be an id of a form in the same document or shadow root as the button.",
2264
+ "fieldName": "form"
2265
+ },
2266
+ {
2267
+ "name": "formaction",
2268
+ "type": {
2269
+ "text": "string"
2270
+ },
2271
+ "description": "Used to override the form owner's `action` attribute.",
2272
+ "fieldName": "formAction"
2273
+ },
2274
+ {
2275
+ "name": "formmethod",
2276
+ "type": {
2277
+ "text": "\"post\" | \"get\""
2278
+ },
2279
+ "description": "Used to override the form owner's `method` attribute.",
2280
+ "fieldName": "formMethod"
2281
+ },
2282
+ {
2283
+ "name": "formnovalidate",
2284
+ "type": {
2285
+ "text": "boolean"
2286
+ },
2287
+ "description": "Used to override the form owner's `novalidate` attribute.",
2288
+ "fieldName": "formNoValidate"
2289
+ },
2290
+ {
2291
+ "name": "formtarget",
2292
+ "type": {
2293
+ "text": "| \"_self\"\n | \"_blank\"\n | \"_parent\"\n | \"_top\"\n | string"
2294
+ },
2295
+ "description": "Used to override the form owner's `target` attribute.",
2296
+ "fieldName": "formTarget"
2297
+ },
2298
+ {
2299
+ "name": "fullWidth",
2300
+ "type": {
2301
+ "text": "boolean"
2302
+ },
2303
+ "default": "false",
2304
+ "description": "When set, the button will be in full width.",
2305
+ "fieldName": "fullWidth"
2306
+ },
2307
+ {
2308
+ "name": "hasLeftIconSlot",
2309
+ "type": {
2310
+ "text": "boolean"
2311
+ },
2312
+ "default": "false",
2313
+ "description": "Used only for SSR to indicate the presence of the `leftIcon` slot.",
2314
+ "fieldName": "hasLeftIconSlot"
2315
+ },
2316
+ {
2317
+ "name": "hasRightIconSlot",
2318
+ "type": {
2319
+ "text": "boolean"
2320
+ },
2321
+ "default": "false",
2322
+ "description": "Used only for SSR to indicate the presence of the `rightIcon` slot.",
2323
+ "fieldName": "hasRightIconSlot"
2324
+ },
2325
+ {
2326
+ "name": "variant",
2327
+ "type": {
2328
+ "text": "ButtonVariant"
2329
+ },
2330
+ "default": "\"primary\"",
2331
+ "description": "Sets the visual variants such as: `primary`, `outline`, `ghost`. The `danger` value is deprecated since v3.5.6 — use `variant=\"primary\"` with `tone=\"danger\"` instead.",
2332
+ "fieldName": "variant",
2333
+ "inheritedFrom": {
2334
+ "name": "ButtonElement",
2335
+ "module": "src/base/button-element.ts"
2336
+ }
2337
+ },
2338
+ {
2339
+ "name": "tone",
2340
+ "type": {
2341
+ "text": "ButtonTone"
2342
+ },
2343
+ "default": "\"brand\"",
2344
+ "description": "Sets the visual colour of the button: `brand`, `danger`, `fixed-light`, `neutral`",
2345
+ "fieldName": "tone",
2346
+ "inheritedFrom": {
2347
+ "name": "ButtonElement",
2348
+ "module": "src/base/button-element.ts"
2349
+ }
2350
+ },
2351
+ {
2352
+ "name": "size",
2353
+ "type": {
2354
+ "text": "\"xs\" | \"sm\" | \"md\" | \"lg\""
2355
+ },
2356
+ "default": "\"md\"",
2357
+ "description": "Specifies a small, medium or large button, the size is medium by default.",
2358
+ "fieldName": "size",
2359
+ "inheritedFrom": {
2360
+ "name": "ButtonElement",
2361
+ "module": "src/base/button-element.ts"
2362
+ }
2363
+ },
2364
+ {
2365
+ "name": "active",
2366
+ "type": {
2367
+ "text": "boolean"
2368
+ },
2369
+ "default": "false",
2370
+ "description": "Manually set the visual state of the button to `:active`",
2371
+ "fieldName": "active",
2372
+ "inheritedFrom": {
2373
+ "name": "ButtonElement",
2374
+ "module": "src/base/button-element.ts"
2375
+ }
2376
+ },
2377
+ {
2378
+ "name": "disabled",
2379
+ "type": {
2380
+ "text": "boolean"
2381
+ },
2382
+ "default": "false",
2383
+ "description": "The disabled state of the button",
2384
+ "fieldName": "disabled",
2385
+ "inheritedFrom": {
2386
+ "name": "ButtonElement",
2387
+ "module": "src/base/button-element.ts"
2388
+ }
2389
+ },
2390
+ {
2391
+ "name": "href",
2392
+ "type": {
2393
+ "text": "string"
2394
+ },
2395
+ "description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
2396
+ "fieldName": "href",
2397
+ "inheritedFrom": {
2398
+ "name": "ButtonElement",
2399
+ "module": "src/base/button-element.ts"
2400
+ }
2401
+ },
2402
+ {
2403
+ "name": "target",
2404
+ "type": {
2405
+ "text": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\""
2406
+ },
2407
+ "default": "\"_self\"",
2408
+ "description": "Where to display the linked URL, as the name for a browsing context. Forwards to the HTMLAnchor target attribute",
2409
+ "fieldName": "target",
2410
+ "inheritedFrom": {
2411
+ "name": "ButtonElement",
2412
+ "module": "src/base/button-element.ts"
2413
+ }
2414
+ },
2415
+ {
2416
+ "name": "download",
2417
+ "type": {
2418
+ "text": "string"
2419
+ },
2420
+ "description": "Tells the browser to download the linked file as this filename. Only used when `href` is set.",
2421
+ "fieldName": "download",
2422
+ "inheritedFrom": {
2423
+ "name": "ButtonElement",
2424
+ "module": "src/base/button-element.ts"
2425
+ }
2426
+ },
2230
2427
  {
2231
2428
  "name": "ariaLabel",
2232
2429
  "type": {
2233
2430
  "text": "string"
2234
2431
  },
2235
- "default": "\"breadcrumb\"",
2236
- "description": "The aria-label of nav element within breadcrumb component.",
2237
- "fieldName": "ariaLabel"
2432
+ "description": "The aria-label attribute to passed to button element when necessary",
2433
+ "fieldName": "ariaLabel",
2434
+ "inheritedFrom": {
2435
+ "name": "ButtonElement",
2436
+ "module": "src/base/button-element.ts"
2437
+ }
2438
+ },
2439
+ {
2440
+ "name": "loading",
2441
+ "type": {
2442
+ "text": "boolean"
2443
+ },
2444
+ "description": "When true, shows a loading spinner",
2445
+ "fieldName": "loading",
2446
+ "inheritedFrom": {
2447
+ "name": "ButtonElement",
2448
+ "module": "src/base/button-element.ts"
2449
+ }
2238
2450
  }
2239
2451
  ],
2240
2452
  "superclass": {
2241
- "name": "SgdsElement",
2242
- "module": "/src/base/sgds-element"
2453
+ "name": "ButtonElement",
2454
+ "module": "/src/base/button-element"
2243
2455
  },
2244
- "summary": "Breadcrumbs help users to navigate and understand where they are on the current website or service.",
2245
- "tagName": "sgds-breadcrumb",
2456
+ "summary": "Custom button styles for actions in forms, dialogs, and more with support for multiple sizes, states, and more.",
2457
+ "tagName": "sgds-button",
2246
2458
  "customElement": true,
2247
- "modulePath": "src/components/Breadcrumb/sgds-breadcrumb.ts",
2459
+ "modulePath": "src/components/Button/sgds-button.ts",
2248
2460
  "cssProperties": [],
2249
2461
  "cssParts": [],
2250
- "cssStates": [],
2251
- "events": []
2462
+ "cssStates": []
2252
2463
  }
2253
2464
  ],
2254
2465
  "exports": [
2255
2466
  {
2256
2467
  "kind": "js",
2257
- "name": "SgdsBreadcrumb",
2468
+ "name": "SgdsButton",
2258
2469
  "declaration": {
2259
- "name": "SgdsBreadcrumb",
2260
- "module": "src/components/Breadcrumb/sgds-breadcrumb.ts"
2470
+ "name": "SgdsButton",
2471
+ "module": "src/components/Button/sgds-button.ts"
2261
2472
  }
2262
2473
  },
2263
2474
  {
2264
2475
  "kind": "js",
2265
2476
  "name": "default",
2266
2477
  "declaration": {
2267
- "name": "SgdsBreadcrumb",
2268
- "module": "src/components/Breadcrumb/sgds-breadcrumb.ts"
2478
+ "name": "SgdsButton",
2479
+ "module": "src/components/Button/sgds-button.ts"
2269
2480
  }
2270
2481
  }
2271
2482
  ]
2272
2483
  },
2273
2484
  {
2274
2485
  "kind": "javascript-module",
2275
- "path": "src/components/Card/sgds-card.ts",
2486
+ "path": "src/components/Badge/sgds-badge.ts",
2276
2487
  "declarations": [
2277
2488
  {
2278
2489
  "kind": "class",
2279
2490
  "description": "",
2280
- "name": "SgdsCard",
2491
+ "name": "SgdsBadge",
2281
2492
  "slots": [
2282
2493
  {
2283
- "description": "The content area of the card, placed directly under the title. Accepts any HTML or custom elements.",
2494
+ "description": "slot for badge",
2284
2495
  "name": "default"
2285
2496
  },
2286
2497
  {
2287
- "description": "Accepts an element for an overflow or contextual menu, positioned at the top-right corner of the card. Typically used for action menus or dropdowns.",
2288
- "name": "menu"
2289
- },
2290
- {
2291
- "description": "Accepts an element to be displayed above the card content. When used, it overrides image and icon slot content.",
2292
- "name": "upper"
2293
- },
2294
- {
2295
- "description": "Accepts an image or svg element of the card. Only a single element is allowed to be passed in.",
2296
- "name": "image"
2297
- },
2298
- {
2299
- "description": "Accepts an icon element to visually represent the card. Only a single element is allowed to be passed in.",
2498
+ "description": "The slot for icon to the left of the badge text",
2300
2499
  "name": "icon"
2301
- },
2302
- {
2303
- "description": "The subtitle of the card",
2304
- "name": "subtitle"
2305
- },
2306
- {
2307
- "description": "The title of the card",
2308
- "name": "title"
2309
- },
2310
- {
2311
- "description": "The paragrapher text of the card",
2312
- "name": "description"
2313
- },
2314
- {
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"
2325
2500
  }
2326
2501
  ],
2327
2502
  "members": [
2328
2503
  {
2329
2504
  "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
- },
2344
- {
2345
- "kind": "field",
2346
- "name": "imagePosition",
2347
- "type": {
2348
- "text": "CardImagePosition"
2349
- },
2350
- "default": "\"before\"",
2351
- "description": "Sets the image position of the card. Available options: `before`, `after`",
2352
- "attribute": "imagePosition",
2353
- "reflects": true
2354
- },
2355
- {
2356
- "kind": "field",
2357
- "name": "imageAdjustment",
2358
- "type": {
2359
- "text": "CardImageAdjustment"
2360
- },
2361
- "default": "\"default\"",
2362
- "description": "Controls how the image is sized and aligned within the card. Available options: `default`, `padding around`, `aspect ratio`",
2363
- "attribute": "imageAdjustment",
2364
- "reflects": true
2365
- },
2366
- {
2367
- "kind": "field",
2368
- "name": "hasImageSlot",
2369
- "type": {
2370
- "text": "boolean"
2371
- },
2372
- "default": "false",
2373
- "description": "Used only for SSR to indicate the presence of the `image` slot.",
2374
- "attribute": "hasImageSlot"
2375
- },
2376
- {
2377
- "kind": "field",
2378
- "name": "hasIconSlot",
2379
- "type": {
2380
- "text": "boolean"
2381
- },
2382
- "default": "false",
2383
- "description": "Used only for SSR to indicate the presence of the `icon` slot.",
2384
- "attribute": "hasIconSlot"
2385
- },
2386
- {
2387
- "kind": "field",
2388
- "name": "hasUpperSlot",
2505
+ "name": "show",
2389
2506
  "type": {
2390
2507
  "text": "boolean"
2391
2508
  },
2392
2509
  "default": "false",
2393
- "description": "Used only for SSR to indicate the presence of the `upper` slot.",
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": {}
2510
+ "description": "Controls the appearance of the dismissible badge. This prop only applies when dismissible is true",
2511
+ "attribute": "show",
2512
+ "reflects": true
2431
2513
  },
2432
2514
  {
2433
2515
  "kind": "field",
2434
- "name": "stretchedLink",
2516
+ "name": "variant",
2435
2517
  "type": {
2436
- "text": "boolean"
2518
+ "text": "\"primary\" | \"accent\" | \"success\" | \"danger\" | \"warning\" | \"cyan\" | \"purple\" | \"neutral\" | \"white\" | \"info\""
2437
2519
  },
2438
- "default": "false",
2439
- "description": "Extends the link passed in either `footer` or `link`(deprecated) slot.",
2440
- "attribute": "stretchedLink",
2441
- "reflects": true,
2442
- "inheritedFrom": {
2443
- "name": "CardElement",
2444
- "module": "src/base/card-element.ts"
2445
- }
2520
+ "default": "\"primary\"",
2521
+ "description": "One or more badge variant combinations.\nVariants include: `primary`, `accent`, `success`, `danger`, `warning`, `cyan`, `purple`, `neutral`, `white`, `info`.\n\n(@deprecated) The `info` variant is deprecated. Use `primary` instead.",
2522
+ "attribute": "variant",
2523
+ "reflects": true
2446
2524
  },
2447
2525
  {
2448
2526
  "kind": "field",
2449
- "name": "disabled",
2527
+ "name": "outlined",
2450
2528
  "type": {
2451
2529
  "text": "boolean"
2452
2530
  },
2453
2531
  "default": "false",
2454
- "description": "Disables the card",
2455
- "attribute": "disabled",
2456
- "reflects": true,
2457
- "inheritedFrom": {
2458
- "name": "CardElement",
2459
- "module": "src/base/card-element.ts"
2460
- }
2532
+ "description": "Manually set the outlined state to false",
2533
+ "attribute": "outlined",
2534
+ "reflects": true
2461
2535
  },
2462
2536
  {
2463
2537
  "kind": "field",
2464
- "name": "hideBorder",
2538
+ "name": "dismissible",
2465
2539
  "type": {
2466
2540
  "text": "boolean"
2467
2541
  },
2468
2542
  "default": "false",
2469
- "description": "When true, hides the default border of the card.",
2470
- "attribute": "hideBorder",
2471
- "reflects": true,
2472
- "inheritedFrom": {
2473
- "name": "CardElement",
2474
- "module": "src/base/card-element.ts"
2475
- }
2543
+ "description": "Manually set the dismissible state of the button to `false`",
2544
+ "attribute": "dismissible",
2545
+ "reflects": true
2476
2546
  },
2477
2547
  {
2478
2548
  "kind": "field",
2479
- "name": "tinted",
2549
+ "name": "fullWidth",
2480
2550
  "type": {
2481
2551
  "text": "boolean"
2482
2552
  },
2483
2553
  "default": "false",
2484
- "description": "When true, applies a tinted background color to the card.",
2485
- "attribute": "tinted",
2486
- "reflects": true,
2487
- "inheritedFrom": {
2488
- "name": "CardElement",
2489
- "module": "src/base/card-element.ts"
2490
- }
2554
+ "description": "Manually enable full width",
2555
+ "attribute": "fullWidth",
2556
+ "reflects": true
2491
2557
  },
2492
2558
  {
2493
2559
  "kind": "field",
2494
- "name": "orientation",
2560
+ "name": "truncated",
2495
2561
  "type": {
2496
- "text": "CardOrientation"
2497
- },
2498
- "default": "\"vertical\"",
2499
- "description": "Sets the orientation of the card. Available options: `vertical`, `horizontal`",
2500
- "attribute": "orientation",
2501
- "reflects": true,
2502
- "inheritedFrom": {
2503
- "name": "CardElement",
2504
- "module": "src/base/card-element.ts"
2505
- }
2562
+ "text": "boolean"
2563
+ },
2564
+ "privacy": "private",
2565
+ "default": "false"
2506
2566
  },
2507
2567
  {
2508
- "kind": "method",
2509
- "name": "handleTitleSlotChange",
2510
- "parameters": [
2511
- {
2512
- "name": "e",
2513
- "type": {
2514
- "text": "Event"
2515
- }
2516
- }
2517
- ],
2518
- "type": {},
2519
- "inheritedFrom": {
2520
- "name": "CardElement",
2521
- "module": "src/base/card-element.ts"
2522
- }
2568
+ "kind": "field",
2569
+ "name": "text",
2570
+ "type": {
2571
+ "text": "string"
2572
+ },
2573
+ "privacy": "private",
2574
+ "default": "\"\""
2523
2575
  },
2524
2576
  {
2525
2577
  "kind": "method",
2526
- "name": "_forwardAnchorAttributes",
2527
- "privacy": "protected",
2528
- "parameters": [
2529
- {
2530
- "name": "anchor",
2531
- "type": {
2532
- "text": "HTMLAnchorElement | null"
2533
- }
2534
- }
2535
- ],
2536
- "type": {},
2537
- "inheritedFrom": {
2538
- "name": "CardElement",
2539
- "module": "src/base/card-element.ts"
2540
- }
2578
+ "name": "close",
2579
+ "privacy": "public",
2580
+ "description": "Closes the badge",
2581
+ "type": {}
2541
2582
  },
2542
2583
  {
2543
2584
  "kind": "method",
2544
- "name": "warnLinkSlotMisused",
2585
+ "name": "_handleLabelSlotChange",
2586
+ "privacy": "private",
2545
2587
  "parameters": [
2546
2588
  {
2547
2589
  "name": "e",
@@ -2550,11 +2592,13 @@
2550
2592
  }
2551
2593
  }
2552
2594
  ],
2553
- "type": {},
2554
- "inheritedFrom": {
2555
- "name": "CardElement",
2556
- "module": "src/base/card-element.ts"
2557
- }
2595
+ "type": {}
2596
+ },
2597
+ {
2598
+ "kind": "method",
2599
+ "name": "_renderBadge",
2600
+ "privacy": "private",
2601
+ "type": {}
2558
2602
  },
2559
2603
  {
2560
2604
  "kind": "method",
@@ -2611,147 +2655,103 @@
2611
2655
  }
2612
2656
  }
2613
2657
  ],
2614
- "attributes": [
2658
+ "events": [
2615
2659
  {
2616
- "name": "imagePosition",
2617
- "type": {
2618
- "text": "CardImagePosition"
2619
- },
2620
- "default": "\"before\"",
2621
- "description": "Sets the image position of the card. Available options: `before`, `after`",
2622
- "fieldName": "imagePosition"
2660
+ "description": "Emitted when the badge appears.",
2661
+ "name": "sgds-show",
2662
+ "reactName": "onSgdsShow"
2623
2663
  },
2624
2664
  {
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"
2665
+ "description": "Emitted when the badge is starting to close but has not closed.",
2666
+ "name": "sgds-hide",
2667
+ "reactName": "onSgdsHide"
2632
2668
  },
2633
2669
  {
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"
2670
+ "description": "Emitted after the badge has appeared",
2671
+ "name": "sgds-after-show",
2672
+ "reactName": "onSgdsAfterShow"
2641
2673
  },
2642
2674
  {
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
- },
2675
+ "description": "Emitted after the badge has closed",
2676
+ "name": "sgds-after-hide",
2677
+ "reactName": "onSgdsAfterHide"
2678
+ }
2679
+ ],
2680
+ "attributes": [
2651
2681
  {
2652
- "name": "hasUpperSlot",
2682
+ "name": "show",
2653
2683
  "type": {
2654
2684
  "text": "boolean"
2655
2685
  },
2656
2686
  "default": "false",
2657
- "description": "Used only for SSR to indicate the presence of the `upper` slot.",
2658
- "fieldName": "hasUpperSlot"
2687
+ "description": "Controls the appearance of the dismissible badge. This prop only applies when dismissible is true",
2688
+ "fieldName": "show"
2659
2689
  },
2660
2690
  {
2661
- "name": "stretchedLink",
2691
+ "name": "variant",
2662
2692
  "type": {
2663
- "text": "boolean"
2693
+ "text": "BadgeVariant"
2664
2694
  },
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
- }
2695
+ "default": "\"primary\"",
2696
+ "description": "One or more badge variant combinations.\nVariants include: `primary`, `accent`, `success`, `danger`, `warning`, `cyan`, `purple`, `neutral`, `white`, `info`.\n\n(@deprecated) The `info` variant is deprecated. Use `primary` instead.",
2697
+ "fieldName": "variant"
2672
2698
  },
2673
2699
  {
2674
- "name": "disabled",
2700
+ "name": "outlined",
2675
2701
  "type": {
2676
2702
  "text": "boolean"
2677
2703
  },
2678
2704
  "default": "false",
2679
- "description": "Disables the card",
2680
- "fieldName": "disabled",
2681
- "inheritedFrom": {
2682
- "name": "CardElement",
2683
- "module": "src/base/card-element.ts"
2684
- }
2705
+ "description": "Manually set the outlined state to false",
2706
+ "fieldName": "outlined"
2685
2707
  },
2686
2708
  {
2687
- "name": "hideBorder",
2709
+ "name": "dismissible",
2688
2710
  "type": {
2689
2711
  "text": "boolean"
2690
2712
  },
2691
2713
  "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
- }
2714
+ "description": "Manually set the dismissible state of the button to `false`",
2715
+ "fieldName": "dismissible"
2698
2716
  },
2699
2717
  {
2700
- "name": "tinted",
2718
+ "name": "fullWidth",
2701
2719
  "type": {
2702
2720
  "text": "boolean"
2703
2721
  },
2704
2722
  "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
- }
2723
+ "description": "Manually enable full width",
2724
+ "fieldName": "fullWidth"
2724
2725
  }
2725
2726
  ],
2726
2727
  "superclass": {
2727
- "name": "CardElement",
2728
- "module": "/src/base/card-element"
2728
+ "name": "SgdsElement",
2729
+ "module": "/src/base/sgds-element"
2729
2730
  },
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",
2731
+ "summary": "Badges can be used to highlight important bits of information such as labels, notifications & status.\nWhen the text exceeds the width, it will be truncated with a tooltip that will be displayed on hover.",
2732
+ "tagName": "sgds-badge",
2732
2733
  "customElement": true,
2733
- "modulePath": "src/components/Card/sgds-card.ts",
2734
+ "modulePath": "src/components/Badge/sgds-badge.ts",
2734
2735
  "cssProperties": [],
2735
2736
  "cssParts": [],
2736
- "cssStates": [],
2737
- "events": []
2737
+ "cssStates": []
2738
2738
  }
2739
2739
  ],
2740
2740
  "exports": [
2741
2741
  {
2742
2742
  "kind": "js",
2743
- "name": "SgdsCard",
2743
+ "name": "SgdsBadge",
2744
2744
  "declaration": {
2745
- "name": "SgdsCard",
2746
- "module": "src/components/Card/sgds-card.ts"
2745
+ "name": "SgdsBadge",
2746
+ "module": "src/components/Badge/sgds-badge.ts"
2747
2747
  }
2748
2748
  },
2749
2749
  {
2750
2750
  "kind": "js",
2751
2751
  "name": "default",
2752
2752
  "declaration": {
2753
- "name": "SgdsCard",
2754
- "module": "src/components/Card/sgds-card.ts"
2753
+ "name": "SgdsBadge",
2754
+ "module": "src/components/Badge/sgds-badge.ts"
2755
2755
  }
2756
2756
  }
2757
2757
  ]
@@ -4790,6 +4790,21 @@
4790
4790
  "module": "src/base/select-element.ts"
4791
4791
  }
4792
4792
  },
4793
+ {
4794
+ "kind": "field",
4795
+ "name": "autocomplete",
4796
+ "type": {
4797
+ "text": "string"
4798
+ },
4799
+ "default": "\"on\"",
4800
+ "description": "Controlling of autocomplete behaviour",
4801
+ "attribute": "autocomplete",
4802
+ "reflects": true,
4803
+ "inheritedFrom": {
4804
+ "name": "SelectElement",
4805
+ "module": "src/base/select-element.ts"
4806
+ }
4807
+ },
4793
4808
  {
4794
4809
  "kind": "method",
4795
4810
  "name": "setInvalid",
@@ -5670,6 +5685,19 @@
5670
5685
  "module": "src/base/select-element.ts"
5671
5686
  }
5672
5687
  },
5688
+ {
5689
+ "name": "autocomplete",
5690
+ "type": {
5691
+ "text": "string"
5692
+ },
5693
+ "default": "\"on\"",
5694
+ "description": "Controlling of autocomplete behaviour",
5695
+ "fieldName": "autocomplete",
5696
+ "inheritedFrom": {
5697
+ "name": "SelectElement",
5698
+ "module": "src/base/select-element.ts"
5699
+ }
5700
+ },
5673
5701
  {
5674
5702
  "name": "menuList",
5675
5703
  "type": {
@@ -11780,6 +11808,17 @@
11780
11808
  "attribute": "readonly",
11781
11809
  "reflects": true
11782
11810
  },
11811
+ {
11812
+ "kind": "field",
11813
+ "name": "autocomplete",
11814
+ "type": {
11815
+ "text": "string"
11816
+ },
11817
+ "default": "\"on\"",
11818
+ "description": "Controlling of autocomplete behaviour",
11819
+ "attribute": "autocomplete",
11820
+ "reflects": true
11821
+ },
11783
11822
  {
11784
11823
  "kind": "field",
11785
11824
  "name": "step",
@@ -12368,6 +12407,15 @@
12368
12407
  "description": "Makes the input readonly.",
12369
12408
  "fieldName": "readonly"
12370
12409
  },
12410
+ {
12411
+ "name": "autocomplete",
12412
+ "type": {
12413
+ "text": "string"
12414
+ },
12415
+ "default": "\"on\"",
12416
+ "description": "Controlling of autocomplete behaviour",
12417
+ "fieldName": "autocomplete"
12418
+ },
12371
12419
  {
12372
12420
  "name": "step",
12373
12421
  "type": {
@@ -16797,6 +16845,21 @@
16797
16845
  "module": "src/base/select-element.ts"
16798
16846
  }
16799
16847
  },
16848
+ {
16849
+ "kind": "field",
16850
+ "name": "autocomplete",
16851
+ "type": {
16852
+ "text": "string"
16853
+ },
16854
+ "default": "\"on\"",
16855
+ "description": "Controlling of autocomplete behaviour",
16856
+ "attribute": "autocomplete",
16857
+ "reflects": true,
16858
+ "inheritedFrom": {
16859
+ "name": "SelectElement",
16860
+ "module": "src/base/select-element.ts"
16861
+ }
16862
+ },
16800
16863
  {
16801
16864
  "kind": "method",
16802
16865
  "name": "setInvalid",
@@ -17606,6 +17669,19 @@
17606
17669
  "module": "src/base/select-element.ts"
17607
17670
  }
17608
17671
  },
17672
+ {
17673
+ "name": "autocomplete",
17674
+ "type": {
17675
+ "text": "string"
17676
+ },
17677
+ "default": "\"on\"",
17678
+ "description": "Controlling of autocomplete behaviour",
17679
+ "fieldName": "autocomplete",
17680
+ "inheritedFrom": {
17681
+ "name": "SelectElement",
17682
+ "module": "src/base/select-element.ts"
17683
+ }
17684
+ },
17609
17685
  {
17610
17686
  "name": "menuList",
17611
17687
  "type": {
@@ -26749,6 +26825,17 @@
26749
26825
  "attribute": "invalid",
26750
26826
  "reflects": true
26751
26827
  },
26828
+ {
26829
+ "kind": "field",
26830
+ "name": "autocomplete",
26831
+ "type": {
26832
+ "text": "string"
26833
+ },
26834
+ "default": "\"on\"",
26835
+ "description": "Controlling of autocomplete behaviour",
26836
+ "attribute": "autocomplete",
26837
+ "reflects": true
26838
+ },
26752
26839
  {
26753
26840
  "kind": "method",
26754
26841
  "name": "setInvalid",
@@ -27389,6 +27476,15 @@
27389
27476
  "description": "Marks the component as invalid. Replace the pseudo :invalid selector.",
27390
27477
  "fieldName": "invalid"
27391
27478
  },
27479
+ {
27480
+ "name": "autocomplete",
27481
+ "type": {
27482
+ "text": "string"
27483
+ },
27484
+ "default": "\"on\"",
27485
+ "description": "Controlling of autocomplete behaviour",
27486
+ "fieldName": "autocomplete"
27487
+ },
27392
27488
  {
27393
27489
  "name": "menuList",
27394
27490
  "type": {
@@ -27538,7 +27634,7 @@
27538
27634
  "package": {
27539
27635
  "name": "@govtechsg/sgds-web-component",
27540
27636
  "description": "",
27541
- "version": "3.21.2-rc.4",
27637
+ "version": "3.22.0",
27542
27638
  "author": "GovTechSG",
27543
27639
  "license": "MIT"
27544
27640
  }