@inceptionbg/iui 2.0.35 → 2.0.36

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 (241) hide show
  1. package/package.json +4 -1
  2. package/idea/GridTable/GridTable.tsx +0 -119
  3. package/idea/GridTable/gridTable.scss +0 -42
  4. package/idea/Menu/Menu.tsx +0 -121
  5. package/idea/Menu/MenuItem.tsx +0 -75
  6. package/idea/Menu/hooks/useMenuControl.ts +0 -13
  7. package/idea/Menu.tsx +0 -133
  8. package/idea/NoAccessInfo.tsx +0 -193
  9. package/idea/Table/Components/Edit/ItemActionsMenu.tsx +0 -85
  10. package/idea/Table/Components/Edit/ItemEditOptionsButtons.tsx +0 -31
  11. package/idea/Table/Components/Edit/TableEditRow.tsx +0 -57
  12. package/idea/Table/Components/FilterItem.tsx +0 -20
  13. package/idea/Table/Components/Header/TableHeader.tsx +0 -46
  14. package/idea/Table/Components/Header/TableHeaderRow.tsx +0 -37
  15. package/idea/Table/Components/Print/CustomTablePrint.tsx +0 -115
  16. package/idea/Table/Components/SetSortList.tsx +0 -30
  17. package/idea/Table/Components/SetTableFilter.tsx +0 -91
  18. package/idea/Table/Components/TableFooter.tsx +0 -137
  19. package/idea/Table/Components/TableOptions.tsx +0 -227
  20. package/idea/Table/Components/Templates/TemplateCreate.tsx +0 -80
  21. package/idea/Table/Components/Templates/TemplateCreateDefault.tsx +0 -45
  22. package/idea/Table/Components/Templates/TemplateList.tsx +0 -167
  23. package/idea/Table/Components/Templates/repo/TemplateRepo.ts +0 -53
  24. package/idea/Table/Table.tsx +0 -528
  25. package/idea/Table/hooks/useDefaultTemplate.ts +0 -20
  26. package/idea/Table/hooks/useTableKeyboard.ts +0 -137
  27. package/idea/Table/hooks/useTableSelect.ts +0 -11
  28. package/rollup.config.js +0 -52
  29. package/src/assets/icons/duotone/faBell.ts +0 -17
  30. package/src/assets/icons/duotone/faCircleUser.ts +0 -17
  31. package/src/assets/icons/regular/faArrowLeft.ts +0 -15
  32. package/src/assets/icons/regular/faArrowRightArrowLeft.ts +0 -15
  33. package/src/assets/icons/regular/faCircleCheck.ts +0 -15
  34. package/src/assets/icons/regular/faCircleExclamation.ts +0 -15
  35. package/src/assets/icons/regular/faCircleInfo.ts +0 -15
  36. package/src/assets/icons/regular/faFileArrowDown.ts +0 -15
  37. package/src/assets/icons/regular/faFilterCircleXmark.ts +0 -15
  38. package/src/assets/icons/regular/faTriangleExclamation.ts +0 -15
  39. package/src/assets/icons/solid/faAngleLeft.ts +0 -15
  40. package/src/assets/icons/solid/faAngleRight.ts +0 -15
  41. package/src/assets/icons/solid/faArrowDownWideShort.ts +0 -15
  42. package/src/assets/icons/solid/faCaretDown.ts +0 -15
  43. package/src/assets/icons/solid/faCheck.ts +0 -15
  44. package/src/assets/icons/solid/faEllipsisVertical.ts +0 -15
  45. package/src/assets/icons/solid/faEnvelopeDot.ts +0 -15
  46. package/src/assets/icons/solid/faFilter.ts +0 -15
  47. package/src/assets/icons/solid/faFloppyDisk.ts +0 -15
  48. package/src/assets/icons/solid/faGripDotsVertical.ts +0 -15
  49. package/src/assets/icons/solid/faListUl.ts +0 -15
  50. package/src/assets/icons/solid/faMinus.ts +0 -15
  51. package/src/assets/icons/solid/faPlus.ts +0 -15
  52. package/src/assets/icons/solid/faPrint.ts +0 -15
  53. package/src/assets/icons/solid/faRotateRight.ts +0 -15
  54. package/src/assets/icons/solid/faXmark.ts +0 -15
  55. package/src/assets/images/logo/inception.svg +0 -22
  56. package/src/assets/images/logo/mts.svg +0 -5703
  57. package/src/assets/images/logo/paperless.svg +0 -21
  58. package/src/assets/images/logo/pismonosa.png +0 -0
  59. package/src/assets/images/not-found.svg +0 -19
  60. package/src/components/Accordions/Accordions.tsx +0 -74
  61. package/src/components/Alert/Alert.tsx +0 -31
  62. package/src/components/Badge/DotBadge.tsx +0 -16
  63. package/src/components/Badge/NotificationBadge.tsx +0 -29
  64. package/src/components/Badge/PillBadge.tsx +0 -13
  65. package/src/components/Button/Button.tsx +0 -56
  66. package/src/components/Button/IconButton.tsx +0 -51
  67. package/src/components/Button/SplitButton.tsx +0 -91
  68. package/src/components/Dashboard/Dashboard.tsx +0 -9
  69. package/src/components/Dashboard/DashboardWidget.tsx +0 -44
  70. package/src/components/Dashboard/FastLinksWidget/FastLinksWidget.tsx +0 -36
  71. package/src/components/Dialog/Dialog.tsx +0 -178
  72. package/src/components/Dialog/components/DialogFooter.tsx +0 -100
  73. package/src/components/Header/Components/EnvBadge.tsx +0 -17
  74. package/src/components/Header/Components/ModuleSelect.tsx +0 -68
  75. package/src/components/Header/Components/Notifications.tsx +0 -204
  76. package/src/components/Header/Components/UserMenu.tsx +0 -52
  77. package/src/components/Header/Header.tsx +0 -45
  78. package/src/components/Helper/Collapse.tsx +0 -53
  79. package/src/components/Inputs/Checkbox.tsx +0 -53
  80. package/src/components/Inputs/CurrencyInput.tsx +0 -124
  81. package/src/components/Inputs/DateInput/DateInput.tsx +0 -184
  82. package/src/components/Inputs/DateInput/components/DatePartInput.tsx +0 -159
  83. package/src/components/Inputs/InputWrapper.tsx +0 -95
  84. package/src/components/Inputs/NumberInput.tsx +0 -86
  85. package/src/components/Inputs/PasswordInput.tsx +0 -39
  86. package/src/components/Inputs/PhoneInput/PhoneInput.tsx +0 -108
  87. package/src/components/Inputs/PhoneInput/utils/countryCode.ts +0 -20
  88. package/src/components/Inputs/Radio.tsx +0 -59
  89. package/src/components/Inputs/RadioGroup.tsx +0 -48
  90. package/src/components/Inputs/RadioLarge.tsx +0 -39
  91. package/src/components/Inputs/SearchInput.tsx +0 -46
  92. package/src/components/Inputs/Selects/Select.tsx +0 -17
  93. package/src/components/Inputs/Selects/components/CustomSelectComponents.tsx +0 -19
  94. package/src/components/Inputs/Selects/components/SelectWrapper.tsx +0 -118
  95. package/src/components/Inputs/Selects/utils/selectStyles.ts +0 -101
  96. package/src/components/Inputs/TextAreaInput.tsx +0 -68
  97. package/src/components/Inputs/TextInput.tsx +0 -100
  98. package/src/components/Inputs/TimeInput/TimeInput.tsx +0 -81
  99. package/src/components/List/List.tsx +0 -21
  100. package/src/components/List/ListItem.tsx +0 -70
  101. package/src/components/Loader/Loader.tsx +0 -66
  102. package/src/components/Loader/ProgressBar.tsx +0 -41
  103. package/src/components/Menu/Menu.tsx +0 -81
  104. package/src/components/Menu/MenuItem.tsx +0 -46
  105. package/src/components/Menu/NewMenu.tsx +0 -63
  106. package/src/components/Menu/hooks/useMenuPosition.tsx +0 -116
  107. package/src/components/PageComponents/ScrollableContent.tsx +0 -11
  108. package/src/components/Pullover/Pullover.tsx +0 -197
  109. package/src/components/Router/Router.tsx +0 -52
  110. package/src/components/Sidebar/AddButton.tsx +0 -22
  111. package/src/components/Sidebar/Sidebar.tsx +0 -85
  112. package/src/components/Sidebar/SidebarItem.tsx +0 -84
  113. package/src/components/Sidebar/types/ISidebar.ts +0 -28
  114. package/src/components/Table/Table.tsx +0 -258
  115. package/src/components/Table/components/columns/ColumnsList.tsx +0 -60
  116. package/src/components/Table/components/columns/TableColumnsEdit.tsx +0 -114
  117. package/src/components/Table/components/edit/TableEditRow.tsx +0 -78
  118. package/src/components/Table/components/filters/FilterItem.tsx +0 -15
  119. package/src/components/Table/components/filters/TableFilters.tsx +0 -126
  120. package/src/components/Table/components/footer/TableFooter.tsx +0 -126
  121. package/src/components/Table/components/header/TableHeader.tsx +0 -40
  122. package/src/components/Table/components/header/TableHeaderRow.tsx +0 -57
  123. package/src/components/Table/components/items/TableItemActions.tsx +0 -78
  124. package/src/components/Table/components/print/TablePrint.tsx +0 -200
  125. package/src/components/Table/components/select/TableSelect.tsx +0 -50
  126. package/src/components/Table/components/sort/TableSort.tsx +0 -75
  127. package/src/components/Table/components/templates/CreateTemplateDialog.tsx +0 -58
  128. package/src/components/Table/components/templates/TableTemplates.tsx +0 -65
  129. package/src/components/Table/components/templates/TemplatesPullover.tsx +0 -88
  130. package/src/components/Table/contexts/TableContext.tsx +0 -117
  131. package/src/components/Table/hooks/localHooks/useLocalTableColumns.tsx +0 -70
  132. package/src/components/Table/hooks/localHooks/useLocalTableData.tsx +0 -82
  133. package/src/components/Table/hooks/localHooks/useLocalTableKeyboard.ts +0 -175
  134. package/src/components/Table/hooks/localHooks/useLocalTablePagination.ts +0 -12
  135. package/src/components/Table/hooks/useTableColumns.ts +0 -34
  136. package/src/components/Table/hooks/useTableEdit.tsx +0 -140
  137. package/src/components/Table/hooks/useTableFilterFields.tsx +0 -150
  138. package/src/components/Table/hooks/useTablePagination.ts +0 -19
  139. package/src/components/Table/hooks/useTablePrint.ts +0 -83
  140. package/src/components/Table/hooks/useTableSearch.ts +0 -31
  141. package/src/components/Table/hooks/useTableSelect.ts +0 -19
  142. package/src/components/Table/hooks/useTableSort.ts +0 -8
  143. package/src/components/Tabs/Tabs.tsx +0 -68
  144. package/src/components/Tooltip/Tooltip.tsx +0 -191
  145. package/src/components/Tree/Tree.tsx +0 -22
  146. package/src/components/Tree/TreeItem.tsx +0 -57
  147. package/src/components/Wrappers/AppLayout.tsx +0 -17
  148. package/src/components/Wrappers/ConditionalWrapper.tsx +0 -10
  149. package/src/components/Wrappers/FormWrapper.tsx +0 -84
  150. package/src/components/Wrappers/PageLayout.tsx +0 -168
  151. package/src/hooks/useBackgroundClose.ts +0 -19
  152. package/src/hooks/useGetFocusableElements.ts +0 -43
  153. package/src/hooks/useIsMenuOpen.ts +0 -11
  154. package/src/hooks/useLocalPopoverControl.ts +0 -63
  155. package/src/hooks/useOnEsc.ts +0 -14
  156. package/src/hooks/usePopupControl.ts +0 -22
  157. package/src/hooks/useZendesk.ts +0 -22
  158. package/src/index.ts +0 -387
  159. package/src/pages/NoAccessPage.tsx +0 -27
  160. package/src/pages/NotFoundPage.tsx +0 -26
  161. package/src/styles/App.scss +0 -47
  162. package/src/styles/common/_animations.scss +0 -58
  163. package/src/styles/common/_typography.scss +0 -91
  164. package/src/styles/common/helpers/_base.scss +0 -55
  165. package/src/styles/common/helpers/_color.scss +0 -10
  166. package/src/styles/common/helpers/_display.scss +0 -85
  167. package/src/styles/common/helpers/_size.scss +0 -25
  168. package/src/styles/common/maps/_align.scss +0 -21
  169. package/src/styles/common/maps/_buttonMaps.scss +0 -42
  170. package/src/styles/common/maps/_info-types.scss +0 -1
  171. package/src/styles/common/maps/_spacing.scss +0 -78
  172. package/src/styles/common/maps/_text.scss +0 -14
  173. package/src/styles/components/_accordions.scss +0 -51
  174. package/src/styles/components/_alert.scss +0 -23
  175. package/src/styles/components/_badge.scss +0 -84
  176. package/src/styles/components/_button.scss +0 -99
  177. package/src/styles/components/_buttonSplit.scss +0 -74
  178. package/src/styles/components/_card.scss +0 -24
  179. package/src/styles/components/_dialog.scss +0 -119
  180. package/src/styles/components/_form.scss +0 -8
  181. package/src/styles/components/_header.scss +0 -157
  182. package/src/styles/components/_input.scss +0 -167
  183. package/src/styles/components/_inputCheckbox.scss +0 -48
  184. package/src/styles/components/_inputDateTime.scss +0 -161
  185. package/src/styles/components/_inputRadio.scss +0 -83
  186. package/src/styles/components/_inputSelect.scss +0 -8
  187. package/src/styles/components/_list.scss +0 -58
  188. package/src/styles/components/_loader.scss +0 -55
  189. package/src/styles/components/_menu-v2.scss +0 -67
  190. package/src/styles/components/_menu.scss +0 -62
  191. package/src/styles/components/_notifications.scss +0 -71
  192. package/src/styles/components/_page.scss +0 -84
  193. package/src/styles/components/_portal.scss +0 -8
  194. package/src/styles/components/_print.scss +0 -77
  195. package/src/styles/components/_progressBar.scss +0 -83
  196. package/src/styles/components/_pullover.scss +0 -95
  197. package/src/styles/components/_scrollbar.scss +0 -18
  198. package/src/styles/components/_sidebar.scss +0 -204
  199. package/src/styles/components/_smallComponents.scss +0 -23
  200. package/src/styles/components/_table.scss +0 -340
  201. package/src/styles/components/_tabs.scss +0 -33
  202. package/src/styles/components/_tooltip.scss +0 -48
  203. package/src/styles/components/_tree.scss +0 -21
  204. package/src/styles/components/_widget.scss +0 -90
  205. package/src/styles/pages/_fullScreenPage.scss +0 -64
  206. package/src/styles/variables/_bp.scss +0 -6
  207. package/src/styles/variables/_variables.scss +0 -142
  208. package/src/types/Base/custom.d.ts +0 -9
  209. package/src/types/IBasic.ts +0 -32
  210. package/src/types/ICountryCode.ts +0 -5
  211. package/src/types/IError.ts +0 -5
  212. package/src/types/IHeader.ts +0 -40
  213. package/src/types/IInfo.ts +0 -1
  214. package/src/types/IKeyboard.ts +0 -33
  215. package/src/types/IMenu.ts +0 -19
  216. package/src/types/INotifications.ts +0 -15
  217. package/src/types/IPopup.ts +0 -17
  218. package/src/types/IRouter.ts +0 -6
  219. package/src/types/ISelect.ts +0 -54
  220. package/src/types/ITab.ts +0 -10
  221. package/src/types/ITable.ts +0 -291
  222. package/src/types/ITree.ts +0 -6
  223. package/src/utils/InputPatternValidation.ts +0 -12
  224. package/src/utils/dateUtils.ts +0 -32
  225. package/src/utils/fileUtils.ts +0 -177
  226. package/src/utils/i18n/i18nIUICyrilic.ts +0 -119
  227. package/src/utils/i18n/i18nIUILatin.ts +0 -120
  228. package/src/utils/i18n/i18nIUIMe.ts +0 -118
  229. package/src/utils/icons.ts +0 -13
  230. package/src/utils/localStorageHelper.ts +0 -24
  231. package/src/utils/logoUtils.ts +0 -7
  232. package/src/utils/numberUtils.ts +0 -21
  233. package/src/utils/objectUtils.ts +0 -114
  234. package/src/utils/popupUtils.ts +0 -82
  235. package/src/utils/rootDir.ts +0 -1
  236. package/src/utils/stringUtils.ts +0 -18
  237. package/src/utils/tableUtils.ts +0 -130
  238. package/src/utils/toasts.ts +0 -6
  239. package/src/utils/urlUtils.ts +0 -4
  240. package/tsconfig.icons.json +0 -5
  241. package/tsconfig.json +0 -22
