pixel-react 1.13.43 → 1.13.44

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.
Files changed (256) hide show
  1. package/lib/node_modules/js-beautify/js/src/css/beautifier.js +1 -1
  2. package/lib/node_modules/js-beautify/js/src/css/options.js +1 -1
  3. package/lib/node_modules/js-beautify/js/src/html/beautifier.js +1 -1
  4. package/lib/node_modules/js-beautify/js/src/html/tokenizer.js +1 -1
  5. package/lib/node_modules/js-beautify/js/src/javascript/beautifier.js +1 -1
  6. package/lib/node_modules/js-beautify/js/src/javascript/options.js +1 -1
  7. package/lib/node_modules/js-beautify/js/src/javascript/tokenizer.js +1 -1
  8. package/package.json +1 -1
  9. package/lib/components/MegaMenu/MegaMenu.d.ts +0 -5
  10. package/lib/components/MegaMenu/MegaMenu.js +0 -225
  11. package/lib/components/MegaMenu/MegaMenu.js.map +0 -1
  12. package/lib/components/MegaMenu/data/DropDownContent.d.ts +0 -5
  13. package/lib/components/MegaMenu/data/DropDownContent.js +0 -146
  14. package/lib/components/MegaMenu/data/DropDownContent.js.map +0 -1
  15. package/lib/components/MegaMenu/data/MegaMenuData.d.ts +0 -62
  16. package/lib/components/MegaMenu/data/MegaMenuData.js +0 -263
  17. package/lib/components/MegaMenu/data/MegaMenuData.js.map +0 -1
  18. package/lib/components/MegaMenu/index.d.ts +0 -1
  19. package/lib/components/MegaMenu/index.js +0 -2
  20. package/lib/components/MegaMenu/index.js.map +0 -1
  21. package/lib/components/MegaMenu/types.d.ts +0 -45
  22. package/lib/components/MegaMenu/types.js +0 -2
  23. package/lib/components/MegaMenu/types.js.map +0 -1
  24. package/lib/components/MultiColFooter/MultiColFooter.d.ts +0 -5
  25. package/lib/components/MultiColFooter/MultiColFooter.js +0 -44
  26. package/lib/components/MultiColFooter/MultiColFooter.js.map +0 -1
  27. package/lib/components/MultiColFooter/index.d.ts +0 -1
  28. package/lib/components/MultiColFooter/index.js +0 -2
  29. package/lib/components/MultiColFooter/index.js.map +0 -1
  30. package/lib/components/MultiColFooter/types.d.ts +0 -48
  31. package/lib/components/MultiColFooter/types.js +0 -2
  32. package/lib/components/MultiColFooter/types.js.map +0 -1
  33. package/lib/components/NotFoundPage/NotFoundPage.d.ts +0 -4
  34. package/lib/components/NotFoundPage/NotFoundPage.js +0 -9
  35. package/lib/components/NotFoundPage/NotFoundPage.js.map +0 -1
  36. package/lib/components/NotFoundPage/index.d.ts +0 -1
  37. package/lib/components/NotFoundPage/index.js +0 -2
  38. package/lib/components/NotFoundPage/index.js.map +0 -1
  39. package/lib/components/NotFoundPage/types.d.ts +0 -8
  40. package/lib/components/NotFoundPage/types.js +0 -2
  41. package/lib/components/NotFoundPage/types.js.map +0 -1
  42. package/lib/components/NumberCounter/NumberCounter.d.ts +0 -4
  43. package/lib/components/NumberCounter/NumberCounter.js +0 -30
  44. package/lib/components/NumberCounter/NumberCounter.js.map +0 -1
  45. package/lib/components/NumberCounter/index.d.ts +0 -1
  46. package/lib/components/NumberCounter/index.js +0 -2
  47. package/lib/components/NumberCounter/index.js.map +0 -1
  48. package/lib/components/NumberCounter/type.d.ts +0 -11
  49. package/lib/components/NumberCounter/type.js +0 -2
  50. package/lib/components/NumberCounter/type.js.map +0 -1
  51. package/lib/components/PhoneInput/util.d.ts +0 -3
  52. package/lib/components/PhoneInput/util.js +0 -21
  53. package/lib/components/PhoneInput/util.js.map +0 -1
  54. package/lib/components/ProductSlider/ProductSlider.d.ts +0 -7
  55. package/lib/components/ProductSlider/ProductSlider.js +0 -74
  56. package/lib/components/ProductSlider/ProductSlider.js.map +0 -1
  57. package/lib/components/ProductSlider/data/carouselData.d.ts +0 -2
  58. package/lib/components/ProductSlider/data/carouselData.js +0 -50
  59. package/lib/components/ProductSlider/data/carouselData.js.map +0 -1
  60. package/lib/components/ProductSlider/index.d.ts +0 -1
  61. package/lib/components/ProductSlider/index.js +0 -2
  62. package/lib/components/ProductSlider/index.js.map +0 -1
  63. package/lib/components/ProductSlider/types.d.ts +0 -13
  64. package/lib/components/ProductSlider/types.js +0 -2
  65. package/lib/components/ProductSlider/types.js.map +0 -1
  66. package/lib/components/TestimonialSlider/TestimonialSlider.d.ts +0 -7
  67. package/lib/components/TestimonialSlider/TestimonialSlider.js +0 -136
  68. package/lib/components/TestimonialSlider/TestimonialSlider.js.map +0 -1
  69. package/lib/components/TestimonialSlider/data/testimonialsData.d.ts +0 -2
  70. package/lib/components/TestimonialSlider/data/testimonialsData.js +0 -80
  71. package/lib/components/TestimonialSlider/data/testimonialsData.js.map +0 -1
  72. package/lib/components/TestimonialSlider/index.d.ts +0 -1
  73. package/lib/components/TestimonialSlider/index.js +0 -2
  74. package/lib/components/TestimonialSlider/index.js.map +0 -1
  75. package/lib/components/TestimonialSlider/types.d.ts +0 -21
  76. package/lib/components/TestimonialSlider/types.js +0 -2
  77. package/lib/components/TestimonialSlider/types.js.map +0 -1
  78. package/lib/components/VerticalSlider/VerticalSlider.d.ts +0 -7
  79. package/lib/components/VerticalSlider/VerticalSlider.js +0 -94
  80. package/lib/components/VerticalSlider/VerticalSlider.js.map +0 -1
  81. package/lib/components/VerticalSlider/data/carouselData.d.ts +0 -2
  82. package/lib/components/VerticalSlider/data/carouselData.js +0 -49
  83. package/lib/components/VerticalSlider/data/carouselData.js.map +0 -1
  84. package/lib/components/VerticalSlider/index.d.ts +0 -0
  85. package/lib/components/VerticalSlider/index.js +0 -2
  86. package/lib/components/VerticalSlider/index.js.map +0 -1
  87. package/lib/components/VerticalSlider/types.d.ts +0 -11
  88. package/lib/components/VerticalSlider/types.js +0 -2
  89. package/lib/components/VerticalSlider/types.js.map +0 -1
  90. package/lib/components/WebsiteInput/WebsiteInput.d.ts +0 -5
  91. package/lib/components/WebsiteInput/WebsiteInput.js +0 -11
  92. package/lib/components/WebsiteInput/WebsiteInput.js.map +0 -1
  93. package/lib/components/WebsiteInput/index.d.ts +0 -1
  94. package/lib/components/WebsiteInput/index.js +0 -2
  95. package/lib/components/WebsiteInput/index.js.map +0 -1
  96. package/lib/components/WebsiteInput/types.d.ts +0 -11
  97. package/lib/components/WebsiteInput/types.js +0 -2
  98. package/lib/components/WebsiteInput/types.js.map +0 -1
  99. package/lib/components/WebsiteSelect/WebsiteSelect.d.ts +0 -5
  100. package/lib/components/WebsiteSelect/WebsiteSelect.js +0 -37
  101. package/lib/components/WebsiteSelect/WebsiteSelect.js.map +0 -1
  102. package/lib/components/WebsiteSelect/index.d.ts +0 -1
  103. package/lib/components/WebsiteSelect/index.js +0 -2
  104. package/lib/components/WebsiteSelect/index.js.map +0 -1
  105. package/lib/components/WebsiteSelect/types.d.ts +0 -6
  106. package/lib/components/WebsiteSelect/types.js +0 -2
  107. package/lib/components/WebsiteSelect/types.js.map +0 -1
  108. package/lib/index.esm.js +0 -63
  109. package/lib/index.esm.js.br +0 -0
  110. package/lib/index.esm.js.map +0 -1
  111. package/lib/node_modules/react-loading-skeleton/dist/skeleton.css.js +0 -7
  112. package/lib/node_modules/react-loading-skeleton/dist/skeleton.css.js.map +0 -1
  113. package/lib/node_modules/style-inject/dist/style-inject.es.js +0 -27
  114. package/lib/node_modules/style-inject/dist/style-inject.es.js.map +0 -1
  115. package/lib/styles/Accordion.scss +0 -46
  116. package/lib/styles/AddContentButton.scss +0 -23
  117. package/lib/styles/AddResourceButton.scss +0 -47
  118. package/lib/styles/AiToggle.scss +0 -78
  119. package/lib/styles/AllProjectsDropdown.scss +0 -209
  120. package/lib/styles/AppHeader.scss +0 -299
  121. package/lib/styles/ArrowsButton.scss +0 -165
  122. package/lib/styles/AttachMedia.scss +0 -81
  123. package/lib/styles/AttachmentButton.scss +0 -19
  124. package/lib/styles/Avatar.scss +0 -28
  125. package/lib/styles/BarChart.scss +0 -69
  126. package/lib/styles/BaseTheme.scss +0 -413
  127. package/lib/styles/BlueTheme.scss +0 -338
  128. package/lib/styles/Box.scss +0 -27
  129. package/lib/styles/Branches.scss +0 -199
  130. package/lib/styles/BrowserTabs.scss +0 -95
  131. package/lib/styles/Button.scss +0 -182
  132. package/lib/styles/Carousel.scss +0 -126
  133. package/lib/styles/ChatModal.scss +0 -117
  134. package/lib/styles/Checkbox.scss +0 -216
  135. package/lib/styles/Chip.scss +0 -89
  136. package/lib/styles/ChipWithCount.scss +0 -30
  137. package/lib/styles/ChipsAccordion.scss +0 -65
  138. package/lib/styles/ColorBarSelector.scss +0 -26
  139. package/lib/styles/ColorPalette.scss +0 -62
  140. package/lib/styles/Comments.scss +0 -282
  141. package/lib/styles/ConditionalDropdown.scss +0 -24
  142. package/lib/styles/ConnectingBranch.scss +0 -227
  143. package/lib/styles/ConnectingBranches.scss +0 -3
  144. package/lib/styles/CreateVariableSlider.scss +0 -23
  145. package/lib/styles/DarkTheme.scss +0 -409
  146. package/lib/styles/DashboardDonutChart.scss +0 -277
  147. package/lib/styles/DataSetTooltip.scss +0 -14
  148. package/lib/styles/DatePicker.scss +0 -789
  149. package/lib/styles/DonutChart.scss +0 -76
  150. package/lib/styles/DownloadClient.scss +0 -67
  151. package/lib/styles/DragAndDropList.scss +0 -69
  152. package/lib/styles/Drawer.scss +0 -140
  153. package/lib/styles/Dropdown.scss +0 -117
  154. package/lib/styles/EditComponent.scss +0 -36
  155. package/lib/styles/EditLabel.scss +0 -141
  156. package/lib/styles/EditTextField.scss +0 -101
  157. package/lib/styles/Editor.scss +0 -62
  158. package/lib/styles/ExcelContextMenu.scss +0 -27
  159. package/lib/styles/ExcelFile.scss +0 -61
  160. package/lib/styles/ExcelToolBar.scss +0 -97
  161. package/lib/styles/ExpandableMenu.scss +0 -110
  162. package/lib/styles/ExpandableTable.scss +0 -0
  163. package/lib/styles/FieldSet.scss +0 -13
  164. package/lib/styles/FileDropzone.scss +0 -263
  165. package/lib/styles/Form.scss +0 -159
  166. package/lib/styles/GridLayout.scss +0 -69
  167. package/lib/styles/GridLayoutStory.scss +0 -25
  168. package/lib/styles/HighlightText.scss +0 -3
  169. package/lib/styles/HistoryCard.scss +0 -79
  170. package/lib/styles/IconButton.scss +0 -86
  171. package/lib/styles/IconRadialChart.scss +0 -30
  172. package/lib/styles/IconRadioGroup.scss +0 -64
  173. package/lib/styles/Icons.scss +0 -57
  174. package/lib/styles/Input.scss +0 -212
  175. package/lib/styles/InputWithDropdown.scss +0 -220
  176. package/lib/styles/LabelEditTextField.scss +0 -94
  177. package/lib/styles/LineChart.scss +0 -93
  178. package/lib/styles/LineLoader.scss +0 -68
  179. package/lib/styles/Link.scss +0 -173
  180. package/lib/styles/MachineInputField.scss +0 -63
  181. package/lib/styles/MediaPreview.scss +0 -43
  182. package/lib/styles/MediaViewerModal.scss +0 -110
  183. package/lib/styles/MegaMenu.scss +0 -778
  184. package/lib/styles/MentionUser.scss +0 -37
  185. package/lib/styles/MenuOption.scss +0 -142
  186. package/lib/styles/MessageBox.scss +0 -75
  187. package/lib/styles/MiniModal.scss +0 -172
  188. package/lib/styles/MobileSkin.scss +0 -67
  189. package/lib/styles/ModuleChip.scss +0 -66
  190. package/lib/styles/MultiColFooter.scss +0 -316
  191. package/lib/styles/MultiRadialChart.scss +0 -84
  192. package/lib/styles/MultiSelect.scss +0 -274
  193. package/lib/styles/NLPInput.scss +0 -313
  194. package/lib/styles/NlpDropdown.scss +0 -146
  195. package/lib/styles/NoDataContent.scss +0 -10
  196. package/lib/styles/NotFoundPage.scss +0 -5
  197. package/lib/styles/NumberCounter.scss +0 -16
  198. package/lib/styles/OsTree.scss +0 -182
  199. package/lib/styles/OtpVerification.scss +0 -86
  200. package/lib/styles/Paper.scss +0 -13
  201. package/lib/styles/PieChart.scss +0 -41
  202. package/lib/styles/PopUpModal.scss +0 -36
  203. package/lib/styles/PrePostTable.scss +0 -195
  204. package/lib/styles/ProductSlider.scss +0 -190
  205. package/lib/styles/ProgressBar.scss +0 -46
  206. package/lib/styles/Prompt.scss +0 -34
  207. package/lib/styles/PromptContainer.scss +0 -106
  208. package/lib/styles/RadialChart.scss +0 -16
  209. package/lib/styles/RadioButton.scss +0 -121
  210. package/lib/styles/RadioGroup.scss +0 -17
  211. package/lib/styles/Recaptcha.scss +0 -11
  212. package/lib/styles/ScriptSwitchButton.scss +0 -33
  213. package/lib/styles/Search.scss +0 -153
  214. package/lib/styles/Select.scss +0 -222
  215. package/lib/styles/SequentialConnectingBranch.scss +0 -130
  216. package/lib/styles/SessionDropdown.scss +0 -170
  217. package/lib/styles/SessionManager.scss +0 -70
  218. package/lib/styles/Spreadsheet.scss +0 -277
  219. package/lib/styles/StateDropdown.scss +0 -11
  220. package/lib/styles/StatusButton.scss +0 -96
  221. package/lib/styles/StatusCard.scss +0 -101
  222. package/lib/styles/StatusIndicator.scss +0 -124
  223. package/lib/styles/StepGroupDetailView.scss +0 -37
  224. package/lib/styles/StepInnerTable.scss +0 -160
  225. package/lib/styles/StepLandingTable.scss +0 -93
  226. package/lib/styles/SwitchButton.scss +0 -31
  227. package/lib/styles/Table.scss +0 -201
  228. package/lib/styles/TableTree.scss +0 -371
  229. package/lib/styles/TableTreeStories.scss +0 -22
  230. package/lib/styles/TableWithAccordion.scss +0 -64
  231. package/lib/styles/Tabs.scss +0 -195
  232. package/lib/styles/TabsWithSilder.scss +0 -238
  233. package/lib/styles/TestimonialSlider.scss +0 -204
  234. package/lib/styles/TextEditor.scss +0 -1150
  235. package/lib/styles/Textarea.scss +0 -173
  236. package/lib/styles/Theme.scss +0 -21
  237. package/lib/styles/Toast.scss +0 -121
  238. package/lib/styles/Toggle.scss +0 -133
  239. package/lib/styles/ToggleSwitch.scss +0 -59
  240. package/lib/styles/Tooltip.scss +0 -28
  241. package/lib/styles/Typography.scss +0 -99
  242. package/lib/styles/VariableDropdown.scss +0 -26
  243. package/lib/styles/VariableInput.scss +0 -127
  244. package/lib/styles/VariableSuggestionInputDropDown.scss +0 -39
  245. package/lib/styles/VerticalSlider.scss +0 -263
  246. package/lib/styles/WebsiteInput.scss +0 -39
  247. package/lib/styles/WebsiteSelect.scss +0 -93
  248. package/lib/styles/_colors.scss +0 -157
  249. package/lib/styles/_fonts.scss +0 -50
  250. package/lib/styles/_mixins.scss +0 -53
  251. package/lib/styles/modal.scss +0 -51
  252. package/lib/styles/overviewModal.scss +0 -130
  253. package/lib/styles/phoneInput.scss +0 -901
  254. package/lib/utils/useDeviceType/useDeviceType.d.ts +0 -6
  255. package/lib/utils/useDeviceType/useDeviceType.js +0 -24
  256. package/lib/utils/useDeviceType/useDeviceType.js.map +0 -1
