widenarrow-ui 1.0.11 → 1.0.13
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/notificationPlus.d.ts +6 -0
- package/lib/components/Box/Box.stories.d.ts +1 -1
- package/lib/components/Button/Button.stories.d.ts +1 -1
- package/lib/components/Checkbox/Checkbox.stories.d.ts +1 -1
- package/lib/components/DropDown/DropDown.stories.d.ts +1 -1
- package/lib/components/DropDown/useHandleClickOutside.d.ts +1 -1
- package/lib/components/DropDownItem/DropDownItem.stories.d.ts +1 -1
- package/lib/components/FacetButton/FacetButton.stories.d.ts +1 -1
- package/lib/components/Grid/Grid.stories.d.ts +1 -1
- package/lib/components/Icon/Icon.stories.d.ts +1 -1
- package/lib/components/IconButton/IconButton.stories.d.ts +1 -1
- package/lib/components/Image/Image.stories.d.ts +1 -1
- package/lib/components/InlineButton/InlineButton.stories.d.ts +1 -1
- package/lib/components/ListItem/ListItem.stories.d.ts +1 -1
- package/lib/components/ListSkeleton/ListSkeleton.stories.d.ts +1 -1
- package/lib/components/MultiActionButton/MultiActionButton.stories.d.ts +1 -1
- package/lib/components/MultiActionButton/MultiActionButton.types.d.ts +3 -0
- package/lib/components/RadioButton/RadioButton.stories.d.ts +1 -1
- package/lib/components/Separator/Separator.stories.d.ts +1 -1
- package/lib/components/SolidSpinner/SolidSpinner.stories.d.ts +1 -1
- package/lib/components/SortableTable/SortableTable.stories.d.ts +1 -1
- package/lib/components/SortableTable/SortableTable.types.d.ts +4 -3
- package/lib/components/SwitchButton/SwitchButton.stories.d.ts +1 -1
- package/lib/components/Typography/Heading.stories.d.ts +1 -1
- package/lib/components/Typography/Label.stories.d.ts +1 -1
- package/lib/components/Typography/Paragraph.stories.d.ts +1 -1
- package/lib/components/Typography/Span.stories.d.ts +1 -1
- package/lib/constants.d.ts +1 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +10 -3
- package/lib/index.esm.css +1 -1
- package/lib/index.esm.js +276 -265
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +276 -265
- package/lib/index.js.map +1 -1
- package/lib/types/styling.types.d.ts +3 -0
- package/package.json +2 -2
- package/src/assets/svg/notificationPlus.tsx +23 -0
- package/src/components/Icon/getIconFromConstant.tsx +3 -0
- package/src/components/MultiActionButton/MultiActionButton.module.scss +4 -0
- package/src/components/MultiActionButton/MultiActionButton.tsx +15 -0
- package/src/components/MultiActionButton/MultiActionButton.types.ts +3 -0
- package/src/components/SortableTable/SortableTable.tsx +3 -2
- package/src/components/SortableTable/SortableTable.types.ts +4 -3
- package/src/constants.ts +1 -0
- package/src/types/styling.types.ts +4 -0
package/lib/index.d.ts
CHANGED
|
@@ -3,6 +3,9 @@ import react__default, { CSSProperties, MouseEvent, ReactNode, FC, ChangeEvent }
|
|
|
3
3
|
import { HierarchyTypes as HierarchyTypes$1, ColorTypes as ColorTypes$1, SizeTypes as SizeTypes$1, IconTypes as IconTypes$1 } from 'src/constants';
|
|
4
4
|
import { Placement, PositioningStrategy } from '@popperjs/core';
|
|
5
5
|
|
|
6
|
+
interface UnknownObjectInterface {
|
|
7
|
+
[key: string]: unknown;
|
|
8
|
+
}
|
|
6
9
|
interface MarginInterface {
|
|
7
10
|
margin?: '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8';
|
|
8
11
|
marginX?: '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8';
|
|
@@ -166,6 +169,7 @@ declare enum IconTypes {
|
|
|
166
169
|
NOTIFICATION_ACTIVE = "iconNotificationActive",
|
|
167
170
|
NOTIFICATION_SETTINGS = "iconNotificationSettings",
|
|
168
171
|
NOTIFICATION_OFF = "iconNotificationOff",
|
|
172
|
+
NOTIFICATION_PLUS = "iconNotificationPlus",
|
|
169
173
|
NO_CHANGE = "iconNoChange",
|
|
170
174
|
NO_DIRECTION = "iconNoDirection",
|
|
171
175
|
OPEN_IN_NEW = "iconOpenInNew",
|
|
@@ -636,10 +640,13 @@ interface MultiActionButtonProps {
|
|
|
636
640
|
type?: Partial<HierarchyTypes>;
|
|
637
641
|
size?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
|
|
638
642
|
leftIconSize?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
|
|
643
|
+
middleIconSize?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
|
|
639
644
|
rightIconSize?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
|
|
640
645
|
leftIcon?: Partial<IconTypes>;
|
|
646
|
+
middleIcon?: Partial<IconTypes>;
|
|
641
647
|
rightIcon?: Partial<IconTypes>;
|
|
642
648
|
rotateLeftIconByDegree?: 0 | 45 | 90 | 135 | 180 | 225 | 270 | 315;
|
|
649
|
+
rotateMiddleIconByDegree?: 0 | 45 | 90 | 135 | 180 | 225 | 270 | 315;
|
|
643
650
|
rotateRightIconByDegree?: 0 | 45 | 90 | 135 | 180 | 225 | 270 | 315;
|
|
644
651
|
disabled?: boolean;
|
|
645
652
|
className?: string;
|
|
@@ -687,11 +694,11 @@ interface CellInterface {
|
|
|
687
694
|
withEllipsis?: boolean;
|
|
688
695
|
toolTip?: string;
|
|
689
696
|
customHeaderCellComponent?: (cell: CellInterface) => ReactNode;
|
|
690
|
-
customCellComponent?: (row:
|
|
697
|
+
customCellComponent?: (row: UnknownObjectInterface) => ReactNode;
|
|
691
698
|
}
|
|
692
699
|
interface SortableTableProps {
|
|
693
700
|
cells: Array<CellInterface>;
|
|
694
|
-
data: Array<
|
|
701
|
+
data: Array<UnknownObjectInterface>;
|
|
695
702
|
sortBy: Array<{
|
|
696
703
|
keyName: string;
|
|
697
704
|
ascending: boolean;
|
|
@@ -780,4 +787,4 @@ declare const Label: FC<LabelProps>;
|
|
|
780
787
|
declare const Paragraph: FC<ParagraphProps>;
|
|
781
788
|
declare const Span: FC<SpanProps>;
|
|
782
789
|
|
|
783
|
-
export { AppColors, AspectRatioTypes, Box, Button, Checkbox, ColorStyleInterface, ColorTypes, DropDown, DropDownItem, FacetButton, FlexStylingInterface, FontFamilyTypes, FormSkeleton, Grid, Heading, HierarchyInterface, HierarchyTypes, Icon, IconButton, IconStyleInterface, IconTypes, Image, InlineButton, Label, ListItem, ListSkeleton, MarginInterface, MultiActionButton, PaddingInterface, Paragraph, RadioButton, Separator, SizeStyleInterface, SizeTypes, SolidSpinner, SortableTable, Span, SwitchButton, ToolTip };
|
|
790
|
+
export { AppColors, AspectRatioTypes, Box, Button, Checkbox, ColorStyleInterface, ColorTypes, DropDown, DropDownItem, FacetButton, FlexStylingInterface, FontFamilyTypes, FormSkeleton, Grid, Heading, HierarchyInterface, HierarchyTypes, Icon, IconButton, IconStyleInterface, IconTypes, Image, InlineButton, Label, ListItem, ListSkeleton, MarginInterface, MultiActionButton, PaddingInterface, Paragraph, RadioButton, Separator, SizeStyleInterface, SizeTypes, SolidSpinner, SortableTable, Span, SwitchButton, ToolTip, UnknownObjectInterface };
|