sag_components 1.0.92 → 1.0.94
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.
|
@@ -173,7 +173,6 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
173
173
|
onInputChange: function onInputChange(event, newInputValue) {
|
|
174
174
|
onInputChangeHandler(event, newInputValue);
|
|
175
175
|
},
|
|
176
|
-
ref: ref ? ref : null,
|
|
177
176
|
disablePortal: true,
|
|
178
177
|
defaultValue: getOptionByLabel(defaultValue),
|
|
179
178
|
id: "combo-box",
|
|
@@ -195,6 +194,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
195
194
|
},
|
|
196
195
|
required: required,
|
|
197
196
|
label: text,
|
|
197
|
+
inputRef: ref ? ref : null,
|
|
198
198
|
size: size,
|
|
199
199
|
sx: getTextFieldStyle(),
|
|
200
200
|
placeholder: placeHolder,
|
|
@@ -275,6 +275,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
275
275
|
event.preventDefault();
|
|
276
276
|
}
|
|
277
277
|
},
|
|
278
|
+
inputRef: ref ? ref : null,
|
|
278
279
|
required: required,
|
|
279
280
|
InputProps: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, params.InputProps), {}, {
|
|
280
281
|
style: {
|
|
@@ -304,6 +305,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
304
305
|
event.preventDefault();
|
|
305
306
|
}
|
|
306
307
|
},
|
|
308
|
+
inputRef: ref ? ref : null,
|
|
307
309
|
required: required,
|
|
308
310
|
InputLabelProps: {
|
|
309
311
|
style: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sag_components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.94",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@storybook/react": "^7.0.6",
|
|
28
28
|
"@storybook/react-webpack5": "^7.0.6",
|
|
29
29
|
"@storybook/testing-library": "^0.0.14-next.2",
|
|
30
|
-
|
|
30
|
+
|
|
31
31
|
"cross-env": "^7.0.3",
|
|
32
32
|
"css-loader": "^5.2.7",
|
|
33
33
|
"prop-types": "^15.8.1",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"sass-loader": "^10.4.1",
|
|
38
38
|
"storybook": "^7.0.6",
|
|
39
39
|
"style-loader": "^2.0.0",
|
|
40
|
-
"styled-components": "^5.3.10"
|
|
41
|
-
|
|
40
|
+
"styled-components": "^5.3.10"
|
|
41
|
+
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@dnd-kit/core": "^6.0.8",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
|
|
5
|
-
var _styledComponents = require("styled-components");
|
|
6
|
-
var _templateObject;
|
|
7
|
-
var LatoFont = (0, _styledComponents.createGlobalStyle)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n @font-face {\n font-family: \"Lato\";\n src: local(\"Lato\"),\n url(\"./fonts/Lato/Lato-Regular.ttf\") format(\"truetype\"); \n }\n"])));
|