@dreamcommerce/aurora 3.1.22 → 3.1.23
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/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/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
|
@@ -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: {
|
|
@@ -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: {
|