@unbxd-ui/unbxd-react-components 0.3.2-beta.1 → 0.3.2-beta.3

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 (48) hide show
  1. package/components/Accordian/accordianCore.scss +8 -0
  2. package/components/Accordian/accordianTheme.scss +6 -0
  3. package/components/Button/button.css +1 -0
  4. package/components/Button/buttonTheme.scss +94 -0
  5. package/components/Form/SearchableDropdown.js +2 -2
  6. package/components/Form/SelectedPills.js +13 -11
  7. package/components/Form/form.css +1 -0
  8. package/components/Form/formCore.css +1 -1
  9. package/components/Form/formCore.scss +704 -0
  10. package/components/Form/formTheme.scss +33 -0
  11. package/components/Form/stories/Dropdown.stories.js +83 -1
  12. package/components/Form/summarySelection.scss +106 -0
  13. package/components/Form/variables.scss +116 -0
  14. package/components/InlineModal/inlineModal.css +1 -0
  15. package/components/InlineModal/inlineModalCore.scss +40 -0
  16. package/components/InlineModal/inlineModalTheme.scss +16 -0
  17. package/components/Link/linkCore.scss +66 -0
  18. package/components/Link/linkTheme.scss +79 -0
  19. package/components/List/list.css +1 -0
  20. package/components/List/listCore.scss +6 -0
  21. package/components/List/listTheme.scss +0 -0
  22. package/components/Modal/modal.css +1 -0
  23. package/components/Modal/modalCore.scss +58 -0
  24. package/components/Modal/modalTheme.scss +0 -0
  25. package/components/NoDataPlaceholder/noDataPlaceholderCore.scss +33 -0
  26. package/components/NotificationComponent/notificationComponent.css +1 -0
  27. package/components/NotificationComponent/notificationTheme.scss +38 -0
  28. package/components/PIDItemComponent/PIDItemComponent.js +12 -2
  29. package/components/PIDItemComponent/PIDItemComponentCore.scss +36 -0
  30. package/components/PageLoader/pageLoaderCore.scss +34 -0
  31. package/components/ProgressBar/ProgressBar.scss +0 -0
  32. package/components/ProgressBar/progressBar.css +0 -0
  33. package/components/ProgressBar/progressBarCore.scss +22 -0
  34. package/components/ProgressBar/progressBarTheme.scss +0 -0
  35. package/components/Table/tableCore.scss +547 -0
  36. package/components/Table/tableTheme.scss +34 -0
  37. package/components/TabsComponent/tabs.css +1 -0
  38. package/components/TabsComponent/tabsCore.scss +59 -0
  39. package/components/TabsComponent/tabsTheme.scss +0 -0
  40. package/components/ToastNotification/toastNotificationCore.scss +273 -0
  41. package/components/Tooltip/tooltipCore.scss +207 -0
  42. package/components/Tooltip/tooltipTheme.scss +20 -0
  43. package/components/UIDItemComponent/UIDItemComponent.js +24 -14
  44. package/components/UIDItemComponent/UIDItemComponentCore.scss +57 -0
  45. package/components/common/common.scss +14 -0
  46. package/components/core.css +3 -2
  47. package/components/theme.css +2 -1
  48. package/package.json +5 -6
