@wireapp/react-ui-kit 9.45.0 → 9.46.1
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.
|
@@ -1 +1 @@
|
|
|
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
|
|
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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2MnB,CAAC"}
|
package/lib/Form/SelectStyles.js
CHANGED
|
@@ -28,34 +28,8 @@ const customStyles = ({ theme, markInvalid = false, menuPosition = 'absolute', c
|
|
|
28
28
|
indicatorsContainer: provided => ({
|
|
29
29
|
...provided,
|
|
30
30
|
}),
|
|
31
|
-
container: (_, {
|
|
32
|
-
const { menuIsOpen } = selectProps;
|
|
33
|
-
const isSelectDisabled = selectProps.isDisabled;
|
|
31
|
+
container: (_, { options }) => {
|
|
34
32
|
return {
|
|
35
|
-
'& > div > div[class$="-Control"]': {
|
|
36
|
-
...(0, Input_1.inputStyle)(theme, { disabled: isSelectDisabled, markInvalid }),
|
|
37
|
-
borderRadius: 12,
|
|
38
|
-
minHeight: 48,
|
|
39
|
-
...(isDisabled && {
|
|
40
|
-
backgroundColor: theme.Input.backgroundColorDisabled,
|
|
41
|
-
color: theme.Select.disabledColor,
|
|
42
|
-
cursor: 'default',
|
|
43
|
-
}),
|
|
44
|
-
...(markInvalid && {
|
|
45
|
-
boxShadow: `0 0 0 1px ${theme.general.dangerColor}`,
|
|
46
|
-
}),
|
|
47
|
-
...(menuIsOpen && {
|
|
48
|
-
boxShadow: `0 0 0 1px ${theme.general.primaryColor}`,
|
|
49
|
-
'&:hover': {
|
|
50
|
-
boxShadow: `0 0 0 1px ${theme.general.primaryColor}`,
|
|
51
|
-
},
|
|
52
|
-
}),
|
|
53
|
-
cursor: !isSelectDisabled && 'pointer',
|
|
54
|
-
'&:focus:visible, active': {
|
|
55
|
-
boxShadow: !isSelectDisabled && `0 0 0 1px ${theme.general.primaryColor}`,
|
|
56
|
-
},
|
|
57
|
-
...controlCSS,
|
|
58
|
-
},
|
|
59
33
|
'& > div': (0, SelectComponents_1.isGroup)(options)
|
|
60
34
|
? {
|
|
61
35
|
display: 'inline',
|
|
@@ -76,7 +50,7 @@ const customStyles = ({ theme, markInvalid = false, menuPosition = 'absolute', c
|
|
|
76
50
|
},
|
|
77
51
|
};
|
|
78
52
|
},
|
|
79
|
-
control: (_provided, { options }) => ({
|
|
53
|
+
control: (_provided, { isDisabled, selectProps, options }) => ({
|
|
80
54
|
display: 'flex',
|
|
81
55
|
alignItems: 'center',
|
|
82
56
|
appearance: 'none',
|
|
@@ -87,6 +61,26 @@ const customStyles = ({ theme, markInvalid = false, menuPosition = 'absolute', c
|
|
|
87
61
|
position: 'absolute',
|
|
88
62
|
zIndex: -9999,
|
|
89
63
|
}),
|
|
64
|
+
...(0, Input_1.inputStyle)(theme, { disabled: selectProps.isDisabled, markInvalid }),
|
|
65
|
+
borderRadius: 12,
|
|
66
|
+
...(isDisabled && {
|
|
67
|
+
backgroundColor: theme.Input.backgroundColorDisabled,
|
|
68
|
+
color: theme.Select.disabledColor,
|
|
69
|
+
cursor: 'default',
|
|
70
|
+
}),
|
|
71
|
+
...(markInvalid && {
|
|
72
|
+
boxShadow: `0 0 0 1px ${theme.general.dangerColor}`,
|
|
73
|
+
}),
|
|
74
|
+
...(selectProps.menuIsOpen && {
|
|
75
|
+
boxShadow: `0 0 0 1px ${theme.general.primaryColor}`,
|
|
76
|
+
'&:hover': {
|
|
77
|
+
boxShadow: `0 0 0 1px ${theme.general.primaryColor}`,
|
|
78
|
+
},
|
|
79
|
+
}),
|
|
80
|
+
cursor: !selectProps.isDisabled && 'pointer',
|
|
81
|
+
'&:focus:visible, active': {
|
|
82
|
+
boxShadow: !selectProps.isDisabled && `0 0 0 1px ${theme.general.primaryColor}`,
|
|
83
|
+
},
|
|
90
84
|
...controlCSS,
|
|
91
85
|
}),
|
|
92
86
|
dropdownIndicator: (provided, selectProps) => {
|
|
@@ -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