@unbxd-ui/unbxd-react-components 0.3.1 → 0.3.2-beta.2

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 (74) hide show
  1. package/assets/desktop.svg +6 -0
  2. package/assets/map-pin.svg +6 -0
  3. package/assets/p1.svg +20 -0
  4. package/assets/p2.svg +22 -0
  5. package/assets/p3.svg +19 -0
  6. package/assets/p4.svg +22 -0
  7. package/assets/p5.svg +23 -0
  8. package/components/Accordian/accordianCore.scss +8 -0
  9. package/components/Accordian/accordianTheme.scss +6 -0
  10. package/components/Button/button.css +1 -0
  11. package/components/Button/buttonTheme.scss +94 -0
  12. package/components/Form/Dropdown.js +77 -10
  13. package/components/Form/SearchableDropdown.js +22 -15
  14. package/components/Form/SelectedPills.js +128 -0
  15. package/components/Form/SummarySelection.js +46 -0
  16. package/components/Form/form.css +1 -0
  17. package/components/Form/formCore.css +1 -1
  18. package/components/Form/formCore.scss +706 -0
  19. package/components/Form/formTheme.scss +33 -0
  20. package/components/Form/stories/Dropdown.stories.js +242 -2
  21. package/components/Form/stories/SearchableDropdown.stories.js +173 -3
  22. package/components/Form/stories/ServerPaginatedDropdown.stories.js +166 -94
  23. package/components/Form/summarySelection.css +1 -0
  24. package/components/Form/summarySelection.scss +106 -0
  25. package/components/Form/variables.scss +116 -0
  26. package/components/InlineModal/inlineModal.css +1 -0
  27. package/components/InlineModal/inlineModalCore.scss +40 -0
  28. package/components/InlineModal/inlineModalTheme.scss +16 -0
  29. package/components/Link/linkCore.css +1 -1
  30. package/components/Link/linkCore.scss +66 -0
  31. package/components/Link/linkTheme.scss +79 -0
  32. package/components/List/list.css +1 -0
  33. package/components/List/listCore.scss +6 -0
  34. package/components/List/listTheme.scss +0 -0
  35. package/components/Modal/modal.css +1 -0
  36. package/components/Modal/modalCore.scss +58 -0
  37. package/components/Modal/modalTheme.scss +0 -0
  38. package/components/NoDataPlaceholder/noDataPlaceholderCore.scss +33 -0
  39. package/components/NotificationComponent/notificationComponent.css +1 -0
  40. package/components/NotificationComponent/notificationTheme.scss +38 -0
  41. package/components/PIDItemComponent/PIDItemComponent.js +82 -0
  42. package/components/PIDItemComponent/PIDItemComponent.stories.js +175 -0
  43. package/components/PIDItemComponent/PIDItemComponentCore.css +1 -0
  44. package/components/PIDItemComponent/PIDItemComponentCore.scss +36 -0
  45. package/components/PIDItemComponent/index.js +9 -0
  46. package/components/PageLoader/pageLoaderCore.scss +34 -0
  47. package/components/ProgressBar/ProgressBar.scss +0 -0
  48. package/components/ProgressBar/progressBar.css +0 -0
  49. package/components/ProgressBar/progressBarCore.scss +22 -0
  50. package/components/ProgressBar/progressBarTheme.scss +0 -0
  51. package/components/Table/tableCore.scss +547 -0
  52. package/components/Table/tableTheme.scss +34 -0
  53. package/components/TabsComponent/tabs.css +1 -0
  54. package/components/TabsComponent/tabsCore.scss +59 -0
  55. package/components/TabsComponent/tabsTheme.scss +0 -0
  56. package/components/ToastNotification/toastNotificationCore.scss +273 -0
  57. package/components/Tooltip/tooltipCore.scss +207 -0
  58. package/components/Tooltip/tooltipTheme.scss +20 -0
  59. package/components/UIDItemComponent/UIDItemComponent.js +148 -0
  60. package/components/UIDItemComponent/UIDItemComponent.stories.js +51 -0
  61. package/components/UIDItemComponent/UIDItemComponentCore.css +1 -0
  62. package/components/UIDItemComponent/UIDItemComponentCore.scss +57 -0
  63. package/components/UIDItemComponent/index.js +9 -0
  64. package/components/common/common.scss +14 -0
  65. package/components/core.css +3 -2
  66. package/components/core.scss +12 -10
  67. package/components/index.js +25 -11
  68. package/components/theme.css +3 -2
  69. package/components/theme.scss +2 -1
  70. package/core/index.js +7 -0
  71. package/core/lazyLoadImage.js +56 -0
  72. package/core/utils.js +6 -1
  73. package/index.js +48 -0
  74. package/package.json +2 -2
