@dreamcommerce/aurora 3.1.61-3 → 3.1.62-1

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.
@@ -10,7 +10,7 @@ var divider_constants = require('./divider_constants.js');
10
10
  var dividerVariants = index.cva('', {
11
11
  variants: {
12
12
  thickness: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, divider_constants.DIVIDER_THICKNESS['1'], ''), divider_constants.DIVIDER_THICKNESS['2'], ''), divider_constants.DIVIDER_THICKNESS['4'], ''), divider_constants.DIVIDER_THICKNESS['8'], ''),
13
- variant: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, divider_constants.DIVIDER_VARIANTS.default, "aurora-bg-neutral-200"), divider_constants.DIVIDER_VARIANTS.subtle, "aurora-bg-neutral-100"), divider_constants.DIVIDER_VARIANTS.strong, 'aurora-bg--neutral-500'), divider_constants.DIVIDER_VARIANTS.transparent, 'aurora-bg-transparent'),
13
+ variant: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, divider_constants.DIVIDER_VARIANTS.default, "aurora-bg-neutral-200"), divider_constants.DIVIDER_VARIANTS.subtle, "aurora-bg-neutral-100"), divider_constants.DIVIDER_VARIANTS.strong, 'aurora-bg-neutral-500'), divider_constants.DIVIDER_VARIANTS.transparent, 'aurora-bg-transparent'),
14
14
  orientation: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, divider_constants.DIVIDER_ORIENTATION.horizontal, 'aurora-w-full'), divider_constants.DIVIDER_ORIENTATION.vertical, 'aurora-h-full')
15
15
  },
16
16
  compoundVariants: [{
@@ -11,7 +11,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
11
11
 
12
12
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
13
13
 
14
- var _excluded = ["preElement", "postElement", "errors", "className", "inputClassName", "id", "name", "value", "defaultValue", "placeholder", "disabled", "readOnly", "type", "hasCursorPointer", "height", "fontSize", "onChange", "onKeyDown", "onKeyUp"];
14
+ var _excluded = ["preElement", "postElement", "errors", "className", "inputClassName", "id", "name", "value", "defaultValue", "placeholder", "disabled", "readOnly", "type", "hasCursorPointer", "onChange", "onKeyDown", "onKeyUp"];
15
15
  var Input = /*#__PURE__*/React__default['default'].forwardRef(function (_ref, ref) {
16
16
  var preElement = _ref.preElement,
17
17
  postElement = _ref.postElement,
@@ -28,8 +28,6 @@ var Input = /*#__PURE__*/React__default['default'].forwardRef(function (_ref, re
28
28
  readOnly = _ref.readOnly,
29
29
  type = _ref.type,
30
30
  hasCursorPointer = _ref.hasCursorPointer,
31
- height = _ref.height,
32
- fontSize = _ref.fontSize,
33
31
  onChange = _ref.onChange,
34
32
  onKeyDown = _ref.onKeyDown,
35
33
  onKeyUp = _ref.onKeyUp,
@@ -57,11 +55,7 @@ var Input = /*#__PURE__*/React__default['default'].forwardRef(function (_ref, re
57
55
  type: type,
58
56
  className: cn.cn(input_variants.inputElementVariants(), {
59
57
  'aurora-cursor-pointer': hasCursorPointer
60
- }, inputClassName),
61
- style: {
62
- height: height,
63
- fontSize: fontSize
64
- }
58
+ }, inputClassName)
65
59
  })), postElement && /*#__PURE__*/React__default['default'].createElement("div", {
66
60
  className: "aurora-flex aurora-h-full aurora-right-0 aurora-pr-2 aurora-items-center"
67
61
  }, postElement));
@@ -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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -6,7 +6,7 @@ import { DIVIDER_THICKNESS, DIVIDER_VARIANTS, DIVIDER_ORIENTATION } from './divi
6
6
  var dividerVariants = cva('', {
7
7
  variants: {
8
8
  thickness: _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, DIVIDER_THICKNESS['1'], ''), DIVIDER_THICKNESS['2'], ''), DIVIDER_THICKNESS['4'], ''), DIVIDER_THICKNESS['8'], ''),
9
- variant: _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, DIVIDER_VARIANTS.default, "aurora-bg-neutral-200"), DIVIDER_VARIANTS.subtle, "aurora-bg-neutral-100"), DIVIDER_VARIANTS.strong, 'aurora-bg--neutral-500'), DIVIDER_VARIANTS.transparent, 'aurora-bg-transparent'),
9
+ variant: _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, DIVIDER_VARIANTS.default, "aurora-bg-neutral-200"), DIVIDER_VARIANTS.subtle, "aurora-bg-neutral-100"), DIVIDER_VARIANTS.strong, 'aurora-bg-neutral-500'), DIVIDER_VARIANTS.transparent, 'aurora-bg-transparent'),
10
10
  orientation: _defineProperty(_defineProperty({}, DIVIDER_ORIENTATION.horizontal, 'aurora-w-full'), DIVIDER_ORIENTATION.vertical, 'aurora-h-full')
