@atlaskit/react-select 2.4.6 → 2.4.8
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/CHANGELOG.md +15 -0
- package/dist/cjs/compiled/components/containers.js +3 -3
- package/dist/cjs/compiled/components/control.js +1 -1
- package/dist/cjs/compiled/components/group.js +2 -2
- package/dist/cjs/compiled/components/indicators.js +3 -3
- package/dist/cjs/compiled/components/input.js +2 -2
- package/dist/cjs/compiled/components/internal/a11y-text.js +5 -3
- package/dist/cjs/compiled/components/internal/dummy-input.js +5 -4
- package/dist/cjs/compiled/components/internal/required-input.js +5 -3
- package/dist/cjs/compiled/components/menu.js +5 -5
- package/dist/cjs/compiled/components/multi-value.js +3 -3
- package/dist/cjs/compiled/components/option.js +1 -1
- package/dist/cjs/compiled/components/placeholder.js +1 -1
- package/dist/cjs/compiled/components/single-value.js +1 -1
- package/dist/es2019/compiled/components/containers.js +3 -3
- package/dist/es2019/compiled/components/control.js +1 -1
- package/dist/es2019/compiled/components/group.js +2 -2
- package/dist/es2019/compiled/components/indicators.js +3 -3
- package/dist/es2019/compiled/components/input.js +2 -2
- package/dist/es2019/compiled/components/internal/a11y-text.js +5 -3
- package/dist/es2019/compiled/components/internal/dummy-input.js +5 -4
- package/dist/es2019/compiled/components/internal/required-input.js +5 -3
- package/dist/es2019/compiled/components/menu.js +5 -5
- package/dist/es2019/compiled/components/multi-value.js +3 -3
- package/dist/es2019/compiled/components/option.js +1 -1
- package/dist/es2019/compiled/components/placeholder.js +1 -1
- package/dist/es2019/compiled/components/single-value.js +1 -1
- package/dist/esm/compiled/components/containers.js +3 -3
- package/dist/esm/compiled/components/control.js +1 -1
- package/dist/esm/compiled/components/group.js +2 -2
- package/dist/esm/compiled/components/indicators.js +3 -3
- package/dist/esm/compiled/components/input.js +2 -2
- package/dist/esm/compiled/components/internal/a11y-text.js +5 -3
- package/dist/esm/compiled/components/internal/dummy-input.js +5 -4
- package/dist/esm/compiled/components/internal/required-input.js +5 -3
- package/dist/esm/compiled/components/menu.js +5 -5
- package/dist/esm/compiled/components/multi-value.js +3 -3
- package/dist/esm/compiled/components/option.js +1 -1
- package/dist/esm/compiled/components/placeholder.js +1 -1
- package/dist/esm/compiled/components/single-value.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/react-select
|
|
2
2
|
|
|
3
|
+
## 2.4.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 2.4.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#150364](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/150364)
|
|
14
|
+
[`8b38cbb81c263`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8b38cbb81c263) -
|
|
15
|
+
Add emotion class on compiled components to continue support of class queries temporarily, please
|
|
16
|
+
avoid using any class to style or query'
|
|
17
|
+
|
|
3
18
|
## 2.4.6
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -45,7 +45,7 @@ var SelectContainer = exports.SelectContainer = function SelectContainer(props)
|
|
|
45
45
|
css = _getStyleProps.css;
|
|
46
46
|
return /*#__PURE__*/React.createElement("div", (0, _extends2.default)({
|
|
47
47
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
48
|
-
className: (0, _runtime.ax)([containerStyles.default, isRtl && containerStyles.rtl, isDisabled && containerStyles.disabled, (0, _platformFeatureFlags.fg)('platform_design_system_team_safari_input_fix') && containerStyles.ff_safari_input_fix, (0, _react2.cx)(className, xcss)])
|
|
48
|
+
className: (0, _runtime.ax)([containerStyles.default, isRtl && containerStyles.rtl, isDisabled && containerStyles.disabled, (0, _platformFeatureFlags.fg)('platform_design_system_team_safari_input_fix') && containerStyles.ff_safari_input_fix, (0, _react2.cx)(className, xcss, '-container')])
|
|
49
49
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
50
50
|
,
|
|
51
51
|
style: css
|
|
@@ -83,7 +83,7 @@ var ValueContainer = exports.ValueContainer = function ValueContainer(props) {
|
|
|
83
83
|
className = _getStyleProps2.className;
|
|
84
84
|
return /*#__PURE__*/React.createElement("div", (0, _extends2.default)({
|
|
85
85
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
86
|
-
className: (0, _runtime.ax)([valueContainerStyles.default, isMulti && hasValue && controlShouldRenderValue && valueContainerStyles.flex, isCompact && valueContainerStyles.compact, (0, _react2.cx)(className
|
|
86
|
+
className: (0, _runtime.ax)([valueContainerStyles.default, isMulti && hasValue && controlShouldRenderValue && valueContainerStyles.flex, isCompact && valueContainerStyles.compact, (0, _react2.cx)(className, xcss, '-ValueContainer')])
|
|
87
87
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
88
88
|
,
|
|
89
89
|
style: css
|
|
@@ -114,6 +114,6 @@ var IndicatorsContainer = exports.IndicatorsContainer = function IndicatorsConta
|
|
|
114
114
|
style: css
|
|
115
115
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
116
116
|
,
|
|
117
|
-
className: (0, _runtime.ax)(["_1e0c1txw _4cvr1h6o _1o9zidpf _1wpz1fhb _y4ti1b66", (0, _react2.cx)(className, xcss)])
|
|
117
|
+
className: (0, _runtime.ax)(["_1e0c1txw _4cvr1h6o _1o9zidpf _1wpz1fhb _y4ti1b66", (0, _react2.cx)(className, xcss, '-IndicatorsContainer')])
|
|
118
118
|
}, innerProps), children);
|
|
119
119
|
};
|
|
@@ -53,7 +53,7 @@ var Control = function Control(props) {
|
|
|
53
53
|
ref: innerRef
|
|
54
54
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
55
55
|
,
|
|
56
|
-
className: (0, _runtime.ax)([styles.default, isDisabled && styles.disabled, isInvalid && styles.invalid, isCompact && styles.compact, appearance === 'subtle' && styles.subtle, appearance === 'subtle' && isFocused && styles.subtleFocused, isFocused && styles.focused, appearance === 'none' && styles.none, (0, _react2.cx)(className, xcss)])
|
|
56
|
+
className: (0, _runtime.ax)([styles.default, isDisabled && styles.disabled, isInvalid && styles.invalid, isCompact && styles.compact, appearance === 'subtle' && styles.subtle, appearance === 'subtle' && isFocused && styles.subtleFocused, isFocused && styles.focused, appearance === 'none' && styles.none, (0, _react2.cx)(className, xcss, '-control')])
|
|
57
57
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
58
58
|
,
|
|
59
59
|
style: css
|
|
@@ -44,7 +44,7 @@ var Group = function Group(props) {
|
|
|
44
44
|
style: css
|
|
45
45
|
}, innerProps, {
|
|
46
46
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
47
|
-
className: (0, _runtime.ax)([styles.root, (0, _react2.cx)(className, xcss, innerProps === null || innerProps === void 0 ? void 0 : innerProps.className)])
|
|
47
|
+
className: (0, _runtime.ax)([styles.root, (0, _react2.cx)(className, xcss, innerProps === null || innerProps === void 0 ? void 0 : innerProps.className, '-Group')])
|
|
48
48
|
}), label && /*#__PURE__*/React.createElement(Heading, (0, _extends2.default)({}, headingProps, {
|
|
49
49
|
selectProps: selectProps,
|
|
50
50
|
getStyles: getStyles,
|
|
@@ -70,7 +70,7 @@ var GroupHeading = exports.GroupHeading = function GroupHeading(props) {
|
|
|
70
70
|
className = _getStyleProps2.className;
|
|
71
71
|
return /*#__PURE__*/React.createElement("div", (0, _extends2.default)({
|
|
72
72
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
73
|
-
className: (0, _runtime.ax)(["_11c81o8v _1e0c1ule _syaz1gjq _80om73ad _k48pmoej _6rthpd1z _y4tiutpp _bozgutpp _1p1dglyw", (0, _react2.cx)(className, xcss)])
|
|
73
|
+
className: (0, _runtime.ax)(["_11c81o8v _1e0c1ule _syaz1gjq _80om73ad _k48pmoej _6rthpd1z _y4tiutpp _bozgutpp _1p1dglyw", (0, _react2.cx)(className, xcss, '-group')])
|
|
74
74
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
75
75
|
,
|
|
76
76
|
style: css
|
|
@@ -66,7 +66,7 @@ var DropdownIndicator = exports.DropdownIndicator = function DropdownIndicator(p
|
|
|
66
66
|
style: css
|
|
67
67
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
68
68
|
,
|
|
69
|
-
className: (0, _runtime.ax)([dropdownStyles.default, isDisabled && dropdownStyles.disabled, isCompact && dropdownStyles.compact, (0, _react2.cx)(className, xcss)])
|
|
69
|
+
className: (0, _runtime.ax)([dropdownStyles.default, isDisabled && dropdownStyles.disabled, isCompact && dropdownStyles.compact, (0, _react2.cx)(className, xcss, '-indicatorContainer')])
|
|
70
70
|
}, innerProps), children ? children : /*#__PURE__*/React.createElement(_compiled.Inline, {
|
|
71
71
|
as: "span",
|
|
72
72
|
xcss: dropdownWrapperStyles.root
|
|
@@ -102,7 +102,7 @@ var ClearIndicator = exports.ClearIndicator = function ClearIndicator(props) {
|
|
|
102
102
|
style: css
|
|
103
103
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
104
104
|
,
|
|
105
|
-
className: (0, _runtime.ax)([clearIndicatorStyles.default, isCompact && clearIndicatorStyles.compact, (0, _react2.cx)(className, xcss)])
|
|
105
|
+
className: (0, _runtime.ax)([clearIndicatorStyles.default, isCompact && clearIndicatorStyles.compact, (0, _react2.cx)(className, xcss, '-indicatorContainer')])
|
|
106
106
|
}, innerProps), /*#__PURE__*/React.createElement(_compiled.Pressable, {
|
|
107
107
|
xcss: iconContainerStyles.root,
|
|
108
108
|
tabIndex: -1,
|
|
@@ -150,7 +150,7 @@ var LoadingIndicator = exports.LoadingIndicator = function LoadingIndicator(_ref
|
|
|
150
150
|
style: css
|
|
151
151
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
152
152
|
,
|
|
153
|
-
className: (0, _runtime.ax)([loadingIndicatorStyles.default, isCompact && loadingIndicatorStyles.compact, (0, _react2.cx)(className, xcss)])
|
|
153
|
+
className: (0, _runtime.ax)([loadingIndicatorStyles.default, isCompact && loadingIndicatorStyles.compact, (0, _react2.cx)(className, xcss, '-loadingIndicator')])
|
|
154
154
|
}, innerProps), /*#__PURE__*/React.createElement(_spinner.default, {
|
|
155
155
|
size: "small"
|
|
156
156
|
}));
|
|
@@ -48,14 +48,14 @@ var Input = function Input(props) {
|
|
|
48
48
|
style: css
|
|
49
49
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
50
50
|
,
|
|
51
|
-
className: (0, _runtime.ax)([inputStyles.root, isDisabled && inputStyles.disabled, (0, _react2.cx)(className, xcss)]),
|
|
51
|
+
className: (0, _runtime.ax)([inputStyles.root, isDisabled && inputStyles.disabled, (0, _react2.cx)(className, xcss, '-Input')]),
|
|
52
52
|
"data-value": value || '',
|
|
53
53
|
"data-testid": dataId && "".concat(dataId, "-container")
|
|
54
54
|
}, /*#__PURE__*/React.createElement("input", (0, _extends2.default)({
|
|
55
55
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
56
56
|
className: (0, _runtime.ax)(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _11q7idpf _19itidpf _11c81kw7 _nd5l1yjy _12ji1r31 _1qu2glyw _12y3idpf _1bsb1osq _1ul9yh40 _syaz1kw7 _tzy4kb7n", isHidden && "_tzy4idpf", builtinCX({
|
|
57
57
|
input: true
|
|
58
|
-
}, inputClassName)]),
|
|
58
|
+
}, inputClassName, '-input')]),
|
|
59
59
|
ref: innerRef,
|
|
60
60
|
disabled: isDisabled,
|
|
61
61
|
"data-testid": dataId
|
|
@@ -16,8 +16,10 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
16
16
|
// Assistive text to describe visual elements. Hidden for sighted users.
|
|
17
17
|
var styles = null;
|
|
18
18
|
var A11yText = function A11yText(props) {
|
|
19
|
-
return /*#__PURE__*/React.createElement("span", (0, _extends2.default)({
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
return /*#__PURE__*/React.createElement("span", (0, _extends2.default)({
|
|
20
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
21
|
+
className: (0, _runtime.ax)(["_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19itidpf _1reo15vq _18m915vq _1bsbt94y _4t3it94y _kqswstnw _1pbydx66 _ogto7mnp _jqf6ydhy _uiztglyw _o5721q9c", "-a11yText"])
|
|
22
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
23
|
+
}, props));
|
|
22
24
|
};
|
|
23
25
|
var _default = exports.default = A11yText;
|
|
@@ -22,9 +22,10 @@ function DummyInput(_ref) {
|
|
|
22
22
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
23
23
|
// Remove animation props not meant for HTML elements
|
|
24
24
|
var filteredProps = (0, _utils.removeProps)(props, 'onExited', 'in', 'enter', 'exit', 'appear');
|
|
25
|
+
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
25
27
|
return /*#__PURE__*/React.createElement("input", (0, _extends2.default)({
|
|
26
|
-
ref: innerRef
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}));
|
|
28
|
+
ref: innerRef,
|
|
29
|
+
className: (0, _runtime.ax)(["_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _11q7idpf _19itidpf _nd5l1sux _12ji1r31 _1qu2glyw _12y3idpf _1bsbt94y _kqswh2mm _1n5d1j28 _syaz1j28 _1e02p1rm _tzy4idpf _t9ec1kuz", "-dummyInput"])
|
|
30
|
+
}, filteredProps));
|
|
30
31
|
}
|
|
@@ -21,12 +21,14 @@ var RequiredInput = function RequiredInput(_ref) {
|
|
|
21
21
|
required: true,
|
|
22
22
|
name: name,
|
|
23
23
|
tabIndex: -1,
|
|
24
|
-
"aria-hidden": "true"
|
|
24
|
+
"aria-hidden": "true"
|
|
25
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
26
|
+
,
|
|
27
|
+
className: (0, _runtime.ax)(["_1bsb1osq _kqswstnw _u7coidpf _rjxpidpf _1e02idpf _jqf61a21 _tzy4idpf _lcxvglyw", "-requiredInput"]),
|
|
25
28
|
onFocus: onFocus,
|
|
26
29
|
// Prevent `Switching from uncontrolled to controlled` error
|
|
27
30
|
value: "",
|
|
28
|
-
onChange: _noop.default
|
|
29
|
-
className: (0, _runtime.ax)(["_1bsb1osq _kqswstnw _u7coidpf _rjxpidpf _1e02idpf _jqf61a21 _tzy4idpf _lcxvglyw"])
|
|
31
|
+
onChange: _noop.default
|
|
30
32
|
});
|
|
31
33
|
};
|
|
32
34
|
|
|
@@ -275,7 +275,7 @@ var Menu = function Menu(props) {
|
|
|
275
275
|
className = _getStyleProps.className;
|
|
276
276
|
return /*#__PURE__*/React.createElement("div", (0, _extends2.default)({
|
|
277
277
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
278
|
-
className: (0, _runtime.ax)([menuStyles.root, menuStyles[placement], (0, _react2.cx)(xcss, className)])
|
|
278
|
+
className: (0, _runtime.ax)([menuStyles.root, menuStyles[placement], (0, _react2.cx)(xcss, className, '-menu')])
|
|
279
279
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
280
280
|
,
|
|
281
281
|
style: css,
|
|
@@ -308,7 +308,7 @@ var MenuList = exports.MenuList = function MenuList(props) {
|
|
|
308
308
|
className = _getStyleProps2.className;
|
|
309
309
|
return /*#__PURE__*/React.createElement("div", (0, _extends2.default)({
|
|
310
310
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
311
|
-
className: (0, _runtime.ax)(["_kqswh2mm _18m91wug _85i5u2gc _1q51u2gc _8am5i4x0", (0, _react2.cx)(className, xcss)])
|
|
311
|
+
className: (0, _runtime.ax)(["_kqswh2mm _18m91wug _85i5u2gc _1q51u2gc _8am5i4x0", (0, _react2.cx)(className, xcss, '-MenuList')])
|
|
312
312
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
313
313
|
,
|
|
314
314
|
style: _objectSpread(_objectSpread({}, css), {}, {
|
|
@@ -348,7 +348,7 @@ var NoOptionsMessage = exports.NoOptionsMessage = function NoOptionsMessage(_ref
|
|
|
348
348
|
className = _getStyleProps3.className;
|
|
349
349
|
return /*#__PURE__*/React.createElement("div", (0, _extends2.default)({
|
|
350
350
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
351
|
-
className: (0, _runtime.ax)(["_85i5u2gc _1q51u2gc _y4tiutpp _bozgutpp _y3gn1h6o", (0, _react2.cx)(className, xcss)])
|
|
351
|
+
className: (0, _runtime.ax)(["_85i5u2gc _1q51u2gc _y4tiutpp _bozgutpp _y3gn1h6o", (0, _react2.cx)(className, xcss, '-NoOptionsMessage')])
|
|
352
352
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
353
353
|
,
|
|
354
354
|
style: css
|
|
@@ -378,7 +378,7 @@ var LoadingMessage = exports.LoadingMessage = function LoadingMessage(_ref4) {
|
|
|
378
378
|
className = _getStyleProps4.className;
|
|
379
379
|
return /*#__PURE__*/React.createElement("div", (0, _extends2.default)({
|
|
380
380
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
381
|
-
className: (0, _runtime.ax)(["_85i5u2gc _1q51u2gc _y4tiutpp _bozgutpp _y3gn1h6o", (0, _react2.cx)(className, xcss)])
|
|
381
|
+
className: (0, _runtime.ax)(["_85i5u2gc _1q51u2gc _y4tiutpp _bozgutpp _y3gn1h6o", (0, _react2.cx)(className, xcss, '-LoadingMessage')])
|
|
382
382
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
383
383
|
,
|
|
384
384
|
style: css
|
|
@@ -474,7 +474,7 @@ var MenuPortal = exports.MenuPortal = function MenuPortal(props) {
|
|
|
474
474
|
// same wrapper element whether fixed or portalled
|
|
475
475
|
var menuWrapper = /*#__PURE__*/React.createElement("div", (0, _extends2.default)({
|
|
476
476
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
477
|
-
className: (0, _react2.cx)(className, xcss),
|
|
477
|
+
className: (0, _react2.cx)(className, xcss, '-MenuPortal'),
|
|
478
478
|
ref: setMenuPortalElement,
|
|
479
479
|
style: _objectSpread({
|
|
480
480
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
@@ -59,7 +59,7 @@ var MultiValueContainer = exports.MultiValueContainer = function MultiValueConta
|
|
|
59
59
|
xcss = _ref.xcss;
|
|
60
60
|
return /*#__PURE__*/React.createElement("div", (0, _extends2.default)({}, innerProps, {
|
|
61
61
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
62
|
-
className: (0, _runtime.ax)([multiValueStyles.root, isDisabled && multiValueStyles.disabled, isFocused && multiValueStyles.focused, (0, _platformFeatureFlags.fg)('platform-component-visual-refresh') && multiValueStyles.refresh, (0, _react2.cx)(className, xcss)])
|
|
62
|
+
className: (0, _runtime.ax)([multiValueStyles.root, isDisabled && multiValueStyles.disabled, isFocused && multiValueStyles.focused, (0, _platformFeatureFlags.fg)('platform-component-visual-refresh') && multiValueStyles.refresh, (0, _react2.cx)(className, xcss, '-multiValue')])
|
|
63
63
|
}), children);
|
|
64
64
|
};
|
|
65
65
|
|
|
@@ -73,7 +73,7 @@ var MultiValueLabel = exports.MultiValueLabel = function MultiValueLabel(_ref2)
|
|
|
73
73
|
xcss = _ref2.xcss;
|
|
74
74
|
return /*#__PURE__*/React.createElement("div", (0, _extends2.default)({}, innerProps, {
|
|
75
75
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
76
|
-
className: (0, _runtime.ax)([multiValueLabelStyles.root, isDisabled && multiValueLabelStyles.disabled, hasEllipsis && multiValueLabelStyles.ellipsis, (0, _platformFeatureFlags.fg)('platform-component-visual-refresh') && multiValueLabelStyles.refresh, (0, _react2.cx)(className, xcss)])
|
|
76
|
+
className: (0, _runtime.ax)([multiValueLabelStyles.root, isDisabled && multiValueLabelStyles.disabled, hasEllipsis && multiValueLabelStyles.ellipsis, (0, _platformFeatureFlags.fg)('platform-component-visual-refresh') && multiValueLabelStyles.refresh, (0, _react2.cx)(className, xcss, '-MultiValueLabel')])
|
|
77
77
|
}), children);
|
|
78
78
|
};
|
|
79
79
|
var disabledStyles = null;
|
|
@@ -86,7 +86,7 @@ function MultiValueRemove(_ref3) {
|
|
|
86
86
|
xcss = _ref3.xcss;
|
|
87
87
|
return /*#__PURE__*/React.createElement("div", (0, _extends2.default)({}, innerProps, {
|
|
88
88
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
89
|
-
className: (0, _runtime.ax)([multiValueRemoveStyles.root, isFocused && multiValueRemoveStyles.focused, (0, _platformFeatureFlags.fg)('platform-component-visual-refresh') && multiValueRemoveStyles.refresh, (0, _react2.cx)(className, xcss)])
|
|
89
|
+
className: (0, _runtime.ax)([multiValueRemoveStyles.root, isFocused && multiValueRemoveStyles.focused, (0, _platformFeatureFlags.fg)('platform-component-visual-refresh') && multiValueRemoveStyles.refresh, (0, _react2.cx)(className, xcss, '-MultiValueRemove')])
|
|
90
90
|
}), /*#__PURE__*/React.createElement("div", {
|
|
91
91
|
"data-testid": isDisabled ? 'hide-clear-icon' : 'show-clear-icon',
|
|
92
92
|
className: (0, _runtime.ax)([isDisabled && "_1e0cglyw", !isDisabled && "_1e0c1kw7"])
|
|
@@ -46,7 +46,7 @@ var Option = function Option(props) {
|
|
|
46
46
|
style: css
|
|
47
47
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
48
48
|
,
|
|
49
|
-
className: (0, _runtime.ax)([optionStyles.root, isFocused && optionStyles.focused, isSelected && optionStyles.selected, isFocused && isSelected && optionStyles.focusedSelected, isDisabled && optionStyles.disabled, (0, _react2.cx)(className, xcss)]),
|
|
49
|
+
className: (0, _runtime.ax)([optionStyles.root, isFocused && optionStyles.focused, isSelected && optionStyles.selected, isFocused && isSelected && optionStyles.focusedSelected, isDisabled && optionStyles.disabled, (0, _react2.cx)(className, xcss, '-option')]),
|
|
50
50
|
ref: innerRef
|
|
51
51
|
}, innerProps, {
|
|
52
52
|
tabIndex: -1
|
|
@@ -37,7 +37,7 @@ var Placeholder = function Placeholder(props) {
|
|
|
37
37
|
style: css
|
|
38
38
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
39
39
|
,
|
|
40
|
-
className: (0, _runtime.ax)([placeholderStyles.root, isDisabled && placeholderStyles.disabled, (0, _react2.cx)(className, xcss)])
|
|
40
|
+
className: (0, _runtime.ax)([placeholderStyles.root, isDisabled && placeholderStyles.disabled, (0, _react2.cx)(className, xcss, '-placeholder')])
|
|
41
41
|
}, innerProps), children);
|
|
42
42
|
};
|
|
43
43
|
|
|
@@ -38,7 +38,7 @@ var SingleValue = function SingleValue(props) {
|
|
|
38
38
|
style: css
|
|
39
39
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
40
40
|
,
|
|
41
|
-
className: (0, _runtime.ax)([styles.root, isDisabled && styles.disalbed, (0, _react2.cx)(className, xcss)])
|
|
41
|
+
className: (0, _runtime.ax)([styles.root, isDisabled && styles.disalbed, (0, _react2.cx)(className, xcss, '-singleValue')])
|
|
42
42
|
}, innerProps), children);
|
|
43
43
|
};
|
|
44
44
|
|
|
@@ -37,7 +37,7 @@ export const SelectContainer = props => {
|
|
|
37
37
|
});
|
|
38
38
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
39
39
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
40
|
-
className: ax([containerStyles.default, isRtl && containerStyles.rtl, isDisabled && containerStyles.disabled, fg('platform_design_system_team_safari_input_fix') && containerStyles.ff_safari_input_fix, cx(className, xcss)])
|
|
40
|
+
className: ax([containerStyles.default, isRtl && containerStyles.rtl, isDisabled && containerStyles.disabled, fg('platform_design_system_team_safari_input_fix') && containerStyles.ff_safari_input_fix, cx(className, xcss, '-container')])
|
|
41
41
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
42
42
|
,
|
|
43
43
|
style: css
|
|
@@ -78,7 +78,7 @@ export const ValueContainer = props => {
|
|
|
78
78
|
});
|
|
79
79
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
80
80
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
81
|
-
className: ax([valueContainerStyles.default, isMulti && hasValue && controlShouldRenderValue && valueContainerStyles.flex, isCompact && valueContainerStyles.compact, cx(className
|
|
81
|
+
className: ax([valueContainerStyles.default, isMulti && hasValue && controlShouldRenderValue && valueContainerStyles.flex, isCompact && valueContainerStyles.compact, cx(className, xcss, '-ValueContainer')])
|
|
82
82
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
83
83
|
,
|
|
84
84
|
style: css
|
|
@@ -110,6 +110,6 @@ export const IndicatorsContainer = props => {
|
|
|
110
110
|
style: css
|
|
111
111
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
112
112
|
,
|
|
113
|
-
className: ax(["_1e0c1txw _4cvr1h6o _1o9zidpf _1wpz1fhb _y4ti1b66", cx(className, xcss)])
|
|
113
|
+
className: ax(["_1e0c1txw _4cvr1h6o _1o9zidpf _1wpz1fhb _y4ti1b66", cx(className, xcss, '-IndicatorsContainer')])
|
|
114
114
|
}, innerProps), children);
|
|
115
115
|
};
|
|
@@ -45,7 +45,7 @@ const Control = props => {
|
|
|
45
45
|
ref: innerRef
|
|
46
46
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
47
47
|
,
|
|
48
|
-
className: ax([styles.default, isDisabled && styles.disabled, isInvalid && styles.invalid, isCompact && styles.compact, appearance === 'subtle' && styles.subtle, appearance === 'subtle' && isFocused && styles.subtleFocused, isFocused && styles.focused, appearance === 'none' && styles.none, cx(className, xcss)])
|
|
48
|
+
className: ax([styles.default, isDisabled && styles.disabled, isInvalid && styles.invalid, isCompact && styles.compact, appearance === 'subtle' && styles.subtle, appearance === 'subtle' && isFocused && styles.subtleFocused, isFocused && styles.focused, appearance === 'none' && styles.none, cx(className, xcss, '-control')])
|
|
49
49
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
50
50
|
,
|
|
51
51
|
style: css
|
|
@@ -33,7 +33,7 @@ const Group = props => {
|
|
|
33
33
|
style: css
|
|
34
34
|
}, innerProps, {
|
|
35
35
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
36
|
-
className: ax([styles.root, cx(className, xcss, innerProps === null || innerProps === void 0 ? void 0 : innerProps.className)])
|
|
36
|
+
className: ax([styles.root, cx(className, xcss, innerProps === null || innerProps === void 0 ? void 0 : innerProps.className, '-Group')])
|
|
37
37
|
}), label && /*#__PURE__*/React.createElement(Heading, _extends({}, headingProps, {
|
|
38
38
|
selectProps: selectProps,
|
|
39
39
|
getStyles: getStyles,
|
|
@@ -61,7 +61,7 @@ export const GroupHeading = props => {
|
|
|
61
61
|
});
|
|
62
62
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
63
63
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
64
|
-
className: ax(["_11c81o8v _1e0c1ule _syaz1gjq _80om73ad _k48pmoej _6rthpd1z _y4tiutpp _bozgutpp _1p1dglyw", cx(className, xcss)])
|
|
64
|
+
className: ax(["_11c81o8v _1e0c1ule _syaz1gjq _80om73ad _k48pmoej _6rthpd1z _y4tiutpp _bozgutpp _1p1dglyw", cx(className, xcss, '-group')])
|
|
65
65
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
66
66
|
,
|
|
67
67
|
style: css
|
|
@@ -53,7 +53,7 @@ export const DropdownIndicator = props => {
|
|
|
53
53
|
style: css
|
|
54
54
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
55
55
|
,
|
|
56
|
-
className: ax([dropdownStyles.default, isDisabled && dropdownStyles.disabled, isCompact && dropdownStyles.compact, cx(className, xcss)])
|
|
56
|
+
className: ax([dropdownStyles.default, isDisabled && dropdownStyles.disabled, isCompact && dropdownStyles.compact, cx(className, xcss, '-indicatorContainer')])
|
|
57
57
|
}, innerProps), children ? children : /*#__PURE__*/React.createElement(Inline, {
|
|
58
58
|
as: "span",
|
|
59
59
|
xcss: dropdownWrapperStyles.root
|
|
@@ -89,7 +89,7 @@ export const ClearIndicator = props => {
|
|
|
89
89
|
style: css
|
|
90
90
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
91
91
|
,
|
|
92
|
-
className: ax([clearIndicatorStyles.default, isCompact && clearIndicatorStyles.compact, cx(className, xcss)])
|
|
92
|
+
className: ax([clearIndicatorStyles.default, isCompact && clearIndicatorStyles.compact, cx(className, xcss, '-indicatorContainer')])
|
|
93
93
|
}, innerProps), /*#__PURE__*/React.createElement(Pressable, {
|
|
94
94
|
xcss: iconContainerStyles.root,
|
|
95
95
|
tabIndex: -1,
|
|
@@ -137,7 +137,7 @@ export const LoadingIndicator = ({
|
|
|
137
137
|
style: css
|
|
138
138
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
139
139
|
,
|
|
140
|
-
className: ax([loadingIndicatorStyles.default, isCompact && loadingIndicatorStyles.compact, cx(className, xcss)])
|
|
140
|
+
className: ax([loadingIndicatorStyles.default, isCompact && loadingIndicatorStyles.compact, cx(className, xcss, '-loadingIndicator')])
|
|
141
141
|
}, innerProps), /*#__PURE__*/React.createElement(Spinner, {
|
|
142
142
|
size: "small"
|
|
143
143
|
}));
|
|
@@ -38,14 +38,14 @@ const Input = props => {
|
|
|
38
38
|
style: css
|
|
39
39
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
40
40
|
,
|
|
41
|
-
className: ax([inputStyles.root, isDisabled && inputStyles.disabled, cx(className, xcss)]),
|
|
41
|
+
className: ax([inputStyles.root, isDisabled && inputStyles.disabled, cx(className, xcss, '-Input')]),
|
|
42
42
|
"data-value": value || '',
|
|
43
43
|
"data-testid": dataId && `${dataId}-container`
|
|
44
44
|
}, /*#__PURE__*/React.createElement("input", _extends({
|
|
45
45
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
46
46
|
className: ax(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _11q7idpf _19itidpf _11c81kw7 _nd5l1yjy _12ji1r31 _1qu2glyw _12y3idpf _1bsb1osq _1ul9yh40 _syaz1kw7 _tzy4kb7n", isHidden && "_tzy4idpf", builtinCX({
|
|
47
47
|
input: true
|
|
48
|
-
}, inputClassName)]),
|
|
48
|
+
}, inputClassName, '-input')]),
|
|
49
49
|
ref: innerRef,
|
|
50
50
|
disabled: isDisabled,
|
|
51
51
|
"data-testid": dataId
|
|
@@ -5,7 +5,9 @@ import * as React from 'react';
|
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
// Assistive text to describe visual elements. Hidden for sighted users.
|
|
7
7
|
const styles = null;
|
|
8
|
-
const A11yText = props => /*#__PURE__*/React.createElement("span", _extends({
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
const A11yText = props => /*#__PURE__*/React.createElement("span", _extends({
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
10
|
+
className: ax(["_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19itidpf _1reo15vq _18m915vq _1bsbt94y _4t3it94y _kqswstnw _1pbydx66 _ogto7mnp _jqf6ydhy _uiztglyw _o5721q9c", "-a11yText"])
|
|
11
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
12
|
+
}, props));
|
|
11
13
|
export default A11yText;
|
|
@@ -11,9 +11,10 @@ export default function DummyInput({
|
|
|
11
11
|
}) {
|
|
12
12
|
// Remove animation props not meant for HTML elements
|
|
13
13
|
const filteredProps = removeProps(props, 'onExited', 'in', 'enter', 'exit', 'appear');
|
|
14
|
+
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
14
16
|
return /*#__PURE__*/React.createElement("input", _extends({
|
|
15
|
-
ref: innerRef
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}));
|
|
17
|
+
ref: innerRef,
|
|
18
|
+
className: ax(["_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _11q7idpf _19itidpf _nd5l1sux _12ji1r31 _1qu2glyw _12y3idpf _1bsbt94y _kqswh2mm _1n5d1j28 _syaz1j28 _1e02p1rm _tzy4idpf _t9ec1kuz", "-dummyInput"])
|
|
19
|
+
}, filteredProps));
|
|
19
20
|
}
|
|
@@ -11,12 +11,14 @@ const RequiredInput = ({
|
|
|
11
11
|
required: true,
|
|
12
12
|
name: name,
|
|
13
13
|
tabIndex: -1,
|
|
14
|
-
"aria-hidden": "true"
|
|
14
|
+
"aria-hidden": "true"
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
16
|
+
,
|
|
17
|
+
className: ax(["_1bsb1osq _kqswstnw _u7coidpf _rjxpidpf _1e02idpf _jqf61a21 _tzy4idpf _lcxvglyw", "-requiredInput"]),
|
|
15
18
|
onFocus: onFocus,
|
|
16
19
|
// Prevent `Switching from uncontrolled to controlled` error
|
|
17
20
|
value: "",
|
|
18
|
-
onChange: __noop
|
|
19
|
-
className: ax(["_1bsb1osq _kqswstnw _u7coidpf _rjxpidpf _1e02idpf _jqf61a21 _tzy4idpf _lcxvglyw"])
|
|
21
|
+
onChange: __noop
|
|
20
22
|
});
|
|
21
23
|
|
|
22
24
|
// eslint-disable-next-line @repo/internal/react/require-jsdoc
|
|
@@ -259,7 +259,7 @@ const Menu = props => {
|
|
|
259
259
|
});
|
|
260
260
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
261
261
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
262
|
-
className: ax([menuStyles.root, menuStyles[placement], cx(xcss, className)])
|
|
262
|
+
className: ax([menuStyles.root, menuStyles[placement], cx(xcss, className, '-menu')])
|
|
263
263
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
264
264
|
,
|
|
265
265
|
style: css,
|
|
@@ -296,7 +296,7 @@ export const MenuList = props => {
|
|
|
296
296
|
});
|
|
297
297
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
298
298
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
299
|
-
className: ax(["_kqswh2mm _18m91wug _85i5u2gc _1q51u2gc _8am5i4x0", cx(className, xcss)])
|
|
299
|
+
className: ax(["_kqswh2mm _18m91wug _85i5u2gc _1q51u2gc _8am5i4x0", cx(className, xcss, '-MenuList')])
|
|
300
300
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
301
301
|
,
|
|
302
302
|
style: {
|
|
@@ -337,7 +337,7 @@ export const NoOptionsMessage = ({
|
|
|
337
337
|
});
|
|
338
338
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
339
339
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
340
|
-
className: ax(["_85i5u2gc _1q51u2gc _y4tiutpp _bozgutpp _y3gn1h6o", cx(className, xcss)])
|
|
340
|
+
className: ax(["_85i5u2gc _1q51u2gc _y4tiutpp _bozgutpp _y3gn1h6o", cx(className, xcss, '-NoOptionsMessage')])
|
|
341
341
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
342
342
|
,
|
|
343
343
|
style: css
|
|
@@ -369,7 +369,7 @@ export const LoadingMessage = ({
|
|
|
369
369
|
});
|
|
370
370
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
371
371
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
372
|
-
className: ax(["_85i5u2gc _1q51u2gc _y4tiutpp _bozgutpp _y3gn1h6o", cx(className, xcss)])
|
|
372
|
+
className: ax(["_85i5u2gc _1q51u2gc _y4tiutpp _bozgutpp _y3gn1h6o", cx(className, xcss, '-LoadingMessage')])
|
|
373
373
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
374
374
|
,
|
|
375
375
|
style: css
|
|
@@ -459,7 +459,7 @@ export const MenuPortal = props => {
|
|
|
459
459
|
// same wrapper element whether fixed or portalled
|
|
460
460
|
const menuWrapper = /*#__PURE__*/React.createElement("div", _extends({
|
|
461
461
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
462
|
-
className: cx(className, xcss),
|
|
462
|
+
className: cx(className, xcss, '-MenuPortal'),
|
|
463
463
|
ref: setMenuPortalElement,
|
|
464
464
|
style: {
|
|
465
465
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
@@ -39,7 +39,7 @@ export const MultiValueContainer = ({
|
|
|
39
39
|
}) => {
|
|
40
40
|
return /*#__PURE__*/React.createElement("div", _extends({}, innerProps, {
|
|
41
41
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
42
|
-
className: ax([multiValueStyles.root, isDisabled && multiValueStyles.disabled, isFocused && multiValueStyles.focused, fg('platform-component-visual-refresh') && multiValueStyles.refresh, cx(className, xcss)])
|
|
42
|
+
className: ax([multiValueStyles.root, isDisabled && multiValueStyles.disabled, isFocused && multiValueStyles.focused, fg('platform-component-visual-refresh') && multiValueStyles.refresh, cx(className, xcss, '-multiValue')])
|
|
43
43
|
}), children);
|
|
44
44
|
};
|
|
45
45
|
|
|
@@ -54,7 +54,7 @@ export const MultiValueLabel = ({
|
|
|
54
54
|
}) => {
|
|
55
55
|
return /*#__PURE__*/React.createElement("div", _extends({}, innerProps, {
|
|
56
56
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
57
|
-
className: ax([multiValueLabelStyles.root, isDisabled && multiValueLabelStyles.disabled, hasEllipsis && multiValueLabelStyles.ellipsis, fg('platform-component-visual-refresh') && multiValueLabelStyles.refresh, cx(className, xcss)])
|
|
57
|
+
className: ax([multiValueLabelStyles.root, isDisabled && multiValueLabelStyles.disabled, hasEllipsis && multiValueLabelStyles.ellipsis, fg('platform-component-visual-refresh') && multiValueLabelStyles.refresh, cx(className, xcss, '-MultiValueLabel')])
|
|
58
58
|
}), children);
|
|
59
59
|
};
|
|
60
60
|
const disabledStyles = null;
|
|
@@ -68,7 +68,7 @@ export function MultiValueRemove({
|
|
|
68
68
|
}) {
|
|
69
69
|
return /*#__PURE__*/React.createElement("div", _extends({}, innerProps, {
|
|
70
70
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
71
|
-
className: ax([multiValueRemoveStyles.root, isFocused && multiValueRemoveStyles.focused, fg('platform-component-visual-refresh') && multiValueRemoveStyles.refresh, cx(className, xcss)])
|
|
71
|
+
className: ax([multiValueRemoveStyles.root, isFocused && multiValueRemoveStyles.focused, fg('platform-component-visual-refresh') && multiValueRemoveStyles.refresh, cx(className, xcss, '-MultiValueRemove')])
|
|
72
72
|
}), /*#__PURE__*/React.createElement("div", {
|
|
73
73
|
"data-testid": isDisabled ? 'hide-clear-icon' : 'show-clear-icon',
|
|
74
74
|
className: ax([isDisabled && "_1e0cglyw", !isDisabled && "_1e0c1kw7"])
|
|
@@ -37,7 +37,7 @@ const Option = props => {
|
|
|
37
37
|
style: css
|
|
38
38
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
39
39
|
,
|
|
40
|
-
className: ax([optionStyles.root, isFocused && optionStyles.focused, isSelected && optionStyles.selected, isFocused && isSelected && optionStyles.focusedSelected, isDisabled && optionStyles.disabled, cx(className, xcss)]),
|
|
40
|
+
className: ax([optionStyles.root, isFocused && optionStyles.focused, isSelected && optionStyles.selected, isFocused && isSelected && optionStyles.focusedSelected, isDisabled && optionStyles.disabled, cx(className, xcss, '-option')]),
|
|
41
41
|
ref: innerRef
|
|
42
42
|
}, innerProps, {
|
|
43
43
|
tabIndex: -1
|
|
@@ -28,7 +28,7 @@ const Placeholder = props => {
|
|
|
28
28
|
style: css
|
|
29
29
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
30
30
|
,
|
|
31
|
-
className: ax([placeholderStyles.root, isDisabled && placeholderStyles.disabled, cx(className, xcss)])
|
|
31
|
+
className: ax([placeholderStyles.root, isDisabled && placeholderStyles.disabled, cx(className, xcss, '-placeholder')])
|
|
32
32
|
}, innerProps), children);
|
|
33
33
|
};
|
|
34
34
|
|
|
@@ -29,7 +29,7 @@ const SingleValue = props => {
|
|
|
29
29
|
style: css
|
|
30
30
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
31
31
|
,
|
|
32
|
-
className: ax([styles.root, isDisabled && styles.disalbed, cx(className, xcss)])
|
|
32
|
+
className: ax([styles.root, isDisabled && styles.disalbed, cx(className, xcss, '-singleValue')])
|
|
33
33
|
}, innerProps), children);
|
|
34
34
|
};
|
|
35
35
|
|
|
@@ -36,7 +36,7 @@ export var SelectContainer = function SelectContainer(props) {
|
|
|
36
36
|
css = _getStyleProps.css;
|
|
37
37
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
38
38
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
39
|
-
className: ax([containerStyles.default, isRtl && containerStyles.rtl, isDisabled && containerStyles.disabled, fg('platform_design_system_team_safari_input_fix') && containerStyles.ff_safari_input_fix, cx(className, xcss)])
|
|
39
|
+
className: ax([containerStyles.default, isRtl && containerStyles.rtl, isDisabled && containerStyles.disabled, fg('platform_design_system_team_safari_input_fix') && containerStyles.ff_safari_input_fix, cx(className, xcss, '-container')])
|
|
40
40
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
41
41
|
,
|
|
42
42
|
style: css
|
|
@@ -74,7 +74,7 @@ export var ValueContainer = function ValueContainer(props) {
|
|
|
74
74
|
className = _getStyleProps2.className;
|
|
75
75
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
76
76
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
77
|
-
className: ax([valueContainerStyles.default, isMulti && hasValue && controlShouldRenderValue && valueContainerStyles.flex, isCompact && valueContainerStyles.compact, cx(className
|
|
77
|
+
className: ax([valueContainerStyles.default, isMulti && hasValue && controlShouldRenderValue && valueContainerStyles.flex, isCompact && valueContainerStyles.compact, cx(className, xcss, '-ValueContainer')])
|
|
78
78
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
79
79
|
,
|
|
80
80
|
style: css
|
|
@@ -105,6 +105,6 @@ export var IndicatorsContainer = function IndicatorsContainer(props) {
|
|
|
105
105
|
style: css
|
|
106
106
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
107
107
|
,
|
|
108
|
-
className: ax(["_1e0c1txw _4cvr1h6o _1o9zidpf _1wpz1fhb _y4ti1b66", cx(className, xcss)])
|
|
108
|
+
className: ax(["_1e0c1txw _4cvr1h6o _1o9zidpf _1wpz1fhb _y4ti1b66", cx(className, xcss, '-IndicatorsContainer')])
|
|
109
109
|
}, innerProps), children);
|
|
110
110
|
};
|
|
@@ -44,7 +44,7 @@ var Control = function Control(props) {
|
|
|
44
44
|
ref: innerRef
|
|
45
45
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
46
46
|
,
|
|
47
|
-
className: ax([styles.default, isDisabled && styles.disabled, isInvalid && styles.invalid, isCompact && styles.compact, appearance === 'subtle' && styles.subtle, appearance === 'subtle' && isFocused && styles.subtleFocused, isFocused && styles.focused, appearance === 'none' && styles.none, cx(className, xcss)])
|
|
47
|
+
className: ax([styles.default, isDisabled && styles.disabled, isInvalid && styles.invalid, isCompact && styles.compact, appearance === 'subtle' && styles.subtle, appearance === 'subtle' && isFocused && styles.subtleFocused, isFocused && styles.focused, appearance === 'none' && styles.none, cx(className, xcss, '-control')])
|
|
48
48
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
49
49
|
,
|
|
50
50
|
style: css
|
|
@@ -34,7 +34,7 @@ var Group = function Group(props) {
|
|
|
34
34
|
style: css
|
|
35
35
|
}, innerProps, {
|
|
36
36
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
37
|
-
className: ax([styles.root, cx(className, xcss, innerProps === null || innerProps === void 0 ? void 0 : innerProps.className)])
|
|
37
|
+
className: ax([styles.root, cx(className, xcss, innerProps === null || innerProps === void 0 ? void 0 : innerProps.className, '-Group')])
|
|
38
38
|
}), label && /*#__PURE__*/React.createElement(Heading, _extends({}, headingProps, {
|
|
39
39
|
selectProps: selectProps,
|
|
40
40
|
getStyles: getStyles,
|
|
@@ -60,7 +60,7 @@ export var GroupHeading = function GroupHeading(props) {
|
|
|
60
60
|
className = _getStyleProps2.className;
|
|
61
61
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
62
62
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
63
|
-
className: ax(["_11c81o8v _1e0c1ule _syaz1gjq _80om73ad _k48pmoej _6rthpd1z _y4tiutpp _bozgutpp _1p1dglyw", cx(className, xcss)])
|
|
63
|
+
className: ax(["_11c81o8v _1e0c1ule _syaz1gjq _80om73ad _k48pmoej _6rthpd1z _y4tiutpp _bozgutpp _1p1dglyw", cx(className, xcss, '-group')])
|
|
64
64
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
65
65
|
,
|
|
66
66
|
style: css
|
|
@@ -57,7 +57,7 @@ export var DropdownIndicator = function DropdownIndicator(props) {
|
|
|
57
57
|
style: css
|
|
58
58
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
59
59
|
,
|
|
60
|
-
className: ax([dropdownStyles.default, isDisabled && dropdownStyles.disabled, isCompact && dropdownStyles.compact, cx(className, xcss)])
|
|
60
|
+
className: ax([dropdownStyles.default, isDisabled && dropdownStyles.disabled, isCompact && dropdownStyles.compact, cx(className, xcss, '-indicatorContainer')])
|
|
61
61
|
}, innerProps), children ? children : /*#__PURE__*/React.createElement(Inline, {
|
|
62
62
|
as: "span",
|
|
63
63
|
xcss: dropdownWrapperStyles.root
|
|
@@ -93,7 +93,7 @@ export var ClearIndicator = function ClearIndicator(props) {
|
|
|
93
93
|
style: css
|
|
94
94
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
95
95
|
,
|
|
96
|
-
className: ax([clearIndicatorStyles.default, isCompact && clearIndicatorStyles.compact, cx(className, xcss)])
|
|
96
|
+
className: ax([clearIndicatorStyles.default, isCompact && clearIndicatorStyles.compact, cx(className, xcss, '-indicatorContainer')])
|
|
97
97
|
}, innerProps), /*#__PURE__*/React.createElement(Pressable, {
|
|
98
98
|
xcss: iconContainerStyles.root,
|
|
99
99
|
tabIndex: -1,
|
|
@@ -141,7 +141,7 @@ export var LoadingIndicator = function LoadingIndicator(_ref) {
|
|
|
141
141
|
style: css
|
|
142
142
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
143
143
|
,
|
|
144
|
-
className: ax([loadingIndicatorStyles.default, isCompact && loadingIndicatorStyles.compact, cx(className, xcss)])
|
|
144
|
+
className: ax([loadingIndicatorStyles.default, isCompact && loadingIndicatorStyles.compact, cx(className, xcss, '-loadingIndicator')])
|
|
145
145
|
}, innerProps), /*#__PURE__*/React.createElement(Spinner, {
|
|
146
146
|
size: "small"
|
|
147
147
|
}));
|
|
@@ -38,14 +38,14 @@ var Input = function Input(props) {
|
|
|
38
38
|
style: css
|
|
39
39
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
40
40
|
,
|
|
41
|
-
className: ax([inputStyles.root, isDisabled && inputStyles.disabled, cx(className, xcss)]),
|
|
41
|
+
className: ax([inputStyles.root, isDisabled && inputStyles.disabled, cx(className, xcss, '-Input')]),
|
|
42
42
|
"data-value": value || '',
|
|
43
43
|
"data-testid": dataId && "".concat(dataId, "-container")
|
|
44
44
|
}, /*#__PURE__*/React.createElement("input", _extends({
|
|
45
45
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
46
46
|
className: ax(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _11q7idpf _19itidpf _11c81kw7 _nd5l1yjy _12ji1r31 _1qu2glyw _12y3idpf _1bsb1osq _1ul9yh40 _syaz1kw7 _tzy4kb7n", isHidden && "_tzy4idpf", builtinCX({
|
|
47
47
|
input: true
|
|
48
|
-
}, inputClassName)]),
|
|
48
|
+
}, inputClassName, '-input')]),
|
|
49
49
|
ref: innerRef,
|
|
50
50
|
disabled: isDisabled,
|
|
51
51
|
"data-testid": dataId
|
|
@@ -6,8 +6,10 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
6
6
|
// Assistive text to describe visual elements. Hidden for sighted users.
|
|
7
7
|
var styles = null;
|
|
8
8
|
var A11yText = function A11yText(props) {
|
|
9
|
-
return /*#__PURE__*/React.createElement("span", _extends({
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
return /*#__PURE__*/React.createElement("span", _extends({
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
11
|
+
className: ax(["_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19itidpf _1reo15vq _18m915vq _1bsbt94y _4t3it94y _kqswstnw _1pbydx66 _ogto7mnp _jqf6ydhy _uiztglyw _o5721q9c", "-a11yText"])
|
|
12
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
13
|
+
}, props));
|
|
12
14
|
};
|
|
13
15
|
export default A11yText;
|
|
@@ -12,9 +12,10 @@ export default function DummyInput(_ref) {
|
|
|
12
12
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
13
13
|
// Remove animation props not meant for HTML elements
|
|
14
14
|
var filteredProps = removeProps(props, 'onExited', 'in', 'enter', 'exit', 'appear');
|
|
15
|
+
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
15
17
|
return /*#__PURE__*/React.createElement("input", _extends({
|
|
16
|
-
ref: innerRef
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}));
|
|
18
|
+
ref: innerRef,
|
|
19
|
+
className: ax(["_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _11q7idpf _19itidpf _nd5l1sux _12ji1r31 _1qu2glyw _12y3idpf _1bsbt94y _kqswh2mm _1n5d1j28 _syaz1j28 _1e02p1rm _tzy4idpf _t9ec1kuz", "-dummyInput"])
|
|
20
|
+
}, filteredProps));
|
|
20
21
|
}
|
|
@@ -11,12 +11,14 @@ var RequiredInput = function RequiredInput(_ref) {
|
|
|
11
11
|
required: true,
|
|
12
12
|
name: name,
|
|
13
13
|
tabIndex: -1,
|
|
14
|
-
"aria-hidden": "true"
|
|
14
|
+
"aria-hidden": "true"
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
16
|
+
,
|
|
17
|
+
className: ax(["_1bsb1osq _kqswstnw _u7coidpf _rjxpidpf _1e02idpf _jqf61a21 _tzy4idpf _lcxvglyw", "-requiredInput"]),
|
|
15
18
|
onFocus: onFocus,
|
|
16
19
|
// Prevent `Switching from uncontrolled to controlled` error
|
|
17
20
|
value: "",
|
|
18
|
-
onChange: __noop
|
|
19
|
-
className: ax(["_1bsb1osq _kqswstnw _u7coidpf _rjxpidpf _1e02idpf _jqf61a21 _tzy4idpf _lcxvglyw"])
|
|
21
|
+
onChange: __noop
|
|
20
22
|
});
|
|
21
23
|
};
|
|
22
24
|
|
|
@@ -266,7 +266,7 @@ var Menu = function Menu(props) {
|
|
|
266
266
|
className = _getStyleProps.className;
|
|
267
267
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
268
268
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
269
|
-
className: ax([menuStyles.root, menuStyles[placement], cx(xcss, className)])
|
|
269
|
+
className: ax([menuStyles.root, menuStyles[placement], cx(xcss, className, '-menu')])
|
|
270
270
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
271
271
|
,
|
|
272
272
|
style: css,
|
|
@@ -302,7 +302,7 @@ export var MenuList = function MenuList(props) {
|
|
|
302
302
|
className = _getStyleProps2.className;
|
|
303
303
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
304
304
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
305
|
-
className: ax(["_kqswh2mm _18m91wug _85i5u2gc _1q51u2gc _8am5i4x0", cx(className, xcss)])
|
|
305
|
+
className: ax(["_kqswh2mm _18m91wug _85i5u2gc _1q51u2gc _8am5i4x0", cx(className, xcss, '-MenuList')])
|
|
306
306
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
307
307
|
,
|
|
308
308
|
style: _objectSpread(_objectSpread({}, css), {}, {
|
|
@@ -342,7 +342,7 @@ export var NoOptionsMessage = function NoOptionsMessage(_ref3) {
|
|
|
342
342
|
className = _getStyleProps3.className;
|
|
343
343
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
344
344
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
345
|
-
className: ax(["_85i5u2gc _1q51u2gc _y4tiutpp _bozgutpp _y3gn1h6o", cx(className, xcss)])
|
|
345
|
+
className: ax(["_85i5u2gc _1q51u2gc _y4tiutpp _bozgutpp _y3gn1h6o", cx(className, xcss, '-NoOptionsMessage')])
|
|
346
346
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
347
347
|
,
|
|
348
348
|
style: css
|
|
@@ -372,7 +372,7 @@ export var LoadingMessage = function LoadingMessage(_ref4) {
|
|
|
372
372
|
className = _getStyleProps4.className;
|
|
373
373
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
374
374
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
375
|
-
className: ax(["_85i5u2gc _1q51u2gc _y4tiutpp _bozgutpp _y3gn1h6o", cx(className, xcss)])
|
|
375
|
+
className: ax(["_85i5u2gc _1q51u2gc _y4tiutpp _bozgutpp _y3gn1h6o", cx(className, xcss, '-LoadingMessage')])
|
|
376
376
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
377
377
|
,
|
|
378
378
|
style: css
|
|
@@ -468,7 +468,7 @@ export var MenuPortal = function MenuPortal(props) {
|
|
|
468
468
|
// same wrapper element whether fixed or portalled
|
|
469
469
|
var menuWrapper = /*#__PURE__*/React.createElement("div", _extends({
|
|
470
470
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
471
|
-
className: cx(className, xcss),
|
|
471
|
+
className: cx(className, xcss, '-MenuPortal'),
|
|
472
472
|
ref: setMenuPortalElement,
|
|
473
473
|
style: _objectSpread({
|
|
474
474
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
@@ -47,7 +47,7 @@ export var MultiValueContainer = function MultiValueContainer(_ref) {
|
|
|
47
47
|
xcss = _ref.xcss;
|
|
48
48
|
return /*#__PURE__*/React.createElement("div", _extends({}, innerProps, {
|
|
49
49
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
50
|
-
className: ax([multiValueStyles.root, isDisabled && multiValueStyles.disabled, isFocused && multiValueStyles.focused, fg('platform-component-visual-refresh') && multiValueStyles.refresh, cx(className, xcss)])
|
|
50
|
+
className: ax([multiValueStyles.root, isDisabled && multiValueStyles.disabled, isFocused && multiValueStyles.focused, fg('platform-component-visual-refresh') && multiValueStyles.refresh, cx(className, xcss, '-multiValue')])
|
|
51
51
|
}), children);
|
|
52
52
|
};
|
|
53
53
|
|
|
@@ -61,7 +61,7 @@ export var MultiValueLabel = function MultiValueLabel(_ref2) {
|
|
|
61
61
|
xcss = _ref2.xcss;
|
|
62
62
|
return /*#__PURE__*/React.createElement("div", _extends({}, innerProps, {
|
|
63
63
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
64
|
-
className: ax([multiValueLabelStyles.root, isDisabled && multiValueLabelStyles.disabled, hasEllipsis && multiValueLabelStyles.ellipsis, fg('platform-component-visual-refresh') && multiValueLabelStyles.refresh, cx(className, xcss)])
|
|
64
|
+
className: ax([multiValueLabelStyles.root, isDisabled && multiValueLabelStyles.disabled, hasEllipsis && multiValueLabelStyles.ellipsis, fg('platform-component-visual-refresh') && multiValueLabelStyles.refresh, cx(className, xcss, '-MultiValueLabel')])
|
|
65
65
|
}), children);
|
|
66
66
|
};
|
|
67
67
|
var disabledStyles = null;
|
|
@@ -74,7 +74,7 @@ export function MultiValueRemove(_ref3) {
|
|
|
74
74
|
xcss = _ref3.xcss;
|
|
75
75
|
return /*#__PURE__*/React.createElement("div", _extends({}, innerProps, {
|
|
76
76
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
77
|
-
className: ax([multiValueRemoveStyles.root, isFocused && multiValueRemoveStyles.focused, fg('platform-component-visual-refresh') && multiValueRemoveStyles.refresh, cx(className, xcss)])
|
|
77
|
+
className: ax([multiValueRemoveStyles.root, isFocused && multiValueRemoveStyles.focused, fg('platform-component-visual-refresh') && multiValueRemoveStyles.refresh, cx(className, xcss, '-MultiValueRemove')])
|
|
78
78
|
}), /*#__PURE__*/React.createElement("div", {
|
|
79
79
|
"data-testid": isDisabled ? 'hide-clear-icon' : 'show-clear-icon',
|
|
80
80
|
className: ax([isDisabled && "_1e0cglyw", !isDisabled && "_1e0c1kw7"])
|
|
@@ -36,7 +36,7 @@ var Option = function Option(props) {
|
|
|
36
36
|
style: css
|
|
37
37
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
38
38
|
,
|
|
39
|
-
className: ax([optionStyles.root, isFocused && optionStyles.focused, isSelected && optionStyles.selected, isFocused && isSelected && optionStyles.focusedSelected, isDisabled && optionStyles.disabled, cx(className, xcss)]),
|
|
39
|
+
className: ax([optionStyles.root, isFocused && optionStyles.focused, isSelected && optionStyles.selected, isFocused && isSelected && optionStyles.focusedSelected, isDisabled && optionStyles.disabled, cx(className, xcss, '-option')]),
|
|
40
40
|
ref: innerRef
|
|
41
41
|
}, innerProps, {
|
|
42
42
|
tabIndex: -1
|
|
@@ -27,7 +27,7 @@ var Placeholder = function Placeholder(props) {
|
|
|
27
27
|
style: css
|
|
28
28
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
29
29
|
,
|
|
30
|
-
className: ax([placeholderStyles.root, isDisabled && placeholderStyles.disabled, cx(className, xcss)])
|
|
30
|
+
className: ax([placeholderStyles.root, isDisabled && placeholderStyles.disabled, cx(className, xcss, '-placeholder')])
|
|
31
31
|
}, innerProps), children);
|
|
32
32
|
};
|
|
33
33
|
|
|
@@ -28,7 +28,7 @@ var SingleValue = function SingleValue(props) {
|
|
|
28
28
|
style: css
|
|
29
29
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
30
30
|
,
|
|
31
|
-
className: ax([styles.root, isDisabled && styles.disalbed, cx(className, xcss)])
|
|
31
|
+
className: ax([styles.root, isDisabled && styles.disalbed, cx(className, xcss, '-singleValue')])
|
|
32
32
|
}, innerProps), children);
|
|
33
33
|
};
|
|
34
34
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/react-select",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.8",
|
|
4
4
|
"description": "A forked version of react-select to only be used in atlaskit/select",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@atlaskit/ds-lib": "^4.0.0",
|
|
33
|
-
"@atlaskit/icon": "^
|
|
33
|
+
"@atlaskit/icon": "^26.0.0",
|
|
34
34
|
"@atlaskit/layering": "^2.1.0",
|
|
35
35
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
36
36
|
"@atlaskit/primitives": "^14.7.0",
|