@dreamcommerce/aurora 3.1.10 → 3.1.11
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/image_picker/image_picker.js +1 -1
- package/build/cjs/packages/aurora/src/components/input/input_variants.js +1 -1
- package/build/cjs/packages/aurora/src/components/select/components/select_trigger.js +1 -1
- package/build/esm/packages/aurora/src/components/image_picker/image_picker.js +1 -1
- package/build/esm/packages/aurora/src/components/input/input_variants.js +1 -1
- package/build/esm/packages/aurora/src/components/select/components/select_trigger.js +1 -1
- package/build/index.css +1 -1
- package/package.json +1 -1
|
@@ -120,7 +120,7 @@ var ImagePicker = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function
|
|
|
120
120
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
121
121
|
className: "aurora-mb-1"
|
|
122
122
|
}, /*#__PURE__*/React__default['default'].createElement("button", {
|
|
123
|
-
className: cn.cn('aurora-block aurora-w-full aurora-rounded-8 aurora-relative hover:aurora-border-
|
|
123
|
+
className: cn.cn('aurora-block aurora-w-full aurora-rounded-8 aurora-relative aurora-border-strong hover:aurora-border-extraStrong focus-visible:aurora-border-active focus-visible:aurora-outline-none', {
|
|
124
124
|
'aurora-border aurora-border-dashed': !(errors && errors.length > 0 && !isDragOver),
|
|
125
125
|
'aurora-border-2 aurora-border-danger aurora-border-solid hover:aurora-border-danger focus-visible:aurora-border-danger': errors && errors.length > 0,
|
|
126
126
|
'aurora-border-transparent hover:aurora-border-transparent focus-visible:aurora-border-transparent': isDragOver
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var index = require('../../../../../external/class-variance-authority/dist/index.mjs.js');
|
|
6
6
|
|
|
7
|
-
var inputVariants = index.cva('aurora-relative aurora-flex aurora-items-center aurora-rounded-6 focus aurora-border aurora-bg aurora-text-s aurora-placeholder-neutral-500 aurora-text hover:aurora-border-
|
|
7
|
+
var inputVariants = index.cva('aurora-relative aurora-flex aurora-items-center aurora-rounded-6 focus aurora-border aurora-bg aurora-text-s aurora-placeholder-neutral-500 aurora-text aurora-border-strong hover:aurora-border-extraStrong active:aurora-border-active disabled:aurora-opacity-50 aurora-w-full');
|
|
8
8
|
|
|
9
9
|
exports.inputVariants = inputVariants;
|
|
10
10
|
//# sourceMappingURL=input_variants.js.map
|
|
@@ -21,7 +21,7 @@ var SelectTrigger = /*#__PURE__*/React__default['default'].forwardRef(function (
|
|
|
21
21
|
props = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
22
22
|
return /*#__PURE__*/React__default['default'].createElement(SelectPrimitive.Trigger, _rollupPluginBabelHelpers.objectSpread2({
|
|
23
23
|
ref: ref,
|
|
24
|
-
className: cn.cn('aurora-flex aurora-h-10 aurora-w-full aurora-items-center aurora-justify-between aurora-rounded-8 aurora-border aurora-border-input aurora-bg-neutral-0 aurora-px-3 aurora-py-2 aurora-text-s hover:aurora-border-
|
|
24
|
+
className: cn.cn('aurora-flex aurora-h-10 aurora-w-full aurora-items-center aurora-justify-between aurora-rounded-8 aurora-border aurora-border-input aurora-bg-neutral-0 aurora-px-3 aurora-py-2 aurora-text-s aurora-border-strong hover:aurora-border-extraStrong focus-visible:focus disabled:aurora-cursor-not-allowed disabled:aurora-bg-subtle disabled:aurora-text-subtle-light disabled:aurora-border-subtle [&>span]:aurora-text-ellipsis [&>span]:aurora-whitespace-nowrap [&>span]:aurora-overflow-hidden focus-visible:aurora-border-active -visible:aurora-border-2 data-[state=open]:aurora-border-active data-[state=open]:aurora-border-2', {
|
|
25
25
|
'!aurora-border-danger aurora-border-2': hasError
|
|
26
26
|
}, className)
|
|
27
27
|
}, props), children, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
@@ -112,7 +112,7 @@ var ImagePicker = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(function (_ref, ref)
|
|
|
112
112
|
return /*#__PURE__*/React.createElement("div", {
|
|
113
113
|
className: "aurora-mb-1"
|
|
114
114
|
}, /*#__PURE__*/React.createElement("button", {
|
|
115
|
-
className: cn('aurora-block aurora-w-full aurora-rounded-8 aurora-relative hover:aurora-border-
|
|
115
|
+
className: cn('aurora-block aurora-w-full aurora-rounded-8 aurora-relative aurora-border-strong hover:aurora-border-extraStrong focus-visible:aurora-border-active focus-visible:aurora-outline-none', {
|
|
116
116
|
'aurora-border aurora-border-dashed': !(errors && errors.length > 0 && !isDragOver),
|
|
117
117
|
'aurora-border-2 aurora-border-danger aurora-border-solid hover:aurora-border-danger focus-visible:aurora-border-danger': errors && errors.length > 0,
|
|
118
118
|
'aurora-border-transparent hover:aurora-border-transparent focus-visible:aurora-border-transparent': isDragOver
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { cva } from '../../../../../external/class-variance-authority/dist/index.mjs.js';
|
|
2
2
|
|
|
3
|
-
var inputVariants = cva('aurora-relative aurora-flex aurora-items-center aurora-rounded-6 focus aurora-border aurora-bg aurora-text-s aurora-placeholder-neutral-500 aurora-text hover:aurora-border-
|
|
3
|
+
var inputVariants = cva('aurora-relative aurora-flex aurora-items-center aurora-rounded-6 focus aurora-border aurora-bg aurora-text-s aurora-placeholder-neutral-500 aurora-text aurora-border-strong hover:aurora-border-extraStrong active:aurora-border-active disabled:aurora-opacity-50 aurora-w-full');
|
|
4
4
|
|
|
5
5
|
export { inputVariants };
|
|
6
6
|
//# sourceMappingURL=input_variants.js.map
|
|
@@ -13,7 +13,7 @@ var SelectTrigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
13
13
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
14
14
|
return /*#__PURE__*/React.createElement(Trigger, _objectSpread2({
|
|
15
15
|
ref: ref,
|
|
16
|
-
className: cn('aurora-flex aurora-h-10 aurora-w-full aurora-items-center aurora-justify-between aurora-rounded-8 aurora-border aurora-border-input aurora-bg-neutral-0 aurora-px-3 aurora-py-2 aurora-text-s hover:aurora-border-
|
|
16
|
+
className: cn('aurora-flex aurora-h-10 aurora-w-full aurora-items-center aurora-justify-between aurora-rounded-8 aurora-border aurora-border-input aurora-bg-neutral-0 aurora-px-3 aurora-py-2 aurora-text-s aurora-border-strong hover:aurora-border-extraStrong focus-visible:focus disabled:aurora-cursor-not-allowed disabled:aurora-bg-subtle disabled:aurora-text-subtle-light disabled:aurora-border-subtle [&>span]:aurora-text-ellipsis [&>span]:aurora-whitespace-nowrap [&>span]:aurora-overflow-hidden focus-visible:aurora-border-active -visible:aurora-border-2 data-[state=open]:aurora-border-active data-[state=open]:aurora-border-2', {
|
|
17
17
|
'!aurora-border-danger aurora-border-2': hasError
|
|
18
18
|
}, className)
|
|
19
19
|
}, props), children, /*#__PURE__*/React.createElement("div", {
|