pixel-react 1.0.2 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/AddButton/AddButton.d.ts +5 -0
- package/lib/components/AddButton/AddButton.stories.d.ts +6 -0
- package/lib/components/AddButton/index.d.ts +1 -0
- package/lib/components/AddButton/types.d.ts +4 -0
- package/lib/components/AddResourceButton/type.d.ts +13 -10
- package/lib/components/InputWithDropdown/InputWithDropdown.d.ts +1 -1
- package/lib/components/InputWithDropdown/InputWithDropdown.stories.d.ts +1 -0
- package/lib/components/InputWithDropdown/types.d.ts +4 -0
- package/lib/components/MenuOption/types.d.ts +1 -1
- package/lib/components/Select/Select.d.ts +1 -1
- package/lib/components/Select/types.d.ts +5 -1
- package/lib/components/StateDropdown/StateDropdown.d.ts +3 -0
- package/lib/components/StateDropdown/StateDropdown.stories.d.ts +10 -0
- package/lib/components/StateDropdown/StateDropdownTypes.d.ts +11 -0
- package/lib/components/StateDropdown/index.d.ts +1 -0
- package/lib/components/StatusButton/StatusButton.d.ts +4 -0
- package/lib/components/StatusButton/StatusButton.stories.d.ts +14 -0
- package/lib/components/StatusButton/index.d.ts +1 -0
- package/lib/components/StatusButton/types.d.ts +35 -0
- package/lib/components/Tabs/Tabs.d.ts +1 -1
- package/lib/components/Tabs/Tabs.stories.d.ts +1 -0
- package/lib/components/Tabs/types.d.ts +6 -2
- package/lib/index.d.ts +76 -10
- package/lib/index.esm.js +287 -57
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +288 -56
- package/lib/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/StyleGuide/ColorPalette/ColorPalette.scss +4 -5
- package/src/StyleGuide/Typography/Typography.scss +4 -5
- package/src/assets/Themes/BaseTheme.scss +45 -16
- package/src/assets/Themes/DarkTheme.scss +48 -10
- package/src/assets/Themes/Theme.scss +7 -191
- package/src/assets/icons/active_license_icon.svg +3 -0
- package/src/assets/icons/delete.svg +2 -16
- package/src/assets/icons/delete_info.svg +17 -0
- package/src/assets/icons/details.svg +3 -0
- package/src/assets/icons/edit_icon.svg +5 -0
- package/src/assets/icons/expired_license_icon.svg +3 -0
- package/src/assets/icons/expiringSoon_license_icon.svg +3 -0
- package/src/assets/icons/export_collection_icon.svg +13 -0
- package/src/assets/icons/hide_icon.svg +9 -0
- package/src/assets/icons/impactList.svg +6 -0
- package/src/assets/icons/run_icon.svg +26 -0
- package/src/assets/icons/view_icon.svg +3 -0
- package/src/assets/utils/functionUtils.ts +5 -5
- package/src/components/Accordion/Accordion.scss +1 -2
- package/src/components/AddButton/AddButton.scss +38 -0
- package/src/components/AddButton/AddButton.stories.tsx +24 -0
- package/src/components/AddButton/AddButton.tsx +25 -0
- package/src/components/AddButton/index.ts +1 -0
- package/src/components/AddButton/types.ts +4 -0
- package/src/components/AddResourceButton/type.ts +42 -10
- package/src/components/Button/Button.scss +1 -1
- package/src/components/Button/index.ts +1 -1
- package/src/components/Charts/DonutChart/DonutChart.scss +1 -1
- package/src/components/Charts/RadialChart/RadialChart.scss +1 -1
- package/src/components/Drawer/Drawer.scss +9 -10
- package/src/components/ExpandableMenu/ExpandableMenu.scss +1 -1
- package/src/components/Icon/Icons.scss +5 -6
- package/src/components/Icon/iconList.ts +24 -2
- package/src/components/Input/Input.stories.tsx +1 -1
- package/src/components/InputWithDropdown/InputWithDropdown.stories.tsx +59 -2
- package/src/components/InputWithDropdown/InputWithDropdown.tsx +3 -1
- package/src/components/InputWithDropdown/types.ts +4 -0
- package/src/components/MenuOption/MenuOption.scss +1 -1
- package/src/components/MenuOption/types.ts +1 -1
- package/src/components/MultiSelect/MultiSelect.scss +1 -1
- package/src/components/RadioButton/RadioButton.scss +2 -3
- package/src/components/Search/Search.scss +71 -73
- package/src/components/Select/Select.tsx +29 -25
- package/src/components/Select/types.ts +5 -1
- package/src/components/StateDropdown/StateDropdown.stories.tsx +99 -0
- package/src/components/StateDropdown/StateDropdown.tsx +223 -0
- package/src/components/StateDropdown/StateDropdownTypes.tsx +21 -0
- package/src/components/StateDropdown/index.ts +1 -0
- package/src/components/StatusButton/StatusButton.scss +90 -0
- package/src/components/StatusButton/StatusButton.stories.tsx +91 -0
- package/src/components/StatusButton/StatusButton.tsx +40 -0
- package/src/components/StatusButton/index.ts +1 -0
- package/src/components/StatusButton/types.ts +45 -0
- package/src/components/Table/Table.scss +3 -3
- package/src/components/Tabs/Tabs.scss +3 -0
- package/src/components/Tabs/Tabs.stories.tsx +31 -0
- package/src/components/Tabs/Tabs.tsx +6 -1
- package/src/components/Tabs/types.ts +6 -2
- package/src/components/TextArea/Textarea.scss +1 -2
- package/src/components/Toggle/Toggle.scss +5 -4
- package/src/components/Tooltip/Tooltip.scss +1 -1
- package/src/index.ts +5 -0
- package/vite.config.js +1 -1
- package/lib/index.css +0 -404
- package/lib/index.esm.css +0 -404
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from './AddButton';
|
@@ -7,15 +7,15 @@
|
|
7
7
|
* If null, no menu options will be shown.
|
8
8
|
*/
|
9
9
|
export interface DirectionalArrow {
|
10
|
-
direction: 'top' | 'right' | 'down';
|
11
|
-
menuOptions:
|
10
|
+
direction: string | 'top' | 'right' | 'down';
|
11
|
+
menuOptions: {
|
12
12
|
label: string;
|
13
13
|
value: string | string[];
|
14
14
|
icon: string;
|
15
15
|
disable?: boolean;
|
16
|
-
}
|
16
|
+
}[];
|
17
17
|
}
|
18
|
-
/**
|
18
|
+
/**
|
19
19
|
* Props for the Add Resource Button component.
|
20
20
|
*
|
21
21
|
* @property {string} [id] - An optional unique identifier for the Add Resource Button.
|
@@ -27,13 +27,16 @@ export interface AddResourceButtonProps {
|
|
27
27
|
id?: string;
|
28
28
|
variant?: 'primary' | 'secondary';
|
29
29
|
directionalArrow: {
|
30
|
-
|
31
|
-
|
30
|
+
/**
|
31
|
+
* direction option: 'top' | 'right' | 'down'
|
32
|
+
*/
|
33
|
+
direction: string | 'top' | 'right' | 'down';
|
34
|
+
menuOptions: {
|
32
35
|
label: string;
|
33
36
|
value: string | string[];
|
34
37
|
icon: string;
|
35
38
|
disable?: boolean;
|
36
|
-
}
|
39
|
+
}[];
|
37
40
|
}[];
|
38
41
|
zIndex?: number;
|
39
42
|
}
|
@@ -46,13 +49,13 @@ export interface AddResourceButtonProps {
|
|
46
49
|
* @property {boolean} isActive - Specifies if the button is in an active state (highlighted when selected).
|
47
50
|
*/
|
48
51
|
export interface DirectionalArrowButtonProps {
|
49
|
-
direction: 'top' | 'right' | 'down';
|
50
|
-
menuOptions:
|
52
|
+
direction: string | 'top' | 'right' | 'down';
|
53
|
+
menuOptions: {
|
51
54
|
label: string;
|
52
55
|
value: string | string[];
|
53
56
|
icon: string;
|
54
57
|
disable?: boolean;
|
55
|
-
}
|
58
|
+
}[];
|
56
59
|
onArrowClick: () => void;
|
57
60
|
isActive: boolean;
|
58
61
|
variant?: 'primary' | 'secondary';
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import './InputWithDropdown.scss';
|
2
2
|
import { InputWithDropdownProps } from './types';
|
3
|
-
declare const InputWithDropdown: ({ name, label, value, type, disabled, required, placeholder, error, helperText, optionsList, selectedOption, onDropdownChangeHandler, onInputChangeHandler, }: InputWithDropdownProps) => import("react/jsx-runtime").JSX.Element;
|
3
|
+
declare const InputWithDropdown: ({ name, label, value, type, disabled, required, placeholder, error, helperText, optionsList, selectedOption, onDropdownChangeHandler, onInputChangeHandler, optionsRequired, }: InputWithDropdownProps) => import("react/jsx-runtime").JSX.Element;
|
4
4
|
export default InputWithDropdown;
|
@@ -83,7 +83,7 @@ interface MenuOptionProps {
|
|
83
83
|
* @type {'top' | 'left' | 'right' | 'bottom'}
|
84
84
|
* @optional
|
85
85
|
*/
|
86
|
-
dropdownPlacement?: 'top' | 'left' | 'right' | 'down';
|
86
|
+
dropdownPlacement?: string | 'top' | 'left' | 'right' | 'down';
|
87
87
|
/**
|
88
88
|
* Callback function triggered when the icon is clicked.
|
89
89
|
* @type {function}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { SelectProps } from './types';
|
2
2
|
import './Select.scss';
|
3
|
-
declare const Select: ({ label, showLabel, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, }: SelectProps) => import("react/jsx-runtime").JSX.Element;
|
3
|
+
declare const Select: ({ label, showLabel, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, optionsRequired, }: SelectProps) => import("react/jsx-runtime").JSX.Element;
|
4
4
|
export default Select;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ReactNode } from
|
1
|
+
import { ReactNode } from 'react';
|
2
2
|
export interface SelectProps {
|
3
3
|
label?: string;
|
4
4
|
showLabel?: boolean;
|
@@ -12,6 +12,10 @@ export interface SelectProps {
|
|
12
12
|
borderRadius?: boolean;
|
13
13
|
showBorder?: boolean;
|
14
14
|
required?: boolean;
|
15
|
+
/**
|
16
|
+
* optionsRequired:false prop removes options from dropdown & shows static label only
|
17
|
+
*/
|
18
|
+
optionsRequired?: boolean;
|
15
19
|
}
|
16
20
|
export interface DrowdownPosition {
|
17
21
|
positionX: number;
|
@@ -0,0 +1,3 @@
|
|
1
|
+
import { StateDropdownProps } from './StateDropdownTypes';
|
2
|
+
declare const StateDropdown: ({ value, nodeObj, isReviewer, isApprovePage, handleStateValueClick, handleDropdownOptionsClick, disabled, isOnlyReviewer, userHasOnlyViewAccess, }: StateDropdownProps) => import("react/jsx-runtime").JSX.Element;
|
3
|
+
export default StateDropdown;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import StateDropdown from './StateDropdown';
|
3
|
+
declare const meta: Meta<typeof StateDropdown>;
|
4
|
+
type Story = StoryObj<typeof StateDropdown>;
|
5
|
+
export declare const Disable: Story;
|
6
|
+
export declare const Review: Story;
|
7
|
+
export declare const Reject: Story;
|
8
|
+
export declare const Approved: Story;
|
9
|
+
export declare const NewState: Story;
|
10
|
+
export default meta;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export interface StateDropdownProps {
|
2
|
+
value: string;
|
3
|
+
nodeObj: {};
|
4
|
+
isReviewer: boolean;
|
5
|
+
isApprovePage: boolean;
|
6
|
+
handleDropdownOptionsClick: () => void;
|
7
|
+
disabled: boolean;
|
8
|
+
isOnlyReviewer: boolean;
|
9
|
+
userHasOnlyViewAccess: boolean;
|
10
|
+
handleStateValueClick: () => void;
|
11
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from './StateDropdown';
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import StatusButton from './StatusButton';
|
3
|
+
declare const meta: Meta<typeof StatusButton>;
|
4
|
+
type Story = StoryObj<typeof StatusButton>;
|
5
|
+
export declare const Passed: Story;
|
6
|
+
export declare const Failed: Story;
|
7
|
+
export declare const Running: Story;
|
8
|
+
export declare const Terminated: Story;
|
9
|
+
export declare const Skipped: Story;
|
10
|
+
export declare const Warning: Story;
|
11
|
+
export declare const PartiallyExecuted: Story;
|
12
|
+
export declare const Aborted: Story;
|
13
|
+
export declare const NotExecuted: Story;
|
14
|
+
export default meta;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from './StatusButton';
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import { ReactNode } from 'react';
|
2
|
+
export interface StatusButtonProps {
|
3
|
+
/**
|
4
|
+
* Status of the button
|
5
|
+
*/
|
6
|
+
status: 'passed' | 'failed' | 'running' | 'skipped' | 'warning' | 'terminated' | 'partially-executed' | 'aborted' | 'not-executed';
|
7
|
+
/**
|
8
|
+
* Button label (status text)
|
9
|
+
*/
|
10
|
+
label?: string;
|
11
|
+
/**
|
12
|
+
* Optional click handler
|
13
|
+
*/
|
14
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
15
|
+
/**
|
16
|
+
* Button content
|
17
|
+
*/
|
18
|
+
children?: ReactNode;
|
19
|
+
/**
|
20
|
+
* Button id
|
21
|
+
*/
|
22
|
+
id?: string;
|
23
|
+
/**
|
24
|
+
* Disabled state
|
25
|
+
*/
|
26
|
+
disabled?: boolean;
|
27
|
+
/**
|
28
|
+
* Classname for the button
|
29
|
+
*/
|
30
|
+
className?: string;
|
31
|
+
/**
|
32
|
+
* Additional styles for the button
|
33
|
+
*/
|
34
|
+
style?: React.CSSProperties;
|
35
|
+
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { TabsProps } from './types';
|
2
2
|
import './Tabs.scss';
|
3
3
|
import '../../assets/styles/_colors.scss';
|
4
|
-
declare const Tabs: ({ variant, tabsData, activeTabId, onTabClick, }: TabsProps) => import("react/jsx-runtime").JSX.Element;
|
4
|
+
declare const Tabs: ({ variant, tabsData, activeTabId, onTabClick, noBorder, }: TabsProps) => import("react/jsx-runtime").JSX.Element;
|
5
5
|
export default Tabs;
|
@@ -10,7 +10,7 @@ export interface Tab {
|
|
10
10
|
/**
|
11
11
|
* The content to display when this tab is active.
|
12
12
|
*/
|
13
|
-
component
|
13
|
+
component?: JSX.Element | React.ReactNode;
|
14
14
|
/**
|
15
15
|
* Optional property to indicate if the tab is disabled.
|
16
16
|
*/
|
@@ -22,7 +22,7 @@ export interface TabsProps {
|
|
22
22
|
*/
|
23
23
|
tabsData: {
|
24
24
|
label: string;
|
25
|
-
component
|
25
|
+
component?: JSX.Element;
|
26
26
|
disabled?: boolean;
|
27
27
|
}[];
|
28
28
|
/**
|
@@ -37,4 +37,8 @@ export interface TabsProps {
|
|
37
37
|
* onTabClick : function updates the active tab state when a user interacts with the tabs,
|
38
38
|
*/
|
39
39
|
onTabClick: (id: string) => void;
|
40
|
+
/**
|
41
|
+
* noBorder:true , removes the outer border from tabs
|
42
|
+
*/
|
43
|
+
noBorder?: boolean;
|
40
44
|
}
|
package/lib/index.d.ts
CHANGED
@@ -550,6 +550,10 @@ interface SelectProps {
|
|
550
550
|
borderRadius?: boolean;
|
551
551
|
showBorder?: boolean;
|
552
552
|
required?: boolean;
|
553
|
+
/**
|
554
|
+
* optionsRequired:false prop removes options from dropdown & shows static label only
|
555
|
+
*/
|
556
|
+
optionsRequired?: boolean;
|
553
557
|
}
|
554
558
|
interface Option$1 {
|
555
559
|
label: string | ReactNode;
|
@@ -557,7 +561,7 @@ interface Option$1 {
|
|
557
561
|
disabled?: boolean;
|
558
562
|
}
|
559
563
|
|
560
|
-
declare const Select: ({ label, showLabel, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, }: SelectProps) => react_jsx_runtime.JSX.Element;
|
564
|
+
declare const Select: ({ label, showLabel, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, optionsRequired, }: SelectProps) => react_jsx_runtime.JSX.Element;
|
561
565
|
|
562
566
|
interface TextareaProps {
|
563
567
|
/**
|
@@ -640,6 +644,43 @@ interface TextareaProps {
|
|
640
644
|
|
641
645
|
declare const Textarea: ({ capacity, name, label, value, variant, error, helperText, disabled, required, placeholder, className, onChange, onBlur, onFocus, rows, cols, resize, ...props }: TextareaProps) => react_jsx_runtime.JSX.Element;
|
642
646
|
|
647
|
+
interface StatusButtonProps {
|
648
|
+
/**
|
649
|
+
* Status of the button
|
650
|
+
*/
|
651
|
+
status: 'passed' | 'failed' | 'running' | 'skipped' | 'warning' | 'terminated' | 'partially-executed' | 'aborted' | 'not-executed';
|
652
|
+
/**
|
653
|
+
* Button label (status text)
|
654
|
+
*/
|
655
|
+
label?: string;
|
656
|
+
/**
|
657
|
+
* Optional click handler
|
658
|
+
*/
|
659
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
660
|
+
/**
|
661
|
+
* Button content
|
662
|
+
*/
|
663
|
+
children?: ReactNode;
|
664
|
+
/**
|
665
|
+
* Button id
|
666
|
+
*/
|
667
|
+
id?: string;
|
668
|
+
/**
|
669
|
+
* Disabled state
|
670
|
+
*/
|
671
|
+
disabled?: boolean;
|
672
|
+
/**
|
673
|
+
* Classname for the button
|
674
|
+
*/
|
675
|
+
className?: string;
|
676
|
+
/**
|
677
|
+
* Additional styles for the button
|
678
|
+
*/
|
679
|
+
style?: React.CSSProperties;
|
680
|
+
}
|
681
|
+
|
682
|
+
declare const StatusButton: ({ status, label, onClick, className, style, disabled, ...props }: StatusButtonProps) => react_jsx_runtime.JSX.Element;
|
683
|
+
|
643
684
|
interface OptionClick {
|
644
685
|
/**
|
645
686
|
* The label displayed for the option.
|
@@ -704,7 +745,7 @@ interface MenuOptionProps {
|
|
704
745
|
* @type {'top' | 'left' | 'right' | 'bottom'}
|
705
746
|
* @optional
|
706
747
|
*/
|
707
|
-
dropdownPlacement?: 'top' | 'left' | 'right' | 'down';
|
748
|
+
dropdownPlacement?: string | 'top' | 'left' | 'right' | 'down';
|
708
749
|
/**
|
709
750
|
* Callback function triggered when the icon is clicked.
|
710
751
|
* @type {function}
|
@@ -817,7 +858,7 @@ interface TableProps {
|
|
817
858
|
|
818
859
|
declare const Table: ({ data, columns, headerType, withFixedHeader, borderWithRadius, height, className, }: TableProps) => react_jsx_runtime.JSX.Element | null;
|
819
860
|
|
820
|
-
/**
|
861
|
+
/**
|
821
862
|
* Props for the Add Resource Button component.
|
822
863
|
*
|
823
864
|
* @property {string} [id] - An optional unique identifier for the Add Resource Button.
|
@@ -829,13 +870,16 @@ interface AddResourceButtonProps {
|
|
829
870
|
id?: string;
|
830
871
|
variant?: 'primary' | 'secondary';
|
831
872
|
directionalArrow: {
|
832
|
-
|
833
|
-
|
873
|
+
/**
|
874
|
+
* direction option: 'top' | 'right' | 'down'
|
875
|
+
*/
|
876
|
+
direction: string | 'top' | 'right' | 'down';
|
877
|
+
menuOptions: {
|
834
878
|
label: string;
|
835
879
|
value: string | string[];
|
836
880
|
icon: string;
|
837
881
|
disable?: boolean;
|
838
|
-
}
|
882
|
+
}[];
|
839
883
|
}[];
|
840
884
|
zIndex?: number;
|
841
885
|
}
|
@@ -1078,9 +1122,13 @@ interface InputWithDropdownProps {
|
|
1078
1122
|
* background of the input field prop
|
1079
1123
|
*/
|
1080
1124
|
isBackgroundTransparent?: boolean;
|
1125
|
+
/**
|
1126
|
+
* optionsRequired:false prop removes options from dropdown & shows static label only
|
1127
|
+
*/
|
1128
|
+
optionsRequired?: boolean;
|
1081
1129
|
}
|
1082
1130
|
|
1083
|
-
declare const InputWithDropdown: ({ name, label, value, type, disabled, required, placeholder, error, helperText, optionsList, selectedOption, onDropdownChangeHandler, onInputChangeHandler, }: InputWithDropdownProps) => react_jsx_runtime.JSX.Element;
|
1131
|
+
declare const InputWithDropdown: ({ name, label, value, type, disabled, required, placeholder, error, helperText, optionsList, selectedOption, onDropdownChangeHandler, onInputChangeHandler, optionsRequired, }: InputWithDropdownProps) => react_jsx_runtime.JSX.Element;
|
1084
1132
|
|
1085
1133
|
declare const RadioButton: React__default.FC<RadioButtonProps>;
|
1086
1134
|
|
@@ -1201,7 +1249,7 @@ interface TabsProps {
|
|
1201
1249
|
*/
|
1202
1250
|
tabsData: {
|
1203
1251
|
label: string;
|
1204
|
-
component
|
1252
|
+
component?: JSX.Element;
|
1205
1253
|
disabled?: boolean;
|
1206
1254
|
}[];
|
1207
1255
|
/**
|
@@ -1216,9 +1264,13 @@ interface TabsProps {
|
|
1216
1264
|
* onTabClick : function updates the active tab state when a user interacts with the tabs,
|
1217
1265
|
*/
|
1218
1266
|
onTabClick: (id: string) => void;
|
1267
|
+
/**
|
1268
|
+
* noBorder:true , removes the outer border from tabs
|
1269
|
+
*/
|
1270
|
+
noBorder?: boolean;
|
1219
1271
|
}
|
1220
1272
|
|
1221
|
-
declare const Tabs: ({ variant, tabsData, activeTabId, onTabClick, }: TabsProps) => react_jsx_runtime.JSX.Element;
|
1273
|
+
declare const Tabs: ({ variant, tabsData, activeTabId, onTabClick, noBorder, }: TabsProps) => react_jsx_runtime.JSX.Element;
|
1222
1274
|
|
1223
1275
|
interface HighlightTextProps {
|
1224
1276
|
text?: string;
|
@@ -1278,6 +1330,20 @@ interface SearchProps {
|
|
1278
1330
|
|
1279
1331
|
declare const Search: ({ placeholder, onSearch, disabled, width, }: SearchProps) => react_jsx_runtime.JSX.Element;
|
1280
1332
|
|
1333
|
+
interface StateDropdownProps {
|
1334
|
+
value: string;
|
1335
|
+
nodeObj: {};
|
1336
|
+
isReviewer: boolean;
|
1337
|
+
isApprovePage: boolean;
|
1338
|
+
handleDropdownOptionsClick: () => void;
|
1339
|
+
disabled: boolean;
|
1340
|
+
isOnlyReviewer: boolean;
|
1341
|
+
userHasOnlyViewAccess: boolean;
|
1342
|
+
handleStateValueClick: () => void;
|
1343
|
+
}
|
1344
|
+
|
1345
|
+
declare const StateDropdown: ({ value, nodeObj, isReviewer, isApprovePage, handleStateValueClick, handleDropdownOptionsClick, disabled, isOnlyReviewer, userHasOnlyViewAccess, }: StateDropdownProps) => react_jsx_runtime.JSX.Element;
|
1346
|
+
|
1281
1347
|
type valueType$1 = any;
|
1282
1348
|
declare const checkEmpty: (value: valueType$1) => boolean;
|
1283
1349
|
|
@@ -1285,4 +1351,4 @@ type valueType = File | string;
|
|
1285
1351
|
declare const getExtension: (value: valueType) => string | undefined;
|
1286
1352
|
declare const getExtensionWithPeriod: (value: valueType) => string;
|
1287
1353
|
|
1288
|
-
export { Accordion, AddButton as AddResourceButton, Button, Checkbox, Chip, Col, Container, DonutChart, Drawer, ExpandableMenu, FileDropzone, Form, HighlightText, Icon, Input, InputWithDropdown, MenuOption, MiniModal, MultiSelect, RadialChart, RadioButton, RadioGroup, Row, Search, Select, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toggle, Tooltip, Typography, checkEmpty, getExtension, getExtensionWithPeriod, useTheme };
|
1354
|
+
export { Accordion, AddButton as AddResourceButton, Button, Checkbox, Chip, Col, Container, DonutChart, Drawer, ExpandableMenu, FileDropzone, Form, HighlightText, Icon, Input, InputWithDropdown, MenuOption, MiniModal, MultiSelect, RadialChart, RadioButton, RadioGroup, Row, Search, Select, StateDropdown, StatusButton, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toggle, Tooltip, Typography, checkEmpty, getExtension, getExtensionWithPeriod, useTheme };
|