@fixefy/fixefy-ui-components 0.2.19 → 0.2.21
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/FxAsyncDropdown/FxAsyncDropdown.d.ts +1 -0
- package/dist/FxAsyncDropdown/FxAsyncDropdown.js +2 -1
- package/dist/FxAsyncDropdown/styles/dropdown.styles.js +10 -3
- package/dist/FxWizard/FxWizard.d.ts +1 -1
- package/dist/FxWizard/FxWizard.js +11 -3
- package/dist/FxWizard/steps launcher/StepsLauncher.d.ts +1 -1
- package/dist/FxWizard/steps launcher/StepsLauncher.js +12 -4
- package/dist/index.d.ts +1 -0
- package/dist/index.js +7 -0
- package/package.json +1 -1
|
@@ -27,5 +27,6 @@ export type AsyncDropdownPropsType = {
|
|
|
27
27
|
query: string;
|
|
28
28
|
isInitialOpen?: boolean;
|
|
29
29
|
placeholder?: string;
|
|
30
|
+
rootStyle?: any;
|
|
30
31
|
};
|
|
31
32
|
export declare const FxAsyncDropdown: React.ForwardRefExoticComponent<Omit<AsyncDropdownPropsType, "ref"> & React.RefAttributes<unknown>>;
|
|
@@ -120,7 +120,7 @@ const checkedIcon = /*#__PURE__*/ (0, _jsxruntime.jsx)(_iconsmaterial.CheckBox,
|
|
|
120
120
|
fontSize: "small"
|
|
121
121
|
});
|
|
122
122
|
const FxAsyncDropdown = /*#__PURE__*/ _react.default.forwardRef((props)=>{
|
|
123
|
-
const { onAdd, onRemoveOne, onRemoveAll, fetcher, disabled, type = 'text', variables, search_path, modal_type, multiple, name, query, isInitialOpen, placeholder, title_path } = props;
|
|
123
|
+
const { onAdd, onRemoveOne, onRemoveAll, fetcher, disabled, type = 'text', variables, search_path, modal_type, multiple, name, query, isInitialOpen, placeholder, title_path, rootStyle } = props;
|
|
124
124
|
const ref = (0, _react.useRef)(null);
|
|
125
125
|
const theme = (0, _material.useTheme)();
|
|
126
126
|
const [displayed, setDisplayed] = (0, _react.useState)(multiple ? [] : '');
|
|
@@ -532,6 +532,7 @@ const FxAsyncDropdown = /*#__PURE__*/ _react.default.forwardRef((props)=>{
|
|
|
532
532
|
});
|
|
533
533
|
};
|
|
534
534
|
return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_dropdownstyles.Root, {
|
|
535
|
+
style: rootStyle,
|
|
535
536
|
children: [
|
|
536
537
|
/*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Box, {
|
|
537
538
|
children: [
|
|
@@ -84,13 +84,20 @@ function _object_spread_props(target, source) {
|
|
|
84
84
|
}
|
|
85
85
|
return target;
|
|
86
86
|
}
|
|
87
|
-
const Root = (0, _styles.styled)('div')(()=>
|
|
87
|
+
const Root = (0, _styles.styled)('div')(({ props })=>{
|
|
88
|
+
return _object_spread_props(_object_spread({}, props), {
|
|
88
89
|
color: 'rgba(0,0,0,.85)',
|
|
89
90
|
fontSize: 14,
|
|
90
91
|
background: '#FFFFFF',
|
|
91
92
|
padding: '0 16px',
|
|
92
|
-
position: 'relative'
|
|
93
|
-
|
|
93
|
+
position: 'relative',
|
|
94
|
+
' & .MuiBox-root': {
|
|
95
|
+
['& > div']: {
|
|
96
|
+
padding: 0
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
});
|
|
94
101
|
const Label = (0, _styles.styled)('label')(()=>({
|
|
95
102
|
padding: '0 0 4px',
|
|
96
103
|
lineHeight: '1.5',
|
|
@@ -2,9 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: all[name]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
FxWizard: function() {
|
|
13
|
+
return FxWizard;
|
|
14
|
+
},
|
|
15
|
+
default: function() {
|
|
8
16
|
return _default;
|
|
9
17
|
}
|
|
10
18
|
});
|
|
@@ -2,9 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: all[name]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
StepsLauncher: function() {
|
|
13
|
+
return StepsLauncher;
|
|
14
|
+
},
|
|
15
|
+
default: function() {
|
|
8
16
|
return _default;
|
|
9
17
|
}
|
|
10
18
|
});
|
|
@@ -31,7 +39,7 @@ const StepsLauncher = (steps, footer)=>{
|
|
|
31
39
|
nextStepPath: '/uploader-page',
|
|
32
40
|
},
|
|
33
41
|
]
|
|
34
|
-
|
|
42
|
+
|
|
35
43
|
footer is a component
|
|
36
44
|
*/ const config = {
|
|
37
45
|
steps
|
package/dist/index.d.ts
CHANGED
|
@@ -20,4 +20,5 @@ export { FxStatusBar, StatusBarPropsType, Options } from './FxStatusBar';
|
|
|
20
20
|
export { FxTag, TagPropsType } from './FxTag';
|
|
21
21
|
export { FxTextField, TextFieldPropsType } from './FxTextField';
|
|
22
22
|
export { FxTodo, TodoItemType, TodoPropsType } from './FxTodo';
|
|
23
|
+
export { FxWizard, StepsLauncher } from './FxWizard';
|
|
23
24
|
export { Card, PageHeader, Label, BoldValue, Value, PageTitle, Link, Text, ShowMore, ShowMoreContainer, DataWrapper, Bars, } from './FxStyledComponents';
|
package/dist/index.js
CHANGED
|
@@ -111,6 +111,9 @@ _export(exports, {
|
|
|
111
111
|
FxTodo: function() {
|
|
112
112
|
return _FxTodo.FxTodo;
|
|
113
113
|
},
|
|
114
|
+
FxWizard: function() {
|
|
115
|
+
return _FxWizard.FxWizard;
|
|
116
|
+
},
|
|
114
117
|
Label: function() {
|
|
115
118
|
return _FxStyledComponents.Label;
|
|
116
119
|
},
|
|
@@ -168,6 +171,9 @@ _export(exports, {
|
|
|
168
171
|
StatusBarPropsType: function() {
|
|
169
172
|
return _FxStatusBar.StatusBarPropsType;
|
|
170
173
|
},
|
|
174
|
+
StepsLauncher: function() {
|
|
175
|
+
return _FxWizard.StepsLauncher;
|
|
176
|
+
},
|
|
171
177
|
StylesOptions: function() {
|
|
172
178
|
return _FxAsyncDropdown.StylesOptions;
|
|
173
179
|
},
|
|
@@ -212,4 +218,5 @@ const _FxStatusBar = require("./FxStatusBar");
|
|
|
212
218
|
const _FxTag = require("./FxTag");
|
|
213
219
|
const _FxTextField = require("./FxTextField");
|
|
214
220
|
const _FxTodo = require("./FxTodo");
|
|
221
|
+
const _FxWizard = require("./FxWizard");
|
|
215
222
|
const _FxStyledComponents = require("./FxStyledComponents");
|
package/package.json
CHANGED