benivo-ui-library 1.9.30 → 1.9.32

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 (146) hide show
  1. package/{lib/arrowButton.less → arrowButton.less} +11 -13
  2. package/{lib/asideSummaryCard.less → asideSummaryCard.less} +2 -2
  3. package/{lib/asideSummaryCardSection.less → asideSummaryCardSection.less} +3 -3
  4. package/{lib/assignmentSelectBox.less → assignmentSelectBox.less} +44 -41
  5. package/{lib/autoComplete.less → autoComplete.less} +16 -16
  6. package/{lib/benivo-ui-lib.less → benivo-ui-lib.less} +5 -1
  7. package/button.less +622 -0
  8. package/{lib/button.less → buttonOld.less} +59 -59
  9. package/checkbox.less +348 -0
  10. package/{lib/data-table.less → data-table.less} +53 -51
  11. package/{lib/datePicker.less → datePicker.less} +31 -30
  12. package/{lib/drawer.less → drawer.less} +3 -3
  13. package/{lib/dropdownButton.less → dropdownButton.less} +8 -8
  14. package/{lib/expander.less → expander.less} +8 -8
  15. package/{lib/fantasyButton.less → fantasyButton.less} +16 -12
  16. package/forms.less +256 -0
  17. package/index.js +2 -0
  18. package/{lib/infoMessageBanner.less → infoMessageBanner.less} +3 -3
  19. package/{lib/input.less → input.less} +102 -18
  20. package/{lib/loader.less → loader.less} +3 -3
  21. package/main.less +4 -0
  22. package/{lib/navigation.less → navigation.less} +18 -23
  23. package/{lib/notifications.less → notifications.less} +7 -7
  24. package/package.json +1 -1
  25. package/{lib/pop-up.less → pop-up.less} +3 -6
  26. package/{lib/radiobutton.less → radiobutton.less} +18 -18
  27. package/{lib/select.less → select.less} +25 -15
  28. package/{lib/sidebarMenu.less → sidebarMenu.less} +12 -18
  29. package/{lib/spinner.less → spinner.less} +4 -4
  30. package/splashScreen.less +133 -0
  31. package/{lib/swiper.less → swiper.less} +20 -15
  32. package/tabGroup.less +238 -0
  33. package/{lib/table-sort.less → table-sort.less} +7 -6
  34. package/{lib/tabs.less → tabs.less} +2 -2
  35. package/{lib/textarea.less → textarea.less} +7 -6
  36. package/{lib/tooltip.less → tooltip.less} +21 -21
  37. package/variables.less +236 -0
  38. package/.prettierrc.json +0 -8
  39. package/.storybook/main.js +0 -55
  40. package/.storybook/preview.js +0 -15
  41. package/.vscode/extensions.json +0 -5
  42. package/.vscode/settings.json +0 -6
  43. package/Benivo.UI.lib.csproj +0 -21
  44. package/Benivo.UI.lib.sln +0 -33
  45. package/LICENSE +0 -21
  46. package/Properties/launchSettings.json +0 -27
  47. package/jest.config.js +0 -20
  48. package/lib/README.md +0 -38
  49. package/lib/checkbox.less +0 -296
  50. package/lib/index.js +0 -2
  51. package/lib/main.less +0 -3
  52. package/lib/package.json +0 -123
  53. package/lib/tabGroup.less +0 -98
  54. package/lib/variables.less +0 -499
  55. package/mocking/fileMock.js +0 -7
  56. package/mocking/mock.worker.js +0 -25
  57. package/mocking/setup.js +0 -1
  58. package/mocking/styleMock.js +0 -1
  59. package/storybook-static/122.33aa017d.iframe.bundle.js +0 -1
  60. package/storybook-static/212.1ed8cd1c.iframe.bundle.js +0 -2
  61. package/storybook-static/212.1ed8cd1c.iframe.bundle.js.LICENSE.txt +0 -20
  62. package/storybook-static/227.624cbd61.iframe.bundle.js +0 -1
  63. package/storybook-static/27.5bcc101e.iframe.bundle.js +0 -2
  64. package/storybook-static/27.5bcc101e.iframe.bundle.js.LICENSE.txt +0 -9
  65. package/storybook-static/323.9b9aa21f.iframe.bundle.js +0 -405
  66. package/storybook-static/323.9b9aa21f.iframe.bundle.js.LICENSE.txt +0 -56
  67. package/storybook-static/323.9b9aa21f.iframe.bundle.js.map +0 -1
  68. package/storybook-static/364.b30e947e.iframe.bundle.js +0 -1
  69. package/storybook-static/431.38d0f194.iframe.bundle.js +0 -1
  70. package/storybook-static/648.089cd511.iframe.bundle.js +0 -1
  71. package/storybook-static/674.b0f7d9fc.iframe.bundle.js +0 -95
  72. package/storybook-static/674.b0f7d9fc.iframe.bundle.js.LICENSE.txt +0 -16
  73. package/storybook-static/674.b0f7d9fc.iframe.bundle.js.map +0 -1
  74. package/storybook-static/735.82b191cb.iframe.bundle.js +0 -1
  75. package/storybook-static/components-button-Button-stories.b1e8029c.iframe.bundle.js +0 -1
  76. package/storybook-static/components-checkbox-Checkbox-stories.f09cbe54.iframe.bundle.js +0 -1
  77. package/storybook-static/components-fantasyButton-FantasyButton-stories.8ed511b4.iframe.bundle.js +0 -1
  78. package/storybook-static/favicon.svg +0 -1
  79. package/storybook-static/iframe.html +0 -511
  80. package/storybook-static/index.html +0 -185
  81. package/storybook-static/index.json +0 -1
  82. package/storybook-static/main.665a729c.iframe.bundle.js +0 -1
  83. package/storybook-static/main.css +0 -2459
  84. package/storybook-static/main.css.map +0 -1
  85. package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  86. package/storybook-static/nunito-sans-bold.woff2 +0 -0
  87. package/storybook-static/nunito-sans-italic.woff2 +0 -0
  88. package/storybook-static/nunito-sans-regular.woff2 +0 -0
  89. package/storybook-static/project.json +0 -1
  90. package/storybook-static/runtime~main.5049242a.iframe.bundle.js +0 -1
  91. package/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js +0 -327
  92. package/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js.LEGAL.txt +0 -40
  93. package/storybook-static/sb-addons/essentials-actions-4/manager-bundle.js +0 -3
  94. package/storybook-static/sb-addons/essentials-actions-4/manager-bundle.js.LEGAL.txt +0 -0
  95. package/storybook-static/sb-addons/essentials-backgrounds-5/manager-bundle.js +0 -12
  96. package/storybook-static/sb-addons/essentials-backgrounds-5/manager-bundle.js.LEGAL.txt +0 -0
  97. package/storybook-static/sb-addons/essentials-controls-3/manager-bundle.js +0 -394
  98. package/storybook-static/sb-addons/essentials-controls-3/manager-bundle.js.LEGAL.txt +0 -0
  99. package/storybook-static/sb-addons/essentials-measure-8/manager-bundle.js +0 -3
  100. package/storybook-static/sb-addons/essentials-measure-8/manager-bundle.js.LEGAL.txt +0 -0
  101. package/storybook-static/sb-addons/essentials-outline-9/manager-bundle.js +0 -3
  102. package/storybook-static/sb-addons/essentials-outline-9/manager-bundle.js.LEGAL.txt +0 -0
  103. package/storybook-static/sb-addons/essentials-toolbars-7/manager-bundle.js +0 -3
  104. package/storybook-static/sb-addons/essentials-toolbars-7/manager-bundle.js.LEGAL.txt +0 -0
  105. package/storybook-static/sb-addons/essentials-viewport-6/manager-bundle.js +0 -3
  106. package/storybook-static/sb-addons/essentials-viewport-6/manager-bundle.js.LEGAL.txt +0 -0
  107. package/storybook-static/sb-addons/interactions-11/manager-bundle.js +0 -213
  108. package/storybook-static/sb-addons/interactions-11/manager-bundle.js.LEGAL.txt +0 -0
  109. package/storybook-static/sb-addons/links-2/manager-bundle.js +0 -3
  110. package/storybook-static/sb-addons/links-2/manager-bundle.js.LEGAL.txt +0 -0
  111. package/storybook-static/sb-addons/onboarding-1/manager-bundle.js +0 -129
  112. package/storybook-static/sb-addons/onboarding-1/manager-bundle.js.LEGAL.txt +0 -0
  113. package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +0 -3
  114. package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt +0 -0
  115. package/storybook-static/sb-common-assets/favicon.svg +0 -1
  116. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  117. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  118. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  119. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  120. package/storybook-static/sb-manager/globals-module-info.js +0 -1006
  121. package/storybook-static/sb-manager/globals-runtime.js +0 -54480
  122. package/storybook-static/sb-manager/globals.js +0 -48
  123. package/storybook-static/sb-manager/runtime.js +0 -12089
  124. package/storybook-static/sb-preview/globals.js +0 -33
  125. package/storybook-static/sb-preview/runtime.js +0 -9498
  126. package/webpack.config.dev.js +0 -90
  127. /package/{lib/benivoLogo.less → benivoLogo.less} +0 -0
  128. /package/{lib/countryFlag.less → countryFlag.less} +0 -0
  129. /package/{lib/frame.less → frame.less} +0 -0
  130. /package/{lib/freshDeskChat.less → freshDeskChat.less} +0 -0
  131. /package/{lib/googleTranslate.less → googleTranslate.less} +0 -0
  132. /package/{lib/image.less → image.less} +0 -0
  133. /package/{lib/index.js.LICENSE.txt → index.js.LICENSE.txt} +0 -0
  134. /package/{lib/mixins.less → mixins.less} +0 -0
  135. /package/{lib/status.less → status.less} +0 -0
  136. /package/{lib/swiper-a11y.less → swiper-a11y.less} +0 -0
  137. /package/{lib/swiper-effect-cube.less → swiper-effect-cube.less} +0 -0
  138. /package/{lib/swiper-effect-fade.less → swiper-effect-fade.less} +0 -0
  139. /package/{lib/swiper-effect-flip.less → swiper-effect-flip.less} +0 -0
  140. /package/{lib/swiper-lazy.less → swiper-lazy.less} +0 -0
  141. /package/{lib/swiper-navigation.less → swiper-navigation.less} +0 -0
  142. /package/{lib/swiper-pagination.less → swiper-pagination.less} +0 -0
  143. /package/{lib/swiper-scrollbar.less → swiper-scrollbar.less} +0 -0
  144. /package/{lib/swiper-thumb.less → swiper-thumb.less} +0 -0
  145. /package/{lib/swiper-zoom.less → swiper-zoom.less} +0 -0
  146. /package/{lib/withPortal.less → withPortal.less} +0 -0
