widenarrow-ui 0.1.22 → 0.1.24
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/lib/assets/svg/redo.d.ts +6 -0
- package/lib/components/ListSkeleton/ListSkeleton.d.ts +18 -0
- package/lib/components/ListSkeleton/ListSkeleton.stories.d.ts +7 -0
- package/lib/components/ListSkeleton/index.d.ts +1 -0
- package/lib/components/MultiActionButton/MultiActionButton.d.ts +2 -1
- package/lib/constants.d.ts +4 -2
- package/lib/index.d.ts +1 -0
- package/lib/index.esm.js +515 -461
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +515 -460
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/assets/svg/redo.tsx +13 -0
- package/src/assets/svg/undo.tsx +2 -3
- package/src/components/DropDownItem/DropDownItem.module.scss +8 -0
- package/src/components/FacetButton/FacetButton.module.scss +1 -0
- package/src/components/Icon/getIconFromConstant.tsx +6 -0
- package/src/components/ListSkeleton/ListSkeleton.module.scss +46 -0
- package/src/components/ListSkeleton/ListSkeleton.stories.tsx +30 -0
- package/src/components/ListSkeleton/ListSkeleton.tsx +81 -0
- package/src/components/ListSkeleton/index.tsx +1 -0
- package/src/components/MultiActionButton/MultiActionButton.module.scss +17 -0
- package/src/components/MultiActionButton/MultiActionButton.tsx +47 -43
- package/src/constants.ts +4 -2
- package/src/index.ts +2 -0
- package/src/styles/mixins.scss +14 -14
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ColorTypes } from 'src/constants';
|
|
3
|
+
interface Props {
|
|
4
|
+
items: number;
|
|
5
|
+
itemHeight?: number;
|
|
6
|
+
className?: string;
|
|
7
|
+
itemClassName?: string;
|
|
8
|
+
withBorderRadius?: boolean;
|
|
9
|
+
withContent?: boolean;
|
|
10
|
+
backgroundColor?: `${ColorTypes}`;
|
|
11
|
+
backgroundColor?: `${ColorTypes}`;
|
|
12
|
+
marginBottom?: string;
|
|
13
|
+
padding?: string;
|
|
14
|
+
borderColor?: `${ColorTypes}`;
|
|
15
|
+
contentColor?: `${ColorTypes}`;
|
|
16
|
+
}
|
|
17
|
+
declare const ListSkeleton: FC<Props>;
|
|
18
|
+
export default ListSkeleton;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import ListSkeleton from 'src/components/ListSkeleton';
|
|
3
|
+
declare const meta: Meta<typeof ListSkeleton>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof ListSkeleton>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Primary: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ListSkeleton';
|
|
@@ -9,7 +9,8 @@ interface Props {
|
|
|
9
9
|
iconSize?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
|
|
10
10
|
leftIcon?: `${IconTypes}`;
|
|
11
11
|
rightIcon?: `${IconTypes}`;
|
|
12
|
-
|
|
12
|
+
rotateLeftIconByDegree?: 0 | 45 | 90 | 135 | 180 | 225 | 270 | 315;
|
|
13
|
+
rotateRigthIconByDegree?: 0 | 45 | 90 | 135 | 180 | 225 | 270 | 315;
|
|
13
14
|
disabled?: boolean;
|
|
14
15
|
className?: string;
|
|
15
16
|
iconClassName?: string;
|
package/lib/constants.d.ts
CHANGED
|
@@ -160,7 +160,7 @@ export declare enum IconTypes {
|
|
|
160
160
|
STRATEGY = "iconStrategy",
|
|
161
161
|
SUBSCRIPTIONS = "iconSubscriptions",
|
|
162
162
|
SUGGESTION = "iconSuggestion",
|
|
163
|
-
SUMMARIZE = "
|
|
163
|
+
SUMMARIZE = "iconSummarize",
|
|
164
164
|
TAXONOMY = "iconTaxonomy",
|
|
165
165
|
TRANSLATE = "iconTranslate",
|
|
166
166
|
TRASH = "iconTrash",
|
|
@@ -182,7 +182,9 @@ export declare enum IconTypes {
|
|
|
182
182
|
WILL_BE_DELETED = "iconWillBeDeleted",
|
|
183
183
|
WORLD = "iconWorld",
|
|
184
184
|
ZOOM_IN = "iconZoomIn",
|
|
185
|
-
ZOOM_OUT = "iconZoomOut"
|
|
185
|
+
ZOOM_OUT = "iconZoomOut",
|
|
186
|
+
UNDO = "iconUndo",
|
|
187
|
+
REDO = "iconRedo"
|
|
186
188
|
}
|
|
187
189
|
export declare enum HierarchyTypes {
|
|
188
190
|
PRIMARY = "primary",
|
package/lib/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export { default as IconButton } from 'src/components/IconButton/IconButton';
|
|
|
8
8
|
export { default as Separator } from 'src/components/Separator/Separator';
|
|
9
9
|
export { default as Box } from 'src/components/Box/Box';
|
|
10
10
|
export { default as FormSkeleton } from 'src/components/FormSkeleton/FormSkeleton';
|
|
11
|
+
export { default as ListSkeleton } from 'src/components/ListSkeleton/ListSkeleton';
|
|
11
12
|
export { default as DropDown } from 'src/components/DropDown/DropDown';
|
|
12
13
|
export { default as DropDownItem } from 'src/components/DropDownItem/DropDownItem';
|
|
13
14
|
export { default as FacetButton } from 'src/components/FacetButton/FacetButton';
|