Closed Youyou-smiles closed 1 week ago
The changes in this pull request involve modifications across multiple Vue components and stylesheets. Key updates include the addition of multiple <tiny-amount>
components with varying sizes, adjustments to locale handling methods, and enhancements to user notifications in drawer components. Additionally, new LESS files and variables are introduced to improve styling flexibility. The overall structure of the components remains intact, with a focus on enhancing user experience and maintainability through these updates.
File Path | Change Summary |
---|---|
examples/sites/demos/pc/app/amount/size-composition-api.vue |
Added three <tiny-amount> components with sizes "small", "mini", maintaining existing bindings. |
examples/sites/demos/pc/app/amount/size.vue |
Added three <tiny-amount> components with sizes "small", "mini", and one without size, maintaining bindings. |
examples/sites/demos/pc/app/area/custom-service-composition-api.vue |
Modified getJCR function to change names in jcr array. |
examples/sites/demos/pc/app/area/custom-service.spec.ts |
Updated expected value in a test case to reflect name change. |
examples/sites/demos/pc/app/area/custom-service.vue |
Modified getJCR function to change names in jcr array. |
examples/sites/demos/pc/app/drawer/use-through-method-composition-api.vue |
Added Notify import, replaced console logs with notifications, modified headerRight slot styles. |
examples/sites/demos/pc/app/drawer/use-through-method.vue |
Added Notify import, added closeDrawer method, updated event handlers for notifications, replaced Button with TinyButton . |
examples/sites/demos/pc/app/locales/custom-service-composition-api.vue |
Updated locale handling methods to return new format for locale identifiers. |
examples/sites/demos/pc/app/locales/custom-service.spec.ts |
Updated expected value in a test case to reflect new locale format. |
examples/sites/demos/pc/app/locales/custom-service.vue |
Updated locale handling methods to return new format for locale identifiers. |
packages/theme/src/area/index.less |
Added import for vars.less , updated class definitions and margins to use CSS variables. |
packages/theme/src/area/vars.less |
Introduced new LESS file defining custom properties for area component styling. |
packages/theme/src/locales/index.less |
Added import for vars.less , updated classes to use locale-specific variables. |
packages/theme/src/locales/vars.less |
Introduced new LESS function defining locale-specific CSS custom properties. |
packages/vue/src/locales/src/pc.vue |
Added classes for styling localized text and icons, updated icon imports. |
packages/vue/src/locales/package.json |
Updated version from 3.19.0 to 3.19.1 . |
<tiny-amount>
component in a similar manner to the main PR, focusing on the addition of new components with varying sizes.<tiny-amount>
, although it does not directly modify the same components.vars.less
, which could affect styling across components, including those modified in the main PR.π° In the garden where changes bloom,
Tiny amounts in colors loom.
Locale whispers, soft and clear,
Notifications ringing, bringing cheer!
With styles anew, we hop with glee,
A vibrant world for all to see! πΌ
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
PR
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information
Summary by CodeRabbit
Release Notes
New Features
<tiny-amount>
component with varying sizes in thesize-composition-api.vue
andsize.vue
files for enhanced user input options.use-through-method.vue
anduse-through-method-composition-api.vue
components to improve user feedback.Bug Fixes
Style
Documentation
@opentiny/vue-locales
package to ensure users have the latest features and fixes.