@@ -1,12 +1,10 @@
1
- @arrow-button-color: #93979b;
2
-
3
1
  .arrow-button {
4
2
  position: absolute;
5
3
  top: 50%;
6
4
  .transform(translateY(-50%));
7
5
  z-index: 2;
8
6
  border: none;
9
- background-color: @light-gray-bg;
7
+ background-color: var(--bg-50);
10
8
  cursor: pointer;
11
9
  padding: 0;
12
10
  width: 35px;
@@ -61,7 +59,7 @@
61
59
  display: block;
62
60
 
63
61
  &:before {
64
- color: @arrow-button-color;
62
+ color: var(--text-600);
65
63
  }
66
64
  }
67
65
 
@@ -71,7 +69,7 @@
71
69
  span {
72
70
 
73
71
  &:before {
74
- color: #eeeeee;
72
+ color: var(--text-600);
75
73
  }
76
74
  }
77
75
  }
@@ -122,20 +120,20 @@
122
120
 
123
121
  &.active {
124
122
  &:hover {
125
- background-color: @primary-color;
126
- color: @white;
123
+ background-color: var(--primary);
124
+ color: var(--white);
127
125
 
128
126
  .icon:before {
129
- color: @white;
127
+ color: var(--white);
130
128
  }
131
129
  }
132
130
 
133
131
  @media @lg-max {
134
- background-color: @primary-color;
135
- color: @white;
132
+ background-color: var(--primary);
133
+ color: var(--white);
136
134
 
137
135
  .icon:before {
138
- color: @white;
136
+ color: var(--white);
139
137
  }
140
138
  }
141
139
  }
