caplink-saas-ui-shared-component-library 0.3.2 → 0.3.4
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/dist/components/file-uploader/ui/file-uploader.d.ts +10 -0
- package/dist/components/file-uploader/ui/index.d.ts +3 -0
- package/dist/components/spreadsheet/lib/normalize-value.d.ts +1 -0
- package/dist/index.es.js +2599 -2540
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +29 -28
- package/dist/index.umd.js.map +1 -1
- package/dist/shared/lib/get-current-date-time-text.d.ts +5 -0
- package/package.json +18 -19
- package/dist/components/spreadsheet/lib/get-alphabet-columns.d.ts +0 -1
- package/dist/stories/spreadsheet.stories.d.ts +0 -21
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "caplink-saas-ui-shared-component-library",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"description": "A shared UI component library for React projects from Caplink",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "ISC",
|
|
@@ -20,9 +20,10 @@
|
|
|
20
20
|
"./package.json": "./package.json"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
|
-
"publish-lib": "npm run vite:build && npm publish",
|
|
23
|
+
"publish-lib": "(npm run vitest:run && npm run vite:build && npm publish) || echo 'Publish failed' && exit 1",
|
|
24
24
|
"vite:build": "tsc && vite build",
|
|
25
|
-
"
|
|
25
|
+
"vitest:watch": "vitest",
|
|
26
|
+
"vitest:run": "vitest run",
|
|
26
27
|
"sb:dev": "storybook dev -p 6006 --no-open",
|
|
27
28
|
"sb:build": "storybook build"
|
|
28
29
|
},
|
|
@@ -50,32 +51,29 @@
|
|
|
50
51
|
"@radix-ui/react-tooltip": "^1.0.7",
|
|
51
52
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
52
53
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
53
|
-
"@storybook/addon-essentials": "^8.1.
|
|
54
|
-
"@storybook/addon-interactions": "^8.1.
|
|
55
|
-
"@storybook/addon-links": "^8.1.
|
|
56
|
-
"@storybook/
|
|
57
|
-
"@storybook/
|
|
58
|
-
"@storybook/
|
|
59
|
-
"@storybook/
|
|
60
|
-
"@
|
|
61
|
-
"@
|
|
62
|
-
"@
|
|
54
|
+
"@storybook/addon-essentials": "^8.1.4",
|
|
55
|
+
"@storybook/addon-interactions": "^8.1.4",
|
|
56
|
+
"@storybook/addon-links": "^8.1.4",
|
|
57
|
+
"@storybook/blocks": "^8.1.4",
|
|
58
|
+
"@storybook/react": "^8.1.4",
|
|
59
|
+
"@storybook/react-vite": "^8.1.4",
|
|
60
|
+
"@storybook/test": "^8.1.4",
|
|
61
|
+
"@testing-library/jest-dom": "^6.4.5",
|
|
62
|
+
"@testing-library/react": "^15.0.7",
|
|
63
|
+
"@testing-library/user-event": "^14.5.2",
|
|
63
64
|
"@vitejs/plugin-react-swc": "^3.6.0",
|
|
64
65
|
"autoprefixer": "^10.4.19",
|
|
65
|
-
"babel-jest": "^29.7.0",
|
|
66
66
|
"class-variance-authority": "^0.7.0",
|
|
67
67
|
"clsx": "^2.1.1",
|
|
68
68
|
"globals": "^15.0.0",
|
|
69
|
-
"
|
|
70
|
-
"jest": "^29.7.0",
|
|
71
|
-
"jest-environment-jsdom": "^29.7.0",
|
|
69
|
+
"jsdom": "^24.1.0",
|
|
72
70
|
"lucide-react": "^0.376.0",
|
|
73
71
|
"postcss": "^8.4.38",
|
|
74
72
|
"react-number-format": "^5.3.4",
|
|
75
73
|
"react-use": "^17.5.0",
|
|
76
74
|
"rollup": "^4.17.2",
|
|
77
75
|
"rollup-plugin-dts": "^6.1.0",
|
|
78
|
-
"storybook": "^8.1.
|
|
76
|
+
"storybook": "^8.1.4",
|
|
79
77
|
"tailwind-merge": "^2.3.0",
|
|
80
78
|
"tailwindcss": "^3.4.3",
|
|
81
79
|
"tailwindcss-animate": "^1.0.7",
|
|
@@ -83,6 +81,7 @@
|
|
|
83
81
|
"typescript": "^5.4.5",
|
|
84
82
|
"vite": "^5.2.11",
|
|
85
83
|
"vite-plugin-css-injected-by-js": "^3.5.1",
|
|
86
|
-
"vite-plugin-dts": "^3.9.1"
|
|
84
|
+
"vite-plugin-dts": "^3.9.1",
|
|
85
|
+
"vitest": "^1.6.0"
|
|
87
86
|
}
|
|
88
87
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getAlphabetColumns(range: number): string[];
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { Spreadsheet } from '../components/spreadsheet/ui';
|
|
3
|
-
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: typeof Spreadsheet;
|
|
7
|
-
parameters: {
|
|
8
|
-
layout: string;
|
|
9
|
-
};
|
|
10
|
-
tags: string[];
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
13
|
-
export declare const EmptyRows: Meta<typeof Spreadsheet>;
|
|
14
|
-
export declare const OneRow: Meta<typeof Spreadsheet>;
|
|
15
|
-
export declare const IndividualTypes: Meta<typeof Spreadsheet>;
|
|
16
|
-
export declare const MultipleRows: Meta<typeof Spreadsheet>;
|
|
17
|
-
export declare const AToZ: Meta<typeof Spreadsheet>;
|
|
18
|
-
export declare const MultiplestartingColumns: Meta<typeof Spreadsheet>;
|
|
19
|
-
export declare const EditableRowSize: Meta<typeof Spreadsheet>;
|
|
20
|
-
export declare const LargeTableField: Meta<typeof Spreadsheet>;
|
|
21
|
-
export declare const CopyAndPaste: Meta<typeof Spreadsheet>;
|