widenarrow-ui 0.1.23 → 0.1.25
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/notificationOff.d.ts +6 -0
- package/lib/assets/svg/notificationSettings.d.ts +6 -0
- package/lib/assets/svg/redo.d.ts +6 -0
- package/lib/components/FacetButton/FacetButton.d.ts +1 -0
- package/lib/components/MultiActionButton/MultiActionButton.d.ts +2 -1
- package/lib/constants.d.ts +6 -2
- package/lib/index.esm.js +435 -403
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +435 -403
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/assets/svg/notificationActive.tsx +6 -2
- package/src/assets/svg/notificationOff.tsx +17 -0
- package/src/assets/svg/notificationSettings.tsx +17 -0
- package/src/assets/svg/redo.tsx +13 -0
- package/src/assets/svg/undo.tsx +2 -3
- package/src/components/FacetButton/FacetButton.tsx +15 -1
- package/src/components/Icon/getIconFromConstant.tsx +12 -0
- package/src/components/IconButton/IconButton.module.scss +5 -0
- package/src/components/MultiActionButton/MultiActionButton.module.scss +12 -12
- package/src/components/MultiActionButton/MultiActionButton.tsx +11 -4
- package/src/constants.ts +6 -2
|
@@ -6,7 +6,8 @@ interface Props {
|
|
|
6
6
|
onRightClickCallback: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
7
7
|
type?: `${HierarchyTypes}`;
|
|
8
8
|
size?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
|
|
9
|
-
|
|
9
|
+
leftIconSize?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
|
|
10
|
+
rightIconSize?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
|
|
10
11
|
leftIcon?: `${IconTypes}`;
|
|
11
12
|
rightIcon?: `${IconTypes}`;
|
|
12
13
|
rotateLeftIconByDegree?: 0 | 45 | 90 | 135 | 180 | 225 | 270 | 315;
|
package/lib/constants.d.ts
CHANGED
|
@@ -116,6 +116,8 @@ export declare enum IconTypes {
|
|
|
116
116
|
NEWSLETTER_SENDER = "iconNewsLetterSender",
|
|
117
117
|
NOTIFICATION = "iconNotification",
|
|
118
118
|
NOTIFICATION_ACTIVE = "iconNotificationActive",
|
|
119
|
+
NOTIFICATION_SETTINGS = "iconNotificationSettings",
|
|
120
|
+
NOTIFICATION_OFF = "iconNotificationOff",
|
|
119
121
|
NO_CHANGE = "iconNoChange",
|
|
120
122
|
NO_DIRECTION = "iconNoDirection",
|
|
121
123
|
OPEN_IN_NEW = "iconOpenInNew",
|
|
@@ -160,7 +162,7 @@ export declare enum IconTypes {
|
|
|
160
162
|
STRATEGY = "iconStrategy",
|
|
161
163
|
SUBSCRIPTIONS = "iconSubscriptions",
|
|
162
164
|
SUGGESTION = "iconSuggestion",
|
|
163
|
-
SUMMARIZE = "
|
|
165
|
+
SUMMARIZE = "iconSummarize",
|
|
164
166
|
TAXONOMY = "iconTaxonomy",
|
|
165
167
|
TRANSLATE = "iconTranslate",
|
|
166
168
|
TRASH = "iconTrash",
|
|
@@ -182,7 +184,9 @@ export declare enum IconTypes {
|
|
|
182
184
|
WILL_BE_DELETED = "iconWillBeDeleted",
|
|
183
185
|
WORLD = "iconWorld",
|
|
184
186
|
ZOOM_IN = "iconZoomIn",
|
|
185
|
-
ZOOM_OUT = "iconZoomOut"
|
|
187
|
+
ZOOM_OUT = "iconZoomOut",
|
|
188
|
+
UNDO = "iconUndo",
|
|
189
|
+
REDO = "iconRedo"
|
|
186
190
|
}
|
|
187
191
|
export declare enum HierarchyTypes {
|
|
188
192
|
PRIMARY = "primary",
|