@timelinekit/vue 1.0.0 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +8 -9
  2. package/package.json +35 -35
package/README.md CHANGED
@@ -17,8 +17,8 @@ Requires Vue 3.3 or later.
17
17
  | Component | Import | Ref Type | Styles Import |
18
18
  |-----------|--------|----------|---------------|
19
19
  | Gantt Chart | `GanttChart` | `GanttChartRef` | `@timelinekit/core/styles` |
20
- | Resource Scheduler | `ResourceScheduler` | `ResourceSchedulerRef` | `@timelinekit/core/styles/rs` |
21
- | Event Calendar | `EventCalendar` | `EventCalendarRef` | `@timelinekit/core/styles/ec` |
20
+ | Resource Scheduler | `ResourceScheduler` | `ResourceSchedulerRef` | `@timelinekit/core/styles` |
21
+ | Event Calendar | `EventCalendar` | `EventCalendarRef` | `@timelinekit/core/styles` |
22
22
 
23
23
  All types from `@timelinekit/core` are re-exported from this package for convenience.
24
24
 
@@ -54,7 +54,7 @@ onMounted(() => {
54
54
  <script setup lang="ts">
55
55
  import { ref, onMounted } from 'vue';
56
56
  import { ResourceScheduler, type ResourceSchedulerRef, SchedulerResource, SchedulerEvent } from '@timelinekit/vue';
57
- import '@timelinekit/core/styles/rs';
57
+ import '@timelinekit/core/styles';
58
58
 
59
59
  const schedulerRef = ref<ResourceSchedulerRef>();
60
60
 
@@ -82,7 +82,7 @@ onMounted(() => {
82
82
  <script setup lang="ts">
83
83
  import { ref, onMounted } from 'vue';
84
84
  import { EventCalendar, type EventCalendarRef, CalendarItem } from '@timelinekit/vue';
85
- import '@timelinekit/core/styles/ec';
85
+ import '@timelinekit/core/styles';
86
86
 
87
87
  const calendarRef = ref<EventCalendarRef>();
88
88
 
@@ -129,15 +129,14 @@ function handleReady() {
129
129
 
130
130
  ## Styling
131
131
 
132
- Import the required CSS for each component you use:
132
+ Import the combined stylesheet for all components:
133
133
 
134
134
  ```typescript
135
- import '@timelinekit/core/styles'; // Gantt Chart
136
- import '@timelinekit/core/styles/rs'; // Resource Scheduler
137
- import '@timelinekit/core/styles/ec'; // Event Calendar
135
+ import '@timelinekit/core/styles';
138
136
  ```
139
137
 
140
- SCSS sources are also available (`@timelinekit/core/styles/scss`, `styles/rs/scss`, `styles/ec/scss`).
138
+ To import only a specific component, use `@timelinekit/core/styles/gc`, `styles/rs`, or `styles/ec`.
139
+ SCSS sources are available via `@timelinekit/core/styles/scss`.
141
140
 
142
141
  ## Licensing
143
142
 
package/package.json CHANGED
@@ -1,35 +1,35 @@
1
- {
2
- "name": "@timelinekit/vue",
3
- "version": "1.0.0",
4
- "type": "module",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "exports": {
8
- ".": {
9
- "types": "./dist/index.d.ts",
10
- "import": "./dist/index.js"
11
- }
12
- },
13
- "scripts": {
14
- "build": "rollup -c",
15
- "test": "vitest run",
16
- "test:watch": "vitest"
17
- },
18
- "peerDependencies": {
19
- "vue": ">=3.3.0",
20
- "@timelinekit/core": "workspace:*"
21
- },
22
- "dependencies": {
23
- "@timelinekit/core": "workspace:*"
24
- },
25
- "devDependencies": {
26
- "vue": "^3.5.0",
27
- "vitest": "^4.0.8",
28
- "jsdom": "^26.1.0"
29
- },
30
- "files": [
31
- "dist",
32
- "README.md",
33
- "LICENSE"
34
- ]
35
- }
1
+ {
2
+ "name": "@timelinekit/vue",
3
+ "version": "1.0.5",
4
+ "type": "module",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "types": "./dist/index.d.ts",
10
+ "import": "./dist/index.js"
11
+ }
12
+ },
13
+ "peerDependencies": {
14
+ "vue": ">=3.3.0",
15
+ "@timelinekit/core": "1.0.5"
16
+ },
17
+ "dependencies": {
18
+ "@timelinekit/core": "1.0.5"
19
+ },
20
+ "devDependencies": {
21
+ "vue": "^3.5.0",
22
+ "vitest": "^4.0.8",
23
+ "jsdom": "^26.1.0"
24
+ },
25
+ "files": [
26
+ "dist",
27
+ "README.md",
28
+ "LICENSE"
29
+ ],
30
+ "scripts": {
31
+ "build": "rollup -c",
32
+ "test": "vitest run",
33
+ "test:watch": "vitest"
34
+ }
35
+ }