Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages (alpha) #3

Merged
merged 2 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,12 @@
"@lun-web/theme": "0.0.1-alpha.2",
"@lun-web/utils": "0.0.1-alpha.2"
},
"changesets": []
"changesets": [
"components",
"core",
"plugins",
"react",
"theme",
"utils"
]
}
21 changes: 21 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# @lun-web/components

## 0.0.1-alpha.3

### Features

- `components/config`: add `transitionRegistry` and `transitions` global context config; add `useTransition` hook and `registerTransition` util function
- `components/dialog`: add custom renderer for header, remove `title` prop
- `components/message`: support string param for `Message.open`
- `components/switch`: add `beforeUpdate` to asynchronously determine whether to update checked status

Check notice on line 10 in packages/components/CHANGELOG.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

packages/components/CHANGELOG.md#L10

Lists should be surrounded by blank lines
### Changes

Check notice on line 11 in packages/components/CHANGELOG.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

packages/components/CHANGELOG.md#L11

Expected: 1; Actual: 0; Above

- `colorPriority` of `GlobalStaticConfig`:
- previous: resolve color and status value from all sources and then determine, that means: if we set success status on a component, as it can resolve color from theme context, it will still use context color instead status from props first
- now: color and status are resolved from different sources and determine respectively. We should always respect props first, then parent props, and last theme context.

### Bug Fixes

- `components/tree`: fix check methods are not working
- `components/tree`: fix wrong expose type; fix items processing issue
- `components/tabs`: fix transition issue when switching tabs
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lun-web/components",
"version": "0.0.1-alpha.2",
"version": "0.0.1-alpha.3",
"description": "A full-featured web components library based on Vue3",
"keywords": [
"web-components",
Expand Down
7 changes: 7 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @lun-web/core

## 0.0.1-alpha.3

### Bug Fixes

- `core/createCollector`: parent element can be undefined when adding item; invoke getParentEl if collectOnSetup is true
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lun-web/core",
"version": "0.0.1-alpha.2",
"version": "0.0.1-alpha.3",
"description": "Hooks and utils for developing components for Vue3",
"keywords": [],
"type": "module",
Expand Down
3 changes: 3 additions & 0 deletions packages/plugins/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# @lun-web/plugins

## 0.0.1-alpha.3
2 changes: 1 addition & 1 deletion packages/plugins/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lun-web/plugins",
"version": "0.0.1-alpha.2",
"version": "0.0.1-alpha.3",
"description": "Directive plugins for Vue template or Vue JSX",
"keywords": [],
"type": "module",
Expand Down
3 changes: 3 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# @lun-web/react

## 0.0.1-alpha.3
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lun-web/react",
"version": "0.0.1-alpha.2",
"version": "0.0.1-alpha.3",
"description": "Compatible @lun-web/components layer for versions before React19",
"keywords": [
"web-components",
Expand Down
8 changes: 8 additions & 0 deletions packages/theme/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# @lun-web/theme

## 0.0.1-alpha.3

### Bug Fixes

- `theme/form-item`: fix vertical align issue of checkbox-group and radio-group in form-item
- `theme/tabs`: fix transition issue when switching tabs; fix active tab can be covered by hidden tab panels
2 changes: 1 addition & 1 deletion packages/theme/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lun-web/theme",
"version": "0.0.1-alpha.2",
"version": "0.0.1-alpha.3",
"description": "Beautiful preset theme for @lun-web/components",
"keywords": [
"ui",
Expand Down
3 changes: 3 additions & 0 deletions packages/utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# @lun-web/utils

## 0.0.1-alpha.3
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": "@lun-web/utils",
"version": "0.0.1-alpha.2",
"version": "0.0.1-alpha.3",
"description": "A set of javascript utils",
"keywords": [
"javascript-utils"
Expand Down