linear-react-components-ui 0.4.77-beta.25 → 0.4.77-beta.27
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.json +2 -0
- package/.vscode/settings.json +2 -2
- package/babel.config.json +11 -0
- package/lib/@types/Align.d.ts +3 -0
- package/lib/@types/ButtonTypes.d.ts +3 -0
- package/lib/@types/ColorStyles.d.ts +3 -0
- package/lib/@types/DataCombo.d.ts +3 -0
- package/lib/@types/Icon.d.ts +5 -0
- package/lib/@types/LabelStyles.d.ts +3 -0
- package/lib/@types/Period.d.ts +6 -0
- package/lib/@types/PermissionAttr.d.ts +14 -0
- package/lib/@types/PointerEvents.d.ts +3 -0
- package/lib/@types/Position.d.ts +3 -0
- package/lib/@types/PositionAlert.d.ts +3 -0
- package/lib/@types/Size.d.ts +3 -0
- package/lib/@types/SizePixels.d.ts +3 -0
- package/lib/@types/StorageMock.d.ts +5 -0
- package/lib/alerts/AlertContainer.d.ts +16 -0
- package/lib/alerts/AlertProvider.d.ts +7 -0
- package/lib/alerts/AlertProvider.js +1 -1
- package/lib/alerts/BaseAlert.d.ts +7 -0
- package/lib/alerts/Message.d.ts +7 -0
- package/lib/alerts/helpers.d.ts +7 -0
- package/lib/alerts/index.d.ts +6 -0
- package/lib/alerts/types.d.ts +48 -0
- package/lib/alerts/withAlert.d.ts +7 -0
- package/lib/alerts/withAlert.js +5 -3
- package/lib/avatar/index.d.ts +12 -0
- package/lib/avatar/types.d.ts +31 -0
- package/lib/badge/index.d.ts +6 -0
- package/lib/badge/types.d.ts +13 -0
- package/lib/buttons/ActivateButton.d.ts +9 -0
- package/lib/buttons/AddButton.d.ts +9 -0
- package/lib/buttons/Button.d.ts +12 -0
- package/lib/buttons/ButtonGroups.d.ts +8 -0
- package/lib/buttons/CancelButton.d.ts +9 -0
- package/lib/buttons/DangerButton.d.ts +9 -0
- package/lib/buttons/DefaultButton.d.ts +12 -0
- package/lib/buttons/DefaultButton.js +5 -3
- package/lib/buttons/DestroyButton.d.ts +9 -0
- package/lib/buttons/EditButton.d.ts +9 -0
- package/lib/buttons/InactivateButton.d.ts +9 -0
- package/lib/buttons/InfoButton.d.ts +9 -0
- package/lib/buttons/PrimaryButton.d.ts +9 -0
- package/lib/buttons/RestoreButton.d.ts +9 -0
- package/lib/buttons/SaveButton.d.ts +9 -0
- package/lib/buttons/SuccessButton.d.ts +9 -0
- package/lib/buttons/WarningButton.d.ts +9 -0
- package/lib/buttons/button_container/index.d.ts +12 -0
- package/lib/buttons/index.d.ts +21 -0
- package/lib/buttons/split_button/index.d.ts +9 -0
- package/lib/buttons/split_button/index.js +22 -2
- package/lib/buttons/types.d.ts +44 -0
- package/lib/calendar/DangerCalendar.d.ts +7 -0
- package/lib/calendar/InfoCalendar.d.ts +7 -0
- package/lib/calendar/PrimaryCalendar.d.ts +7 -0
- package/lib/calendar/SuccessCalendar.d.ts +7 -0
- package/lib/calendar/WarningCalendar.d.ts +7 -0
- package/lib/calendar/base/Day.d.ts +7 -0
- package/lib/calendar/base/Month.d.ts +7 -0
- package/lib/calendar/base/Week.d.ts +7 -0
- package/lib/calendar/base/helpers.d.ts +62 -0
- package/lib/calendar/base/helpers.js +1 -1
- package/lib/calendar/base/index.d.ts +7 -0
- package/lib/calendar/index.d.ts +10 -0
- package/lib/calendar/types.d.ts +25 -0
- package/lib/checkbox/Label.d.ts +11 -0
- package/lib/checkbox/index.d.ts +13 -0
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/types.d.ts +42 -0
- package/lib/dialog/Alert.d.ts +6 -0
- package/lib/dialog/Custom.d.ts +6 -0
- package/lib/dialog/Custom.js +4 -4
- package/lib/dialog/Error.d.ts +6 -0
- package/lib/dialog/Information.d.ts +6 -0
- package/lib/dialog/Question.d.ts +6 -0
- package/lib/dialog/Warning.d.ts +6 -0
- package/lib/dialog/base/Content.d.ts +6 -0
- package/lib/dialog/base/Footer.d.ts +6 -0
- package/lib/dialog/base/Header.d.ts +6 -0
- package/lib/dialog/base/index.d.ts +6 -0
- package/lib/dialog/form/index.d.ts +6 -0
- package/lib/dialog/index.d.ts +10 -0
- package/lib/dialog/types.d.ts +68 -0
- package/lib/drawer/Content.d.ts +7 -0
- package/lib/drawer/Drawer.d.ts +7 -0
- package/lib/drawer/Drawer.js +1 -1
- package/lib/drawer/Header.d.ts +7 -0
- package/lib/drawer/helpers.d.ts +7 -0
- package/lib/drawer/index.d.ts +9 -0
- package/lib/drawer/types.d.ts +34 -0
- package/lib/dropdown/Popup.d.ts +6 -0
- package/lib/dropdown/Popup.js +4 -2
- package/lib/dropdown/helper.d.ts +4 -0
- package/lib/dropdown/types.d.ts +43 -0
- package/lib/dropdown/withDropdown.d.ts +10 -0
- package/lib/dropdown/withDropdown.js +3 -1
- package/lib/fieldset/index.d.ts +8 -0
- package/lib/fieldset/index.js +1 -1
- package/lib/fieldset/types.d.ts +28 -0
- package/lib/form/Field.d.ts +6 -0
- package/lib/form/Field.js +11 -38
- package/lib/form/FieldArray.d.ts +6 -0
- package/lib/form/FieldArray.js +18 -48
- package/lib/form/FieldNumber.d.ts +6 -0
- package/lib/form/FieldNumber.js +2 -26
- package/lib/form/FieldPeriod.d.ts +6 -0
- package/lib/form/FieldPeriod.js +18 -40
- package/lib/form/helpers.d.ts +11 -0
- package/lib/form/helpers.js +10 -16
- package/lib/form/index.d.ts +9 -0
- package/lib/form/index.js +50 -85
- package/lib/form/types.d.ts +168 -0
- package/lib/{treetable/types.d.js → form/types.js} +0 -0
- package/lib/form/withFieldHOC.d.ts +6 -0
- package/lib/form/withFieldHOC.js +38 -118
- package/lib/form/withFormSecurity.d.ts +7 -0
- package/lib/form/withFormSecurity.js +13 -34
- package/lib/gridlayout/GridCol.d.ts +6 -0
- package/lib/gridlayout/GridRow.d.ts +6 -0
- package/lib/gridlayout/index.d.ts +5 -0
- package/lib/gridlayout/types.d.ts +20 -0
- package/lib/icons/helper.d.ts +560 -0
- package/lib/icons/index.d.ts +8 -0
- package/lib/icons/types.d.ts +28 -0
- package/lib/index.d.ts +35 -0
- package/lib/inputs/base/InputTextBase.d.ts +8 -0
- package/lib/inputs/base/InputTextBase.js +2 -2
- package/lib/inputs/base/helpers.d.ts +14 -0
- package/lib/inputs/base/helpers.js +1 -1
- package/lib/inputs/base/types.d.ts +68 -0
- package/lib/inputs/color/index.d.ts +7 -0
- package/lib/inputs/color/types.d.ts +14 -0
- package/lib/inputs/date/Dialog.d.ts +10 -0
- package/lib/inputs/date/Dropdown.d.ts +10 -0
- package/lib/inputs/date/helpers.d.ts +14 -0
- package/lib/inputs/date/index.d.ts +10 -0
- package/lib/inputs/date/types.d.ts +53 -0
- package/lib/inputs/inputHOC.d.ts +11 -0
- package/lib/inputs/mask/BaseMask.d.ts +12 -0
- package/lib/inputs/mask/Cnpj.d.ts +12 -0
- package/lib/inputs/mask/Cnpj.js +3 -1
- package/lib/inputs/mask/Cpf.d.ts +12 -0
- package/lib/inputs/mask/Cpf.js +5 -2
- package/lib/inputs/mask/Phone.d.ts +9 -0
- package/lib/inputs/mask/ZipCode.d.ts +9 -0
- package/lib/inputs/mask/helpers.d.ts +14 -0
- package/lib/inputs/mask/imaskHOC.d.ts +14 -0
- package/lib/inputs/mask/imaskHOC.js +9 -10
- package/lib/inputs/mask/index.d.ts +11 -0
- package/lib/inputs/mask/types.d.ts +66 -0
- package/lib/inputs/multiSelect/ActionButtons.d.ts +10 -0
- package/lib/inputs/multiSelect/Dropdown.d.ts +10 -0
- package/lib/inputs/multiSelect/helper.d.ts +9 -0
- package/lib/inputs/multiSelect/index.d.ts +10 -0
- package/lib/inputs/multiSelect/index.js +6 -3
- package/lib/inputs/multiSelect/types.d.ts +49 -0
- package/lib/inputs/number/BaseNumber.d.ts +12 -0
- package/lib/inputs/number/BaseNumber.js +1 -1
- package/lib/inputs/number/Currency.d.ts +12 -0
- package/lib/inputs/number/Decimal.d.ts +12 -0
- package/lib/inputs/number/format_number.d.ts +4 -0
- package/lib/inputs/number/index.d.ts +14 -0
- package/lib/inputs/number/types.d.ts +30 -0
- package/lib/inputs/period/Dialog.d.ts +11 -0
- package/lib/inputs/period/Dropdown.d.ts +11 -0
- package/lib/inputs/period/PeriodList.d.ts +11 -0
- package/lib/inputs/period/helper.d.ts +19 -0
- package/lib/inputs/period/index.d.ts +11 -0
- package/lib/inputs/period/index.js +7 -5
- package/lib/inputs/period/types.d.ts +58 -0
- package/lib/inputs/search/index.d.ts +11 -0
- package/lib/inputs/search/index.js +0 -3
- package/lib/inputs/select/ActionButtons.d.ts +11 -0
- package/lib/inputs/select/Dropdown.d.ts +11 -0
- package/lib/inputs/select/helper.d.ts +25 -0
- package/lib/inputs/select/index.d.ts +10 -0
- package/lib/inputs/select/index.js +3 -1
- package/lib/inputs/select/multiple/Selecteds.d.ts +10 -0
- package/lib/inputs/select/multiple/index.d.ts +10 -0
- package/lib/inputs/select/simple/index.d.ts +10 -0
- package/lib/inputs/select/simple/index.js +19 -1
- package/lib/inputs/select/types.d.ts +98 -0
- package/lib/inputs/text/index.d.ts +11 -0
- package/lib/inputs/text/types.d.ts +25 -0
- package/lib/inputs/textarea/index.d.ts +9 -0
- package/lib/inputs/textarea/types.d.ts +13 -0
- package/lib/inputs/types.d.ts +146 -0
- package/lib/internals/colorStyles.d.ts +9 -0
- package/lib/internals/constants.d.ts +11 -0
- package/lib/internals/types.d.ts +21 -0
- package/lib/internals/withTooltip.d.ts +11 -0
- package/lib/labelMessages/index.d.ts +7 -0
- package/lib/labelMessages/types.d.ts +18 -0
- package/lib/labels/DangerLabel.d.ts +9 -0
- package/lib/labels/DefaultLabel.d.ts +12 -0
- package/lib/labels/DefaultLabel.js +1 -1
- package/lib/labels/InfoLabel.d.ts +9 -0
- package/lib/labels/PrimaryLabel.d.ts +9 -0
- package/lib/labels/SuccessLabel.d.ts +9 -0
- package/lib/labels/WarningLabel.d.ts +9 -0
- package/lib/labels/index.d.ts +13 -0
- package/lib/labels/label_container/index.d.ts +12 -0
- package/lib/labels/types.d.ts +24 -0
- package/lib/list/Header.d.ts +7 -0
- package/lib/list/Item.d.ts +7 -0
- package/lib/list/Item.js +8 -6
- package/lib/list/Separator.d.ts +3 -0
- package/lib/list/helpers.d.ts +12 -0
- package/lib/list/helpers.js +8 -3
- package/lib/list/index.d.ts +10 -0
- package/lib/list/index.js +87 -18
- package/lib/list/types.d.ts +64 -0
- package/lib/menus/float/MenuItem.d.ts +7 -0
- package/lib/menus/float/helpers.d.ts +7 -0
- package/lib/menus/float/index.d.ts +8 -0
- package/lib/menus/float/types.d.ts +27 -0
- package/lib/menus/index.d.ts +6 -0
- package/lib/menus/sidenav/ExpandMenu.d.ts +10 -0
- package/lib/menus/sidenav/MenuLink.d.ts +13 -0
- package/lib/menus/sidenav/NavMenuGroup.d.ts +10 -0
- package/lib/menus/sidenav/NavMenuItem.d.ts +13 -0
- package/lib/menus/sidenav/NavMenuItem.js +1 -1
- package/lib/menus/sidenav/NavSubMenuItem.d.ts +10 -0
- package/lib/menus/sidenav/NavSubMenuItem.js +1 -1
- package/lib/menus/sidenav/helpers.d.ts +12 -0
- package/lib/menus/sidenav/index.d.ts +14 -0
- package/lib/menus/sidenav/popup_menu_search/EmptyList.d.ts +10 -0
- package/lib/menus/sidenav/popup_menu_search/index.d.ts +10 -0
- package/lib/menus/sidenav/types.d.ts +82 -0
- package/lib/noPermission/index.d.ts +3 -0
- package/lib/panel/Content.d.ts +8 -0
- package/lib/panel/DangerPanel.d.ts +8 -0
- package/lib/panel/Default.d.ts +8 -0
- package/lib/panel/Default.js +1 -1
- package/lib/panel/Header.d.ts +8 -0
- package/lib/panel/InfoPanel.d.ts +8 -0
- package/lib/panel/PrimaryPanel.d.ts +8 -0
- package/lib/panel/SuccessPanel.d.ts +8 -0
- package/lib/panel/ToolBar.d.ts +8 -0
- package/lib/panel/WarningPanel.d.ts +8 -0
- package/lib/panel/helpers.d.ts +4 -0
- package/lib/panel/index.d.ts +13 -0
- package/lib/panel/types.d.ts +4 -0
- package/lib/permissionValidations.d.ts +14 -0
- package/lib/permissionValidations.js +14 -12
- package/lib/popover/PopoverText.d.ts +8 -0
- package/lib/popover/PopoverTitle.d.ts +8 -0
- package/lib/popover/index.d.ts +13 -0
- package/lib/popover/types.d.ts +21 -0
- package/lib/progress/Bar.d.ts +6 -0
- package/lib/progress/index.d.ts +7 -0
- package/lib/progress/types.d.ts +37 -0
- package/lib/radio/index.d.ts +12 -0
- package/lib/radio/index.js +1 -1
- package/lib/radio/types.d.ts +18 -0
- package/lib/skeleton/SkeletonContainer.d.ts +7 -0
- package/lib/skeleton/SkeletonContainer.js +0 -13
- package/lib/skeleton/index.d.ts +8 -0
- package/lib/skeleton/index.js +6 -25
- package/lib/skeleton/types.d.ts +21 -0
- package/lib/skeleton/types.js +5 -0
- package/lib/spinner/SpinnerLoading.d.ts +7 -0
- package/lib/spinner/index.d.ts +7 -0
- package/lib/spinner/types.d.ts +20 -0
- package/lib/split/Split.d.ts +6 -0
- package/lib/split/SplitSide.d.ts +6 -0
- package/lib/split/helpers.d.ts +10 -0
- package/lib/split/index.d.ts +5 -0
- package/lib/split/types.d.ts +34 -0
- package/lib/table/Body.d.ts +6 -0
- package/lib/table/Header.d.ts +6 -0
- package/lib/table/Header.js +34 -6
- package/lib/table/HeaderColumn.d.ts +6 -0
- package/lib/table/HeaderColumn.js +1 -1
- package/lib/table/Row.d.ts +6 -0
- package/lib/table/Row.js +4 -9
- package/lib/table/RowColumn.d.ts +6 -0
- package/lib/table/RowColumn.js +2 -2
- package/lib/table/helpers.d.ts +8 -0
- package/lib/table/index.d.ts +11 -0
- package/lib/table/types.d.ts +84 -0
- package/lib/tabs/DropdownItems.d.ts +9 -0
- package/lib/tabs/Menu.d.ts +9 -0
- package/lib/tabs/MenuItems.d.ts +9 -0
- package/lib/tabs/MenuItems.js +1 -1
- package/lib/tabs/Panel.d.ts +9 -0
- package/lib/tabs/Panel.js +1 -1
- package/lib/tabs/index.d.ts +10 -0
- package/lib/tabs/tabHelpers.d.ts +21 -0
- package/lib/tabs/types.d.ts +63 -0
- package/lib/toolbar/ButtonBar.d.ts +10 -0
- package/lib/toolbar/LabelBar.d.ts +10 -0
- package/lib/toolbar/LabelBar.js +1 -1
- package/lib/toolbar/Separator.d.ts +3 -0
- package/lib/toolbar/ToolBarGroup.d.ts +10 -0
- package/lib/toolbar/helpers.d.ts +10 -0
- package/lib/toolbar/index.d.ts +14 -0
- package/lib/toolbar/index.js +2 -3
- package/lib/toolbar/types.d.ts +43 -0
- package/lib/tooltip/index.d.ts +6 -0
- package/lib/tooltip/types.d.ts +16 -0
- package/lib/treeview/Header.d.ts +7 -0
- package/lib/treeview/Node.d.ts +7 -0
- package/lib/treeview/Node.js +30 -18
- package/lib/treeview/constants.d.ts +7 -0
- package/lib/treeview/constants.js +0 -1
- package/lib/treeview/index.d.ts +9 -0
- package/lib/treeview/index.js +28 -21
- package/lib/treeview/types.d.ts +104 -0
- package/lib/types-3c6f1c20.d.ts +46 -0
- package/lib/uitour/helpers.d.ts +8 -0
- package/lib/uitour/index.d.ts +6 -0
- package/lib/uitour/index.js +11 -28
- package/lib/uitour/types.d.ts +30 -0
- package/lib/uitour/types.js +5 -0
- package/package.json +15 -5
- package/tsconfig.json +24 -9
- package/tsup.config.ts +10 -0
- package/images.d.ts +0 -3
- package/lib/alerts/alert.spec.js +0 -137
- package/lib/assets/styles/treetable.scss +0 -100
- package/lib/avatar/avatar.spec.js +0 -192
- package/lib/badge/badge.spec.js +0 -127
- package/lib/buttons/buttons.spec.js +0 -504
- package/lib/calendar/calendar.spec.js +0 -173
- package/lib/checkbox/checkbox.spec.js +0 -216
- package/lib/dialog/dialog.spec.js +0 -492
- package/lib/drawer/Drawer.spec.js +0 -261
- package/lib/dropdown/dropdown.spec.js +0 -181
- package/lib/fieldset/fieldset.spec.js +0 -329
- package/lib/form/form.spec.js +0 -295
- package/lib/gridlayout/gridLayout.spec.js +0 -169
- package/lib/icons/icons.spec.js +0 -86
- package/lib/inputs/base/base.spec.js +0 -691
- package/lib/inputs/color/color_input.spec.js +0 -174
- package/lib/inputs/date/date.spec.js +0 -352
- package/lib/inputs/mask/input_mask.spec.js +0 -584
- package/lib/inputs/number/numberfield.spec.js +0 -216
- package/lib/inputs/search/search_input.spec.js +0 -215
- package/lib/inputs/select/select.spec.js +0 -408
- package/lib/inputs/text/textfield.spec.js +0 -215
- package/lib/inputs/textarea/textarea.spec.js +0 -59
- package/lib/labelMessages/labelMessages.spec.js +0 -176
- package/lib/labels/label.spec.js +0 -162
- package/lib/list/list.spec.js +0 -739
- package/lib/menus/float/float-menu.spec.js +0 -227
- package/lib/menus/sidenav/sidenav.spec.js +0 -383
- package/lib/panel/panel.spec.js +0 -216
- package/lib/popover/popover.spec.js +0 -146
- package/lib/progress/progress.spec.js +0 -94
- package/lib/radio/radio.spec.js +0 -191
- package/lib/spinner/spinner.spec.js +0 -156
- package/lib/split/split.spec.js +0 -168
- package/lib/table/table.spec.js +0 -353
- package/lib/tabs/tabs.spec.js +0 -314
- package/lib/toolbar/toolbar.spec.js +0 -394
- package/lib/tooltip/tooltip.spec.js +0 -222
- package/lib/treetable/Body.js +0 -64
- package/lib/treetable/Header.js +0 -37
- package/lib/treetable/Row.js +0 -317
- package/lib/treetable/helpers.js +0 -51
- package/lib/treetable/index.js +0 -35
- package/lib/treeview/treeview.spec.js +0 -289
- package/lib/uitour/uitour.spec.js +0 -176
package/.eslintrc.json
CHANGED
|
@@ -68,6 +68,8 @@
|
|
|
68
68
|
"plugins": ["react", "@typescript-eslint", "class-property"],
|
|
69
69
|
"rules": {
|
|
70
70
|
"react/jsx-indent": "off",
|
|
71
|
+
"react/jsx-uses-react": "off",
|
|
72
|
+
"react/react-in-jsx-scope": "off",
|
|
71
73
|
"@typescript-eslint/indent": ["error", 2],
|
|
72
74
|
"import/prefer-default-export": [0],
|
|
73
75
|
"react/jsx-filename-extension": [1, { "extensions": [".ts", ".tsx"] }],
|
package/.vscode/settings.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"files.exclude": {
|
|
3
|
-
"config": true,
|
|
3
|
+
// "config": true,
|
|
4
4
|
"coverage": true,
|
|
5
5
|
"node_modules": true,
|
|
6
6
|
"scripts": true,
|
|
7
7
|
"yarn.lock": true,
|
|
8
8
|
".eslintrc.js": true,
|
|
9
|
-
".gitignore": true,
|
|
9
|
+
// ".gitignore": true,
|
|
10
10
|
},
|
|
11
11
|
"editor.codeActionsOnSave": {
|
|
12
12
|
"source.fixAll.eslint": true
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare type PermissionAttr = {
|
|
2
|
+
module?: string;
|
|
3
|
+
feature?: string;
|
|
4
|
+
operation?: string;
|
|
5
|
+
onDenied?: string;
|
|
6
|
+
};
|
|
7
|
+
declare type OnDenied = {
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
unvisible?: boolean;
|
|
10
|
+
readOnly?: boolean;
|
|
11
|
+
hideContent?: boolean;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { OnDenied, PermissionAttr };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IMessageProps, DefaultMessageConfigType } from './types.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../@types/PositionAlert.js';
|
|
4
|
+
|
|
5
|
+
declare class AlertContainer {
|
|
6
|
+
pushAlert: (params: IMessageProps) => void;
|
|
7
|
+
constructor(pushAlert: (params: IMessageProps) => void);
|
|
8
|
+
default(messageConfig: DefaultMessageConfigType): void;
|
|
9
|
+
info: (message: string, options: IMessageProps) => void;
|
|
10
|
+
danger: (message: string, options: IMessageProps) => void;
|
|
11
|
+
warning: (message: string, options: IMessageProps) => void;
|
|
12
|
+
success: (message: string, options: IMessageProps) => void;
|
|
13
|
+
custom: (message: string, options: IMessageProps) => void;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { AlertContainer as default };
|
|
@@ -105,7 +105,7 @@ var AlertProvider = function AlertProvider(props) {
|
|
|
105
105
|
});
|
|
106
106
|
|
|
107
107
|
return /*#__PURE__*/_react.default.createElement(_helpers.default.Provider, {
|
|
108
|
-
value: contextValues
|
|
108
|
+
value: _extends({}, contextValues)
|
|
109
109
|
}, /*#__PURE__*/_react.default.createElement(_BaseAlert.default, null, elements), children);
|
|
110
110
|
};
|
|
111
111
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IMessageProps } from './types.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../@types/PositionAlert.js';
|
|
4
|
+
|
|
5
|
+
declare const Message: ({ handleClose, message, id, color, icon, iconName, timeout, customClass, closeButton, className, position, }: IMessageProps) => JSX.Element;
|
|
6
|
+
|
|
7
|
+
export { Message as default };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { PositionAlert } from '../@types/PositionAlert.js';
|
|
3
|
+
|
|
4
|
+
declare type AlertContainerMethods = {
|
|
5
|
+
default: (messageConfig: DefaultMessageConfigType) => void;
|
|
6
|
+
info: (message: string, options: IMessageProps) => void;
|
|
7
|
+
custom: (message: string, options: IMessageProps) => void;
|
|
8
|
+
danger: (message: string, options: IMessageProps) => void;
|
|
9
|
+
warning: (message: string, options: IMessageProps) => void;
|
|
10
|
+
success: (message: string, options: IMessageProps) => void;
|
|
11
|
+
};
|
|
12
|
+
declare type DefaultMessageConfigType = {
|
|
13
|
+
message: string;
|
|
14
|
+
options: IMessageProps & {
|
|
15
|
+
type: 'info' | 'warning' | 'danger' | 'success';
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
interface IMessageProps {
|
|
19
|
+
id?: number;
|
|
20
|
+
position?: PositionAlert;
|
|
21
|
+
message?: string;
|
|
22
|
+
handleClose?: (id: number, position: string) => void;
|
|
23
|
+
className?: string;
|
|
24
|
+
closeButton?: boolean;
|
|
25
|
+
color?: string;
|
|
26
|
+
customClass?: string;
|
|
27
|
+
icon?: ReactNode | null;
|
|
28
|
+
iconName?: string;
|
|
29
|
+
timeout?: number;
|
|
30
|
+
}
|
|
31
|
+
interface IBaseAlertProps {
|
|
32
|
+
children: ReactNode;
|
|
33
|
+
}
|
|
34
|
+
interface IAlertProviderProps {
|
|
35
|
+
children: ReactNode;
|
|
36
|
+
}
|
|
37
|
+
interface WithAlertContextProps {
|
|
38
|
+
alert?: AlertContainerMethods;
|
|
39
|
+
}
|
|
40
|
+
declare type GetClassParams = {
|
|
41
|
+
customClass?: string;
|
|
42
|
+
className?: string;
|
|
43
|
+
};
|
|
44
|
+
declare type MessagesState = {
|
|
45
|
+
[key: string]: Array<IMessageProps>;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export { AlertContainerMethods, DefaultMessageConfigType, GetClassParams, IAlertProviderProps, IBaseAlertProps, IMessageProps, MessagesState, WithAlertContextProps };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { WithAlertContextProps } from './types.js';
|
|
3
|
+
import '../@types/PositionAlert.js';
|
|
4
|
+
|
|
5
|
+
declare const withAlert: <ComponentProps extends WithAlertContextProps>(WrapperComponent: React__default.ComponentType<ComponentProps>) => (props: ComponentProps) => JSX.Element;
|
|
6
|
+
|
|
7
|
+
export { withAlert as default };
|
package/lib/alerts/withAlert.js
CHANGED
|
@@ -17,14 +17,16 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
17
17
|
|
|
18
18
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
19
19
|
|
|
20
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
21
|
+
|
|
20
22
|
var withAlert = function withAlert(WrapperComponent) {
|
|
21
|
-
var GetAlert = function GetAlert() {
|
|
23
|
+
var GetAlert = function GetAlert(props) {
|
|
22
24
|
var _useContext = (0, _react.useContext)(_helpers.default),
|
|
23
25
|
alert = _useContext.alert;
|
|
24
26
|
|
|
25
|
-
return /*#__PURE__*/_react.default.createElement(WrapperComponent, {
|
|
27
|
+
return /*#__PURE__*/_react.default.createElement(WrapperComponent, _extends({}, props, {
|
|
26
28
|
alert: alert
|
|
27
|
-
});
|
|
29
|
+
}));
|
|
28
30
|
};
|
|
29
31
|
|
|
30
32
|
return GetAlert;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IAvatarProps } from './types.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../@types/Icon.js';
|
|
4
|
+
import '../icons/helper.js';
|
|
5
|
+
import '../@types/Size.js';
|
|
6
|
+
|
|
7
|
+
declare const _default: {
|
|
8
|
+
(props: IAvatarProps): JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export { _default as default };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { MouseEvent, ReactElement, ReactNode, CSSProperties } from 'react';
|
|
2
|
+
import { IconNames } from '../@types/Icon.js';
|
|
3
|
+
import { Size } from '../@types/Size.js';
|
|
4
|
+
import '../icons/helper.js';
|
|
5
|
+
|
|
6
|
+
interface IAvatarProps {
|
|
7
|
+
onClick?: (event: MouseEvent) => void;
|
|
8
|
+
size?: Size;
|
|
9
|
+
width?: string;
|
|
10
|
+
height?: string;
|
|
11
|
+
color?: string;
|
|
12
|
+
iconName?: IconNames;
|
|
13
|
+
icon?: ReactElement;
|
|
14
|
+
src?: string;
|
|
15
|
+
srcAlt?: string;
|
|
16
|
+
children?: ReactNode;
|
|
17
|
+
square?: boolean;
|
|
18
|
+
customClass?: string;
|
|
19
|
+
className?: string;
|
|
20
|
+
targetRef?: (ref: HTMLDivElement | null) => void;
|
|
21
|
+
dropdown?: boolean;
|
|
22
|
+
dropdownOnHover?: boolean;
|
|
23
|
+
showDropdown?: () => void;
|
|
24
|
+
getDropdownPopup?: (ref: HTMLDivElement | null) => ReactNode;
|
|
25
|
+
label?: string;
|
|
26
|
+
style?: CSSProperties;
|
|
27
|
+
id?: string;
|
|
28
|
+
disabled?: boolean;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { IAvatarProps };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
interface IBadgeProps {
|
|
4
|
+
color?: 'default' | 'primary' | 'danger' | 'warning' | 'success' | 'info';
|
|
5
|
+
top?: string;
|
|
6
|
+
right?: string;
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
customClass?: string;
|
|
9
|
+
customClassForBadge?: string;
|
|
10
|
+
content?: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { IBadgeProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IButtonProps } from './types.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../@types/PermissionAttr.js';
|
|
4
|
+
import '../@types/Position.js';
|
|
5
|
+
import '../@types/Size.js';
|
|
6
|
+
|
|
7
|
+
declare const ActivateButton: (props: IButtonProps) => JSX.Element;
|
|
8
|
+
|
|
9
|
+
export { ActivateButton as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IButtonProps } from './types.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../@types/PermissionAttr.js';
|
|
4
|
+
import '../@types/Position.js';
|
|
5
|
+
import '../@types/Size.js';
|
|
6
|
+
|
|
7
|
+
declare const AddButton: (props: IButtonProps) => JSX.Element;
|
|
8
|
+
|
|
9
|
+
export { AddButton as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IButtonProps } from './types.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../@types/PermissionAttr.js';
|
|
4
|
+
import '../@types/Position.js';
|
|
5
|
+
import '../@types/Size.js';
|
|
6
|
+
|
|
7
|
+
interface ButtonProps extends IButtonProps {
|
|
8
|
+
split?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const Button: ({ split, ...rest }: ButtonProps) => JSX.Element;
|
|
11
|
+
|
|
12
|
+
export { Button as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IButtonProps } from './types.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../@types/PermissionAttr.js';
|
|
4
|
+
import '../@types/Position.js';
|
|
5
|
+
import '../@types/Size.js';
|
|
6
|
+
|
|
7
|
+
declare const CancelButton: ({ customClass, ...rest }: IButtonProps) => JSX.Element;
|
|
8
|
+
|
|
9
|
+
export { CancelButton as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IButtonProps } from './types.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../@types/PermissionAttr.js';
|
|
4
|
+
import '../@types/Position.js';
|
|
5
|
+
import '../@types/Size.js';
|
|
6
|
+
|
|
7
|
+
declare const DangerButton: ({ customClass, ...rest }: IButtonProps) => JSX.Element;
|
|
8
|
+
|
|
9
|
+
export { DangerButton as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IButtonProps } from './types.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../@types/PermissionAttr.js';
|
|
4
|
+
import '../@types/Position.js';
|
|
5
|
+
import '../@types/Size.js';
|
|
6
|
+
|
|
7
|
+
declare const _default: {
|
|
8
|
+
(props: Omit<IButtonProps, "split">): JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export { _default as default };
|
|
@@ -93,12 +93,12 @@ var DefaultButton = function DefaultButton(_ref) {
|
|
|
93
93
|
activeButton = _useState2[0],
|
|
94
94
|
setActiveButton = _useState2[1];
|
|
95
95
|
|
|
96
|
-
var _useState3 = (0, _react.useState)((0, _permissionValidations.actionsOnPermissionDenied)(
|
|
96
|
+
var _useState3 = (0, _react.useState)((0, _permissionValidations.actionsOnPermissionDenied)(options, permissionAttr)),
|
|
97
97
|
_useState4 = _slicedToArray(_useState3, 1),
|
|
98
98
|
onDenied = _useState4[0];
|
|
99
99
|
|
|
100
|
-
var disabledIconColor = 'rgb(193, 193, 193)';
|
|
101
100
|
var buttonRef = (0, _react.useRef)(null);
|
|
101
|
+
var disabledIconColor = 'rgb(193, 193, 193)';
|
|
102
102
|
|
|
103
103
|
var shouldDisable = function shouldDisable() {
|
|
104
104
|
return !!onDenied.disabled || disabled;
|
|
@@ -150,6 +150,7 @@ var DefaultButton = function DefaultButton(_ref) {
|
|
|
150
150
|
|
|
151
151
|
if (!visible || onDenied.unvisible) return null;
|
|
152
152
|
return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement("button", _extends({}, rest, {
|
|
153
|
+
style: style,
|
|
153
154
|
onClick: function onClick(e) {
|
|
154
155
|
if (shouldDisable()) return;
|
|
155
156
|
if (_onClick) _onClick(e);
|
|
@@ -161,7 +162,8 @@ var DefaultButton = function DefaultButton(_ref) {
|
|
|
161
162
|
ref: function ref(r) {
|
|
162
163
|
if (targetRef) targetRef(r);
|
|
163
164
|
buttonRef.current = r;
|
|
164
|
-
}
|
|
165
|
+
},
|
|
166
|
+
tabIndex: tabIndex
|
|
165
167
|
}), content, getIcon(), label || '', isLoading && /*#__PURE__*/_react.default.createElement("div", {
|
|
166
168
|
className: "spinnercontainer"
|
|
167
169
|
}, /*#__PURE__*/_react.default.createElement(_spinner.default, {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IButtonProps } from './types.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../@types/PermissionAttr.js';
|
|
4
|
+
import '../@types/Position.js';
|
|
5
|
+
import '../@types/Size.js';
|
|
6
|
+
|
|
7
|
+
declare const DestroyButton: ({ icon, ...rest }: IButtonProps) => JSX.Element;
|
|
8
|
+
|
|
9
|
+
export { DestroyButton as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IButtonProps } from './types.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../@types/PermissionAttr.js';
|
|
4
|
+
import '../@types/Position.js';
|
|
5
|
+
import '../@types/Size.js';
|
|
6
|
+
|
|
7
|
+
declare const EditButton: (props: IButtonProps) => JSX.Element;
|
|
8
|
+
|
|
9
|
+
export { EditButton as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IButtonProps } from './types.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../@types/PermissionAttr.js';
|
|
4
|
+
import '../@types/Position.js';
|
|
5
|
+
import '../@types/Size.js';
|
|
6
|
+
|
|
7
|
+
declare const InactivateButton: (props: IButtonProps) => JSX.Element;
|
|
8
|
+
|
|
9
|
+
export { InactivateButton as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IButtonProps } from './types.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../@types/PermissionAttr.js';
|
|
4
|
+
import '../@types/Position.js';
|
|
5
|
+
import '../@types/Size.js';
|
|
6
|
+
|
|
7
|
+
declare const InfoButton: ({ customClass, ...rest }: IButtonProps) => JSX.Element;
|
|
8
|
+
|
|
9
|
+
export { InfoButton as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IButtonProps } from './types.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../@types/PermissionAttr.js';
|
|
4
|
+
import '../@types/Position.js';
|
|
5
|
+
import '../@types/Size.js';
|
|
6
|
+
|
|
7
|
+
declare const PrimaryButton: ({ customClass, ...rest }: IButtonProps) => JSX.Element;
|
|
8
|
+
|
|
9
|
+
export { PrimaryButton as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IButtonProps } from './types.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../@types/PermissionAttr.js';
|
|
4
|
+
import '../@types/Position.js';
|
|
5
|
+
import '../@types/Size.js';
|
|
6
|
+
|
|
7
|
+
declare const RestoreButton: (props: IButtonProps) => JSX.Element;
|
|
8
|
+
|
|
9
|
+
export { RestoreButton as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IButtonProps } from './types.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../@types/PermissionAttr.js';
|
|
4
|
+
import '../@types/Position.js';
|
|
5
|
+
import '../@types/Size.js';
|
|
6
|
+
|
|
7
|
+
declare const SaveButton: ({ customClass, ...rest }: IButtonProps) => JSX.Element;
|
|
8
|
+
|
|
9
|
+
export { SaveButton as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IButtonProps } from './types.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../@types/PermissionAttr.js';
|
|
4
|
+
import '../@types/Position.js';
|
|
5
|
+
import '../@types/Size.js';
|
|
6
|
+
|
|
7
|
+
declare const SuccessButton: ({ customClass, ...rest }: IButtonProps) => JSX.Element;
|
|
8
|
+
|
|
9
|
+
export { SuccessButton as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IButtonProps } from './types.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../@types/PermissionAttr.js';
|
|
4
|
+
import '../@types/Position.js';
|
|
5
|
+
import '../@types/Size.js';
|
|
6
|
+
|
|
7
|
+
declare const WarningButton: ({ customClass, ...rest }: IButtonProps) => JSX.Element;
|
|
8
|
+
|
|
9
|
+
export { WarningButton as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode, CSSProperties } from 'react';
|
|
2
|
+
import { Position } from '../../@types/Position.js';
|
|
3
|
+
|
|
4
|
+
interface IButtonContainerProps {
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
style?: CSSProperties;
|
|
7
|
+
customClass?: string;
|
|
8
|
+
position?: Extract<Position, 'left' | 'right'>;
|
|
9
|
+
}
|
|
10
|
+
declare const ButtonContainer: ({ style, customClass, position, children, }: IButtonContainerProps) => JSX.Element;
|
|
11
|
+
|
|
12
|
+
export { ButtonContainer as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export { default as ButtonContainer } from './button_container/index.js';
|
|
2
|
+
import Button from './Button.js';
|
|
3
|
+
export { default } from './Button.js';
|
|
4
|
+
export { default as PrimaryButton } from './PrimaryButton.js';
|
|
5
|
+
export { default as DangerButton } from './DangerButton.js';
|
|
6
|
+
export { default as WarningButton } from './WarningButton.js';
|
|
7
|
+
export { default as SuccessButton } from './SuccessButton.js';
|
|
8
|
+
export { default as InfoButton } from './InfoButton.js';
|
|
9
|
+
export { default as SaveButton } from './SaveButton.js';
|
|
10
|
+
export { default as CancelButton } from './CancelButton.js';
|
|
11
|
+
export { default as EditButton } from './EditButton.js';
|
|
12
|
+
export { default as DestroyButton } from './DestroyButton.js';
|
|
13
|
+
export { default as AddButton } from './AddButton.js';
|
|
14
|
+
export { default as ActivateButton } from './ActivateButton.js';
|
|
15
|
+
export { default as InactivateButton } from './InactivateButton.js';
|
|
16
|
+
export { default as RestoreButton } from './RestoreButton.js';
|
|
17
|
+
import 'react';
|
|
18
|
+
import '../@types/Position.js';
|
|
19
|
+
import './types.js';
|
|
20
|
+
import '../@types/PermissionAttr.js';
|
|
21
|
+
import '../@types/Size.js';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IButtonProps } from '../types.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../../@types/PermissionAttr.js';
|
|
4
|
+
import '../../@types/Position.js';
|
|
5
|
+
import '../../@types/Size.js';
|
|
6
|
+
|
|
7
|
+
declare const SplitButton: (props: IButtonProps) => JSX.Element;
|
|
8
|
+
|
|
9
|
+
export { SplitButton as default };
|
|
@@ -15,14 +15,34 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
|
|
|
15
15
|
|
|
16
16
|
var SplitButton = function SplitButton(props) {
|
|
17
17
|
var children = props.children,
|
|
18
|
-
customClass = props.customClass
|
|
18
|
+
customClass = props.customClass,
|
|
19
|
+
_props$size = props.size,
|
|
20
|
+
size = _props$size === void 0 ? 'default' : _props$size,
|
|
21
|
+
_props$boxShadow = props.boxShadow,
|
|
22
|
+
boxShadow = _props$boxShadow === void 0 ? true : _props$boxShadow,
|
|
23
|
+
_props$visible = props.visible,
|
|
24
|
+
visible = _props$visible === void 0 ? true : _props$visible,
|
|
25
|
+
permissionAttr = props.permissionAttr,
|
|
26
|
+
skeletonize = props.skeletonize,
|
|
27
|
+
_props$dropdownAlign = props.dropdownAlign,
|
|
28
|
+
dropdownAlign = _props$dropdownAlign === void 0 ? 'left' : _props$dropdownAlign;
|
|
29
|
+
var splitProps = {
|
|
30
|
+
customClass: customClass,
|
|
31
|
+
size: size,
|
|
32
|
+
boxShadow: boxShadow,
|
|
33
|
+
visible: visible,
|
|
34
|
+
permissionAttr: permissionAttr,
|
|
35
|
+
skeletonize: skeletonize,
|
|
36
|
+
dropdownAlign: dropdownAlign
|
|
37
|
+
};
|
|
19
38
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_DefaultButton.default, _extends({}, props, {
|
|
39
|
+
dropdownAlign: dropdownAlign,
|
|
20
40
|
style: {
|
|
21
41
|
borderRadius: '5px 0px 0px 5px',
|
|
22
42
|
borderRight: 0,
|
|
23
43
|
marginRight: 0
|
|
24
44
|
}
|
|
25
|
-
})), /*#__PURE__*/_react.default.createElement(_DefaultButton.default, _extends({},
|
|
45
|
+
})), /*#__PURE__*/_react.default.createElement(_DefaultButton.default, _extends({}, splitProps, {
|
|
26
46
|
iconName: "down",
|
|
27
47
|
customClass: "".concat(customClass, " -transparenttext"),
|
|
28
48
|
iconStyle: {
|