@dxc-technology/halstack-react 0.0.0-961ed8e → 0.0.0-994f952

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 (147) hide show
  1. package/README.md +1 -1
  2. package/babel.config.js +6 -2
  3. package/dist/BackgroundColorContext.js +46 -0
  4. package/dist/ThemeContext.js +215 -32
  5. package/dist/V3Textarea/V3Textarea.js +264 -0
  6. package/dist/accordion/Accordion.js +131 -46
  7. package/dist/accordion-group/AccordionGroup.js +36 -9
  8. package/dist/alert/Alert.js +183 -84
  9. package/dist/alert/index.d.ts +51 -0
  10. package/dist/badge/Badge.js +23 -18
  11. package/dist/box/Box.js +31 -23
  12. package/dist/button/Button.js +61 -25
  13. package/dist/card/Card.js +72 -35
  14. package/dist/checkbox/Checkbox.js +97 -37
  15. package/dist/chip/Chip.js +97 -40
  16. package/dist/common/utils.js +2 -22
  17. package/dist/common/variables.js +1415 -276
  18. package/dist/date/Date.js +74 -52
  19. package/dist/date-input/DateInput.js +400 -0
  20. package/dist/date-input/index.d.ts +95 -0
  21. package/dist/dialog/Dialog.js +58 -37
  22. package/dist/dropdown/Dropdown.js +175 -80
  23. package/dist/file-input/FileInput.js +644 -0
  24. package/dist/file-input/FileItem.js +280 -0
  25. package/dist/file-input/index.d.ts +81 -0
  26. package/dist/footer/Footer.js +90 -40
  27. package/dist/footer/Icons.js +77 -0
  28. package/dist/header/Header.js +154 -93
  29. package/dist/header/Icons.js +59 -0
  30. package/dist/heading/Heading.js +81 -16
  31. package/dist/input-text/Icons.js +22 -0
  32. package/dist/input-text/InputText.js +251 -116
  33. package/dist/layout/ApplicationLayout.js +18 -26
  34. package/dist/layout/Icons.js +55 -0
  35. package/dist/link/Link.js +86 -41
  36. package/dist/main.d.ts +8 -0
  37. package/dist/main.js +71 -7
  38. package/dist/new-select/NewSelect.js +836 -0
  39. package/dist/new-select/index.d.ts +53 -0
  40. package/dist/number-input/NumberInput.js +136 -0
  41. package/dist/number-input/NumberInputContext.js +16 -0
  42. package/dist/number-input/index.d.ts +113 -0
  43. package/dist/paginator/Icons.js +66 -0
  44. package/dist/paginator/Paginator.js +69 -40
  45. package/dist/password-input/PasswordInput.js +198 -0
  46. package/dist/password-input/index.d.ts +94 -0
  47. package/dist/progress-bar/ProgressBar.js +95 -38
  48. package/dist/radio/Radio.js +31 -17
  49. package/dist/resultsetTable/ResultsetTable.js +79 -48
  50. package/dist/select/Select.js +226 -150
  51. package/dist/sidenav/Sidenav.js +66 -15
  52. package/dist/slider/Slider.js +211 -73
  53. package/dist/spinner/Spinner.js +247 -59
  54. package/dist/switch/Switch.js +50 -27
  55. package/dist/table/Table.js +51 -24
  56. package/dist/tabs/Tabs.js +58 -17
  57. package/dist/tag/Tag.js +68 -35
  58. package/dist/text-input/TextInput.js +971 -0
  59. package/dist/text-input/index.d.ts +135 -0
  60. package/dist/textarea/Textarea.js +248 -106
  61. package/dist/textarea/index.d.ts +117 -0
  62. package/dist/toggle/Toggle.js +16 -19
  63. package/dist/toggle-group/ToggleGroup.js +142 -41
  64. package/dist/upload/Upload.js +16 -11
  65. package/dist/upload/buttons-upload/ButtonsUpload.js +31 -14
  66. package/dist/upload/dragAndDropArea/DragAndDropArea.js +78 -28
  67. package/dist/upload/file-upload/FileToUpload.js +50 -24
  68. package/dist/upload/files-upload/FilesToUpload.js +16 -16
  69. package/dist/upload/readme.md +2 -2
  70. package/dist/upload/transaction/Transaction.js +44 -24
  71. package/dist/upload/transactions/Transactions.js +38 -20
  72. package/dist/wizard/Wizard.js +127 -47
  73. package/dist/wizard/invalid_icon.svg +4 -5
  74. package/dist/wizard/valid_icon.svg +4 -5
  75. package/package.json +7 -2
  76. package/test/AccordionGroup.test.js +16 -0
  77. package/test/Date.test.js +49 -45
  78. package/test/DateInput.test.js +242 -0
  79. package/test/Dropdown.test.js +15 -0
  80. package/test/FileInput.test.js +201 -0
  81. package/test/Footer.test.js +2 -7
  82. package/test/Header.test.js +5 -10
  83. package/test/InputText.test.js +25 -17
  84. package/test/Link.test.js +3 -2
  85. package/test/NumberInput.test.js +259 -0
  86. package/test/Paginator.test.js +1 -1
  87. package/test/PasswordInput.test.js +83 -0
  88. package/test/ResultsetTable.test.js +1 -2
  89. package/test/Select.test.js +44 -24
  90. package/test/Slider.test.js +9 -17
  91. package/test/Spinner.test.js +5 -0
  92. package/test/TextInput.test.js +732 -0
  93. package/test/Textarea.test.js +193 -0
  94. package/test/ToggleGroup.test.js +5 -1
  95. package/test/Upload.test.js +5 -5
  96. package/test/{TextArea.test.js → V3TextArea.test.js} +6 -7
  97. package/dist/accordion/Accordion.stories.js +0 -207
  98. package/dist/accordion/readme.md +0 -96
  99. package/dist/accordion-group/AccordionGroup.stories.js +0 -207
  100. package/dist/accordion-group/readme.md +0 -70
  101. package/dist/alert/Alert.stories.js +0 -158
  102. package/dist/alert/close.svg +0 -4
  103. package/dist/alert/error.svg +0 -4
  104. package/dist/alert/info.svg +0 -4
  105. package/dist/alert/readme.md +0 -43
  106. package/dist/alert/success.svg +0 -4
  107. package/dist/alert/warning.svg +0 -4
  108. package/dist/button/Button.stories.js +0 -224
  109. package/dist/button/readme.md +0 -93
  110. package/dist/common/services/example-service.js +0 -10
  111. package/dist/common/services/example-service.test.js +0 -12
  112. package/dist/date/calendar.svg +0 -1
  113. package/dist/date/calendar_dark.svg +0 -1
  114. package/dist/dialog/Dialog.stories.js +0 -217
  115. package/dist/dialog/readme.md +0 -32
  116. package/dist/dropdown/Dropdown.stories.js +0 -249
  117. package/dist/dropdown/baseline-arrow_drop_down.svg +0 -1
  118. package/dist/dropdown/baseline-arrow_drop_down_wh.svg +0 -4
  119. package/dist/dropdown/baseline-arrow_drop_up.svg +0 -1
  120. package/dist/dropdown/baseline-arrow_drop_up_wh.svg +0 -4
  121. package/dist/dropdown/readme.md +0 -69
  122. package/dist/footer/Footer.stories.js +0 -94
  123. package/dist/footer/dxc_logo_wht.png +0 -0
  124. package/dist/footer/readme.md +0 -41
  125. package/dist/header/Header.stories.js +0 -176
  126. package/dist/header/close_icon.svg +0 -1
  127. package/dist/header/dxc_logo_black.png +0 -0
  128. package/dist/header/dxc_logo_blk_rgb.svg +0 -6
  129. package/dist/header/dxc_logo_white.png +0 -0
  130. package/dist/header/hamb_menu_black.svg +0 -1
  131. package/dist/header/hamb_menu_white.svg +0 -1
  132. package/dist/header/readme.md +0 -33
  133. package/dist/input-text/InputText.stories.js +0 -209
  134. package/dist/input-text/error.svg +0 -1
  135. package/dist/input-text/readme.md +0 -91
  136. package/dist/layout/facebook.svg +0 -45
  137. package/dist/layout/linkedin.svg +0 -50
  138. package/dist/layout/twitter.svg +0 -53
  139. package/dist/paginator/images/next.svg +0 -3
  140. package/dist/paginator/images/nextPage.svg +0 -3
  141. package/dist/paginator/images/previous.svg +0 -3
  142. package/dist/paginator/images/previousPage.svg +0 -3
  143. package/dist/paginator/readme.md +0 -50
  144. package/dist/select/Select.stories.js +0 -235
  145. package/dist/select/readme.md +0 -72
  146. package/dist/slider/Slider.stories.js +0 -241
  147. package/dist/toggle-group/readme.md +0 -82