@@ -0,0 +1,59 @@
1
+ .RCB {
2
+ &-tabs-container {
3
+ display: flex;
4
+ }
5
+
6
+ &-tab-title {
7
+ list-style-type: none;
8
+ padding: 10px;
9
+ cursor: pointer;
10
+
11
+ &.selected {
12
+ background: #FFF;
13
+ font-weight: bold;
14
+ border: 1px solid #cacaca;
15
+ position: relative;
16
+ z-index: 1;
17
+ }
18
+ }
19
+
20
+ &-tabs-horizontal {
21
+ flex-direction: column;
22
+
23
+ .RCB-tab-title {
24
+ display: inline-block;
25
+
26
+ &.selected {
27
+ border-bottom: 0;
28
+ bottom: -1px;
29
+ }
30
+ }
31
+ }
32
+
33
+ &-tabs-vertical {
34
+ .RCB-tab-title {
35
+ display: block;
36
+
37
+ &.selected {
38
+ border-right: 0;
39
+ right: -1px;
40
+ }
41
+ }
42
+ }
43
+
44
+ &-tab-content {
45
+ list-style-type: none;
46
+ border: 1px solid #cacaca;
47
+ padding: 10px;
48
+
49
+ &.selected {
50
+ display: block;
51
+ }
52
+ }
53
+
54
+ &-tab-disabled {
55
+ pointer-events: none;
56
+ cursor: not-allowed;
57
+ color: #ccc;
58
+ }
59
+ }
File without changes
@@ -0,0 +1,273 @@
1
+ .notification-outer-wrapper {
2
+ position: fixed;
3
+ z-index: 200;
4
+ display: flex;
5
+ flex-direction: column;
6
+ gap: 10px;
7
+ max-width: 400px;
8
+ width: 100%;
9
+
10
+ // Default bottom-left position
11
+ &.bottom-left {
12
+ bottom: 20px;
13
+ left: 30px;
14
+
15
+ @media (max-width: 768px) {
16
+ bottom: 10px;
17
+ left: 10px;
18
+ right: 10px;
19
+ max-width: none;
20
+ }
21
+ }
22
+
23
+ // Top-left position
24
+ &.top-left {
25
+ top: 20px;
26
+ left: 30px;
27
+
28
+ @media (max-width: 768px) {
29
+ top: 10px;
30
+ left: 10px;
31
+ right: 10px;
32
+ max-width: none;
33
+ }
34
+ }
35
+
36
+ // Top-right position
37
+ &.top-right {
38
+ top: 20px;
39
+ right: 30px;
40
+
41
+ @media (max-width: 768px) {
42
+ top: 10px;
43
+ left: 10px;
44
+ right: 10px;
45
+ max-width: none;
46
+ }
47
+ }
48
+
49
+ // Bottom-right position
50
+ &.bottom-right {
51
+ bottom: 20px;
52
+ right: 30px;
53
+
54
+ @media (max-width: 768px) {
55
+ bottom: 10px;
56
+ left: 10px;
57
+ right: 10px;
58
+ max-width: none;
59
+ }
60
+ }
61
+
62
+ // For top positions, reverse the order so newest appears at top
63
+ &.top-left,
64
+ &.top-right {
65
+ flex-direction: column-reverse;
66
+ }
67
+
68
+ // Animation direction based on position
69
+ &.top-left .toast,
70
+ &.bottom-left .toast {
71
+ animation: slideInFromLeft 0.3s ease-out;
72
+ }
73
+
74
+ &.top-right .toast,
75
+ &.bottom-right .toast {
76
+ animation: slideInFromRight 0.3s ease-out;
77
+ }
78
+ }
79
+
80
+ .toast {
81
+ position: relative;
82
+ display: flex;
83
+ align-items: center;
84
+ justify-content: space-between;
85
+ padding: 12px 16px;
86
+ border-radius: 8px;
87
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
88
+ background: #fff;
89
+ margin-bottom: 8px;
90
+ min-height: 56px;
91
+ overflow: hidden;
92
+
93
+ &.success {
94
+
95
+ background-color: #E7EFE7;
96
+
97
+ .toast-success {
98
+ color: #10b981;
99
+
100
+ &::before {
101
+ content: "✓";
102
+ font-weight: bold;
103
+ }
104
+ }
105
+ }
106
+
107
+ &.error {
108
+ background-color: #FFE7E7;
109
+
110
+ .toast-error {
111
+ color: #ef4444;
112
+
113
+ &::before {
114
+ content: "✕";
115
+ font-weight: bold;
116
+ }
117
+ }
118
+ }
119
+
120
+ &.warning {
121
+ background-color: #FFF8E7;
122
+
123
+ .toast-warn {
124
+ color: #f59e0b;
125
+
126
+ &::before {
127
+ content: "⚠";
128
+ font-weight: bold;
129
+ }
130
+ }
131
+ }
132
+
133
+ &.info {
134
+ background-color: #E7EDFF;
135
+
136
+ .toast-info {
137
+ color: #3b82f6;
138
+
139
+ &::before {
140
+ content: "ℹ";
141
+ font-weight: bold;
142
+ }
143
+ }
144
+ }
145
+ }
146
+
147
+ .message-icon-box {
148
+ display: flex;
149
+ align-items: center;
150
+ gap: 12px;
151
+ flex: 1;
152
+
153
+ .message {
154
+ color: #17173A;
155
+ font-size: 14px;
156
+ font-weight: 600;
157
+ line-height: 1.4;
158
+ word-break: break-word;
159
+ flex: 1;
160
+ }
161
+ }
162
+
163
+ .toast-close {
164
+ background: none;
165
+ border: none;
166
+ color: #17173A;
167
+ cursor: pointer;
168
+ font-size: 18px;
169
+ padding: 4px;
170
+ margin-left: 12px;
171
+ border-radius: 4px;
172
+ display: flex;
173
+ align-items: center;
174
+ justify-content: center;
175
+ min-width: 24px;
176
+ height: 24px;
177
+
178
+ &:hover {
179
+ color: #6b7280;
180
+ }
181
+
182
+ }
183
+
184
+ .toast-progress {
185
+ position: absolute;
186
+ bottom: 0;
187
+ left: 0;
188
+ height: 3px;
189
+ transition: width 0.1s linear;
190
+
191
+ &.success {
192
+ background: #00C48C;
193
+ }
194
+
195
+ &.error {
196
+ background: #F05C5C;
197
+ }
198
+
199
+ &.warning {
200
+ background: #D5A555;
201
+ }
202
+
203
+ &.info {
204
+ background: #3E71F2;
205
+ }
206
+ }
207
+
208
+ @keyframes slideInFromLeft {
209
+ from {
210
+ transform: translateX(-100%);
211
+ opacity: 0;
212
+ }
213
+
214
+ to {
215
+ transform: translateX(0);
216
+ opacity: 1;
217
+ }
218
+ }
219
+
220
+ @keyframes slideInFromRight {
221
+ from {
222
+ transform: translateX(100%);
223
+ opacity: 0;
224
+ }
225
+
226
+ to {
227
+ transform: translateX(0);
228
+ opacity: 1;
229
+ }
230
+ }
231
+
232
+ @keyframes slideOutToLeft {
233
+ from {
234
+ transform: translateX(0);
235
+ opacity: 1;
236
+ }
237
+
238
+ to {
239
+ transform: translateX(-100%);
240
+ opacity: 0;
241
+ }
242
+ }
243
+
244
+ @keyframes slideOutToRight {
245
+ from {
246
+ transform: translateX(0);
247
+ opacity: 1;
248
+ }
249
+
250
+ to {
251
+ transform: translateX(100%);
252
+ opacity: 0;
253
+ }
254
+ }
255
+
256
+ // High contrast mode support
257
+ @media (prefers-contrast: high) {
258
+ .toast {
259
+ border-width: 2px;
260
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
261
+ }
262
+ }
263
+
264
+ // Reduced motion support
265
+ @media (prefers-reduced-motion: reduce) {
266
+ .notification-outer-wrapper .toast {
267
+ animation: none !important;
268
+ }
269
+
270
+ .toast-progress {
271
+ transition: none;
272
+ }
273
+ }
@@ -0,0 +1,207 @@
1
+ /*.RCB {
2
+ &-tooltip {
3
+ display: inline-block;
4
+ position: relative;
5
+
6
+ .RCB-tooltip-body {
7
+ &.RCB-tooltip-hover {
8
+ display: inline-block;
9
+ }
10
+
11
+ &.RCB-tooltip-click {
12
+ display: inline-block;
13
+ }
14
+ }
15
+ }
16
+
17
+ &-tooltip-body {
18
+ display: none;
19
+ position: absolute;
20
+ z-index: 1;
21
+
22
+ &.RCB-tooltip-right {
23
+ top: -10px;
24
+ &:before {
25
+ content: " ";
26
+ width: 0;
27
+ height: 0;
28
+ border-top: 10px solid transparent;
29
+ border-bottom: 10px solid transparent;
30
+ border-right: 10px solid #ffffff;
31
+ position: absolute;
32
+ left: -10px;
33
+ filter: drop-shadow(-1px 3px 1px #e5e7e8);
34
+ }
35
+ }
36
+
37
+ &.RCB-tooltip-left {
38
+ right: 34px;
39
+ top: -14px;
40
+
41
+ &:after {
42
+ content: " ";
43
+ width: 0;
44
+ height: 0;
45
+ border-top: 10px solid transparent;
46
+ border-bottom: 10px solid transparent;
47
+ border-left: 10px solid #ffffff;
48
+ position: absolute;
49
+ right: -10px;
50
+ top: 16px;
51
+ filter: drop-shadow(2px 2px 1px #e5e7e8);
52
+ }
53
+ }
54
+
55
+ &.RCB-tooltip-top {
56
+
57
+ &:after {
58
+ content: " ";
59
+ width: 0;
60
+ height: 0;
61
+ border-top: 10px solid #ffffff;
62
+ border-right: 10px solid transparent;
63
+ border-left: 10px solid transparent;
64
+ position: absolute;
65
+ top: 100%;
66
+ left: 50%;
67
+ filter: drop-shadow(0px 1px 1px #e5e7e8);
68
+ }
69
+ }
70
+
71
+ &.RCB-tooltip-bottom {
72
+ top: 150%;
73
+ left: -125px;
74
+
75
+ &:after {
76
+ content: " ";
77
+ width: 0;
78
+ height: 0;
79
+ border-left: 10px solid transparent;
80
+ border-bottom: 10px solid #ffffff;
81
+ border-right: 10px solid transparent;
82
+ position: absolute;
83
+ bottom: 100%;
84
+ left: 50%;
85
+ filter: drop-shadow(0px -1px 1px #e5e7e8);
86
+ }
87
+ }
88
+ }
89
+ }
90
+
91
+
92
+ .demo-tooltip {
93
+ .RCB-tooltip-body {
94
+ min-width: 235px;
95
+ }
96
+ .RCB-tooltip-btn {
97
+ border: none;
98
+ background-color: transparent;
99
+ }
100
+ }
101
+ */
102
+
103
+ .RCB-tooltip {
104
+ display: inline-block;
105
+ position: relative;
106
+
107
+ &-btn {
108
+ display: inline-block;
109
+ cursor: pointer;
110
+
111
+ // Ensure the button doesn't interfere with tooltip positioning
112
+ position: relative;
113
+ z-index: 1;
114
+ }
115
+
116
+ &-body {
117
+ display: none; // Hidden by default
118
+ position: absolute;
119
+ background: #fff;
120
+ padding: 10px;
121
+ border-radius: 4px;
122
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
123
+ z-index: 1000;
124
+ max-width: 300px;
125
+ word-wrap: break-word;
126
+
127
+ // Add smooth transitions
128
+ opacity: 0;
129
+ transition: opacity 0.2s ease-in-out;
130
+
131
+ // Show tooltip when it has these classes
132
+ &.RCB-tooltip-hover,
133
+ &.RCB-tooltip-click {
134
+ display: block;
135
+ opacity: 1;
136
+ }
137
+
138
+ // Prevent text selection in tooltip
139
+ user-select: none;
140
+
141
+ // Ensure proper text rendering
142
+ line-height: 1.4;
143
+ color: #333;
144
+ font-size: 14px;
145
+ }
146
+
147
+ &-arrow {
148
+ width: 0;
149
+ height: 0;
150
+ border-style: solid;
151
+
152
+ // Prevent arrow from interfering with hover/click events
153
+ pointer-events: none;
154
+
155
+ // Ensure arrow is positioned correctly
156
+ position: absolute;
157
+
158
+ &-top {
159
+ border-left: 10px solid transparent;
160
+ border-right: 10px solid transparent;
161
+ border-top: 10px solid #fff;
162
+ border-bottom: 0px solid transparent;
163
+ filter: drop-shadow(0 1px 1px #e5e7e8);
164
+ }
165
+
166
+ &-bottom {
167
+ border-left: 10px solid transparent;
168
+ border-right: 10px solid transparent;
169
+ border-bottom: 10px solid #fff;
170
+ border-top: 0px solid transparent;
171
+ filter: drop-shadow(0 -1px 1px #e5e7e8);
172
+
173
+ /*border-left: 8px solid transparent;
174
+ border-right: 8px solid transparent;
175
+ border-top: 8px solid #fff;
176
+ filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));*/
177
+ }
178
+
179
+ &-left {
180
+ border-top: 10px solid transparent;
181
+ border-bottom: 10px solid transparent;
182
+ border-right: 0px solid transparent;
183
+ border-left: 10px solid #fff;
184
+ filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.1));
185
+ }
186
+
187
+ &-right {
188
+ border-top: 10px solid transparent;
189
+ border-bottom: 10px solid transparent;
190
+ border-right: 10px solid #fff;
191
+ border-left: 0px solid transparent;
192
+ filter: drop-shadow(-2px 2px 2px rgba(0, 0, 0, 0.1));
193
+ }
194
+ }
195
+ }
196
+
197
+ // Keep the demo styles for storybook
198
+ .demo-tooltip {
199
+ .RCB-tooltip-body {
200
+ min-width: 235px;
201
+ }
202
+
203
+ .RCB-tooltip-btn {
204
+ border: none;
205
+ background-color: transparent;
206
+ }
207
+ }
@@ -0,0 +1,20 @@
1
+ .RCB {
2
+ &-tooltip-btn {
3
+ display: inline-block;
4
+ font-style: italic;
5
+ font-size: 12px;
6
+ color: #9199AA;
7
+ background-color: #F8FAFB;
8
+ border: 1px solid #D0DDE2;
9
+ padding: 0px 6px;
10
+ border-radius: 50%;
11
+ text-align: center;
12
+ }
13
+
14
+ &-tooltip-body {
15
+ background: #FFF;
16
+ padding: 10px;
17
+ border-radius: 4px;
18
+ box-shadow: 0px 1px 7px 0px #ccc;
19
+ }
20
+ }
@@ -6,21 +6,21 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports["default"] = UIDItemComponent;
8
8
  var _react = _interopRequireWildcard(require("react"));
