@qiwi/pijma-mobile 1.150.2 → 1.150.5
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/lib/dts/checkbox/Checkbox.d.ts +2 -3
- package/lib/dts/checkbox/CheckboxProps.d.ts +1 -1
- package/lib/dts/checkbox/index.d.ts +1 -2
- package/lib/dts/checkbox-field/CheckboxField.d.ts +3 -4
- package/lib/dts/checkbox-field/CheckboxFieldOptionModel.d.ts +1 -1
- package/lib/dts/checkbox-field/CheckboxFieldProps.d.ts +1 -1
- package/lib/dts/checkbox-field/index.d.ts +1 -2
- package/lib/dts/content-suggest/ContentSuggest.d.ts +2 -2
- package/lib/dts/content-suggest/ContentSuggestOptionModel.d.ts +1 -1
- package/lib/dts/content-suggest/ContentSuggestProps.d.ts +2 -2
- package/lib/dts/input-modal/InputModal.d.ts +2 -2
- package/lib/dts/input-modal/index.d.ts +1 -2
- package/lib/dts/modal/SimpleModal.d.ts +2 -2
- package/lib/dts/modal/index.d.ts +1 -2
- package/lib/dts/radio-field/RadioField.d.ts +3 -4
- package/lib/dts/radio-field/RadioFieldOptionModel.d.ts +1 -1
- package/lib/dts/radio-field/RadioFieldProps.d.ts +1 -1
- package/lib/dts/radio-field/index.d.ts +1 -2
- package/lib/dts/suggest-field/SuggestField.d.ts +2 -2
- package/lib/dts/suggest-field/SuggestFieldOptionModel.d.ts +1 -1
- package/lib/dts/suggest-field/SuggestFieldProps.d.ts +2 -2
- package/lib/dts/switch/Switch.d.ts +1 -1
- package/lib/dts/switch/SwitchProps.d.ts +1 -1
- package/lib/dts/switch-field/SwitchField.d.ts +3 -4
- package/lib/dts/switch-field/SwitchFieldOptionModel.d.ts +1 -1
- package/lib/dts/switch-field/SwitchFieldProps.d.ts +1 -1
- package/lib/dts/switch-field/index.d.ts +1 -2
- package/lib/es5/checkbox/Checkbox.js +2 -3
- package/lib/es5/checkbox/index.js +2 -8
- package/lib/es5/checkbox-field/CheckboxField.js +2 -3
- package/lib/es5/checkbox-field/index.js +2 -8
- package/lib/es5/input-modal/InputModal.js +2 -3
- package/lib/es5/input-modal/index.js +2 -8
- package/lib/es5/modal/SimpleModal.js +2 -3
- package/lib/es5/modal/index.js +2 -8
- package/lib/es5/radio-field/RadioField.js +2 -3
- package/lib/es5/radio-field/index.js +2 -8
- package/lib/es5/switch-field/SwitchField.js +2 -3
- package/lib/es5/switch-field/index.js +2 -8
- package/lib/es6/checkbox/Checkbox.js +1 -2
- package/lib/es6/checkbox/index.js +1 -2
- package/lib/es6/checkbox-field/CheckboxField.js +1 -2
- package/lib/es6/checkbox-field/index.js +1 -2
- package/lib/es6/input-modal/InputModal.js +1 -2
- package/lib/es6/input-modal/index.js +1 -2
- package/lib/es6/modal/SimpleModal.js +1 -2
- package/lib/es6/modal/index.js +1 -2
- package/lib/es6/radio-field/RadioField.js +1 -2
- package/lib/es6/radio-field/index.js +1 -2
- package/lib/es6/switch-field/SwitchField.js +1 -2
- package/lib/es6/switch-field/index.js +1 -2
- package/package.json +2 -2
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
|
-
import CheckboxProps from './CheckboxProps';
|
|
3
|
-
declare const Checkbox: FunctionComponent<CheckboxProps>;
|
|
4
|
-
export default Checkbox;
|
|
2
|
+
import { CheckboxProps } from './CheckboxProps';
|
|
3
|
+
export declare const Checkbox: FunctionComponent<CheckboxProps>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Checkbox };
|
|
1
|
+
export * from './Checkbox';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
|
-
import CheckboxFieldOptionModel from './CheckboxFieldOptionModel';
|
|
3
|
-
import CheckboxFieldProps from './CheckboxFieldProps';
|
|
4
|
-
declare const CheckboxField: FunctionComponent<CheckboxFieldProps<CheckboxFieldOptionModel<any>, any>>;
|
|
5
|
-
export default CheckboxField;
|
|
2
|
+
import { CheckboxFieldOptionModel } from './CheckboxFieldOptionModel';
|
|
3
|
+
import { CheckboxFieldProps } from './CheckboxFieldProps';
|
|
4
|
+
export declare const CheckboxField: FunctionComponent<CheckboxFieldProps<CheckboxFieldOptionModel<any>, any>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OptionModel } from '@qiwi/pijma-core';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
export
|
|
3
|
+
export interface CheckboxFieldOptionModel<V> extends OptionModel<V> {
|
|
4
4
|
label: ReactNode;
|
|
5
5
|
description?: ReactNode;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OptionModel } from '@qiwi/pijma-core';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
export
|
|
3
|
+
export interface CheckboxFieldProps<O extends OptionModel<V>, V> {
|
|
4
4
|
title?: ReactNode;
|
|
5
5
|
hint?: ReactNode;
|
|
6
6
|
help?: ReactNode;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { CheckboxField };
|
|
1
|
+
export * from './CheckboxField';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import ContentSuggestOptionModel from './ContentSuggestOptionModel';
|
|
3
|
-
import ContentSuggestProps from './ContentSuggestProps';
|
|
2
|
+
import { ContentSuggestOptionModel } from './ContentSuggestOptionModel';
|
|
3
|
+
import { ContentSuggestProps } from './ContentSuggestProps';
|
|
4
4
|
export declare const ContentSuggest: {
|
|
5
5
|
<V extends {}>({ equals, ...props }: ContentSuggestProps<ContentSuggestOptionModel<V>, V>): JSX.Element;
|
|
6
6
|
displayName: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SuggestOptionModel } from '@qiwi/pijma-core';
|
|
2
|
-
export
|
|
2
|
+
export interface ContentSuggestOptionModel<V> extends SuggestOptionModel<V> {
|
|
3
3
|
title: string;
|
|
4
4
|
logo: string;
|
|
5
5
|
description: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SuggestControlProps } from '@qiwi/pijma-core';
|
|
2
|
-
import ContentSuggestOptionModel from './ContentSuggestOptionModel';
|
|
3
|
-
export
|
|
2
|
+
import { ContentSuggestOptionModel } from './ContentSuggestOptionModel';
|
|
3
|
+
export interface ContentSuggestProps<O extends ContentSuggestOptionModel<V>, V> {
|
|
4
4
|
value?: SuggestControlProps<O, V>['value'];
|
|
5
5
|
suggest: SuggestControlProps<O, V>['suggest'];
|
|
6
6
|
items: SuggestControlProps<O, V>['items'];
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { InputModal };
|
|
1
|
+
export * from './InputModal';
|
package/lib/dts/modal/index.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { SimpleModal };
|
|
1
|
+
export * from './SimpleModal';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
|
-
import RadioFieldOptionModel from './RadioFieldOptionModel';
|
|
3
|
-
import RadioFieldProps from './RadioFieldProps';
|
|
4
|
-
declare const RadioField: FunctionComponent<RadioFieldProps<RadioFieldOptionModel<any>, any>>;
|
|
5
|
-
export default RadioField;
|
|
2
|
+
import { RadioFieldOptionModel } from './RadioFieldOptionModel';
|
|
3
|
+
import { RadioFieldProps } from './RadioFieldProps';
|
|
4
|
+
export declare const RadioField: FunctionComponent<RadioFieldProps<RadioFieldOptionModel<any>, any>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OptionModel } from '@qiwi/pijma-core';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
export
|
|
3
|
+
export interface RadioFieldOptionModel<V> extends OptionModel<V> {
|
|
4
4
|
label: ReactNode;
|
|
5
5
|
description?: ReactNode;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OptionModel } from '@qiwi/pijma-core';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
export
|
|
3
|
+
export interface RadioFieldProps<O extends OptionModel<V>, V> {
|
|
4
4
|
title?: ReactNode;
|
|
5
5
|
hint?: ReactNode;
|
|
6
6
|
help?: ReactNode;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { RadioField };
|
|
1
|
+
export * from './RadioField';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import SuggestFieldOptionModel from './SuggestFieldOptionModel';
|
|
3
|
-
import SuggestFieldProps from './SuggestFieldProps';
|
|
2
|
+
import { SuggestFieldOptionModel } from './SuggestFieldOptionModel';
|
|
3
|
+
import { SuggestFieldProps } from './SuggestFieldProps';
|
|
4
4
|
export declare const SuggestField: {
|
|
5
5
|
<V extends {}>({ equals, ...props }: SuggestFieldProps<SuggestFieldOptionModel<V>, V>): JSX.Element;
|
|
6
6
|
displayName: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SuggestOptionModel } from '@qiwi/pijma-core';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
export
|
|
3
|
+
export interface SuggestFieldOptionModel<V> extends SuggestOptionModel<V> {
|
|
4
4
|
title: string;
|
|
5
5
|
logo: string;
|
|
6
6
|
description: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SuggestControlProps } from '@qiwi/pijma-core';
|
|
2
2
|
import { ReactElement, ReactNode } from 'react';
|
|
3
|
-
import SuggestFieldOptionModel from './SuggestFieldOptionModel';
|
|
4
|
-
export
|
|
3
|
+
import { SuggestFieldOptionModel } from './SuggestFieldOptionModel';
|
|
4
|
+
export interface SuggestFieldProps<O extends SuggestFieldOptionModel<V>, V> {
|
|
5
5
|
value?: SuggestControlProps<O, V>['value'];
|
|
6
6
|
suggest: SuggestControlProps<O, V>['suggest'];
|
|
7
7
|
items: SuggestControlProps<O, V>['items'];
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
|
-
import SwitchFieldOptionModel from './SwitchFieldOptionModel';
|
|
3
|
-
import SwitchFieldProps from './SwitchFieldProps';
|
|
4
|
-
declare const SwitchField: FunctionComponent<SwitchFieldProps<SwitchFieldOptionModel<any>, any>>;
|
|
5
|
-
export default SwitchField;
|
|
2
|
+
import { SwitchFieldOptionModel } from './SwitchFieldOptionModel';
|
|
3
|
+
import { SwitchFieldProps } from './SwitchFieldProps';
|
|
4
|
+
export declare const SwitchField: FunctionComponent<SwitchFieldProps<SwitchFieldOptionModel<any>, any>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OptionModel } from '@qiwi/pijma-core';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
export
|
|
3
|
+
export interface SwitchFieldOptionModel<V> extends OptionModel<V> {
|
|
4
4
|
label: ReactNode;
|
|
5
5
|
description?: ReactNode;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OptionModel } from '@qiwi/pijma-core';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
export
|
|
3
|
+
export interface SwitchFieldProps<O extends OptionModel<V>, V> {
|
|
4
4
|
title?: ReactNode;
|
|
5
5
|
hint?: ReactNode;
|
|
6
6
|
help?: ReactNode;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { SwitchField };
|
|
1
|
+
export * from './SwitchField';
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
Object.defineProperty(exports, "
|
|
5
|
+
Object.defineProperty(exports, "Checkbox", {
|
|
6
6
|
enumerable: true,
|
|
7
7
|
get: function() {
|
|
8
|
-
return
|
|
8
|
+
return Checkbox;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
|
|
@@ -47,4 +47,3 @@ Checkbox.displayName = "Checkbox";
|
|
|
47
47
|
Checkbox.defaultProps = {
|
|
48
48
|
tabIndex: 0
|
|
49
49
|
};
|
|
50
|
-
var _default = Checkbox;
|
|
@@ -2,11 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
get: function() {
|
|
8
|
-
return _checkbox.default;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
|
|
12
|
-
var _checkbox = /*#__PURE__*/ _interopRequireDefault(require("./Checkbox.js"));
|
|
5
|
+
var _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
|
6
|
+
_exportStar(require("./Checkbox.js"), exports);
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
Object.defineProperty(exports, "
|
|
5
|
+
Object.defineProperty(exports, "CheckboxField", {
|
|
6
6
|
enumerable: true,
|
|
7
7
|
get: function() {
|
|
8
|
-
return
|
|
8
|
+
return CheckboxField;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
|
|
@@ -103,4 +103,3 @@ var CheckboxField = function(props) {
|
|
|
103
103
|
});
|
|
104
104
|
};
|
|
105
105
|
CheckboxField.displayName = "CheckboxField";
|
|
106
|
-
var _default = CheckboxField;
|
|
@@ -2,11 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
get: function() {
|
|
8
|
-
return _checkboxField.default;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
|
|
12
|
-
var _checkboxField = /*#__PURE__*/ _interopRequireDefault(require("./CheckboxField.js"));
|
|
5
|
+
var _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
|
6
|
+
_exportStar(require("./CheckboxField.js"), exports);
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
Object.defineProperty(exports, "
|
|
5
|
+
Object.defineProperty(exports, "InputModal", {
|
|
6
6
|
enumerable: true,
|
|
7
7
|
get: function() {
|
|
8
|
-
return
|
|
8
|
+
return InputModal;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
var _extends = require("@swc/helpers/lib/_extends.js").default;
|
|
@@ -124,4 +124,3 @@ var InputModal = function(props) {
|
|
|
124
124
|
});
|
|
125
125
|
};
|
|
126
126
|
InputModal.displayName = "InputModal";
|
|
127
|
-
var _default = InputModal;
|
|
@@ -2,11 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
get: function() {
|
|
8
|
-
return _inputModal.default;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
|
|
12
|
-
var _inputModal = /*#__PURE__*/ _interopRequireDefault(require("./InputModal.js"));
|
|
5
|
+
var _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
|
6
|
+
_exportStar(require("./InputModal.js"), exports);
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
Object.defineProperty(exports, "
|
|
5
|
+
Object.defineProperty(exports, "SimpleModal", {
|
|
6
6
|
enumerable: true,
|
|
7
7
|
get: function() {
|
|
8
|
-
return
|
|
8
|
+
return SimpleModal;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
var _extends = require("@swc/helpers/lib/_extends.js").default;
|
|
@@ -134,4 +134,3 @@ var SimpleModal = function(param) {
|
|
|
134
134
|
});
|
|
135
135
|
};
|
|
136
136
|
SimpleModal.displayName = "SimpleModal";
|
|
137
|
-
var _default = SimpleModal;
|
package/lib/es5/modal/index.js
CHANGED
|
@@ -2,11 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
get: function() {
|
|
8
|
-
return _simpleModal.default;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
|
|
12
|
-
var _simpleModal = /*#__PURE__*/ _interopRequireDefault(require("./SimpleModal.js"));
|
|
5
|
+
var _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
|
6
|
+
_exportStar(require("./SimpleModal.js"), exports);
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
Object.defineProperty(exports, "
|
|
5
|
+
Object.defineProperty(exports, "RadioField", {
|
|
6
6
|
enumerable: true,
|
|
7
7
|
get: function() {
|
|
8
|
-
return
|
|
8
|
+
return RadioField;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
|
|
@@ -104,4 +104,3 @@ var RadioField = function(props) {
|
|
|
104
104
|
});
|
|
105
105
|
};
|
|
106
106
|
RadioField.displayName = "RadioField";
|
|
107
|
-
var _default = RadioField;
|
|
@@ -2,11 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
get: function() {
|
|
8
|
-
return _radioField.default;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
|
|
12
|
-
var _radioField = /*#__PURE__*/ _interopRequireDefault(require("./RadioField.js"));
|
|
5
|
+
var _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
|
6
|
+
_exportStar(require("./RadioField.js"), exports);
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
Object.defineProperty(exports, "
|
|
5
|
+
Object.defineProperty(exports, "SwitchField", {
|
|
6
6
|
enumerable: true,
|
|
7
7
|
get: function() {
|
|
8
|
-
return
|
|
8
|
+
return SwitchField;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
|
|
@@ -115,4 +115,3 @@ SwitchField.displayName = "SwitchField";
|
|
|
115
115
|
SwitchField.defaultProps = {
|
|
116
116
|
tabIndex: 0
|
|
117
117
|
};
|
|
118
|
-
var _default = SwitchField;
|
|
@@ -2,11 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
get: function() {
|
|
8
|
-
return _switchField.default;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
|
|
12
|
-
var _switchField = /*#__PURE__*/ _interopRequireDefault(require("./SwitchField.js"));
|
|
5
|
+
var _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
|
6
|
+
_exportStar(require("./SwitchField.js"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Box, Check, OptionField, OptionFieldItem, SwitchControl } from '@qiwi/pijma-core';
|
|
3
3
|
import React from 'react';
|
|
4
|
-
const Checkbox = (props)=>/*#__PURE__*/ _jsx(SwitchControl, {
|
|
4
|
+
export const Checkbox = (props)=>/*#__PURE__*/ _jsx(SwitchControl, {
|
|
5
5
|
disabled: props.disabled,
|
|
6
6
|
checked: props.checked,
|
|
7
7
|
onChange: props.onChange,
|
|
@@ -32,4 +32,3 @@ Checkbox.displayName = 'Checkbox';
|
|
|
32
32
|
Checkbox.defaultProps = {
|
|
33
33
|
tabIndex: 0
|
|
34
34
|
};
|
|
35
|
-
export default Checkbox;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Checkbox };
|
|
1
|
+
export * from './Checkbox.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Box, Check, CheckboxControl, Flex, OptionControl, OptionField, OptionFieldItem, Spacer, Stub } from '@qiwi/pijma-core';
|
|
3
3
|
import React from 'react';
|
|
4
|
-
const CheckboxField = (props)=>props.stub ? /*#__PURE__*/ _jsxs(Box, {
|
|
4
|
+
export const CheckboxField = (props)=>props.stub ? /*#__PURE__*/ _jsxs(Box, {
|
|
5
5
|
maxWidth: 1,
|
|
6
6
|
children: [
|
|
7
7
|
/*#__PURE__*/ _jsx(Stub, {
|
|
@@ -82,4 +82,3 @@ const CheckboxField = (props)=>props.stub ? /*#__PURE__*/ _jsxs(Box, {
|
|
|
82
82
|
})
|
|
83
83
|
});
|
|
84
84
|
CheckboxField.displayName = 'CheckboxField';
|
|
85
|
-
export default CheckboxField;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { CheckboxField };
|
|
1
|
+
export * from './CheckboxField.js';
|
|
@@ -23,7 +23,7 @@ ContentTransition.defaultProps = {
|
|
|
23
23
|
};
|
|
24
24
|
const PosFlexCard = styled(CardPos)().withComponent(Flex);
|
|
25
25
|
PosFlexCard.displayName = 'PosFlexCard';
|
|
26
|
-
const InputModal = (props)=>/*#__PURE__*/ _jsx(Modal, {
|
|
26
|
+
export const InputModal = (props)=>/*#__PURE__*/ _jsx(Modal, {
|
|
27
27
|
show: props.show,
|
|
28
28
|
onShow: props.onShow,
|
|
29
29
|
onHide: props.onHide,
|
|
@@ -104,4 +104,3 @@ const InputModal = (props)=>/*#__PURE__*/ _jsx(Modal, {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
InputModal.displayName = 'InputModal';
|
|
107
|
-
export default InputModal;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { InputModal };
|
|
1
|
+
export * from './InputModal.js';
|
|
@@ -39,7 +39,7 @@ BackdropTransition.defaultProps = {
|
|
|
39
39
|
transition: `opacity ${timeout}ms ease`
|
|
40
40
|
})
|
|
41
41
|
};
|
|
42
|
-
const SimpleModal = ({ stub , children , show , escapeClose , onShow , onHide , backdropClose , zIndex =10050 , closable , })=>stub ? /*#__PURE__*/ _jsx(Box, {
|
|
42
|
+
export const SimpleModal = ({ stub , children , show , escapeClose , onShow , onHide , backdropClose , zIndex =10050 , closable , })=>stub ? /*#__PURE__*/ _jsx(Box, {
|
|
43
43
|
display: "none",
|
|
44
44
|
children: children
|
|
45
45
|
}) : /*#__PURE__*/ _jsx(Modal, {
|
|
@@ -107,4 +107,3 @@ const SimpleModal = ({ stub , children , show , escapeClose , onShow , onHide ,
|
|
|
107
107
|
})
|
|
108
108
|
});
|
|
109
109
|
SimpleModal.displayName = 'SimpleModal';
|
|
110
|
-
export default SimpleModal;
|
package/lib/es6/modal/index.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { SimpleModal };
|
|
1
|
+
export * from './SimpleModal.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Box, Flex, OptionControl, OptionField, OptionFieldItem, Radio, RadioControl, Spacer, Stub } from '@qiwi/pijma-core';
|
|
3
3
|
import React from 'react';
|
|
4
|
-
const RadioField = (props)=>props.stub ? /*#__PURE__*/ _jsxs(Box, {
|
|
4
|
+
export const RadioField = (props)=>props.stub ? /*#__PURE__*/ _jsxs(Box, {
|
|
5
5
|
maxHeight: 1,
|
|
6
6
|
children: [
|
|
7
7
|
/*#__PURE__*/ _jsx(Stub, {
|
|
@@ -83,4 +83,3 @@ const RadioField = (props)=>props.stub ? /*#__PURE__*/ _jsxs(Box, {
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
RadioField.displayName = 'RadioField';
|
|
86
|
-
export default RadioField;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { RadioField };
|
|
1
|
+
export * from './RadioField.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Box, CheckboxControl, Flex, FlexItem, OptionControl, OptionField, OptionFieldItem, Spacer, Stub, Tumbler } from '@qiwi/pijma-core';
|
|
3
3
|
import React from 'react';
|
|
4
|
-
const SwitchField = (props)=>props.stub ? /*#__PURE__*/ _jsxs(Box, {
|
|
4
|
+
export const SwitchField = (props)=>props.stub ? /*#__PURE__*/ _jsxs(Box, {
|
|
5
5
|
maxWidth: 1,
|
|
6
6
|
children: [
|
|
7
7
|
/*#__PURE__*/ _jsx(Stub, {
|
|
@@ -94,4 +94,3 @@ SwitchField.displayName = 'SwitchField';
|
|
|
94
94
|
SwitchField.defaultProps = {
|
|
95
95
|
tabIndex: 0
|
|
96
96
|
};
|
|
97
|
-
export default SwitchField;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { SwitchField };
|
|
1
|
+
export * from './SwitchField.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qiwi/pijma-mobile",
|
|
3
|
-
"version": "1.150.
|
|
3
|
+
"version": "1.150.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./lib/es5/index.js",
|
|
6
6
|
"module": "./lib/es6/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"lib"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@qiwi/pijma-core": "1.152.
|
|
34
|
+
"@qiwi/pijma-core": "1.152.4"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@qiwi/pijma-infra": "1.7.1",
|