pixel-react-excel-sheet 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/.yarn/install-state.gz +0 -0
- package/lib/1fb4472b34e4fe07.css +1 -0
- package/lib/components/Accordion/Accordion.d.ts +1 -1
- package/lib/components/Accordion/types.d.ts +12 -0
- package/lib/components/AddVariables/AddVariables.d.ts +5 -0
- package/lib/components/AddVariables/index.d.ts +1 -0
- package/lib/components/AddVariables/types.d.ts +35 -0
- package/lib/components/AppHeader/types.d.ts +2 -0
- package/lib/components/AttachImage/AttachImage.d.ts +1 -6
- package/lib/components/AttachImage/types.d.ts +8 -0
- package/lib/components/Avatar/types.d.ts +9 -1
- package/lib/components/Charts/BarChart/BarChart.d.ts +1 -0
- package/lib/components/Charts/DashboardDonutChart/types.d.ts +6 -0
- package/lib/components/Checkbox/types.d.ts +4 -0
- package/lib/components/Comment/Comments.d.ts +4 -0
- package/lib/components/Comment/comment/Comment.d.ts +11 -0
- package/lib/components/Comment/comment/useNode.d.ts +7 -0
- package/lib/components/Comment/index.d.ts +1 -0
- package/lib/components/Comment/type.d.ts +25 -0
- package/lib/components/CreateVariable/CreateVariableSlider.d.ts +5 -0
- package/lib/components/CreateVariable/index.d.ts +1 -0
- package/lib/components/CreateVariable/types.d.ts +56 -0
- package/lib/components/Drawer/Types.d.ts +13 -0
- package/lib/components/Editor/constants.d.ts +1 -1
- package/lib/components/Editor/types.d.ts +10 -2
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.d.ts +8 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.d.ts +2 -0
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/types.d.ts +13 -6
- package/lib/components/FileDropzone/RadioFilePreview.d.ts +4 -0
- package/lib/components/FileDropzone/types.d.ts +61 -0
- package/lib/components/IconButton/IconButton.d.ts +1 -2
- package/lib/components/IconButton/types.d.ts +1 -0
- package/lib/components/Input/Input.d.ts +1 -1
- package/lib/components/MenuOption/types.d.ts +3 -2
- package/lib/components/MiniModal/types.d.ts +7 -0
- package/lib/components/MultiSelect/MultiSelect.d.ts +1 -1
- package/lib/components/PhoneInput/PhoneInput.d.ts +6 -0
- package/lib/components/PhoneInput/index.d.ts +1 -0
- package/lib/components/PhoneInput/types.d.ts +10 -0
- package/lib/components/PopUpModal/types.d.ts +1 -0
- package/lib/components/Search/Search.d.ts +1 -1
- package/lib/components/Search/types.d.ts +4 -0
- package/lib/components/Select/components/types.d.ts +1 -0
- package/lib/components/Select/types.d.ts +2 -0
- package/lib/components/Table/Types.d.ts +1 -1
- package/lib/components/TableTree/Components/TableBody.d.ts +4 -0
- package/lib/components/TableTree/Components/TableCell.d.ts +4 -0
- package/lib/components/TableTree/Components/TableHead.d.ts +4 -0
- package/lib/components/TableTree/Components/TableRow.d.ts +4 -0
- package/lib/components/TableTree/Utils/getAllChildIds.d.ts +1 -0
- package/lib/components/TableTree/types.d.ts +38 -5
- package/lib/components/TableWithAccordion/TableWithAccordion.d.ts +5 -0
- package/lib/components/TableWithAccordion/data.d.ts +8 -0
- package/lib/components/TableWithAccordion/index.d.ts +1 -0
- package/lib/components/TableWithAccordion/types.d.ts +67 -0
- package/lib/components/Tabs/types.d.ts +1 -0
- package/lib/index.d.ts +395 -39
- package/lib/index.esm.js +3859 -1017
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +3866 -1016
- package/lib/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/FormatString/FormatString.d.ts +1 -0
- package/lib/utils/checkDuplicates/checkDuplicates.d.ts +1 -0
- package/package.json +2 -1
- package/src/StyleGuide/ColorPalette/colorPaletteList.ts +15 -0
- package/src/assets/Themes/BaseTheme.scss +16 -0
- package/src/assets/Themes/DarkTheme.scss +71 -42
- package/src/assets/icons/add_file.svg +4 -17
- package/src/assets/icons/add_variable.svg +11 -0
- package/src/assets/icons/authorization.svg +4 -0
- package/src/assets/icons/authorization_icon.svg +1 -0
- package/src/assets/icons/backward.svg +10 -0
- package/src/assets/icons/capture_icon.svg +3 -0
- package/src/assets/icons/depends_on_script.svg +7 -0
- package/src/assets/icons/download_file_icon.svg +2 -9
- package/src/assets/icons/email_group.svg +3 -0
- package/src/assets/icons/executions_icon.svg +3 -0
- package/src/assets/icons/forward.svg +3 -0
- package/src/assets/icons/labels.svg +8 -0
- package/src/assets/icons/machine_disable_icon.svg +18 -0
- package/src/assets/icons/machine_enable_icon.svg +10 -0
- package/src/assets/icons/parameters.svg +3 -0
- package/src/assets/icons/pre_post_condition.svg +8 -0
- package/src/assets/icons/program_element.svg +8 -0
- package/src/assets/icons/project_status_icon.svg +10 -0
- package/src/assets/icons/refresh_icon.svg +4 -0
- package/src/assets/icons/rotate_icon.svg +10 -0
- package/src/assets/icons/suites_icon.svg +3 -0
- package/src/assets/icons/swipe_icon.svg +9 -0
- package/src/assets/icons/tap_icon.svg +4 -0
- package/src/assets/icons/test_data.svg +5 -0
- package/src/assets/icons/test_data_set.svg +7 -0
- package/src/assets/icons/variable_set.svg +5 -0
- package/src/assets/icons/window_maximize.svg +1 -2
- package/src/assets/icons/window_restore.svg +4 -0
- package/src/assets/styles/_colors.scss +0 -1
- package/src/components/Accordion/Accordion.stories.tsx +4 -0
- package/src/components/Accordion/Accordion.tsx +7 -1
- package/src/components/Accordion/types.ts +12 -0
- package/src/components/AddVariables/AddVariables.scss +14 -0
- package/src/components/AddVariables/AddVariables.stories.tsx +44 -0
- package/src/components/AddVariables/AddVariables.tsx +113 -0
- package/src/components/AddVariables/index.ts +1 -0
- package/src/components/AddVariables/types.ts +36 -0
- package/src/components/AllProjectsDropdown/AllProjectsDropdown.scss +1 -1
- package/src/components/AppHeader/AppHeader.scss +40 -1
- package/src/components/AppHeader/AppHeader.stories.tsx +133 -5
- package/src/components/AppHeader/AppHeader.tsx +111 -112
- package/src/components/AppHeader/types.ts +10 -9
- package/src/components/AttachImage/AttachImage.stories.tsx +2 -0
- package/src/components/AttachImage/AttachImage.tsx +5 -9
- package/src/components/AttachImage/types.ts +25 -18
- package/src/components/Avatar/Avatar.scss +4 -0
- package/src/components/Avatar/Avatar.stories.tsx +38 -18
- package/src/components/Avatar/Avatar.tsx +19 -3
- package/src/components/Avatar/types.ts +9 -1
- package/src/components/Charts/BarChart/BarChart.scss +4 -1
- package/src/components/Charts/BarChart/BarChart.tsx +23 -9
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.scss +10 -3
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.tsx +2 -1
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +54 -25
- package/src/components/Charts/DashboardDonutChart/types.ts +7 -1
- package/src/components/Charts/DonutChart/DonutChart.tsx +8 -3
- package/src/components/Charts/LineChart/LineChart.scss +13 -9
- package/src/components/Charts/LineChart/LineChart.tsx +6 -2
- package/src/components/Charts/RadialChart/RadialChart.scss +4 -0
- package/src/components/Charts/RadialChart/RadialChart.tsx +51 -45
- package/src/components/Checkbox/Checkbox.scss +57 -0
- package/src/components/Checkbox/Checkbox.stories.tsx +91 -15
- package/src/components/Checkbox/Checkbox.tsx +4 -1
- package/src/components/Checkbox/types.ts +4 -0
- package/src/components/Comment/Comments.scss +166 -0
- package/src/components/Comment/Comments.stories.tsx +212 -0
- package/src/components/Comment/Comments.tsx +51 -0
- package/src/components/Comment/comment/Comment.tsx +206 -0
- package/src/components/Comment/comment/useNode.ts +51 -0
- package/src/components/Comment/index.ts +1 -0
- package/src/components/Comment/type.ts +36 -0
- package/src/components/CreateVariable/CreateVariableSlider.scss +18 -0
- package/src/components/CreateVariable/CreateVariableSlider.stories.tsx +66 -0
- package/src/components/CreateVariable/CreateVariableSlider.tsx +95 -0
- package/src/components/CreateVariable/index.ts +1 -0
- package/src/components/CreateVariable/types.ts +58 -0
- package/src/components/DatePicker/DatePicker.scss +11 -0
- package/src/components/DatePicker/DatePicker.stories.tsx +19 -0
- package/src/components/DatePicker/DatePicker.tsx +73 -22
- package/src/components/Drawer/Drawer.scss +3 -2
- package/src/components/Drawer/Drawer.stories.tsx +0 -1
- package/src/components/Drawer/Drawer.tsx +4 -1
- package/src/components/Drawer/Types.ts +13 -0
- package/src/components/Editor/Editor.stories.tsx +2 -2
- package/src/components/Editor/Editor.tsx +4 -2
- package/src/components/Editor/VariableDropdown.scss +8 -2
- package/src/components/Editor/VariableDropdown.tsx +15 -7
- package/src/components/Editor/constants.ts +1 -1
- package/src/components/Editor/types.ts +12 -2
- package/src/components/Excel/ExcelFile/ExcelFile.scss +0 -1
- package/src/components/Excel/ExcelFile/ExcelFile.tsx +41 -25
- package/src/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.tsx +12 -0
- package/src/components/Excel/ExcelFile/ExcelFileComponents/Cell.tsx +2 -34
- package/src/components/Excel/ExcelFile/ExcelFileComponents/FloatingRect.tsx +26 -1
- package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.scss +24 -22
- package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.tsx +1 -3
- package/src/components/Excel/ExcelFile/ExcelFileComponents/actions.ts +13 -0
- package/src/components/Excel/ExcelFile/ExcelFileComponents/reducer.ts +53 -26
- package/src/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.ts +81 -14
- package/src/components/Excel/ExcelFile/ExcelFileComponents/types.ts +17 -6
- package/src/components/Excel/ExcelFile.stories.tsx +4 -4
- package/src/components/Excel/ExcelToolBar/ExcelToolBar.tsx +36 -19
- package/src/components/Excel/dataConversion.ts +43 -20
- package/src/components/FieldSet/FieldSet.scss +2 -1
- package/src/components/FieldSet/FieldSet.stories.tsx +2 -1
- package/src/components/FileDropzone/Dropzone.tsx +76 -28
- package/src/components/FileDropzone/FileDropzone.scss +30 -3
- package/src/components/FileDropzone/FileDropzone.stories.tsx +125 -4
- package/src/components/FileDropzone/FileDropzone.tsx +46 -13
- package/src/components/FileDropzone/RadioFilePreview.tsx +76 -0
- package/src/components/FileDropzone/types.ts +73 -0
- package/src/components/Icon/iconList.ts +47 -2
- package/src/components/IconButton/IconButton.scss +11 -11
- package/src/components/IconButton/IconButton.stories.tsx +1 -0
- package/src/components/IconButton/IconButton.tsx +6 -8
- package/src/components/IconButton/types.ts +2 -1
- package/src/components/IconRadioGroup/IconRadioGroup.scss +2 -1
- package/src/components/Input/Input.scss +137 -125
- package/src/components/Input/Input.tsx +110 -93
- package/src/components/InputWithDropdown/InputWithDropdown.scss +9 -2
- package/src/components/InputWithDropdown/types.ts +3 -3
- package/src/components/LabelEditTextField/LabelEditTextField.tsx +1 -1
- package/src/components/MenuOption/MenuOption.stories.tsx +4 -3
- package/src/components/MenuOption/MenuOption.tsx +1 -1
- package/src/components/MenuOption/types.ts +4 -2
- package/src/components/MiniModal/MiniModal.scss +0 -4
- package/src/components/MiniModal/MiniModal.stories.tsx +3 -2
- package/src/components/MiniModal/MiniModal.tsx +28 -10
- package/src/components/MiniModal/types.ts +7 -0
- package/src/components/Modal/Modal.stories.tsx +2 -1
- package/src/components/ModulesChip/ModuleChip.scss +21 -8
- package/src/components/ModulesChip/ModuleChip.stories.tsx +2 -2
- package/src/components/ModulesChip/ModuleChip.tsx +6 -9
- package/src/components/MultiSelect/Dropdown.tsx +12 -5
- package/src/components/MultiSelect/MultiSelect.scss +29 -0
- package/src/components/MultiSelect/MultiSelect.stories.tsx +31 -14
- package/src/components/MultiSelect/MultiSelect.tsx +32 -21
- package/src/components/PhoneInput/PhoneInput.d.ts +3 -0
- package/src/components/PhoneInput/PhoneInput.stories.tsx +95 -0
- package/src/components/PhoneInput/PhoneInput.tsx +90 -0
- package/src/components/PhoneInput/index.ts +1 -0
- package/src/components/PhoneInput/phoneInput.scss +3 -0
- package/src/components/PhoneInput/types.ts +10 -0
- package/src/components/PopUpModal/PopUpModal.stories.tsx +14 -13
- package/src/components/PopUpModal/PopUpModal.tsx +2 -1
- package/src/components/PopUpModal/types.ts +14 -13
- package/src/components/Search/Search.stories.tsx +28 -9
- package/src/components/Search/Search.tsx +32 -29
- package/src/components/Search/types.ts +4 -0
- package/src/components/Select/Select.scss +20 -0
- package/src/components/Select/Select.stories.tsx +50 -1
- package/src/components/Select/Select.tsx +34 -7
- package/src/components/Select/components/Dropdown.scss +9 -0
- package/src/components/Select/components/Dropdown.tsx +20 -6
- package/src/components/Select/components/types.ts +1 -0
- package/src/components/Select/types.ts +12 -2
- package/src/components/Table/Table.scss +6 -5
- package/src/components/Table/Types.ts +1 -1
- package/src/components/TableTree/Components/TableBody.tsx +35 -0
- package/src/components/TableTree/Components/TableCell.tsx +59 -0
- package/src/components/TableTree/Components/TableHead.tsx +39 -0
- package/src/components/TableTree/Components/TableRow.tsx +37 -0
- package/src/components/TableTree/TableTree.scss +8 -5
- package/src/components/TableTree/TableTree.tsx +16 -46
- package/src/components/TableTree/Utils/getAllChildIds.ts +12 -0
- package/src/components/TableTree/Utils/renderSpaces.ts +0 -0
- package/src/components/TableTree/types.ts +43 -5
- package/src/components/TableWithAccordion/TableWithAccordion.scss +54 -0
- package/src/components/TableWithAccordion/TableWithAccordion.stories.tsx +94 -0
- package/src/components/TableWithAccordion/TableWithAccordion.tsx +174 -0
- package/src/components/TableWithAccordion/data.ts +37 -0
- package/src/components/TableWithAccordion/index.ts +1 -0
- package/src/components/TableWithAccordion/types.ts +70 -0
- package/src/components/Tabs/Tabs.scss +58 -5
- package/src/components/Tabs/Tabs.stories.tsx +31 -12
- package/src/components/Tabs/Tabs.tsx +27 -18
- package/src/components/Tabs/types.ts +1 -1
- package/src/components/TextArea/Textarea.stories.tsx +1 -1
- package/src/hooks/useFileDropzone.tsx +2 -1
- package/src/index.ts +18 -1
- package/src/utils/FormatString/FormatString.stories.tsx +58 -0
- package/src/utils/FormatString/FormatString.tsx +41 -0
- package/src/utils/checkDuplicates/CheckDuplicates.stories.tsx +40 -0
- package/src/utils/checkDuplicates/checkDuplicates.ts +13 -0
|
@@ -127,6 +127,7 @@ import BackwardIcon from '../../assets/icons/backward_icon.svg?react';
|
|
|
127
127
|
import ForwardIcon from '../../assets/icons/forward_icon.svg?react';
|
|
128
128
|
import Reload from '../../assets/icons/reload.svg?react';
|
|
129
129
|
import WindowMaximize from '../../assets/icons/window_maximize.svg?react';
|
|
130
|
+
import WindowRestore from '../../assets/icons/window_restore.svg?react';
|
|
130
131
|
import WindowMinimize from '../../assets/icons/window_minimize.svg?react';
|
|
131
132
|
import HamburgerMenu from '../../assets/icons/hamburger_menu.svg?react';
|
|
132
133
|
import AppSwitchIcon from '../../assets/icons/app_switch.svg?react';
|
|
@@ -219,9 +220,32 @@ import NoData from '../../assets/icons/no_data.svg?react';
|
|
|
219
220
|
import AddUser from '../../assets/icons/add_user.svg?react';
|
|
220
221
|
import RemoveUser from '../../assets/icons/remove_user.svg?react';
|
|
221
222
|
import AddToArchive from '../../assets/icons/add_archive.svg?react';
|
|
223
|
+
import AddVariableIcon from '../../assets/icons/add_variable.svg?react';
|
|
222
224
|
import DashboardIcon from '../../assets/icons/dashboard_icon.svg?react'; //TODO:this is temporary icon
|
|
223
225
|
import InfoUser from '../../assets/icons/info_user.svg?react';
|
|
224
226
|
import WebServiceIcon from '../../assets/icons/web_service_icon.svg?react';
|
|
227
|
+
import ProjectStatusIcon from '../../assets/icons/project_status_icon.svg?react';
|
|
228
|
+
import captureIcon from '../../assets/icons/capture_icon.svg?react';
|
|
229
|
+
import rotateIcon from '../../assets/icons/rotate_icon.svg?react';
|
|
230
|
+
import tapIcon from '../../assets/icons/tap_icon.svg?react';
|
|
231
|
+
import refreshIcon from '../../assets/icons/refresh_icon.svg?react';
|
|
232
|
+
import swipeIcon from '../../assets/icons/swipe_icon.svg?react';
|
|
233
|
+
import backward from '../../assets/icons/backward.svg?react';
|
|
234
|
+
import forward from '../../assets/icons/forward.svg?react';
|
|
235
|
+
|
|
236
|
+
import dependsOnScript from '../../assets/icons/depends_on_script.svg?react';
|
|
237
|
+
import parameters from '../../assets/icons/parameters.svg?react';
|
|
238
|
+
import prePostCondition from '../../assets/icons/pre_post_condition.svg?react';
|
|
239
|
+
import programElement from '../../assets/icons/program_element.svg?react';
|
|
240
|
+
import testData from '../../assets/icons/test_data.svg?react';
|
|
241
|
+
import testDataSet from '../../assets/icons/test_data_set.svg?react';
|
|
242
|
+
import emailGroup from '../../assets/icons/email_group.svg?react';
|
|
243
|
+
import variableSet from '../../assets/icons/variable_set.svg?react';
|
|
244
|
+
|
|
245
|
+
import machineEnableIcon from '../../assets/icons/machine_enable_icon.svg?react';
|
|
246
|
+
import machineDisableIcon from '../../assets/icons/machine_disable_icon.svg?react';
|
|
247
|
+
import suitesIcon from '../../assets/icons/suites_icon.svg?react';
|
|
248
|
+
import executionsIcon from '../../assets/icons/executions_icon.svg?react';
|
|
225
249
|
|
|
226
250
|
Components['success'] = ToastSuccessIcon;
|
|
227
251
|
Components['alert'] = Alert;
|
|
@@ -267,7 +291,7 @@ Components['delete'] = DeleteIcon;
|
|
|
267
291
|
Components['details'] = DetailsIcon;
|
|
268
292
|
Components['impactList'] = ImpactListIcon;
|
|
269
293
|
Components['beautify_icon'] = BeautifyIcon;
|
|
270
|
-
Components['
|
|
294
|
+
Components['add_variable_icon'] = AddVariable;
|
|
271
295
|
Components['replace_file'] = ReplaceFile;
|
|
272
296
|
Components['formate_painter'] = FormatePainter;
|
|
273
297
|
Components['bold'] = Bold;
|
|
@@ -347,6 +371,7 @@ Components['backward_icon'] = BackwardIcon;
|
|
|
347
371
|
Components['forward_icon'] = ForwardIcon;
|
|
348
372
|
Components['reload'] = Reload;
|
|
349
373
|
Components['window_maximize'] = WindowMaximize;
|
|
374
|
+
Components['window_restore'] = WindowRestore;
|
|
350
375
|
Components['window_minimize'] = WindowMinimize;
|
|
351
376
|
Components['hamburger_menu'] = HamburgerMenu;
|
|
352
377
|
Components['app_switch'] = AppSwitchIcon;
|
|
@@ -439,8 +464,28 @@ Components['no_data'] = NoData;
|
|
|
439
464
|
Components['add_user'] = AddUser;
|
|
440
465
|
Components['add_to_archive'] = AddToArchive;
|
|
441
466
|
Components['remove_user'] = RemoveUser;
|
|
467
|
+
Components['add_variable'] = AddVariableIcon;
|
|
442
468
|
Components['dashboard_icon'] = DashboardIcon; //TODO:this is temporary icon
|
|
443
469
|
Components['info_user'] = InfoUser;
|
|
444
470
|
Components['web_service_icon'] = WebServiceIcon;
|
|
445
|
-
|
|
471
|
+
Components['project_status_icon'] = ProjectStatusIcon;
|
|
472
|
+
Components['capture_icon'] = captureIcon;
|
|
473
|
+
Components['backward'] = backward;
|
|
474
|
+
Components['forward'] = forward;
|
|
475
|
+
Components['refresh_icon'] = refreshIcon;
|
|
476
|
+
Components['rotate_icon'] = rotateIcon;
|
|
477
|
+
Components['tap_icon'] = tapIcon;
|
|
478
|
+
Components['swipe_icon'] = swipeIcon;
|
|
479
|
+
Components['depends_on_script'] = dependsOnScript;
|
|
480
|
+
Components['parameters'] = parameters;
|
|
481
|
+
Components['pre_post_condition'] = prePostCondition;
|
|
482
|
+
Components['program_element'] = programElement;
|
|
483
|
+
Components['test_data'] = testData;
|
|
484
|
+
Components['test_data_set'] = testDataSet;
|
|
485
|
+
Components['email_group'] = emailGroup;
|
|
486
|
+
Components['variable_set'] = variableSet;
|
|
487
|
+
Components['machine_enable_icon'] = machineEnableIcon;
|
|
488
|
+
Components['machine_disable_icon'] = machineDisableIcon;
|
|
489
|
+
Components['executions_icon'] = executionsIcon;
|
|
490
|
+
Components['suites_icon'] = suitesIcon;
|
|
446
491
|
export default Components;
|
|
@@ -9,32 +9,32 @@
|
|
|
9
9
|
cursor: pointer;
|
|
10
10
|
@include mixins.center-content();
|
|
11
11
|
gap: 8px;
|
|
12
|
-
background-color: var(--
|
|
12
|
+
background-color: var(--hover-color);
|
|
13
13
|
padding: 2px 8px 2px 2px;
|
|
14
|
-
border: 1px solid
|
|
14
|
+
border: 1px solid var(--secondary-icon-color);
|
|
15
15
|
.button-icon {
|
|
16
16
|
width: 20px;
|
|
17
17
|
height: 20px;
|
|
18
|
-
border: 1px solid
|
|
18
|
+
border: 1px solid var(--primary-icon-color);
|
|
19
19
|
border-radius: 50%;
|
|
20
20
|
@include mixins.center-content();
|
|
21
|
-
background-color: var(--
|
|
21
|
+
background-color: var(--secondary-icon-color);
|
|
22
22
|
.ff-icon-color {
|
|
23
23
|
path {
|
|
24
|
-
color: var(--
|
|
24
|
+
color: var(--primary-icon-color);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
.icon-name {
|
|
29
|
-
color: var(--
|
|
29
|
+
color: var(--secondary-icon-color);
|
|
30
30
|
@include mixins.center-content();
|
|
31
31
|
}
|
|
32
32
|
&:hover {
|
|
33
|
-
border: 1px solid
|
|
34
|
-
background-color: var(--
|
|
33
|
+
border: 1px solid transparent;
|
|
34
|
+
background-color: var(--secondary-icon-color);
|
|
35
35
|
.icon-name {
|
|
36
36
|
font-weight: 600;
|
|
37
|
-
color: var(--
|
|
37
|
+
color: var(--primary-icon-color);
|
|
38
38
|
@include mixins.center-content();
|
|
39
39
|
}
|
|
40
40
|
.button-icon {
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
border: 1px solid transparent;
|
|
44
44
|
border-radius: 50%;
|
|
45
45
|
@include mixins.center-content();
|
|
46
|
-
background-color: var(--
|
|
46
|
+
background-color: var(--hover-color);
|
|
47
47
|
.ff-icon-color {
|
|
48
48
|
path {
|
|
49
|
-
color: var(--
|
|
49
|
+
color: var(--secondary-icon-color);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { forwardRef } from 'react';
|
|
2
2
|
import Icon from '../Icon';
|
|
3
3
|
import './IconButton.scss';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import Typography from '../Typography';
|
|
6
6
|
import { IconButtonProps } from './types';
|
|
7
|
-
|
|
8
|
-
const IconButton: React.FC<IconButtonProps> = ({
|
|
7
|
+
const IconButton = forwardRef<HTMLButtonElement, IconButtonProps>(({
|
|
9
8
|
label,
|
|
10
9
|
iconName = 'plus_user_icon',
|
|
11
10
|
onClick,
|
|
12
|
-
}) => {
|
|
11
|
+
}, ref) => {
|
|
13
12
|
return (
|
|
14
|
-
<button onClick={onClick} className={classNames('ff-plus-icon')}>
|
|
13
|
+
<button onClick={onClick} className={classNames('ff-plus-icon')} ref={ref}>
|
|
15
14
|
<div className={classNames('button-icon')}>
|
|
16
15
|
<Icon
|
|
17
16
|
height={12}
|
|
@@ -30,6 +29,5 @@ const IconButton: React.FC<IconButtonProps> = ({
|
|
|
30
29
|
</Typography>
|
|
31
30
|
</button>
|
|
32
31
|
);
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
export default IconButton;
|
|
32
|
+
});
|
|
33
|
+
export default IconButton;
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
align-items: center;
|
|
17
17
|
cursor: pointer;
|
|
18
18
|
position: relative;
|
|
19
|
+
z-index: 5;
|
|
19
20
|
|
|
20
21
|
&.selected {
|
|
21
22
|
background-color: var(--brand-color);
|
|
@@ -57,7 +58,7 @@
|
|
|
57
58
|
right: 0;
|
|
58
59
|
height: 1px;
|
|
59
60
|
background-color: var(--border-color);
|
|
60
|
-
z-index:
|
|
61
|
+
z-index: 3;
|
|
61
62
|
border-radius: 2px 0px 0px 0px;
|
|
62
63
|
opacity: 0px;
|
|
63
64
|
}
|
|
@@ -1,159 +1,171 @@
|
|
|
1
1
|
@use '../../assets/styles/fonts';
|
|
2
2
|
|
|
3
|
-
.ff-input-
|
|
4
|
-
display:
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
.ff-input-fieldset {
|
|
4
|
+
display: inline-block;
|
|
5
|
+
border: none;
|
|
6
|
+
padding: 0;
|
|
7
|
+
margin: 0;
|
|
8
|
+
width: 100%;
|
|
7
9
|
|
|
8
|
-
|
|
9
|
-
padding: 6px 8px;
|
|
10
|
+
&--disabled {
|
|
10
11
|
border: 1px solid var(--input-default-border-color);
|
|
12
|
+
background: var(--input-disabled-background-color);
|
|
11
13
|
border-radius: 4px;
|
|
12
|
-
|
|
13
|
-
line-height: 18px;
|
|
14
|
-
@extend .fontSm;
|
|
15
|
-
&--medium {
|
|
16
|
-
padding: 10px 9px;
|
|
17
|
-
}
|
|
18
|
-
&:disabled {
|
|
19
|
-
cursor: not-allowed;
|
|
20
|
-
}
|
|
21
|
-
&::placeholder {
|
|
22
|
-
opacity: 0;
|
|
23
|
-
@extend .fontXs;
|
|
24
|
-
line-height: 15px;
|
|
25
|
-
}
|
|
26
|
-
&--disabled {
|
|
27
|
-
background: transparent;
|
|
28
|
-
border-color: var(--input-default-border-color);
|
|
29
|
-
}
|
|
30
|
-
&--danger {
|
|
31
|
-
border-color: var(--input-error-text-color);
|
|
32
|
-
}
|
|
33
|
-
&--transparentBackground {
|
|
34
|
-
background: transparent;
|
|
35
|
-
}
|
|
36
|
-
&--no-border {
|
|
37
|
-
border: none;
|
|
38
|
-
}
|
|
39
|
-
&--placeholder {
|
|
40
|
-
&::placeholder {
|
|
41
|
-
opacity: 1;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
14
|
+
opacity: 0.5;
|
|
44
15
|
}
|
|
45
|
-
|
|
46
|
-
.ff-input-label-container {
|
|
47
|
-
@extend .ff-input;
|
|
16
|
+
.ff-input-container {
|
|
48
17
|
display: flex;
|
|
49
|
-
|
|
50
|
-
position:
|
|
51
|
-
border: none;
|
|
52
|
-
outline: none;
|
|
53
|
-
line-height: 18px;
|
|
54
|
-
margin-top: 1px;
|
|
55
|
-
transition: all 0.3s ease-in-out;
|
|
56
|
-
&--medium {
|
|
57
|
-
line-height: 25px;
|
|
58
|
-
}
|
|
59
|
-
.ff-input-label {
|
|
60
|
-
color: var(--input-default-label-color);
|
|
61
|
-
&--danger {
|
|
62
|
-
color: var(--input-error-text-color);
|
|
63
|
-
}
|
|
64
|
-
&--disabled {
|
|
65
|
-
color: var(--input-default-border-color);
|
|
66
|
-
background-color: var(--input-label-bg-color);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
position: relative;
|
|
69
20
|
|
|
70
|
-
.required-asterisk {
|
|
71
|
-
color: var(--input-error-text-color);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
&:hover {
|
|
75
|
-
.ff-input-label {
|
|
76
|
-
color: var(--input-default-label-color);
|
|
77
|
-
&--no-hover {
|
|
78
|
-
color: var(--input-default-label-color);
|
|
79
|
-
}
|
|
80
|
-
&--disabled {
|
|
81
|
-
color: var(--input-default-border-color);
|
|
82
|
-
}
|
|
83
|
-
&--danger {
|
|
84
|
-
color: var(--input-error-text-color);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
21
|
.ff-input {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
22
|
+
padding: 6px 8px;
|
|
23
|
+
border: 1px solid var(--input-default-border-color);
|
|
24
|
+
border-radius: 4px;
|
|
25
|
+
outline: none;
|
|
26
|
+
line-height: 18px;
|
|
27
|
+
@extend .fontSm;
|
|
28
|
+
&--medium {
|
|
29
|
+
padding: 10px 9px;
|
|
91
30
|
}
|
|
92
|
-
|
|
31
|
+
&:disabled {
|
|
32
|
+
cursor: not-allowed;
|
|
33
|
+
border: none;
|
|
93
34
|
background: transparent;
|
|
94
|
-
|
|
35
|
+
}
|
|
36
|
+
&::placeholder {
|
|
37
|
+
opacity: 0;
|
|
38
|
+
@extend .fontXs;
|
|
39
|
+
line-height: 15px;
|
|
95
40
|
}
|
|
96
41
|
&--danger {
|
|
97
42
|
border-color: var(--input-error-text-color);
|
|
98
43
|
}
|
|
44
|
+
&--transparentBackground {
|
|
45
|
+
background: transparent;
|
|
46
|
+
}
|
|
47
|
+
&--no-border {
|
|
48
|
+
border: none;
|
|
49
|
+
}
|
|
50
|
+
&--placeholder {
|
|
51
|
+
&::placeholder {
|
|
52
|
+
opacity: 1;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
99
55
|
}
|
|
100
|
-
|
|
101
|
-
&:focus-within {
|
|
56
|
+
|
|
102
57
|
.ff-input-label-container {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
58
|
+
@extend .ff-input;
|
|
59
|
+
display: flex;
|
|
60
|
+
gap: 2px;
|
|
61
|
+
position: absolute;
|
|
62
|
+
border: none;
|
|
63
|
+
outline: none;
|
|
64
|
+
line-height: 18px;
|
|
65
|
+
margin-top: 1px;
|
|
66
|
+
transition: all 0.3s ease-in-out;
|
|
67
|
+
&--medium {
|
|
68
|
+
line-height: 25px;
|
|
113
69
|
}
|
|
114
|
-
|
|
70
|
+
.ff-input-label {
|
|
71
|
+
color: var(--input-default-label-color);
|
|
72
|
+
&--danger {
|
|
73
|
+
color: var(--input-error-text-color);
|
|
74
|
+
}
|
|
75
|
+
&--disabled {
|
|
76
|
+
color: var(--input-default-border-color);
|
|
77
|
+
background-color: var(--input-label-bg-color);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.required-asterisk {
|
|
115
82
|
color: var(--input-error-text-color);
|
|
116
83
|
}
|
|
117
84
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
85
|
+
&:hover {
|
|
86
|
+
.ff-input-label {
|
|
87
|
+
color: var(--input-default-label-color);
|
|
88
|
+
&--no-hover {
|
|
89
|
+
color: var(--input-default-label-color);
|
|
90
|
+
}
|
|
91
|
+
&--disabled {
|
|
92
|
+
color: var(--input-default-border-color);
|
|
93
|
+
}
|
|
94
|
+
&--danger {
|
|
95
|
+
color: var(--input-error-text-color);
|
|
96
|
+
}
|
|
123
97
|
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
98
|
+
.ff-input {
|
|
99
|
+
border-color: var(--brand-color);
|
|
100
|
+
&--no-hover {
|
|
101
|
+
border-color: var(--input-default-border-color);
|
|
102
|
+
}
|
|
103
|
+
&--disabled {
|
|
104
|
+
background: transparent;
|
|
105
|
+
border-color: var(--input-default-border-color);
|
|
106
|
+
}
|
|
107
|
+
&--danger {
|
|
108
|
+
border-color: var(--input-error-text-color);
|
|
109
|
+
}
|
|
128
110
|
}
|
|
129
111
|
}
|
|
130
|
-
|
|
112
|
+
&:focus-within {
|
|
113
|
+
.ff-input-label-container {
|
|
114
|
+
top: -9px;
|
|
115
|
+
@extend .fontXs;
|
|
116
|
+
background-color: var(--input-label-bg-color);
|
|
117
|
+
line-height: 15px;
|
|
118
|
+
padding: 0px 2px;
|
|
119
|
+
margin-left: 10px;
|
|
120
|
+
}
|
|
121
|
+
.ff-input-label {
|
|
122
|
+
&--primary {
|
|
123
|
+
color: var(--brand-color);
|
|
124
|
+
}
|
|
125
|
+
&--danger {
|
|
126
|
+
color: var(--input-error-text-color);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
.ff-input {
|
|
130
|
+
border-color: var(--brand-color);
|
|
131
|
+
|
|
132
|
+
&--danger {
|
|
133
|
+
border-color: var(--input-error-text-color);
|
|
134
|
+
}
|
|
131
135
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
&--danger {
|
|
138
|
-
color: var(--input-error-text-color);
|
|
136
|
+
&::placeholder {
|
|
137
|
+
opacity: 1;
|
|
138
|
+
margin-bottom: 1px;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
139
141
|
}
|
|
140
|
-
}
|
|
141
142
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
font-size: 10px;
|
|
147
|
-
background-color: var(--input-label-bg-color);
|
|
143
|
+
.ff-input-message {
|
|
144
|
+
@extend .fontXs;
|
|
145
|
+
padding: 0px 4px;
|
|
146
|
+
margin-left: 8px;
|
|
148
147
|
line-height: 15px;
|
|
149
|
-
|
|
150
|
-
|
|
148
|
+
&--danger {
|
|
149
|
+
color: var(--input-error-text-color);
|
|
150
|
+
}
|
|
151
151
|
}
|
|
152
|
-
|
|
153
|
-
|
|
152
|
+
|
|
153
|
+
&--float {
|
|
154
154
|
.ff-input-label-container {
|
|
155
|
+
//re-written label container code to place it at on border
|
|
156
|
+
top: -9px;
|
|
157
|
+
font-size: 10px;
|
|
158
|
+
background-color: var(--input-label-bg-color);
|
|
159
|
+
line-height: 15px;
|
|
160
|
+
padding: 0px 2px;
|
|
161
|
+
margin-left: 10px;
|
|
162
|
+
}
|
|
163
|
+
&--disabled {
|
|
155
164
|
cursor: not-allowed;
|
|
165
|
+
.ff-input-label-container {
|
|
166
|
+
cursor: not-allowed;
|
|
167
|
+
}
|
|
156
168
|
}
|
|
157
169
|
}
|
|
158
170
|
}
|
|
159
|
-
}
|
|
171
|
+
}
|