@dreamcommerce/aurora 3.1.22 → 3.1.24
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.
- package/build/cjs/packages/aurora/src/components/action_list/components/action_list_item.js +1 -1
- package/build/cjs/packages/aurora/src/components/action_list/components/action_list_radio_item.js +1 -1
- package/build/cjs/packages/aurora/src/components/multiselect/components/multiselect_item.js +2 -2
- package/build/cjs/packages/aurora/src/components/radio_group/components/radio_group_item.js +2 -2
- package/build/cjs/packages/aurora/src/components/select/components/select_item.js +1 -1
- package/build/esm/packages/aurora/src/components/action_list/components/action_list_item.js +1 -1
- package/build/esm/packages/aurora/src/components/action_list/components/action_list_radio_item.js +1 -1
- package/build/esm/packages/aurora/src/components/multiselect/components/multiselect_item.js +2 -2
- package/build/esm/packages/aurora/src/components/radio_group/components/radio_group_item.js +2 -2
- package/build/esm/packages/aurora/src/components/select/components/select_item.js +1 -1
- package/build/index.css +1 -1
- package/package.json +1 -1
|
@@ -19,7 +19,7 @@ var ActionListItem = /*#__PURE__*/React__default['default'].forwardRef(function
|
|
|
19
19
|
return /*#__PURE__*/React__default['default'].createElement(DropdownMenuPrimitive.Item, _rollupPluginBabelHelpers.objectSpread2({
|
|
20
20
|
ref: ref,
|
|
21
21
|
"data-test-el": "action-list-item",
|
|
22
|
-
className: cn.cn('aurora-relative aurora-outline-none aurora-flex aurora-cursor-pointer aurora-select-none aurora-items-center aurora-gap-2.5 aurora-py-1.5 aurora-px-3 focus:aurora-bg-hover aurora-text-s aurora-transition-colors aurora-rounded-6 hover:aurora-bg-hover data-[disabled]:aurora-pointer-events-none data-[disabled]:aurora-text-subtle-light', inset && 'aurora-pl-8', className)
|
|
22
|
+
className: cn.cn('aurora-relative aurora-outline-none aurora-flex aurora-cursor-pointer aurora-select-none aurora-items-center aurora-gap-2.5 aurora-py-1.5 aurora-px-3 focus:aurora-bg-hover active:aurora-bg-active aurora-text-s aurora-transition-colors aurora-rounded-6 hover:aurora-bg-hover data-[disabled]:aurora-pointer-events-none data-[disabled]:aurora-text-subtle-light', inset && 'aurora-pl-8', className)
|
|
23
23
|
}, props));
|
|
24
24
|
});
|
|
25
25
|
ActionListItem.displayName = 'ActionListItem';
|
package/build/cjs/packages/aurora/src/components/action_list/components/action_list_radio_item.js
CHANGED
|
@@ -22,7 +22,7 @@ var ActionListRadioItem = /*#__PURE__*/React__default['default'].forwardRef(func
|
|
|
22
22
|
return /*#__PURE__*/React__default['default'].createElement(DropdownMenuPrimitive.RadioItem, _rollupPluginBabelHelpers.objectSpread2({
|
|
23
23
|
ref: ref,
|
|
24
24
|
"data-test-el": "action-list-radio-item",
|
|
25
|
-
className: cn.cn('aurora-relative aurora-outline-none aurora-py-1.5 aurora-pr-3 aurora-pl-10 aurora-flex aurora-cursor-pointer aurora-select-none aurora-items-center aurora-gap-2.5
|
|
25
|
+
className: cn.cn('aurora-relative aurora-outline-none aurora-py-1.5 aurora-pr-3 aurora-pl-10 aurora-flex aurora-cursor-pointer aurora-select-none aurora-items-center aurora-gap-2.5 aurora-text-s aurora-transition-colors aurora-rounded-6 hover:aurora-bg-hover active:aurora-bg-active data-[disabled]:aurora-pointer-events-none data-[disabled]:aurora-text-subtle-light data-[state=checked]:aurora-font-semibold', className),
|
|
26
26
|
disabled: disabled
|
|
27
27
|
}, props), /*#__PURE__*/React__default['default'].createElement(DropdownMenuPrimitive.ItemIndicator, {
|
|
28
28
|
className: "aurora-absolute aurora-left-2.5"
|
|
@@ -28,8 +28,8 @@ var MultiSelectItem = /*#__PURE__*/React__default['default'].forwardRef(function
|
|
|
28
28
|
};
|
|
29
29
|
return /*#__PURE__*/React__default['default'].createElement(DropdownMenuPrimitive.Item, _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({
|
|
30
30
|
onSelect: handleSelect,
|
|
31
|
-
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-p-2 aurora-text-s aurora-outline-none aurora-break-words aurora-text-wrap
|
|
32
|
-
'aurora-
|
|
31
|
+
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-p-2 aurora-text-s aurora-outline-none aurora-break-words aurora-text-wrap hover:aurora-bg-hover focus:aurora-text-accent-foreground data-[disabled]:aurora-pointer-events-none data-[disabled]:aurora-opacity-50', {
|
|
32
|
+
'aurora-font-semibold': isSelected,
|
|
33
33
|
'aurora-cursor-pointer active:aurora-bg-active': !isDisabled && !isReadonly
|
|
34
34
|
}, className),
|
|
35
35
|
style: {
|
|
@@ -33,9 +33,9 @@ var RadioGroupItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
33
33
|
value: value,
|
|
34
34
|
disabled: disabled,
|
|
35
35
|
required: required,
|
|
36
|
-
className: cn.cn('aurora-transition-[background-color] aurora-shrink-0 aurora-h-5 aurora-w-5 aurora-rounded-full aurora-border focus data-[state=checked]:aurora-bg-primary', {
|
|
36
|
+
className: cn.cn('aurora-transition-[background-color] aurora-shrink-0 aurora-h-5 aurora-w-5 aurora-rounded-full aurora-border aurora-border-strong hover:aurora-border-extraStrong focus data-[state=checked]:aurora-bg-primary', {
|
|
37
37
|
'!aurora-bg-active aurora-cursor-not-allowed': disabled,
|
|
38
|
-
'!aurora-bg-neutral-0 aurora-border-danger aurora-border-2': !!(errors !== null && errors !== void 0 && errors.length)
|
|
38
|
+
'!aurora-bg-neutral-0 !aurora-border-danger aurora-border-2': !!(errors !== null && errors !== void 0 && errors.length)
|
|
39
39
|
}, className)
|
|
40
40
|
}, props), /*#__PURE__*/React.createElement(RadioGroupPrimitive.Indicator, {
|
|
41
41
|
className: "aurora-flex aurora-items-center aurora-justify-center"
|
|
@@ -21,7 +21,7 @@ var SelectItem = /*#__PURE__*/React__default['default'].forwardRef(function (_re
|
|
|
21
21
|
additionalInfo = _ref.additionalInfo,
|
|
22
22
|
props = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
23
23
|
return /*#__PURE__*/React__default['default'].createElement(SelectPrimitive.Item, _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({
|
|
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-s aurora-outline-none aurora-break-words aurora-text-wrap focus:aurora-
|
|
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-s aurora-outline-none aurora-break-words aurora-text-wrap focus:aurora-text-accent-foreground data-[disabled]:aurora-pointer-events-none data-[disabled]:aurora-opacity-50 hover:aurora-bg-hover data-[state=checked]:aurora-font-semibold', {
|
|
25
25
|
'aurora-cursor-pointer active:aurora-bg-active': !isDisabled && !isReadonly
|
|
26
26
|
}, className),
|
|
27
27
|
style: {
|
|
@@ -11,7 +11,7 @@ var ActionListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
11
11
|
return /*#__PURE__*/React.createElement(Item, _objectSpread2({
|
|
12
12
|
ref: ref,
|
|
13
13
|
"data-test-el": "action-list-item",
|
|
14
|
-
className: cn('aurora-relative aurora-outline-none aurora-flex aurora-cursor-pointer aurora-select-none aurora-items-center aurora-gap-2.5 aurora-py-1.5 aurora-px-3 focus:aurora-bg-hover aurora-text-s aurora-transition-colors aurora-rounded-6 hover:aurora-bg-hover data-[disabled]:aurora-pointer-events-none data-[disabled]:aurora-text-subtle-light', inset && 'aurora-pl-8', className)
|
|
14
|
+
className: cn('aurora-relative aurora-outline-none aurora-flex aurora-cursor-pointer aurora-select-none aurora-items-center aurora-gap-2.5 aurora-py-1.5 aurora-px-3 focus:aurora-bg-hover active:aurora-bg-active aurora-text-s aurora-transition-colors aurora-rounded-6 hover:aurora-bg-hover data-[disabled]:aurora-pointer-events-none data-[disabled]:aurora-text-subtle-light', inset && 'aurora-pl-8', className)
|
|
15
15
|
}, props));
|
|
16
16
|
});
|
|
17
17
|
ActionListItem.displayName = 'ActionListItem';
|
package/build/esm/packages/aurora/src/components/action_list/components/action_list_radio_item.js
CHANGED
|
@@ -14,7 +14,7 @@ var ActionListRadioItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
14
14
|
return /*#__PURE__*/React.createElement(RadioItem, _objectSpread2({
|
|
15
15
|
ref: ref,
|
|
16
16
|
"data-test-el": "action-list-radio-item",
|
|
17
|
-
className: cn('aurora-relative aurora-outline-none aurora-py-1.5 aurora-pr-3 aurora-pl-10 aurora-flex aurora-cursor-pointer aurora-select-none aurora-items-center aurora-gap-2.5
|
|
17
|
+
className: cn('aurora-relative aurora-outline-none aurora-py-1.5 aurora-pr-3 aurora-pl-10 aurora-flex aurora-cursor-pointer aurora-select-none aurora-items-center aurora-gap-2.5 aurora-text-s aurora-transition-colors aurora-rounded-6 hover:aurora-bg-hover active:aurora-bg-active data-[disabled]:aurora-pointer-events-none data-[disabled]:aurora-text-subtle-light data-[state=checked]:aurora-font-semibold', className),
|
|
18
18
|
disabled: disabled
|
|
19
19
|
}, props), /*#__PURE__*/React.createElement(ItemIndicator, {
|
|
20
20
|
className: "aurora-absolute aurora-left-2.5"
|
|
@@ -20,8 +20,8 @@ var MultiSelectItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
20
20
|
};
|
|
21
21
|
return /*#__PURE__*/React.createElement(Item, _objectSpread2(_objectSpread2({
|
|
22
22
|
onSelect: handleSelect,
|
|
23
|
-
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-p-2 aurora-text-s aurora-outline-none aurora-break-words aurora-text-wrap
|
|
24
|
-
'aurora-
|
|
23
|
+
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-p-2 aurora-text-s aurora-outline-none aurora-break-words aurora-text-wrap hover:aurora-bg-hover focus:aurora-text-accent-foreground data-[disabled]:aurora-pointer-events-none data-[disabled]:aurora-opacity-50', {
|
|
24
|
+
'aurora-font-semibold': isSelected,
|
|
25
25
|
'aurora-cursor-pointer active:aurora-bg-active': !isDisabled && !isReadonly
|
|
26
26
|
}, className),
|
|
27
27
|
style: {
|
|
@@ -29,9 +29,9 @@ var RadioGroupItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
29
29
|
value: value,
|
|
30
30
|
disabled: disabled,
|
|
31
31
|
required: required,
|
|
32
|
-
className: cn('aurora-transition-[background-color] aurora-shrink-0 aurora-h-5 aurora-w-5 aurora-rounded-full aurora-border focus data-[state=checked]:aurora-bg-primary', {
|
|
32
|
+
className: cn('aurora-transition-[background-color] aurora-shrink-0 aurora-h-5 aurora-w-5 aurora-rounded-full aurora-border aurora-border-strong hover:aurora-border-extraStrong focus data-[state=checked]:aurora-bg-primary', {
|
|
33
33
|
'!aurora-bg-active aurora-cursor-not-allowed': disabled,
|
|
34
|
-
'!aurora-bg-neutral-0 aurora-border-danger aurora-border-2': !!(errors !== null && errors !== void 0 && errors.length)
|
|
34
|
+
'!aurora-bg-neutral-0 !aurora-border-danger aurora-border-2': !!(errors !== null && errors !== void 0 && errors.length)
|
|
35
35
|
}, className)
|
|
36
36
|
}, props), /*#__PURE__*/createElement(Indicator, {
|
|
37
37
|
className: "aurora-flex aurora-items-center aurora-justify-center"
|
|
@@ -13,7 +13,7 @@ var SelectItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
13
13
|
additionalInfo = _ref.additionalInfo,
|
|
14
14
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
15
15
|
return /*#__PURE__*/React.createElement(Item, _objectSpread2(_objectSpread2({
|
|
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-s aurora-outline-none aurora-break-words aurora-text-wrap focus:aurora-
|
|
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-s aurora-outline-none aurora-break-words aurora-text-wrap focus:aurora-text-accent-foreground data-[disabled]:aurora-pointer-events-none data-[disabled]:aurora-opacity-50 hover:aurora-bg-hover data-[state=checked]:aurora-font-semibold', {
|
|
17
17
|
'aurora-cursor-pointer active:aurora-bg-active': !isDisabled && !isReadonly
|
|
18
18
|
}, className),
|
|
19
19
|
style: {
|