@@ -1,55 +0,0 @@
1
- body {
2
- margin: 0;
3
- width: 100%;
4
- }
5
-
6
- #root {
7
- overflow: hidden;
8
- }
9
-
10
- * {
11
- box-sizing: border-box;
12
- &:focus-visible {
13
- outline: none !important;
14
- }
15
- }
16
-
17
- button {
18
- all: unset;
19
- box-sizing: border-box;
20
- }
21
-
22
- a {
23
- text-decoration: none;
24
- color: unset;
25
- -webkit-user-drag: none;
26
- }
27
-
28
- .clickable {
29
- transition: background-color 250ms;
30
- &:not(.disabled):not(:disabled) {
31
- cursor: pointer;
32
- &.neutral:hover {
33
- background-color: var(--neutral-hover);
34
- }
35
- }
36
- &:disabled,
37
- &.disabled {
38
- opacity: 0.4;
39
- pointer-events: none;
40
- user-select: none;
41
- }
42
- }
43
- .no-overflow {
44
- overflow: hidden;
45
- }
46
- .overflow-auto {
47
- overflow: auto;
48
- }
49
-
50
- .hover-primary:hover {
51
- background-color: var(--primary-100);
52
- }
53
- .hover-neutral:hover {
54
- background-color: var(--neutral-hover);
55
- }
@@ -1,10 +0,0 @@
1
- .c-primary {
2
- color: var(--primary) !important;
3
- }
4
- .c-danger {
5
- color: var(--danger) !important;
6
- }
7
-
8
- // .b-white {
9
- // background: var(--white);
10
- // }
@@ -1,85 +0,0 @@
1
- @use '../../variables/bp';
2
-
3
- .hidden {
4
- display: none !important;
5
- }
6
- .block {
7
- display: block !important;
8
- }
9
- .relative {
10
- position: relative !important;
11
- }
12
-
13
- .flex {
14
- display: flex;
15
- &.column {
16
- flex-direction: column;
17
- }
18
- &.center {
19
- align-items: center;
20
- justify-content: center;
21
- }
22
- &.wrap {
23
- flex-wrap: wrap;
24
- }
25
- }
26
- .inline-flex {
27
- display: inline-flex;
28
- }
29
- .flex-grow {
30
- flex-grow: 1 !important;
31
- }
32
-
33
- .gap-1 {
34
- gap: 0.25rem;
35
- }
36
- .gap-2 {
37
- gap: 0.5rem;
38
- }
39
- .gap-3 {
40
- gap: 1rem;
41
- }
42
- .gap-4 {
43
- gap: 1.5rem;
44
- }
45
- .gap-5 {
46
- gap: 3rem;
47
- }
48
- .gap-form {
49
- gap: 16px 8px;
50
- }
51
-
52
- .grid {
53
- display: grid;
54
- &.auto-1 {
55
- grid-template-columns: auto 1fr;
56
- }
57
- &.fr-2 {
58
- grid-template-columns: repeat(2, 1fr);
59
-
60
- @media #{bp.$mobile} {
61
- grid-template-columns: 1fr;
62
- }
63
- }
64
- &.fr-3 {
65
- grid-template-columns: repeat(3, 1fr);
66
-
67
- @media #{bp.$mobile} {
68
- grid-template-columns: 1fr;
69
- }
70
- }
71
- &.fr-4 {
72
- grid-template-columns: repeat(4, 1fr);
73
-
74
- @media #{bp.$mobile} {
75
- grid-template-columns: 1fr;
76
- }
77
- }
78
- &.fr-5 {
79
- grid-template-columns: repeat(5, 1fr);
80
-
81
- @media #{bp.$mobile} {
82
- grid-template-columns: 1fr;
83
- }
84
- }
85
- }
@@ -1,25 +0,0 @@
1
- .full-screen {
2
- height: 100dvh !important;
3
- width: 100dvw !important;
4
- }
5
- .full-width {
6
- width: 100% !important;
7
- }
8
- .half-width {
9
- width: 50% !important;
10
- }
11
- .width-fit {
12
- width: fit-content !important;
13
- }
14
- .w-300 {
15
- width: 300px !important;
16
- }
17
-
18
- .full-height {
19
- height: 100% !important;
20
- }
21
-
22
- .icon24 {
23
- height: 24px !important;
24
- width: 24px !important;
25
- }
@@ -1,21 +0,0 @@
1
- $aligns: (center, left, right);
2
- $justifies: (
3
- around: space-around,
4
- between: space-between,
5
- evenly: space-evenly,
6
- );
7
-
8
- @each $key in $aligns {
9
- .align-#{$key} {
10
- align-items: $key !important;
11
- }
12
- .justify-#{$key} {
13
- justify-content: $key !important;
14
- }
15
- }
16
-
17
- @each $key, $value in $justifies {
18
- .justify-#{$key} {
19
- justify-content: $value !important;
20
- }
21
- }
@@ -1,42 +0,0 @@
1
- $text-button-sizes: (
2
- xs: (
3
- font-size: 10px,
4
- svg: 12px,
5
- padding: 0 10px,
6
- height: 24px,
7
- gap: 6px,
8
- ),
9
- s: (
10
- font-size: 12px,
11
- svg: 14px,
12
- padding: 0 12px,
13
- height: 30px,
14
- ),
15
- m: (
16
- font-size: 14px,
17
- svg: 16px,
18
- padding: 0 14px,
19
- height: 36px,
20
- ),
21
- l: (
22
- font-size: 16px,
23
- svg: 20px,
24
- padding: 0 18px,
25
- height: 48px,
26
- ),
27
- );
28
-
29
- $icon-button-sizes: (
30
- s: (
31
- size: 32px,
32
- svg: 16px,
33
- ),
34
- m: (
35
- size: 40px,
36
- svg: 20px,
37
- ),
38
- l: (
39
- size: 44px,
40
- svg: 24px,
41
- ),
42
- );
@@ -1 +0,0 @@
1
- $info-types: (success, info, warning, danger);
@@ -1,78 +0,0 @@
1
- // Margin and Padding
2
- $spacers: (
3
- 0: 0,
4
- 1: 0.25rem,
5
- 2: 0.5rem,
6
- 3: 1rem,
7
- 4: 1.5rem,
8
- 5: 3rem,
9
- );
10
- @each $prop, $abbrev in (margin: m, padding: p) {
11
- @each $size, $length in $spacers {
12
- .#{$abbrev}-#{$size} {
13
- #{$prop}: $length !important;
14
- }
15
- .#{$abbrev}t-#{$size},
16
- .#{$abbrev}y-#{$size} {
17
- #{$prop}-top: $length !important;
18
- }
19
- .#{$abbrev}r-#{$size},
20
- .#{$abbrev}x-#{$size} {
21
- #{$prop}-right: $length !important;
22
- }
23
- .#{$abbrev}b-#{$size},
24
- .#{$abbrev}y-#{$size} {
25
- #{$prop}-bottom: $length !important;
26
- }
27
- .#{$abbrev}l-#{$size},
28
- .#{$abbrev}x-#{$size} {
29
- #{$prop}-left: $length !important;
30
- }
31
- }
32
- }
33
-
34
- // Negative margins (e.g., where `.mb-n1` is negative version of `.mb-1`)
35
- @each $size, $length in $spacers {
36
- @if $size != 0 {
37
- .m-n#{$size} {
38
- margin: -$length !important;
39
- }
40
- .mt-n#{$size},
41
- .my-n#{$size} {
42
- margin-top: -$length !important;
43
- }
44
- .mr-n#{$size},
45
- .mx-n#{$size} {
46
- margin-right: -$length !important;
47
- }
48
- .mb-n#{$size},
49
- .my-n#{$size} {
50
- margin-bottom: -$length !important;
51
- }
52
- .ml-n#{$size},
53
- .mx-n#{$size} {
54
- margin-left: -$length !important;
55
- }
56
- }
57
- }
58
-
59
- // Some special margin utils
60
- .m-auto {
61
- margin: auto !important;
62
- }
63
- .mt-auto,
64
- .my-auto {
65
- margin-top: auto !important;
66
- }
67
- .mr-auto,
68
- .mx-auto {
69
- margin-right: auto !important;
70
- }
71
- .mb-auto,
72
- .my-auto {
73
- margin-bottom: auto !important;
74
- }
75
- .ml-auto,
76
- .mx-auto {
77
- margin-left: auto !important;
78
- }
@@ -1,14 +0,0 @@
1
- $aligns: (center, left, right, justify);
2
- $fs: (10, 12, 13, 15, 16, 18, 32);
3
-
4
- @each $key in $aligns {
5
- .text-#{$key} {
6
- text-align: $key !important;
7
- }
8
- }
9
-
10
- @each $key in $fs {
11
- .fs-#{$key} {
12
- font-size: #{$key}px !important;
13
- }
14
- }
@@ -1,51 +0,0 @@
1
- .iui-accordions {
2
- display: flex;
3
- flex-direction: column;
4
- }
5
- .iui-accordion {
6
- background: var(--background);
7
- box-shadow: var(--container-shadow);
8
- border-radius: var(--container-radius);
9
- margin: 3px 0;
10
- color: rgba(0, 0, 0, 0.87);
11
- font-size: 13px;
12
- &.compact {
13
- border-radius: unset;
14
- margin: unset;
15
- &:first-child {
16
- border-top-left-radius: var(--container-radius);
17
- border-top-right-radius: var(--container-radius);
18
- }
19
- &:last-child {
20
- border-bottom-left-radius: var(--container-radius);
21
- border-bottom-right-radius: var(--container-radius);
22
- }
23
- }
24
- .summary {
25
- display: flex;
26
- align-items: center;
27
- justify-content: space-between;
28
- user-select: none;
29
- font-size: 14px;
30
- font-weight: 500;
31
- margin-bottom: 1px;
32
- padding: 0 16px;
33
- min-height: 48px;
34
- }
35
- .iui-icon {
36
- color: var(--primary-light);
37
- max-width: 20px;
38
- margin-right: 16px;
39
- margin-bottom: 0;
40
- font-size: 20px;
41
- }
42
- .collapse-icon {
43
- color: #333;
44
- height: 12px;
45
- width: 14px;
46
- }
47
- .iui-accordion-content {
48
- padding: 16px 24px;
49
- border-top: 1px solid var(--neutral-200);
50
- }
51
- }
@@ -1,23 +0,0 @@
1
- @use '../common/maps/info-types' as *;
2
-
3
- .iui-alert {
4
- border-radius: var(--container-radius);
5
- display: flex;
6
- align-items: center;
7
- padding: 16px;
8
- font-size: 13px;
9
- svg {
10
- height: 20px;
11
- width: 20px;
12
- margin-right: 12px;
13
- }
14
-
15
- @each $key in $info-types {
16
- &.#{$key} {
17
- background-color: var(--#{$key}-100);
18
- svg {
19
- color: var(--#{$key});
20
- }
21
- }
22
- }
23
- }
@@ -1,84 +0,0 @@
1
- .iui-badge-parent {
2
- position: relative;
3
- display: inline-block;
4
- }
5
- .iui-badge {
6
- position: absolute;
7
- top: 0;
8
- right: 0;
9
- display: flex;
10
- justify-content: center;
11
- align-items: center;
12
- transform: scale(1) translate(50%, -50%);
13
- transform-origin: 100% 0%;
14
- border-radius: 50px;
15
- padding: 0 4px;
16
- &.primary {
17
- color: var(--text-inverse);
18
- border: 2px solid var(--background);
19
- background-color: var(--primary);
20
- }
21
- &.header-btn-badge {
22
- border: 1px solid var(--primary);
23
- background-color: var(--danger);
24
- right: 4px;
25
- top: 4px;
26
- }
27
- // SIZES
28
- &.s {
29
- font-size: 10px;
30
- height: 18px;
31
- min-width: 18px;
32
- }
33
- &.m {
34
- font-size: 11px;
35
- height: 21px;
36
- min-width: 21px;
37
- }
38
- }
39
-
40
- .iui-pill-badge {
41
- padding: 5px 11px;
42
- border-radius: 20px;
43
- width: fit-content;
44
- font-size: 12px;
45
- box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
46
- &.success {
47
- background-color: var(--success-200);
48
- }
49
- &.info {
50
- background-color: var(--info-200);
51
- }
52
- &.warning {
53
- background-color: var(--warning-200);
54
- }
55
- &.danger {
56
- background-color: var(--danger-200);
57
- }
58
- &.gray {
59
- background-color: var(--neutral-200);
60
- }
61
- }
62
-
63
- .iui-dot-badge {
64
- min-width: 13px;
65
- max-width: 13px;
66
- min-height: 13px;
67
- max-height: 13px;
68
- border-radius: 50%;
69
- &.success {
70
- background-color: var(--success);
71
- }
72
- &.info {
73
- background-color: var(--info);
74
- }
75
- &.warning {
76
- background-color: var(--warning);
77
- }
78
- &.danger {
79
- background-color: var(--danger);
80
- }
81
- &.gray {
82
- background-color: var(--neutral-400);
83
- }
84
- }
@@ -1,99 +0,0 @@
1
- @use 'sass:map';
2
- @use '../common/maps/buttonMaps' as buttonMaps;
3
-
4
- $btn-colors: (primary, neutral, danger);
5
-
6
- .iui-btn {
7
- display: flex;
8
- justify-content: center;
9
- align-items: center;
10
- border-radius: 100px;
11
- cursor: pointer;
12
- user-select: none;
13
- background: none;
14
- transition:
15
- border-color 250ms,
16
- background-color 250ms;
17
-
18
- @each $key in $btn-colors {
19
- &.#{$key} {
20
- color: var(--#{$key}-600);
21
- &.solid {
22
- background-color: var(--#{$key});
23
- }
24
- &.outlined {
25
- border-color: var(--#{$key}-600);
26
- }
27
- &:not(:disabled) {
28
- &:focus-visible {
29
- box-shadow: 0px 0px 1px 3px var(--#{$key}-200);
30
- }
31
- &:hover,
32
- &:active,
33
- &.active {
34
- &.solid {
35
- border-color: var(--#{$key}-600);
36
- background-color: var(--#{$key}-600);
37
- }
38
- &:not(.solid) {
39
- // color: var(--#{$key}-700);
40
- background-color: var(--#{$key}-100);
41
- }
42
- }
43
- }
44
- }
45
- }
46
-
47
- &.solid {
48
- color: var(--text-inverse);
49
- }
50
- &.outlined {
51
- border: 1px solid var(--neutral-300);
52
- }
53
- &:disabled {
54
- opacity: 0.5;
55
- cursor: default;
56
- }
57
- &:not(:disabled):active {
58
- transform: translateY(2px);
59
- }
60
- }
61
-
62
- ///// Text Button /////
63
-
64
- .iui-text-btn {
65
- font-weight: 600;
66
- white-space: nowrap;
67
- gap: 8px;
68
-
69
- // Sizes
70
- @each $size, $vars in buttonMaps.$text-button-sizes {
71
- &.#{$size} {
72
- font-size: map.get($vars, font-size);
73
- padding: map.get($vars, padding);
74
- gap: map.get($vars, gap);
75
- height: map.get($vars, height);
76
- svg {
77
- height: map.get($vars, svg);
78
- width: map.get($vars, svg);
79
- }
80
- }
81
- }
82
- }
83
-
84
- ///// Icon Button /////
85
-
86
- .iui-btn.iui-icon-btn {
87
- @each $size, $vars in buttonMaps.$icon-button-sizes {
88
- &.#{$size} {
89
- min-height: map.get($vars, size);
90
- min-width: map.get($vars, size);
91
- height: map.get($vars, size);
92
- width: map.get($vars, size);
93
- svg {
94
- height: map.get($vars, svg);
95
- width: map.get($vars, svg);
96
- }
97
- }
98
- }
99
- }
@@ -1,74 +0,0 @@
1
- @use 'sass:map';
2
- @use '../common/maps/buttonMaps' as buttonMaps;
3
-
4
- .iui-split-btn {
5
- overflow: hidden;
6
- .iui-btn-content {
7
- display: flex;
8
- justify-content: center;
9
- align-items: center;
10
- font-weight: 600;
11
- white-space: nowrap;
12
- gap: 8px;
13
- }
14
- .btn-actions {
15
- display: flex;
16
- align-items: center;
17
- justify-content: center;
18
- border-left: 1px solid;
19
- }
20
- &:hover,
21
- &.active {
22
- background-color: transparent !important;
23
- }
24
- &:not(:disabled) {
25
- &.outlined {
26
- .iui-btn-content,
27
- .btn-actions {
28
- &:hover,
29
- &.active {
30
- background-color: var(--neutral-100);
31
- }
32
- }
33
- &:focus-visible {
34
- box-shadow: 0px 0px 1px 3px var(--neutral-200);
35
- }
36
- }
37
- &.solid {
38
- .iui-btn-content,
39
- .btn-actions {
40
- &:hover,
41
- &.active {
42
- background-color: var(--primary-600);
43
- }
44
- }
45
- }
46
- }
47
-
48
- &:disabled {
49
- opacity: 0.5;
50
- cursor: default;
51
- }
52
- &:not(:disabled):active {
53
- transform: translateY(2px);
54
- }
55
- // Sizes
56
- @each $size, $vars in buttonMaps.$text-button-sizes {
57
- &.#{$size} {
58
- .iui-btn-content {
59
- font-size: map.get($vars, font-size);
60
- padding: map.get($vars, padding);
61
- gap: map.get($vars, gap);
62
- height: map.get($vars, height);
63
- }
64
- .btn-actions {
65
- height: map.get($vars, height);
66
- width: map.get($vars, height);
67
- }
68
- svg {
69
- height: map.get($vars, svg);
70
- width: map.get($vars, svg);
71
- }
72
- }
73
- }
74
- }
@@ -1,24 +0,0 @@
1
- .iui-card {
2
- box-shadow: var(--container-shadow);
3
- border-radius: var(--container-radius);
4
- background: var(--background);
5
- & > .content {
6
- &.s {
7
- padding: 10px;
8
- }
9
- &.l {
10
- padding: 40px 30px;
11
- }
12
- }
13
- }
14
-
15
- .iui-card-header {
16
- display: flex;
17
- align-items: center;
18
- justify-content: space-between;
19
- font-weight: 700;
20
- padding-left: 15px;
21
- margin: 0 10px;
22
- height: 45px;
23
- border-bottom: 1px solid var(--neutral-700);
24
- }