pixel-react 1.1.3 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/lib/components/AddButton/AddButton.d.ts +5 -0
  3. package/lib/components/AddButton/AddButton.stories.d.ts +6 -0
  4. package/lib/components/AddButton/index.d.ts +1 -0
  5. package/lib/components/AddButton/types.d.ts +4 -0
  6. package/lib/components/AddResourceButton/type.d.ts +1 -1
  7. package/lib/components/AllProjectsDropdown/AllProjectsDropdown.d.ts +2 -1
  8. package/lib/components/AllProjectsDropdown/AllProjectsDropdown.stories.d.ts +1 -0
  9. package/lib/components/AllProjectsDropdown/types.d.ts +10 -0
  10. package/lib/components/AppHeader/types.d.ts +14 -10
  11. package/lib/components/Button/Button.stories.d.ts +1 -0
  12. package/lib/components/Button/types.d.ts +1 -1
  13. package/lib/components/Drawer/Drawer.stories.d.ts +3 -0
  14. package/lib/components/Drawer/Types.d.ts +25 -1
  15. package/lib/components/Icon/Icon.d.ts +1 -1
  16. package/lib/components/MachineInputField/MachineInputField.d.ts +4 -0
  17. package/lib/components/MachineInputField/MachineInputField.stories.d.ts +6 -0
  18. package/lib/components/MachineInputField/index.d.ts +1 -0
  19. package/lib/components/MachineInputField/types.d.ts +11 -0
  20. package/lib/components/MenuOption/MenuOption.d.ts +1 -1
  21. package/lib/components/MenuOption/MenuOption.stories.d.ts +1 -0
  22. package/lib/components/MenuOption/types.d.ts +7 -0
  23. package/lib/components/Modal/types.d.ts +1 -0
  24. package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.d.ts +4 -0
  25. package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.stories.d.ts +6 -0
  26. package/lib/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.d.ts +4 -0
  27. package/lib/components/SequentialConnectingBranch/components/AddBrowserModal/types.d.ts +3 -0
  28. package/lib/components/SequentialConnectingBranch/components/Branches/Branches.d.ts +4 -0
  29. package/lib/components/SequentialConnectingBranch/components/Branches/types.d.ts +16 -0
  30. package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.d.ts +4 -0
  31. package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/types.d.ts +9 -0
  32. package/lib/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.d.ts +4 -0
  33. package/lib/components/SequentialConnectingBranch/components/DatasetListModal/types.d.ts +3 -0
  34. package/lib/components/SequentialConnectingBranch/index.d.ts +1 -0
  35. package/lib/components/SequentialConnectingBranch/types.d.ts +32 -0
  36. package/lib/components/Tabs/types.d.ts +1 -0
  37. package/lib/index.d.ts +113 -17
  38. package/lib/index.esm.js +1244 -312
  39. package/lib/index.esm.js.map +1 -1
  40. package/lib/index.js +1245 -311
  41. package/lib/index.js.map +1 -1
  42. package/lib/tsconfig.tsbuildinfo +1 -1
  43. package/package.json +1 -1
  44. package/rollup.config.mjs +2 -8
  45. package/src/assets/Themes/BaseTheme.scss +18 -2
  46. package/src/assets/Themes/DarkTheme.scss +11 -3
  47. package/src/assets/icons/add_locator.svg +5 -0
  48. package/src/assets/icons/android.svg +9 -0
  49. package/src/assets/icons/browser_stack.svg +9 -0
  50. package/src/assets/icons/chrome.svg +12 -0
  51. package/src/assets/icons/dataset_list.svg +3 -0
  52. package/src/assets/icons/drag_icon.svg +5 -0
  53. package/src/assets/icons/label_plus.svg +3 -0
  54. package/src/assets/icons/mac.svg +9 -0
  55. package/src/assets/icons/manual_locator.svg +8 -0
  56. package/src/assets/icons/windows.svg +6 -0
  57. package/src/assets/styles/_colors.scss +4 -4
  58. package/src/components/AddResourceButton/type.ts +1 -1
  59. package/src/components/AllProjectsDropdown/AllProjectsDropdown.scss +2 -2
  60. package/src/components/AllProjectsDropdown/AllProjectsDropdown.stories.tsx +99 -1
  61. package/src/components/AllProjectsDropdown/AllProjectsDropdown.tsx +30 -56
  62. package/src/components/AllProjectsDropdown/types.ts +10 -0
  63. package/src/components/AppHeader/AppHeader.stories.tsx +20 -10
  64. package/src/components/AppHeader/AppHeader.tsx +24 -17
  65. package/src/components/AppHeader/types.ts +17 -13
  66. package/src/components/Button/Button.scss +4 -0
  67. package/src/components/Button/Button.stories.tsx +7 -0
  68. package/src/components/Button/index.ts +1 -1
  69. package/src/components/Button/types.ts +2 -2
  70. package/src/components/Drawer/Drawer.scss +22 -11
  71. package/src/components/Drawer/Drawer.stories.tsx +41 -0
  72. package/src/components/Drawer/Drawer.tsx +67 -40
  73. package/src/components/Drawer/Types.ts +25 -1
  74. package/src/components/GridLayout/GridLayout.scss +0 -2
  75. package/src/components/GridLayout/GridLayout.tsx +15 -8
  76. package/src/components/Icon/Icon.tsx +39 -33
  77. package/src/components/Icon/iconList.ts +25 -6
  78. package/src/components/InputWithDropdown/InputWithDropdown.scss +1 -1
  79. package/src/components/InputWithDropdown/InputWithDropdown.tsx +2 -1
  80. package/src/components/MachineInputField/MachineInputField.scss +44 -0
  81. package/src/components/MachineInputField/MachineInputField.stories.tsx +32 -0
  82. package/src/components/MachineInputField/MachineInputField.tsx +71 -0
  83. package/src/components/MachineInputField/index.ts +1 -0
  84. package/src/components/MachineInputField/types.ts +12 -0
  85. package/src/components/MenuOption/MenuOption.scss +14 -0
  86. package/src/components/MenuOption/MenuOption.stories.tsx +21 -0
  87. package/src/components/MenuOption/MenuOption.tsx +5 -3
  88. package/src/components/MenuOption/types.ts +9 -0
  89. package/src/components/MiniModal/MiniModal.tsx +1 -1
  90. package/src/components/Modal/Modal.tsx +2 -0
  91. package/src/components/Modal/modal.scss +2 -2
  92. package/src/components/Modal/types.ts +1 -0
  93. package/src/components/Select/Select.tsx +2 -2
  94. package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.scss +117 -0
  95. package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.stories.tsx +62 -0
  96. package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.tsx +210 -0
  97. package/src/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.scss +51 -0
  98. package/src/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.tsx +107 -0
  99. package/src/components/SequentialConnectingBranch/components/AddBrowserModal/types.ts +5 -0
  100. package/src/components/SequentialConnectingBranch/components/Branches/Branches.scss +184 -0
  101. package/src/components/SequentialConnectingBranch/components/Branches/Branches.tsx +203 -0
  102. package/src/components/SequentialConnectingBranch/components/Branches/types.ts +18 -0
  103. package/src/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.scss +3 -0
  104. package/src/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.tsx +66 -0
  105. package/src/components/SequentialConnectingBranch/components/ConnectingBranches/types.ts +10 -0
  106. package/src/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.scss +31 -0
  107. package/src/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.tsx +85 -0
  108. package/src/components/SequentialConnectingBranch/components/DatasetListModal/types.ts +4 -0
  109. package/src/components/SequentialConnectingBranch/index.ts +1 -0
  110. package/src/components/SequentialConnectingBranch/types.ts +42 -0
  111. package/src/components/Tabs/Tabs.stories.tsx +24 -25
  112. package/src/components/Tabs/Tabs.tsx +3 -10
  113. package/src/components/Tabs/types.ts +7 -1
  114. package/src/index.ts +5 -0
  115. package/lib/index.css +0 -404
  116. package/lib/index.esm.css +0 -404
