@inceptionbg/iui 2.0.35 → 2.0.37

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 (244) hide show
  1. package/dist/index.d.ts +7 -6
  2. package/dist/index.js +1 -1
  3. package/dist/index.js.map +1 -1
  4. package/package.json +4 -1
  5. package/idea/GridTable/GridTable.tsx +0 -119
  6. package/idea/GridTable/gridTable.scss +0 -42
  7. package/idea/Menu/Menu.tsx +0 -121
  8. package/idea/Menu/MenuItem.tsx +0 -75
  9. package/idea/Menu/hooks/useMenuControl.ts +0 -13
  10. package/idea/Menu.tsx +0 -133
  11. package/idea/NoAccessInfo.tsx +0 -193
  12. package/idea/Table/Components/Edit/ItemActionsMenu.tsx +0 -85
  13. package/idea/Table/Components/Edit/ItemEditOptionsButtons.tsx +0 -31
  14. package/idea/Table/Components/Edit/TableEditRow.tsx +0 -57
  15. package/idea/Table/Components/FilterItem.tsx +0 -20
  16. package/idea/Table/Components/Header/TableHeader.tsx +0 -46
  17. package/idea/Table/Components/Header/TableHeaderRow.tsx +0 -37
  18. package/idea/Table/Components/Print/CustomTablePrint.tsx +0 -115
  19. package/idea/Table/Components/SetSortList.tsx +0 -30
  20. package/idea/Table/Components/SetTableFilter.tsx +0 -91
  21. package/idea/Table/Components/TableFooter.tsx +0 -137
  22. package/idea/Table/Components/TableOptions.tsx +0 -227
  23. package/idea/Table/Components/Templates/TemplateCreate.tsx +0 -80
  24. package/idea/Table/Components/Templates/TemplateCreateDefault.tsx +0 -45
  25. package/idea/Table/Components/Templates/TemplateList.tsx +0 -167
  26. package/idea/Table/Components/Templates/repo/TemplateRepo.ts +0 -53
  27. package/idea/Table/Table.tsx +0 -528
  28. package/idea/Table/hooks/useDefaultTemplate.ts +0 -20
  29. package/idea/Table/hooks/useTableKeyboard.ts +0 -137
  30. package/idea/Table/hooks/useTableSelect.ts +0 -11
  31. package/rollup.config.js +0 -52
  32. package/src/assets/icons/duotone/faBell.ts +0 -17
  33. package/src/assets/icons/duotone/faCircleUser.ts +0 -17
  34. package/src/assets/icons/regular/faArrowLeft.ts +0 -15
  35. package/src/assets/icons/regular/faArrowRightArrowLeft.ts +0 -15
  36. package/src/assets/icons/regular/faCircleCheck.ts +0 -15
  37. package/src/assets/icons/regular/faCircleExclamation.ts +0 -15
  38. package/src/assets/icons/regular/faCircleInfo.ts +0 -15
  39. package/src/assets/icons/regular/faFileArrowDown.ts +0 -15
  40. package/src/assets/icons/regular/faFilterCircleXmark.ts +0 -15
  41. package/src/assets/icons/regular/faTriangleExclamation.ts +0 -15
  42. package/src/assets/icons/solid/faAngleLeft.ts +0 -15
  43. package/src/assets/icons/solid/faAngleRight.ts +0 -15
  44. package/src/assets/icons/solid/faArrowDownWideShort.ts +0 -15
  45. package/src/assets/icons/solid/faCaretDown.ts +0 -15
  46. package/src/assets/icons/solid/faCheck.ts +0 -15
  47. package/src/assets/icons/solid/faEllipsisVertical.ts +0 -15
  48. package/src/assets/icons/solid/faEnvelopeDot.ts +0 -15
  49. package/src/assets/icons/solid/faFilter.ts +0 -15
  50. package/src/assets/icons/solid/faFloppyDisk.ts +0 -15
  51. package/src/assets/icons/solid/faGripDotsVertical.ts +0 -15
  52. package/src/assets/icons/solid/faListUl.ts +0 -15
  53. package/src/assets/icons/solid/faMinus.ts +0 -15
  54. package/src/assets/icons/solid/faPlus.ts +0 -15
  55. package/src/assets/icons/solid/faPrint.ts +0 -15
  56. package/src/assets/icons/solid/faRotateRight.ts +0 -15
  57. package/src/assets/icons/solid/faXmark.ts +0 -15
  58. package/src/assets/images/logo/inception.svg +0 -22
  59. package/src/assets/images/logo/mts.svg +0 -5703
  60. package/src/assets/images/logo/paperless.svg +0 -21
  61. package/src/assets/images/logo/pismonosa.png +0 -0
  62. package/src/assets/images/not-found.svg +0 -19
  63. package/src/components/Accordions/Accordions.tsx +0 -74
  64. package/src/components/Alert/Alert.tsx +0 -31
  65. package/src/components/Badge/DotBadge.tsx +0 -16
  66. package/src/components/Badge/NotificationBadge.tsx +0 -29
  67. package/src/components/Badge/PillBadge.tsx +0 -13
  68. package/src/components/Button/Button.tsx +0 -56
  69. package/src/components/Button/IconButton.tsx +0 -51
  70. package/src/components/Button/SplitButton.tsx +0 -91
  71. package/src/components/Dashboard/Dashboard.tsx +0 -9
  72. package/src/components/Dashboard/DashboardWidget.tsx +0 -44
  73. package/src/components/Dashboard/FastLinksWidget/FastLinksWidget.tsx +0 -36
  74. package/src/components/Dialog/Dialog.tsx +0 -178
  75. package/src/components/Dialog/components/DialogFooter.tsx +0 -100
  76. package/src/components/Header/Components/EnvBadge.tsx +0 -17
  77. package/src/components/Header/Components/ModuleSelect.tsx +0 -68
  78. package/src/components/Header/Components/Notifications.tsx +0 -204
  79. package/src/components/Header/Components/UserMenu.tsx +0 -52
  80. package/src/components/Header/Header.tsx +0 -45
  81. package/src/components/Helper/Collapse.tsx +0 -53
  82. package/src/components/Inputs/Checkbox.tsx +0 -53
  83. package/src/components/Inputs/CurrencyInput.tsx +0 -124
  84. package/src/components/Inputs/DateInput/DateInput.tsx +0 -184
  85. package/src/components/Inputs/DateInput/components/DatePartInput.tsx +0 -159
  86. package/src/components/Inputs/InputWrapper.tsx +0 -95
  87. package/src/components/Inputs/NumberInput.tsx +0 -86
  88. package/src/components/Inputs/PasswordInput.tsx +0 -39
  89. package/src/components/Inputs/PhoneInput/PhoneInput.tsx +0 -108
  90. package/src/components/Inputs/PhoneInput/utils/countryCode.ts +0 -20
  91. package/src/components/Inputs/Radio.tsx +0 -59
  92. package/src/components/Inputs/RadioGroup.tsx +0 -48
  93. package/src/components/Inputs/RadioLarge.tsx +0 -39
  94. package/src/components/Inputs/SearchInput.tsx +0 -46
  95. package/src/components/Inputs/Selects/Select.tsx +0 -17
  96. package/src/components/Inputs/Selects/components/CustomSelectComponents.tsx +0 -19
  97. package/src/components/Inputs/Selects/components/SelectWrapper.tsx +0 -118
  98. package/src/components/Inputs/Selects/utils/selectStyles.ts +0 -101
  99. package/src/components/Inputs/TextAreaInput.tsx +0 -68
  100. package/src/components/Inputs/TextInput.tsx +0 -100
  101. package/src/components/Inputs/TimeInput/TimeInput.tsx +0 -81
  102. package/src/components/List/List.tsx +0 -21
  103. package/src/components/List/ListItem.tsx +0 -70
  104. package/src/components/Loader/Loader.tsx +0 -66
  105. package/src/components/Loader/ProgressBar.tsx +0 -41
  106. package/src/components/Menu/Menu.tsx +0 -81
  107. package/src/components/Menu/MenuItem.tsx +0 -46
  108. package/src/components/Menu/NewMenu.tsx +0 -63
  109. package/src/components/Menu/hooks/useMenuPosition.tsx +0 -116
  110. package/src/components/PageComponents/ScrollableContent.tsx +0 -11
  111. package/src/components/Pullover/Pullover.tsx +0 -197
  112. package/src/components/Router/Router.tsx +0 -52
  113. package/src/components/Sidebar/AddButton.tsx +0 -22
  114. package/src/components/Sidebar/Sidebar.tsx +0 -85
  115. package/src/components/Sidebar/SidebarItem.tsx +0 -84
  116. package/src/components/Sidebar/types/ISidebar.ts +0 -28
  117. package/src/components/Table/Table.tsx +0 -258
  118. package/src/components/Table/components/columns/ColumnsList.tsx +0 -60
  119. package/src/components/Table/components/columns/TableColumnsEdit.tsx +0 -114
  120. package/src/components/Table/components/edit/TableEditRow.tsx +0 -78
  121. package/src/components/Table/components/filters/FilterItem.tsx +0 -15
  122. package/src/components/Table/components/filters/TableFilters.tsx +0 -126
  123. package/src/components/Table/components/footer/TableFooter.tsx +0 -126
  124. package/src/components/Table/components/header/TableHeader.tsx +0 -40
  125. package/src/components/Table/components/header/TableHeaderRow.tsx +0 -57
  126. package/src/components/Table/components/items/TableItemActions.tsx +0 -78
  127. package/src/components/Table/components/print/TablePrint.tsx +0 -200
  128. package/src/components/Table/components/select/TableSelect.tsx +0 -50
  129. package/src/components/Table/components/sort/TableSort.tsx +0 -75
  130. package/src/components/Table/components/templates/CreateTemplateDialog.tsx +0 -58
  131. package/src/components/Table/components/templates/TableTemplates.tsx +0 -65
  132. package/src/components/Table/components/templates/TemplatesPullover.tsx +0 -88
  133. package/src/components/Table/contexts/TableContext.tsx +0 -117
  134. package/src/components/Table/hooks/localHooks/useLocalTableColumns.tsx +0 -70
  135. package/src/components/Table/hooks/localHooks/useLocalTableData.tsx +0 -82
  136. package/src/components/Table/hooks/localHooks/useLocalTableKeyboard.ts +0 -175
  137. package/src/components/Table/hooks/localHooks/useLocalTablePagination.ts +0 -12
  138. package/src/components/Table/hooks/useTableColumns.ts +0 -34
  139. package/src/components/Table/hooks/useTableEdit.tsx +0 -140
  140. package/src/components/Table/hooks/useTableFilterFields.tsx +0 -150
  141. package/src/components/Table/hooks/useTablePagination.ts +0 -19
  142. package/src/components/Table/hooks/useTablePrint.ts +0 -83
  143. package/src/components/Table/hooks/useTableSearch.ts +0 -31
  144. package/src/components/Table/hooks/useTableSelect.ts +0 -19
  145. package/src/components/Table/hooks/useTableSort.ts +0 -8
  146. package/src/components/Tabs/Tabs.tsx +0 -68
  147. package/src/components/Tooltip/Tooltip.tsx +0 -191
  148. package/src/components/Tree/Tree.tsx +0 -22
  149. package/src/components/Tree/TreeItem.tsx +0 -57
  150. package/src/components/Wrappers/AppLayout.tsx +0 -17
  151. package/src/components/Wrappers/ConditionalWrapper.tsx +0 -10
  152. package/src/components/Wrappers/FormWrapper.tsx +0 -84
  153. package/src/components/Wrappers/PageLayout.tsx +0 -168
  154. package/src/hooks/useBackgroundClose.ts +0 -19
  155. package/src/hooks/useGetFocusableElements.ts +0 -43
  156. package/src/hooks/useIsMenuOpen.ts +0 -11
  157. package/src/hooks/useLocalPopoverControl.ts +0 -63
  158. package/src/hooks/useOnEsc.ts +0 -14
  159. package/src/hooks/usePopupControl.ts +0 -22
  160. package/src/hooks/useZendesk.ts +0 -22
  161. package/src/index.ts +0 -387
  162. package/src/pages/NoAccessPage.tsx +0 -27
  163. package/src/pages/NotFoundPage.tsx +0 -26
  164. package/src/styles/App.scss +0 -47
  165. package/src/styles/common/_animations.scss +0 -58
  166. package/src/styles/common/_typography.scss +0 -91
  167. package/src/styles/common/helpers/_base.scss +0 -55
  168. package/src/styles/common/helpers/_color.scss +0 -10
  169. package/src/styles/common/helpers/_display.scss +0 -85
  170. package/src/styles/common/helpers/_size.scss +0 -25
  171. package/src/styles/common/maps/_align.scss +0 -21
  172. package/src/styles/common/maps/_buttonMaps.scss +0 -42
  173. package/src/styles/common/maps/_info-types.scss +0 -1
  174. package/src/styles/common/maps/_spacing.scss +0 -78
  175. package/src/styles/common/maps/_text.scss +0 -14
  176. package/src/styles/components/_accordions.scss +0 -51
  177. package/src/styles/components/_alert.scss +0 -23
  178. package/src/styles/components/_badge.scss +0 -84
  179. package/src/styles/components/_button.scss +0 -99
  180. package/src/styles/components/_buttonSplit.scss +0 -74
  181. package/src/styles/components/_card.scss +0 -24
  182. package/src/styles/components/_dialog.scss +0 -119
  183. package/src/styles/components/_form.scss +0 -8
  184. package/src/styles/components/_header.scss +0 -157
  185. package/src/styles/components/_input.scss +0 -167
  186. package/src/styles/components/_inputCheckbox.scss +0 -48
  187. package/src/styles/components/_inputDateTime.scss +0 -161
  188. package/src/styles/components/_inputRadio.scss +0 -83
  189. package/src/styles/components/_inputSelect.scss +0 -8
  190. package/src/styles/components/_list.scss +0 -58
  191. package/src/styles/components/_loader.scss +0 -55
  192. package/src/styles/components/_menu-v2.scss +0 -67
  193. package/src/styles/components/_menu.scss +0 -62
  194. package/src/styles/components/_notifications.scss +0 -71
  195. package/src/styles/components/_page.scss +0 -84
  196. package/src/styles/components/_portal.scss +0 -8
  197. package/src/styles/components/_print.scss +0 -77
  198. package/src/styles/components/_progressBar.scss +0 -83
  199. package/src/styles/components/_pullover.scss +0 -95
  200. package/src/styles/components/_scrollbar.scss +0 -18
  201. package/src/styles/components/_sidebar.scss +0 -204
  202. package/src/styles/components/_smallComponents.scss +0 -23
  203. package/src/styles/components/_table.scss +0 -340
  204. package/src/styles/components/_tabs.scss +0 -33
  205. package/src/styles/components/_tooltip.scss +0 -48
  206. package/src/styles/components/_tree.scss +0 -21
  207. package/src/styles/components/_widget.scss +0 -90
  208. package/src/styles/pages/_fullScreenPage.scss +0 -64
  209. package/src/styles/variables/_bp.scss +0 -6
  210. package/src/styles/variables/_variables.scss +0 -142
  211. package/src/types/Base/custom.d.ts +0 -9
  212. package/src/types/IBasic.ts +0 -32
  213. package/src/types/ICountryCode.ts +0 -5
  214. package/src/types/IError.ts +0 -5
  215. package/src/types/IHeader.ts +0 -40
  216. package/src/types/IInfo.ts +0 -1
  217. package/src/types/IKeyboard.ts +0 -33
  218. package/src/types/IMenu.ts +0 -19
  219. package/src/types/INotifications.ts +0 -15
  220. package/src/types/IPopup.ts +0 -17
  221. package/src/types/IRouter.ts +0 -6
  222. package/src/types/ISelect.ts +0 -54
  223. package/src/types/ITab.ts +0 -10
  224. package/src/types/ITable.ts +0 -291
  225. package/src/types/ITree.ts +0 -6
  226. package/src/utils/InputPatternValidation.ts +0 -12
  227. package/src/utils/dateUtils.ts +0 -32
  228. package/src/utils/fileUtils.ts +0 -177
  229. package/src/utils/i18n/i18nIUICyrilic.ts +0 -119
  230. package/src/utils/i18n/i18nIUILatin.ts +0 -120
  231. package/src/utils/i18n/i18nIUIMe.ts +0 -118
  232. package/src/utils/icons.ts +0 -13
  233. package/src/utils/localStorageHelper.ts +0 -24
  234. package/src/utils/logoUtils.ts +0 -7
  235. package/src/utils/numberUtils.ts +0 -21
  236. package/src/utils/objectUtils.ts +0 -114
  237. package/src/utils/popupUtils.ts +0 -82
  238. package/src/utils/rootDir.ts +0 -1
  239. package/src/utils/stringUtils.ts +0 -18
  240. package/src/utils/tableUtils.ts +0 -130
  241. package/src/utils/toasts.ts +0 -6
  242. package/src/utils/urlUtils.ts +0 -4
  243. package/tsconfig.icons.json +0 -5
  244. package/tsconfig.json +0 -22
