@inceptionbg/iui 1.0.4 → 1.0.6

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 (107) hide show
  1. package/dist/index.css +1 -0
  2. package/dist/index.d.ts +407 -0
  3. package/dist/index.js +269 -0
  4. package/dist/index.js.map +1 -0
  5. package/package.json +6 -6
  6. package/src/index.ts +42 -42
  7. package/src/Elements/Accordions/Accordions.tsx +0 -63
  8. package/src/Elements/Alert/Alert.tsx +0 -31
  9. package/src/Elements/Alert/alert.scss +0 -36
  10. package/src/Elements/Button/Button.tsx +0 -55
  11. package/src/Elements/Button/IconButton.tsx +0 -42
  12. package/src/Elements/Button/button.scss +0 -97
  13. package/src/Elements/Dialog/Dialog.tsx +0 -175
  14. package/src/Elements/Helper/Collapse.tsx +0 -39
  15. package/src/Elements/Helper/NoAccessInfo.tsx +0 -195
  16. package/src/Elements/Tooltip/Tooltip.tsx +0 -116
  17. package/src/Elements/Tooltip/tooltip.scss +0 -46
  18. package/src/Elements/Wrappers/ConditionalWrapper.tsx +0 -10
  19. package/src/Elements/Wrappers/FormWrapper.tsx +0 -67
  20. package/src/Elements/Wrappers/FullPageWrapper.tsx +0 -87
  21. package/src/icons/duotone/faArrowLeftFromLine.ts +0 -17
  22. package/src/icons/duotone/faArrowRightToLine.ts +0 -17
  23. package/src/icons/duotone/faBell.ts +0 -17
  24. package/src/icons/duotone/faEye.ts +0 -17
  25. package/src/icons/duotone/faEyeSlash.ts +0 -17
  26. package/src/icons/duotone/faHouseHeart.ts +0 -17
  27. package/src/icons/duotone/faPlusCircle.ts +0 -18
  28. package/src/icons/duotone/faUser.ts +0 -18
  29. package/src/icons/duotone/index.ts +0 -19
  30. package/src/icons/light/faAngleDown.ts +0 -15
  31. package/src/icons/light/faArrowDownShortWide.ts +0 -15
  32. package/src/icons/light/faArrowDownWideShort.ts +0 -15
  33. package/src/icons/light/faArrowsToLine.ts +0 -15
  34. package/src/icons/light/faArrowsUpDown.ts +0 -15
  35. package/src/icons/light/faBell.ts +0 -15
  36. package/src/icons/light/faCheck.ts +0 -15
  37. package/src/icons/light/faClockRotateLeft.ts +0 -15
  38. package/src/icons/light/faEllipsisVertical.ts +0 -15
  39. package/src/icons/light/faXmark.ts +0 -15
  40. package/src/icons/light/index.ts +0 -23
  41. package/src/icons/regular/faArrowRightArrowLeft.ts +0 -15
  42. package/src/icons/regular/faCalendar.ts +0 -15
  43. package/src/icons/regular/faCircleCheck.ts +0 -15
  44. package/src/icons/regular/faCircleExclamation.ts +0 -15
  45. package/src/icons/regular/faCircleInfo.ts +0 -15
  46. package/src/icons/regular/faFileArrowDown.ts +0 -15
  47. package/src/icons/regular/faFilterCircleXmark.ts +0 -15
  48. package/src/icons/regular/faTriangleExclamation.ts +0 -15
  49. package/src/icons/solid/faAngleLeft.ts +0 -15
  50. package/src/icons/solid/faAngleRight.ts +0 -15
  51. package/src/icons/solid/faArrowDownWideShort.ts +0 -15
  52. package/src/icons/solid/faArrowLeft.ts +0 -15
  53. package/src/icons/solid/faEllipsisVertical.ts +0 -15
  54. package/src/icons/solid/faFilter.ts +0 -15
  55. package/src/icons/solid/faGripDotsVertical.ts +0 -15
  56. package/src/icons/solid/faListUl.ts +0 -15
  57. package/src/icons/solid/faMagnifyingGlass.ts +0 -15
  58. package/src/icons/solid/faPrint.ts +0 -15
  59. package/src/icons/solid/faRotateRight.ts +0 -15
  60. package/src/icons/solid/faXmark.ts +0 -15
  61. package/src/styles/App.scss +0 -25
  62. package/src/styles/iui/common/_animations.scss +0 -56
  63. package/src/styles/iui/common/_typography.scss +0 -76
  64. package/src/styles/iui/common/_variables.scss +0 -56
  65. package/src/styles/iui/common/helpers/_base.scss +0 -32
  66. package/src/styles/iui/common/helpers/_color.scss +0 -7
  67. package/src/styles/iui/common/helpers/_display.scss +0 -54
  68. package/src/styles/iui/common/helpers/_size.scss +0 -17
  69. package/src/styles/iui/common/maps/_align.scss +0 -24
  70. package/src/styles/iui/common/maps/_spacing.scss +0 -78
  71. package/src/styles/iui/components/_accordions.scss +0 -47
  72. package/src/styles/iui/components/_badge.scss +0 -52
  73. package/src/styles/iui/components/_card.scss +0 -24
  74. package/src/styles/iui/components/_dialog.scss +0 -75
  75. package/src/styles/iui/components/_header.scss +0 -22
  76. package/src/styles/iui/components/_input.scss +0 -225
  77. package/src/styles/iui/components/_loader.scss +0 -93
  78. package/src/styles/iui/components/_menu.scss +0 -44
  79. package/src/styles/iui/components/_notifications.scss +0 -86
  80. package/src/styles/iui/components/_page.scss +0 -50
  81. package/src/styles/iui/components/_pagePrelogin.scss +0 -66
  82. package/src/styles/iui/components/_portal.scss +0 -8
  83. package/src/styles/iui/components/_print.scss +0 -92
  84. package/src/styles/iui/components/_scrollbar.scss +0 -18
  85. package/src/styles/iui/components/_selectInput.scss +0 -15
  86. package/src/styles/iui/components/_sidebar.scss +0 -171
  87. package/src/styles/iui/components/_smallComponents.scss +0 -24
  88. package/src/styles/iui/components/_table.scss +0 -207
  89. package/src/styles/iui/components/_tabs.scss +0 -94
  90. package/src/styles/iui.scss +0 -28
  91. package/src/styles/red-variables.scss +0 -9
  92. package/src/types/IBasic.ts +0 -31
  93. package/src/types/IError.ts +0 -4
  94. package/src/types/IHeaderAction.ts +0 -12
  95. package/src/types/ISelect.ts +0 -6
  96. package/src/types/ISidebar.ts +0 -29
  97. package/src/types/ITab.ts +0 -10
  98. package/src/types/ITable.ts +0 -210
  99. package/src/types/custom.d.ts +0 -9
  100. package/src/utils/DateUtils.ts +0 -30
  101. package/src/utils/NumberUtils.ts +0 -21
  102. package/src/utils/ObjectUtils.ts +0 -49
  103. package/src/utils/StringUtils.ts +0 -2
  104. package/src/utils/Toasts.ts +0 -6
  105. package/src/utils/icons.ts +0 -11
  106. package/src/utils/index.ts +0 -41
  107. package/tsconfig.json +0 -20