@@ -11,14 +11,12 @@ exports["default"] = void 0;
11
11
 
12
12
  var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
13
13
 
14
- var _react = _interopRequireWildcard(require("react"));
14
+ var _react = _interopRequireDefault(require("react"));
15
15
 
16
16
  var _propTypes = _interopRequireDefault(require("prop-types"));
17
17
 
18
18
  var _styledComponents = _interopRequireWildcard(require("styled-components"));
19
19
 
20
- require("../../common/OpenSans.css");
21
-
22
20
  var _Tooltip = _interopRequireDefault(require("@material-ui/core/Tooltip"));
23
21
 
24
22
  var _successIcon = _interopRequireDefault(require("./success-icon.svg"));
@@ -43,12 +41,12 @@ var _audioIconErr = _interopRequireDefault(require("./audio-icon-err.svg"));
43
41
 
44
42
  var _Spinner = _interopRequireDefault(require("../../spinner/Spinner"));
45
43
 
46
- var _variables = require("../../common/variables.js");
44
+ var _useTheme = _interopRequireDefault(require("../../useTheme.js"));
47
45
 
48
- var _ThemeContext = _interopRequireDefault(require("../../ThemeContext.js"));
46
+ var _BackgroundColorContext = require("../../BackgroundColorContext.js");
49
47
 
