widenarrow-ui 0.1.11 → 0.1.12
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/.eslintrc +4 -0
- package/lib/components/Button/Button.d.ts +1 -1
- package/lib/components/Checkbox/Checkbox.d.ts +1 -1
- package/lib/components/IconButton/IconButton.d.ts +2 -2
- package/lib/components/InlineButton/InlineButton.d.ts +1 -1
- package/lib/components/Separator/Separator.stories.d.ts +3 -1
- package/lib/components/ToolTip/ToolTip.d.ts +1 -1
- package/lib/index.esm.js +29 -29
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +29 -29
- package/lib/index.js.map +1 -1
- package/package.json +2 -1
- package/rollup.config.mjs +2 -2
- package/src/components/Box/Box.tsx +1 -1
- package/src/components/Button/Button.tsx +2 -2
- package/src/components/Checkbox/Checkbox.tsx +1 -1
- package/src/components/Icon/Icon.stories.tsx +2 -2
- package/src/components/Icon/Icon.tsx +1 -1
- package/src/components/IconButton/IconButton.tsx +3 -3
- package/src/components/InlineButton/InlineButton.tsx +2 -2
- package/src/components/Separator/Separator.stories.tsx +15 -6
- package/src/components/ToolTip/ToolTip.tsx +7 -6
package/.eslintrc
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MouseEvent
|
|
1
|
+
import { MouseEvent } from 'react';
|
|
2
2
|
import { SizeTypes } from 'src/constants';
|
|
3
3
|
import { SizeStyleInterface, IconStyleInterface } from 'src/types/styling';
|
|
4
4
|
import { HierarchyTypes } from 'src/constants';
|
|
@@ -9,7 +9,7 @@ interface Props extends IconStyleInterface, SizeStyleInterface {
|
|
|
9
9
|
iconClassName?: string;
|
|
10
10
|
type?: HierarchyTypes.PRIMARY | HierarchyTypes.SECONDARY;
|
|
11
11
|
onClickCallback?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
12
|
-
iconSize?:
|
|
12
|
+
iconSize?: `${SizeTypes}`;
|
|
13
13
|
href?: string;
|
|
14
14
|
disabled?: boolean;
|
|
15
15
|
toolTip?: string;
|
|
@@ -4,4 +4,6 @@ declare const meta: Meta<typeof Separator>;
|
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof Separator>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const SizeSmall: Story;
|
|
8
|
+
export declare const SizeMedium: Story;
|
|
9
|
+
export declare const SizeLarge: Story;
|