9
+ var _desktop = _interopRequireDefault(require("../../assets/desktop.svg"));
10
+ var _mapPin = _interopRequireDefault(require("../../assets/map-pin.svg"));
11
+ var _p = _interopRequireDefault(require("../../assets/p1.svg"));
12
+ var _p2 = _interopRequireDefault(require("../../assets/p2.svg"));
13
+ var _p3 = _interopRequireDefault(require("../../assets/p3.svg"));
14
+ var _p4 = _interopRequireDefault(require("../../assets/p4.svg"));
15
+ var _p5 = _interopRequireDefault(require("../../assets/p5.svg"));
16
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
17
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
10
18
  function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
11
19
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
12
20
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
13
21
  function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
14
22
  function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
15
- function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
16
- // Assets are now served from public folder
17
- var desktop = "/assets/desktop.svg";
18
- var map = "/assets/map-pin.svg";
19
- var p1 = "/assets/p1.svg";
20
- var p2 = "/assets/p2.svg";
21
- var p3 = "/assets/p3.svg";
22
- var p4 = "/assets/p4.svg";
23
- var p5 = "/assets/p5.svg";
23
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; } // Assets imported from global src/assets folder
24
24
  function UIDItemComponent(props) {
25
25
  // Desrructure props that are needed for client as well as server pagination types.
26
26
  var _props$itemData = props.itemData,
@@ -29,6 +29,8 @@ function UIDItemComponent(props) {
29
29
  clientPaginationType = _props$paginationType === void 0 ? "" : _props$paginationType,
30
30
  _props$selectItem = props.selectItem,
31
31
  clientSelectItem = _props$selectItem === void 0 ? function () {} : _props$selectItem,
32
+ _props$selectedItems = props.selectedItems,
33
+ clientSelectedItems = _props$selectedItems === void 0 ? [] : _props$selectedItems,
32
34
  _props$data = props.data,
33
35
  data = _props$data === void 0 ? {} : _props$data,
34
36
  _props$index = props.index,
@@ -40,7 +42,9 @@ function UIDItemComponent(props) {
40
42
  _data$paginationType = data.paginationType,
41
43
  serverPaginationType = _data$paginationType === void 0 ? "" : _data$paginationType,
42
44
  _data$selectItem = data.selectItem,
43
- serverSelectItem = _data$selectItem === void 0 ? function () {} : _data$selectItem;
45
+ serverSelectItem = _data$selectItem === void 0 ? function () {} : _data$selectItem,
46
+ _data$selectedItems = data.selectedItems,
47
+ serverSelectedItems = _data$selectedItems === void 0 ? [] : _data$selectedItems;
44
48
 
45
49
  // Determine the pagination type
46
50
  var paginationType = clientPaginationType ? "CLIENT" : serverPaginationType;
@@ -48,6 +52,12 @@ function UIDItemComponent(props) {
48
52
  // Update the item data and select item function based on the pagination type
49
53
  var updatedItemData = paginationType !== 'SERVER' ? itemData : items[index] || {};
50
54
  var updatedSelectItem = paginationType !== 'SERVER' ? clientSelectItem : serverSelectItem;
55
+ var updatedSelectedItems = paginationType !== 'SERVER' ? clientSelectedItems : serverSelectedItems || [];
56
+
57
+ // Check if the item is selected
58
+ var isItemSelected = updatedSelectedItems.find(function (item) {
59
+ return item.user_id === updatedItemData.user_id;
60
+ });
51
61
 
52
62
  // Normalize the item data to fetch fields needed for the component to display.
53
63
  var _updatedItemData$user = updatedItemData.user_id,
@@ -94,12 +104,12 @@ function UIDItemComponent(props) {
94
104
  return [].concat(_toConsumableArray(platforms), _toConsumableArray(devices)).join(", ");
95
105
  }, [platforms, devices]);
96
106
  var getAvatarSrc = function getAvatarSrc(rank) {
97
- var avatars = [p1, p2, p3, p4, p5];
107
+ var avatars = [_p["default"], _p2["default"], _p3["default"], _p4["default"], _p5["default"]];
98
108
  var avatarIndex = rank % 5;
99
109
  return avatars[avatarIndex];
100
110
  };
101
111
  return /*#__PURE__*/_react["default"].createElement("div", {
102
- className: "RCB-list-item",
112
+ className: "RCB-list-item RCB-uid-dd-item ".concat(isItemSelected ? "selected" : ""),
103
113
  style: style,
104
114
  onClick: function onClick() {
105
115
  return updatedSelectItem(updatedItemData);
@@ -123,13 +133,13 @@ function UIDItemComponent(props) {
123
133
  }, locationMetadata && /*#__PURE__*/_react["default"].createElement("div", {
124
134
  className: "RCB-user-id-metadata-item RCB-location-metadata-item"
125
135
  }, /*#__PURE__*/_react["default"].createElement("img", {
126
- src: map,
136
+ src: _mapPin["default"],
127
137
  alt: "location",
128
138
  className: "RCB-location-icon"
129
139
  }), /*#__PURE__*/_react["default"].createElement("span", null, " ", locationMetadata)), locationMetadata && deviceMetadata && /*#__PURE__*/_react["default"].createElement("div", null, "|"), deviceMetadata && /*#__PURE__*/_react["default"].createElement("div", {
130
140
  className: "RCB-user-id-metadata-item"
131
141
  }, /*#__PURE__*/_react["default"].createElement("img", {
132
- src: desktop,
142
+ src: _desktop["default"],
133
143
  alt: "device",
134
144
  className: "RCB-device-icon"
135
145
  }), /*#__PURE__*/_react["default"].createElement("span", null, deviceMetadata))))), /*#__PURE__*/_react["default"].createElement("div", {
@@ -0,0 +1,57 @@
1
+ .RCB-user-id-dropdown-item {
2
+ display: flex;
3
+ flex-direction: column;
4
+ gap: 20px;
5
+ .RCB-avatar-container {
6
+ display: flex;
7
+ flex-direction: column;
8
+ gap: 10px;
9
+ .RCB-avatar-container-inner {
10
+ display: flex;
11
+ gap: 10px;
12
+ }
13
+ .RCB-avatar-img {
14
+ width: 55px;
15
+ aspect-ratio: 1;
16
+ }
17
+ .RCB-user-details {
18
+ display: flex;
19
+ flex-direction: column;
20
+ gap: 15px;
21
+ }
22
+ .RCB-user-id-title {
23
+ font-size: 16px;
24
+ font-weight: 600;
25
+ color: #273251;
26
+ line-height: 21.82px;
27
+ }
28
+ .RCB-user-id-description {
29
+ font-size: 14px;
30
+ font-weight: 400;
31
+ color: #3f5767;
32
+ letter-spacing: 0px;
33
+ line-height: 19px;
34
+ }
35
+ }
36
+
37
+ .RCB-user-id-metadata {
38
+ display: flex;
39
+ gap: 20px;
40
+ font-size: 12px;
41
+ font-weight: 500;
42
+ color: #687f8f;
43
+ .RCB-user-id-metadata-item {
44
+ display: flex;
45
+ gap: 10px;
46
+ align-items: center;
47
+ }
48
+ }
49
+ .RCB-location-icon {
50
+ width: 16px;
51
+ height: 16px;
52
+ }
53
+ .RCB-device-icon {
54
+ width: 16px;
55
+ height: 16px;
56
+ }
57
+ }