@@ -1,789 +0,0 @@
1
- @use '../../assets/styles/fonts';
2
- @import 'react-day-picker/style.css';
3
-
4
- /* Custom date picker styling */
5
- .ff-date-picker {
6
-
7
- .ff-datepicker-input-container {
8
- display: flex;
9
- gap: 10px;
10
-
11
- .ff-input-with-icon {
12
- position: relative;
13
- display: flex;
14
- flex-direction: column;
15
- align-items: flex-start;
16
-
17
- .ff-date-input,
18
- .ff-time-input {
19
- padding: 4px 8px;
20
- padding-left: 2rem;
21
- height: 32px;
22
- border-radius: 5px;
23
- border: 1px solid var(--ff-select-border-color);
24
- @extend .fontXs;
25
- color: var(--status-skipped-text-color);
26
- line-height: 15px;
27
- box-sizing: border-box;
28
-
29
- &:focus {
30
- outline: none;
31
- }
32
-
33
- &:disabled{
34
- cursor: no-drop;
35
- }
36
- }
37
-
38
- .ff-filter-time-input,
39
- .ff-filter-date-input {
40
- @extend .ff-date-input;
41
- @extend .ff-time-input;
42
- border-radius: 27px;
43
- border: 1px solid var(--details-page-value-color);
44
- }
45
-
46
- .ff-calendar-icon,
47
- .ff-clock-icon {
48
- position: absolute;
49
- top: 50%;
50
- transform: translate(25%, -50%);
51
- display: flex;
52
- align-items: center;
53
- pointer-events: none;
54
- }
55
- }
56
-
57
- .ff-date-input-field {
58
- flex: 1;
59
-
60
- .ff-date-input {
61
- width: 100%;
62
- }
63
-
64
- .ff-date-input-message {
65
- @extend .font-size-10;
66
- padding: 0px 4px;
67
- margin-left: 8px;
68
- line-height: 12px;
69
-
70
- &--danger {
71
- color: var(--input-error-text-color);
72
- }
73
- }
74
- }
75
-
76
- .ff-time-input-field {
77
- flex: 0 0 120px;
78
-
79
- .ff-time-input {
80
- width: 100%;
81
- }
82
- }
83
- }
84
- }
85
-
86
- .ff-date-picker-container {
87
- // day-picker variable override
88
- .rdp-root {
89
- --rdp-accent-color: var(--brand-color);
90
- --rdp-day-height: 24px;
91
- --rdp-day-width: 36px;
92
- --rdp-day_button-height: 24px;
93
- --rdp-day_button-width: 36px;
94
- @include fonts.fontPoppins(12px);
95
- --rdp-font-family: 'Poppins', sans-serif;
96
- }
97
-
98
- .ff-cursor-pointer {
99
- cursor: pointer;
100
- }
101
-
102
- display: flex;
103
- flex-direction: column;
104
- position: fixed;
105
- border-radius: 8px;
106
- padding: 4px;
107
- box-sizing: border-box;
108
- background-color: var(--tab-bg-color);
109
- box-shadow: 0 0 12px 0 #00000033;
110
- gap: 8px;
111
-
112
- .ff-calendar-container {
113
- display: flex;
114
- align-items: flex-start;
115
- gap: 4px;
116
- height: 240px;
117
- }
118
-
119
- .ff-date-picker-controls {
120
- padding: 4px;
121
- display: flex;
122
- justify-content: end;
123
- gap: 8px;
124
- border-top: 1px solid var(--border-color);
125
-
126
- .ff-date-picker-button {
127
- font-weight: 600;
128
- line-height: 15px;
129
- }
130
- }
131
- }
132
-
133
- .ff-calendar {
134
- .ff-calendar-nav-button {
135
- margin: 0 5px;
136
- border: 1px solid var(--border-color);
137
- background-color: var(--toggle-button-bg-color);
138
- box-shadow: 0 -1px 2px 0 var(--ff-mini-modal-box-shadow);
139
- padding: 0px;
140
- border-radius: 30%;
141
- cursor: pointer;
142
-
143
- &:disabled {
144
- cursor: auto;
145
- opacity: 0.5;
146
- }
147
- }
148
-
149
- .ff-calendar-haeder {
150
- display: flex;
151
- align-items: center;
152
- gap: 5px;
153
- color: var(--text-color);
154
- padding-left: 10px;
155
- }
156
-
157
- .ff-custom-year_grid,
158
- .ff-custom-month_grid {
159
- width: calc((var(--rdp-day_button-width) + 4px) * 7);
160
- display: grid;
161
- grid-template-columns: repeat(3, 1fr);
162
- gap: 10px;
163
- padding: 5px;
164
- max-width: 100%;
165
-
166
- .ff-custom-year,
167
- .ff-custom-month {
168
- padding: 10px 0;
169
- text-align: center;
170
- cursor: pointer;
171
- border-radius: 8px;
172
- background-color: var(--disabled-primary-color);
173
-
174
- &--selected {
175
- background-color: var(--brand-color);
176
- color: var(--primary-button-text-color);
177
- }
178
-
179
- &--disabled {
180
- color: var(--text-color-light);
181
- cursor: default;
182
-
183
- &.ff-custom-month--selected,
184
- &.ff-custom-year--selected {
185
- background-color: var(--disable-color);
186
- }
187
- }
188
- }
189
- }
190
-
191
- .rdp-weekdays {
192
- th {
193
- color: #6f7c8e; // color need to be change
194
- font-weight: 400;
195
- }
196
- }
197
-
198
- .rdp-day {
199
- padding: 2px;
200
- font-weight: 500;
201
- }
202
-
203
- .rdp-day_button {
204
- border-radius: 4px;
205
- padding: 3px 9px;
206
-
207
- &:hover {
208
- background-color: var(--hover-color);
209
- }
210
- }
211
-
212
- .rdp-selected {
213
- font: inherit;
214
-
215
- .rdp-day_button {
216
- background: var(--rdp-accent-color);
217
- color: var(--drawer-footer-bg);
218
- border: none;
219
- }
220
- }
221
-
222
- .rdp-today:not(.rdp-outside) {
223
- .rdp-day_button {
224
- border: 2px solid var(--rdp-accent-color);
225
- }
226
- }
227
- }
228
-
229
- // Timepicker css ************************************************************************
230
-
231
- .ff-time-picker-container {
232
- position: relative;
233
- width: 150px;
234
- height: 100%;
235
- overflow-y: hidden;
236
- border-left: 1px solid #ccc;
237
- padding: 10px 5px;
238
- box-sizing: border-box;
239
-
240
- &::-webkit-scrollbar {
241
- display: none;
242
- }
243
-
244
- .ff-time-picker-fields {
245
- display: flex;
246
- height: 14%;
247
- width: 100%;
248
- margin-bottom: 5px;
249
- box-sizing: border-box;
250
-
251
- .ff-time-input-container {
252
- display: flex;
253
- border: 1px solid var(--border-color);
254
- border-right: 0;
255
- border-radius: 4px 0 0 4px;
256
- width: 55%;
257
- position: relative;
258
-
259
- .ff-time-input {
260
- border: none;
261
- padding: 5px;
262
- width: 100%;
263
- text-align: center;
264
- border-radius: 4px 0 0 4px;
265
- font-weight: 400;
266
- @extend .fontSm;
267
-
268
- &::placeholder {
269
- opacity: 0;
270
- line-height: 18px;
271
- }
272
- }
273
-
274
- .ff-time-input-label {
275
- position: absolute;
276
- left: 10px;
277
- top: 50%;
278
- transform: translateY(-50%);
279
- transition: 0.2s ease all;
280
- color: var(--input-default-label-color);
281
- pointer-events: none;
282
- }
283
-
284
- &--float .ff-time-input-label {
285
- top: 0;
286
- left: 5px;
287
- color: var(--brand-color);
288
- background-color: var(--input-label-bg-color);
289
- line-height: 12px;
290
- padding: 0 2px;
291
- font-size: 8px !important;
292
-
293
- &--danger {
294
- color: var(--input-error-text-color);
295
- }
296
- }
297
-
298
- &:hover {
299
- border-color: var(--input-hover-border-color);
300
- }
301
-
302
- &:focus-within {
303
- border-color: var(--brand-color);
304
-
305
- .ff-time-input-label {
306
- top: 0;
307
- left: 5px;
308
- color: var(--brand-color);
309
- background-color: var(--input-label-bg-color);
310
- line-height: 12px;
311
- padding: 0 2px;
312
- font-size: 8px !important;
313
-
314
- &--danger {
315
- color: var(--input-error-text-color);
316
- }
317
- }
318
-
319
- .ff-time-input {
320
- &::placeholder {
321
- opacity: 1;
322
- margin-bottom: 1px;
323
- }
324
- }
325
- }
326
-
327
- &--danger {
328
- border-color: var(--input-error-text-color) !important;
329
- }
330
-
331
- .ff-time-input:focus {
332
- outline: none;
333
- }
334
- }
335
-
336
- .ff-time-period-container {
337
- position: relative;
338
- width: 45%;
339
- display: flex;
340
- border: 1px solid var(--border-color);
341
- border-radius: 0 4px 4px 0;
342
-
343
- .ff-time-period-select {
344
- display: flex;
345
- align-items: center;
346
- padding: 0 5px;
347
- width: 100%;
348
- border-radius: 4px;
349
- background-color: white;
350
- cursor: pointer;
351
- border: none;
352
- }
353
-
354
- &--active {
355
- border-color: var(--brand-color) !important;
356
- }
357
-
358
- &:hover {
359
- border-color: var(--input-hover-border-color);
360
- }
361
-
362
- .ff-time-period-icon {
363
- svg {
364
- path {
365
- fill: var(--default-icon-color);
366
- }
367
- }
368
-
369
- margin-left: auto;
370
- pointer-events: none;
371
- }
372
-
373
- &:hover {
374
- svg {
375
- path {
376
- fill: var(--brand-color);
377
- }
378
- }
379
- }
380
-
381
- .ff-time-period-options {
382
- position: absolute;
383
- top: 100%;
384
- left: 0;
385
- z-index: 100;
386
- min-width: 60px;
387
- margin: 4px 0 0;
388
- padding: 0;
389
- list-style: none;
390
- border: 1px solid var(--ff-select-background-color);
391
- border-radius: 4px;
392
- background-color: var(--primary-button-text-color);
393
- box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
394
- }
395
-
396
- .ff-option-item {
397
- padding: 8px;
398
- color: var(--text-color);
399
- border-radius: 4px;
400
- cursor: pointer;
401
- transition: background-color 0.2s ease;
402
-
403
- &:hover {
404
- background-color: var(--ff-select-option-hover-color);
405
- }
406
- }
407
- }
408
- }
409
-
410
- .ff-time-picker-options {
411
- height: 86%;
412
- overflow-y: auto;
413
- padding-right: 5px;
414
-
415
- &::-webkit-scrollbar {
416
- width: 4px;
417
- height: 12px;
418
-
419
- &-thumb {
420
- background-color: var(--ff-select-scroll-thumb-color);
421
- border-radius: 4px;
422
- }
423
-
424
- &-track {
425
- background-color: var(--hover-color); // color need to be change
426
- border-radius: 4px;
427
- }
428
- }
429
-
430
- .ff-time-option {
431
- padding: 10px 12px;
432
- cursor: pointer;
433
- text-align: center;
434
- border-radius: 8px;
435
- background-color: rgba(249, 249, 249); // color need to be change
436
- margin: 10px 0;
437
- }
438
- }
439
- }
440
-
441
- // Adding react day picker library node modules css here to get the css style available in platform
442
-
443
- /* Variables declaration */
444
- /* prettier-ignore */
445
- .rdp-root {
446
- --rdp-accent-color: blue;
447
- /* The accent color used for selected days and UI elements. */
448
- --rdp-accent-background-color: #f0f0ff;
449
- /* The accent background color used for selected days and UI elements. */
450
- --rdp-font-family: system-ui;
451
- /* The font family used by the calendar. Note that `inherit`does not work here. */
452
-
453
- --rdp-day-font: inherit;
454
- /* The font used for the day cells. */
455
- --rdp-day-height: 2.75rem;
456
- /* The height of the day cells. */
457
- --rdp-day-width: 2.75rem;
458
- /* The width of the day cells. */
459
-
460
- --rdp-day_button-border-radius: 100%;
461
- /* The border radius of the day cells. */
462
- --rdp-day_button-border: 2px solid transparent;
463
- /* The border of the day cells. */
464
- --rdp-day_button-height: var(--rdp-day-height);
465
- /* The height of the day cells. */
466
- --rdp-day_button-width: var(--rdp-day-width);
467
- /* The width of the day cells. */
468
-
469
- --rdp-selected-border: 2px solid var(--rdp-accent-color);
470
- /* The border of the selected days. */
471
- --rdp-selected-font: bold large var(--rdp-font-family);
472
- /* The font of the selected days. */
473
- --rdp-disabled-opacity: 0.5;
474
- /* The opacity of the disabled days. */
475
- --rdp-outside-opacity: 0.75;
476
- /* The opacity of the days outside the current month. */
477
- --rdp-today-color: var(--rdp-accent-color);
478
- /* The color of the today's date. */
479
-
480
- --rdp-dropdown-gap: 0.5rem;
481
- /* The gap between the dropdowns used in the month captons. */
482
-
483
- --rdp-month_caption-font: bold larger var(--rdp-font-family);
484
- /* The font of the month caption. */
485
- --rdp-months-gap: 2rem;
486
- /* The gap between the months in the multi-month view. */
487
-
488
- --rdp-nav_button-disabled-opacity: 0.5;
489
- /* The opacity of the disabled navigation buttons. */
490
- --rdp-nav_button-height: 2.25rem;
491
- /* The height of the navigation buttons. */
492
- --rdp-nav_button-width: 2.25rem;
493
- /* The width of the navigation buttons. */
494
- --rdp-nav-height: 2.75rem;
495
- /* The height of the navigation bar. */
496
-
497
- --rdp-range_middle-background-color: var(--rdp-accent-background-color);
498
- /* The color of the background for days in the middle of a range. */
499
- --rdp-range_middle-font: normal medium var(--rdp-font-family);
500
- /* The font for days in the middle of a range. */
501
- --rdp-range_middle-foreground-color: white;
502
- /* The font for days in the middle of a range. */
503
- --rdp-range_middle-color: inherit;
504
- /* The color of the range text. */
505
-
506
- --rdp-range_start-color: white;
507
- /* The color of the range text. */
508
- --rdp-range_start-background: linear-gradient(var(--rdp-gradient-direction), transparent 50%, var(--rdp-range_middle-background-color) 50%);
509
- /* Used for the background of the start of the selected range. */
510
- --rdp-range_start-date-background-color: var(--rdp-accent-color);
511
- /* The background color of the date when at the start of the selected range. */
512
-
513
- --rdp-range_end-background: linear-gradient(var(--rdp-gradient-direction), var(--rdp-range_middle-background-color) 50%, transparent 50%);
514
- /* Used for the background of the end of the selected range. */
515
- --rdp-range_end-color: white;
516
- /* The color of the range text. */
517
- --rdp-range_end-date-background-color: var(--rdp-accent-color);
518
- /* The background color of the date when at the end of the selected range. */
519
-
520
- --rdp-week_number-border-radius: 100%;
521
- /* The border radius of the week number. */
522
- --rdp-week_number-border: 2px solid transparent;
523
- /* The border of the week number. */
524
- --rdp-week_number-font: 400 small var(--rdp-font-family);
525
- /* The font of the week number cells. */
526
- --rdp-week_number-height: var(--rdp-day-height);
527
- /* The height of the week number cells. */
528
- --rdp-week_number-opacity: 0.75;
529
- /* The opacity of the week number. */
530
- --rdp-week_number-width: var(--rdp-day-width);
531
- /* The width of the week number cells. */
532
- --rdp-weeknumber-text-align: center;
533
- /* The text alignment of the weekday cells. */
534
-
535
- --rdp-weekday-font: 500 smaller var(--rdp-font-family);
536
- /* The font of the weekday. */
537
- --rdp-weekday-opacity: 0.75;
538
- /* The opacity of the weekday. */
539
- --rdp-weekday-padding: 0.5rem 0rem;
540
- /* The padding of the weekday. */
541
- --rdp-weekday-text-align: center;
542
- /* The text alignment of the weekday cells. */
543
-
544
- --rdp-gradient-direction: 90deg;
545
- }
546
-
547
- .rdp-root[dir='rtl'] {
548
- --rdp-gradient-direction: -90deg;
549
- }
550
-
551
- /* Root of the component. */
552
- .rdp-root {
553
- position: relative;
554
- /* Required to position the navigation toolbar. */
555
- box-sizing: border-box;
556
- }
557
-
558
- .rdp-root * {
559
- box-sizing: border-box;
560
- }
561
-
562
- .rdp-day {
563
- width: var(--rdp-day-width);
564
- height: var(--rdp-day-height);
565
- font: var(--rdp-day-font);
566
- text-align: center;
567
- }
568
-
569
- .rdp-day_button {
570
- background: none;
571
- padding: 0;
572
- margin: 0;
573
- cursor: pointer;
574
- font: inherit;
575
- color: inherit;
576
- justify-content: center;
577
- align-items: center;
578
- display: flex;
579
-
580
- width: var(--rdp-day_button-width);
581
- height: var(--rdp-day_button-height);
582
- border: var(--rdp-day_button-border);
583
- border-radius: var(--rdp-day_button-border-radius);
584
- }
585
-
586
- .rdp-day_button:disabled {
587
- cursor: revert;
588
- }
589
-
590
- .rdp-caption_label {
591
- z-index: 1;
592
-
593
- position: relative;
594
- display: inline-flex;
595
- align-items: center;
596
-
597
- white-space: nowrap;
598
- border: 0;
599
- }
600
-
601
- .rdp-button_next,
602
- .rdp-button_previous {
603
- border: none;
604
- background: none;
605
- padding: 0;
606
- margin: 0;
607
- cursor: pointer;
608
- font: inherit;
609
- color: inherit;
610
- -moz-appearance: none;
611
- -webkit-appearance: none;
612
- display: inline-flex;
613
- align-items: center;
614
- justify-content: center;
615
- position: relative;
616
- appearance: none;
617
-
618
- width: var(--rdp-nav_button-width);
619
- height: var(--rdp-nav_button-height);
620
- }
621
-
622
- .rdp-button_next:disabled,
623
- .rdp-button_previous:disabled {
624
- cursor: revert;
625
-
626
- opacity: var(--rdp-nav_button-disabled-opacity);
627
- }
628
-
629
- .rdp-chevron {
630
- display: inline-block;
631
- fill: var(--rdp-accent-color);
632
- }
633
-
634
- .rdp-root[dir='rtl'] .rdp-nav .rdp-chevron {
635
- transform: rotate(180deg);
636
- }
637
-
638
- .rdp-root[dir='rtl'] .rdp-nav .rdp-chevron {
639
- transform: rotate(180deg);
640
- transform-origin: 50%;
641
- }
642
-
643
- .rdp-dropdowns {
644
- position: relative;
645
- display: inline-flex;
646
- align-items: center;
647
- gap: var(--rdp-dropdown-gap);
648
- }
649
-
650
- .rdp-dropdown {
651
- z-index: 2;
652
-
653
- /* Reset */
654
- opacity: 0;
655
- appearance: none;
656
- position: absolute;
657
- inset-block-start: 0;
658
- inset-block-end: 0;
659
- inset-inline-start: 0;
660
- width: 100%;
661
- margin: 0;
662
- padding: 0;
663
- cursor: inherit;
664
- border: none;
665
- line-height: inherit;
666
- }
667
-
668
- .rdp-dropdown_root {
669
- position: relative;
670
- display: inline-flex;
671
- align-items: center;
672
- }
673
-
674
- .rdp-dropdown_root[data-disabled='true'] .rdp-chevron {
675
- opacity: var(--rdp-disabled-opacity);
676
- }
677
-
678
- .rdp-month_caption {
679
- display: flex;
680
- align-content: center;
681
- height: var(--rdp-nav-height);
682
- font: var(--rdp-month_caption-font);
683
- }
684
-
685
- .rdp-months {
686
- position: relative;
687
- display: flex;
688
- flex-wrap: wrap;
689
- gap: var(--rdp-months-gap);
690
- max-width: fit-content;
691
- }
692
-
693
- .rdp-month_grid {
694
- border-collapse: collapse;
695
- }
696
-
697
- .rdp-nav {
698
- position: absolute;
699
- inset-block-start: 0;
700
- inset-inline-end: 0;
701
-
702
- display: flex;
703
- align-items: center;
704
-
705
- height: var(--rdp-nav-height);
706
- }
707
-
708
- .rdp-weekday {
709
- opacity: var(--rdp-weekday-opacity);
710
- padding: var(--rdp-weekday-padding);
711
- font: var(--rdp-weekday-font);
712
- text-align: var(--rdp-weekday-text-align);
713
- text-transform: var(--rdp-weekday-text-transform);
714
- }
715
-
716
- .rdp-week_number {
717
- opacity: var(--rdp-week_number-opacity);
718
- font: var(--rdp-week_number-font);
719
- height: var(--rdp-week_number-height);
720
- width: var(--rdp-week_number-width);
721
- border: var(--rdp-week_number-border);
722
- border-radius: var(--rdp-week_number-border-radius);
723
- text-align: var(--rdp-weeknumber-text-align);
724
- }
725
-
726
- /* DAY MODIFIERS */
727
- .rdp-today:not(.rdp-outside) {
728
- color: var(--rdp-today-color);
729
- }
730
-
731
- .rdp-selected {
732
- font: var(--rdp-selected-font);
733
- }
734
-
735
- .rdp-selected .rdp-day_button {
736
- border: var(--rdp-selected-border);
737
- }
738
-
739
- .rdp-outside {
740
- opacity: var(--rdp-outside-opacity);
741
- }
742
-
743
- .rdp-disabled {
744
- opacity: var(--rdp-disabled-opacity);
745
- }
746
-
747
- .rdp-hidden {
748
- visibility: hidden;
749
- color: var(--rdp-range_start-color);
750
- }
751
-
752
- .rdp-range_start {
753
- background: var(--rdp-range_start-background);
754
- }
755
-
756
- .rdp-range_start .rdp-day_button {
757
- background-color: var(--rdp-range_start-date-background-color);
758
- color: var(--rdp-range_start-color);
759
- }
760
-
761
- .rdp-range_middle {
762
- background-color: var(--rdp-range_middle-background-color);
763
- font: var(--rdp-range_middle-font);
764
- }
765
-
766
- .rdp-range_middle .rdp-day_button {
767
- border-color: transparent;
768
- border: unset;
769
- border-radius: unset;
770
- color: var(--rdp-range_middle-color);
771
- }
772
-
773
- .rdp-range_end {
774
- background: var(--rdp-range_end-background);
775
- color: var(--rdp-range_end-color);
776
- }
777
-
778
- .rdp-range_end .rdp-day_button {
779
- color: var(--rdp-range_start-color);
780
- background-color: var(--rdp-range_end-date-background-color);
781
- }
782
-
783
- .rdp-range_start.rdp-range_end {
784
- background: revert;
785
- }
786
-
787
- .rdp-focusable {
788
- cursor: pointer;
789
- }