@govtechsg/sgds-web-component 3.21.2-rc.5 → 3.23.0-rc.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 (59) 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/Sidenav/index.umd.min.js +5 -4
  27. package/components/Sidenav/index.umd.min.js.map +1 -1
  28. package/components/Sidenav/sgds-sidenav-item.d.ts +4 -0
  29. package/components/Sidenav/sgds-sidenav-item.js +5 -0
  30. package/components/Sidenav/sgds-sidenav-item.js.map +1 -1
  31. package/components/index.umd.min.js +10 -6
  32. package/components/index.umd.min.js.map +1 -1
  33. package/css/fouc.css +2 -2
  34. package/custom-elements.json +1145 -1032
  35. package/index.umd.min.js +10 -6
  36. package/index.umd.min.js.map +1 -1
  37. package/package.json +1 -1
  38. package/react/base/select-element.cjs.js +5 -0
  39. package/react/base/select-element.cjs.js.map +1 -1
  40. package/react/base/select-element.js +5 -0
  41. package/react/base/select-element.js.map +1 -1
  42. package/react/components/ComboBox/sgds-combo-box.cjs.js +2 -0
  43. package/react/components/ComboBox/sgds-combo-box.cjs.js.map +1 -1
  44. package/react/components/ComboBox/sgds-combo-box.js +2 -0
  45. package/react/components/ComboBox/sgds-combo-box.js.map +1 -1
  46. package/react/components/Input/sgds-input.cjs.js +6 -0
  47. package/react/components/Input/sgds-input.cjs.js.map +1 -1
  48. package/react/components/Input/sgds-input.js +6 -0
  49. package/react/components/Input/sgds-input.js.map +1 -1
  50. package/react/components/Link/link.cjs.js +1 -1
  51. package/react/components/Link/link.js +1 -1
  52. package/react/components/Sidenav/sgds-sidenav-item.cjs.js +5 -0
  53. package/react/components/Sidenav/sgds-sidenav-item.cjs.js.map +1 -1
  54. package/react/components/Sidenav/sgds-sidenav-item.js +5 -0
  55. package/react/components/Sidenav/sgds-sidenav-item.js.map +1 -1
  56. package/react/index.cjs.js +10 -10
  57. package/react/index.d.ts +2 -2
  58. package/react/index.js +2 -2
  59. package/types/react.d.ts +52 -44
@@ -939,65 +939,106 @@
939
939
  },