@@ -1,119 +0,0 @@
1
- @use '../variables/bp';
2
- @use '../common/maps/info-types' as *;
3
-
4
- $dialog-sizes: (
5
- m: 400px,
6
- l: 750px,
7
- xl: 1200px,
8
- );
9
-
10
- .iui-dialog {
11
- position: fixed;
12
- inset: 0;
13
- z-index: 1000;
14
- display: flex;
15
- align-items: center;
16
- justify-content: center;
17
- background: var(--neutral-t);
18
- backdrop-filter: blur(8px);
19
- animation: fade-in 0.2s forwards;
20
- &.closing {
21
- animation: fade-out 0.2s forwards;
22
- display: flex;
23
- }
24
- }
25
-
26
- .iui-dialog-container {
27
- display: flex;
28
- flex-direction: column;
29
- gap: 24px;
30
- background-color: var(--background);
31
- border-radius: 16px;
32
- min-width: 400px;
33
- max-width: 98vw;
34
- max-height: 95dvh;
35
- animation: scale-in 0.2s forwards;
36
- overflow: hidden;
37
- padding: 24px;
38
-
39
- .iui-dialog-header {
40
- display: flex;
41
- gap: 16px;
42
- flex-shrink: 0;
43
- .iui-dialog-desc {
44
- color: var(--text);
45
- word-break: break-word;
46
- white-space: pre-line;
47
- }
48
- .iui-dialog-title {
49
- display: flex;
50
- gap: 16px;
51
- width: 100%;
52
- justify-content: space-between;
53
- align-items: baseline;
54
- h4 {
55
- font-weight: 600;
56
- margin-bottom: 8px;
57
- }
58
- .close-icon {
59
- margin: -14px;
60
- }
61
- }
62
- }
63
- .iui-dialog-content {
64
- display: flex;
65
- flex-direction: column;
66
- gap: 8px;
67
- flex: 1;
68
- margin: -24px;
69
- padding: 24px;
70
- &:not(.no-overflow) {
71
- overflow: auto;
72
- overscroll-behavior: none;
73
- }
74
- }
75
-
76
- @each $key, $value in $dialog-sizes {
77
- &.#{$key} {
78
- width: $value;
79
- }
80
- }
81
- .dialog-type-icon {
82
- min-height: 24px;
83
- min-width: 24px;
84
- padding: 12px;
85
- border-radius: 24px;
86
- @each $key in $info-types {
87
- &.#{$key} {
88
- color: var(--#{$key});
89
- background-color: var(--#{$key}-100);
90
- }
91
- }
92
- }
93
- .iui-dialog-actions {
94
- display: flex;
95
- gap: 8px;
96
- justify-content: right;
97
- padding-top: 24px;
98
- border-top: var(--border);
99
- }
100
- }
101
-
102
- @media #{bp.$mobile} {
103
- .iui-dialog-container {
104
- height: 100dvh;
105
- width: 100vw !important;
106
- max-width: 100vw;
107
- border-radius: 0;
108
- display: flex;
109
- flex-direction: column;
110
- justify-content: space-between;
111
- .iui-dialog-content {
112
- padding: 16px;
113
- }
114
- .iui-dialog-actions {
115
- padding: 16px;
116
- flex-direction: column-reverse;
117
- }
118
- }
119
- }
@@ -1,8 +0,0 @@
1
- .iui-form-actions {
2
- display: flex;
3
- align-items: center;
4
- justify-content: center;
5
- gap: 0.5rem;
6
- margin-top: 1rem;
7
- margin-bottom: 0.5rem;
8
- }
@@ -1,157 +0,0 @@
1
- @use '../variables/bp';
2
-
3
- .iui-header {
4
- box-shadow: var(--container-shadow);
5
- background: var(--primary);
6
- color: var(--text-inverse);
7
- height: var(--header-height);
8
- width: 100dvw;
9
- display: flex;
10
- align-items: center;
11
- justify-content: space-between;
12
- padding-left: 8px;
13
- box-sizing: border-box;
14
- z-index: 2;
15
- .env-badge {
16
- color: var(--text);
17
- font-weight: bold;
18
- font-size: 14px;
19
- }
20
- .header-button {
21
- height: 40px;
22
- width: 40px;
23
- padding: 8px;
24
- border-radius: 50px;
25
- circle {
26
- fill: var(--white);
27
- }
28
- svg {
29
- height: 24px !important;
30
- width: 24px !important;
31
- color: var(--white);
32
- }
33
- &:hover,
34
- &.active {
35
- // background-color: var(--primary-600);
36
- background-color: var(--neutral-hover);
37
- circle {
38
- fill: var(--primary);
39
- }
40
- }
41
- }
42
- }
43
-
44
- ///// Modules /////
45
- .module-name {
46
- display: flex;
47
- align-items: center;
48
- gap: 8px;
49
- padding-right: 8px;
50
- border-radius: var(--container-radius);
51
- user-select: none;
52
- &:hover {
53
- background-color: var(--neutral-hover);
54
- color: var(--primary);
55
- }
56
- }
57
- .modules-menu {
58
- display: grid;
59
- grid-template-columns: repeat(2, 1fr);
60
- padding: 8px !important;
61
- top: var(--header-height) !important;
62
- left: 0 !important;
63
- border-top-left-radius: 0px !important;
64
- border-top-right-radius: 0px !important;
65
- @media #{bp.$mobile} {
66
- grid-template-columns: 1fr;
67
- }
68
- .module-item {
69
- display: flex;
70
- flex-direction: column;
71
- gap: 8px;
72
- align-items: center;
73
- padding: 8px;
74
- border-radius: 8px;
75
- .menu-item-label {
76
- font-weight: 600;
77
- white-space: pre-line;
78
- text-align: center;
79
- }
80
- }
81
- }
82
- .module-item .menu-item-icon,
83
- .module-icon {
84
- background: var(--neutral-200);
85
- width: 40px;
86
- height: 40px;
87
- border-radius: 50px;
88
- display: flex;
89
- align-items: center;
90
- justify-content: center;
91
- svg {
92
- color: var(--primary);
93
- height: 20px;
94
- width: 20px;
95
- }
96
- }
97
-
98
- ///// User Box /////
99
- .user-box {
100
- display: flex;
101
- align-items: center;
102
- gap: 8px;
103
- height: var(--header-height);
104
- position: relative;
105
- border-radius: 32px;
106
- padding-left: 8px;
107
- // margin-left: -8px;
108
- padding-right: 24px;
109
- cursor: pointer;
110
- user-select: none;
111
- -webkit-user-drag: none;
112
- .user-icon {
113
- color: var(--white);
114
- height: 36px;
115
- width: 36px;
116
- }
117
- .user-info {
118
- overflow: hidden;
119
- text-overflow: ellipsis;
120
- white-space: nowrap;
121
- max-width: 150px;
122
- .user-name {
123
- font-size: 14px;
124
- font-weight: 600;
125
- }
126
- .org-name {
127
- font-size: 12px;
128
- color: var(--neutral-200);
129
- }
130
- p {
131
- line-height: 1.5;
132
- overflow: hidden;
133
- text-overflow: ellipsis;
134
- }
135
- }
136
- .user-notif-badge {
137
- border: 1px solid var(--primary);
138
- background-color: var(--danger);
139
- right: -5px;
140
- }
141
- &:hover {
142
- background-color: var(--primary-600);
143
- }
144
- }
145
- .header-user-menu {
146
- top: var(--header-height) !important;
147
- right: 0 !important;
148
- left: auto !important;
149
- border-top-left-radius: 0px !important;
150
- border-top-right-radius: 0px !important;
151
- }
152
-
153
- @media #{bp.$mobile} {
154
- .user-info {
155
- display: none;
156
- }
157
- }
@@ -1,167 +0,0 @@
1
- .iui-input-container {
2
- display: flex;
3
- flex-direction: column;
4
- width: 100%;
5
- gap: 6px;
6
- p {
7
- color: var(--text);
8
- font-size: 14px;
9
- }
10
- .input-label {
11
- font-weight: 500;
12
- text-overflow: ellipsis;
13
- overflow: hidden;
14
- white-space: nowrap;
15
- cursor: default;
16
- &.required {
17
- &::after {
18
- content: ' *';
19
- color: var(--danger);
20
- }
21
- }
22
- }
23
-
24
- ////// Input wrapper //////
25
- .iui-input-wrapper-field {
26
- position: relative;
27
- border: var(--border);
28
- border-radius: 8px;
29
- background-color: var(--background);
30
- overflow: hidden;
31
- display: flex;
32
- align-items: center;
33
- min-height: 40px;
34
- height: 40px;
35
-
36
- .icon {
37
- margin: -4px;
38
- padding: 4px;
39
- height: 16px;
40
- width: 16px;
41
- cursor: pointer;
42
- color: var(--neutral);
43
- &:hover {
44
- color: var(--primary);
45
- }
46
- }
47
-
48
- &.height-auto {
49
- height: auto;
50
- }
51
- &.with-end-section input {
52
- padding-right: 0px;
53
- }
54
- .end-section {
55
- display: flex;
56
- align-items: center;
57
- gap: 10px;
58
- margin: 0 12px 0 8px;
59
- }
60
- }
61
-
62
- ///// Helper text /////
63
- .helper-text {
64
- color: var(--neutral);
65
- font-size: 13px;
66
- margin: 0 8px;
67
- white-space: pre-line;
68
- &.error-text {
69
- display: none;
70
- }
71
- }
72
-
73
- ///// STATES /////
74
-
75
- // Disabled
76
- &.disabled .iui-input-wrapper-field {
77
- pointer-events: none;
78
- user-select: none;
79
- background-color: var(--background-disabled);
80
- .icon,
81
- p {
82
- color: var(--text-disabled);
83
- }
84
- }
85
-
86
- // Focused
87
- &.focus,
88
- &:has(input:focus) {
89
- .iui-input-wrapper-field {
90
- border-color: var(--primary);
91
- box-shadow: 0px 0px 1px 3px var(--primary-200);
92
- &:has(input:user-invalid),
93
- &:has(input.error) {
94
- border-color: var(--danger);
95
- box-shadow: 0px 0px 1px 3px var(--danger-200);
96
- }
97
- }
98
- }
99
-
100
- // Error state
101
- &:has(input:user-invalid),
102
- &:has(input.error),
103
- &.error {
104
- .iui-input-wrapper-field {
105
- border-color: var(--danger);
106
- .icon:hover {
107
- color: var(--danger);
108
- }
109
- }
110
- .helper-text {
111
- color: var(--danger);
112
- &.helper-hidden {
113
- display: none;
114
- }
115
- &.error-text {
116
- display: block;
117
- }
118
- }
119
- }
120
-
121
- input,
122
- textarea {
123
- &:-webkit-autofill {
124
- animation-name: auto-fill;
125
- animation-duration: 500ms;
126
- }
127
- width: 100%;
128
- font-size: 16px;
129
- padding: 8px 12px;
130
- border: none;
131
- &:disabled {
132
- background-color: var(--background-disabled);
133
- }
134
- &::placeholder {
135
- color: var(--neutral-400);
136
- font-weight: 200 !important;
137
- font-style: italic;
138
- user-select: none;
139
- }
140
- }
141
-
142
- textarea {
143
- resize: none;
144
- &.resize {
145
- resize: vertical;
146
- }
147
- }
148
- }
149
-
150
- .fake-input {
151
- opacity: 0;
152
- height: 1px !important;
153
- position: absolute;
154
- padding: 0 !important;
155
- margin: 0;
156
- pointer-events: none;
157
- z-index: -1;
158
- }
159
-
160
- .phone-input {
161
- display: flex;
162
- align-items: center;
163
- .phone-code-input {
164
- min-width: 90px;
165
- max-width: 90px;
166
- }
167
- }
@@ -1,48 +0,0 @@
1
- .iui-checkbox {
2
- display: inline-flex;
3
- align-items: flex-start;
4
- user-select: none;
5
- padding: 8px;
6
- font-size: var(--fs-m);
7
- width: fit-content;
8
- gap: 8px;
9
- cursor: pointer;
10
- .box {
11
- position: relative;
12
- height: 20px;
13
- width: 20px;
14
- border-radius: 5px;
15
- border: 2px solid var(--neutral-400);
16
- min-width: 20px;
17
- display: flex;
18
- align-items: center;
19
- justify-content: center;
20
- transition: all 150ms cubic-bezier(0.4, 0, 1, 1) 0ms;
21
- color: var(--text-inverse);
22
- &.selected {
23
- background-color: var(--primary);
24
- border-color: var(--primary);
25
- }
26
- }
27
- p {
28
- white-space: pre-line;
29
- line-height: 20px;
30
- vertical-align: middle;
31
- }
32
-
33
- &.disabled {
34
- user-select: none;
35
- cursor: default;
36
- input {
37
- cursor: default;
38
- }
39
- .box {
40
- background-color: var(--neutral-200);
41
- border-color: var(--neutral-300);
42
- color: var(--neutral-300);
43
- }
44
- p {
45
- color: var(--text-disabled);
46
- }
47
- }
48
- }
@@ -1,161 +0,0 @@
1
- .date-input {
2
- display: flex;
3
- align-items: center;
4
- width: 100%;
5
- position: relative;
6
- .calendar-btn {
7
- padding: 8px 8px 8px 12px;
8
- }
9
- .inputs {
10
- display: flex;
11
- align-items: center;
12
- justify-content: flex-start;
13
- width: 100%;
14
- input {
15
- width: min-content;
16
- padding: 0px;
17
- &.error {
18
- color: var(--danger);
19
- }
20
- }
21
- }
22
- }
23
-
24
- .react-calendar {
25
- border: none !important;
26
- -webkit-user-select: none;
27
- user-select: none;
28
- display: flex;
29
- flex-direction: column;
30
- align-items: center;
31
- gap: 12px;
32
- padding: 8px 12px 0;
33
- button {
34
- display: flex;
35
- align-items: center;
36
- justify-content: center;
37
- cursor: pointer;
38
- background: none;
39
- border: none;
40
- border-radius: 20px;
41
- &:enabled:hover {
42
- background: var(--neutral-hover);
43
- }
44
- }
45
-
46
- // Header
47
- &__navigation {
48
- display: flex;
49
- align-items: center;
50
- justify-content: space-between;
51
- gap: 4px;
52
- width: 100%;
53
- white-space: nowrap;
54
- button {
55
- display: flex;
56
- align-items: center;
57
- justify-content: center;
58
- height: 36px;
59
- width: 36px;
60
- }
61
- &__label {
62
- font-weight: 600;
63
- font-size: 16px;
64
- padding: 8px 12px;
65
- }
66
- &__arrow {
67
- padding: 4px 12px 8px;
68
- font-size: 30px;
69
- line-height: 36px;
70
- color: var(--neutral-400);
71
- }
72
- }
73
-
74
- // Weekdays
75
- &__month-view__weekdays {
76
- text-align: center;
77
- display: grid !important;
78
- grid-template-columns: repeat(7, 1fr);
79
- abbr[title] {
80
- text-decoration: none;
81
- }
82
- }
83
-
84
- // Item
85
- &__tile {
86
- flex: unset !important;
87
- font-size: 15px;
88
- font-weight: 500;
89
- height: 40px;
90
- &--now:not(&--active) {
91
- background: var(--primary-100) !important;
92
- color: var(--primary);
93
- &:enabled:hover {
94
- background: var(--primary-200) !important;
95
- }
96
- }
97
- &--active,
98
- &--hasActive {
99
- background: var(--primary) !important;
100
- color: var(--text-inverse) !important;
101
- }
102
- }
103
-
104
- // Days
105
- &__month-view__days {
106
- margin-top: 16px;
107
- display: grid !important;
108
- grid-template-columns: repeat(7, 1fr);
109
- gap: 4px;
110
- &__day {
111
- width: 40px;
112
- &--neighboringMonth {
113
- color: var(--neutral-400);
114
- }
115
- }
116
- }
117
-
118
- // Months
119
- &__year-view__months {
120
- display: grid !important;
121
- grid-template-columns: repeat(3, 1fr);
122
- gap: 8px;
123
- &__month {
124
- padding: 0 12px;
125
- }
126
- }
127
- // Years
128
- &__decade-view__years {
129
- display: grid !important;
130
- grid-template-columns: repeat(4, 1fr);
131
- gap: 8px;
132
- &__year {
133
- font-size: 16px;
134
- padding: 0 12px;
135
- }
136
- }
137
- }
138
-
139
- .time-input-wrapper {
140
- width: 110px;
141
- min-width: 110px;
142
- .time-input {
143
- display: flex;
144
- align-items: center;
145
- gap: 4px;
146
- padding: 0 12px;
147
- input::-webkit-outer-spin-button,
148
- input::-webkit-inner-spin-button {
149
- -webkit-appearance: none;
150
- margin: 0;
151
- }
152
- input[type='number'] {
153
- height: 40px;
154
- padding: 0;
155
- text-align: left;
156
- }
157
- span {
158
- font-size: 13px;
159
- }
160
- }
161
- }