@salutejs/plasma-new-hope 0.337.1-canary.2272.18221260151.0 → 0.337.1-canary.2274.18270441026.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/cjs/_virtual/_rollupPluginBabelHelpers.js +8 -0
- package/cjs/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
- package/cjs/index.js +2 -0
- package/cjs/index.js.map +1 -1
- package/cjs/mixins/applyDisabled.js +22 -0
- package/cjs/mixins/applyDisabled.js.map +1 -0
- package/emotion/cjs/examples/components/Combobox/Combobox.js +15 -0
- package/emotion/cjs/mixins/applyDisabled.js +47 -0
- package/emotion/cjs/mixins/index.js +1 -0
- package/emotion/es/mixins/applyDisabled.js +39 -0
- package/emotion/es/mixins/index.js +1 -0
- package/es/_virtual/_rollupPluginBabelHelpers.js +8 -1
- package/es/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
- package/es/index.js +1 -0
- package/es/index.js.map +1 -1
- package/es/mixins/applyDisabled.js +18 -0
- package/es/mixins/applyDisabled.js.map +1 -0
- package/package.json +2 -2
- package/styled-components/cjs/examples/components/Combobox/Combobox.js +15 -0
- package/styled-components/cjs/mixins/applyDisabled.js +23 -0
- package/styled-components/cjs/mixins/index.js +1 -0
- package/styled-components/es/mixins/applyDisabled.js +15 -0
- package/styled-components/es/mixins/index.js +1 -0
- package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts +1 -1
- package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +8 -8
- package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.d.ts +1 -1
- package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +8 -8
- package/types/components/DatePicker/RangeDate/RangeDate.d.ts +6 -6
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +8 -8
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +6 -6
- package/types/components/Radiobox/Radiobox.d.ts +2 -2
- package/types/components/Range/Range.styles.d.ts +8 -8
- package/types/components/Select/ui/Target/Target.d.ts +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +8 -8
- package/types/components/Select/utils/getView.d.ts +1 -1
- package/types/components/Slider/components/Double/Double.styles.d.ts +8 -8
- package/types/components/Table/ui/HeadCell/ui/Filter/Filter.styles.d.ts +6 -6
- package/types/components/TimePicker/TimePicker.styles.d.ts +8 -8
- package/types/examples/components/Autocomplete/Autocomplete.d.ts +8 -8
- package/types/examples/components/Combobox/Legacy/Combobox.d.ts +2 -2
- package/types/examples/components/DatePicker/DatePicker.d.ts +3 -3
- package/types/examples/components/Mask/Mask.d.ts +8 -8
- package/types/examples/components/NumberFormat/NumberFormat.d.ts +8 -8
- package/types/examples/components/NumberInput/NumberInput.d.ts +2 -2
- package/types/examples/components/Radiobox/Radiobox.d.ts +2 -2
- package/types/examples/components/Select/Select.d.ts +6 -6
- package/types/examples/components/TextArea/TextArea.d.ts +8 -8
- package/types/examples/components/TextField/TextField.d.ts +8 -8
- package/types/examples/components/Tokens/Colors/Colors.styles.d.ts +1 -1
- package/types/examples/components/Tokens/Typography/Typography.styles.d.ts +1 -1
- package/types/mixins/applyDisabled.d.ts +14 -0
- package/types/mixins/applyDisabled.d.ts.map +1 -0
- package/types/mixins/index.d.ts +1 -0
- package/types/mixins/index.d.ts.map +1 -1
- package/types/types/InputHTMLAttributes.d.ts +3 -9
- package/types/types/InputHTMLAttributes.d.ts.map +1 -1
- package/types/types/TextareaHTMLAttributes.d.ts +3 -9
- package/types/types/TextareaHTMLAttributes.d.ts.map +1 -1
|
@@ -498,6 +498,13 @@ function _regeneratorRuntime() {
|
|
|
498
498
|
function _slicedToArray(r, e) {
|
|
499
499
|
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
500
500
|
}
|
|
501
|
+
function _taggedTemplateLiteral(e, t) {
|
|
502
|
+
return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
|
|
503
|
+
raw: {
|
|
504
|
+
value: Object.freeze(t)
|
|
505
|
+
}
|
|
506
|
+
}));
|
|
507
|
+
}
|
|
501
508
|
function _toArray(r) {
|
|
502
509
|
return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest();
|
|
503
510
|
}
|
|
@@ -553,6 +560,7 @@ exports.objectWithoutProperties = _objectWithoutProperties;
|
|
|
553
560
|
exports.objectWithoutPropertiesLoose = _objectWithoutPropertiesLoose;
|
|
554
561
|
exports.regeneratorRuntime = _regeneratorRuntime;
|
|
555
562
|
exports.slicedToArray = _slicedToArray;
|
|
563
|
+
exports.taggedTemplateLiteral = _taggedTemplateLiteral;
|
|
556
564
|
exports.toArray = _toArray;
|
|
557
565
|
exports.toConsumableArray = _toConsumableArray;
|
|
558
566
|
exports.toPrimitive = _toPrimitive;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_rollupPluginBabelHelpers.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"_rollupPluginBabelHelpers.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/cjs/index.js
CHANGED
|
@@ -15,6 +15,7 @@ var addFocus = require('./mixins/addFocus.js');
|
|
|
15
15
|
var typography = require('./mixins/typography.js');
|
|
16
16
|
var applyRoundness = require('./mixins/applyRoundness.js');
|
|
17
17
|
var applySkeletonGradient = require('./mixins/applySkeletonGradient.js');
|
|
18
|
+
var applyDisabled = require('./mixins/applyDisabled.js');
|
|
18
19
|
var applyHidden = require('./mixins/applyHidden.js');
|
|
19
20
|
var createApplyPaperMixin = require('./mixins/createApplyPaperMixin.js');
|
|
20
21
|
var common = require('./engines/common.js');
|
|
@@ -345,6 +346,7 @@ exports.getRoundness = applyRoundness.getRoundness;
|
|
|
345
346
|
exports.radiuses = applyRoundness.radiuses;
|
|
346
347
|
exports.applySkeletonGradient = applySkeletonGradient.applySkeletonGradient;
|
|
347
348
|
exports.getSkeletonColor = applySkeletonGradient.getSkeletonColor;
|
|
349
|
+
exports.applyDisabled = applyDisabled.applyDisabled;
|
|
348
350
|
exports.applyHidden = applyHidden.applyHidden;
|
|
349
351
|
exports.createApplyPaperMixin = createApplyPaperMixin.createApplyPaperMixin;
|
|
350
352
|
exports.component = common.component;
|
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var _rollupPluginBabelHelpers = require('../_virtual/_rollupPluginBabelHelpers.js');
|
|
6
|
+
var styledComponents = require('styled-components');
|
|
7
|
+
|
|
8
|
+
var _templateObject, _templateObject2;
|
|
9
|
+
// TODO: #2033
|
|
10
|
+
var disabledCss = /*#__PURE__*/styledComponents.css(_templateObject || (_templateObject = /*#__PURE__*/_rollupPluginBabelHelpers.taggedTemplateLiteral(["\n opacity: 0.4;\n cursor: not-allowed;\n\n /* stylelint-disable-next-line selector-nested-pattern */\n &:hover,\n &:active {\n transform: none;\n }\n"])));
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Миксин неактивной кнопки
|
|
14
|
+
*/
|
|
15
|
+
var applyDisabled = function applyDisabled(_ref) {
|
|
16
|
+
var disabled = _ref.disabled,
|
|
17
|
+
$disabled = _ref.$disabled;
|
|
18
|
+
return styledComponents.css(_templateObject2 || (_templateObject2 = _rollupPluginBabelHelpers.taggedTemplateLiteral(["\n &:disabled {\n ", "\n }\n\n ", "\n"])), disabledCss, (disabled || $disabled) && disabledCss);
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
exports.applyDisabled = applyDisabled;
|
|
22
|
+
//# sourceMappingURL=applyDisabled.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applyDisabled.js","sources":["../../src/mixins/applyDisabled.ts"],"sourcesContent":["import { css, InterpolationFunction } from 'styled-components';\n\nexport interface DisabledProps {\n /**\n * Компонент неактивен\n */\n disabled?: boolean;\n}\n\n// TODO: #2033\nconst disabledCss = css`\n opacity: 0.4;\n cursor: not-allowed;\n\n /* stylelint-disable-next-line selector-nested-pattern */\n &:hover,\n &:active {\n transform: none;\n }\n`;\n\n/**\n * Миксин неактивной кнопки\n */\nexport const applyDisabled: InterpolationFunction<DisabledProps & { $disabled?: boolean }> = ({\n disabled,\n $disabled,\n}) => css`\n &:disabled {\n ${disabledCss}\n }\n\n ${(disabled || $disabled) && disabledCss}\n`;\n"],"names":["disabledCss","css","_templateObject","_taggedTemplateLiteral","applyDisabled","_ref","disabled","$disabled","_templateObject2"],"mappings":";;;;;;;;AASA;AACA,IAAMA,WAAW,gBAAGC,oBAAG,CAAAC,eAAA,KAAAA,eAAA,gBAAAC,+CAAA,CAStB,CAAA,iLAAA,CAAA,CAAA,CAAA,CAAA,CAAA;;AAED;AACA;AACA;IACaC,aAA6E,GAAG,SAAhFA,aAA6EA,CAAAC,IAAA,EAAA;AAAA,EAAA,IACtFC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IACRC,SAAS,GAAAF,IAAA,CAATE,SAAS,CAAA;AAAA,EAAA,OACPN,oBAAG,CAAAO,gBAAA,KAAAA,gBAAA,GAAAL,+CAAA,CAECH,CAAAA,8BAAAA,EAAAA,iBAAAA,EAAAA,IAAAA,CAAAA,CAAAA,CAAAA,EAAAA,WAAW,EAGf,CAACM,QAAQ,IAAIC,SAAS,KAAKP,WAAW,CAAA,CAAA;AAAA;;;;"}
|
|
@@ -1 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "Combobox", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return Combobox;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
var _engines = require("../../../engines");
|
|
12
|
+
var _ = require("../../..");
|
|
13
|
+
var _Comboboxconfig = require("./Combobox.config");
|
|
14
|
+
var mergedConfig = (0, _engines.mergeConfig)(_.comboboxNewConfig, _Comboboxconfig.config);
|
|
15
|
+
var ComboboxComponent = (0, _engines.component)(mergedConfig);
|
|
16
|
+
var Combobox = ComboboxComponent;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "applyDisabled", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return applyDisabled;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
var _styledcomponents = require("styled-components");
|
|
12
|
+
function _tagged_template_literal(strings, raw) {
|
|
13
|
+
if (!raw) {
|
|
14
|
+
raw = strings.slice(0);
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperties(strings, {
|
|
17
|
+
raw: {
|
|
18
|
+
value: Object.freeze(raw)
|
|
19
|
+
}
|
|
20
|
+
}));
|
|
21
|
+
}
|
|
22
|
+
function _templateObject() {
|
|
23
|
+
var data = _tagged_template_literal([
|
|
24
|
+
"\n opacity: 0.4;\n cursor: not-allowed;\n\n /* stylelint-disable-next-line selector-nested-pattern */\n &:hover,\n &:active {\n transform: none;\n }\n"
|
|
25
|
+
]);
|
|
26
|
+
_templateObject = function _templateObject() {
|
|
27
|
+
return data;
|
|
28
|
+
};
|
|
29
|
+
return data;
|
|
30
|
+
}
|
|
31
|
+
function _templateObject1() {
|
|
32
|
+
var data = _tagged_template_literal([
|
|
33
|
+
"\n &:disabled {\n ",
|
|
34
|
+
"\n }\n\n ",
|
|
35
|
+
"\n"
|
|
36
|
+
]);
|
|
37
|
+
_templateObject1 = function _templateObject() {
|
|
38
|
+
return data;
|
|
39
|
+
};
|
|
40
|
+
return data;
|
|
41
|
+
}
|
|
42
|
+
// TODO: #2033
|
|
43
|
+
var disabledCss = (0, _styledcomponents.css)(_templateObject());
|
|
44
|
+
var applyDisabled = function(param) {
|
|
45
|
+
var disabled = param.disabled, $disabled = param.$disabled;
|
|
46
|
+
return (0, _styledcomponents.css)(_templateObject1(), disabledCss, (disabled || $disabled) && disabledCss);
|
|
47
|
+
};
|
|
@@ -12,6 +12,7 @@ _export_star(require("./addFocus"), exports);
|
|
|
12
12
|
_export_star(require("./typography"), exports);
|
|
13
13
|
_export_star(require("./applyRoundness"), exports);
|
|
14
14
|
_export_star(require("./applySkeletonGradient"), exports);
|
|
15
|
+
_export_star(require("./applyDisabled"), exports);
|
|
15
16
|
_export_star(require("./applyHidden"), exports);
|
|
16
17
|
_export_star(require("./createApplyPaperMixin"), exports);
|
|
17
18
|
function _export_star(from, to) {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
function _tagged_template_literal(strings, raw) {
|
|
2
|
+
if (!raw) {
|
|
3
|
+
raw = strings.slice(0);
|
|
4
|
+
}
|
|
5
|
+
return Object.freeze(Object.defineProperties(strings, {
|
|
6
|
+
raw: {
|
|
7
|
+
value: Object.freeze(raw)
|
|
8
|
+
}
|
|
9
|
+
}));
|
|
10
|
+
}
|
|
11
|
+
function _templateObject() {
|
|
12
|
+
var data = _tagged_template_literal([
|
|
13
|
+
"\n opacity: 0.4;\n cursor: not-allowed;\n\n /* stylelint-disable-next-line selector-nested-pattern */\n &:hover,\n &:active {\n transform: none;\n }\n"
|
|
14
|
+
]);
|
|
15
|
+
_templateObject = function _templateObject() {
|
|
16
|
+
return data;
|
|
17
|
+
};
|
|
18
|
+
return data;
|
|
19
|
+
}
|
|
20
|
+
function _templateObject1() {
|
|
21
|
+
var data = _tagged_template_literal([
|
|
22
|
+
"\n &:disabled {\n ",
|
|
23
|
+
"\n }\n\n ",
|
|
24
|
+
"\n"
|
|
25
|
+
]);
|
|
26
|
+
_templateObject1 = function _templateObject() {
|
|
27
|
+
return data;
|
|
28
|
+
};
|
|
29
|
+
return data;
|
|
30
|
+
}
|
|
31
|
+
import { css } from "styled-components";
|
|
32
|
+
// TODO: #2033
|
|
33
|
+
var disabledCss = css(_templateObject());
|
|
34
|
+
/**
|
|
35
|
+
* Миксин неактивной кнопки
|
|
36
|
+
*/ export var applyDisabled = function(param) {
|
|
37
|
+
var disabled = param.disabled, $disabled = param.$disabled;
|
|
38
|
+
return css(_templateObject1(), disabledCss, (disabled || $disabled) && disabledCss);
|
|
39
|
+
};
|
|
@@ -494,6 +494,13 @@ function _regeneratorRuntime() {
|
|
|
494
494
|
function _slicedToArray(r, e) {
|
|
495
495
|
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
496
496
|
}
|
|
497
|
+
function _taggedTemplateLiteral(e, t) {
|
|
498
|
+
return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
|
|
499
|
+
raw: {
|
|
500
|
+
value: Object.freeze(t)
|
|
501
|
+
}
|
|
502
|
+
}));
|
|
503
|
+
}
|
|
497
504
|
function _toArray(r) {
|
|
498
505
|
return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest();
|
|
499
506
|
}
|
|
@@ -531,5 +538,5 @@ function _unsupportedIterableToArray(r, a) {
|
|
|
531
538
|
}
|
|
532
539
|
}
|
|
533
540
|
|
|
534
|
-
export { _arrayLikeToArray as arrayLikeToArray, _arrayWithHoles as arrayWithHoles, _arrayWithoutHoles as arrayWithoutHoles, _asyncToGenerator as asyncToGenerator, _classCallCheck as classCallCheck, _createClass as createClass, _createForOfIteratorHelper as createForOfIteratorHelper, _defineProperty as defineProperty, _extends as extends, _iterableToArray as iterableToArray, _iterableToArrayLimit as iterableToArrayLimit, _nonIterableRest as nonIterableRest, _nonIterableSpread as nonIterableSpread, _objectSpread2 as objectSpread2, _objectWithoutProperties as objectWithoutProperties, _objectWithoutPropertiesLoose as objectWithoutPropertiesLoose, _regeneratorRuntime as regeneratorRuntime, _slicedToArray as slicedToArray, _toArray as toArray, _toConsumableArray as toConsumableArray, _toPrimitive as toPrimitive, _toPropertyKey as toPropertyKey, _typeof as typeof, _unsupportedIterableToArray as unsupportedIterableToArray };
|
|
541
|
+
export { _arrayLikeToArray as arrayLikeToArray, _arrayWithHoles as arrayWithHoles, _arrayWithoutHoles as arrayWithoutHoles, _asyncToGenerator as asyncToGenerator, _classCallCheck as classCallCheck, _createClass as createClass, _createForOfIteratorHelper as createForOfIteratorHelper, _defineProperty as defineProperty, _extends as extends, _iterableToArray as iterableToArray, _iterableToArrayLimit as iterableToArrayLimit, _nonIterableRest as nonIterableRest, _nonIterableSpread as nonIterableSpread, _objectSpread2 as objectSpread2, _objectWithoutProperties as objectWithoutProperties, _objectWithoutPropertiesLoose as objectWithoutPropertiesLoose, _regeneratorRuntime as regeneratorRuntime, _slicedToArray as slicedToArray, _taggedTemplateLiteral as taggedTemplateLiteral, _toArray as toArray, _toConsumableArray as toConsumableArray, _toPrimitive as toPrimitive, _toPropertyKey as toPropertyKey, _typeof as typeof, _unsupportedIterableToArray as unsupportedIterableToArray };
|
|
535
542
|
//# sourceMappingURL=_rollupPluginBabelHelpers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_rollupPluginBabelHelpers.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"_rollupPluginBabelHelpers.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/es/index.js
CHANGED
|
@@ -11,6 +11,7 @@ export { addFocus } from './mixins/addFocus.js';
|
|
|
11
11
|
export { body1, body2, body3, bodyL, bodyLBold, bodyM, bodyMBold, bodyS, bodySBold, bodyXS, bodyXSBold, bodyXXS, bodyXXSBold, button1, button2, caption, display1, display2, display3, dsplL, dsplLBold, dsplM, dsplMBold, dsplS, dsplSBold, footnote1, footnote2, h1, h1Bold, h2, h2Bold, h3, h3Bold, h4, h4Bold, h5, h5Bold, headline1, headline2, headline3, headline4, paragraph1, paragraph2, textL, textLBold, textM, textMBold, textS, textSBold, textXS, textXSBold, underline } from './mixins/typography.js';
|
|
12
12
|
export { applyRoundness, getRoundness, radiuses } from './mixins/applyRoundness.js';
|
|
13
13
|
export { applySkeletonGradient, getSkeletonColor } from './mixins/applySkeletonGradient.js';
|
|
14
|
+
export { applyDisabled } from './mixins/applyDisabled.js';
|
|
14
15
|
export { applyHidden } from './mixins/applyHidden.js';
|
|
15
16
|
export { createApplyPaperMixin } from './mixins/createApplyPaperMixin.js';
|
|
16
17
|
export { component, mergeConfig } from './engines/common.js';
|
package/es/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { taggedTemplateLiteral as _taggedTemplateLiteral } from '../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import { css } from 'styled-components';
|
|
3
|
+
|
|
4
|
+
var _templateObject, _templateObject2;
|
|
5
|
+
// TODO: #2033
|
|
6
|
+
var disabledCss = /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n opacity: 0.4;\n cursor: not-allowed;\n\n /* stylelint-disable-next-line selector-nested-pattern */\n &:hover,\n &:active {\n transform: none;\n }\n"])));
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Миксин неактивной кнопки
|
|
10
|
+
*/
|
|
11
|
+
var applyDisabled = function applyDisabled(_ref) {
|
|
12
|
+
var disabled = _ref.disabled,
|
|
13
|
+
$disabled = _ref.$disabled;
|
|
14
|
+
return css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n &:disabled {\n ", "\n }\n\n ", "\n"])), disabledCss, (disabled || $disabled) && disabledCss);
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { applyDisabled };
|
|
18
|
+
//# sourceMappingURL=applyDisabled.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applyDisabled.js","sources":["../../src/mixins/applyDisabled.ts"],"sourcesContent":["import { css, InterpolationFunction } from 'styled-components';\n\nexport interface DisabledProps {\n /**\n * Компонент неактивен\n */\n disabled?: boolean;\n}\n\n// TODO: #2033\nconst disabledCss = css`\n opacity: 0.4;\n cursor: not-allowed;\n\n /* stylelint-disable-next-line selector-nested-pattern */\n &:hover,\n &:active {\n transform: none;\n }\n`;\n\n/**\n * Миксин неактивной кнопки\n */\nexport const applyDisabled: InterpolationFunction<DisabledProps & { $disabled?: boolean }> = ({\n disabled,\n $disabled,\n}) => css`\n &:disabled {\n ${disabledCss}\n }\n\n ${(disabled || $disabled) && disabledCss}\n`;\n"],"names":["disabledCss","css","_templateObject","_taggedTemplateLiteral","applyDisabled","_ref","disabled","$disabled","_templateObject2"],"mappings":";;;;AASA;AACA,IAAMA,WAAW,gBAAGC,GAAG,CAAAC,eAAA,KAAAA,eAAA,gBAAAC,sBAAA,CAStB,CAAA,iLAAA,CAAA,CAAA,CAAA,CAAA,CAAA;;AAED;AACA;AACA;IACaC,aAA6E,GAAG,SAAhFA,aAA6EA,CAAAC,IAAA,EAAA;AAAA,EAAA,IACtFC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IACRC,SAAS,GAAAF,IAAA,CAATE,SAAS,CAAA;AAAA,EAAA,OACPN,GAAG,CAAAO,gBAAA,KAAAA,gBAAA,GAAAL,sBAAA,CAECH,CAAAA,8BAAAA,EAAAA,iBAAAA,EAAAA,IAAAA,CAAAA,CAAAA,CAAAA,EAAAA,WAAW,EAGf,CAACM,QAAQ,IAAIC,SAAS,KAAKP,WAAW,CAAA,CAAA;AAAA;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salutejs/plasma-new-hope",
|
|
3
|
-
"version": "0.337.1-canary.
|
|
3
|
+
"version": "0.337.1-canary.2274.18270441026.0",
|
|
4
4
|
"description": "Salute Design System blueprint",
|
|
5
5
|
"main": "cjs/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -137,5 +137,5 @@
|
|
|
137
137
|
"sideEffects": [
|
|
138
138
|
"*.css"
|
|
139
139
|
],
|
|
140
|
-
"gitHead": "
|
|
140
|
+
"gitHead": "fcf240b777262fae491510ff594f9f2652928380"
|
|
141
141
|
}
|
|
@@ -1 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "Combobox", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return Combobox;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
var _engines = require("../../../engines");
|
|
12
|
+
var _ = require("../../..");
|
|
13
|
+
var _Comboboxconfig = require("./Combobox.config");
|
|
14
|
+
var mergedConfig = (0, _engines.mergeConfig)(_.comboboxNewConfig, _Comboboxconfig.config);
|
|
15
|
+
var ComboboxComponent = (0, _engines.component)(mergedConfig);
|
|
16
|
+
var Combobox = ComboboxComponent;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "applyDisabled", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return applyDisabled;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
var _styledcomponents = require("styled-components");
|
|
12
|
+
// TODO: #2033
|
|
13
|
+
var disabledCss = (0, _styledcomponents.css)([
|
|
14
|
+
"opacity:0.4;cursor:not-allowed;&:hover,&:active{transform:none;}"
|
|
15
|
+
]);
|
|
16
|
+
var applyDisabled = function(param) {
|
|
17
|
+
var disabled = param.disabled, $disabled = param.$disabled;
|
|
18
|
+
return (0, _styledcomponents.css)([
|
|
19
|
+
"&:disabled{",
|
|
20
|
+
"}",
|
|
21
|
+
""
|
|
22
|
+
], disabledCss, (disabled || $disabled) && disabledCss);
|
|
23
|
+
};
|
|
@@ -12,6 +12,7 @@ _export_star(require("./addFocus"), exports);
|
|
|
12
12
|
_export_star(require("./typography"), exports);
|
|
13
13
|
_export_star(require("./applyRoundness"), exports);
|
|
14
14
|
_export_star(require("./applySkeletonGradient"), exports);
|
|
15
|
+
_export_star(require("./applyDisabled"), exports);
|
|
15
16
|
_export_star(require("./applyHidden"), exports);
|
|
16
17
|
_export_star(require("./createApplyPaperMixin"), exports);
|
|
17
18
|
function _export_star(from, to) {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { css } from "styled-components";
|
|
2
|
+
// TODO: #2033
|
|
3
|
+
var disabledCss = css([
|
|
4
|
+
"opacity:0.4;cursor:not-allowed;&:hover,&:active{transform:none;}"
|
|
5
|
+
]);
|
|
6
|
+
/**
|
|
7
|
+
* Миксин неактивной кнопки
|
|
8
|
+
*/ export var applyDisabled = function(param) {
|
|
9
|
+
var disabled = param.disabled, $disabled = param.$disabled;
|
|
10
|
+
return css([
|
|
11
|
+
"&:disabled{",
|
|
12
|
+
"}",
|
|
13
|
+
""
|
|
14
|
+
], disabledCss, (disabled || $disabled) && disabledCss);
|
|
15
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const AccordionItem: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement>, "
|
|
2
|
+
export declare const AccordionItem: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement>, "title" | "onChange"> & {
|
|
3
3
|
value?: boolean;
|
|
4
4
|
type?: "clear" | "arrow" | "sign";
|
|
5
5
|
contentLeft?: React.ReactNode;
|
|
@@ -34,7 +34,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
34
34
|
chipType?: never;
|
|
35
35
|
chipView?: never;
|
|
36
36
|
chipValidator?: never;
|
|
37
|
-
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
37
|
+
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
38
38
|
size?: string;
|
|
39
39
|
view?: string;
|
|
40
40
|
readOnly?: boolean;
|
|
@@ -72,7 +72,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
72
72
|
chipValidator?: (value: string) => {
|
|
73
73
|
view?: string;
|
|
74
74
|
};
|
|
75
|
-
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
75
|
+
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
76
76
|
size?: string;
|
|
77
77
|
view?: string;
|
|
78
78
|
readOnly?: boolean;
|
|
@@ -108,7 +108,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
108
108
|
chipType?: never;
|
|
109
109
|
chipView?: never;
|
|
110
110
|
chipValidator?: never;
|
|
111
|
-
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
111
|
+
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
112
112
|
size?: string;
|
|
113
113
|
view?: string;
|
|
114
114
|
readOnly?: boolean;
|
|
@@ -146,7 +146,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
146
146
|
chipValidator?: (value: string) => {
|
|
147
147
|
view?: string;
|
|
148
148
|
};
|
|
149
|
-
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
149
|
+
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
150
150
|
size?: string;
|
|
151
151
|
view?: string;
|
|
152
152
|
readOnly?: boolean;
|
|
@@ -182,7 +182,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
182
182
|
chipType?: never;
|
|
183
183
|
chipView?: never;
|
|
184
184
|
chipValidator?: never;
|
|
185
|
-
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
185
|
+
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
186
186
|
size?: string;
|
|
187
187
|
view?: string;
|
|
188
188
|
readOnly?: boolean;
|
|
@@ -220,7 +220,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
220
220
|
chipValidator?: (value: string) => {
|
|
221
221
|
view?: string;
|
|
222
222
|
};
|
|
223
|
-
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
223
|
+
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
224
224
|
size?: string;
|
|
225
225
|
view?: string;
|
|
226
226
|
readOnly?: boolean;
|
|
@@ -256,7 +256,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
256
256
|
chipType?: never;
|
|
257
257
|
chipView?: never;
|
|
258
258
|
chipValidator?: never;
|
|
259
|
-
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
259
|
+
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
260
260
|
size?: string;
|
|
261
261
|
view?: string;
|
|
262
262
|
readOnly?: boolean;
|
|
@@ -294,5 +294,5 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
294
294
|
chipValidator?: (value: string) => {
|
|
295
295
|
view?: string;
|
|
296
296
|
};
|
|
297
|
-
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
297
|
+
} & Omit<import("../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
|
|
298
298
|
//# sourceMappingURL=TextField.styles.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { ChangeEvent } from 'react';
|
|
2
2
|
import { ComboboxProps } from '../../Combobox.types';
|
|
3
3
|
import { ValueToItemMapType } from '../../hooks/getPathMaps';
|
|
4
|
-
export declare const SelectNative: React.ForwardRefExoticComponent<Pick<ComboboxProps, "name" | "
|
|
4
|
+
export declare const SelectNative: React.ForwardRefExoticComponent<Pick<ComboboxProps, "name" | "value" | "multiple"> & {
|
|
5
5
|
onChange: (value: ChangeEvent<HTMLSelectElement> | null) => void;
|
|
6
6
|
onSetValue: (value: string | string[]) => void;
|
|
7
7
|
items: ValueToItemMapType;
|
|
@@ -34,7 +34,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
34
34
|
chipType?: never;
|
|
35
35
|
chipView?: never;
|
|
36
36
|
chipValidator?: never;
|
|
37
|
-
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
37
|
+
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
38
38
|
size?: string;
|
|
39
39
|
view?: string;
|
|
40
40
|
readOnly?: boolean;
|
|
@@ -72,7 +72,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
72
72
|
chipValidator?: (value: string) => {
|
|
73
73
|
view?: string;
|
|
74
74
|
};
|
|
75
|
-
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
75
|
+
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
76
76
|
size?: string;
|
|
77
77
|
view?: string;
|
|
78
78
|
readOnly?: boolean;
|
|
@@ -108,7 +108,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
108
108
|
chipType?: never;
|
|
109
109
|
chipView?: never;
|
|
110
110
|
chipValidator?: never;
|
|
111
|
-
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
111
|
+
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
112
112
|
size?: string;
|
|
113
113
|
view?: string;
|
|
114
114
|
readOnly?: boolean;
|
|
@@ -146,7 +146,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
146
146
|
chipValidator?: (value: string) => {
|
|
147
147
|
view?: string;
|
|
148
148
|
};
|
|
149
|
-
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
149
|
+
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
150
150
|
size?: string;
|
|
151
151
|
view?: string;
|
|
152
152
|
readOnly?: boolean;
|
|
@@ -182,7 +182,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
182
182
|
chipType?: never;
|
|
183
183
|
chipView?: never;
|
|
184
184
|
chipValidator?: never;
|
|
185
|
-
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
185
|
+
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
186
186
|
size?: string;
|
|
187
187
|
view?: string;
|
|
188
188
|
readOnly?: boolean;
|
|
@@ -220,7 +220,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
220
220
|
chipValidator?: (value: string) => {
|
|
221
221
|
view?: string;
|
|
222
222
|
};
|
|
223
|
-
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
223
|
+
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
224
224
|
size?: string;
|
|
225
225
|
view?: string;
|
|
226
226
|
readOnly?: boolean;
|
|
@@ -256,7 +256,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
256
256
|
chipType?: never;
|
|
257
257
|
chipView?: never;
|
|
258
258
|
chipValidator?: never;
|
|
259
|
-
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
259
|
+
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
|
260
260
|
size?: string;
|
|
261
261
|
view?: string;
|
|
262
262
|
readOnly?: boolean;
|
|
@@ -294,5 +294,5 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
|
294
294
|
chipValidator?: (value: string) => {
|
|
295
295
|
view?: string;
|
|
296
296
|
};
|
|
297
|
-
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "
|
|
297
|
+
} & Omit<import("../../../../..").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
|
|
298
298
|
//# sourceMappingURL=Target.styles.d.ts.map
|
|
@@ -24,13 +24,13 @@ export declare const datePickerRangeRoot: (Root: RootProps<HTMLDivElement, Omit<
|
|
|
24
24
|
};
|
|
25
25
|
}) => void;
|
|
26
26
|
} & {
|
|
27
|
-
size?: string | undefined;
|
|
28
|
-
disabled?: boolean | undefined;
|
|
29
27
|
label?: string | undefined;
|
|
30
28
|
view?: string | undefined;
|
|
29
|
+
disabled?: boolean | undefined;
|
|
30
|
+
autoComplete?: string | undefined;
|
|
31
31
|
readOnly?: boolean | undefined;
|
|
32
32
|
required?: boolean | undefined;
|
|
33
|
-
|
|
33
|
+
size?: string | undefined;
|
|
34
34
|
contentLeft?: React.ReactNode;
|
|
35
35
|
contentRight?: React.ReactNode;
|
|
36
36
|
leftHelper?: string | undefined;
|
|
@@ -83,13 +83,13 @@ export declare const datePickerRangeConfig: {
|
|
|
83
83
|
};
|
|
84
84
|
}) => void;
|
|
85
85
|
} & {
|
|
86
|
-
size?: string | undefined;
|
|
87
|
-
disabled?: boolean | undefined;
|
|
88
86
|
label?: string | undefined;
|
|
89
87
|
view?: string | undefined;
|
|
88
|
+
disabled?: boolean | undefined;
|
|
89
|
+
autoComplete?: string | undefined;
|
|
90
90
|
readOnly?: boolean | undefined;
|
|
91
91
|
required?: boolean | undefined;
|
|
92
|
-
|
|
92
|
+
size?: string | undefined;
|
|
93
93
|
contentLeft?: React.ReactNode;
|
|
94
94
|
contentRight?: React.ReactNode;
|
|
95
95
|
leftHelper?: string | undefined;
|