myshell-react-lib 0.1.0 → 0.1.1
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/index.cjs +92 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -1
- package/dist/index.d.ts +25 -1
- package/dist/index.js +85 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/components/custom-notification.tsx +1 -1
- package/src/components/masonry.tsx +1 -1
- package/src/components/spinner.tsx +3 -1
- package/src/stories/Spinner.stories.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "myshell-react-lib",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "React component library with Tailwind CSS integration",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -137,4 +137,4 @@
|
|
|
137
137
|
"require": "./dist/index.cjs"
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
|
-
}
|
|
140
|
+
}
|
|
@@ -12,7 +12,7 @@ import { Separator } from './separator';
|
|
|
12
12
|
import { Text } from './typography';
|
|
13
13
|
import { isString } from '@/common/utils/common-helper';
|
|
14
14
|
import { CustomToasterProps } from '@/common/hooks/useNotification';
|
|
15
|
-
import Spinner from './spinner';
|
|
15
|
+
import { Spinner } from './spinner';
|
|
16
16
|
|
|
17
17
|
export default function CustomNotification({
|
|
18
18
|
tProps,
|
|
@@ -37,7 +37,7 @@ interface SpinnerProps extends VariantProps<typeof spinnerVariants> {
|
|
|
37
37
|
className?: ClassNameValue;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
function Spinner(props: SpinnerProps) {
|
|
41
41
|
const { size, speed, color, className } = props;
|
|
42
42
|
|
|
43
43
|
return (
|
|
@@ -46,3 +46,5 @@ export default function Spinner(props: SpinnerProps) {
|
|
|
46
46
|
/>
|
|
47
47
|
);
|
|
48
48
|
}
|
|
49
|
+
|
|
50
|
+
export { Spinner };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
2
|
|
|
3
|
-
import Spinner from '@/components/spinner';
|
|
3
|
+
import { Spinner } from '@/components/spinner';
|
|
4
4
|
|
|
5
5
|
// More on how to set up stories at: https://storybook.js.org/docs/writing-stories#default-export
|
|
6
6
|
const meta = {
|