@dreamcommerce/aurora 3.0.0-256 → 3.0.0-257

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.
@@ -65,10 +65,10 @@ var SelectContent = /*#__PURE__*/React__default['default'].forwardRef(function (
65
65
  visible = select_utils.SelectUtils.localSearchIsHeaderVisible(search, options, index);
66
66
  }
67
67
  return option.isHeader ? (/*#__PURE__*/React__default['default'].createElement(select_group_label.SelectGroupLabel, {
68
- key: "select-label-".concat(option.text),
68
+ key: "select-label-".concat(option.text, "-").concat(index),
69
69
  className: cn.cn(!visible && 'aurora-hidden')
70
70
  }, option.text)) : (/*#__PURE__*/React__default['default'].createElement(select_item.SelectItem, {
71
- key: "select-item-".concat(option.value),
71
+ key: "select-item-".concat(option.value, "-").concat(index),
72
72
  value: option.value,
73
73
  isDisabled: option.isDisabled,
74
74
  isReadonly: option.isReadonly,
@@ -28,7 +28,7 @@ var SelectGroupLabel = function SelectGroupLabel(_ref) {
28
28
  align: "center",
29
29
  spacing: "2.5"
30
30
  }, /*#__PURE__*/React__default['default'].createElement(typography.Typography, {
31
- className: "aurora-whitespace-nowrap",
31
+ className: "aurora-whitespace-nowrap first-letter:aurora-uppercase",
32
32
  size: "s",
33
33
  color: "subtle",
34
34
  weight: "bold"
@@ -20,14 +20,16 @@ var SelectItem = /*#__PURE__*/React__default['default'].forwardRef(function (_re
20
20
  isReadonly = _ref.isReadonly,
21
21
  additionalInfo = _ref.additionalInfo,
22
22
  props = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
23
- console.log(props.value);
24
23
  return /*#__PURE__*/React__default['default'].createElement(SelectPrimitive.Item, _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({
25
- className: cn.cn('aurora-relative aurora-flex aurora-w-full aurora-rounded-6 aurora-cursor-default aurora-select-none aurora-items-center aurora-rounded-sm aurora-py-1.5 aurora-pl-9 aurora-pr-8 aurora-text-sm aurora-outline-none aurora-break-all aurora-text-wrap active:aurora-bg-active focus:aurora-bg-hover focus:aurora-text-accent-foreground data-[disabled]:aurora-pointer-events-none data-[disabled]:aurora-opacity-50 hover:aurora-bg-hover data-[state=checked]:aurora-bg-hover data-[state=checked]:aurora-font-semibold', {
24
+ className: cn.cn('aurora-relative aurora-flex aurora-w-full aurora-rounded-6 aurora-cursor-default aurora-select-none aurora-items-center aurora-rounded-sm aurora-py-1.5 aurora-pl-9 aurora-pr-8 aurora-text-sm aurora-outline-none aurora-break-words aurora-text-wrap active:aurora-bg-active focus:aurora-bg-hover focus:aurora-text-accent-foreground data-[disabled]:aurora-pointer-events-none data-[disabled]:aurora-opacity-50 hover:aurora-bg-hover data-[state=checked]:aurora-bg-hover data-[state=checked]:aurora-font-semibold', {
26
25
  'aurora-cursor-pointer active:aurora-bg-active': !isDisabled && !isReadonly
27
26
  }, className),
28
27
  disabled: isDisabled || isReadonly
29
28
  }, props), {}, {
30
- ref: ref
29
+ ref: ref,
30
+ onPointerMove: function onPointerMove(e) {
31
+ e.preventDefault();
32
+ }
31
33
  }), /*#__PURE__*/React__default['default'].createElement(SelectPrimitive.ItemIndicator, null, /*#__PURE__*/React__default['default'].createElement(check_icon.CheckLineIcon, {
32
34
  className: "aurora-h-5 aurora-w-5 -aurora-ml-7 aurora-mr-2"
33
35
  })), /*#__PURE__*/React__default['default'].createElement("div", {
@@ -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;AACA;AACA;AACA;AACA;AACA;"}
@@ -57,10 +57,10 @@ var SelectContent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
57
57
  visible = SelectUtils.localSearchIsHeaderVisible(search, options, index);
58
58
  }
59
59
  return option.isHeader ? (/*#__PURE__*/React.createElement(SelectGroupLabel, {
60
- key: "select-label-".concat(option.text),
60
+ key: "select-label-".concat(option.text, "-").concat(index),
61
61
  className: cn(!visible && 'aurora-hidden')
62
62
  }, option.text)) : (/*#__PURE__*/React.createElement(SelectItem, {
63
- key: "select-item-".concat(option.value),
63
+ key: "select-item-".concat(option.value, "-").concat(index),
64
64
  value: option.value,
65
65
  isDisabled: option.isDisabled,
66
66
  isReadonly: option.isReadonly,
@@ -20,7 +20,7 @@ var SelectGroupLabel = function SelectGroupLabel(_ref) {
20
20
  align: "center",
21
21
  spacing: "2.5"
22
22
  }, /*#__PURE__*/React.createElement(Typography, {
23
- className: "aurora-whitespace-nowrap",
23
+ className: "aurora-whitespace-nowrap first-letter:aurora-uppercase",
24
24
  size: "s",
25
25
  color: "subtle",
26
26
  weight: "bold"
@@ -12,14 +12,16 @@ var SelectItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
12
12
  isReadonly = _ref.isReadonly,
13
13
  additionalInfo = _ref.additionalInfo,
14
14
  props = _objectWithoutProperties(_ref, _excluded);
15
- console.log(props.value);
16
15
  return /*#__PURE__*/React.createElement(Item, _objectSpread2(_objectSpread2({
17
- className: cn('aurora-relative aurora-flex aurora-w-full aurora-rounded-6 aurora-cursor-default aurora-select-none aurora-items-center aurora-rounded-sm aurora-py-1.5 aurora-pl-9 aurora-pr-8 aurora-text-sm aurora-outline-none aurora-break-all aurora-text-wrap active:aurora-bg-active focus:aurora-bg-hover focus:aurora-text-accent-foreground data-[disabled]:aurora-pointer-events-none data-[disabled]:aurora-opacity-50 hover:aurora-bg-hover data-[state=checked]:aurora-bg-hover data-[state=checked]:aurora-font-semibold', {
16
+ className: cn('aurora-relative aurora-flex aurora-w-full aurora-rounded-6 aurora-cursor-default aurora-select-none aurora-items-center aurora-rounded-sm aurora-py-1.5 aurora-pl-9 aurora-pr-8 aurora-text-sm aurora-outline-none aurora-break-words aurora-text-wrap active:aurora-bg-active focus:aurora-bg-hover focus:aurora-text-accent-foreground data-[disabled]:aurora-pointer-events-none data-[disabled]:aurora-opacity-50 hover:aurora-bg-hover data-[state=checked]:aurora-bg-hover data-[state=checked]:aurora-font-semibold', {
18
17
  'aurora-cursor-pointer active:aurora-bg-active': !isDisabled && !isReadonly
19
18
  }, className),
20
19
  disabled: isDisabled || isReadonly
21
20
  }, props), {}, {
22
- ref: ref
21
+ ref: ref,
22
+ onPointerMove: function onPointerMove(e) {
23
+ e.preventDefault();
24
+ }
23
25
  }), /*#__PURE__*/React.createElement(ItemIndicator, null, /*#__PURE__*/React.createElement(CheckLineIcon, {
24
26
  className: "aurora-h-5 aurora-w-5 -aurora-ml-7 aurora-mr-2"
25
27
  })), /*#__PURE__*/React.createElement("div", {
@@ -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;"}
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;"}