940
940
  {
941
941
  "kind": "javascript-module",
942
- "path": "src/components/Badge/sgds-badge.ts",
942
+ "path": "src/components/Button/sgds-button.ts",
943
943
  "declarations": [
944
944
  {
945
945
  "kind": "class",
946
946
  "description": "",
947
- "name": "SgdsBadge",
947
+ "name": "SgdsButton",
948
948
  "slots": [
949
949
  {
950
- "description": "slot for badge",
950
+ "description": "The button's label.",
951
951
  "name": "default"
952
952
  },
953
953
  {
954
- "description": "The slot for icon to the left of the badge text",
955
- "name": "icon"
954
+ "description": "The slot for icon to the left of the button text",
955
+ "name": "leftIcon"
956
+ },
957
+ {
958
+ "description": "The slot for icon to the right of the button text",
959
+ "name": "rightIcon"
956
960
  }
957
961
  ],
958
962
  "members": [
959
963
  {
960
964
  "kind": "field",
961
- "name": "show",
965
+ "name": "name",
962
966
  "type": {
963
- "text": "boolean"
967
+ "text": "string"
964
968
  },
965
- "default": "false",
966
- "description": "Controls the appearance of the dismissible badge. This prop only applies when dismissible is true",
967
- "attribute": "show",
969
+ "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).",
970
+ "attribute": "name",
968
971
  "reflects": true
969
972
  },
970
973
  {
971
974
  "kind": "field",
972
- "name": "variant",
975
+ "name": "value",
973
976
  "type": {
974
- "text": "\"primary\" | \"accent\" | \"success\" | \"danger\" | \"warning\" | \"cyan\" | \"purple\" | \"neutral\" | \"white\" | \"info\""
977
+ "text": "string"
975
978
  },
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",
979
+ "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).",
980
+ "attribute": "value",
979
981
  "reflects": true
980
982
  },
981
983
  {
982
984
  "kind": "field",
983
- "name": "outlined",
985
+ "name": "type",
984
986
  "type": {
985
- "text": "boolean"
987
+ "text": "\"button\" | \"submit\" | \"reset\""
986
988
  },
987
- "default": "false",
988
- "description": "Manually set the outlined state to false",
989
- "attribute": "outlined",
989
+ "default": "\"button\"",
990
+ "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",
991
+ "attribute": "type",
990
992
  "reflects": true
991
993
  },
992
994
  {
993
995
  "kind": "field",
994
- "name": "dismissible",
996
+ "name": "form",
997
+ "type": {
998
+ "text": "string"
999
+ },
1000
+ "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.",
1001
+ "attribute": "form",
1002
+ "reflects": true
1003
+ },
1004
+ {
1005
+ "kind": "field",
1006
+ "name": "formAction",
1007
+ "type": {
1008
+ "text": "string"
1009
+ },
1010
+ "description": "Used to override the form owner's `action` attribute.",
1011
+ "attribute": "formaction",
1012
+ "reflects": true
1013
+ },
1014
+ {
1015
+ "kind": "field",
1016
+ "name": "formMethod",
1017
+ "type": {
1018
+ "text": "\"post\" | \"get\""
1019
+ },
1020
+ "description": "Used to override the form owner's `method` attribute.",
1021
+ "attribute": "formmethod",
1022
+ "reflects": true
1023
+ },
1024
+ {
1025
+ "kind": "field",
1026
+ "name": "formNoValidate",
995
1027
  "type": {
996
1028
  "text": "boolean"
997
1029
  },
998
- "default": "false",
999
- "description": "Manually set the dismissible state of the button to `false`",
1000
- "attribute": "dismissible",
1030
+ "description": "Used to override the form owner's `novalidate` attribute.",
1031
+ "attribute": "formnovalidate",
1032
+ "reflects": true
1033
+ },
1034
+ {
1035
+ "kind": "field",
1036
+ "name": "formTarget",
1037
+ "type": {
1038
+ "text": "| \"_self\"\n | \"_blank\"\n | \"_parent\"\n | \"_top\"\n | string"
1039
+ },
1040
+ "description": "Used to override the form owner's `target` attribute.",
1041
+ "attribute": "formtarget",
1001
1042
  "reflects": true
1002
1043
  },
1003
1044
  {
@@ -1007,414 +1048,332 @@
1007
1048
  "text": "boolean"
1008
1049
  },
1009
1050
  "default": "false",
1010
- "description": "Manually enable full width",
1051
+ "description": "When set, the button will be in full width.",
1011
1052
  "attribute": "fullWidth",
1012
1053
  "reflects": true
1013
1054
  },
1014
1055
  {
1015
1056
  "kind": "field",
1016
- "name": "truncated",
1057
+ "name": "hasLeftIconSlot",
1017
1058
  "type": {
1018
1059
  "text": "boolean"
1019
1060
  },
1020
- "privacy": "private",
1021
- "default": "false"
1061
+ "default": "false",
1062
+ "description": "Used only for SSR to indicate the presence of the `leftIcon` slot.",
1063
+ "attribute": "hasLeftIconSlot"
1022
1064
  },
1023
1065
  {
1024
1066
  "kind": "field",
1025
- "name": "text",
1067
+ "name": "hasRightIconSlot",
1026
1068
  "type": {
1027
- "text": "string"
1069
+ "text": "boolean"
1028
1070
  },
1029
- "privacy": "private",
1030
- "default": "\"\""
1071
+ "default": "false",
1072
+ "description": "Used only for SSR to indicate the presence of the `rightIcon` slot.",
1073
+ "attribute": "hasRightIconSlot"
1031
1074
  },
1032
1075
  {
1033
- "kind": "method",
1034
- "name": "close",
1035
- "privacy": "public",
1036
- "description": "Closes the badge",
1076
+ "kind": "field",
1077
+ "name": "hasSlotController",
1078
+ "privacy": "private",
1079
+ "default": "new HasSlotController(this, \"leftIcon\", \"rightIcon\")",
1037
1080
  "type": {}
1038
1081
  },
1039
1082
  {
1040
1083
  "kind": "method",
1041
- "name": "_handleLabelSlotChange",
1042
- "privacy": "private",
1084
+ "name": "_handleClick",
1085
+ "privacy": "protected",
1043
1086
  "parameters": [
1044
1087
  {
1045
- "name": "e",
1088
+ "name": "event",
1046
1089
  "type": {
1047
- "text": "Event"
1090
+ "text": "MouseEvent"
1048
1091
  }
1049
1092
  }
1050
1093
  ],
1051
- "type": {}
1094
+ "type": {},
1095
+ "inheritedFrom": {
1096
+ "name": "ButtonElement",
1097
+ "module": "src/base/button-element.ts"
1098
+ }
1052
1099
  },
1053
1100
  {
1054
- "kind": "method",
1055
- "name": "_renderBadge",
1101
+ "kind": "field",
1102
+ "name": "_clickHandler",
1056
1103
  "privacy": "private",
1057
1104
  "type": {}
1058
1105
  },
1059
1106
  {
1060
- "kind": "method",
1061
- "name": "emit",
1062
- "parameters": [
1063
- {
1064
- "name": "name",
1065
- "type": {
1066
- "text": "string"
1067
- }
1068
- },
1069
- {
1070
- "name": "options",
1071
- "optional": true,
1072
- "type": {
1073
- "text": "CustomEventInit<T>"
1074
- }
1075
- }
1076
- ],
1077
- "description": "Emits a custom event with more convenient defaults.",
1078
- "type": {},
1107
+ "kind": "field",
1108
+ "name": "variant",
1109
+ "type": {
1110
+ "text": "\"primary\" | \"outline\" | \"ghost\" | \"danger\""
1111
+ },
1112
+ "default": "\"primary\"",
1113
+ "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.",
1114
+ "attribute": "variant",
1115
+ "reflects": true,
1079
1116
  "inheritedFrom": {
1080
- "name": "SgdsElement",
1081
- "module": "src/base/sgds-element.ts"
1117
+ "name": "ButtonElement",
1118
+ "module": "src/base/button-element.ts"
1082
1119
  }
1083
1120
  },
1084
1121
  {
1085
- "kind": "method",
1086
- "name": "define",
1087
- "static": true,
1088
- "parameters": [
1089
- {
1090
- "name": "name",
1091
- "type": {
1092
- "text": "string"
1093
- }
1094
- },
1095
- {
1096
- "name": "elementConstructor",
1097
- "default": "this"
1098
- },
1099
- {
1100
- "name": "options",
1101
- "default": "{}",
1102
- "type": {
1103
- "text": "ElementDefinitionOptions"
1104
- }
1105
- }
1106
- ],
1107
- "type": {},
1122
+ "kind": "field",
1123
+ "name": "tone",
1124
+ "type": {
1125
+ "text": "\"brand\" | \"danger\" | \"fixed-light\" | \"neutral\""
1126
+ },
1127
+ "default": "\"brand\"",
1128
+ "description": "Sets the visual colour of the button: `brand`, `danger`, `fixed-light`, `neutral`",
1129
+ "attribute": "tone",
1130
+ "reflects": true,
1108
1131
  "inheritedFrom": {
1109
- "name": "SgdsElement",
1110
- "module": "src/base/sgds-element.ts"
1132
+ "name": "ButtonElement",
1133
+ "module": "src/base/button-element.ts"
1111
1134
  }
1112
- }
1113
- ],
1114
- "events": [
1115
- {
1116
- "description": "Emitted when the badge appears.",
1117
- "name": "sgds-show",
1118
- "reactName": "onSgdsShow"
1119
1135
  },
1120
1136
  {
1121
- "description": "Emitted when the badge is starting to close but has not closed.",
1122
- "name": "sgds-hide",
1123
- "reactName": "onSgdsHide"
1124
- },
1125
- {
1126
- "description": "Emitted after the badge has appeared",
1127
- "name": "sgds-after-show",
1128
- "reactName": "onSgdsAfterShow"
1137
+ "kind": "field",
1138
+ "name": "size",
1139
+ "type": {
1140
+ "text": "\"xs\" | \"sm\" | \"md\" | \"lg\""
1141
+ },
1142
+ "default": "\"md\"",
1143
+ "description": "Specifies a small, medium or large button, the size is medium by default.",
1144
+ "attribute": "size",
1145
+ "reflects": true,
1146
+ "inheritedFrom": {
1147
+ "name": "ButtonElement",
1148
+ "module": "src/base/button-element.ts"
1149
+ }
1129
1150
  },
1130
1151
  {
1131
- "description": "Emitted after the badge has closed",
1132
- "name": "sgds-after-hide",
1133
- "reactName": "onSgdsAfterHide"
1134
- }
1135
- ],
1136
- "attributes": [
1137
- {
1138
- "name": "show",
1152
+ "kind": "field",
1153
+ "name": "active",
1139
1154
  "type": {
1140
1155
  "text": "boolean"
1141
1156
  },
1142
1157
  "default": "false",
1143
- "description": "Controls the appearance of the dismissible badge. This prop only applies when dismissible is true",
1144
- "fieldName": "show"
1158
+ "description": "Manually set the visual state of the button to `:active`",
1159
+ "attribute": "active",
1160
+ "reflects": true,
1161
+ "inheritedFrom": {
1162
+ "name": "ButtonElement",
1163
+ "module": "src/base/button-element.ts"
1164
+ }
1145
1165
  },
1146
1166
  {
1147
- "name": "variant",
1167
+ "kind": "field",
1168
+ "name": "disabled",
1148
1169
  "type": {
1149
- "text": "BadgeVariant"
1170
+ "text": "boolean"
1150
1171
  },
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"
1172
+ "default": "false",
1173
+ "description": "The disabled state of the button",
1174
+ "attribute": "disabled",
1175
+ "reflects": true,
1176
+ "inheritedFrom": {
1177
+ "name": "ButtonElement",
1178
+ "module": "src/base/button-element.ts"
1179
+ }
1154
1180
  },
1155
1181
  {
1156
- "name": "outlined",
1182
+ "kind": "field",
1183
+ "name": "href",
1157
1184
  "type": {
1158
- "text": "boolean"
1185
+ "text": "string"
1159
1186
  },
1160
- "default": "false",
1161
- "description": "Manually set the outlined state to false",
1162
- "fieldName": "outlined"
1187
+ "description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
1188
+ "attribute": "href",
1189
+ "reflects": true,
1190
+ "inheritedFrom": {
1191
+ "name": "ButtonElement",
1192
+ "module": "src/base/button-element.ts"
1193
+ }
1163
1194
  },
1164
1195
  {
1165
- "name": "dismissible",
1196
+ "kind": "field",
1197
+ "name": "target",
1166
1198
  "type": {
1167
- "text": "boolean"
1199
+ "text": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\""
1168
1200
  },
1169
- "default": "false",
1170
- "description": "Manually set the dismissible state of the button to `false`",
1171
- "fieldName": "dismissible"
1201
+ "default": "\"_self\"",
1202
+ "description": "Where to display the linked URL, as the name for a browsing context. Forwards to the HTMLAnchor target attribute",
1203
+ "attribute": "target",
1204
+ "reflects": true,
1205
+ "inheritedFrom": {
1206
+ "name": "ButtonElement",
1207
+ "module": "src/base/button-element.ts"
1208
+ }
1172
1209
  },
1173
1210
  {
1174
- "name": "fullWidth",
1211
+ "kind": "field",
1212
+ "name": "download",
1175
1213
  "type": {
1176
- "text": "boolean"
1214
+ "text": "string"
1177
1215
  },
1178
- "default": "false",
1179
- "description": "Manually enable full width",
1180
- "fieldName": "fullWidth"
1181
- }
1182
- ],
1183
- "superclass": {
1184
- "name": "SgdsElement",
1185
- "module": "/src/base/sgds-element"
1186
- },
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",
1189
- "customElement": true,
1190
- "modulePath": "src/components/Badge/sgds-badge.ts",
1191
- "cssProperties": [],
1192
- "cssParts": [],
1193
- "cssStates": []
1194
- }
1195
- ],
1196
- "exports": [
1197
- {
1198
- "kind": "js",
1199
- "name": "SgdsBadge",
1200
- "declaration": {
1201
- "name": "SgdsBadge",
1202
- "module": "src/components/Badge/sgds-badge.ts"
1203
- }
1204
- },
1205
- {
1206
- "kind": "js",
1207
- "name": "default",
1208
- "declaration": {
1209
- "name": "SgdsBadge",
1210
- "module": "src/components/Badge/sgds-badge.ts"
1211
- }
1212
- }
1213
- ]
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": [
1216
+ "description": "Tells the browser to download the linked file as this filename. Only used when `href` is set.",
1217
+ "attribute": "download",
1218
+ "reflects": true,
1219
+ "inheritedFrom": {
1220
+ "name": "ButtonElement",
1221
+ "module": "src/base/button-element.ts"
1222
+ }
1223
+ },
1230
1224
  {
1231
1225
  "kind": "field",
1232
- "name": "dependencies",
1226
+ "name": "ariaLabel",
1233
1227
  "type": {
1234
- "text": "Record<string, typeof SgdsElement>"
1228
+ "text": "string"
1235
1229
  },
1236
- "static": true,
1237
- "default": "{\n \"sgds-link\": SgdsLink,\n \"sgds-icon\": SgdsIcon\n }"
1230
+ "description": "The aria-label attribute to passed to button element when necessary",
1231
+ "attribute": "ariaLabel",
1232
+ "inheritedFrom": {
1233
+ "name": "ButtonElement",
1234
+ "module": "src/base/button-element.ts"
1235
+ }
1238
1236
  },
1239
1237
  {
1240
1238
  "kind": "field",
1241
- "name": "active",
1239
+ "name": "loading",
1242
1240
  "type": {
1243
1241
  "text": "boolean"
1244
1242
  },
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
1243
+ "description": "When true, shows a loading spinner",
1244
+ "attribute": "loading",
1245
+ "inheritedFrom": {
1246
+ "name": "ButtonElement",
1247
+ "module": "src/base/button-element.ts"
1248
+ }
1249
1249
  },
