uikit-react-public 0.21.9 → 0.22.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/components/Spinner/Spinner.d.ts +3 -2
- package/dist/components/Spinner/Spinner.stories.d.ts +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/index.js +2668 -2639
- package/lib/components/Breadcrumbs/__tests__/__snapshots__/Breadcrumbs.test.tsx.snap +4 -4
- package/lib/components/Button/__tests__/__snapshots__/Button.test.tsx.snap +5 -3
- package/lib/components/Field/Field.tsx +0 -3
- package/lib/components/Footer/__tests__/__snapshots__/Footer.test.tsx.snap +25 -25
- package/lib/components/FooterNew/__tests__/__snapshots__/Footer.test.tsx.snap +28 -28
- package/lib/components/Link/BaseLink.tsx +4 -1
- package/lib/components/Link/__tests__/__snapshots__/link.test.tsx.snap +2 -2
- package/lib/components/Spinner/Spinner.tsx +69 -70
- package/lib/components/Spinner/__tests__/Spinner.test.tsx +33 -1
- package/lib/components/Spinner/__tests__/__snapshots__/Spinner.test.tsx.snap +20 -12
- package/lib/components/StandaloneLink/__tests__/__snapshots__/StandaloneLink.test.tsx.snap +2 -2
- package/lib/components/Table/improvements-tracking.md +25 -0
- package/lib/components/index.ts +3 -0
- package/package.json +2 -1
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { SVGAttributes } from 'react';
|
|
1
|
+
import { SVGAttributes, Ref } from 'react';
|
|
2
2
|
export declare const NAME = "ucl-uikit-spinner";
|
|
3
3
|
export interface SpinnerProps extends SVGAttributes<SVGSVGElement> {
|
|
4
4
|
size?: number;
|
|
5
5
|
strokeWidth?: number;
|
|
6
6
|
testId?: string;
|
|
7
|
+
ref?: Ref<SVGSVGElement>;
|
|
7
8
|
inheritColour?: boolean;
|
|
8
9
|
}
|
|
9
|
-
declare const _default: import('react').
|
|
10
|
+
declare const _default: import('react').MemoExoticComponent<({ size, strokeWidth, className, testId, inheritColour, ref, ...rest }: SpinnerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
10
11
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: import('react').
|
|
4
|
+
component: import('react').MemoExoticComponent<({ size, strokeWidth, className, testId, inheritColour, ref, ...rest }: import('./Spinner').SpinnerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
5
|
args: {
|
|
6
6
|
size: number;
|
|
7
7
|
};
|
|
@@ -20,6 +20,8 @@ export { default as Snackbar } from './Snackbar';
|
|
|
20
20
|
export type { SnackbarProps } from './Snackbar';
|
|
21
21
|
export { default as Avatar } from './Avatar';
|
|
22
22
|
export type { AvatarProps } from './Avatar';
|
|
23
|
+
export { default as Badge } from './Badge';
|
|
24
|
+
export type { BadgeProps } from './Badge';
|
|
23
25
|
export { default as Spinner } from './Spinner';
|
|
24
26
|
export type { SpinnerProps } from './Spinner';
|
|
25
27
|
export { default as Textarea } from './Textarea';
|