@@ -156,8 +154,8 @@
156
154
 
157
155
  .icon-submitted {
158
156
  &:before {
159
- color: @primary-color;
157
+ color: var(--primary);
160
158
  }
161
159
  }
162
160
  }
163
- }
161
+ }
@@ -1,7 +1,7 @@
1
1
  .summary-card {
2
- background: @white;
2
+ background: var(--white);
3
3
  padding: 24px;
4
- border: 1px solid @border-color;
4
+ border: 1px solid var(--border-200);
5
5
  .border-radius(@border-radius);
6
6
 
7
7
  &__title {
@@ -4,7 +4,7 @@
4
4
 
5
5
  &__title {
6
6
  font-size: @extra-small-font-size;
7
- border-bottom: 1px solid @border-color;
7
+ border-bottom: 1px solid var(--border-200);
8
8
  padding-bottom: 6px;
9
9
  margin-bottom: 20px;
10
10
  font-weight: @font-weight-semibold;
@@ -17,7 +17,7 @@
17
17
 
18
18
  &__label {
19
19
  display: inline-block;
20
- color: @gray-text;
20
+ color: var(--text-600);
21
21
  flex-basis: 50%;
22
22
  padding-right: 10px;
23
23
  }
@@ -31,7 +31,7 @@
31
31
 
32
32
  i {
33
33
  font-size: @extra-small-font-size;
34
- color: @light-gray-border;
34
+ color: var(--text-600);
35
35
  }
36
36
  }
37
37
  }
@@ -10,11 +10,11 @@
10
10
 
11
11
  .assignment-home-location {
12
12
  font-size: @small-font-size;
13
- color: @extra-light-gray-text;
13
+ color:var(--text-600);
14
14
  }
15
15
 
16
16
  .location-divider {
17
- color: @extra-light-gray-text;
17
+ color:var(--text-600);
18
18
  }
19
19
 
20
20
  .assignment-host-location {
@@ -24,28 +24,29 @@
24
24
 
25
25
  &-dates {
26
26
  font-size: @extra-small-font-size;
27
- color: @gray-text;
27
+ color: var(--text-600);
28
28
  }
29
29
 
30
30
  .assignment-cancel a {
31
31
  font-size: @extra-small-font-size;
32
32
  font-weight: @font-weight-semibold;
33
- color: @link-color;
33
+ color: var(--primary);
34
34
 
35
35
  &:hover {
36
- color: @link-color;
36
+ color: var(--primary);
37
37
  }
38
38
  }
39
39
 
40
- &-memberId{
40
+ &-memberId {
41
41
  font-size: @extra-small-font-size;
42
- color: @gray-text;
42
+ color: var(--text-600);
43
43
  }
44
44
  }
45
45
 
46
- .form-select__value-container, .assignment-single-option{
47
- .assignment-option-dates{
48
- color: @extra-light-gray-text;
46
+ .form-select__value-container,
47
+ .assignment-single-option {
48
+ .assignment-option-dates {
49
+ color:var(--text-600);
49
50
  }
50
51
  }
51
52
 
@@ -80,112 +81,115 @@
80
81
  }
81
82
  }
82
83
 
83
- .assignment-select-box-custom-menu{
84
+ .assignment-select-box-custom-menu {
84
85
  .assignments-filter-wrapper {
85
86
  padding: 15px 12px;
86
-
87
+
87
88
  .form-select__control {
88
89
  cursor: pointer;
89
90
  }
90
-
91
+
91
92
  .form-group {
92
93
  margin-bottom: 0;
93
94
  width: 70%;
94
-
95
+
95
96
  @media (min-width: 768px) and (max-width: 991px) {
96
97
  width: 80% !important;
97
98
  }
98
-
99
+
99
100
  &:before {
100
101
  content: '\ed43';
101
102
  font-family: 'icomoon';
102
- color: @extra-light-gray-text;
103
+ color:var(--text-600);
103
104
  display: block;
104
105
  position: absolute;
105
106
  top: 50%;
106
107
  left: @input-pad-x;
107
108
  transform: translateY(-50%);
108
109
  }
109
-
110
+
110
111
  input {
111
112
  padding-left: 38px;
112
113
  width: 100%;
113
114
  margin-right: 12px;
114
115
  }
115
116
  }
116
-
117
+
117
118
  .assignments-filter {
118
119
  display: inline-flex;
119
120
  align-items: center;
120
121
  cursor: pointer;
121
122
  position: relative;
122
123
  flex-shrink: 0;
123
-
124
+
124
125
  .assignments-filter-statuses {
125
126
  position: absolute;
126
127
  top: 100%;
127
128
  right: 0;
128
- background-color: #ffffff;
129
+ background-color: var(--white);
129
130
  border: solid 1px rgba(0, 0, 0, 0.15);
130
131
  .border-radius(4px);
131
132
  z-index: @zindex-dropdown;
132
133
  width: 256px;
133
134
  margin-top: 10px;
134
-
135
- &.horizontal{
136
- &__right{
135
+
136
+ &.horizontal {
137
+ &__right {
137
138
  @media @lg {
138
139
  left: 0;
139
140
  right: unset;
140
141
  }
141
142
  }
142
- &__left{
143
+
144
+ &__left {
143
145
  @media @lg {
144
146
  left: unset;
145
147
  right: 0;
146
148
  }
147
149
  }
148
150
  }
149
-
150
- &.vertical{
151
- &__bottom{
151
+
152
+ &.vertical {
153
+ &__bottom {
152
154
  @media @lg {
153
155
  top: 100%;
154
156
  bottom: unset;
155
157
  }
156
158
  }
157
- &__top{
159
+
160
+ &__top {
158
161
  @media @lg {
159
162
  top: unset;
160
163
  bottom: 100%;
161
164
  }
162
165
  }
163
166
  }
164
-
167
+
165
168
  li {
166
169
  padding: 12px;
167
-
170
+
168
171
  &:hover {
169
- background-color: @form-select-option-bg-selected;
172
+ background-color: var(--bg-50);
170
173
  }
171
-
174
+
172
175
  &:before {
173
176
  left: 42px;
174
177
  }
175
-
178
+
176
179
  .form-check {
177
180
  margin-bottom: 0;
178
181
  padding-left: 46px;
179
182
  }
180
183
  }
181
184
  }
182
-
185
+
183
186
  span {
187
+
184
188
  &,
185
189
  &:before {
186
- color: @primary-color;
190
+ color: var(--primary);
187
191
  }
188
-
192
+
189
193
  &:last-child {
190
194
  margin-left: 8px;
191
195
  font-size: @small-font-size;
@@ -195,14 +199,13 @@
195
199
  }
196
200
  }
197
201
 
198
- .form-select__menu:has(> .assignment-select-box-custom-menu){
202
+ .form-select__menu:has(> .assignment-select-box-custom-menu) {
199
203
  --menu-width: @menu-width;
200
-
204
+
201
205
  width: 100%;
202
206
  right: 0;
203
-
207
+
204
208
  @media @lg {
205
209
  width: var(--menu-width, @menu-width);
206
210
  }
207
- }
208
-
211
+ }
@@ -22,10 +22,10 @@
22
22
 
23
23
  .suggestion-item--active {
24
24
  cursor: pointer;
25
- background: @form-select-option-bg-hover;
26
- color: @text-color;
25
+ background: rgba(var(--black-rgb), 0.1);
26
+ color: var(--text-600);
27
27
  padding: 0.5rem 1.25rem;
28
- border: solid 1px @form-border-color;
28
+ border: solid 1px var(--border-200);
29
29
  border-bottom: 0;
30
30
 
31
31
  &,
@@ -36,13 +36,13 @@
36
36
  &:before {
37
37
  font-family: icomoon;
38
38
  content: "\e936";
39
- color: @light-gray-text;
39
+ color: var(--text-600);
40
40
  margin-right: 10px;
41
41
  vertical-align: -2px;
42
42
  }
43
43
 
44
44
  &:last-child {
45
- border-bottom: solid 1px @form-border-color;
45
+ border-bottom: solid 1px var(--border-200);
46
46
  .border-radius(0 0 @form-border-radius @form-border-radius);
47
47
  }
48
48
 
@@ -53,10 +53,10 @@
53
53
 
54
54
  .suggestion-item {
55
55
  cursor: pointer;
56
- background-color: @form-select-option-bg;
57
- color: @text-color;
56
+ background-color: var(--white);
57
+ color: var(--text-600);
58
58
  padding: 0.5rem 1.25rem;
59
- border: solid 1px @form-border-color;
59
+ border: solid 1px var(--border-200);
60
60
  border-bottom: 0;
61
61
 
62
62
  &,
@@ -67,7 +67,7 @@
67
67
  &:before {
68
68
  font-family: icomoon;
69
69
  content: "\e936";
70
- color: @light-gray-text;
70
+ color: var(--text-600);
71
71
  margin-right: 10px;
72
72
  vertical-align: -2px;
73
73
  }
@@ -77,7 +77,7 @@
77
77
  }
78
78
 
79
79
  &:last-child {
80
- border-bottom: solid 1px @form-border-color;
80
+ border-bottom: solid 1px var(--border-200);
81
81
  .border-radius(0 0 @form-border-radius @form-border-radius);
82
82
  }
83
83
 
@@ -89,7 +89,7 @@
89
89
  }
90
90
 
91
91
  .required-point {
92
- color: @error-color;
92
+ color: var(--error-main);
93
93
  }
94
94
  }
95
95
 
@@ -100,17 +100,17 @@
100
100
  -moz-appearance: none;
101
101
  appearance: none;
102
102
  background-image: none;
103
- background-color: #fff;
103
+ background-color: var(--white);
104
104
  display: block;
105
105
  min-height: inherit;
106
106
  width: 100%;
107
107
  padding: @input-pad-y @input-pad-x;
108
- color: @form-txt-color;
108
+ color: inherit;
109
109
  font-style: normal;
110
110
  font-family: @form-font-family;
111
111
  font-weight: @form-font-weight;
112
112
  font-size: @form-font-size;
113
- border: 1px solid @form-border-color;
113
+ border: 1px solid var(--border-200);
114
114
  .box-shadow(@form-box-shadow);
115
115
  .border-radius(@form-border-radius);
116
116
  cursor: pointer;
@@ -133,12 +133,12 @@
133
133
 
134
134
  &.disabled {
135
135
  pointer-events: none;
136
- background-color: @form-input-disabled-bg;
136
+ background-color: var(--bg-100);
137
137
  }
138
138
  }
139
139
 
140
140
  .required-point {
141
- color: @error-color;
141
+ color: var(--error-main);
142
142
  }
143
143
  }
144
144
 
@@ -1,8 +1,12 @@
1
1
  @import "../components/input/input.less";
2
2
  @import "../components/tooltip/tooltip.less";
3
3
  @import '../components/button/button.less';
4
+ @import '../components/spinner/spinner.less';
5
+ @import '../components/fantasyButton/fantasyButton.less';
4
6
  @import '../components/checkbox/checkbox.less';
5
7
  @import '../components/radiobutton/radiobutton.less';
6
8
  @import '../components/select/select.less';
9
+ @import '../components/datePicker/datePicker.less';
7
10
  @import '../components/navigation/navigation.less';
8
- @import '../components/swiperSlider/swiper/swiper.less';
11
+ @import '../components/swiperSlider/swiper/swiper.less';
12
+ @import './forms.less';