diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5ef69729..b645583a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
+## [0.45.0](https://github.com/carbon-design-system/carbon-components-svelte/releases/tag/v0.45.0) - 2021-10-13
+
+**Features**
+
+- add `TreeView` component accessors to programmatically expand/collapse nodes
+
+## [0.44.7](https://github.com/carbon-design-system/carbon-components-svelte/releases/tag/v0.44.7) - 2021-10-13
+
+**Fixes**
+
+- add missing `value` prop to `Checkbox`
+
+## [0.44.6](https://github.com/carbon-design-system/carbon-components-svelte/releases/tag/v0.44.6) - 2021-10-11
+
+**Fixes**
+
+- fix `DataTable` sorting to tolerate `null`, `undefined` values
+
## [0.44.5](https://github.com/carbon-design-system/carbon-components-svelte/releases/tag/v0.44.5) - 2021-10-04
**Fixes**
diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md
index d646340f..a61e7263 100644
--- a/COMPONENT_INDEX.md
+++ b/COMPONENT_INDEX.md
@@ -1,6 +1,6 @@
# Component Index
-> 172 components exported from carbon-components-svelte@0.44.5.
+> 172 components exported from carbon-components-svelte@0.45.0.
## Components
@@ -463,6 +463,7 @@ None.
| :------------ | :--------------- | :------- | :---------------------------------------- | ------------------------------------------------ | ------------------------------------------------- |
| ref | let
| Yes | null | HTMLInputElement
| null
| Obtain a reference to the input HTML element |
| checked | let
| Yes | boolean
| false
| Specify whether the checkbox is checked |
+| value | let
| No | string
| ""
| Specify the value of the checkbox |
| indeterminate | let
| No | boolean
| false
| Specify whether the checkbox is indeterminate |
| skeleton | let
| No | boolean
| false
| Set to `true` to display the skeleton state |
| readonly | let
| No | boolean
| false
| Set to `true` for the checkbox to be read-only |
@@ -4752,15 +4753,19 @@ export interface TreeNode {
### Props
-| Prop name | Kind | Reactive | Type | Default value | Description |
-| :---------- | :--------------- | :------- | :------------------------------------------------------- | ---------------------- | --------------------------------------------------------------- |
-| expandedIds | let
| Yes | TreeNodeId[]
| []
| Set the node ids to be expanded |
-| selectedIds | let
| Yes | TreeNodeId[]
| []
| Set the node ids to be selected |
-| activeId | let
| Yes | TreeNodeId
| ""
| Set the current active node id
Only one node can be active |
-| children | let
| No | Array
| []
| Provide an array of children nodes to render |
-| size | let
| No | "default" | "compact"
| "default"
| Specify the TreeView size |
-| labelText | let
| No | string
| ""
| Specify the label text |
-| hideLabel | let
| No | boolean
| false
| Set to `true` to visually hide the label text |
+| Prop name | Kind | Reactive | Type | Default value | Description |
+| :------------ | :-------------------- | :------- | :------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
+| expandedIds | let
| Yes | TreeNodeId[]
| []
| Set the node ids to be expanded |
+| selectedIds | let
| Yes | TreeNodeId[]
| []
| Set the node ids to be selected |
+| activeId | let
| Yes | TreeNodeId
| ""
| Set the current active node id
Only one node can be active |
+| children | let
| No | Array
| []
| Provide an array of children nodes to render |
+| size | let
| No | "default" | "compact"
| "default"
| Specify the TreeView size |
+| labelText | let
| No | string
| ""
| Specify the label text |
+| hideLabel | let
| No | boolean
| false
| Set to `true` to visually hide the label text |
+| expandAll | function
| No | () => void
| () => { expandedIds = [...nodeIds]; }
| Programmatically expand all nodes |
+| collapseAll | function
| No | () => void
| () => { expandedIds = []; }
| Programmatically collapse all nodes |
+| expandNodes | function
| No | (filterId?: (node: TreeNode) => boolean) => void
| () => { expandedIds = nodes .filter((node) => !filterNode(node)) .map((node) => node.id); }
| Programmatically expand a subset of nodes.
Expands all nodes if no argument is provided |
+| collapseNodes | function
| No | (filterId?: (node: TreeNode) => boolean) => void
| () => { expandedIds = nodes .filter((node) => !filterNode(node)) .map((node) => node.id); }
| Programmatically collapse a subset of nodes.
Collapses all nodes if no argument is provided |
### Slots
diff --git a/README.md b/README.md
index 04edd37b..90854b14 100644
--- a/README.md
+++ b/README.md
@@ -43,6 +43,12 @@ yarn add -D carbon-components-svelte
npm i -D carbon-components-svelte
```
+**pnpm**
+
+```sh
+pnpm i -D carbon-components-svelte
+```
+
## Usage
### Styling
diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json
index ea62c0b5..0d746ed7 100644
--- a/docs/src/COMPONENT_API.json
+++ b/docs/src/COMPONENT_API.json
@@ -708,6 +708,17 @@
"moduleName": "Checkbox",
"filePath": "src/Checkbox/Checkbox.svelte",
"props": [
+ {
+ "name": "value",
+ "kind": "let",
+ "description": "Specify the value of the checkbox",
+ "type": "string",
+ "value": "\"\"",
+ "isFunction": false,
+ "isFunctionDeclaration": false,
+ "constant": false,
+ "reactive": false
+ },
{
"name": "checked",
"kind": "let",
@@ -13152,6 +13163,50 @@
"isFunctionDeclaration": false,
"constant": false,
"reactive": false
+ },
+ {
+ "name": "expandAll",
+ "kind": "function",
+ "description": "Programmatically expand all nodes",
+ "type": "() => void",
+ "value": "() => { expandedIds = [...nodeIds]; }",
+ "isFunction": true,
+ "isFunctionDeclaration": true,
+ "constant": false,
+ "reactive": false
+ },
+ {
+ "name": "collapseAll",
+ "kind": "function",
+ "description": "Programmatically collapse all nodes",
+ "type": "() => void",
+ "value": "() => { expandedIds = []; }",
+ "isFunction": true,
+ "isFunctionDeclaration": true,
+ "constant": false,
+ "reactive": false
+ },
+ {
+ "name": "expandNodes",
+ "kind": "function",
+ "description": "Programmatically expand a subset of nodes.\nExpands all nodes if no argument is provided",
+ "type": "(filterId?: (node: TreeNode) => boolean) => void",
+ "value": "() => { expandedIds = nodes .filter((node) => !filterNode(node)) .map((node) => node.id); }",
+ "isFunction": true,
+ "isFunctionDeclaration": true,
+ "constant": false,
+ "reactive": false
+ },
+ {
+ "name": "collapseNodes",
+ "kind": "function",
+ "description": "Programmatically collapse a subset of nodes.\nCollapses all nodes if no argument is provided",
+ "type": "(filterId?: (node: TreeNode) => boolean) => void",
+ "value": "() => { expandedIds = nodes .filter((node) => !filterNode(node)) .map((node) => node.id); }",
+ "isFunction": true,
+ "isFunctionDeclaration": true,
+ "constant": false,
+ "reactive": false
}
],
"slots": [
diff --git a/docs/src/pages/components/PasswordInput.svx b/docs/src/pages/components/PasswordInput.svx
index c22dd16e..7d90631a 100644
--- a/docs/src/pages/components/PasswordInput.svx
+++ b/docs/src/pages/components/PasswordInput.svx
@@ -1,3 +1,7 @@
+---
+source: TextInput/PasswordInput.svelte
+---
+
+
+