@open-condo/ui 2.42.1 → 2.43.0
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/dist/components/Input/index.d.ts +2 -0
- package/dist/components/Input/index.d.ts.map +1 -1
- package/dist/components/Input/textArea.d.ts +20 -0
- package/dist/components/Input/textArea.d.ts.map +1 -0
- package/dist/index.js +143 -1
- package/dist/style-vars/variables.css +1 -1
- package/dist/style-vars/variables.less +1 -1
- package/dist/styles.css +59 -15
- package/dist/styles.min.css +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Input as InputComponent } from './input';
|
|
2
2
|
import { Password } from './password';
|
|
3
3
|
import { Phone } from './phone';
|
|
4
|
+
import { TextArea } from './textArea';
|
|
4
5
|
import './style.less';
|
|
5
6
|
export type { BaseInputProps, InputProps } from './input';
|
|
6
7
|
export type { PasswordInputProps } from './password';
|
|
@@ -8,6 +9,7 @@ export type { PhoneInputProps } from './phone';
|
|
|
8
9
|
export type InputType = typeof InputComponent & {
|
|
9
10
|
Password: typeof Password;
|
|
10
11
|
Phone: typeof Phone;
|
|
12
|
+
TextArea: typeof TextArea;
|
|
11
13
|
};
|
|
12
14
|
declare const Input: InputType;
|
|
13
15
|
export { Input, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,cAAc,EAAE,MAAM,SAAS,CAAA;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,cAAc,CAAA;AAErB,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACzD,YAAY,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AACpD,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,MAAM,MAAM,SAAS,GAAG,OAAO,cAAc,GAAG;IAC5C,QAAQ,EAAE,OAAO,QAAQ,CAAA;IACzB,KAAK,EAAE,OAAO,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,cAAc,EAAE,MAAM,SAAS,CAAA;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,cAAc,CAAA;AAErB,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACzD,YAAY,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AACpD,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,MAAM,MAAM,SAAS,GAAG,OAAO,cAAc,GAAG;IAC5C,QAAQ,EAAE,OAAO,QAAQ,CAAA;IACzB,KAAK,EAAE,OAAO,KAAK,CAAA;IACnB,QAAQ,EAAE,OAAO,QAAQ,CAAA;CAC5B,CAAA;AAED,QAAA,MAAM,KAAK,EAAqB,SAAS,CAAA;AAKzC,OAAO,EACH,KAAK,GACR,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { TextAreaProps as AntdTextAreaProps } from 'antd/es/input';
|
|
2
|
+
import React, { TextareaHTMLAttributes } from 'react';
|
|
3
|
+
import type { InputRef } from 'antd';
|
|
4
|
+
export declare const TEXTAREA_CLASS_PREFIX = "condo-input";
|
|
5
|
+
export type TextAreaProps = Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'style' | 'size' | 'onResize'> & Pick<AntdTextAreaProps, 'autoSize'> & {
|
|
6
|
+
value?: string;
|
|
7
|
+
isSubmitDisabled?: boolean;
|
|
8
|
+
showCount?: boolean;
|
|
9
|
+
onSubmit?: (value: string) => void;
|
|
10
|
+
bottomPanelUtils?: React.ReactElement[];
|
|
11
|
+
};
|
|
12
|
+
declare const TextArea: React.ForwardRefExoticComponent<Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "size" | "style" | "onResize"> & Pick<AntdTextAreaProps, "autoSize"> & {
|
|
13
|
+
value?: string;
|
|
14
|
+
isSubmitDisabled?: boolean;
|
|
15
|
+
showCount?: boolean;
|
|
16
|
+
onSubmit?: (value: string) => void;
|
|
17
|
+
bottomPanelUtils?: React.ReactElement[];
|
|
18
|
+
} & React.RefAttributes<InputRef>>;
|
|
19
|
+
export { TextArea };
|
|
20
|
+
//# sourceMappingURL=textArea.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textArea.d.ts","sourceRoot":"","sources":["../../../src/components/Input/textArea.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,IAAI,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAElE,OAAO,KAAK,EAAE,EAAmC,sBAAsB,EAAE,MAAM,OAAO,CAAA;AAMtF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAA;AAIpC,eAAO,MAAM,qBAAqB,gBAAgB,CAAA;AAElD,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,UAAU,CAAC,GAC5G,IAAI,CAAC,iBAAiB,EAAE,UAAU,CAAC,GAAG;IAClC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,gBAAgB,CAAC,EAAE,KAAK,CAAC,YAAY,EAAE,CAAA;CAC1C,CAAA;AAED,QAAA,MAAM,QAAQ;YAPF,MAAM;uBACK,OAAO;gBACd,OAAO;eACR,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;uBACf,KAAK,CAAC,YAAY,EAAE;kCAkIzC,CAAA;AAIF,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -51786,7 +51786,7 @@ var isObject_default = /*#__PURE__*/__webpack_require__.n(isObject);
|
|
|
51786
51786
|
var isString = __webpack_require__(8138);
|
|
51787
51787
|
var isString_default = /*#__PURE__*/__webpack_require__.n(isString);
|
|
51788
51788
|
;// CONCATENATED MODULE: ./package.json
|
|
51789
|
-
var package_namespaceObject = {"rE":"2.
|
|
51789
|
+
var package_namespaceObject = {"rE":"2.43.0"};
|
|
51790
51790
|
;// CONCATENATED MODULE: ./src/components/_utils/analytics.ts
|
|
51791
51791
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
51792
51792
|
|
|
@@ -69782,14 +69782,156 @@ var Phone = function Phone(props) {
|
|
|
69782
69782
|
|
|
69783
69783
|
Phone.displayName = 'PhoneInput';
|
|
69784
69784
|
|
|
69785
|
+
;// CONCATENATED MODULE: ./src/components/Input/textArea.tsx
|
|
69786
|
+
var textArea_excluded = ["className", "disabled", "onSubmit", "autoFocus", "maxLength", "showCount", "isSubmitDisabled", "value", "bottomPanelUtils", "onChange", "autoSize"];
|
|
69787
|
+
|
|
69788
|
+
function textArea_extends() { textArea_extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return textArea_extends.apply(this, arguments); }
|
|
69789
|
+
|
|
69790
|
+
function textArea_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
69791
|
+
|
|
69792
|
+
function textArea_slicedToArray(arr, i) { return textArea_arrayWithHoles(arr) || textArea_iterableToArrayLimit(arr, i) || textArea_unsupportedIterableToArray(arr, i) || textArea_nonIterableRest(); }
|
|
69793
|
+
|
|
69794
|
+
function textArea_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
69795
|
+
|
|
69796
|
+
function textArea_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return textArea_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return textArea_arrayLikeToArray(o, minLen); }
|
|
69797
|
+
|
|
69798
|
+
function textArea_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
69799
|
+
|
|
69800
|
+
function textArea_iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
69801
|
+
|
|
69802
|
+
function textArea_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
69803
|
+
|
|
69804
|
+
function textArea_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = textArea_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
69805
|
+
|
|
69806
|
+
function textArea_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
69807
|
+
|
|
69808
|
+
|
|
69809
|
+
|
|
69810
|
+
|
|
69811
|
+
|
|
69812
|
+
|
|
69813
|
+
var DefaultTextArea = input.TextArea;
|
|
69814
|
+
var TEXTAREA_CLASS_PREFIX = 'condo-input';
|
|
69815
|
+
var textArea_TextArea = /*#__PURE__*/(0,external_react_.forwardRef)(function (props, ref) {
|
|
69816
|
+
var _classNames, _classNames2;
|
|
69817
|
+
|
|
69818
|
+
var className = props.className,
|
|
69819
|
+
disabled = props.disabled,
|
|
69820
|
+
onSubmit = props.onSubmit,
|
|
69821
|
+
autoFocus = props.autoFocus,
|
|
69822
|
+
_props$maxLength = props.maxLength,
|
|
69823
|
+
maxLength = _props$maxLength === void 0 ? 1000 : _props$maxLength,
|
|
69824
|
+
_props$showCount = props.showCount,
|
|
69825
|
+
showCount = _props$showCount === void 0 ? true : _props$showCount,
|
|
69826
|
+
isSubmitDisabled = props.isSubmitDisabled,
|
|
69827
|
+
propsValue = props.value,
|
|
69828
|
+
_props$bottomPanelUti = props.bottomPanelUtils,
|
|
69829
|
+
bottomPanelUtils = _props$bottomPanelUti === void 0 ? [] : _props$bottomPanelUti,
|
|
69830
|
+
propsOnChange = props.onChange,
|
|
69831
|
+
_props$autoSize = props.autoSize,
|
|
69832
|
+
autoSize = _props$autoSize === void 0 ? {
|
|
69833
|
+
minRows: 1
|
|
69834
|
+
} : _props$autoSize,
|
|
69835
|
+
restProps = textArea_objectWithoutProperties(props, textArea_excluded);
|
|
69836
|
+
|
|
69837
|
+
var _useState = (0,external_react_.useState)(''),
|
|
69838
|
+
_useState2 = textArea_slicedToArray(_useState, 2),
|
|
69839
|
+
internalValue = _useState2[0],
|
|
69840
|
+
setInternalValue = _useState2[1];
|
|
69841
|
+
|
|
69842
|
+
var _useState3 = (0,external_react_.useState)(false),
|
|
69843
|
+
_useState4 = textArea_slicedToArray(_useState3, 2),
|
|
69844
|
+
isFocused = _useState4[0],
|
|
69845
|
+
setIsFocused = _useState4[1];
|
|
69846
|
+
|
|
69847
|
+
(0,external_react_.useEffect)(function () {
|
|
69848
|
+
if (propsValue !== undefined) {
|
|
69849
|
+
setInternalValue(propsValue);
|
|
69850
|
+
}
|
|
69851
|
+
}, [propsValue]);
|
|
69852
|
+
|
|
69853
|
+
var handleChange = function handleChange(e) {
|
|
69854
|
+
var newValue = e.target.value;
|
|
69855
|
+
|
|
69856
|
+
if (propsValue === undefined) {
|
|
69857
|
+
setInternalValue(newValue);
|
|
69858
|
+
}
|
|
69859
|
+
|
|
69860
|
+
if (propsOnChange) {
|
|
69861
|
+
propsOnChange(e);
|
|
69862
|
+
}
|
|
69863
|
+
};
|
|
69864
|
+
|
|
69865
|
+
var handleFocus = function handleFocus(e) {
|
|
69866
|
+
setIsFocused(true);
|
|
69867
|
+
if (restProps.onFocus) restProps.onFocus(e);
|
|
69868
|
+
};
|
|
69869
|
+
|
|
69870
|
+
var handleBlur = function handleBlur(e) {
|
|
69871
|
+
setIsFocused(false);
|
|
69872
|
+
if (restProps.onBlur) restProps.onBlur(e);
|
|
69873
|
+
};
|
|
69874
|
+
|
|
69875
|
+
var currentValue = propsValue !== undefined ? propsValue : internalValue;
|
|
69876
|
+
var characterCount = "".concat(currentValue.length, "/").concat(maxLength);
|
|
69877
|
+
var hasBottomPanelUtils = bottomPanelUtils.length > 0;
|
|
69878
|
+
var shouldShowRightPanel = showCount || onSubmit;
|
|
69879
|
+
var showBottomPanel = hasBottomPanelUtils || shouldShowRightPanel;
|
|
69880
|
+
var textareaClassName = node_modules_classnames_default()("".concat(TEXTAREA_CLASS_PREFIX, "-textarea"), (_classNames = {}, textArea_defineProperty(_classNames, "".concat(TEXTAREA_CLASS_PREFIX, "-disabled"), disabled), textArea_defineProperty(_classNames, "".concat(TEXTAREA_CLASS_PREFIX, "-show-bottom-panel"), showBottomPanel), textArea_defineProperty(_classNames, "".concat(TEXTAREA_CLASS_PREFIX, "-focused"), autoFocus), _classNames), className);
|
|
69881
|
+
var textAreaWrapperClassName = node_modules_classnames_default()("".concat(TEXTAREA_CLASS_PREFIX, " ").concat(TEXTAREA_CLASS_PREFIX, "-textarea-wrapper"), (_classNames2 = {}, textArea_defineProperty(_classNames2, "".concat(TEXTAREA_CLASS_PREFIX, "-wrapper-focused"), isFocused), textArea_defineProperty(_classNames2, "".concat(TEXTAREA_CLASS_PREFIX, "-disabled"), disabled), _classNames2));
|
|
69882
|
+
return /*#__PURE__*/external_react_default().createElement("div", {
|
|
69883
|
+
className: textAreaWrapperClassName
|
|
69884
|
+
}, /*#__PURE__*/external_react_default().createElement(DefaultTextArea, textArea_extends({}, restProps, {
|
|
69885
|
+
ref: ref,
|
|
69886
|
+
prefixCls: TEXTAREA_CLASS_PREFIX,
|
|
69887
|
+
className: textareaClassName,
|
|
69888
|
+
disabled: disabled,
|
|
69889
|
+
onFocus: handleFocus,
|
|
69890
|
+
onBlur: handleBlur,
|
|
69891
|
+
autoSize: autoSize,
|
|
69892
|
+
maxLength: maxLength,
|
|
69893
|
+
showCount: false,
|
|
69894
|
+
value: currentValue,
|
|
69895
|
+
onChange: handleChange,
|
|
69896
|
+
autoFocus: autoFocus
|
|
69897
|
+
})), showBottomPanel && /*#__PURE__*/external_react_default().createElement("span", {
|
|
69898
|
+
className: "".concat(TEXTAREA_CLASS_PREFIX, "-bottom-panel")
|
|
69899
|
+
}, hasBottomPanelUtils && /*#__PURE__*/external_react_default().createElement("span", {
|
|
69900
|
+
className: "".concat(TEXTAREA_CLASS_PREFIX, "-utils")
|
|
69901
|
+
}, bottomPanelUtils.map(function (util, index) {
|
|
69902
|
+
return /*#__PURE__*/external_react_default().createElement((external_react_default()).Fragment, {
|
|
69903
|
+
key: index
|
|
69904
|
+
}, /*#__PURE__*/external_react_default().cloneElement(util, {
|
|
69905
|
+
disabled: util.props.disabled || disabled
|
|
69906
|
+
}));
|
|
69907
|
+
})), shouldShowRightPanel && /*#__PURE__*/external_react_default().createElement("span", {
|
|
69908
|
+
className: "".concat(TEXTAREA_CLASS_PREFIX, "-bottom-panel-right")
|
|
69909
|
+
}, showCount && /*#__PURE__*/external_react_default().createElement("span", {
|
|
69910
|
+
className: "".concat(TEXTAREA_CLASS_PREFIX, "-count")
|
|
69911
|
+
}, characterCount), onSubmit && /*#__PURE__*/external_react_default().createElement(Button_Button, {
|
|
69912
|
+
disabled: disabled || isSubmitDisabled,
|
|
69913
|
+
type: "accent",
|
|
69914
|
+
size: "medium",
|
|
69915
|
+
onClick: function onClick() {
|
|
69916
|
+
return onSubmit(currentValue);
|
|
69917
|
+
},
|
|
69918
|
+
icon: /*#__PURE__*/external_react_default().createElement(dist.ArrowUp, {
|
|
69919
|
+
size: "small"
|
|
69920
|
+
})
|
|
69921
|
+
}))));
|
|
69922
|
+
});
|
|
69923
|
+
textArea_TextArea.displayName = 'TextArea';
|
|
69924
|
+
|
|
69785
69925
|
;// CONCATENATED MODULE: ./src/components/Input/index.ts
|
|
69786
69926
|
|
|
69787
69927
|
|
|
69788
69928
|
|
|
69789
69929
|
|
|
69930
|
+
|
|
69790
69931
|
var components_Input_Input = Input_input_Input;
|
|
69791
69932
|
components_Input_Input.Password = password_Password;
|
|
69792
69933
|
components_Input_Input.Phone = Phone;
|
|
69934
|
+
components_Input_Input.TextArea = textArea_TextArea;
|
|
69793
69935
|
|
|
69794
69936
|
;// CONCATENATED MODULE: ../../node_modules/antd/es/locale-provider/context.js
|
|
69795
69937
|
|
package/dist/styles.css
CHANGED
|
@@ -9098,19 +9098,30 @@ textarea.condo-input {
|
|
|
9098
9098
|
background-color: #e1e5ed;
|
|
9099
9099
|
border-radius: 0 4px 4px 0;
|
|
9100
9100
|
}
|
|
9101
|
+
.condo-input-affix-wrapper {
|
|
9102
|
+
padding: 11px;
|
|
9103
|
+
}
|
|
9101
9104
|
.condo-input:not(.condo-input-affix-wrapper .condo-input),
|
|
9102
9105
|
.condo-input-affix-wrapper {
|
|
9103
9106
|
box-sizing: border-box;
|
|
9104
9107
|
width: 100%;
|
|
9108
|
+
border-radius: 8px;
|
|
9109
|
+
}
|
|
9110
|
+
.condo-input:not(.condo-input-affix-wrapper .condo-input):not(textarea):not(.condo-input-textarea-wrapper) {
|
|
9105
9111
|
height: 48px;
|
|
9106
9112
|
border: 1px solid #d0d3e5;
|
|
9107
|
-
border-radius: 8px;
|
|
9108
9113
|
}
|
|
9109
|
-
.condo-input-affix-wrapper
|
|
9110
|
-
|
|
9114
|
+
.condo-input:not(.condo-input-affix-wrapper .condo-input):not(.condo-input-disabled):not(.condo-input-phone-disabled .condo-input):hover,
|
|
9115
|
+
.condo-input-affix-wrapper:not(.condo-input-affix-wrapper-disabled):hover,
|
|
9116
|
+
.condo-input:not(.condo-input-affix-wrapper .condo-input):not(.condo-input-disabled):not(.condo-input-phone-disabled .condo-input):focus,
|
|
9117
|
+
.condo-input-affix-wrapper:not(.condo-input-affix-wrapper-disabled):focus,
|
|
9118
|
+
.condo-input:not(.condo-input-affix-wrapper .condo-input):not(.condo-input-disabled):not(.condo-input-phone-disabled .condo-input):active,
|
|
9119
|
+
.condo-input-affix-wrapper:not(.condo-input-affix-wrapper-disabled):active {
|
|
9120
|
+
border-color: #707695;
|
|
9121
|
+
box-shadow: none;
|
|
9111
9122
|
}
|
|
9112
9123
|
.condo-input-focused,
|
|
9113
|
-
.condo-input-
|
|
9124
|
+
.condo-input-wrapper-focused:not(:disabled) {
|
|
9114
9125
|
border-color: #707695;
|
|
9115
9126
|
box-shadow: none;
|
|
9116
9127
|
}
|
|
@@ -9141,15 +9152,6 @@ textarea.condo-input {
|
|
|
9141
9152
|
.condo-input-phone .country-list .country .dial-code {
|
|
9142
9153
|
color: #707695;
|
|
9143
9154
|
}
|
|
9144
|
-
.condo-input:not(.condo-input-affix-wrapper .condo-input):not(.condo-input-disabled):not(.condo-input-phone-disabled .condo-input):hover,
|
|
9145
|
-
.condo-input-affix-wrapper:not(.condo-input-affix-wrapper-disabled):hover,
|
|
9146
|
-
.condo-input:not(.condo-input-affix-wrapper .condo-input):not(.condo-input-disabled):not(.condo-input-phone-disabled .condo-input):focus,
|
|
9147
|
-
.condo-input-affix-wrapper:not(.condo-input-affix-wrapper-disabled):focus,
|
|
9148
|
-
.condo-input:not(.condo-input-affix-wrapper .condo-input):not(.condo-input-disabled):not(.condo-input-phone-disabled .condo-input):active,
|
|
9149
|
-
.condo-input-affix-wrapper:not(.condo-input-affix-wrapper-disabled):active {
|
|
9150
|
-
border-color: #707695;
|
|
9151
|
-
box-shadow: none;
|
|
9152
|
-
}
|
|
9153
9155
|
.condo-input::-moz-placeholder {
|
|
9154
9156
|
color: #707695;
|
|
9155
9157
|
margin: 0;
|
|
@@ -9179,14 +9181,16 @@ textarea.condo-input {
|
|
|
9179
9181
|
}
|
|
9180
9182
|
.condo-input-affix-wrapper-disabled,
|
|
9181
9183
|
.condo-input-disabled[disabled],
|
|
9182
|
-
.condo-input[disabled]
|
|
9184
|
+
.condo-input[disabled],
|
|
9185
|
+
.condo-input-disabled {
|
|
9183
9186
|
color: #222;
|
|
9184
9187
|
background-color: #fff;
|
|
9185
9188
|
opacity: 0.5;
|
|
9186
9189
|
}
|
|
9187
9190
|
.condo-input-affix-wrapper-disabled:hover,
|
|
9188
9191
|
.condo-input-disabled[disabled]:hover,
|
|
9189
|
-
.condo-input[disabled]:hover
|
|
9192
|
+
.condo-input[disabled]:hover,
|
|
9193
|
+
.condo-input-disabled:hover {
|
|
9190
9194
|
border-color: #d0d3e5;
|
|
9191
9195
|
}
|
|
9192
9196
|
.condo-input-affix-wrapper-disabled > .condo-input-disabled[disabled] {
|
|
@@ -9212,6 +9216,46 @@ textarea.condo-input {
|
|
|
9212
9216
|
.condo-input-clear-icon:hover {
|
|
9213
9217
|
color: #222;
|
|
9214
9218
|
}
|
|
9219
|
+
.condo-input.condo-input-textarea-wrapper > .condo-input-textarea {
|
|
9220
|
+
height: auto;
|
|
9221
|
+
padding: 12px;
|
|
9222
|
+
border: none;
|
|
9223
|
+
}
|
|
9224
|
+
.condo-input.condo-input-textarea-wrapper {
|
|
9225
|
+
position: relative;
|
|
9226
|
+
height: -webkit-fit-content;
|
|
9227
|
+
height: -moz-fit-content;
|
|
9228
|
+
height: fit-content;
|
|
9229
|
+
padding: 0;
|
|
9230
|
+
}
|
|
9231
|
+
.condo-input-utils {
|
|
9232
|
+
display: flex;
|
|
9233
|
+
gap: 12px;
|
|
9234
|
+
align-items: center;
|
|
9235
|
+
max-height: 20px;
|
|
9236
|
+
}
|
|
9237
|
+
.condo-input-count {
|
|
9238
|
+
color: #707695;
|
|
9239
|
+
font-size: 12px;
|
|
9240
|
+
font-family: "Noto Sans Mono", monospace;
|
|
9241
|
+
}
|
|
9242
|
+
.condo-input-bottom-panel {
|
|
9243
|
+
position: relative;
|
|
9244
|
+
left: 12px;
|
|
9245
|
+
display: flex;
|
|
9246
|
+
flex-direction: row;
|
|
9247
|
+
align-items: center;
|
|
9248
|
+
width: calc(100% - 12px * 2);
|
|
9249
|
+
max-height: 44px;
|
|
9250
|
+
padding: 8px 0 12px;
|
|
9251
|
+
background-color: #fff;
|
|
9252
|
+
}
|
|
9253
|
+
.condo-input-bottom-panel-right {
|
|
9254
|
+
display: flex;
|
|
9255
|
+
gap: 16px;
|
|
9256
|
+
align-items: center;
|
|
9257
|
+
margin-left: auto;
|
|
9258
|
+
}
|
|
9215
9259
|
|
|
9216
9260
|
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
9217
9261
|
/* stylelint-disable no-duplicate-selectors */
|