@wireapp/react-ui-kit 9.44.1 → 9.46.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/lib/Icon/CallIcon.d.ts.map +1 -1
- package/lib/Icon/CallIcon.js +1 -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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CallIcon.d.ts","sourceRoot":"","sources":["../../src/Icon/CallIcon.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAU,YAAY,EAAC,MAAM,WAAW,CAAC;AAEhD,eAAO,MAAM,QAAQ,UAAW,YAAY,
|
|
1
|
+
{"version":3,"file":"CallIcon.d.ts","sourceRoot":"","sources":["../../src/Icon/CallIcon.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAU,YAAY,EAAC,MAAM,WAAW,CAAC;AAEhD,eAAO,MAAM,QAAQ,UAAW,YAAY,qDAS3C,CAAC"}
|
package/lib/Icon/CallIcon.js
CHANGED
|
@@ -21,5 +21,5 @@ const jsx_runtime_1 = require("@emotion/react/jsx-runtime");
|
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
23
|
const SVGIcon_1 = require("./SVGIcon");
|
|
24
|
-
const CallIcon = (props) => ((0, jsx_runtime_1.
|
|
24
|
+
const CallIcon = (props) => ((0, jsx_runtime_1.jsxs)(SVGIcon_1.SVGIcon, { realWidth: 20, realHeight: 14, ...props, children: [(0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0 6.44c0-2.278 0-3.417.45-4.284A4 4 0 0 1 2.156.45C3.023 0 4.162 0 6.44 0h2.12c2.278 0 3.417 0 4.284.45a4 4 0 0 1 1.706 1.706c.45.867.45 2.006.45 4.284v1.12c0 2.278 0 3.417-.45 4.284a4 4 0 0 1-1.706 1.706c-.867.45-2.006.45-4.284.45H6.44c-2.278 0-3.417 0-4.284-.45A4 4 0 0 1 .45 11.844C0 10.977 0 9.838 0 7.56V6.44Zm5.5 2.202C6.903 10.043 8.573 11.5 9.966 11.5c.626 0 1.175-.218 1.617-.703.257-.286.417-.62.417-.95a.759.759 0 0 0-.32-.64l-1.49-1.056c-.224-.155-.418-.233-.593-.233-.218 0-.417.126-.64.344-.135.132-.53.417-.53.417-1.093-.736-1.882-1.518-2.616-2.612 0 0 .286-.397.417-.533.214-.223.345-.417.345-.64 0-.174-.078-.363-.243-.591L5.286 2.834a.79.79 0 0 0-.67-.334c-.32 0-.65.145-.936.422C3.209 3.372 3 3.93 3 4.545c0 1.391 1.097 2.702 2.5 4.097Z" }), (0, jsx_runtime_1.jsx)("path", { d: "M20 3.098v7.804a1 1 0 0 1-1.63.777L16.3 10V4l2.07-1.679a1 1 0 0 1 1.63.777Z" })] }));
|
|
25
25
|
exports.CallIcon = CallIcon;
|
package/package.json
CHANGED