rbro-tat-uds 2.2.8 → 2.2.9

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.
@@ -0,0 +1,14 @@
1
+ import * as React from 'react';
2
+
3
+ var _path;
4
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
5
+ var SvgBrandLogo = function SvgBrandLogo(props) {
6
+ return /*#__PURE__*/React.createElement("svg", _extends({
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ viewBox: "0 0 24 24"
9
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
10
+ d: "M5.372 21.727 12 15.043l6.628 6.684 2.63-2.649-6.63-6.686 1.383-1.396V8.241l.961-.97v2.403l.836.844 3.36-3.39.832.837c-.006-.632-.131-2.462-1.67-3.987-1.661-1.611-3.454-.885-4.067-.266L12.904 7.1l.857.863L12 9.74l-1.761-1.777.857-.863-3.36-3.39c-.612-.618-2.406-1.344-4.066.267C2.13 5.503 2.006 7.333 2 7.965l.831-.838 3.36 3.39.837-.843V7.271l.96.97v2.755l1.383 1.396-6.629 6.686z"
11
+ })));
12
+ };
13
+
14
+ export { SvgBrandLogo as default };
@@ -146,6 +146,7 @@ import '../../assets/icons/hint-outlined.svg.js';
146
146
  import '../../assets/icons/face-happy.svg.js';
147
147
  import '../../assets/icons/person-level.svg.js';
148
148
  import '../../assets/icons/star-reward.svg.js';
149
+ import '../../assets/icons/brand-logo.svg.js';
149
150
  import Icon from '../Icon/Icon.js';
150
151
  import Spinner from '../Spinner/Spinner.js';
151
152
  import { colors } from '../../utils';
@@ -96,7 +96,25 @@ const DashboardCardStyled = styled.div`
96
96
  background-color: ${colors.black};
97
97
  `}
98
98
 
99
- &> .a7b2c9d4e8f5h3 {
99
+ &>.a1b2c3d4e5adk4 {
100
+ position: absolute;
101
+ bottom: -11px;
102
+ right: 12px;
103
+ display: flex;
104
+ align-items: center;
105
+ gap: 4px;
106
+ padding: 1px 4px;
107
+ border-radius: 4px;
108
+ background-color: ${colors.gray_950};
109
+
110
+ & > span {
111
+ font-size: 13px;
112
+ font-weight: 400;
113
+ color: ${colors.accent_400};
114
+ }
115
+ }
116
+
117
+ & > .a7b2c9d4e8f5h3 {
100
118
  display: flex;
101
119
  position: absolute;
102
120
  top: -10%;
@@ -278,6 +296,7 @@ const DashboardCard = ({
278
296
  loading = false,
279
297
  statusConfiguratii = 0,
280
298
  retention = false,
299
+ promoText = "",
281
300
  ...rest
282
301
  }) => {
283
302
  return /* @__PURE__ */ jsxs(
@@ -293,6 +312,10 @@ const DashboardCard = ({
293
312
  rest.onClick?.(event);
294
313
  },
295
314
  children: [
315
+ promoText.length > 0 && /* @__PURE__ */ jsxs("div", { className: "a1b2c3d4e5adk4", children: [
316
+ /* @__PURE__ */ jsx(Icon, { icon: "brand-logo", size: 12, color: colors.accent_500 }),
317
+ /* @__PURE__ */ jsx("span", { children: promoText })
318
+ ] }),
296
319
  statusConfiguratii > 0 && !loading && /* @__PURE__ */ jsxs("div", { className: "a7b2c9d4e8f5h3", children: [
297
320
  /* @__PURE__ */ jsx("span", { children: statusConfiguratii }),
298
321
  /* @__PURE__ */ jsx(Icon, { icon: "grocery-2", size: 14, color: colors.white })
@@ -37,6 +37,7 @@ const DropdownWraperStyled = styled.div`
37
37
  }
38
38
 
39
39
  & > input {
40
+ box-sizing: border-box;
40
41
  border-radius: 8px;
41
42
  border: none;
42
43
  outline: none;
@@ -129,6 +130,7 @@ const DropdownContentStyled = styled.div`
129
130
  & > div:last-of-type {
130
131
  padding-right: 4px;
131
132
  div {
133
+ box-sizing: border-box;
132
134
  padding: 12px 8px 12px 12px;
133
135
  width: 100%;
134
136
  overflow-y: scroll;
@@ -152,6 +154,7 @@ const DropdownContentStyled = styled.div`
152
154
  white-space: nowrap;
153
155
  }
154
156
  & > div {
157
+ box-sizing: border-box;
155
158
  height: 42px;
156
159
  display: flex;
157
160
  align-items: center;
@@ -143,6 +143,7 @@ import HintOutlinedIcon from '../../assets/icons/hint-outlined.svg.js';
143
143
  import FaceHappyIcon from '../../assets/icons/face-happy.svg.js';
144
144
  import PersonLevelIcon from '../../assets/icons/person-level.svg.js';
145
145
  import StarRewardIcon from '../../assets/icons/star-reward.svg.js';
146
+ import BrandLogoIcon from '../../assets/icons/brand-logo.svg.js';
146
147
 
147
148
  const IconsList = {
148
149
  asterix: AsterixIcon,
@@ -286,7 +287,8 @@ const IconsList = {
286
287
  "hint-outlined": HintOutlinedIcon,
287
288
  "face-happy": FaceHappyIcon,
288
289
  "person-level": PersonLevelIcon,
289
- "star-reward": StarRewardIcon
290
+ "star-reward": StarRewardIcon,
291
+ "brand-logo": BrandLogoIcon
290
292
  };
291
293
 
292
294
  export { IconsList as default };
@@ -145,6 +145,7 @@ import '../../assets/icons/hint-outlined.svg.js';
145
145
  import '../../assets/icons/face-happy.svg.js';
146
146
  import '../../assets/icons/person-level.svg.js';
147
147
  import '../../assets/icons/star-reward.svg.js';
148
+ import '../../assets/icons/brand-logo.svg.js';
148
149
  import styled, { css } from 'styled-components';
149
150
  import Icon from '../Icon/Icon.js';
150
151
  import Spinner from '../Spinner/Spinner.js';
@@ -145,6 +145,7 @@ import '../../assets/icons/hint-outlined.svg.js';
145
145
  import '../../assets/icons/face-happy.svg.js';
146
146
  import '../../assets/icons/person-level.svg.js';
147
147
  import '../../assets/icons/star-reward.svg.js';
148
+ import '../../assets/icons/brand-logo.svg.js';
148
149
  import styled from 'styled-components';
149
150
  import Icon from '../Icon/Icon.js';
150
151
  import { colors } from '../../utils';
@@ -146,6 +146,7 @@ import '../../assets/icons/hint-outlined.svg.js';
146
146
  import '../../assets/icons/face-happy.svg.js';
147
147
  import '../../assets/icons/person-level.svg.js';
148
148
  import '../../assets/icons/star-reward.svg.js';
149
+ import '../../assets/icons/brand-logo.svg.js';
149
150
  import { createPortal } from 'react-dom';
150
151
  import Icon from '../Icon/Icon.js';
151
152
  import Numpad from '../Numpad/Numpad.js';