@govtechsg/sgds-web-component 3.25.1-rc.0 → 3.25.1-rc.1

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.
@@ -19993,6 +19993,20 @@
19993
19993
  "kind": "class",
19994
19994
  "description": "",
19995
19995
  "name": "SgdsSidebar",
19996
+ "slots": [
19997
+ {
19998
+ "description": "Insert sgds-sidebar-item, sgds-sidebar-group, and sgds-sidebar-section elements",
19999
+ "name": "default"
20000
+ },
20001
+ {
20002
+ "description": "Insert brand/logo content in sidebar header",
20003
+ "name": "upper"
20004
+ },
20005
+ {
20006
+ "description": "Insert content in sidebar footer",
20007
+ "name": "lower"
20008
+ }
20009
+ ],
19996
20010
  "members": [
19997
20011
  {
19998
20012
  "kind": "field",
@@ -20124,6 +20138,14 @@
20124
20138
  }
20125
20139
  }
20126
20140
  ],
20141
+ "events": [
20142
+ {
20143
+ "description": "Emitted when a sidebar item or group is selected.",
20144
+ "name": "sgds-select",
20145
+ "detailType": "ISgdsSidebarSelectEventDetail",
20146
+ "reactName": "onSgdsSelect"
20147
+ }
20148
+ ],
20127
20149
  "attributes": [
20128
20150
  {
20129
20151
  "name": "collapsed",
@@ -20175,14 +20197,13 @@
20175
20197
  "name": "SgdsElement",
20176
20198
  "module": "/src/base/sgds-element"
20177
20199
  },
20200
+ "summary": "Sidebar is a collapsible navigation component that displays menu items and groups.\nUsers can expand and collapse the sidebar to save screen space while navigating through organized menu items.\nThe sidebar coordinates selection and navigation across nested items using context providers and custom events.\n\nFeatures:\n- Collapsible state for space-saving layouts with icon-only mode\n- Multi-level nesting (up to 3 levels) with drawer overlay for root-level groups\n- Keyboard navigation with full ARIA support for accessibility\n- Programmatic link navigation support with anchor elements\n- Active item tracking and synchronized state management\n\nKeyboard Navigation:\n- Tab/Shift+Tab: Navigate between visible sidebar items and groups\n- Arrow Left/Right: Collapse/expand groups or navigate drawer overlays\n- Enter/Space: Activate focused item or toggle group",
20178
20201
  "tagName": "sgds-sidebar",
20179
20202
  "customElement": true,
20180
20203
  "modulePath": "src/components/Sidebar/sgds-sidebar.ts",
20181
20204
  "cssProperties": [],
20182
20205
  "cssParts": [],
20183
- "cssStates": [],
20184
- "events": [],
20185
- "slots": []
20206
+ "cssStates": []
20186
20207
  }
20187
20208
  ],
20188
20209
  "exports": [
@@ -29375,7 +29396,7 @@
29375
29396
  "package": {
29376
29397
  "name": "@govtechsg/sgds-web-component",
29377
29398
  "description": "",
29378
- "version": "3.25.1-rc.0",
29399
+ "version": "3.25.1-rc.1",
29379
29400
  "author": "GovTechSG",
29380
29401
  "license": "MIT"
29381
29402
  }