@@ -39,15 +39,15 @@ const TabContentFour = () => (
39
39
  </div>
40
40
  );
41
41
 
42
+ const tabsData = [
43
+ { id: 'tab-1', label: 'Tab--1', component: <TabContentOne /> },
44
+ { id: 'tab-2', label: 'Tab--2', component: <TabContentTwo /> },
45
+ { id: 'tab-3', label: 'Tab--3', component: <TabContentThree /> },
46
+ ];
47
+
42
48
  export const DefaultTabs: Story = {
43
49
  render: () => {
44
- const [activeTabIdDefault, setActiveTabIdDefault] = useState<string>('0');
45
-
46
- const tabsData = [
47
- { label: 'Tab--1', component: <TabContentOne /> },
48
- { label: 'Tab--2', component: <TabContentTwo /> },
49
- { label: 'Tab--3', component: <TabContentThree /> },
50
- ];
50
+ const [activeTabIdDefault, setActiveTabIdDefault] = useState<string>('tab-1');
51
51
 
52
52
  return (
53
53
  <Tabs
@@ -60,14 +60,14 @@ export const DefaultTabs: Story = {
60
60
  };
61
61
  export const CapsuleTabs: Story = {
62
62
  render: () => {
63
- const [activeTabIdCapsule, setActiveTabIdCapsule] = useState<string>('0');
63
+ const [activeTabIdCapsule, setActiveTabIdCapsule] = useState<string>('tab-1');
64
64
 
65
65
  const tabsDataForCapsule = [
66
- { label: 'Loremipsum_1', component: <TabContentOne /> },
67
- { label: 'Loremipsum_2', component: <TabContentTwo /> },
68
- { label: 'Loremipsum_3', component: <TabContentThree /> },
69
- { label: 'Loremipsum_4', component: <TabContentFour /> },
70
- { label: 'Loremipsum_5', component: <TabContentFour /> },
66
+ { id: 'tab-1', label: 'Loremipsum_1', component: <TabContentOne /> },
67
+ { id: 'tab-2', label: 'Loremipsum_2', component: <TabContentTwo /> },
68
+ { id: 'tab-3', label: 'Loremipsum_3', component: <TabContentThree /> },
69
+ { id: 'tab-4', label: 'Loremipsum_4', component: <TabContentFour /> },
70
+ { id: 'tab-5', label: 'Loremipsum_5', component: <TabContentFour /> },
71
71
  ];
72
72
 
73
73
  return (
@@ -83,12 +83,17 @@ export const CapsuleTabs: Story = {
83
83
 
84
84
  export const TabsWithDisabledTab: Story = {
85
85
  render: () => {
86
- const [activeTabId, setActiveTabId] = useState<string>('0');
86
+ const [activeTabId, setActiveTabId] = useState<string>('tab-1');
87
87
 
88
88
  const tabsDataWithOneDisableAttribute = [
89
- { label: 'Tab--1', component: <TabContentOne /> },
90
- { label: 'Tab--2', component: <TabContentTwo />, disabled: true },
91
- { label: 'Tab--3', component: <TabContentThree /> },
89
+ { id: 'tab-1', label: 'Tab--1', component: <TabContentOne /> },
90
+ {
91
+ id: 'tab-2',
92
+ label: 'Tab--2',
93
+ component: <TabContentTwo />,
94
+ disabled: true,
95
+ },
96
+ { id: 'tab-3', label: 'Tab--3', component: <TabContentThree /> },
92
97
  ];
93
98
 
94
99
  return (
@@ -103,13 +108,7 @@ export const TabsWithDisabledTab: Story = {
103
108
 
104
109
  export const WithoutBorder: Story = {
105
110
  render: () => {
106
- const [activeTabIdDefault, setActiveTabIdDefault] = useState<string>('0');
107
-
108
- const tabsData = [
109
- { label: 'Tab--1', component: <TabContentOne /> },
110
- { label: 'Tab--2', component: <TabContentTwo /> },
111
- { label: 'Tab--3', component: <TabContentThree /> },
112
- ];
111
+ const [activeTabIdDefault, setActiveTabIdDefault] = useState<string>('tab-1');
113
112
 
114
113
  return (
115
114
  <div style={{ display: 'flex', gap: '10px' }}>
@@ -132,4 +131,4 @@ export const WithoutBorder: Story = {
132
131
  },
133
132
  };
134
133
 
135
- export default meta;
134
+ export default meta;
@@ -11,13 +11,6 @@ const Tabs = ({
11
11
  onTabClick,
12
12
  noBorder = false,
13
13
  }: TabsProps) => {
14
- const tabs = tabsData.map((tab, index) => ({
15
- id: index.toString(),
16
- label: tab.label,
17
- component: tab.component,
18
- disabled: tab.disabled,
19
- }));
20
-
21
14
  return (
22
15
  <div className={`ff-tabs-container`}>
23
16
  <div
@@ -25,7 +18,7 @@ const Tabs = ({
25
18
  'ff-tab-row--no-border': noBorder,
26
19
  })}
27
20
  >
28
- {tabs.map((tab) => (
21
+ {tabsData.map((tab) => (
29
22
  <button
30
23
  key={tab.id}
31
24
  onClick={() => !tab.disabled && onTabClick(tab.id)}
@@ -60,10 +53,10 @@ const Tabs = ({
60
53
  ))}
61
54
  </div>
62
55
  <div className={`ff-tab-content`}>
63
- {tabs.find((tab) => tab.id === activeTabId)?.component}
56
+ {tabsData.find((tab) => tab.id === activeTabId)?.component}
64
57
  </div>
65
58
  </div>
66
59
  );
67
60
  };
68
61
 
69
- export default Tabs;
62
+ export default Tabs;
@@ -21,7 +21,12 @@ export interface TabsProps {
21
21
  /**
22
22
  * An array of tab objects containing label, component, and optional disabled status.
23
23
  */
24
- tabsData: { label: string; component?: JSX.Element; disabled?: boolean }[];
24
+ tabsData: {
25
+ id: string;
26
+ label: string;
27
+ component?: JSX.Element;
28
+ disabled?: boolean;
29
+ }[];
25
30
  /**
26
31
  * Defines the styling variant of the tabs.
27
32
  */
@@ -40,3 +45,4 @@ export interface TabsProps {
40
45
  */
41
46
  noBorder?: boolean;
42
47
  }
48
+
package/src/index.ts CHANGED
@@ -46,6 +46,8 @@ import Paper from './components/Paper';
46
46
  import DashboardDonutChart from './components/Charts/DashboardDonutChart';
47
47
  import Recaptcha from './components/FF_Captcha/Recaptcha';
48
48
  import NLPInput from './components/NLPInput';
49
+ import MachineInputField from './components/MachineInputField';
50
+ import SequentialConnectingBranch from './components/SequentialConnectingBranch';
49
51
 
50
52
  // Utils imports
51
53
  import { checkEmpty } from './utils/checkEmpty/checkEmpty';
@@ -119,6 +121,9 @@ export {
119
121
  Paper,
120
122
  Recaptcha,
121
123
  NLPInput,
124
+ MachineInputField,
125
+ SequentialConnectingBranch,
126
+
122
127
  // utils exports
123
128
  checkEmpty,
124
129
  getExtension,
package/lib/index.css DELETED
@@ -1,404 +0,0 @@
1
- .button {
2
- background-color: #71347b;
3
- }
4
- .ff-icon-container {
5
- display: flex;
6
- justify-content: center;
7
- align-items: center;
8
- }
9
-
10
- .ff-icon-click {
11
- cursor: pointer;
12
- padding: 5px;
13
- box-sizing: content-box;
14
- }
15
- .ff-icon-click:hover {
16
- border-radius: 50%;
17
- background-color: #ffffff;
18
- box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.2509803922);
19
- }
20
- .ff-icon-click:hover > svg {
21
- color: #71347b;
22
- }
23
-
24
- .ff-icon-disabled {
25
- cursor: no-drop;
26
- }
27
- .ff-icon-disabled > svg {
28
- color: #cfd1e2;
29
- }
30
- .ff-icon-disabled:hover {
31
- box-shadow: none;
32
- }
33
- .ff-icon-disabled:hover > svg {
34
- color: #cfd1e2;
35
- }
36
- @font-face {
37
- font-family: "Montserrat-Medium", sans-serif;
38
- src: local("Montserrat-Medium"), url(../../fonts/Montserrat/Montserrat-Medium.ttf) format("truetype");
39
- }
40
- @font-face {
41
- font-family: "Montserrat-SemiBold", sans-serif;
42
- src: local("Montserrat-SemiBold"), url(../../fonts/Montserrat/Montserrat-SemiBold.ttf) format("truetype");
43
- }
44
- @font-face {
45
- font-family: "Poppins-Regular";
46
- src: local("Poppins-Regular"), url(../../fonts/Poppins/Poppins-Regular.ttf) format("truetype");
47
- }
48
- @font-face {
49
- font-family: "Poppins-Medium";
50
- src: local("Poppins-Medium"), url(../../fonts/Poppins/Poppins-Medium.ttf) format("truetype");
51
- }
52
- @font-face {
53
- font-family: "Poppins-SemiBold";
54
- src: local("Poppins-SemiBold"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format("truetype");
55
- }
56
- @font-face {
57
- font-family: "Poppins-Bold";
58
- src: local("Poppins-Bold"), url(../../fonts/Poppins/Poppins-Bold.ttf) format("truetype");
59
- }
60
- .fontPoppinsRegularXLg {
61
- font-family: Poppins-Regular !important;
62
- font-size: 18px !important;
63
- }
64
-
65
- .fontPoppinsRegularLg {
66
- font-family: Poppins-Regular !important;
67
- font-size: 16px !important;
68
- }
69
-
70
- .fontPoppinsRegularMd {
71
- font-family: Poppins-Regular !important;
72
- font-size: 14px !important;
73
- }
74
-
75
- .fontPoppinsRegularSm {
76
- font-family: Poppins-Regular !important;
77
- font-size: 12px !important;
78
- }
79
-
80
- .fontPoppinsRegularXs {
81
- font-family: Poppins-Regular !important;
82
- font-size: 10px !important;
83
- }
84
-
85
- .fontPoppinsRegularXs8px {
86
- font-family: Poppins-Regular !important;
87
- font-size: 8px !important;
88
- }
89
-
90
- .fontPoppinsRegularXs9px {
91
- font-family: Poppins-Regular !important;
92
- font-size: 9px !important;
93
- }
94
-
95
- .fontPoppinsMediumPageSubHeader {
96
- font-family: Poppins-Medium !important;
97
- font-size: 26px !important;
98
- }
99
-
100
- .fontPoppinsMediumXX2 {
101
- font-family: Poppins-Medium !important;
102
- font-size: 22px !important;
103
- }
104
-
105
- .fontPoppinsMediumXXlg {
106
- font-family: Poppins-Medium !important;
107
- font-size: 20px !important;
108
- }
109
-
110
- .fontPoppinsMediumXXlg {
111
- font-family: Poppins-Medium !important;
112
- font-size: 20px !important;
113
- }
114
-
115
- .fontPoppinsMediumLg {
116
- font-family: Poppins-Medium !important;
117
- font-size: 16px !important;
118
- }
119
-
120
- .fontPoppinsMediumMd {
121
- font-family: Poppins-Medium !important;
122
- font-size: 14px !important;
123
- }
124
-
125
- .fontPoppinsMediumSm {
126
- font-family: Poppins-Medium !important;
127
- font-size: 12px !important;
128
- }
129
-
130
- .fontPoppinsMediumSm11 {
131
- font-family: Poppins-Medium !important;
132
- font-size: 11px !important;
133
- }
134
-
135
- .fontPoppinsMediumXs {
136
- font-family: Poppins-Medium !important;
137
- font-size: 10px !important;
138
- }
139
-
140
- .fontPoppinsMediumXs8px {
141
- font-family: Poppins-Medium !important;
142
- font-size: 8px !important;
143
- }
144
-
145
- .fontPoppinsMediumXs8px {
146
- font-family: Poppins-Medium !important;
147
- font-size: 8px !important;
148
- }
149
-
150
- .fontPoppinsSemibold-size-50 {
151
- font-family: Poppins-SemiBold !important;
152
- font-size: 50px !important;
153
- }
154
-
155
- .fontPoppinsSemibold-size-42 {
156
- font-family: Poppins-SemiBold !important;
157
- font-size: 42px !important;
158
- }
159
-
160
- .fontPoppinsSemiboldPageHeader {
161
- font-family: Poppins-SemiBold !important;
162
- font-size: 36px !important;
163
- }
164
-
165
- .fontPoppinsSemiboldAlertHeader {
166
- font-family: Poppins-SemiBold !important;
167
- font-size: 32px !important;
168
- }
169
-
170
- .fontPoppinsSemibold-size-28 {
171
- font-family: Poppins-SemiBold !important;
172
- font-size: 28px !important;
173
- }
174
-
175
- .fontPoppinsSemibold-size-26 {
176
- font-family: Poppins-SemiBold !important;
177
- font-size: 26px !important;
178
- }
179
-
180
- .fontPoppinsSemiboldPageSubHeader {
181
- font-family: Poppins-SemiBold !important;
182
- font-size: 24px !important;
183
- }
184
-
185
- .fontPoppinsSemiboldXX2 {
186
- font-family: Poppins-SemiBold !important;
187
- font-size: 22px !important;
188
- }
189
-
190
- .fontPoppinsSemiboldXXlg {
191
- font-family: Poppins-SemiBold !important;
192
- font-size: 20px !important;
193
- }
194
-
195
- .fontPoppinsSemiboldXlg {
196
- font-family: Poppins-SemiBold !important;
197
- font-size: 18px !important;
198
- }
199
-
200
- .fontPoppinsSemiboldLg {
201
- font-family: Poppins-SemiBold !important;
202
- font-size: 16px !important;
203
- }
204
-
205
- .fontPoppinsSemiboldMd {
206
- font-family: Poppins-SemiBold !important;
207
- font-size: 14px !important;
208
- }
209
-
210
- .fontPoppinsSemiboldSm {
211
- font-family: Poppins-SemiBold !important;
212
- font-size: 12px !important;
213
- }
214
-
215
- .fontPoppinsSemiboldSm11 {
216
- font-family: Poppins-SemiBold !important;
217
- font-size: 11px !important;
218
- }
219
-
220
- .fontPoppinsSemiboldXs {
221
- font-family: Poppins-SemiBold !important;
222
- font-size: 10px !important;
223
- }
224
-
225
- .fontPoppinsSemiboldXs9px {
226
- font-family: Poppins-SemiBold !important;
227
- font-size: 9px !important;
228
- }
229
-
230
- .fontPoppinsSemiboldXs8px {
231
- font-family: Poppins-Medium !important;
232
- font-size: 8px !important;
233
- }
234
-
235
- .fontPoppinsSemiboldXXs {
236
- font-family: Poppins-SemiBold !important;
237
- font-size: 8px !important;
238
- }
239
-
240
- .fontMontserratMediumXs {
241
- font-family: Montserrat-Medium, sans-serif !important;
242
- font-size: 10px !important;
243
- }
244
-
245
- .fontMontserratMediumSm {
246
- font-family: Montserrat-Medium, sans-serif !important;
247
- font-size: 12px !important;
248
- }
249
-
250
- .fontMontserratMediumMd {
251
- font-family: Montserrat-Medium, sans-serif !important;
252
- font-size: 14px !important;
253
- }
254
-
255
- .fontMontserratSemiboldXs {
256
- font-family: Montserrat-SemiBold, sans-serif !important;
257
- font-size: 10px !important;
258
- }
259
-
260
- .fontMontserratSemiboldSm {
261
- font-family: Montserrat-SemiBold, sans-serif !important;
262
- font-size: 12px !important;
263
- }
264
-
265
- .fontMontserratSemiboldMd {
266
- font-family: Montserrat-SemiBold, sans-serif !important;
267
- font-size: 14px !important;
268
- }
269
-
270
- .fontMontserratSemiboldLg {
271
- font-family: Montserrat-SemiBold, sans-serif !important;
272
- font-size: 16px !important;
273
- }
274
-
275
- .ff--switch-container {
276
- position: relative;
277
- display: flex;
278
- align-items: center;
279
- }
280
- .ff--switch-container:disabled {
281
- opacity: 0.7;
282
- cursor: no-drop;
283
- }
284
- .ff--switch-container .ff--switch-checkbox {
285
- height: 0;
286
- width: 0;
287
- display: none;
288
- }
289
- .ff--switch-container .ff--switch-checkbox:checked + .ff--switch-label .ff--switch-button {
290
- left: calc(100% - 19px);
291
- right: -1px;
292
- border: 1px solid #71347b;
293
- background: #ffffff;
294
- transition: all 0.3s;
295
- box-shadow: 0px 0px 2px 0px #141a60;
296
- }
297
- .ff--switch-container .ff--switch-checkbox:checked + .ff--switch-label .ff--switch-button .ff-check-symbol {
298
- height: 6px;
299
- width: 3px;
300
- border-bottom: 2px solid #71347b;
301
- border-right: 2px solid #71347b;
302
- transform: rotate(45deg);
303
- border-bottom-right-radius: 2px;
304
- animation: checkmark 0.2s forwards;
305
- transition: all 0.1s;
306
- }
307
- .ff--switch-container .ff--switch-checkbox:checked + .ff--switch-label--primary {
308
- background: #71347b;
309
- transition: all 0.3s;
310
- }
311
- .ff--switch-container .ff--switch-checkbox:checked + .ff--switch-label:disabled {
312
- cursor: default;
313
- color: rgba(113, 52, 123, 0.5019607843);
314
- background: rgba(113, 52, 123, 0.5019607843);
315
- }
316
- .ff--switch-container .ff--switch-checkbox:disabled {
317
- cursor: no-drop;
318
- }
319
- .ff--switch-container .ff--switch-label {
320
- display: flex;
321
- align-items: center;
322
- justify-content: space-between;
323
- cursor: pointer;
324
- border-radius: 8px;
325
- position: relative;
326
- background: #cfd1e2;
327
- transition: all 0.3s;
328
- }
329
- .ff--switch-container .ff--switch-label--disabled {
330
- opacity: 0.5;
331
- cursor: no-drop;
332
- }
333
- .ff--switch-container .ff--switch-label .ff--switch-button {
334
- position: absolute;
335
- left: 0;
336
- width: 20px;
337
- height: 20px;
338
- border: 1px solid #cfd1e2;
339
- display: flex;
340
- background: #ffffff;
341
- border-radius: 50%;
342
- box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.2509803922);
343
- transition: all 0.3s;
344
- align-items: center;
345
- justify-content: center;
346
- box-sizing: border-box;
347
- }
348
- .ff--switch-container .ff--switch-label .ff--switch-button .ff-wrong-symbol {
349
- width: 8px;
350
- height: 8px;
351
- position: relative;
352
- display: flex;
353
- align-items: center;
354
- justify-content: center;
355
- }
356
- .ff--switch-container .ff--switch-label .ff--switch-button .ff-wrong-symbol .ff-cross-line {
357
- position: absolute;
358
- width: 100%;
359
- height: 2px;
360
- background-color: #aeb0c0;
361
- transition: all 0.3s;
362
- animation: crossmark 0.2s forwards;
363
- }
364
- .ff--switch-container .ff--switch-label .ff--switch-button .ff-wrong-symbol .ff-cross-line:first-child {
365
- transform: rotate(45deg);
366
- }
367
- .ff--switch-container .ff--switch-label .ff--switch-button .ff-wrong-symbol .ff-cross-line:last-child {
368
- transform: rotate(-45deg);
369
- }
370
- .ff--switch-container .default {
371
- width: 32px;
372
- height: 14px;
373
- }
374
- @keyframes checkmark {
375
- 0% {
376
- height: 0;
377
- width: 0;
378
- opacity: 0;
379
- }
380
- 50% {
381
- height: 3px;
382
- width: 3px;
383
- opacity: 1;
384
- }
385
- 100% {
386
- height: 6px;
387
- width: 3px;
388
- opacity: 1;
389
- }
390
- }
391
- @keyframes crossmark {
392
- 0% {
393
- width: 0;
394
- opacity: 0;
395
- }
396
- 50% {
397
- width: 50%;
398
- opacity: 1;
399
- }
400
- 100% {
401
- width: 100%;
402
- opacity: 1;
403
- }
404
- }