@wireapp/react-ui-kit 9.44.1 → 9.45.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/lib/Form/Select.d.ts +3 -1
- package/lib/Form/Select.d.ts.map +1 -1
- package/lib/Form/Select.js +3 -1
- package/lib/Form/Select.stories.d.ts +1 -1
- package/lib/Form/SelectStyles.d.ts +2888 -161
- package/lib/Form/SelectStyles.d.ts.map +1 -1
- package/lib/Form/SelectStyles.js +5 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectStyles.d.ts","sourceRoot":"","sources":["../../src/Form/SelectStyles.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SelectStyles.d.ts","sourceRoot":"","sources":["../../src/Form/SelectStyles.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAKzC,OAAO,EAAC,KAAK,EAAC,MAAM,WAAW,CAAC;AAEhC,UAAU,kBAAkB;IAC1B,KAAK,EAAE,KAAK,CAAC;IACb,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IACvC,UAAU,EAAE,SAAS,CAAC;IACtB,YAAY,EAAE,SAAS,CAAC;CACzB;AAED,eAAO,MAAM,YAAY,oEAMtB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkNnB,CAAC"}
|
package/lib/Form/SelectStyles.js
CHANGED
|
@@ -21,7 +21,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
21
21
|
exports.customStyles = void 0;
|
|
22
22
|
const Input_1 = require("./Input");
|
|
23
23
|
const SelectComponents_1 = require("./SelectComponents");
|
|
24
|
-
const customStyles = ({ theme, markInvalid = false, menuPosition = 'absolute' }) => ({
|
|
24
|
+
const customStyles = ({ theme, markInvalid = false, menuPosition = 'absolute', controlCSS, containerCSS, }) => ({
|
|
25
25
|
indicatorSeparator: () => ({
|
|
26
26
|
display: 'none',
|
|
27
27
|
}),
|
|
@@ -54,12 +54,14 @@ const customStyles = ({ theme, markInvalid = false, menuPosition = 'absolute' })
|
|
|
54
54
|
'&:focus:visible, active': {
|
|
55
55
|
boxShadow: !isSelectDisabled && `0 0 0 1px ${theme.general.primaryColor}`,
|
|
56
56
|
},
|
|
57
|
+
...controlCSS,
|
|
57
58
|
},
|
|
58
59
|
'& > div': (0, SelectComponents_1.isGroup)(options)
|
|
59
60
|
? {
|
|
60
61
|
display: 'inline',
|
|
61
62
|
position: 'relative',
|
|
62
63
|
top: '-10px',
|
|
64
|
+
...containerCSS,
|
|
63
65
|
}
|
|
64
66
|
: {
|
|
65
67
|
padding: 0,
|
|
@@ -70,6 +72,7 @@ const customStyles = ({ theme, markInvalid = false, menuPosition = 'absolute' })
|
|
|
70
72
|
textShadow: '0 0 0 #000',
|
|
71
73
|
},
|
|
72
74
|
position: 'relative',
|
|
75
|
+
...containerCSS,
|
|
73
76
|
},
|
|
74
77
|
};
|
|
75
78
|
},
|
|
@@ -84,6 +87,7 @@ const customStyles = ({ theme, markInvalid = false, menuPosition = 'absolute' })
|
|
|
84
87
|
position: 'absolute',
|
|
85
88
|
zIndex: -9999,
|
|
86
89
|
}),
|
|
90
|
+
...controlCSS,
|
|
87
91
|
}),
|
|
88
92
|
dropdownIndicator: (provided, selectProps) => {
|
|
89
93
|
const isSelectDisabled = selectProps.isDisabled;
|
package/package.json
CHANGED