@dreamcommerce/aurora 3.0.0-276 → 3.0.0-278

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.
@@ -31,7 +31,7 @@ var MessageBox = /*#__PURE__*/React__default['default'].forwardRef(function (_re
31
31
  var iconColor = message_box_constants.MESSAGE_BOX_ICON_COLORS[variant];
32
32
  return /*#__PURE__*/React__default['default'].createElement("div", {
33
33
  ref: ref,
34
- className: cn.cn(message_box_variants.messageBoxVariants({
34
+ className: cn.cn('message-box-link-icon', message_box_variants.messageBoxVariants({
35
35
  variant: variant
36
36
  }), {
37
37
  'aurora-w-full': fullWidth,
@@ -10,10 +10,7 @@ var MultiSelectUtils = /*#__PURE__*/_rollupPluginBabelHelpers.createClass(functi
10
10
  });
11
11
  _MultiSelectUtils = MultiSelectUtils;
12
12
  _rollupPluginBabelHelpers.defineProperty(MultiSelectUtils, "isOptionVisible", function (option, search) {
13
- var normalizePolish = function normalizePolish(str) {
14
- return str.normalize('NFD').replace(/[\u0300-\u036f]/g, '').replace(/[\u0141-\u0142]/g, 'l').toLowerCase();
15
- };
16
- return normalizePolish(option.text).includes(normalizePolish(search));
13
+ return option.text.toLocaleLowerCase().includes(search.toLocaleLowerCase());
17
14
  });
18
15
  _rollupPluginBabelHelpers.defineProperty(MultiSelectUtils, "isHeaderVisible", function (search, options, index) {
19
16
  var visible = false;
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -10,10 +10,7 @@ var SelectUtils = /*#__PURE__*/_rollupPluginBabelHelpers.createClass(function Se
10
10
  });
11
11
  _SelectUtils = SelectUtils;
12
12
  _rollupPluginBabelHelpers.defineProperty(SelectUtils, "localSearchIsOptionVisible", function (option, search) {
13
- var normalizePolish = function normalizePolish(str) {
14
- return str.normalize('NFD').replace(/[\u0300-\u036f]/g, '').replace(/[\u0141-\u0142]/g, 'l').toLowerCase();
15
- };
16
- return normalizePolish(option.text).includes(normalizePolish(search));
13
+ return option.text.toLocaleLowerCase().includes(search.toLocaleLowerCase());
17
14
  });
18
15
  _rollupPluginBabelHelpers.defineProperty(SelectUtils, "localSearchIsHeaderVisible", function (search, options, index) {
19
16
  var visible = false;
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -23,7 +23,7 @@ var MessageBox = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
23
23
  var iconColor = MESSAGE_BOX_ICON_COLORS[variant];
24
24
  return /*#__PURE__*/React.createElement("div", {
25
25
  ref: ref,
26
- className: cn(messageBoxVariants({
26
+ className: cn('message-box-link-icon', messageBoxVariants({
27
27
  variant: variant
28
28
  }), {
29
29
  'aurora-w-full': fullWidth,
@@ -6,10 +6,7 @@ var MultiSelectUtils = /*#__PURE__*/_createClass(function MultiSelectUtils() {
6
6
  });
7
7
  _MultiSelectUtils = MultiSelectUtils;
8
8
  _defineProperty(MultiSelectUtils, "isOptionVisible", function (option, search) {
9
- var normalizePolish = function normalizePolish(str) {
10
- return str.normalize('NFD').replace(/[\u0300-\u036f]/g, '').replace(/[\u0141-\u0142]/g, 'l').toLowerCase();
11
- };
12
- return normalizePolish(option.text).includes(normalizePolish(search));
9
+ return option.text.toLocaleLowerCase().includes(search.toLocaleLowerCase());
13
10
  });
14
11
  _defineProperty(MultiSelectUtils, "isHeaderVisible", function (search, options, index) {
15
12
  var visible = false;
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -6,10 +6,7 @@ var SelectUtils = /*#__PURE__*/_createClass(function SelectUtils() {
6
6
  });
7
7
  _SelectUtils = SelectUtils;
8
8
  _defineProperty(SelectUtils, "localSearchIsOptionVisible", function (option, search) {
9
- var normalizePolish = function normalizePolish(str) {
10
- return str.normalize('NFD').replace(/[\u0300-\u036f]/g, '').replace(/[\u0141-\u0142]/g, 'l').toLowerCase();
11
- };
12
- return normalizePolish(option.text).includes(normalizePolish(search));
9
+ return option.text.toLocaleLowerCase().includes(search.toLocaleLowerCase());
13
10
  });
14
11
  _defineProperty(SelectUtils, "localSearchIsHeaderVisible", function (search, options, index) {
15
12
  var visible = false;
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}