1250
1250
  {
1251
- "kind": "field",
1252
- "name": "_preventNavigation",
1253
- "privacy": "private",
1254
- "type": {}
1251
+ "kind": "method",
1252
+ "name": "focus",
1253
+ "privacy": "public",
1254
+ "parameters": [
1255
+ {
1256
+ "name": "options",
1257
+ "optional": true,
1258
+ "type": {
1259
+ "text": "FocusOptions"
1260
+ }
1261
+ }
1262
+ ],
1263
+ "description": "Sets focus on the button.",
1264
+ "type": {},
1265
+ "inheritedFrom": {
1266
+ "name": "ButtonElement",
1267
+ "module": "src/base/button-element.ts"
1268
+ }
1255
1269
  },
1256
1270
  {
1257
1271
  "kind": "method",
1258
- "name": "emit",
1272
+ "name": "click",
1273
+ "privacy": "public",
1274
+ "description": "Simulates a click on the button.",
1275
+ "type": {},
1276
+ "inheritedFrom": {
1277
+ "name": "ButtonElement",
1278
+ "module": "src/base/button-element.ts"
1279
+ }
1280
+ },
1281
+ {
1282
+ "kind": "method",
1283
+ "name": "blur",
1284
+ "privacy": "public",
1285
+ "description": "Removes focus from the button.",
1286
+ "type": {},
1287
+ "inheritedFrom": {
1288
+ "name": "ButtonElement",
1289
+ "module": "src/base/button-element.ts"
1290
+ }
1291
+ },
1292
+ {
1293
+ "kind": "method",
1294
+ "name": "_handleBlur",
1295
+ "privacy": "protected",
1296
+ "type": {},
1297
+ "inheritedFrom": {
1298
+ "name": "ButtonElement",
1299
+ "module": "src/base/button-element.ts"
1300
+ }
1301
+ },
1302
+ {
1303
+ "kind": "method",
1304
+ "name": "_handleFocus",
1305
+ "privacy": "protected",
1306
+ "type": {},
1307
+ "inheritedFrom": {
1308
+ "name": "ButtonElement",
1309
+ "module": "src/base/button-element.ts"
1310
+ }
1311
+ },
1312
+ {
1313
+ "kind": "method",
1314
+ "name": "_handleKeydown",
1315
+ "privacy": "protected",
1259
1316
  "parameters": [
1260
1317
  {
1261
- "name": "name",
1318
+ "name": "event",
1262
1319
  "type": {
1263
- "text": "string"
1320
+ "text": "KeyboardEvent"
1264
1321
  }
1265
- },
1322
+ }
1323
+ ],
1324
+ "type": {},
1325
+ "inheritedFrom": {
1326
+ "name": "ButtonElement",
1327
+ "module": "src/base/button-element.ts"
1328
+ }
1329
+ },
1330
+ {
1331
+ "kind": "method",
1332
+ "name": "_assignSpinnerSize",
1333
+ "privacy": "protected",
1334
+ "parameters": [
1266
1335
  {
1267
- "name": "options",
1268
- "optional": true,
1336
+ "name": "buttonSize",
1269
1337
  "type": {
1270
- "text": "CustomEventInit<T>"
1338
+ "text": "\"xs\" | \"sm\" | \"md\" | \"lg\""
1271
1339
  }
1272
1340
  }
1273
1341
  ],
1274
- "description": "Emits a custom event with more convenient defaults.",
1275
1342
  "type": {},
1276
1343
  "inheritedFrom": {
1277
- "name": "SgdsElement",
1278
- "module": "src/base/sgds-element.ts"
1344
+ "name": "ButtonElement",
1345
+ "module": "src/base/button-element.ts"
1279
1346
  }
1280
1347
  },
1281
1348
  {
1282
1349
  "kind": "method",
1283
- "name": "define",
1284
- "static": true,
1350
+ "name": "_assignSpinnerTone",
1351
+ "privacy": "protected",
1352
+ "return": {
1353
+ "type": {
1354
+ "text": "SpinnerTone"
1355
+ }
1356
+ },
1285
1357
  "parameters": [
1286
1358
  {
1287
- "name": "name",
1359
+ "name": "buttonTone",
1288
1360
  "type": {
1289
- "text": "string"
1361
+ "text": "ButtonTone"
1290
1362
  }
1291
1363
  },
1292
1364
  {
1293
- "name": "elementConstructor",
1294
- "default": "this"
1295
- },
1296
- {
1297
- "name": "options",
1298
- "default": "{}",
1365
+ "name": "buttonVariant",
1299
1366
  "type": {
1300
- "text": "ElementDefinitionOptions"
1367
+ "text": "ButtonVariant"
1301
1368
  }
1302
1369
  }
1303
1370
  ],
1304
1371
  "type": {},
1305
1372
  "inheritedFrom": {
1306
- "name": "SgdsElement",
1307
- "module": "src/base/sgds-element.ts"
1373
+ "name": "ButtonElement",
1374
+ "module": "src/base/button-element.ts"
1308
1375
  }
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
- },
1376
+ },
1418
1377
  {
1419
1378
  "kind": "method",
1420
1379
  "name": "emit",
@@ -1470,502 +1429,404 @@
1470
1429
  }
1471
1430
  }