50
48
  function _templateObject5() {
51
- var data = (0, _taggedTemplateLiteral2["default"])(["\n width: 25px;\n height: 20px;\n background: ", ";\n"]);
49
+ var data = (0, _taggedTemplateLiteral2["default"])(["\n display: flex;\n flex-direction: row;\n width: 80%;\n"]);
52
50
 
53
51
  _templateObject5 = function _templateObject5() {
54
52
  return data;
@@ -58,7 +56,7 @@ function _templateObject5() {
58
56
  }
59
57
 
60
58
  function _templateObject4() {
61
- var data = (0, _taggedTemplateLiteral2["default"])(["\n margin-right: 16px;\n"]);
59
+ var data = (0, _taggedTemplateLiteral2["default"])(["\n background: ", ";\n width: 25px;\n height: 20px;\n max-width: 20%;\n"]);
62
60
 
63
61
  _templateObject4 = function _templateObject4() {
64
62
  return data;
@@ -68,7 +66,7 @@ function _templateObject4() {
68
66
  }
69
67
 
70
68
  function _templateObject3() {
71
- var data = (0, _taggedTemplateLiteral2["default"])(["\n display: flex;\n flex-direction: row;\n"]);
69
+ var data = (0, _taggedTemplateLiteral2["default"])(["\n font-size: ", ";\n font-style: ", ";\n font-weight: ", ";\n text-transform: ", ";\n color: ", ";\n margin-right: 16px;\n width: 80%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n"]);
72
70
 
73
71
  _templateObject3 = function _templateObject3() {
74
72
  return data;
@@ -78,7 +76,7 @@ function _templateObject3() {
78
76
  }
79
77
 
80
78
  function _templateObject2() {
81
- var data = (0, _taggedTemplateLiteral2["default"])(["\n height: 24px;\n width: 24px;\n margin-right: 16px;\n svg {\n fill: ", ";\n }\n"]);
79
+ var data = (0, _taggedTemplateLiteral2["default"])(["\n background-color: ", ";\n mask: url(", ") no-repeat center;\n mask-size: ", ";\n height: ", ";\n width: ", ";\n margin-right: 16px;\n max-width: 20%;\n"]);
82
80
 
83
81
  _templateObject2 = function _templateObject2() {
84
82
  return data;
@@ -88,7 +86,7 @@ function _templateObject2() {
88
86
  }
89
87
 
90
88
  function _templateObject() {
91
- var data = (0, _taggedTemplateLiteral2["default"])(["\n font-family: \"Open Sans\", sans-serif;\n max-width: 100%;\n display: flex;\n flex-direction: row;\n margin-bottom: 16px;\n color: ", ";\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n .MuiCircularProgress-root {\n width: 28px !important;\n height: 28px !important;\n }\n"]);
89
+ var data = (0, _taggedTemplateLiteral2["default"])(["\n font-family: ", ";\n max-width: 100%;\n display: flex;\n flex-direction: row;\n margin-bottom: 16px;\n color: ", ";\n .MuiCircularProgress-root {\n width: 28px !important;\n height: 28px !important;\n }\n"]);
92
90
 
93
91
  _templateObject = function _templateObject() {
94
92
  return data;
@@ -106,22 +104,24 @@ var DxcTransaction = function DxcTransaction(_ref) {
106
104
  status = _ref$status === void 0 ? "" : _ref$status,
107
105
  _ref$message = _ref.message,
108
106
  message = _ref$message === void 0 ? "" : _ref$message;
109
-
110
- var colorsTheme = (0, _react.useContext)(_ThemeContext["default"]) || _variables.globalTokens;
107
+ var colorsTheme = (0, _useTheme["default"])();
111
108
 
112
109
  var icon = status === "error" && (type.includes("image") && _imageIconErr["default"] || type.includes("video") && _videoIconErr["default"] || type.includes("audio") && _audioIconErr["default"] || _fileIconErr["default"]) || type.includes("image") && _imageIcon["default"] || type.includes("video") && _videoIcon["default"] || type.includes("audio") && _audioIcon["default"] || _fileIcon["default"];
113
110
 
114
111
  return _react["default"].createElement(_styledComponents.ThemeProvider, {
115
- theme: colorsTheme
112
+ theme: colorsTheme.upload
116
113
  }, _react["default"].createElement(DXCTransaction, {
117
114
  status: status
118
115
  }, _react["default"].createElement(FileImage, {
119
- src: icon
120
- }), status === "processing" && _react["default"].createElement(Prueba, null, _react["default"].createElement(FileName, null, name), _react["default"].createElement(_Spinner["default"], {
116
+ status: status,
117
+ img: icon
118
+ }), status === "processing" && _react["default"].createElement(FileData, null, _react["default"].createElement(FileName, null, name), _react["default"].createElement(_BackgroundColorContext.BackgroundColorProvider, {
119
+ color: colorsTheme.upload.backgroundColor
120
+ }, _react["default"].createElement(_Spinner["default"], {
121
121
  mode: "small"
122
- })) || status === "success" && _react["default"].createElement(Prueba, null, _react["default"].createElement(FileName, null, name), _react["default"].createElement(FileStatus, {
122
+ }))) || status === "success" && _react["default"].createElement(FileData, null, _react["default"].createElement(FileName, null, name), _react["default"].createElement(FileStatus, {
123
123
  status: status
124
- })) || status === "error" && _react["default"].createElement(Prueba, null, _react["default"].createElement(_Tooltip["default"], {
124
+ })) || status === "error" && _react["default"].createElement(FileData, null, _react["default"].createElement(_Tooltip["default"], {
125
125
  title: message
126
126
  }, _react["default"].createElement(FileName, null, name)), _react["default"].createElement(FileStatus, {
127
127
  status: status
@@ -136,20 +136,40 @@ DxcTransaction.propTypes = {
136
136
  };
137
137
 
138
138
  var DXCTransaction = _styledComponents["default"].div(_templateObject(), function (props) {
139
- return props.status === "error" && "".concat(props.theme.red);
139
+ return props.theme.fontFamily;
140
+ }, function (props) {
141
+ return props.status === "error" && props.theme.errorColor;
140
142
  });
141
143
 
142
- var FileImage = _styledComponents["default"].img(_templateObject2(), function (props) {
143
- return props.status === "error" && "#D0011B" || "".concat(props.theme.lightGrey);
144
+ var FileImage = _styledComponents["default"].div(_templateObject2(), function (props) {
145
+ return props.status === "error" && props.theme.errorColor || props.theme.uploadedFileIconColor;
146
+ }, function (props) {
147
+ return props.img;
148
+ }, function (props) {
149
+ return "".concat(props.theme.uploadedFileIconSize, " ").concat(props.theme.uploadedFileIconSize);
150
+ }, function (props) {
151
+ return props.theme.uploadedFileIconSize;
152
+ }, function (props) {
153
+ return props.theme.uploadedFileIconSize;
144
154
  });
145
155
 
146
- var Prueba = _styledComponents["default"].div(_templateObject3());
147
-
148
- var FileName = _styledComponents["default"].div(_templateObject4());
156
+ var FileName = _styledComponents["default"].div(_templateObject3(), function (props) {
157
+ return props.theme.fileNameFontSize;
158
+ }, function (props) {
159
+ return props.theme.fileNameFontStyle;
160
+ }, function (props) {
161
+ return props.theme.fileNameFontWeight;
162
+ }, function (props) {
163
+ return props.theme.fileNameFontTextTransform;
164
+ }, function (props) {
165
+ return props.theme.fileNameFontColor;
166
+ });
149
167
 
150
- var FileStatus = _styledComponents["default"].div(_templateObject5(), function (props) {
168
+ var FileStatus = _styledComponents["default"].div(_templateObject4(), function (props) {
151
169
  return props.status === "success" && "url('".concat(_successIcon["default"], "') no-repeat padding-box") || props.status === "error" && "url('".concat(_errorIcon["default"], "') no-repeat padding-box");
152
170
  });
153
171
 
172
+ var FileData = _styledComponents["default"].div(_templateObject5());
173
+
154
174
  var _default = DxcTransaction;
155
175
  exports["default"] = _default;
@@ -11,22 +11,18 @@ exports["default"] = void 0;
11
11
 
12
12
  var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
13
13
 
14
- var _react = _interopRequireWildcard(require("react"));
14
+ var _react = _interopRequireDefault(require("react"));
15
15
 
16
16
  var _styledComponents = _interopRequireWildcard(require("styled-components"));
17
17
 
18
- require("../../common/OpenSans.css");
19
-
20
18
  var _propTypes = _interopRequireDefault(require("prop-types"));
21
19
 
22
20
  var _Transaction = _interopRequireDefault(require("../transaction/Transaction"));
23
21
 
24
- var _variables = require("../../common/variables.js");
25
-
26
- var _ThemeContext = _interopRequireDefault(require("../../ThemeContext.js"));
22
+ var _useTheme = _interopRequireDefault(require("../../useTheme.js"));
27
23
 
28
24
  function _templateObject5() {
29
- var data = (0, _taggedTemplateLiteral2["default"])(["\n font-weight: bold;\n"]);
25
+ var data = (0, _taggedTemplateLiteral2["default"])(["\n font-weight: ", ";\n"]);
30
26
 
31
27
  _templateObject5 = function _templateObject5() {
32
28
  return data;
@@ -36,7 +32,7 @@ function _templateObject5() {
36
32
  }
37
33
 
38
34
  function _templateObject4() {
39
- var data = (0, _taggedTemplateLiteral2["default"])(["\n font-size: 12px;\n color: ", ";\n"]);
35
+ var data = (0, _taggedTemplateLiteral2["default"])(["\n font-size: ", ";\n font-style: ", ";\n font-weight: ", ";\n text-transform: ", ";\n color: ", ";\n"]);
40
36
 
41
37
  _templateObject4 = function _templateObject4() {
42
38
  return data;
@@ -46,7 +42,7 @@ function _templateObject4() {
46
42
  }
47
43
 
48
44
  function _templateObject3() {
49
- var data = (0, _taggedTemplateLiteral2["default"])(["\n margin-bottom: 4px;\n font-size: 20px;\n"]);
45
+ var data = (0, _taggedTemplateLiteral2["default"])(["\n font-size: ", ";\n font-style: ", ";\n font-weight: ", ";\n text-transform: ", ";\n color: ", ";\n margin-bottom: 4px;\n"]);
50
46
 
51
47
  _templateObject3 = function _templateObject3() {
52
48
  return data;
@@ -66,7 +62,7 @@ function _templateObject2() {
66
62
  }
67
63
 
68
64
  function _templateObject() {
69
- var data = (0, _taggedTemplateLiteral2["default"])(["\n font-family: \"Open Sans\", sans-serif;\n max-width: 100%;\n width: 35%;\n padding-top: 46px;\n padding-left: 65px;\n border-radius: 4px 0px 4px 4px;\n box-shadow: 0px 0px 1px ", "29;\n overflow: auto;\n ::-webkit-scrollbar {\n width: 3px;\n }\n ::-webkit-scrollbar-track {\n border-radius: 3px;\n background-color: ", ";\n }\n ::-webkit-scrollbar-thumb {\n border-radius: 3px;\n background-color: ", ";\n }\n"]);
65
+ var data = (0, _taggedTemplateLiteral2["default"])(["\n font-family: ", ";\n max-width: 100%;\n width: 35%;\n padding-top: 46px;\n padding-left: 65px;\n border-radius: 4px 0px 4px 4px;\n box-shadow: 0px 0px 1px ", ";\n background-color: ", ";\n overflow: auto;\n ::-webkit-scrollbar {\n width: 3px;\n height: 3px;\n }\n ::-webkit-scrollbar-track {\n border-radius: 3px;\n background-color: ", ";\n }\n ::-webkit-scrollbar-thumb {\n border-radius: 3px;\n background-color: ", ";\n }\n"]);
70
66
 
71
67
  _templateObject = function _templateObject() {
72
68
  return data;
@@ -77,11 +73,9 @@ function _templateObject() {
77
73
 
78
74
  var DxcTransactions = function DxcTransactions(_ref) {
79
75
  var transactions = _ref.transactions;
80
-
81
- var colorsTheme = (0, _react.useContext)(_ThemeContext["default"]) || _variables.globalTokens;
82
-
76
+ var colorsTheme = (0, _useTheme["default"])();
83
77
  return _react["default"].createElement(_styledComponents.ThemeProvider, {
84
- theme: colorsTheme
78
+ theme: colorsTheme.upload
85
79
  }, _react["default"].createElement(DXCTransactions, null, _react["default"].createElement(TransactionsText, null, _react["default"].createElement(TransactionsTitle, null, "Files uploaded"), _react["default"].createElement(TransactionsSubTitle, null, _react["default"].createElement(TransactionsNumber, null, transactions && transactions.filter(function (file) {
86
80
  return file.status === "success";
87
81
  }).length), " ", "documents in total")), transactions.map(function (transaction) {
@@ -99,22 +93,46 @@ DxcTransactions.propTypes = {
99
93
  };
100
94
 
101
95
  var DXCTransactions = _styledComponents["default"].div(_templateObject(), function (props) {
102
- return props.theme.black;
96
+ return props.theme.fontFamily;
103
97
  }, function (props) {
104
- return props.theme.lightGrey;
98
+ return props.theme.shadowColor;
105
99
  }, function (props) {
106
- return props.theme.darkGrey;
100
+ return props.theme.backgroundColor;
101
+ }, function (props) {
102
+ return props.theme.scrollBarTrackColor;
103
+ }, function (props) {
104
+ return props.theme.scrollBarThumbColor;
107
105
  });
108
106
 
109
107
  var TransactionsText = _styledComponents["default"].span(_templateObject2());
110
108
 
111
- var TransactionsTitle = _styledComponents["default"].span(_templateObject3());
109
+ var TransactionsTitle = _styledComponents["default"].span(_templateObject3(), function (props) {
110
+ return props.theme.uploadedFilesTitleFontSize;
111
+ }, function (props) {
112
+ return props.theme.uploadedFilesTitleFontStyle;
113
+ }, function (props) {
114
+ return props.theme.uploadedFilesTitleFontWeight;
115
+ }, function (props) {
116
+ return props.theme.uploadedFilesTitleFontTextTransform;
117
+ }, function (props) {
118
+ return props.theme.uploadedFilesTitleFontColor;
119
+ });
112
120
 
113
121
  var TransactionsSubTitle = _styledComponents["default"].span(_templateObject4(), function (props) {
114
- return props.theme.darkGrey;
122
+ return props.theme.uploadedFilesSubtitleFontSize;
123
+ }, function (props) {
124
+ return props.theme.uploadedFilesSubtitleFontStyle;
125
+ }, function (props) {
126
+ return props.theme.uploadedFilesSubtitleFontWeight;
127
+ }, function (props) {
128
+ return props.theme.uploadedFilesSubtitleFontTextTransform;
129
+ }, function (props) {
130
+ return props.theme.uploadedFilesSubtitleFontColor;
115
131
  });
116
132
 
117
- var TransactionsNumber = _styledComponents["default"].span(_templateObject5());
133
+ var TransactionsNumber = _styledComponents["default"].span(_templateObject5(), function (props) {
134
+ return props.theme.uploadedFilesNumberFontWeight;
135
+ });
118
136
 
119
137
  var _default = DxcTransactions;
120
138
  exports["default"] = _default;
@@ -25,17 +25,25 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
25
25
 
26
26
  var _variables = require("../common/variables.js");
27
27
 
28
- var _utils = require("../common/utils.js");
29
-
30
- var _ThemeContext = _interopRequireDefault(require("../ThemeContext.js"));
28
+ var _useTheme = _interopRequireDefault(require("../useTheme.js"));
31
29
 
32
30
  var _valid_icon = _interopRequireDefault(require("./valid_icon.svg"));
33
31
 
34
32
  var _invalid_icon = _interopRequireDefault(require("./invalid_icon.svg"));
35
33
 
36
- function _templateObject13() {
34
+ function _templateObject14() {
37
35
  var data = (0, _taggedTemplateLiteral2["default"])(["\n width: ", ";\n height: ", ";\n ", "\n border: ", ";\n opacity: 1;\n flex-grow: 1;\n"]);
38
36
 
37
+ _templateObject14 = function _templateObject14() {
38
+ return data;
39
+ };
40
+
41
+ return data;
42
+ }
43
+
44
+ function _templateObject13() {
45
+ var data = (0, _taggedTemplateLiteral2["default"])(["\n text-align: ", ";\n font-family: ", ";\n font-size: ", ";\n font-style: ", ";\n font-weight: ", ";\n letter-spacing: ", ";\n text-transform: ", ";\n ", ";\n margin: 0;\n"]);
46
+
39
47
  _templateObject13 = function _templateObject13() {
40
48
  return data;
41
49
  };
@@ -44,7 +52,7 @@ function _templateObject13() {
44
52
  }
45
53
 
46
54
  function _templateObject12() {
47
- var data = (0, _taggedTemplateLiteral2["default"])(["\n text-align: left;\n font: Lighter 12px/17px Open Sans;\n letter-spacing: 0.58px;\n color: inherit;\n margin: 0;\n"]);
55
+ var data = (0, _taggedTemplateLiteral2["default"])(["\n text-align: ", ";\n font-family: ", ";\n font-size: ", ";\n font-style: ", ";\n font-weight: ", ";\n letter-spacing: ", ";\n ", ";\n text-transform: ", ";\n margin: 0;\n"]);
48
56
 
49
57
  _templateObject12 = function _templateObject12() {
50
58
  return data;
@@ -54,7 +62,7 @@ function _templateObject12() {
54
62
  }
55
63
 
56
64
  function _templateObject11() {
57
- var data = (0, _taggedTemplateLiteral2["default"])(["\n text-align: left;\n font: Normal 16px/22px Open Sans;\n letter-spacing: 0.77px;\n color: inherit;\n margin: 0;\n"]);
65
+ var data = (0, _taggedTemplateLiteral2["default"])(["\n margin-left: 12px;\n"]);
58
66
 
59
67
  _templateObject11 = function _templateObject11() {
60
68
  return data;
@@ -64,7 +72,7 @@ function _templateObject11() {
64
72
  }
65
73
 
66
74
  function _templateObject10() {
67
- var data = (0, _taggedTemplateLiteral2["default"])(["\n margin-left: 10px;\n color: ", ";\n"]);
75
+ var data = (0, _taggedTemplateLiteral2["default"])(["\n width: 18px;\n height: 18px;\n position: absolute;\n top: 22.5px;\n left: 22.5px;\n"]);
68
76
 
69
77
  _templateObject10 = function _templateObject10() {
70
78
  return data;
@@ -74,7 +82,7 @@ function _templateObject10() {
74
82
  }
75
83
 
76
84
  function _templateObject9() {
77
- var data = (0, _taggedTemplateLiteral2["default"])(["\n width: 18px;\n height: 18px;\n position: absolute;\n bottom: 0px;\n right: 0px;\n"]);
85
+ var data = (0, _taggedTemplateLiteral2["default"])(["\n font-size: ", ";\n font-family: ", ";\n font-style: ", ";\n font-weight: ", ";\n letter-spacing: ", ";\n opacity: 1;\n margin: 0px 0px 0px 1px;\n"]);
78
86
 
79
87
  _templateObject9 = function _templateObject9() {
80
88
  return data;
@@ -84,7 +92,7 @@ function _templateObject9() {
84
92
  }
85
93
 
86
94
  function _templateObject8() {
87
- var data = (0, _taggedTemplateLiteral2["default"])(["\n font: Normal 16px/22px Open Sans;\n letter-spacing: 0.77px;\n color: ", ";\n opacity: 1;\n margin: 0;\n"]);
95
+ var data = (0, _taggedTemplateLiteral2["default"])(["\n background-color: ", ";\n mask: url(", ") no-repeat center;\n mask-size: ", ";\n height: ", ";\n width: ", ";\n"]);
88
96
 
89
97
  _templateObject8 = function _templateObject8() {
90
98
  return data;
@@ -94,7 +102,7 @@ function _templateObject8() {
94
102
  }
95
103
 
96
104
  function _templateObject7() {
97
- var data = (0, _taggedTemplateLiteral2["default"])(["\n width: 19px;\n height: 19px;\n overflow: hidden;\n color: ", ";\n img,\n svg {\n height: 100%;\n width: 100%;\n }\n"]);
105
+ var data = (0, _taggedTemplateLiteral2["default"])(["\n width: ", ";\n height: ", ";\n overflow: hidden;\n img,\n svg {\n height: 100%;\n width: 100%;\n }\n"]);
98
106
 
99
107
  _templateObject7 = function _templateObject7() {
100
108
  return data;
@@ -104,7 +112,7 @@ function _templateObject7() {
104
112
  }
105
113
 
106
114
  function _templateObject6() {
107
- var data = (0, _taggedTemplateLiteral2["default"])(["\n width: 19px;\n height: 19px;\n"]);
115
+ var data = (0, _taggedTemplateLiteral2["default"])(["\n width: ", ";\n height: ", ";\n"]);
108
116
 
109
117
  _templateObject6 = function _templateObject6() {
110
118
  return data;
@@ -114,7 +122,7 @@ function _templateObject6() {
114
122
  }
115
123
 
116
124
  function _templateObject5() {
117
- var data = (0, _taggedTemplateLiteral2["default"])(["\n width: ", ";\n height: ", ";\n\n ", "\n\n border-radius: 45px;\n display: flex;\n justify-content: center;\n align-items: center;\n"]);
125
+ var data = (0, _taggedTemplateLiteral2["default"])(["\n width: ", ";\n height: ", ";\n\n ", "\n ", ";\n\n border-radius: ", ";\n display: flex;\n justify-content: center;\n align-items: center;\n"]);
118
126
 
119
127
  _templateObject5 = function _templateObject5() {
120
128
  return data;
@@ -124,7 +132,7 @@ function _templateObject5() {
124
132
  }
125
133
 
126
134
  function _templateObject4() {
127
- var data = (0, _taggedTemplateLiteral2["default"])(["\n position: relative;\n display: inline-flex;\n padding-bottom: 3px;\n"]);
135
+ var data = (0, _taggedTemplateLiteral2["default"])(["\n position: relative;\n display: inline-flex;\n padding-bottom: 4px;\n"]);
128
136
 
129
137
  _templateObject4 = function _templateObject4() {
130
138
  return data;
@@ -134,7 +142,7 @@ function _templateObject4() {
134
142
  }
135
143
 
136
144
  function _templateObject3() {
137
- var data = (0, _taggedTemplateLiteral2["default"])(["\n border: none;\n background: inherit;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n margin: ", ";\n\n padding: 0px;\n ", ";\n\n &:focus {\n outline: none;\n }\n\n &:hover {\n ", ";\n }\n"]);
145
+ var data = (0, _taggedTemplateLiteral2["default"])(["\n border: none;\n background: inherit;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n margin: ", ";\n\n padding: 0px;\n ", ";\n\n &:hover {\n ", ";\n }\n &:focus {\n outline: ", " auto 1px;\n }\n"]);
138
146
 
139
147
  _templateObject3 = function _templateObject3() {
140
148
  return data;
@@ -154,7 +162,7 @@ function _templateObject2() {
154
162
  }
155
163
 
156
164
  function _templateObject() {
157
- var data = (0, _taggedTemplateLiteral2["default"])(["\n display: inline-flex;\n flex-direction: ", ";\n justify-content: \"center\";\n ", ";\n\n margin: ", ";\n margin-top: ", ";\n margin-right: ", ";\n margin-bottom: ", ";\n margin-left: ", ";\n"]);
165
+ var data = (0, _taggedTemplateLiteral2["default"])(["\n display: inline-flex;\n flex-direction: ", ";\n justify-content: \"center\";\n ", ";\n font-family: ", ";\n\n margin: ", ";\n margin-top: ", ";\n margin-right: ", ";\n margin-bottom: ", ";\n margin-left: ", ";\n"]);
158
166
 
159
167
  _templateObject = function _templateObject() {
160
168
  return data;
@@ -169,18 +177,17 @@ var DxcWizard = function DxcWizard(_ref) {
169
177
  currentStep = _ref.currentStep,
170
178
  onStepClick = _ref.onStepClick,
171
179
  steps = _ref.steps,
172
- margin = _ref.margin;
180
+ margin = _ref.margin,
181
+ _ref$tabIndex = _ref.tabIndex,
182
+ tabIndex = _ref$tabIndex === void 0 ? 0 : _ref$tabIndex;
173
183
 
174
- var _React$useState = _react["default"].useState(currentStep || 0),
175
- _React$useState2 = (0, _slicedToArray2["default"])(_React$useState, 2),
176
- innerCurrent = _React$useState2[0],
177
- setInnerCurrentStep = _React$useState2[1];
184
+ var _useState = (0, _react.useState)(currentStep || 0),
185
+ _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
186
+ innerCurrent = _useState2[0],
187
+ setInnerCurrentStep = _useState2[1];
178
188
 
179
189
  var renderedCurrent = currentStep == null ? innerCurrent : currentStep;
180
- var customTheme = (0, _react.useContext)(_ThemeContext["default"]);
181
- var colorsTheme = (0, _react.useMemo)(function () {
182
- return (0, _utils.getCustomTheme)(_variables.componentTokens, (0, _utils.getCustomTheme)(_variables.defaultTheme, customTheme));
183
- }, [customTheme]);
190
+ var colorsTheme = (0, _useTheme["default"])();
184
191
 
185
192
  var handleStepClick = function handleStepClick(newValue) {
186
193
  if (currentStep == null) {
@@ -193,7 +200,7 @@ var DxcWizard = function DxcWizard(_ref) {
193
200
  };
194
201
 
195
202
  return _react["default"].createElement(_styledComponents.ThemeProvider, {
196
- theme: colorsTheme
203
+ theme: colorsTheme.wizard
197
204
  }, _react["default"].createElement(StepsContainer, {
198
205
  mode: mode,
199
206
  margin: margin
@@ -203,6 +210,7 @@ var DxcWizard = function DxcWizard(_ref) {
203
210
  mode: mode,
204
211
  lastStep: i === steps.length - 1
205
212
  }, _react["default"].createElement(Step, {
213
+ tabIndex: tabIndex,
206
214
  onClick: function onClick() {
207
215
  return handleStepClick(i);
208
216
  },
@@ -216,7 +224,10 @@ var DxcWizard = function DxcWizard(_ref) {
216
224
  disabled: step.disabled
217
225
  }, step.icon ? _react["default"].createElement(StepIconContainer, {
218
226
  disabled: step.disabled
219
- }, (0, _typeof2["default"])(step.icon) === "object" ? step.icon : _react["default"].createElement(step.icon)) : step.iconSrc ? _react["default"].createElement(Icon, {
227
+ }, (0, _typeof2["default"])(step.icon) === "object" ? step.icon.type === "img" ? _react["default"].createElement(ImgContainer, {
228
+ current: i === renderedCurrent,
229
+ img: step.icon.props.src
230
+ }) : step.icon : _react["default"].createElement(step.icon)) : step.iconSrc ? _react["default"].createElement(Icon, {
220
231
  src: step.iconSrc
221
232
  }) : _react["default"].createElement(Number, {
222
233
  disabled: step.disabled,
@@ -225,10 +236,13 @@ var DxcWizard = function DxcWizard(_ref) {
225
236
  src: _valid_icon["default"]
226
237
  }) : _react["default"].createElement(ValidityIcon, {
227
238
  src: _invalid_icon["default"]
228
- }) : ""), step.label || step.description ? _react["default"].createElement(InfoContainer, {
229
- active: i <= innerCurrent,
230
- disabled: step.disabled
231
- }, step.label ? _react["default"].createElement(Label, null, step.label) : "", step.description ? _react["default"].createElement(Description, null, step.description) : "") : ""), i === steps.length - 1 ? "" : _react["default"].createElement(StepSeparator, {
239
+ }) : ""), step.label || step.description ? _react["default"].createElement(InfoContainer, null, step.label ? _react["default"].createElement(Label, {
240
+ disabled: step.disabled,
241
+ visited: i <= innerCurrent
242
+ }, step.label) : "", step.description ? _react["default"].createElement(Description, {
243
+ disabled: step.disabled,
244
+ visited: i <= innerCurrent
245
+ }, step.description) : "") : ""), i === steps.length - 1 ? "" : _react["default"].createElement(StepSeparator, {
232
246
  mode: mode
233
247
  }));
234
248
  })));
@@ -238,6 +252,8 @@ var StepsContainer = _styledComponents["default"].div(_templateObject(), functio
238
252
  return props.mode === "vertical" ? "column" : "row";
239
253
  }, function (props) {
240
254
  return props.mode === "vertical" ? "height: 500px" : "width: 100%";
255
+ }, function (props) {
256
+ return props.theme.fontFamily;
241
257
  }, function (props) {
242
258
  return props.margin && (0, _typeof2["default"])(props.margin) !== "object" ? _variables.spaces[props.margin] : "0px";
243
259
  }, function (props) {
@@ -261,51 +277,114 @@ var StepContainer = _styledComponents["default"].div(_templateObject2(), functio
261
277
  });
262
278
 
263
279
  var Step = _styledComponents["default"].button(_templateObject3(), function (props) {
264
- return props.first ? props.mode === "vertical" ? "0 0 25px 0" : "0 25px 0 0" : props.last ? props.mode === "vertical" ? "25px 0 0 0" : "0 0 0 25px" : props.mode === "vertical" ? "25px 0" : "0 25px";
280
+ return props.first ? props.mode === "vertical" ? "0 0 24px 0" : "0 24px 0 0" : props.last ? props.mode === "vertical" ? "24px 0 0 0" : "0 0 0 24px" : props.mode === "vertical" ? "24px 0" : "0 24px";
265
281
  }, function (props) {
266
282
  return props.disabled ? "cursor: not-allowed" : "";
267
283
  }, function (props) {
268
284
  return props.disabled ? "" : "cursor: pointer";
285
+ }, function (props) {
286
+ return props.theme.focusColor;
269
287
  });
270
288
 
271
289
  var StepHeader = _styledComponents["default"].div(_templateObject4());
272
290
 
273
291
  var IconContainer = _styledComponents["default"].div(_templateObject5(), function (props) {
274
- return !props.current && !props.disabled ? "32px" : "36px";
292
+ return props.disabled ? props.theme.disabledCircleWidth : props.current ? props.theme.selectedCircleWidth : props.theme.circleWidth;
293
+ }, function (props) {
294
+ return props.disabled ? props.theme.disabledCircleHeight : props.current ? props.theme.selectedCircleHeight : props.theme.circleHeight;
295
+ }, function (props) {
296
+ return "\n ".concat(!props.current && !props.disabled ? "border: ".concat(props.theme.circleBorderThickness, " ").concat(props.theme.circleBorderStyle, " ").concat(props.theme.circleBorderColor, ";") : props.current ? "border: ".concat(props.theme.selectedCircleBorderThickness, " ").concat(props.theme.selectedCircleBorderStyle, " ").concat(props.theme.selectedCircleBorderColor, ";") : props.disabled ? "border: ".concat(props.theme.disabledCircleBorderThickness, " ").concat(props.theme.disabledCircleBorderStyle, " ").concat(props.theme.disabledCircleBorderColor, ";") : "", "\n background: ").concat(props.disabled ? "".concat(props.theme.disabledBackgroundColor) : props.current ? "".concat(props.theme.stepContainerSelectedBackgroundColor) : "".concat(props.theme.stepContainerBackgroundColor), ";\n ");
275
297
  }, function (props) {
276
- return !props.current && !props.disabled ? "32px" : "36px";
298
+ return props.disabled ? "color: ".concat(props.theme.disabledFontColor, ";") : "color: ".concat(props.current ? props.theme.stepContainerSelectedFontColor : props.theme.stepContainerFontColor, ";");
277
299
  }, function (props) {
278
- return "\n ".concat(!props.current && !props.disabled ? "border: 2px solid ".concat(props.theme.wizard.borderColor, ";") : "", "\n background: ").concat(props.disabled ? "".concat(props.theme.wizard.disabledBackground) : props.current ? "".concat(props.theme.wizard.selectedBackgroundColor) : "", ";\n ").concat(props.current ? "color: ".concat(props.theme.wizard.selectedFont, ";") : "", "\n ");
300
+ return !props.current && !props.disabled ? props.theme.circleBorderRadius : props.current ? props.theme.selectedCircleBorderRadius : props.disabled ? props.theme.disabledCircleBorderRadius : "";
279
301
  });
280
302
 
281
- var Icon = _styledComponents["default"].img(_templateObject6());
303
+ var Icon = _styledComponents["default"].img(_templateObject6(), function (props) {
304
+ return props.theme.stepContainerIconSize;
305
+ }, function (props) {
306
+ return props.theme.stepContainerIconSize;
307
+ });
282
308
 
283
309
  var StepIconContainer = _styledComponents["default"].div(_templateObject7(), function (props) {
284
- return props.disabled ? "".concat(props.theme.wizard.disabledFont) : "".concat(props.theme.wizard.fontColor);
310
+ return props.theme.stepContainerIconSize;
311
+ }, function (props) {
312
+ return props.theme.stepContainerIconSize;
285
313
  });
286
314
 
287
- var Number = _styledComponents["default"].p(_templateObject8(), function (props) {
288
- return props.disabled ? "".concat(props.theme.wizard.disabledFont) : "".concat(props.theme.wizard.fontColor);
315
+ var ImgContainer = _styledComponents["default"].div(_templateObject8(), function (props) {
316
+ return props.current ? props.theme.stepContainerSelectedFontColor : props.theme.stepContainerFontColor;
317
+ }, function (_ref2) {
318
+ var img = _ref2.img;
319
+ return img;
320
+ }, function (props) {
321
+ return "".concat(props.theme.stepContainerIconSize, " ").concat(props.theme.stepContainerIconSize);
322
+ }, function (props) {
323
+ return props.theme.stepContainerIconSize;
324
+ }, function (props) {
325
+ return props.theme.stepContainerIconSize;
289
326
  });
290
327
 
291
- var ValidityIcon = _styledComponents["default"].img(_templateObject9());
292
-
293
- var InfoContainer = _styledComponents["default"].div(_templateObject10(), function (props) {
294
- return props.disabled ? "".concat(props.theme.wizard.disabledFont) : "".concat(props.theme.wizard.fontColor);
328
+ var Number = _styledComponents["default"].p(_templateObject9(), function (props) {
329
+ return props.theme.stepContainerFontSize;
330
+ }, function (props) {
331
+ return props.theme.stepContainerFontFamily;
332
+ }, function (props) {
333
+ return props.theme.stepContainerFontStyle;
334
+ }, function (props) {
335
+ return props.theme.stepContainerFontWeight;
336
+ }, function (props) {
337
+ return props.theme.stepContainerLetterSpacing;
295
338
  });
296
339
 
297
- var Label = _styledComponents["default"].p(_templateObject11());
340
+ var ValidityIcon = _styledComponents["default"].img(_templateObject10());
341
+
342
+ var InfoContainer = _styledComponents["default"].div(_templateObject11());
298
343
 
299
- var Description = _styledComponents["default"].p(_templateObject12());
344
+ var Label = _styledComponents["default"].p(_templateObject12(), function (props) {
345
+ return props.theme.labelTextAlign;
346
+ }, function (props) {
347
+ return props.theme.labelFontFamily;
348
+ }, function (props) {
349
+ return props.theme.labelFontSize;
350
+ }, function (props) {
351
+ return props.theme.labelFontStyle;
352
+ }, function (props) {
353
+ return props.theme.labelFontWeight;
354
+ }, function (props) {
355
+ return props.theme.labelLetterSpacing;
356
+ }, function (props) {
357
+ return props.disabled ? "color: ".concat(props.theme.disabledFontColor, ";") : "color: ".concat(props.visited ? props.theme.visitedLabelFontColor : props.theme.labelFontColor, ";");
358
+ }, function (props) {
359
+ return props.theme.labelFontTextTransform;
360
+ });
361
+
362
+ var Description = _styledComponents["default"].p(_templateObject13(), function (props) {
363
+ return props.theme.descriptionTextAlign;
364
+ }, function (props) {
365
+ return props.theme.descriptionFontFamily;
366
+ }, function (props) {
367
+ return props.theme.descriptionFontSize;
368
+ }, function (props) {
369
+ return props.theme.descriptionFontStyle;
370
+ }, function (props) {
371
+ return props.theme.descriptionFontWeight;
372
+ }, function (props) {
373
+ return props.theme.descriptionLetterSpacing;
374
+ }, function (props) {
375
+ return props.theme.descriptionFontTextTransform;
376
+ }, function (props) {
377
+ return props.disabled ? "color: ".concat(props.theme.disabledFontColor, ";") : "color: ".concat(props.visited ? props.theme.visitedDescriptionFontColor : props.theme.descriptionFontColor, ";");
378
+ });
300
379
 
301
- var StepSeparator = _styledComponents["default"].div(_templateObject13(), function (props) {
380
+ var StepSeparator = _styledComponents["default"].div(_templateObject14(), function (props) {
302
381
  return props.mode === "horizontal" ? "" : "0";
303
382
  }, function (props) {
304
383
  return props.mode === "horizontal" ? "0" : "";
305
384
  }, function (props) {
306
385
  return props.mode === "vertical" ? "margin: 0 18px;" : "";
307
386
  }, function (props) {
308
- return "solid 1px ".concat(props.theme.wizard.lineColor);
387
+ return "".concat(props.theme.separatorBorderStyle, " ").concat(props.theme.separatorBorderThickness, " ").concat(props.theme.separatorColor);
309
388
  });
310
389
 
311
390
  DxcWizard.propTypes = {
@@ -325,7 +404,8 @@ DxcWizard.propTypes = {
325
404
  bottom: _propTypes["default"].oneOf(Object.keys(_variables.spaces)),
326
405
  left: _propTypes["default"].oneOf(Object.keys(_variables.spaces)),
327
406
  right: _propTypes["default"].oneOf(Object.keys(_variables.spaces))
328
- }), _propTypes["default"].oneOf((0, _toConsumableArray2["default"])(Object.keys(_variables.spaces)))])
407
+ }), _propTypes["default"].oneOf((0, _toConsumableArray2["default"])(Object.keys(_variables.spaces)))]),
408
+ tabIndex: _propTypes["default"].number
329
409
  };
330
410
  var _default = DxcWizard;
331
411
  exports["default"] = _default;
@@ -1,6 +1,5 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="496" height="496" viewBox="0 0 496 496">
2
- <g id="Group_2913" data-name="Group 2913" transform="translate(5286 3925)">
3
- <path id="Path_2821" data-name="Path 2821" d="M240,0C372.548,0,480,107.452,480,240S372.548,480,240,480,0,372.548,0,240,107.452,0,240,0Z" transform="translate(-5278 -3917)" fill="#f9cfcf"/>
4
- <path id="times-circle-regular" d="M256,8C119,8,8,119,8,256S119,504,256,504,504,393,504,256,393,8,256,8Zm0,448A200,200,0,1,1,456,256,199.945,199.945,0,0,1,256,456ZM357.8,193.8,295.6,256l62.2,62.2a12.011,12.011,0,0,1,0,17l-22.6,22.6a12.011,12.011,0,0,1-17,0L256,295.6l-62.2,62.2a12.011,12.011,0,0,1-17,0l-22.6-22.6a12.011,12.011,0,0,1,0-17L216.4,256l-62.2-62.2a12.011,12.011,0,0,1,0-17l22.6-22.6a12.011,12.011,0,0,1,17,0L256,216.4l62.2-62.2a12.011,12.011,0,0,1,17,0l22.6,22.6a12.011,12.011,0,0,1,0,17Z" transform="translate(-5294 -3933)" fill="#e22"/>
5
- </g>
1
+ <svg id="highlight_off_black_18dp" xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18">
2
+ <path id="Path_2943" data-name="Path 2943" d="M0,0H18V18H0Z" fill="none"/>
3
+ <path id="Path_2944" data-name="Path 2944" d="M10,4a6,6,0,1,0,6,6A6.01,6.01,0,0,0,10,4Zm3,7.945L11.945,13,10,11.06,8.059,13,7,11.945,8.944,10,7,8.059,8.059,7,10,8.944,11.945,7,13,8.059,11.06,10Z" transform="translate(-1.002 -1.002)" fill="#ffe6e9"/>
4
+ <path id="Path_2945" data-name="Path 2945" d="M11.444,6.5,9.5,8.443,7.558,6.5,6.5,7.558,8.443,9.5,6.5,11.444,7.558,12.5,9.5,10.558,11.444,12.5,12.5,11.444,10.558,9.5,12.5,7.558ZM9.5,2A7.5,7.5,0,1,0,17,9.5,7.494,7.494,0,0,0,9.5,2Zm0,13.5a6,6,0,1,1,6-6A6.009,6.009,0,0,1,9.5,15.5Z" transform="translate(-0.501 -0.501)" fill="#d0011b"/>
6
5
  </svg>