@maropost-ui/liquidsky-ui 0.1.57 → 0.1.59
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.
- package/README.md +15 -0
- package/dist/composables/useRefHistory.d.ts +4 -5
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +13651 -13349
- package/dist/types/AppDataTableProps.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/utils/index.d.ts +5 -0
- package/package.json +24 -8
- package/dist/stories/helpers/vue-story-docs.d.ts +0 -30
package/README.md
CHANGED
|
@@ -271,6 +271,21 @@ npm run storybook:build
|
|
|
271
271
|
|
|
272
272
|
Default URL: http://localhost:6006
|
|
273
273
|
|
|
274
|
+
### Development standards
|
|
275
|
+
|
|
276
|
+
Linting, type checking, tests, and git hooks are documented in [CONTRIBUTING.md](./CONTRIBUTING.md).
|
|
277
|
+
|
|
278
|
+
Quick reference:
|
|
279
|
+
|
|
280
|
+
```bash
|
|
281
|
+
npm run lint # ESLint
|
|
282
|
+
npm run typecheck # vue-tsc
|
|
283
|
+
npm run test # Vitest unit tests (tests/)
|
|
284
|
+
npm run test:storybook # Vitest story tests in browser (Storybook addon)
|
|
285
|
+
npm run storybook # UI with testing widget + pass/fail on stories
|
|
286
|
+
npm run generate-test -- src/components/MyComponent.vue
|
|
287
|
+
```
|
|
288
|
+
|
|
274
289
|
### 📂 Story Organization
|
|
275
290
|
|
|
276
291
|
```
|
|
@@ -44,12 +44,11 @@
|
|
|
44
44
|
* - Automatically trims history to respect `capacity`.
|
|
45
45
|
* - Skips tracking during undo/redo to prevent recursive updates.
|
|
46
46
|
*/
|
|
47
|
-
import { type Ref } from 'vue';
|
|
48
47
|
export default function useRefHistory(source: any, options?: any): {
|
|
49
|
-
history: Ref<never[], never[]>;
|
|
50
|
-
pointer: Ref<number, number>;
|
|
51
|
-
canUndo: Ref<boolean, boolean>;
|
|
52
|
-
canRedo: Ref<boolean, boolean>;
|
|
48
|
+
history: import("vue").Ref<never[], never[]>;
|
|
49
|
+
pointer: import("vue").Ref<number, number>;
|
|
50
|
+
canUndo: import("vue").Ref<boolean, boolean>;
|
|
51
|
+
canRedo: import("vue").Ref<boolean, boolean>;
|
|
53
52
|
undo: () => void;
|
|
54
53
|
redo: () => void;
|
|
55
54
|
};
|