Skip to content

Commit

Permalink
Version Packages (#2220)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
khan-actions-bot and github-actions[bot] authored May 9, 2024
1 parent f72f7dd commit 52607c2
Show file tree
Hide file tree
Showing 14 changed files with 64 additions and 29 deletions.
11 changes: 0 additions & 11 deletions .changeset/six-trains-remain.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thirty-owls-sell.md

This file was deleted.

7 changes: 7 additions & 0 deletions packages/wonder-blocks-birthday-picker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @khanacademy/wonder-blocks-birthday-picker

## 2.0.61

### Patch Changes

- Updated dependencies [7030948a]
- @khanacademy/wonder-blocks-dropdown@5.3.0

## 2.0.60

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/wonder-blocks-birthday-picker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@khanacademy/wonder-blocks-birthday-picker",
"version": "2.0.60",
"version": "2.0.61",
"design": "v1",
"publishConfig": {
"access": "public"
Expand All @@ -15,7 +15,7 @@
"dependencies": {
"@babel/runtime": "^7.18.6",
"@khanacademy/wonder-blocks-core": "^6.4.0",
"@khanacademy/wonder-blocks-dropdown": "^5.2.1",
"@khanacademy/wonder-blocks-dropdown": "^5.3.0",
"@khanacademy/wonder-blocks-icon": "^4.1.0",
"@khanacademy/wonder-blocks-layout": "^2.0.32",
"@khanacademy/wonder-blocks-tokens": "^1.3.0",
Expand Down
12 changes: 12 additions & 0 deletions packages/wonder-blocks-dropdown/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @khanacademy/wonder-blocks-dropdown

## 5.3.0

### Minor Changes

- 7030948a: Add `Listbox` component with Single and Multiple selection support

### Patch Changes

- Updated dependencies [f72f7dd4]
- @khanacademy/wonder-blocks-timing@5.0.0
- @khanacademy/wonder-blocks-modal@5.1.2

## 5.2.1

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/wonder-blocks-dropdown/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@khanacademy/wonder-blocks-dropdown",
"version": "5.2.1",
"version": "5.3.0",
"design": "v1",
"description": "Dropdown variants for Wonder Blocks.",
"main": "dist/index.js",
Expand All @@ -21,9 +21,9 @@
"@khanacademy/wonder-blocks-core": "^6.4.0",
"@khanacademy/wonder-blocks-icon": "^4.1.0",
"@khanacademy/wonder-blocks-layout": "^2.0.32",
"@khanacademy/wonder-blocks-modal": "^5.1.1",
"@khanacademy/wonder-blocks-modal": "^5.1.2",
"@khanacademy/wonder-blocks-search-field": "^2.2.10",
"@khanacademy/wonder-blocks-timing": "^4.0.2",
"@khanacademy/wonder-blocks-timing": "^5.0.0",
"@khanacademy/wonder-blocks-tokens": "^1.3.0",
"@khanacademy/wonder-blocks-typography": "^2.1.11"
},
Expand Down
7 changes: 7 additions & 0 deletions packages/wonder-blocks-modal/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @khanacademy/wonder-blocks-modal

## 5.1.2

### Patch Changes

- Updated dependencies [f72f7dd4]
- @khanacademy/wonder-blocks-timing@5.0.0

## 5.1.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/wonder-blocks-modal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@khanacademy/wonder-blocks-modal",
"version": "5.1.1",
"version": "5.1.2",
"design": "v2",
"publishConfig": {
"access": "public"
Expand All @@ -21,7 +21,7 @@
"@khanacademy/wonder-blocks-icon-button": "^5.2.1",
"@khanacademy/wonder-blocks-layout": "^2.0.32",
"@khanacademy/wonder-blocks-theming": "^2.0.2",
"@khanacademy/wonder-blocks-timing": "^4.0.2",
"@khanacademy/wonder-blocks-timing": "^5.0.0",
"@khanacademy/wonder-blocks-tokens": "^1.3.0",
"@khanacademy/wonder-blocks-typography": "^2.1.11"
},
Expand Down
7 changes: 7 additions & 0 deletions packages/wonder-blocks-popover/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @khanacademy/wonder-blocks-popover

## 3.2.2

### Patch Changes

- @khanacademy/wonder-blocks-modal@5.1.2
- @khanacademy/wonder-blocks-tooltip@2.3.1

## 3.2.1

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/wonder-blocks-popover/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@khanacademy/wonder-blocks-popover",
"version": "3.2.1",
"version": "3.2.2",
"design": "v1",
"publishConfig": {
"access": "public"
Expand All @@ -18,9 +18,9 @@
"@babel/runtime": "^7.18.6",
"@khanacademy/wonder-blocks-core": "^6.4.0",
"@khanacademy/wonder-blocks-icon-button": "^5.2.1",
"@khanacademy/wonder-blocks-modal": "^5.1.1",
"@khanacademy/wonder-blocks-modal": "^5.1.2",
"@khanacademy/wonder-blocks-tokens": "^1.3.0",
"@khanacademy/wonder-blocks-tooltip": "^2.3.0",
"@khanacademy/wonder-blocks-tooltip": "^2.3.1",
"@khanacademy/wonder-blocks-typography": "^2.1.11"
},
"peerDependencies": {
Expand Down
12 changes: 12 additions & 0 deletions packages/wonder-blocks-timing/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @khanacademy/wonder-blocks-timing

## 5.0.0

### Major Changes

- f72f7dd4: - **[BREAKING CHANGE]** Policy types are now using enums across all APIs
- **[BREAKING CHANGE]** `useScheduledTimeout` has been renamed to `useTimeout` and the original `useTimeout` has been removed. To update existing uses of `useTimeout` to the new API: if `active` was `true` just delete that argument or replace it with `{schedulingPolicy: SchedulingPolicy.Immediately}`; if `active` was `false` replace it with `{schedulingPolicy: SchedulingPolicy.OnDemand}`.
- **[BREAKING CHANGE]** `useScheduledInterval` has been renamed to `useInterval` and the original `useInterval` has been removed. To update existing uses of `useInterval` to the new API: if `active` was `true` just delete that argument or replace it with `{schedulingPolicy: SchedulingPolicy.Immediately}`; if `active` was `false` replace it with `{schedulingPolicy: SchedulingPolicy.OnDemand}`.
- **[NEW]** `useTimeout` now supports an optional `ActionPolicy` in the options. The default is to not reset the timeout when the `action` callback changes. This can be changed to `ActionPolicy.Reset` to reset the timeout when the `action` callback changes (it is recommended that you use `useCallback` on your `action` callback to avoid resetting the timeout everytime a component renders when using the `Reset` policy).
- **[NEW]** `useInterval` now supports an optional `ActionPolicy` in the options. The default is to not reset the interval when the `action` callback changes. This can be changed to `ActionPolicy.Reset` to reset the interval when the `action` callback changes (it is recommended that you use `useCallback` on your `action` callback to avoid resetting the interval everytime a component renders when using the `Reset` policy).
- **[BUGFIX]** `useTimeout` will now correctly reset the timeout when the `set` method is called, as intended.
- **[BUGFIX]** `useInterval` will now correctly reset the interval when the `set` method is called, as intended.

## 4.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/wonder-blocks-timing/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@khanacademy/wonder-blocks-timing",
"private": false,
"version": "4.0.2",
"version": "5.0.0",
"design": "v1",
"publishConfig": {
"access": "public"
Expand Down
6 changes: 6 additions & 0 deletions packages/wonder-blocks-tooltip/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @khanacademy/wonder-blocks-tooltip

## 2.3.1

### Patch Changes

- @khanacademy/wonder-blocks-modal@5.1.2

## 2.3.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/wonder-blocks-tooltip/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@khanacademy/wonder-blocks-tooltip",
"version": "2.3.0",
"version": "2.3.1",
"design": "v1",
"publishConfig": {
"access": "public"
Expand All @@ -18,7 +18,7 @@
"@babel/runtime": "^7.18.6",
"@khanacademy/wonder-blocks-core": "^6.4.0",
"@khanacademy/wonder-blocks-layout": "^2.0.32",
"@khanacademy/wonder-blocks-modal": "^5.1.1",
"@khanacademy/wonder-blocks-modal": "^5.1.2",
"@khanacademy/wonder-blocks-tokens": "^1.3.0",
"@khanacademy/wonder-blocks-typography": "^2.1.11"
},
Expand Down

0 comments on commit 52607c2

Please sign in to comment.