11
11
  },
12
12
  compoundVariants: [{
@@ -3,7 +3,7 @@ import { objectWithoutProperties as _objectWithoutProperties, objectSpread2 as _
3
3
  import { cn } from '../../utilities/cn.js';
4
4
  import { inputVariants, inputElementVariants } from './input_variants.js';
5
5
 
6
- var _excluded = ["preElement", "postElement", "errors", "className", "inputClassName", "id", "name", "value", "defaultValue", "placeholder", "disabled", "readOnly", "type", "hasCursorPointer", "height", "fontSize", "onChange", "onKeyDown", "onKeyUp"];
6
+ var _excluded = ["preElement", "postElement", "errors", "className", "inputClassName", "id", "name", "value", "defaultValue", "placeholder", "disabled", "readOnly", "type", "hasCursorPointer", "onChange", "onKeyDown", "onKeyUp"];
7
7
  var Input = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
8
8
  var preElement = _ref.preElement,
9
9
  postElement = _ref.postElement,
@@ -20,8 +20,6 @@ var Input = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
20
20
  readOnly = _ref.readOnly,
21
21
  type = _ref.type,
22
22
  hasCursorPointer = _ref.hasCursorPointer,
23
- height = _ref.height,
24
- fontSize = _ref.fontSize,
25
23
  onChange = _ref.onChange,
26
24
  onKeyDown = _ref.onKeyDown,
27
25
  onKeyUp = _ref.onKeyUp,
@@ -49,11 +47,7 @@ var Input = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
49
47
  type: type,
50
48
  className: cn(inputElementVariants(), {
51
49
  'aurora-cursor-pointer': hasCursorPointer
52
- }, inputClassName),
53
- style: {
54
- height: height,
55
- fontSize: fontSize
56
- }
50
+ }, inputClassName)
57
51
  })), postElement && /*#__PURE__*/React__default.createElement("div", {
58
52
  className: "aurora-flex aurora-h-full aurora-right-0 aurora-pr-2 aurora-items-center"
59
53
  }, postElement));
@@ -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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -6,7 +6,5 @@ export interface TInputProps extends React.InputHTMLAttributes<HTMLInputElement>
6
6
  hasCursorPointer?: boolean;
7
7
  colorName?: string;
8
8
  primary?: boolean;
9
- height?: React.CSSProperties['height'];
10
- fontSize?: React.CSSProperties['fontSize'];
11
9
  inputClassName?: string;
12
10
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@dreamcommerce/aurora",
3
3
  "packageManager": "yarn@3.2.0",
4
4
  "sideEffects": false,
5
- "version": "3.1.61-3",
5
+ "version": "3.1.62-1",
6
6
  "description": "aurora",
7
7
  "author": "zefirek",
8
8
  "license": "MIT",