Skip to content

Commit

Permalink
Merge branch 'tonic-ui-945' of github.com:trendmicro-frontend/tonic-u…
Browse files Browse the repository at this point in the history
…i into tonic-ui-945
  • Loading branch information
cheton committed Nov 23, 2024
2 parents 3541cce + 331de58 commit df6377d
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 15 deletions.
5 changes: 0 additions & 5 deletions .changeset/tonic-ui-933.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tonic-ui-945-utils.md

This file was deleted.

6 changes: 6 additions & 0 deletions .changeset/tonic-ui-945.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@tonic-ui/react": patch
"@tonic-ui/theme": minor
---

feat(react): add `createTheme` for theme customization
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
createTheme, // The function for theme customization
theme, // The default theme configuration
} from '@tonic-ui/react';
import { useConst } from '@tonic-ui/react-hooks';

const customTheme = createTheme(theme, {
config: {
Expand Down Expand Up @@ -71,6 +72,7 @@ import {
useColorMode,
useTheme,
} from '@tonic-ui/react';
import { useConst } from '@tonic-ui/react-hooks';

const customTheme = createTheme(theme, {
config: {
Expand Down
11 changes: 11 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @tonic-ui/react

## 2.4.0

### Minor Changes

- feat(react/toast): enhance inline toast transition management by [@cheton](https://github.com/cheton) in [#941](https://github.com/trendmicro-frontend/tonic-ui/pull/941)

### Patch Changes

- Updated dependencies [[`22ccadf`](https://github.com/trendmicro-frontend/tonic-ui/commit/22ccadf3e35dac1bb20c43df2d8c2b1a5bf6d6fc)]
- @tonic-ui/utils@2.1.0

## 2.3.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonic-ui/react",
"version": "2.3.0",
"version": "2.4.0",
"description": "React Tonic UI component library.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down Expand Up @@ -29,7 +29,7 @@
"@tonic-ui/react-icons": "^2.0.2",
"@tonic-ui/styled-system": "^2.0.2",
"@tonic-ui/theme": "^2.0.0",
"@tonic-ui/utils": "^2.0.1",
"@tonic-ui/utils": "^2.1.0",
"date-fns": "2.x",
"ensure-type": "^1.5.1",
"lodash.get": "4.x",
Expand Down
6 changes: 6 additions & 0 deletions packages/utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @tonic-ui/utils

## 2.1.0

### Minor Changes

- feat(utils): add `merge` and `isPlainObject` by [@cheton](https://github.com/cheton) in [#946](https://github.com/trendmicro-frontend/tonic-ui/pull/946)

## 2.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonic-ui/utils",
"version": "2.0.1",
"version": "2.1.0",
"description": "Common utilities for various Tonic UI components and packages.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4504,7 +4504,7 @@ __metadata:
"@tonic-ui/react-icons": ^2.0.2
"@tonic-ui/styled-system": ^2.0.2
"@tonic-ui/theme": ^2.0.0
"@tonic-ui/utils": ^2.0.1
"@tonic-ui/utils": ^2.1.0
"@trendmicro/babel-config": ^1.0.2
cross-env: ^7.0.3
date-fns: 2.x
Expand Down Expand Up @@ -4590,7 +4590,7 @@ __metadata:
languageName: unknown
linkType: soft

"@tonic-ui/utils@^2.0.0, @tonic-ui/utils@^2.0.1, @tonic-ui/utils@workspace:^, @tonic-ui/utils@workspace:packages/utils":
"@tonic-ui/utils@^2.0.0, @tonic-ui/utils@^2.1.0, @tonic-ui/utils@workspace:^, @tonic-ui/utils@workspace:packages/utils":
version: 0.0.0-use.local
resolution: "@tonic-ui/utils@workspace:packages/utils"
dependencies:
Expand Down

0 comments on commit df6377d

Please sign in to comment.