ionic-team / ionic-team/ionic-framework

feat: export utils as separate package

Đang mở
#30,313 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
type: feature request
Ngôn ngữ chính
TypeScript
Star
52.7k
Fork
13.3k
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
51

Mô tả

### Prerequisites

- [x] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#creating-an-issue).
- [x] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [x] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already include this feature request, without success.

### Describe the Feature Request

Ionic includes a lot of very cool utils, that are used internally but also are exported for Ionic Users. It would be awesome if there are somehow exported separate. I'm mostly talking about:

Animation & createAnimation
Gesture & createGesture

### Describe the Use Case

Wenn installing @ionic/core in an company design system created with stencil, where we only use `createAnimation` all ionic components are added to our own components set.

### Describe Preferred Solution

Would be awesome if these can be exported in an separate package, like `@ionic/animation`

### Describe Alternatives

_No response_

### Related Code

_No response_

### Additional Information

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start by tracing the existing exports for createAnimation and createGesture in @ionic/core and determine the package boundaries needed for separate exports. Done means users can install and import these utilities from a standalone package without adding Ionic components; the issue names no files or tests, so repository exploration is required.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
typescript
Lĩnh vực
build-system, frontend
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.