@@ -0,0 +1,79 @@
1
+ /**
2
+ Theme styles for Link component - visual appearance and branding
3
+ **/
4
+
5
+ .RCB-link {
6
+ // Primary appearance (default link styling)
7
+ &-primary {
8
+ color: #3e71f2;
9
+
10
+ &:hover {
11
+ color: #3865d9;
12
+ }
13
+
14
+ &:active {
15
+ color: #3e71f2;
16
+ }
17
+
18
+ &:visited {
19
+ color: #6f42c1;
20
+ }
21
+ }
22
+
23
+ // Secondary appearance
24
+ &-secondary {
25
+ color: #6c757d;
26
+ text-decoration: none;
27
+
28
+ &:hover {
29
+ color: #495057;
30
+ text-decoration: underline;
31
+ }
32
+
33
+ &:active {
34
+ color: #343a40;
35
+ }
36
+ }
37
+
38
+ // Danger appearance
39
+ &-danger {
40
+ color: #dc3545;
41
+ text-decoration: none;
42
+
43
+ &:hover {
44
+ color: #c82333;
45
+ text-decoration: underline;
46
+ }
47
+
48
+ &:active {
49
+ color: #bd2130;
50
+ }
51
+ }
52
+
53
+ // Success appearance
54
+ &-success {
55
+ color: #28a745;
56
+ text-decoration: none;
57
+
58
+ &:hover {
59
+ color: #218838;
60
+ text-decoration: underline;
61
+ }
62
+
63
+ &:active {
64
+ color: #1e7e34;
65
+ }
66
+ }
67
+
68
+ // External link styling
69
+ &-external {
70
+ .RCB-link-external-icon {
71
+ color: currentColor;
72
+ opacity: 0.7;
73
+ }
74
+
75
+ &:hover .RCB-link-external-icon {
76
+ opacity: 1;
77
+ }
78
+ }
79
+ }
@@ -0,0 +1 @@
1
+ .RCB-list{margin:0;padding:0}
@@ -0,0 +1,6 @@
1
+ .RCB {
2
+ &-list {
3
+ margin: 0;
4
+ padding: 0;
5
+ }
6
+ }
File without changes
@@ -0,0 +1 @@
1
+ .RCB-modal{position:absolute;top:0;width:100%;height:100%;background:rgba(0,0,0,0.8);display:flex;justify-content:center;align-items:center}.RCB-modal-body{background:#FFF;padding:20px}.RCB-modal-header{display:flex;margin-bottom:10px}.RCB-modal-title{flex:1}.RCB-modal-close{cursor:pointer}
@@ -0,0 +1,58 @@
1
+ .RCB {
2
+ &-modal {
3
+ position: fixed;
4
+ top: 0;
5
+ width: 100%;
6
+ height: 100%;
7
+ background: rgba(0, 0, 0, 0.6);
8
+ display: flex;
9
+ justify-content: center;
10
+ align-items: center;
11
+ z-index: 2;
12
+
13
+ .modal-footer {
14
+ padding: 24px 24px;
15
+ margin: 20px -24px 0px;
16
+ border-radius: 0 0 8px 8px;
17
+ text-align: right;
18
+
19
+ .RCB-btn {
20
+ margin-right: 14px;
21
+
22
+ &:last-child {
23
+ margin-right: 0;
24
+ }
25
+ }
26
+ }
27
+ }
28
+
29
+ &-modal-body {
30
+ background: #FFF;
31
+ border-radius: 8px;
32
+ padding: 0px;
33
+ }
34
+
35
+ &-modal-header {
36
+ display: flex;
37
+ margin-bottom: 0px;
38
+ padding: 24px 24px 10px;
39
+ }
40
+
41
+ &-modal-title {
42
+ flex: 1;
43
+ font-size: 18px;
44
+ font-weight: 700;
45
+ line-height: normal;
46
+ }
47
+
48
+ &-modal-close {
49
+ cursor: pointer;
50
+ &:before {
51
+ content: "X";
52
+ }
53
+ }
54
+
55
+ &-modal-content {
56
+ padding: 24px 24px 0px;
57
+ }
58
+ }
File without changes
@@ -0,0 +1,33 @@
1
+ .RCB-no-data-placeholder {
2
+ display: flex;
3
+ flex-direction: column;
4
+ align-items: center;
5
+ justify-content: center;
6
+ padding: 40px 20px;
7
+ text-align: center;
8
+ }
9
+
10
+ .RCB-no-data-image {
11
+ margin-bottom: 16px;
12
+ }
13
+
14
+ .RCB-no-data-image img {
15
+ max-width: 120px;
16
+ max-height: 120px;
17
+ object-fit: contain;
18
+ }
19
+
20
+ .RCB-no-data-title {
21
+ font-size: 18px;
22
+ font-weight: 600;
23
+ color: #333;
24
+ margin-bottom: 8px;
25
+ }
26
+
27
+ .RCB-no-data-description {
28
+ font-size: 14px;
29
+ color: #666;
30
+ line-height: 1.5;
31
+ }
32
+
33
+
@@ -0,0 +1 @@
1
+ .RCB-notif{padding:10px}.RCB-notif-success{color:#129274;border:1px solid #2cb292;background-color:#b7d2cb}.RCB-notif-error{color:#d25b5b;border:solid 1px #e75190;background-color:#fff9fc}.RCB-notif-warning{color:#445870;border:solid 1px #f09c0a;background-color:#fffaf2}.RCB-notif-info{color:#509DB9;border:solid 1px #509DB9;background-color:#DFF6FF}
@@ -0,0 +1,38 @@
1
+ .RCB {
2
+ &-notif {
3
+ padding: 10px;
4
+ border-radius: 3px;
5
+
6
+ &-success {
7
+ color: #6DB886;
8
+ border: solid 1px #6DB886;
9
+ background-color: #DEF9E7;
10
+ }
11
+
12
+ &-error {
13
+ color: #CA4646;
14
+ border: solid 1px #CA4646;
15
+ background-color: #FFE4E4;
16
+ ;
17
+ }
18
+
19
+ &-warning {
20
+ color: #D5A555;
21
+ border: solid 1px #D5A555;
22
+ background-color: #FFF8EC;
23
+ }
24
+
25
+ &-info {
26
+ color: #3E71F2;
27
+ border: solid 1px #3E71F2;
28
+ background-color: #E7EDFF;
29
+ }
30
+ }
31
+ }
32
+
33
+ .notif-wrapper{
34
+ flex: 1;
35
+ display: flex;
36
+ align-items: center;
37
+ justify-content: space-between;
38
+ }
@@ -0,0 +1,82 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = PIDItemComponent;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _lazyLoadImage = _interopRequireDefault(require("../../core/lazyLoadImage"));
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
+ function PIDItemComponent(props) {
11
+ var DEFAULT_IMAGE = "https://libraries.unbxdapi.com/sdk-assets/defaultImage.svg";
12
+
13
+ // Desrructure props that are needed for client as well as server pagination types.
14
+ var _props$itemData = props.itemData,
15
+ itemData = _props$itemData === void 0 ? {} : _props$itemData,
16
+ _props$paginationType = props.paginationType,
17
+ clientPaginationType = _props$paginationType === void 0 ? "" : _props$paginationType,
18
+ _props$selectItem = props.selectItem,
19
+ clientSelectItem = _props$selectItem === void 0 ? function () {} : _props$selectItem,
20
+ _props$keysMap = props.keysMap,
21
+ clientKeysMap = _props$keysMap === void 0 ? {} : _props$keysMap,
22
+ _props$selectedItems = props.selectedItems,
23
+ clientSelectedItems = _props$selectedItems === void 0 ? [] : _props$selectedItems,
24
+ _props$data = props.data,
25
+ data = _props$data === void 0 ? {} : _props$data,
26
+ _props$index = props.index,
27
+ index = _props$index === void 0 ? 0 : _props$index,
28
+ _props$style = props.style,
29
+ style = _props$style === void 0 ? {} : _props$style;
30
+ var _data$items = data.items,
31
+ items = _data$items === void 0 ? [] : _data$items,
32
+ _data$paginationType = data.paginationType,
33
+ serverPaginationType = _data$paginationType === void 0 ? "" : _data$paginationType,
34
+ _data$selectItem = data.selectItem,
35
+ serverSelectItem = _data$selectItem === void 0 ? function () {} : _data$selectItem,
36
+ _data$keysMap = data.keysMap,
37
+ serverKeysMap = _data$keysMap === void 0 ? {} : _data$keysMap,
38
+ _data$selectedItems = data.selectedItems,
39
+ serverSelectedItems = _data$selectedItems === void 0 ? [] : _data$selectedItems;
40
+
41
+ // Determine the pagination type
42
+ var paginationType = clientPaginationType ? "CLIENT" : serverPaginationType;
43
+
44
+ // Update the item data and select item function based on the pagination type
45
+ var updatedItemData = paginationType !== 'SERVER' ? itemData : items[index] || {};
46
+ var updatedSelectItem = paginationType !== 'SERVER' ? clientSelectItem : serverSelectItem;
47
+ var updatedKeysMap = paginationType !== 'SERVER' ? clientKeysMap : serverKeysMap || {};
48
+ var updatedSelectedItems = paginationType !== 'SERVER' ? clientSelectedItems : serverSelectedItems || [];
49
+
50
+ // Destructue the items value with its respective keys map provided in the props
51
+ var _updatedKeysMap$uniqu = updatedKeysMap.uniqueIdMap,
52
+ uniqueIdMap = _updatedKeysMap$uniqu === void 0 ? "uniqueId" : _updatedKeysMap$uniqu,
53
+ _updatedKeysMap$image = updatedKeysMap.imageUrlMap,
54
+ imageUrlMap = _updatedKeysMap$image === void 0 ? "imageUrl" : _updatedKeysMap$image,
55
+ _updatedKeysMap$title = updatedKeysMap.titleMap,
56
+ titleMap = _updatedKeysMap$title === void 0 ? "title" : _updatedKeysMap$title;
57
+ var title = updatedItemData[titleMap];
58
+ var imageUrl = Array.isArray(updatedItemData[imageUrlMap]) ? updatedItemData[imageUrlMap][0] : updatedItemData[imageUrlMap] ? updatedItemData[imageUrlMap] : DEFAULT_IMAGE;
59
+ var uniqueId = updatedItemData[uniqueIdMap];
60
+
61
+ // Check if the item is selected
62
+ var isItemSelected = updatedSelectedItems.find(function (item) {
63
+ return item[uniqueIdMap] === uniqueId;
64
+ });
65
+ return /*#__PURE__*/_react["default"].createElement("div", {
66
+ className: "RCB-list-item RCB-pid-dd-item ".concat(isItemSelected ? "selected" : ""),
67
+ style: style,
68
+ onClick: function onClick() {
69
+ return updatedSelectItem(updatedItemData);
70
+ }
71
+ }, /*#__PURE__*/_react["default"].createElement(_lazyLoadImage["default"], {
72
+ id: uniqueId,
73
+ key: uniqueId,
74
+ className: "RCB-pid-product-image",
75
+ src: imageUrl
76
+ }), /*#__PURE__*/_react["default"].createElement("div", null, title && /*#__PURE__*/_react["default"].createElement("span", {
77
+ className: "RCB-title",
78
+ title: title
79
+ }, title), /*#__PURE__*/_react["default"].createElement("span", {
80
+ className: "RCB-pid-id show small-text text-transform-none clip-content"
81
+ }, " ID: ", uniqueId, " ")));
82
+ }
@@ -0,0 +1,175 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = exports.WithoutTitle = exports.WithDefaultImage = exports.WithArrayImage = exports.MultipleProducts = exports.LongTitle = exports.Default = exports.CustomKeyMapping = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _PIDItemComponent = _interopRequireDefault(require("./PIDItemComponent"));
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
11
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
12
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
13
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
14
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
15
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
16
+ var meta = {
17
+ title: 'Components/PIDItemComponent',
18
+ component: _PIDItemComponent["default"],
19
+ parameters: {
20
+ layout: 'centered'
21
+ },
22
+ tags: ['autodocs'],
23
+ argTypes: {
24
+ props: {
25
+ description: 'Props object containing itemData and keysMap configuration'
26
+ }
27
+ }
28
+ };
29
+ var _default = exports["default"] = meta;
30
+ var Default = exports.Default = {
31
+ args: {
32
+ props: {
33
+ itemData: {
34
+ uniqueId: 'PROD-12345',
35
+ imageUrl: 'https://images.unsplash.com/photo-1505740420928-5e560c06d30e?w=300',
36
+ title: 'Premium Wireless Headphones with Noise Cancellation'
37
+ },
38
+ keysMap: {
39
+ uniqueIdMap: 'uniqueId',
40
+ imageUrlMap: 'imageUrl',
41
+ titleMap: 'title'
42
+ }
43
+ }
44
+ }
45
+ };
46
+ var WithArrayImage = exports.WithArrayImage = {
47
+ args: {
48
+ props: {
49
+ itemData: {
50
+ uniqueId: 'PROD-67890',
51
+ imageUrl: ['https://images.unsplash.com/photo-1523275335684-37898b6baf30?w=300', 'https://images.unsplash.com/photo-1505740420928-5e560c06d30e?w=300'],
52
+ title: 'Smartwatch with Fitness Tracking'
53
+ },
54
+ keysMap: {
55
+ uniqueIdMap: 'uniqueId',
56
+ imageUrlMap: 'imageUrl',
57
+ titleMap: 'title'
58
+ }
59
+ }
60
+ }
61
+ };
62
+ var WithDefaultImage = exports.WithDefaultImage = {
63
+ args: {
64
+ props: {
65
+ itemData: {
66
+ uniqueId: 'PROD-11111',
67
+ imageUrl: '',
68
+ title: 'Product Without Image'
69
+ },
70
+ keysMap: {
71
+ uniqueIdMap: 'uniqueId',
72
+ imageUrlMap: 'imageUrl',
73
+ titleMap: 'title'
74
+ }
75
+ }
76
+ }
77
+ };
78
+ var WithoutTitle = exports.WithoutTitle = {
79
+ args: {
80
+ props: {
81
+ itemData: {
82
+ uniqueId: 'PROD-22222',
83
+ imageUrl: 'https://images.unsplash.com/photo-1526170375885-4d8ecf77b99f?w=300',
84
+ title: ''
85
+ },
86
+ keysMap: {
87
+ uniqueIdMap: 'uniqueId',
88
+ imageUrlMap: 'imageUrl',
89
+ titleMap: 'title'
90
+ }
91
+ }
92
+ }
93
+ };
94
+ var LongTitle = exports.LongTitle = {
95
+ args: {
96
+ props: {
97
+ itemData: {
98
+ uniqueId: 'PROD-99999',
99
+ imageUrl: 'https://images.unsplash.com/photo-1572635196237-14b3f281503f?w=300',
100
+ title: 'This is a very long product title that should be clipped or truncated to fit within the available space without breaking the layout'
101
+ },
102
+ keysMap: {
103
+ uniqueIdMap: 'uniqueId',
104
+ imageUrlMap: 'imageUrl',
105
+ titleMap: 'title'
106
+ }
107
+ }
108
+ }
109
+ };
110
+ var CustomKeyMapping = exports.CustomKeyMapping = {
111
+ args: {
112
+ props: {
113
+ itemData: {
114
+ product_id: 'CUSTOM-001',
115
+ product_image: 'https://images.unsplash.com/photo-1560343090-f0409e92791a?w=300',
116
+ product_name: 'Laptop with Custom Key Mapping'
117
+ },
118
+ keysMap: {
119
+ uniqueIdMap: 'product_id',
120
+ imageUrlMap: 'product_image',
121
+ titleMap: 'product_name'
122
+ }
123
+ }
124
+ }
125
+ };
126
+ var MultipleProducts = exports.MultipleProducts = {
127
+ render: function render() {
128
+ var products = [{
129
+ itemData: {
130
+ uniqueId: 'PROD-001',
131
+ imageUrl: 'https://images.unsplash.com/photo-1505740420928-5e560c06d30e?w=300',
132
+ title: 'Premium Wireless Headphones'
133
+ }
134
+ }, {
135
+ itemData: {
136
+ uniqueId: 'PROD-002',
137
+ imageUrl: 'https://images.unsplash.com/photo-1523275335684-37898b6baf30?w=300',
138
+ title: 'Smart Watch'
139
+ }
140
+ }, {
141
+ itemData: {
142
+ uniqueId: 'PROD-003',
143
+ imageUrl: 'https://images.unsplash.com/photo-1572635196237-14b3f281503f?w=300',
144
+ title: 'Professional Camera'
145
+ }
146
+ }, {
147
+ itemData: {
148
+ uniqueId: 'PROD-004',
149
+ imageUrl: 'https://images.unsplash.com/photo-1560343090-f0409e92791a?w=300',
150
+ title: 'Gaming Laptop'
151
+ }
152
+ }];
153
+ var keysMap = {
154
+ uniqueIdMap: 'uniqueId',
155
+ imageUrlMap: 'imageUrl',
156
+ titleMap: 'title'
157
+ };
158
+ return /*#__PURE__*/_react["default"].createElement("div", {
159
+ style: {
160
+ display: 'flex',
161
+ flexDirection: 'column',
162
+ width: '300px',
163
+ border: '1px solid #ddd',
164
+ borderRadius: '8px'
165
+ }
166
+ }, products.map(function (product, index) {
167
+ return /*#__PURE__*/_react["default"].createElement(_PIDItemComponent["default"], {
168
+ key: index,
169
+ props: _objectSpread(_objectSpread({}, product), {}, {
170
+ keysMap: keysMap
171
+ })
172
+ });
173
+ }));
174
+ }
175
+ };
@@ -0,0 +1 @@
1
+ .RCB-pid-dd-item{display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;padding-bottom:8px;padding-left:13px;padding-top:8px;width:100%}.RCB-pid-dd-item .RCB-pid-product-image{height:35px;margin-right:5px;-o-object-fit:contain;object-fit:contain;width:30px}.RCB-pid-dd-item .RCB-title{font-size:12px;font-weight:600;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.RCB-pid-dd-item .RCB-pid-id{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:240px;text-transform:none;font-size:12px}
@@ -0,0 +1,36 @@
1
+ .RCB-pid-dd-item {
2
+ display: flex;
3
+ -webkit-box-align: center;
4
+ -ms-flex-align: center;
5
+ align-items: center;
6
+ cursor: pointer;
7
+ padding-bottom: 8px;
8
+ padding-left: 13px;
9
+ padding-top: 8px;
10
+ width: 100%;
11
+
12
+ .RCB-pid-product-image {
13
+ height: 35px;
14
+ margin-right: 5px;
15
+ -o-object-fit: contain;
16
+ object-fit: contain;
17
+ width: 30px;
18
+ }
19
+
20
+ .RCB-title {
21
+ font-size: 12px;
22
+ font-weight: 600;
23
+ -webkit-line-clamp: 2;
24
+ -webkit-box-orient: vertical;
25
+ display: -webkit-box;
26
+ overflow: hidden;
27
+ }
28
+ .RCB-pid-id {
29
+ overflow: hidden;
30
+ text-overflow: ellipsis;
31
+ white-space: nowrap;
32
+ max-width: 240px;
33
+ text-transform: none;
34
+ font-size: 12px;
35
+ }
36
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _PIDItemComponent = _interopRequireDefault(require("./PIDItemComponent"));
8
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
+ var _default = exports["default"] = _PIDItemComponent["default"];
@@ -0,0 +1,34 @@
1
+ .page-loader {
2
+ width: 100%;
3
+ height: fit-content;
4
+ display: flex;
5
+ justify-content: center;
6
+ align-items: center;
7
+ }
8
+
9
+ .loader-wrapper {
10
+ text-align: center;
11
+ }
12
+
13
+ .loader-header {
14
+ color: #17173A;
15
+ font-weight: 600;
16
+ font-size: 16px;
17
+ margin-top: 15px;
18
+ }
19
+
20
+ .loader-messages {
21
+ color: #6F6F8D;
22
+ margin-top: 5px;
23
+ font-weight: 400;
24
+ font-size: 14px;
25
+ transition: opacity 0.4s ease-in-out;
26
+
27
+ &.fade-in {
28
+ opacity: 1;
29
+ }
30
+
31
+ &.fade-out {
32
+ opacity: 0;
33
+ }
34
+ }
File without changes
File without changes
@@ -0,0 +1,22 @@
1
+ .RCB {
2
+ &-progress-bar {
3
+ width: 100%;
4
+ position: relative;
5
+ background: #ccc;
6
+
7
+ &.custom-warning {
8
+ background: #FFCF5C;
9
+ }
10
+
11
+ &.custom-error {
12
+ background: #F05C5C;
13
+ }
14
+ }
15
+
16
+ &-progress-value {
17
+ height: 100%;
18
+ position: absolute;
19
+ top: 0;
20
+ background: #3d9565;
21
+ }
22
+ }
File without changes