@@ -1,86 +0,0 @@
1
- .notification-counter {
2
- position: relative;
3
- user-select: none;
4
- cursor: pointer;
5
- .bell svg .fa-secondary {
6
- opacity: 1;
7
- fill: #ffaa33;
8
- stroke: #544417;
9
- stroke-width: 30px;
10
- stroke-opacity: 0.5;
11
- }
12
- .count {
13
- display: flex;
14
- justify-content: center;
15
- align-items: center;
16
- background-color: var(--error);
17
- border-radius: 50%;
18
- height: 18px;
19
- min-width: 18px;
20
- color: white;
21
- font-size: 10px;
22
- position: absolute;
23
- top: 0;
24
- right: 0;
25
- }
26
- }
27
-
28
- .notifications-container {
29
- max-height: calc(100vh - $header-height - 150px);
30
- overflow: auto;
31
- display: flex;
32
- flex-direction: column;
33
- gap: 8px;
34
- padding: 8px;
35
- cursor: pointer;
36
- }
37
-
38
- .notification {
39
- background-color: var(--primary-o10);
40
- padding: 8px;
41
- border-radius: 8px;
42
- .header {
43
- display: flex;
44
- justify-content: space-between;
45
- align-items: flex-start;
46
- .title {
47
- color: var(--primary-dark);
48
- font-size: 14px;
49
- font-weight: bold;
50
- }
51
- .date {
52
- color: rgba(0, 0, 0, 0.6);
53
- font-size: 9px;
54
- margin: 4px 0;
55
- }
56
- svg {
57
- color: var(--primary-o25);
58
- height: 13px;
59
- width: 13px;
60
- padding: 4px;
61
- }
62
- }
63
- .desc {
64
- color: #000;
65
- font-size: 12px;
66
- }
67
- .unread-icon svg {
68
- color: #ff9500;
69
- }
70
- .disabled {
71
- opacity: 1;
72
- }
73
- }
74
-
75
- .notification-badge {
76
- width: 24px;
77
- height: 24px;
78
- background-color: var(--secondary);
79
- border-radius: 50%;
80
- display: flex;
81
- align-items: center;
82
- justify-content: center;
83
- line-height: 1;
84
- font-weight: 500;
85
- font-size: 12px;
86
- }
@@ -1,50 +0,0 @@
1
- body {
2
- position: fixed;
3
- overflow: hidden;
4
- width: 100%;
5
- }
6
-
7
- .page-container {
8
- display: flex;
9
- flex-direction: column;
10
- min-height: calc(100vh - $header-height);
11
- max-height: calc(100vh - $header-height);
12
- }
13
-
14
- .page-content {
15
- display: flex;
16
- flex-direction: column;
17
- padding: 16px 24px;
18
- flex: 1;
19
- overflow-y: auto;
20
- }
21
-
22
- .page-header {
23
- display: flex;
24
- justify-content: space-between;
25
- align-items: center;
26
- padding: 0 24px;
27
- min-height: 55px;
28
- max-height: 55px;
29
- border-bottom: 1px solid var(--primary);
30
- .breadcrumbs {
31
- display: flex;
32
- h1 {
33
- margin-right: 5px;
34
- }
35
- @media #{$bp-mt} {
36
- margin-left: 18px;
37
- h1 {
38
- font-size: 13px;
39
- }
40
- }
41
- }
42
- }
43
-
44
- .app-left-line {
45
- background: var(--secondary);
46
- width: 5px;
47
- @media #{$bp-mt} {
48
- width: 0px;
49
- }
50
- }
@@ -1,66 +0,0 @@
1
- .full-page-container {
2
- background-color: #f5f5f5;
3
- padding: 50px 150px;
4
- box-sizing: border-box;
5
- min-height: 100vh;
6
- h1 {
7
- font-size: 40px;
8
- font-weight: 900;
9
- margin-bottom: 12px;
10
- }
11
- h2 {
12
- color: #a3a3a3;
13
- font-size: 16px;
14
- line-height: 1.6;
15
- white-space: pre-line;
16
- span {
17
- color: #000;
18
- }
19
- }
20
- h3 {
21
- font-size: 20px;
22
- margin-bottom: 24px;
23
- }
24
- .desc-link {
25
- color: var(--primary);
26
- font-weight: 900;
27
- &:hover {
28
- text-decoration: underline;
29
- color: var(--primary-light);
30
- }
31
- }
32
- .content {
33
- display: grid;
34
- grid-template-columns: 1fr 1fr;
35
- .children {
36
- margin: 48px 0;
37
- }
38
- .full-page-image {
39
- display: flex;
40
- justify-content: center;
41
- padding: 50px;
42
- img {
43
- max-width: 20vw;
44
- max-height: 40vh;
45
- }
46
- }
47
- }
48
- }
49
- .iui-prelogin-card {
50
- background-color: white;
51
- border-radius: 25px;
52
- padding: 24px;
53
- width: fit-content;
54
- }
55
-
56
- @media (max-width: 700px) {
57
- .full-page-container {
58
- padding: 20px 30px;
59
- .content {
60
- display: block;
61
- }
62
- .full-page-image {
63
- display: none !important;
64
- }
65
- }
66
- }
@@ -1,8 +0,0 @@
1
- .portal-background {
2
- position: fixed;
3
- top: 0;
4
- left: 0;
5
- width: 100%;
6
- height: 100%;
7
- z-index: 1000;
8
- }
@@ -1,92 +0,0 @@
1
- .iui-print-dialog {
2
- position: absolute;
3
- z-index: 2000;
4
- left: 0;
5
- top: 0;
6
- bottom: 0;
7
- left: 0;
8
- min-height: 100vh;
9
- width: 100%;
10
- animation: fade-in 200ms forwards;
11
- & > .content {
12
- background: #fefefe;
13
- padding: 10px 50px 60px 50px;
14
- p,
15
- td {
16
- font-size: 10pt;
17
- }
18
- h4 {
19
- font-size: 12pt;
20
- }
21
- .name {
22
- font-size: 11pt;
23
- font-weight: bold;
24
- margin-bottom: 5px;
25
- }
26
- }
27
- @media print {
28
- .content {
29
- padding: 0;
30
- }
31
- }
32
- }
33
- .iui-print-actions {
34
- position: fixed;
35
- left: 0;
36
- right: 0;
37
- bottom: 0;
38
- height: 50px;
39
- background-color: #fefefe;
40
- box-shadow: $container-shadow;
41
- display: flex;
42
- align-items: center;
43
- justify-content: center;
44
- }
45
-
46
- .print-table {
47
- @media print and (orientation: landscape) {
48
- width: 842pt;
49
- }
50
- @media print and (orientation: portrait) {
51
- width: 595pt;
52
- }
53
- // font-size: 10pt;
54
- thead tr {
55
- background: #f1f1f1;
56
- }
57
- th {
58
- padding: 5px;
59
- border: 1px solid silver;
60
- p {
61
- // font-size: 10pt;
62
- padding: 4px 8px !important;
63
- }
64
- }
65
- td {
66
- padding: 3px;
67
- border: 1px solid silver;
68
- }
69
- }
70
-
71
- @media print {
72
- #root,
73
- .no-print {
74
- display: none;
75
- }
76
- @page {
77
- margin: 6.5mm;
78
- }
79
- body {
80
- overflow: visible !important;
81
- }
82
- tbody td {
83
- white-space: nowrap;
84
- }
85
- // table {
86
- // page-break-inside: auto;
87
- // }
88
- // tr {
89
- // page-break-inside: avoid;
90
- // page-break-after: auto;
91
- // }
92
- }
@@ -1,18 +0,0 @@
1
- div {
2
- &::-webkit-scrollbar {
3
- width: 15px;
4
- height: 15px;
5
- }
6
- &::-webkit-scrollbar-track {
7
- background-color: var(--primary-o25);
8
- border-radius: 100px;
9
- }
10
- &::-webkit-scrollbar-thumb {
11
- background-color: var(--primary);
12
- border-radius: 100px;
13
- box-shadow: inset 2px 2px 5px 0 rgba(#fff, 0.5);
14
- &:hover {
15
- background-color: var(--primary-dark);
16
- }
17
- }
18
- }
@@ -1,15 +0,0 @@
1
- .select-wrapper {
2
- label {
3
- z-index: 1;
4
- }
5
- fieldset:not(.shrink):not(.focus) label {
6
- width: calc(100% - 70px);
7
- }
8
- }
9
-
10
- .fake-input {
11
- opacity: 0;
12
- width: 100%;
13
- height: 0;
14
- position: absolute;
15
- }
@@ -1,171 +0,0 @@
1
- $sidebar-width: 260px;
2
-
3
- .iui-sidebar {
4
- background: var(--primary);
5
- color: white;
6
- border-top: 2px solid white;
7
- position: relative;
8
- display: flex;
9
- flex-direction: column;
10
- justify-content: space-between;
11
- height: calc(100vh - $header-height);
12
- box-shadow: 2px 0px 5px rgba(180, 177, 177, 0.5);
13
- width: $sidebar-width;
14
- z-index: 100;
15
- box-sizing: border-box;
16
- transition: width 0.3s $app-transition;
17
- &.collapsed {
18
- &:hover {
19
- .active-menu {
20
- background-color: unset;
21
- }
22
- }
23
- &:not(:hover) {
24
- .content-hidden {
25
- display: none;
26
- }
27
- .sidebar-logo {
28
- transform: scale(0.5);
29
- }
30
- }
31
- }
32
- svg {
33
- color: white;
34
- }
35
-
36
- @media #{$bp-desktop} {
37
- &.collapsed {
38
- width: 55px;
39
- }
40
- &.sidebar-hover:hover {
41
- width: $sidebar-width;
42
- }
43
- }
44
- @media #{$bp-mt} {
45
- &.collapsed {
46
- width: 0px;
47
- }
48
- }
49
- }
50
-
51
- .iui-sidebar-content {
52
- display: flex;
53
- flex-direction: column;
54
- padding-top: 12px;
55
- flex: 1;
56
- overflow-y: auto;
57
- overflow-x: hidden;
58
- overscroll-behavior: none;
59
- &::-webkit-scrollbar {
60
- width: 5px;
61
- }
62
- hr {
63
- border-color: white;
64
- opacity: 0.4;
65
- }
66
- .iui-sidebar-items {
67
- flex: 1;
68
- width: $sidebar-width;
69
- }
70
- }
71
-
72
- .iui-sidebar-item,
73
- .iui-sidebar-sub-item {
74
- display: flex;
75
- align-items: center;
76
- justify-content: space-between;
77
- font-size: 13px;
78
- box-sizing: border-box;
79
- white-space: nowrap;
80
- user-select: none;
81
- &.clickable:hover:not(:disabled):not(.disabled),
82
- &.active {
83
- background-color: var(--primary-dark);
84
- // background-color: var(--primary-light);
85
- }
86
- &:hover .add-button {
87
- display: unset;
88
- }
89
- }
90
- .iui-sidebar-item {
91
- font-weight: bold;
92
- height: 45px;
93
- padding: 8px 16px;
94
- }
95
- .iui-sidebar-sub-item {
96
- padding: 0px 20px 0px 56px;
97
- height: 32px;
98
- &.primary {
99
- font-weight: bold;
100
- }
101
- .add-button {
102
- padding: 0;
103
- display: none;
104
- svg {
105
- padding: 0 !important;
106
- height: 24px;
107
- width: 24px;
108
- }
109
- &:hover {
110
- .fa-secondary {
111
- opacity: 0.8;
112
- }
113
- }
114
- .fa-secondary {
115
- fill: var(--secondary-light);
116
- opacity: 0.4;
117
- }
118
- }
119
- }
120
-
121
- .sidebar-icon {
122
- margin-right: 15px;
123
- height: 24px;
124
- width: 24px;
125
- color: var(--primary);
126
- }
127
- .sidebar-expand-icon {
128
- height: 16px;
129
- width: 16px;
130
- opacity: 0.6;
131
- transition: transform 0.2s;
132
- &.rotate {
133
- opacity: 0.9;
134
- transform: rotate(180deg);
135
- }
136
- }
137
-
138
- .sidebar-logo {
139
- margin: 20px 0;
140
- width: 70px;
141
- transition: transform 0.3s ease-in-out;
142
- }
143
-
144
- .sidebar-colapse {
145
- opacity: 0;
146
- position: absolute;
147
- box-sizing: border-box;
148
- top: 40px;
149
- right: -16px;
150
- border-radius: 50%;
151
- background-color: white;
152
- height: 32px;
153
- width: 32px;
154
- display: flex;
155
- align-items: center;
156
- justify-content: center;
157
- transition: opacity 0.15s ease-in-out;
158
- border: 1px solid var(--primary);
159
- &:active {
160
- transform: translateY(2px);
161
- }
162
- svg {
163
- color: var(--primary);
164
- }
165
- }
166
-
167
- .iui-sidebar:hover {
168
- .sidebar-colapse {
169
- opacity: 1;
170
- }
171
- }
@@ -1,24 +0,0 @@
1
- hr {
2
- margin: 8px 0;
3
- border-width: 0px 0px thin;
4
- border-style: solid;
5
- border-color: rgba(0, 0, 0, 0.12);
6
- }
7
-
8
- .iui-colapse {
9
- transition: max-height 200ms cubic-bezier(0.4, 0, 0.2, 1);
10
- overflow: hidden;
11
- }
12
-
13
- .form-disabled {
14
- pointer-events: none;
15
- opacity: 0.6;
16
- }
17
-
18
- .Toastify__toast {
19
- border-radius: 15px !important;
20
- opacity: 0.95;
21
- hr {
22
- border-color: white;
23
- }
24
- }