1472
1431
  ],
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
- },
1517
- {
1518
- "kind": "javascript-module",
1519
- "path": "src/components/Button/sgds-button.ts",
1520
- "declarations": [
1521
- {
1522
- "kind": "class",
1523
- "description": "",
1524
- "name": "SgdsButton",
1525
- "slots": [
1526
- {
1527
- "description": "The button's label.",
1528
- "name": "default"
1529
- },
1432
+ "events": [
1530
1433
  {
1531
- "description": "The slot for icon to the left of the button text",
1532
- "name": "leftIcon"
1434
+ "description": "Emitted when the button is blurred.",
1435
+ "name": "sgds-blur",
1436
+ "reactName": "onSgdsBlur"
1533
1437
  },
1534
1438
  {
1535
- "description": "The slot for icon to the right of the button text",
1536
- "name": "rightIcon"
1439
+ "description": "Emitted when the button is focused.",
1440
+ "name": "sgds-focus",
1441
+ "reactName": "onSgdsFocus"
1537
1442
  }
1538
1443
  ],
1539
- "members": [
1444
+ "attributes": [
1540
1445
  {
1541
- "kind": "field",
1542
1446
  "name": "name",
1543
1447
  "type": {
1544
1448
  "text": "string"
1545
1449
  },
1546
1450
  "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).",
1547
- "attribute": "name",
1548
- "reflects": true
1451
+ "fieldName": "name"
1549
1452
  },
1550
1453
  {
1551
- "kind": "field",
1552
1454
  "name": "value",
1553
1455
  "type": {
1554
1456
  "text": "string"
1555
1457
  },
1556
1458
  "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).",
1557
- "attribute": "value",
1558
- "reflects": true
1459
+ "fieldName": "value"
1559
1460
  },
1560
1461
  {
1561
- "kind": "field",
1562
1462
  "name": "type",
1563
1463
  "type": {
1564
1464
  "text": "\"button\" | \"submit\" | \"reset\""
1565
1465
  },
1566
1466
  "default": "\"button\"",
1567
1467
  "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",
1568
- "attribute": "type",
1569
- "reflects": true
1468
+ "fieldName": "type"
1570
1469
  },
1571
1470
  {
1572
- "kind": "field",
1573
1471
  "name": "form",
1574
1472
  "type": {
1575
1473
  "text": "string"
1576
1474
  },
1577
1475
  "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.",
1578
- "attribute": "form",
1579
- "reflects": true
1476
+ "fieldName": "form"
1580
1477
  },
1581
1478
  {
1582
- "kind": "field",
1583
- "name": "formAction",
1479
+ "name": "formaction",
1584
1480
  "type": {
1585
1481
  "text": "string"
1586
1482
  },
1587
1483
  "description": "Used to override the form owner's `action` attribute.",
1588
- "attribute": "formaction",
1589
- "reflects": true
1484
+ "fieldName": "formAction"
1590
1485
  },
1591
1486
  {
1592
- "kind": "field",
1593
- "name": "formMethod",
1487
+ "name": "formmethod",
1594
1488
  "type": {
1595
1489
  "text": "\"post\" | \"get\""
1596
1490
  },
1597
1491
  "description": "Used to override the form owner's `method` attribute.",
1598
- "attribute": "formmethod",
1599
- "reflects": true
1492
+ "fieldName": "formMethod"
1600
1493
  },
1601
1494
  {
1602
- "kind": "field",
1603
- "name": "formNoValidate",
1495
+ "name": "formnovalidate",
1604
1496
  "type": {
1605
1497
  "text": "boolean"
1606
1498
  },
1607
1499
  "description": "Used to override the form owner's `novalidate` attribute.",
1608
- "attribute": "formnovalidate",
1609
- "reflects": true
1500
+ "fieldName": "formNoValidate"
1610
1501
  },
1611
1502
  {
1612
- "kind": "field",
1613
- "name": "formTarget",
1503
+ "name": "formtarget",
1614
1504
  "type": {
1615
1505
  "text": "| \"_self\"\n | \"_blank\"\n | \"_parent\"\n | \"_top\"\n | string"
1616
1506
  },
1617
1507
  "description": "Used to override the form owner's `target` attribute.",
1618
- "attribute": "formtarget",
1619
- "reflects": true
1508
+ "fieldName": "formTarget"
1620
1509
  },
1621
1510
  {
1622
- "kind": "field",
1623
1511
  "name": "fullWidth",
1624
1512
  "type": {
1625
1513
  "text": "boolean"
1626
1514
  },
1627
1515
  "default": "false",
1628
1516
  "description": "When set, the button will be in full width.",
1629
- "attribute": "fullWidth",
1630
- "reflects": true
1517
+ "fieldName": "fullWidth"
1631
1518
  },
1632
1519
  {
1633
- "kind": "field",
1634
1520
  "name": "hasLeftIconSlot",
1635
1521
  "type": {
1636
1522
  "text": "boolean"
1637
1523
  },
1638
1524
  "default": "false",
1639
1525
  "description": "Used only for SSR to indicate the presence of the `leftIcon` slot.",
1640
- "attribute": "hasLeftIconSlot"
1526
+ "fieldName": "hasLeftIconSlot"
1641
1527
  },
1642
1528
  {
1643
- "kind": "field",
1644
1529
  "name": "hasRightIconSlot",
1645
1530
  "type": {
1646
1531
  "text": "boolean"
1647
1532
  },
1648
1533
  "default": "false",
1649
1534
  "description": "Used only for SSR to indicate the presence of the `rightIcon` slot.",
1650
- "attribute": "hasRightIconSlot"
1651
- },
1652
- {
1653
- "kind": "field",
1654
- "name": "hasSlotController",
1655
- "privacy": "private",
1656
- "default": "new HasSlotController(this, \"leftIcon\", \"rightIcon\")",
1657
- "type": {}
1535
+ "fieldName": "hasRightIconSlot"
1658
1536
  },
1659
1537
  {
1660
- "kind": "method",
1661
- "name": "_handleClick",
1662
- "privacy": "protected",
1663
- "parameters": [
1664
- {
1665
- "name": "event",
1666
- "type": {
1667
- "text": "MouseEvent"
1668
- }
1669
- }
1670
- ],
1671
- "type": {},
1538
+ "name": "variant",
1539
+ "type": {
1540
+ "text": "ButtonVariant"
1541
+ },
1542
+ "default": "\"primary\"",
1543
+ "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.",
1544
+ "fieldName": "variant",
1672
1545
  "inheritedFrom": {
1673
1546
  "name": "ButtonElement",
1674
1547
  "module": "src/base/button-element.ts"
1675
1548
  }
1676
1549
  },
1677
1550
  {
1678
- "kind": "field",
1679
- "name": "_clickHandler",
1680
- "privacy": "private",
1681
- "type": {}
1682
- },
1683
- {
1684
- "kind": "field",
1685
- "name": "variant",
1686
- "type": {
1687
- "text": "\"primary\" | \"outline\" | \"ghost\" | \"danger\""
1688
- },
1689
- "default": "\"primary\"",
1690
- "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.",
1691
- "attribute": "variant",
1692
- "reflects": true,
1693
- "inheritedFrom": {
1694
- "name": "ButtonElement",
1695
- "module": "src/base/button-element.ts"
1696
- }
1697
- },
1698
- {
1699
- "kind": "field",
1700
1551
  "name": "tone",
1701
1552
  "type": {
1702
- "text": "\"brand\" | \"danger\" | \"fixed-light\" | \"neutral\""
1553
+ "text": "ButtonTone"
1703
1554
  },
1704
1555
  "default": "\"brand\"",
1705
1556
  "description": "Sets the visual colour of the button: `brand`, `danger`, `fixed-light`, `neutral`",
1706
- "attribute": "tone",
1707
- "reflects": true,
1557
+ "fieldName": "tone",
1708
1558
  "inheritedFrom": {
1709
1559
  "name": "ButtonElement",
1710
1560
  "module": "src/base/button-element.ts"
1711
1561
  }
1712
1562
  },
1713
1563
  {
1714
- "kind": "field",
1715
1564
  "name": "size",
1716
1565
  "type": {
1717
1566
  "text": "\"xs\" | \"sm\" | \"md\" | \"lg\""
1718
1567
  },
1719
1568
  "default": "\"md\"",
1720
1569
  "description": "Specifies a small, medium or large button, the size is medium by default.",
1721
- "attribute": "size",
1722
- "reflects": true,
1570
+ "fieldName": "size",
1723
1571
  "inheritedFrom": {
1724
1572
  "name": "ButtonElement",
1725
1573
  "module": "src/base/button-element.ts"
1726
1574
  }
1727
1575
  },
1728
1576
  {
1729
- "kind": "field",
1730
1577
  "name": "active",
1731
1578
  "type": {
1732
1579
  "text": "boolean"
1733
1580
  },
1734
1581
  "default": "false",
1735
1582
  "description": "Manually set the visual state of the button to `:active`",
1736
- "attribute": "active",
1737
- "reflects": true,
1583
+ "fieldName": "active",
1738
1584
  "inheritedFrom": {
1739
1585
  "name": "ButtonElement",
1740
1586
  "module": "src/base/button-element.ts"
1741
1587
  }
1742
1588
  },
1743
1589
  {
1744
- "kind": "field",
1745
1590
  "name": "disabled",
1746
1591
  "type": {
1747
1592
  "text": "boolean"
1748
1593
  },
1749
1594
  "default": "false",
1750
1595
  "description": "The disabled state of the button",
1751
- "attribute": "disabled",
1752
- "reflects": true,
1596
+ "fieldName": "disabled",
1753
1597
  "inheritedFrom": {
1754
1598
  "name": "ButtonElement",
1755
1599
  "module": "src/base/button-element.ts"
1756
1600
  }
1757
1601
  },
1758
1602
  {
1759
- "kind": "field",
1760
1603
  "name": "href",
1761
1604
  "type": {
1762
1605
  "text": "string"
1763
1606
  },
1764
1607
  "description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
1765
- "attribute": "href",
1766
- "reflects": true,
1608
+ "fieldName": "href",
1767
1609
  "inheritedFrom": {
1768
1610
  "name": "ButtonElement",
1769
1611
  "module": "src/base/button-element.ts"
1770
1612
  }
1771
1613
  },
1772
1614
  {
1773
- "kind": "field",
1774
1615
  "name": "target",
1775
1616
  "type": {
1776
1617
  "text": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\""
1777
1618
  },
1778
1619
  "default": "\"_self\"",
1779
1620
  "description": "Where to display the linked URL, as the name for a browsing context. Forwards to the HTMLAnchor target attribute",
1780
- "attribute": "target",
1781
- "reflects": true,
1621
+ "fieldName": "target",
1782
1622
  "inheritedFrom": {
1783
1623
  "name": "ButtonElement",
1784
1624
  "module": "src/base/button-element.ts"
1785
1625
  }
1786
1626
  },
1787
1627
  {
1788
- "kind": "field",
1789
1628
  "name": "download",
1790
1629
  "type": {
1791
1630
  "text": "string"
1792
1631
  },
1793
1632
  "description": "Tells the browser to download the linked file as this filename. Only used when `href` is set.",
1794
- "attribute": "download",
1795
- "reflects": true,
1633
+ "fieldName": "download",
1796
1634
  "inheritedFrom": {
1797
1635
  "name": "ButtonElement",
1798
1636
  "module": "src/base/button-element.ts"
1799
1637
  }
1800
1638
  },
1801
1639
  {
1802
- "kind": "field",
1803
1640
  "name": "ariaLabel",
1804
1641
  "type": {
1805
1642
  "text": "string"
1806
1643
  },
1807
1644
  "description": "The aria-label attribute to passed to button element when necessary",
1808
- "attribute": "ariaLabel",
1645
+ "fieldName": "ariaLabel",
1809
1646
  "inheritedFrom": {
1810
1647
  "name": "ButtonElement",
1811
1648
  "module": "src/base/button-element.ts"
1812
1649
  }
1813
1650
  },
1814
1651
  {
1815
- "kind": "field",
1816
1652
  "name": "loading",
1817
1653
  "type": {
1818
1654
  "text": "boolean"
1819
1655
  },
1820
1656
  "description": "When true, shows a loading spinner",
1821
- "attribute": "loading",
1657
+ "fieldName": "loading",
1822
1658
  "inheritedFrom": {
1823
1659
  "name": "ButtonElement",
1824
1660
  "module": "src/base/button-element.ts"
1825
1661
  }
1662
+ }
1663
+ ],
1664
+ "superclass": {
1665
+ "name": "ButtonElement",
1666
+ "module": "/src/base/button-element"
1667
+ },
1668
+ "summary": "Custom button styles for actions in forms, dialogs, and more with support for multiple sizes, states, and more.",
1669
+ "tagName": "sgds-button",
1670
+ "customElement": true,
1671
+ "modulePath": "src/components/Button/sgds-button.ts",
1672
+ "cssProperties": [],
1673
+ "cssParts": [],
1674
+ "cssStates": []
1675
+ }
1676
+ ],
1677
+ "exports": [
1678
+ {
1679
+ "kind": "js",
1680
+ "name": "SgdsButton",
1681
+ "declaration": {
1682
+ "name": "SgdsButton",
1683
+ "module": "src/components/Button/sgds-button.ts"
1684
+ }
1685
+ },
1686
+ {
1687
+ "kind": "js",
1688
+ "name": "default",
1689
+ "declaration": {
1690
+ "name": "SgdsButton",
1691
+ "module": "src/components/Button/sgds-button.ts"
1692
+ }
1693
+ }
1694
+ ]
1695
+ },
1696
+ {
1697
+ "kind": "javascript-module",
1698
+ "path": "src/components/Badge/sgds-badge.ts",
1699
+ "declarations": [
1700
+ {
1701
+ "kind": "class",
1702
+ "description": "",
1703
+ "name": "SgdsBadge",
1704
+ "slots": [
1705
+ {
1706
+ "description": "slot for badge",
1707
+ "name": "default"
1826
1708
  },
1827
1709
  {
1828
- "kind": "method",
1829
- "name": "focus",
1830
- "privacy": "public",
1831
- "parameters": [
1832
- {
1833
- "name": "options",
1834
- "optional": true,
1835
- "type": {
1836
- "text": "FocusOptions"
1837
- }
1838
- }
1839
- ],
1840
- "description": "Sets focus on the button.",
1841
- "type": {},
1842
- "inheritedFrom": {
1843
- "name": "ButtonElement",
1844
- "module": "src/base/button-element.ts"
1845
- }
1710
+ "description": "The slot for icon to the left of the badge text",
1711
+ "name": "icon"
1712
+ }
1713
+ ],
1714
+ "members": [
1715
+ {
1716
+ "kind": "field",
1717
+ "name": "show",
1718
+ "type": {
1719
+ "text": "boolean"
1720
+ },
1721
+ "default": "false",
1722
+ "description": "Controls the appearance of the dismissible badge. This prop only applies when dismissible is true",
1723
+ "attribute": "show",
1724
+ "reflects": true
1846
1725
  },
1847
1726
  {
1848
- "kind": "method",
1849
- "name": "click",
1850
- "privacy": "public",
1851
- "description": "Simulates a click on the button.",
1852
- "type": {},
1853
- "inheritedFrom": {
1854
- "name": "ButtonElement",
1855
- "module": "src/base/button-element.ts"
1856
- }
1727
+ "kind": "field",
1728
+ "name": "variant",
1729
+ "type": {
1730
+ "text": "\"primary\" | \"accent\" | \"success\" | \"danger\" | \"warning\" | \"cyan\" | \"purple\" | \"neutral\" | \"white\" | \"info\""
1731
+ },
1732
+ "default": "\"primary\"",
1733
+ "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.",
1734
+ "attribute": "variant",
1735
+ "reflects": true
1857
1736
  },
1858
1737
  {
1859
- "kind": "method",
1860
- "name": "blur",
1861
- "privacy": "public",
1862
- "description": "Removes focus from the button.",
1863
- "type": {},
1864
- "inheritedFrom": {
1865
- "name": "ButtonElement",
1866
- "module": "src/base/button-element.ts"
1867
- }
1738
+ "kind": "field",
1739
+ "name": "outlined",
1740
+ "type": {
1741
+ "text": "boolean"
1742
+ },
1743
+ "default": "false",
1744
+ "description": "Manually set the outlined state to false",
1745
+ "attribute": "outlined",
1746
+ "reflects": true
1868
1747
  },
1869
1748
  {
1870
- "kind": "method",
1871
- "name": "_handleBlur",
1872
- "privacy": "protected",
1873
- "type": {},
1874
- "inheritedFrom": {
1875
- "name": "ButtonElement",
1876
- "module": "src/base/button-element.ts"
1877
- }
1749
+ "kind": "field",
1750
+ "name": "dismissible",
1751
+ "type": {
1752
+ "text": "boolean"
1753
+ },
1754
+ "default": "false",
1755
+ "description": "Manually set the dismissible state of the button to `false`",
1756
+ "attribute": "dismissible",
1757
+ "reflects": true
1758
+ },
1759
+ {
1760
+ "kind": "field",
1761
+ "name": "fullWidth",
1762
+ "type": {
1763
+ "text": "boolean"
1764
+ },
1765
+ "default": "false",
1766
+ "description": "Manually enable full width",
1767
+ "attribute": "fullWidth",
1768
+ "reflects": true
1769
+ },
1770
+ {
1771
+ "kind": "field",
1772
+ "name": "truncated",
1773
+ "type": {
1774
+ "text": "boolean"
1775
+ },
1776
+ "privacy": "private",
1777
+ "default": "false"
1778
+ },
1779
+ {
1780
+ "kind": "field",
1781
+ "name": "text",
1782
+ "type": {
1783
+ "text": "string"
1784
+ },
1785
+ "privacy": "private",
1786
+ "default": "\"\""
1878
1787
  },
1879
1788
  {
1880
1789
  "kind": "method",
1881
- "name": "_handleFocus",
1882
- "privacy": "protected",
1883
- "type": {},
1884
- "inheritedFrom": {
1885
- "name": "ButtonElement",
1886
- "module": "src/base/button-element.ts"
1887
- }
1790
+ "name": "close",
1791
+ "privacy": "public",
1792
+ "description": "Closes the badge",
1793
+ "type": {}
1888
1794
  },
1889
1795
  {
1890
1796
  "kind": "method",
1891
- "name": "_handleKeydown",
1892
- "privacy": "protected",
1797
+ "name": "_handleLabelSlotChange",
1798
+ "privacy": "private",
1893
1799
  "parameters": [
1894
1800
  {
1895
- "name": "event",
1801
+ "name": "e",
1896
1802
  "type": {
1897
- "text": "KeyboardEvent"
1803
+ "text": "Event"
1898
1804
  }
1899
1805
  }
1900
1806
  ],
1901
- "type": {},
1902
- "inheritedFrom": {
1903
- "name": "ButtonElement",
1904
- "module": "src/base/button-element.ts"
1905
- }
1807
+ "type": {}
1906
1808
  },
1907
1809
  {
1908
1810
  "kind": "method",
1909
- "name": "_assignSpinnerSize",
1910
- "privacy": "protected",
1811
+ "name": "_renderBadge",
1812
+ "privacy": "private",
1813
+ "type": {}
1814
+ },
1815
+ {
1816
+ "kind": "method",
1817
+ "name": "emit",
1911
1818
  "parameters": [
1912
1819
  {
1913
- "name": "buttonSize",
1820
+ "name": "name",
1914
1821
  "type": {
1915
- "text": "\"xs\" | \"sm\" | \"md\" | \"lg\""
1916
- }
1917
- }
1918
- ],
1919
- "type": {},
1920
- "inheritedFrom": {
1921
- "name": "ButtonElement",
1922
- "module": "src/base/button-element.ts"
1923
- }
1924
- },
1925
- {
1926
- "kind": "method",
1927
- "name": "_assignSpinnerTone",
1928
- "privacy": "protected",
1929
- "return": {
1930
- "type": {
1931
- "text": "SpinnerTone"
1932
- }
1933
- },
1934
- "parameters": [
1935
- {
1936
- "name": "buttonTone",
1937
- "type": {
1938
- "text": "ButtonTone"
1939
- }
1940
- },
1941
- {
1942
- "name": "buttonVariant",
1943
- "type": {
1944
- "text": "ButtonVariant"
1945
- }
1946
- }
1947
- ],
1948
- "type": {},
1949
- "inheritedFrom": {
1950
- "name": "ButtonElement",
1951
- "module": "src/base/button-element.ts"
1952
- }
1953
- },
1954
- {
1955
- "kind": "method",
1956
- "name": "emit",
1957
- "parameters": [
1958
- {
1959
- "name": "name",
1960
- "type": {
1961
- "text": "string"
1962
- }
1963
- },
1964
- {
1965
- "name": "options",
1966
- "optional": true,
1967
- "type": {
1968
- "text": "CustomEventInit<T>"
1822
+ "text": "string"
1823
+ }
1824
+ },
1825
+ {
1826
+ "name": "options",
1827
+ "optional": true,
1828
+ "type": {
1829
+ "text": "CustomEventInit<T>"
1969
1830
  }
1970
1831
  }
1971
1832
  ],
@@ -2008,540 +1869,784 @@
2008
1869
  ],
2009
1870
  "events": [
2010
1871
  {
2011
- "description": "Emitted when the button is blurred.",
2012
- "name": "sgds-blur",
2013
- "reactName": "onSgdsBlur"
1872
+ "description": "Emitted when the badge appears.",
1873
+ "name": "sgds-show",
1874
+ "reactName": "onSgdsShow"
2014
1875
  },
2015
1876
  {
2016
- "description": "Emitted when the button is focused.",
2017
- "name": "sgds-focus",
2018
- "reactName": "onSgdsFocus"
1877
+ "description": "Emitted when the badge is starting to close but has not closed.",
1878
+ "name": "sgds-hide",
1879
+ "reactName": "onSgdsHide"
1880
+ },
1881
+ {
1882
+ "description": "Emitted after the badge has appeared",
1883
+ "name": "sgds-after-show",
1884
+ "reactName": "onSgdsAfterShow"
1885
+ },
1886
+ {
1887
+ "description": "Emitted after the badge has closed",
1888
+ "name": "sgds-after-hide",
1889
+ "reactName": "onSgdsAfterHide"
2019
1890
  }
2020
1891
  ],
2021
1892
  "attributes": [
2022
1893
  {
2023
- "name": "name",
1894
+ "name": "show",
2024
1895
  "type": {
2025
- "text": "string"
1896
+ "text": "boolean"
2026
1897
  },
2027
- "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).",
2028
- "fieldName": "name"
1898
+ "default": "false",
1899
+ "description": "Controls the appearance of the dismissible badge. This prop only applies when dismissible is true",
1900
+ "fieldName": "show"
2029
1901
  },
2030
1902
  {
2031
- "name": "value",
1903
+ "name": "variant",
2032
1904
  "type": {
2033
- "text": "string"
1905
+ "text": "BadgeVariant"
2034
1906
  },
2035
- "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).",
2036
- "fieldName": "value"
1907
+ "default": "\"primary\"",
1908
+ "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.",
1909
+ "fieldName": "variant"
2037
1910
  },
2038
1911
  {
2039
- "name": "type",
1912
+ "name": "outlined",
2040
1913
  "type": {
2041
- "text": "\"button\" | \"submit\" | \"reset\""
1914
+ "text": "boolean"
2042
1915
  },
2043
- "default": "\"button\"",
2044
- "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",
2045
- "fieldName": "type"
1916
+ "default": "false",
1917
+ "description": "Manually set the outlined state to false",
1918
+ "fieldName": "outlined"
2046
1919
  },
2047
1920
  {
2048
- "name": "form",
1921
+ "name": "dismissible",
2049
1922
  "type": {
2050
- "text": "string"
1923
+ "text": "boolean"
2051
1924
  },
2052
- "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.",
2053
- "fieldName": "form"
1925
+ "default": "false",
1926
+ "description": "Manually set the dismissible state of the button to `false`",
1927
+ "fieldName": "dismissible"
2054
1928
  },
2055
1929
  {
2056
- "name": "formaction",
1930
+ "name": "fullWidth",
2057
1931
  "type": {
2058
- "text": "string"
1932
+ "text": "boolean"
2059
1933
  },
2060
- "description": "Used to override the form owner's `action` attribute.",
2061
- "fieldName": "formAction"
1934
+ "default": "false",
1935
+ "description": "Manually enable full width",
1936
+ "fieldName": "fullWidth"
1937
+ }
1938
+ ],
1939
+ "superclass": {
1940
+ "name": "SgdsElement",
1941
+ "module": "/src/base/sgds-element"
1942
+ },
1943
+ "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.",
1944
+ "tagName": "sgds-badge",
1945
+ "customElement": true,
1946
+ "modulePath": "src/components/Badge/sgds-badge.ts",
1947
+ "cssProperties": [],
1948
+ "cssParts": [],
1949
+ "cssStates": []
1950
+ }
1951
+ ],
1952
+ "exports": [
1953
+ {
1954
+ "kind": "js",
1955
+ "name": "SgdsBadge",
1956
+ "declaration": {
1957
+ "name": "SgdsBadge",
1958
+ "module": "src/components/Badge/sgds-badge.ts"
1959
+ }
1960
+ },
1961
+ {
1962
+ "kind": "js",
1963
+ "name": "default",
1964
+ "declaration": {
1965
+ "name": "SgdsBadge",
1966
+ "module": "src/components/Badge/sgds-badge.ts"
1967
+ }
1968
+ }
1969
+ ]
1970
+ },
1971
+ {
1972
+ "kind": "javascript-module",
1973
+ "path": "src/components/Card/sgds-card.ts",
1974
+ "declarations": [
1975
+ {
1976
+ "kind": "class",
1977
+ "description": "",
1978
+ "name": "SgdsCard",
1979
+ "slots": [
1980
+ {
1981
+ "description": "The content area of the card, placed directly under the title. Accepts any HTML or custom elements.",
1982
+ "name": "default"
2062
1983
  },
2063
1984
  {
2064
- "name": "formmethod",
2065
- "type": {
2066
- "text": "\"post\" | \"get\""
2067
- },
2068
- "description": "Used to override the form owner's `method` attribute.",
2069
- "fieldName": "formMethod"
1985
+ "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.",
1986
+ "name": "menu"
2070
1987
  },
2071
1988
  {
2072
- "name": "formnovalidate",
1989
+ "description": "Accepts an element to be displayed above the card content. When used, it overrides image and icon slot content.",
1990
+ "name": "upper"
1991
+ },
1992
+ {
1993
+ "description": "Accepts an image or svg element of the card. Only a single element is allowed to be passed in.",
1994
+ "name": "image"
1995
+ },
1996
+ {
1997
+ "description": "Accepts an icon element to visually represent the card. Only a single element is allowed to be passed in.",
1998
+ "name": "icon"
1999
+ },
2000
+ {
2001
+ "description": "The subtitle of the card",
2002
+ "name": "subtitle"
2003
+ },
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",
2073
2029
  "type": {
2074
- "text": "boolean"
2030
+ "text": "HTMLElement[]"
2075
2031
  },
2076
- "description": "Used to override the form owner's `novalidate` attribute.",
2077
- "fieldName": "formNoValidate"
2032
+ "privacy": "private"
2078
2033
  },
2079
2034
  {
2080
- "name": "formtarget",
2035
+ "kind": "field",
2036
+ "name": "linkNode",
2081
2037
  "type": {
2082
- "text": "| \"_self\"\n | \"_blank\"\n | \"_parent\"\n | \"_top\"\n | string"
2038
+ "text": "HTMLAnchorElement[] | SgdsLink[]"
2083
2039
  },
2084
- "description": "Used to override the form owner's `target` attribute.",
2085
- "fieldName": "formTarget"
2040
+ "privacy": "private"
2086
2041
  },
2087
2042
  {
2088
- "name": "fullWidth",
2043
+ "kind": "field",
2044
+ "name": "imagePosition",
2089
2045
  "type": {
2090
- "text": "boolean"
2046
+ "text": "CardImagePosition"
2091
2047
  },
2092
- "default": "false",
2093
- "description": "When set, the button will be in full width.",
2094
- "fieldName": "fullWidth"
2048
+ "default": "\"before\"",
2049
+ "description": "Sets the image position of the card. Available options: `before`, `after`",
2050
+ "attribute": "imagePosition",
2051
+ "reflects": true
2095
2052
  },
2096
2053
  {
2097
- "name": "hasLeftIconSlot",
2054
+ "kind": "field",
2055
+ "name": "imageAdjustment",
2098
2056
  "type": {
2099
- "text": "boolean"
2057
+ "text": "CardImageAdjustment"
2100
2058
  },
2101
- "default": "false",
2102
- "description": "Used only for SSR to indicate the presence of the `leftIcon` slot.",
2103
- "fieldName": "hasLeftIconSlot"
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
2104
2063
  },
2105
2064
  {
2106
- "name": "hasRightIconSlot",
2065
+ "kind": "field",
2066
+ "name": "hasImageSlot",
2107
2067
  "type": {
2108
2068
  "text": "boolean"
2109
2069
  },
2110
2070
  "default": "false",
2111
- "description": "Used only for SSR to indicate the presence of the `rightIcon` slot.",
2112
- "fieldName": "hasRightIconSlot"
2071
+ "description": "Used only for SSR to indicate the presence of the `image` slot.",
2072
+ "attribute": "hasImageSlot"
2113
2073
  },
2114
2074
  {
2115
- "name": "variant",
2075
+ "kind": "field",
2076
+ "name": "hasIconSlot",
2116
2077
  "type": {
2117
- "text": "ButtonVariant"
2078
+ "text": "boolean"
2118
2079
  },
2119
- "default": "\"primary\"",
2120
- "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.",
2121
- "fieldName": "variant",
2122
- "inheritedFrom": {
2123
- "name": "ButtonElement",
2124
- "module": "src/base/button-element.ts"
2125
- }
2080
+ "default": "false",
2081
+ "description": "Used only for SSR to indicate the presence of the `icon` slot.",
2082
+ "attribute": "hasIconSlot"
2126
2083
  },
2127
2084
  {
2128
- "name": "tone",
2085
+ "kind": "field",
2086
+ "name": "hasUpperSlot",
2129
2087
  "type": {
2130
- "text": "ButtonTone"
2088
+ "text": "boolean"
2131
2089
  },
2132
- "default": "\"brand\"",
2133
- "description": "Sets the visual colour of the button: `brand`, `danger`, `fixed-light`, `neutral`",
2134
- "fieldName": "tone",
2135
- "inheritedFrom": {
2136
- "name": "ButtonElement",
2137
- "module": "src/base/button-element.ts"
2138
- }
2090
+ "default": "false",
2091
+ "description": "Used only for SSR to indicate the presence of the `upper` slot.",
2092
+ "attribute": "hasUpperSlot"
2139
2093
  },
2140
2094
  {
2141
- "name": "size",
2095
+ "kind": "field",
2096
+ "name": "linkSlotItems",
2142
2097
  "type": {
2143
- "text": "\"xs\" | \"sm\" | \"md\" | \"lg\""
2098
+ "text": "HTMLAnchorElement | null"
2144
2099
  },
2145
- "default": "\"md\"",
2146
- "description": "Specifies a small, medium or large button, the size is medium by default.",
2147
- "fieldName": "size",
2148
- "inheritedFrom": {
2149
- "name": "ButtonElement",
2150
- "module": "src/base/button-element.ts"
2151
- }
2100
+ "privacy": "private"
2152
2101
  },
2153
2102
  {
2154
- "name": "active",
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",
2155
2133
  "type": {
2156
2134
  "text": "boolean"
2157
2135
  },
2158
2136
  "default": "false",
2159
- "description": "Manually set the visual state of the button to `:active`",
2160
- "fieldName": "active",
2137
+ "description": "Extends the link passed in either `footer` or `link`(deprecated) slot.",
2138
+ "attribute": "stretchedLink",
2139
+ "reflects": true,
2161
2140
  "inheritedFrom": {
2162
- "name": "ButtonElement",
2163
- "module": "src/base/button-element.ts"
2141
+ "name": "CardElement",
2142
+ "module": "src/base/card-element.ts"
2164
2143
  }
2165
2144
  },
2166
2145
  {
2146
+ "kind": "field",
2167
2147
  "name": "disabled",
2168
2148
  "type": {
2169
2149
  "text": "boolean"
2170
2150
  },
2171
2151
  "default": "false",
2172
- "description": "The disabled state of the button",
2173
- "fieldName": "disabled",
2152
+ "description": "Disables the card",
2153
+ "attribute": "disabled",
2154
+ "reflects": true,
2174
2155
  "inheritedFrom": {
2175
- "name": "ButtonElement",
2176
- "module": "src/base/button-element.ts"
2156
+ "name": "CardElement",
2157
+ "module": "src/base/card-element.ts"
2177
2158
  }
2178
2159
  },
2179
2160
  {
2180
- "name": "href",
2161
+ "kind": "field",
2162
+ "name": "hideBorder",
2181
2163
  "type": {
2182
- "text": "string"
2164
+ "text": "boolean"
2183
2165
  },
2184
- "description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
2185
- "fieldName": "href",
2166
+ "default": "false",
2167
+ "description": "When true, hides the default border of the card.",
2168
+ "attribute": "hideBorder",
2169
+ "reflects": true,
2186
2170
  "inheritedFrom": {
2187
- "name": "ButtonElement",
2188
- "module": "src/base/button-element.ts"
2171
+ "name": "CardElement",
2172
+ "module": "src/base/card-element.ts"
2189
2173
  }
2190
2174
  },
2191
2175
  {
2192
- "name": "target",
2176
+ "kind": "field",
2177
+ "name": "tinted",
2193
2178
  "type": {
2194
- "text": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\""
2179
+ "text": "boolean"
2195
2180
  },
2196
- "default": "\"_self\"",
2197
- "description": "Where to display the linked URL, as the name for a browsing context. Forwards to the HTMLAnchor target attribute",
2198
- "fieldName": "target",
2181
+ "default": "false",
2182
+ "description": "When true, applies a tinted background color to the card.",
2183
+ "attribute": "tinted",
2184
+ "reflects": true,
2199
2185
  "inheritedFrom": {
2200
- "name": "ButtonElement",
2201
- "module": "src/base/button-element.ts"
2186
+ "name": "CardElement",
2187
+ "module": "src/base/card-element.ts"
2202
2188
  }
2203
2189
  },
2204
2190
  {
2205
- "name": "download",
2191
+ "kind": "field",
2192
+ "name": "orientation",
2206
2193
  "type": {
2207
- "text": "string"
2194
+ "text": "CardOrientation"
2208
2195
  },
2209
- "description": "Tells the browser to download the linked file as this filename. Only used when `href` is set.",
2210
- "fieldName": "download",
2196
+ "default": "\"vertical\"",
2197
+ "description": "Sets the orientation of the card. Available options: `vertical`, `horizontal`",
2198
+ "attribute": "orientation",
2199
+ "reflects": true,
2211
2200
  "inheritedFrom": {
2212
- "name": "ButtonElement",
2213
- "module": "src/base/button-element.ts"
2201
+ "name": "CardElement",
2202
+ "module": "src/base/card-element.ts"
2214
2203
  }
2215
2204
  },
2216
2205
  {
2217
- "name": "ariaLabel",
2218
- "type": {
2219
- "text": "string"
2220
- },
2221
- "description": "The aria-label attribute to passed to button element when necessary",
2222
- "fieldName": "ariaLabel",
2206
+ "kind": "method",
2207
+ "name": "handleTitleSlotChange",
2208
+ "parameters": [
2209
+ {
2210
+ "name": "e",
2211
+ "type": {
2212
+ "text": "Event"
2213
+ }
2214
+ }
2215
+ ],
2216
+ "type": {},
2223
2217
  "inheritedFrom": {
2224
- "name": "ButtonElement",
2225
- "module": "src/base/button-element.ts"
2218
+ "name": "CardElement",
2219
+ "module": "src/base/card-element.ts"
2226
2220
  }
2227
2221
  },
2228
2222
  {
2229
- "name": "loading",
2230
- "type": {
2231
- "text": "boolean"
2232
- },
2233
- "description": "When true, shows a loading spinner",
2234
- "fieldName": "loading",
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
2235
  "inheritedFrom": {
2236
- "name": "ButtonElement",
2237
- "module": "src/base/button-element.ts"
2236
+ "name": "CardElement",
2237
+ "module": "src/base/card-element.ts"
2238
2238
  }
2239
- }
2240
- ],
2241
- "superclass": {
2242
- "name": "ButtonElement",
2243
- "module": "/src/base/button-element"
2244
- },
2245
- "summary": "Custom button styles for actions in forms, dialogs, and more with support for multiple sizes, states, and more.",
2246
- "tagName": "sgds-button",
2247
- "customElement": true,
2248
- "modulePath": "src/components/Button/sgds-button.ts",
2249
- "cssProperties": [],
2250
- "cssParts": [],
2251
- "cssStates": []
2252
- }
2253
- ],
2254
- "exports": [
2255
- {
2256
- "kind": "js",
2257
- "name": "SgdsButton",
2258
- "declaration": {
2259
- "name": "SgdsButton",
2260
- "module": "src/components/Button/sgds-button.ts"
2261
- }
2262
- },
2263
- {
2264
- "kind": "js",
2265
- "name": "default",
2266
- "declaration": {
2267
- "name": "SgdsButton",
2268
- "module": "src/components/Button/sgds-button.ts"
2269
- }
2270
- }
2271
- ]
2272
- },
2273
- {
2274
- "kind": "javascript-module",
2275
- "path": "src/components/Card/sgds-card.ts",
2276
- "declarations": [
2277
- {
2278
- "kind": "class",
2279
- "description": "",
2280
- "name": "SgdsCard",
2281
- "slots": [
2282
- {
2283
- "description": "The content area of the card, placed directly under the title. Accepts any HTML or custom elements.",
2284
- "name": "default"
2285
- },
2286
- {
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.",
2300
- "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
2239
  },
2318
2240
  {
2319
- "description": "Footer area of the card. Accepts links, actions, or any custom content.",
2320
- "name": "footer"
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
+ }
2321
2256
  },
2322
2257
  {
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
- }
2326
- ],
2327
- "members": [
2328
- {
2329
- "kind": "field",
2330
- "name": "footerNode",
2331
- "type": {
2332
- "text": "HTMLElement[]"
2333
- },
2334
- "privacy": "private"
2258
+ "kind": "method",
2259
+ "name": "emit",
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
+ }
2335
2281
  },
2336
2282
  {
2337
- "kind": "field",
2338
- "name": "linkNode",
2339
- "type": {
2340
- "text": "HTMLAnchorElement[] | SgdsLink[]"
2341
- },
2342
- "privacy": "private"
2343
- },
2283
+ "kind": "method",
2284
+ "name": "define",
2285
+ "static": true,
2286
+ "parameters": [
2287
+ {
2288
+ "name": "name",
2289
+ "type": {
2290
+ "text": "string"
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
+ }
2310
+ }
2311
+ ],
2312
+ "attributes": [
2344
2313
  {
2345
- "kind": "field",
2346
2314
  "name": "imagePosition",
2347
2315
  "type": {
2348
2316
  "text": "CardImagePosition"
2349
2317
  },
2350
2318
  "default": "\"before\"",
2351
2319
  "description": "Sets the image position of the card. Available options: `before`, `after`",
2352
- "attribute": "imagePosition",
2353
- "reflects": true
2320
+ "fieldName": "imagePosition"
2354
2321
  },
2355
2322
  {
2356
- "kind": "field",
2357
2323
  "name": "imageAdjustment",
2358
2324
  "type": {
2359
2325
  "text": "CardImageAdjustment"
2360
2326
  },
2361
2327
  "default": "\"default\"",
2362
2328
  "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
2329
+ "fieldName": "imageAdjustment"
2365
2330
  },
2366
2331
  {
2367
- "kind": "field",
2368
2332
  "name": "hasImageSlot",
2369
2333
  "type": {
2370
2334
  "text": "boolean"
2371
2335
  },
2372
2336
  "default": "false",
2373
2337
  "description": "Used only for SSR to indicate the presence of the `image` slot.",
2374
- "attribute": "hasImageSlot"
2338
+ "fieldName": "hasImageSlot"
2375
2339
  },
2376
2340
  {
2377
- "kind": "field",
2378
2341
  "name": "hasIconSlot",
2379
2342
  "type": {
2380
2343
  "text": "boolean"
2381
2344
  },
2382
2345
  "default": "false",
2383
2346
  "description": "Used only for SSR to indicate the presence of the `icon` slot.",
2384
- "attribute": "hasIconSlot"
2347
+ "fieldName": "hasIconSlot"
2385
2348
  },
2386
2349
  {
2387
- "kind": "field",
2388
2350
  "name": "hasUpperSlot",
2389
2351
  "type": {
2390
2352
  "text": "boolean"
2391
2353
  },
2392
2354
  "default": "false",
2393
2355
  "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": {}
2356
+ "fieldName": "hasUpperSlot"
2431
2357
  },
2432
2358
  {
2433
- "kind": "field",
2434
2359
  "name": "stretchedLink",
2435
2360
  "type": {
2436
2361
  "text": "boolean"
2437
2362
  },
2438
2363
  "default": "false",
2439
2364
  "description": "Extends the link passed in either `footer` or `link`(deprecated) slot.",
2440
- "attribute": "stretchedLink",
2441
- "reflects": true,
2365
+ "fieldName": "stretchedLink",
2442
2366
  "inheritedFrom": {
2443
2367
  "name": "CardElement",
2444
2368
  "module": "src/base/card-element.ts"
2445
2369
  }
2446
2370
  },
2447
2371
  {
2448
- "kind": "field",
2449
2372
  "name": "disabled",
2450
2373
  "type": {
2451
2374
  "text": "boolean"
2452
2375
  },
2453
2376
  "default": "false",
2454
2377
  "description": "Disables the card",
2455
- "attribute": "disabled",
2456
- "reflects": true,
2378
+ "fieldName": "disabled",
2457
2379
  "inheritedFrom": {
2458
2380
  "name": "CardElement",
2459
2381
  "module": "src/base/card-element.ts"
2460
2382
  }
2461
2383
  },
2462
2384
  {
2463
- "kind": "field",
2464
2385
  "name": "hideBorder",
2465
2386
  "type": {
2466
2387
  "text": "boolean"
2467
2388
  },
2468
2389
  "default": "false",
2469
2390
  "description": "When true, hides the default border of the card.",
2470
- "attribute": "hideBorder",
2471
- "reflects": true,
2391
+ "fieldName": "hideBorder",
2472
2392
  "inheritedFrom": {
2473
2393
  "name": "CardElement",
2474
2394
  "module": "src/base/card-element.ts"
2475
2395
  }
2476
2396
  },
2477
2397
  {
2478
- "kind": "field",
2479
2398
  "name": "tinted",
2480
2399
  "type": {
2481
2400
  "text": "boolean"
2482
2401
  },
2483
2402
  "default": "false",
2484
2403
  "description": "When true, applies a tinted background color to the card.",
2485
- "attribute": "tinted",
2486
- "reflects": true,
2404
+ "fieldName": "tinted",
2487
2405
  "inheritedFrom": {
2488
2406
  "name": "CardElement",
2489
2407
  "module": "src/base/card-element.ts"
2490
2408
  }
2491
2409
  },
2492
2410
  {
2493
- "kind": "field",
2494
2411
  "name": "orientation",
2495
2412
  "type": {
2496
2413
  "text": "CardOrientation"
2497
2414
  },
2498
2415
  "default": "\"vertical\"",
2499
2416
  "description": "Sets the orientation of the card. Available options: `vertical`, `horizontal`",
2500
- "attribute": "orientation",
2501
- "reflects": true,
2417
+ "fieldName": "orientation",
2502
2418
  "inheritedFrom": {
2503
2419
  "name": "CardElement",
2504
2420
  "module": "src/base/card-element.ts"
2505
2421
  }
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
+ }
2506
2522
  },
2507
2523
  {
2508
2524
  "kind": "method",
2509
- "name": "handleTitleSlotChange",
2525
+ "name": "define",
2526
+ "static": true,
2510
2527
  "parameters": [
2511
2528
  {
2512
- "name": "e",
2529
+ "name": "name",
2513
2530
  "type": {
2514
- "text": "Event"
2531
+ "text": "string"
2532
+ }
2533
+ },
2534
+ {
2535
+ "name": "elementConstructor",
2536
+ "default": "this"
2537
+ },
2538
+ {
2539
+ "name": "options",
2540
+ "default": "{}",
2541
+ "type": {
2542
+ "text": "ElementDefinitionOptions"
2515
2543
  }
2516
2544
  }
2517
2545
  ],
2518
2546
  "type": {},
2519
2547
  "inheritedFrom": {
2520
- "name": "CardElement",
2521
- "module": "src/base/card-element.ts"
2548
+ "name": "SgdsElement",
2549
+ "module": "src/base/sgds-element.ts"
2522
2550
  }
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"
2523
2630
  },
2524
2631
  {
2525
2632
  "kind": "method",
2526
- "name": "_forwardAnchorAttributes",
2527
- "privacy": "protected",
2633
+ "name": "_replaceExcessItemsWithDropdown",
2634
+ "privacy": "private",
2528
2635
  "parameters": [
2529
2636
  {
2530
- "name": "anchor",
2637
+ "name": "items",
2531
2638
  "type": {
2532
- "text": "HTMLAnchorElement | null"
2639
+ "text": "SgdsBreadcrumbItem[]"
2533
2640
  }
2534
2641
  }
2535
2642
  ],
2536
- "type": {},
2537
- "inheritedFrom": {
2538
- "name": "CardElement",
2539
- "module": "src/base/card-element.ts"
2540
- }
2643
+ "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>`",
2644
+ "type": {}
2541
2645
  },
2542
2646
  {
2543
2647
  "kind": "method",
2544
- "name": "warnLinkSlotMisused",
2648
+ "name": "_handleSlotChange",
2649
+ "privacy": "private",
2545
2650
  "parameters": [
2546
2651
  {
2547
2652
  "name": "e",
@@ -2550,11 +2655,7 @@
2550
2655
  }
2551
2656
  }
2552
2657
  ],
2553
- "type": {},
2554
- "inheritedFrom": {
2555
- "name": "CardElement",
2556
- "module": "src/base/card-element.ts"
2557
- }
2658
+ "type": {}
2558
2659
  },
2559
2660
  {
2560
2661
  "kind": "method",
@@ -2613,124 +2714,23 @@
2613
2714
  ],
2614
2715
  "attributes": [
2615
2716
  {
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"
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",
2717
+ "name": "ariaLabel",
2714
2718
  "type": {
2715
- "text": "CardOrientation"
2719
+ "text": "string"
2716
2720
  },
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
- }
2721
+ "default": "\"breadcrumb\"",
2722
+ "description": "The aria-label of nav element within breadcrumb component.",
2723
+ "fieldName": "ariaLabel"
2724
2724
  }
2725
2725
  ],
2726
2726
  "superclass": {
2727
- "name": "CardElement",
2728
- "module": "/src/base/card-element"
2727
+ "name": "SgdsElement",
2728
+ "module": "/src/base/sgds-element"
2729
2729
  },
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",
2730
+ "summary": "Breadcrumbs help users to navigate and understand where they are on the current website or service.",
2731
+ "tagName": "sgds-breadcrumb",
2732
2732
  "customElement": true,
2733
- "modulePath": "src/components/Card/sgds-card.ts",
2733
+ "modulePath": "src/components/Breadcrumb/sgds-breadcrumb.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": "SgdsCard",
2743
+ "name": "SgdsBreadcrumb",
2744
2744
  "declaration": {
2745
- "name": "SgdsCard",
2746
- "module": "src/components/Card/sgds-card.ts"
2745
+ "name": "SgdsBreadcrumb",
2746
+ "module": "src/components/Breadcrumb/sgds-breadcrumb.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": "SgdsBreadcrumb",
2754
+ "module": "src/components/Breadcrumb/sgds-breadcrumb.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": {
@@ -18523,6 +18599,15 @@
18523
18599
  "attribute": "disabled",
18524
18600
  "reflects": true
18525
18601
  },
18602
+ {
18603
+ "kind": "field",
18604
+ "name": "ariaLabel",
18605
+ "type": {
18606
+ "text": "string"
18607
+ },
18608
+ "description": "Accessible label for the sidenav item's menu button. Forwarded to the button's aria-label attribute.",
18609
+ "attribute": "ariaLabel"
18610
+ },
18526
18611
  {
18527
18612
  "kind": "field",
18528
18613
  "name": "isLink",
@@ -18730,6 +18815,14 @@
18730
18815
  "default": "false",
18731
18816
  "description": "Disables the SgdsSidenavItem",
18732
18817
  "fieldName": "disabled"
18818
+ },
18819
+ {
18820
+ "name": "ariaLabel",
18821
+ "type": {
18822
+ "text": "string"
18823
+ },
18824
+ "description": "Accessible label for the sidenav item's menu button. Forwarded to the button's aria-label attribute.",
18825
+ "fieldName": "ariaLabel"
18733
18826
  }
18734
18827
  ],
18735
18828
  "superclass": {
@@ -26749,6 +26842,17 @@
26749
26842
  "attribute": "invalid",
26750
26843
  "reflects": true
26751
26844
  },
26845
+ {
26846
+ "kind": "field",
26847
+ "name": "autocomplete",
26848
+ "type": {
26849
+ "text": "string"
26850
+ },
26851
+ "default": "\"on\"",
26852
+ "description": "Controlling of autocomplete behaviour",
26853
+ "attribute": "autocomplete",
26854
+ "reflects": true
26855
+ },
26752
26856
  {
26753
26857
  "kind": "method",
26754
26858
  "name": "setInvalid",
@@ -27389,6 +27493,15 @@
27389
27493
  "description": "Marks the component as invalid. Replace the pseudo :invalid selector.",
27390
27494
  "fieldName": "invalid"
27391
27495
  },
27496
+ {
27497
+ "name": "autocomplete",
27498
+ "type": {
27499
+ "text": "string"
27500
+ },
27501
+ "default": "\"on\"",
27502
+ "description": "Controlling of autocomplete behaviour",
27503
+ "fieldName": "autocomplete"
27504
+ },
27392
27505
  {
27393
27506
  "name": "menuList",
27394
27507
  "type": {
@@ -27538,7 +27651,7 @@
27538
27651
  "package": {
27539
27652
  "name": "@govtechsg/sgds-web-component",
27540
27653
  "description": "",
27541
- "version": "3.21.2-rc.5",
27654
+ "version": "3.23.0-rc.0",
27542
27655
  "author": "GovTechSG",
27543
27656
  "license": "MIT"
27544
27657
  }