@atlaskit/emoji 73.3.3 → 73.3.5
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/api/EmojiRepository.js +1 -7
- package/dist/cjs/api/EmojiResource.js +1 -3
- package/dist/cjs/components/common/DeleteButton.js +2 -8
- package/dist/cjs/components/common/EmojiActions.compiled.css +1 -3
- package/dist/cjs/components/common/EmojiActions.js +6 -45
- package/dist/cjs/components/common/EmojiDeletePreview.compiled.css +1 -16
- package/dist/cjs/components/common/EmojiDeletePreview.js +17 -65
- package/dist/cjs/components/common/EmojiErrorMessage.js +2 -9
- package/dist/cjs/components/common/EmojiRadioButton.js +3 -4
- package/dist/cjs/components/common/EmojiUploadPicker.compiled.css +1 -14
- package/dist/cjs/components/common/EmojiUploadPicker.js +7 -90
- package/dist/cjs/components/common/FileChooser.js +15 -25
- package/dist/cjs/components/common/TonePreviewButton.compiled.css +1 -2
- package/dist/cjs/components/common/TonePreviewButton.js +2 -23
- package/dist/cjs/components/common/ToneSelectorInternal.js +1 -10
- package/dist/cjs/components/picker/CategorySelector.compiled.css +0 -6
- package/dist/cjs/components/picker/CategorySelector.js +5 -44
- package/dist/cjs/components/picker/EmojiPickerComponent.compiled.css +1 -2
- package/dist/cjs/components/picker/EmojiPickerComponent.js +38 -57
- package/dist/cjs/components/picker/EmojiPickerEmojiRow.js +1 -2
- package/dist/cjs/components/picker/EmojiPickerFooter.compiled.css +0 -2
- package/dist/cjs/components/picker/EmojiPickerFooter.js +1 -8
- package/dist/cjs/components/picker/EmojiPickerInternal.compiled.css +1 -2
- package/dist/cjs/components/picker/EmojiPickerInternal.js +1 -9
- package/dist/cjs/components/picker/EmojiPickerList.js +30 -36
- package/dist/cjs/components/picker/EmojiPickerListSearch.compiled.css +0 -1
- package/dist/cjs/components/picker/EmojiPickerListSearch.js +2 -24
- package/dist/cjs/components/picker/EmojiPickerSizes.js +0 -1
- package/dist/cjs/components/picker/VirtualList.js +2 -3
- package/dist/cjs/components/picker/categories.js +1 -84
- package/dist/cjs/components/uploader/EmojiUploadComponent.js +0 -2
- package/dist/cjs/util/analytics/createEvent.js +1 -1
- package/dist/cjs/util/constants.js +1 -2
- package/dist/es2019/api/EmojiRepository.js +1 -7
- package/dist/es2019/api/EmojiResource.js +1 -3
- package/dist/es2019/components/common/DeleteButton.js +2 -8
- package/dist/es2019/components/common/EmojiActions.compiled.css +1 -3
- package/dist/es2019/components/common/EmojiActions.js +6 -45
- package/dist/es2019/components/common/EmojiDeletePreview.compiled.css +1 -16
- package/dist/es2019/components/common/EmojiDeletePreview.js +17 -65
- package/dist/es2019/components/common/EmojiErrorMessage.js +2 -9
- package/dist/es2019/components/common/EmojiRadioButton.js +2 -3
- package/dist/es2019/components/common/EmojiUploadPicker.compiled.css +1 -14
- package/dist/es2019/components/common/EmojiUploadPicker.js +7 -87
- package/dist/es2019/components/common/FileChooser.js +15 -25
- package/dist/es2019/components/common/TonePreviewButton.compiled.css +1 -2
- package/dist/es2019/components/common/TonePreviewButton.js +2 -23
- package/dist/es2019/components/common/ToneSelectorInternal.js +1 -10
- package/dist/es2019/components/picker/CategorySelector.compiled.css +0 -6
- package/dist/es2019/components/picker/CategorySelector.js +5 -44
- package/dist/es2019/components/picker/EmojiPickerComponent.compiled.css +1 -2
- package/dist/es2019/components/picker/EmojiPickerComponent.js +44 -61
- package/dist/es2019/components/picker/EmojiPickerEmojiRow.js +1 -2
- package/dist/es2019/components/picker/EmojiPickerFooter.compiled.css +0 -2
- package/dist/es2019/components/picker/EmojiPickerFooter.js +1 -8
- package/dist/es2019/components/picker/EmojiPickerInternal.compiled.css +1 -2
- package/dist/es2019/components/picker/EmojiPickerInternal.js +1 -9
- package/dist/es2019/components/picker/EmojiPickerList.js +29 -35
- package/dist/es2019/components/picker/EmojiPickerListSearch.compiled.css +0 -1
- package/dist/es2019/components/picker/EmojiPickerListSearch.js +2 -24
- package/dist/es2019/components/picker/EmojiPickerSizes.js +1 -2
- package/dist/es2019/components/picker/VirtualList.js +2 -3
- package/dist/es2019/components/picker/categories.js +0 -83
- package/dist/es2019/components/uploader/EmojiUploadComponent.js +0 -2
- package/dist/es2019/util/analytics/createEvent.js +1 -1
- package/dist/es2019/util/constants.js +0 -1
- package/dist/esm/api/EmojiRepository.js +1 -7
- package/dist/esm/api/EmojiResource.js +1 -3
- package/dist/esm/components/common/DeleteButton.js +2 -8
- package/dist/esm/components/common/EmojiActions.compiled.css +1 -3
- package/dist/esm/components/common/EmojiActions.js +6 -45
- package/dist/esm/components/common/EmojiDeletePreview.compiled.css +1 -16
- package/dist/esm/components/common/EmojiDeletePreview.js +17 -65
- package/dist/esm/components/common/EmojiErrorMessage.js +2 -9
- package/dist/esm/components/common/EmojiRadioButton.js +3 -4
- package/dist/esm/components/common/EmojiUploadPicker.compiled.css +1 -14
- package/dist/esm/components/common/EmojiUploadPicker.js +7 -90
- package/dist/esm/components/common/FileChooser.js +15 -25
- package/dist/esm/components/common/TonePreviewButton.compiled.css +1 -2
- package/dist/esm/components/common/TonePreviewButton.js +2 -23
- package/dist/esm/components/common/ToneSelectorInternal.js +1 -10
- package/dist/esm/components/picker/CategorySelector.compiled.css +0 -6
- package/dist/esm/components/picker/CategorySelector.js +6 -45
- package/dist/esm/components/picker/EmojiPickerComponent.compiled.css +1 -2
- package/dist/esm/components/picker/EmojiPickerComponent.js +39 -58
- package/dist/esm/components/picker/EmojiPickerEmojiRow.js +1 -2
- package/dist/esm/components/picker/EmojiPickerFooter.compiled.css +0 -2
- package/dist/esm/components/picker/EmojiPickerFooter.js +1 -8
- package/dist/esm/components/picker/EmojiPickerInternal.compiled.css +1 -2
- package/dist/esm/components/picker/EmojiPickerInternal.js +1 -9
- package/dist/esm/components/picker/EmojiPickerList.js +31 -37
- package/dist/esm/components/picker/EmojiPickerListSearch.compiled.css +0 -1
- package/dist/esm/components/picker/EmojiPickerListSearch.js +2 -24
- package/dist/esm/components/picker/EmojiPickerSizes.js +1 -2
- package/dist/esm/components/picker/VirtualList.js +2 -3
- package/dist/esm/components/picker/categories.js +0 -83
- package/dist/esm/components/uploader/EmojiUploadComponent.js +0 -2
- package/dist/esm/util/analytics/createEvent.js +1 -1
- package/dist/esm/util/constants.js +0 -1
- package/dist/types/components/common/EmojiUploadPicker.d.ts +0 -1
- package/dist/types/components/picker/EmojiPickerSizes.d.ts +0 -1
- package/dist/types/components/picker/categories.d.ts +0 -1
- package/dist/types/components/uploader/EmojiUploadComponent.d.ts +0 -1
- package/dist/types/components/uploader/EmojiUploader.d.ts +0 -1
- package/dist/types/util/constants.d.ts +0 -1
- package/package.json +2 -15
- package/dist/cjs/components/common/AddOwnEmoji.compiled.css +0 -6
- package/dist/cjs/components/common/AddOwnEmoji.js +0 -58
- package/dist/cjs/components/common/EmojiUploadPreview.compiled.css +0 -19
- package/dist/cjs/components/common/EmojiUploadPreview.js +0 -119
- package/dist/cjs/components/common/isRefreshEmojiPickerEnabled.js +0 -10
- package/dist/cjs/components/picker/sortCategories.js +0 -15
- package/dist/cjs/util/teamoji26RefreshEmojiPicker.js +0 -19
- package/dist/es2019/components/common/AddOwnEmoji.compiled.css +0 -6
- package/dist/es2019/components/common/AddOwnEmoji.js +0 -49
- package/dist/es2019/components/common/EmojiUploadPreview.compiled.css +0 -19
- package/dist/es2019/components/common/EmojiUploadPreview.js +0 -100
- package/dist/es2019/components/common/isRefreshEmojiPickerEnabled.js +0 -4
- package/dist/es2019/components/picker/sortCategories.js +0 -7
- package/dist/es2019/util/teamoji26RefreshEmojiPicker.js +0 -13
- package/dist/esm/components/common/AddOwnEmoji.compiled.css +0 -6
- package/dist/esm/components/common/AddOwnEmoji.js +0 -49
- package/dist/esm/components/common/EmojiUploadPreview.compiled.css +0 -19
- package/dist/esm/components/common/EmojiUploadPreview.js +0 -110
- package/dist/esm/components/common/isRefreshEmojiPickerEnabled.js +0 -4
- package/dist/esm/components/picker/sortCategories.js +0 -9
- package/dist/esm/util/teamoji26RefreshEmojiPicker.js +0 -13
- package/dist/types/components/common/AddOwnEmoji.d.ts +0 -9
- package/dist/types/components/common/EmojiUploadPreview.d.ts +0 -22
- package/dist/types/components/common/isRefreshEmojiPickerEnabled.d.ts +0 -1
- package/dist/types/components/picker/sortCategories.d.ts +0 -6
- package/dist/types/util/teamoji26RefreshEmojiPicker.d.ts +0 -6
|
@@ -1,33 +1,20 @@
|
|
|
1
1
|
._11c8fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._11c8wadc{font:var(--ds-font-body-small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
|
-
._scffidpf input{border:0}
|
|
4
3
|
._zulp12x7{gap:var(--ds-space-075,6px)}
|
|
5
4
|
._zulpu2gc{gap:var(--ds-space-100,8px)}
|
|
6
|
-
._16jlkb7n{flex-grow:1}
|
|
7
5
|
._19bvpxbi{padding-left:var(--ds-space-200,1pc)}
|
|
8
|
-
._19bvu2gc{padding-left:var(--ds-space-100,8px)}
|
|
9
6
|
._1bah1b1v{justify-content:space-around}
|
|
10
7
|
._1bah1yb4{justify-content:space-between}
|
|
11
8
|
._1bahesu3{justify-content:flex-end}
|
|
12
9
|
._1e0c1txw{display:flex}
|
|
13
|
-
._1o9zkb7n{flex-shrink:1}
|
|
14
|
-
._1rwq1j28 input{background-color:transparent}
|
|
15
10
|
._1tker0r7{min-height:250px}
|
|
16
11
|
._1w90azsu._1w90azsu{color:var(--ds-text-subtle,#505258)}
|
|
17
12
|
._2lx21bp4{flex-direction:column}
|
|
18
|
-
._34ir1o36 input{outline-width:medium}
|
|
19
13
|
._4cvr1h6o{align-items:center}
|
|
20
14
|
._4cvresu3{align-items:flex-end}
|
|
21
|
-
._9bj2glyw input::-ms-clear{display:none}
|
|
22
15
|
._ca0q12x7{padding-top:var(--ds-space-075,6px)}
|
|
23
16
|
._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
|
|
24
|
-
._coc6glyw input:invalid{box-shadow:none}
|
|
25
|
-
._gxxuglyw input{outline-style:none}
|
|
26
|
-
._gy1p12x7{column-gap:var(--ds-space-075,6px)}
|
|
27
|
-
._i0dl1wug{flex-basis:auto}
|
|
28
17
|
._k48p1pd9{font-weight:var(--ds-font-weight-semibold,600)}
|
|
29
18
|
._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
|
|
30
19
|
._n3tdutpp{padding-bottom:var(--ds-space-150,9pt)}
|
|
31
|
-
._u5f3pxbi{padding-right:var(--ds-space-200,1pc)}
|
|
32
|
-
._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
|
|
33
|
-
._xmji1r31 input{outline-color:currentColor}
|
|
20
|
+
._u5f3pxbi{padding-right:var(--ds-space-200,1pc)}
|
|
@@ -3,36 +3,25 @@ import "./EmojiUploadPicker.compiled.css";
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { useEffect, useLayoutEffect, useState, useRef, memo, useCallback } from 'react';
|
|
6
|
-
import FocusLock from 'react-focus-lock';
|
|
7
6
|
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
8
7
|
import { getDocument } from '@atlaskit/browser-apis';
|
|
9
8
|
import Button from '@atlaskit/button/default/button';
|
|
10
|
-
import AkButton from '@atlaskit/button/standard-button';
|
|
11
|
-
import CrossIcon from '@atlaskit/icon/core/cross';
|
|
12
9
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
13
10
|
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
14
|
-
import { Text } from '@atlaskit/primitives/compiled/text';
|
|
15
11
|
import TextField from '@atlaskit/textfield/text-field';
|
|
16
12
|
import * as ImageUtil from '../../util/image';
|
|
17
13
|
import debug from '../../util/logger';
|
|
18
14
|
import { messages } from '../i18n';
|
|
19
15
|
import CreateEmojiWithRovo from './CreateEmojiWithRovo';
|
|
20
16
|
import EmojiErrorMessage from './EmojiErrorMessage';
|
|
21
|
-
import EmojiUploadPreview from './EmojiUploadPreview';
|
|
22
17
|
import FileChooser from './FileChooser';
|
|
23
18
|
import { UploadStatus } from './internal-types';
|
|
24
|
-
import { isRefreshEmojiPickerEnabled } from './isRefreshEmojiPickerEnabled';
|
|
25
|
-
const closeEmojiUploadButton = null;
|
|
26
19
|
const uploadAddRowNew = null;
|
|
27
|
-
const emojiUpload = null;
|
|
28
20
|
const emojiUploadNew = null;
|
|
29
|
-
const emojiUploadTop = null;
|
|
30
21
|
const emojiUploadTopNew = null;
|
|
31
22
|
const labelStyles = null;
|
|
32
23
|
const labelStylesNew = null;
|
|
33
|
-
const uploadChooseFileEmojiName = null;
|
|
34
24
|
const uploadChooseFileMessage = null;
|
|
35
|
-
const uploadChooseFileRow = null;
|
|
36
25
|
const uploadChooseFileRowNew = null;
|
|
37
26
|
const supportedEmojiUploadMimeTypes = new Set(['image/png', 'image/jpeg', 'image/gif']);
|
|
38
27
|
const supportedEmojiUploadExtensions = ['.png', '.jpg', '.jpeg', '.gif'];
|
|
@@ -57,9 +46,6 @@ const toDefaultUploadName = fileName => {
|
|
|
57
46
|
return sanitizeName(nameWithoutExtension).slice(0, maxNameLength);
|
|
58
47
|
};
|
|
59
48
|
const isSupportedEmojiUploadFileType = file => {
|
|
60
|
-
if (!isRefreshEmojiPickerEnabled()) {
|
|
61
|
-
return true;
|
|
62
|
-
}
|
|
63
49
|
if (supportedEmojiUploadMimeTypes.has(file.type)) {
|
|
64
50
|
return true;
|
|
65
51
|
}
|
|
@@ -84,7 +70,6 @@ const ChooseEmojiFile = /*#__PURE__*/memo(props => {
|
|
|
84
70
|
const {
|
|
85
71
|
formatMessage
|
|
86
72
|
} = intl;
|
|
87
|
-
const disableChooser = !name;
|
|
88
73
|
const fileChooserButtonDescriptionId = 'choose.emoji.file.button.screen.reader.description.id';
|
|
89
74
|
const inputRef = useRef(null);
|
|
90
75
|
const onKeyDownHandler = useCallback(event => {
|
|
@@ -98,14 +83,12 @@ const ChooseEmojiFile = /*#__PURE__*/memo(props => {
|
|
|
98
83
|
(_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.focus();
|
|
99
84
|
});
|
|
100
85
|
}, []);
|
|
101
|
-
const cancelLabel = formatMessage(messages.cancelLabel);
|
|
102
86
|
const emojiPlaceholder = formatMessage(messages.emojiPlaceholder);
|
|
103
87
|
const emojiNameAriaLabel = formatMessage(messages.emojiNameAriaLabel);
|
|
104
|
-
const emojiChooseFileTitle = formatMessage(messages.emojiChooseFileTitle);
|
|
105
88
|
const emojiChooseFileTitleNew = formatMessage(messages.emojiChooseFileDndTitle);
|
|
106
89
|
const isUploading = uploadStatus === UploadStatus.Uploading;
|
|
107
90
|
const addEmojiDisabled = !previewImage || !name || isUploading;
|
|
108
|
-
return
|
|
91
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
109
92
|
"data-testid": uploadEmojiComponentTestId,
|
|
110
93
|
className: ax(["_ca0qu2gc _u5f3pxbi _n3tdu2gc _19bvpxbi _1e0c1txw _2lx21bp4 _1bah1b1v"])
|
|
111
94
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -116,7 +99,7 @@ const ChooseEmojiFile = /*#__PURE__*/memo(props => {
|
|
|
116
99
|
}, previewImage ? /*#__PURE__*/React.createElement(FormattedMessage, messages.emojiPreviewTitle) : /*#__PURE__*/React.createElement(FormattedMessage, messages.addCustomEmojiLabel))), /*#__PURE__*/React.createElement("div", {
|
|
117
100
|
className: ax(["_zulp12x7 _1e0c1txw _2lx21bp4 _1tker0r7"])
|
|
118
101
|
}, /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(FormattedMessage, messages.emojiChooseFileScreenReaderDescription, () => /*#__PURE__*/React.createElement(FileChooser, {
|
|
119
|
-
label:
|
|
102
|
+
label: emojiChooseFileTitleNew,
|
|
120
103
|
onChange: onChooseFile,
|
|
121
104
|
onClick: onClick,
|
|
122
105
|
accept: "image/png,image/jpeg,image/gif",
|
|
@@ -160,60 +143,7 @@ const ChooseEmojiFile = /*#__PURE__*/memo(props => {
|
|
|
160
143
|
appearance: "primary",
|
|
161
144
|
isDisabled: addEmojiDisabled,
|
|
162
145
|
isLoading: isUploading
|
|
163
|
-
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.addEmojiLabel))))
|
|
164
|
-
"data-testid": uploadEmojiComponentTestId,
|
|
165
|
-
className: ax(["_ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _1e0c1txw _2lx21bp4 _1bah1b1v"])
|
|
166
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
167
|
-
className: ax(["_11c8wadc _n3tdu2gc _1e0c1txw _1bah1yb4 _4cvresu3"])
|
|
168
|
-
}, /*#__PURE__*/React.createElement("label", {
|
|
169
|
-
htmlFor: "new-emoji-name-input",
|
|
170
|
-
className: ax(["_1w90azsu", "_11c8wadc _k48p1pd9"])
|
|
171
|
-
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.addCustomEmojiLabel)), /*#__PURE__*/React.createElement("div", {
|
|
172
|
-
className: ax(["_1e0c1txw"])
|
|
173
|
-
}, /*#__PURE__*/React.createElement(AkButton, {
|
|
174
|
-
onClick: onUploadCancelled,
|
|
175
|
-
"aria-label": cancelLabel,
|
|
176
|
-
appearance: "subtle",
|
|
177
|
-
spacing: "none",
|
|
178
|
-
shouldFitContainer: true,
|
|
179
|
-
testId: cancelEmojiUploadPickerTestId,
|
|
180
|
-
name: messages.addCustomEmojiLabel.defaultMessage
|
|
181
|
-
}, /*#__PURE__*/React.createElement(CrossIcon, {
|
|
182
|
-
color: "currentColor",
|
|
183
|
-
label: cancelLabel
|
|
184
|
-
})))), /*#__PURE__*/React.createElement("div", {
|
|
185
|
-
className: ax(["_1e0c1txw _1bah1yb4 _n3tdu2gc _gy1p12x7"])
|
|
186
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
187
|
-
className: ax(["_16jlkb7n _1o9zkb7n _i0dl1wug _1rwq1j28 _scffidpf _xmji1r31 _gxxuglyw _34ir1o36 _coc6glyw _9bj2glyw"])
|
|
188
|
-
}, /*#__PURE__*/React.createElement(TextField, {
|
|
189
|
-
placeholder: emojiPlaceholder,
|
|
190
|
-
"aria-label": emojiNameAriaLabel,
|
|
191
|
-
maxLength: maxNameLength,
|
|
192
|
-
onChange: onNameChange,
|
|
193
|
-
onKeyDown: onKeyDownHandler,
|
|
194
|
-
value: name,
|
|
195
|
-
isCompact: true,
|
|
196
|
-
autoFocus: true,
|
|
197
|
-
testId: uploadEmojiNameInputTestId,
|
|
198
|
-
ref: inputRef,
|
|
199
|
-
id: "new-emoji-name-input",
|
|
200
|
-
"aria-required": true
|
|
201
|
-
})), /*#__PURE__*/React.createElement(Text, null, /*#__PURE__*/React.createElement(FormattedMessage, messages.emojiChooseFileScreenReaderDescription, () => /*#__PURE__*/React.createElement(FileChooser, {
|
|
202
|
-
label: isRefreshEmojiPickerEnabled() ? emojiChooseFileTitleNew : emojiChooseFileTitle,
|
|
203
|
-
onChange: onChooseFile,
|
|
204
|
-
onClick: onClick,
|
|
205
|
-
accept: "image/png,image/jpeg,image/gif",
|
|
206
|
-
ariaDescribedBy: fileChooserButtonDescriptionId,
|
|
207
|
-
isDisabled: disableChooser
|
|
208
|
-
})))), /*#__PURE__*/React.createElement("div", {
|
|
209
|
-
id: fileChooserButtonDescriptionId
|
|
210
|
-
}, !errorMessage ? /*#__PURE__*/React.createElement(Text, {
|
|
211
|
-
as: "p",
|
|
212
|
-
size: "small"
|
|
213
|
-
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.emojiImageRequirements)) : /*#__PURE__*/React.createElement(EmojiErrorMessage, {
|
|
214
|
-
errorStyle: "chooseFile",
|
|
215
|
-
message: errorMessage
|
|
216
|
-
})));
|
|
146
|
+
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.addEmojiLabel))));
|
|
217
147
|
});
|
|
218
148
|
const EmojiUploadPicker = props => {
|
|
219
149
|
var _document$activeEleme;
|
|
@@ -223,7 +153,6 @@ const EmojiUploadPicker = props => {
|
|
|
223
153
|
onUploadEmoji,
|
|
224
154
|
onFileChooserClicked,
|
|
225
155
|
onUploadCancelled,
|
|
226
|
-
disableFocusLock = false,
|
|
227
156
|
contentId,
|
|
228
157
|
fireAnalytics,
|
|
229
158
|
onUploadPreviewErrorChange,
|
|
@@ -319,7 +248,7 @@ const EmojiUploadPicker = props => {
|
|
|
319
248
|
const onFileLoad = useCallback(file => async f => {
|
|
320
249
|
try {
|
|
321
250
|
setFilename(file.name);
|
|
322
|
-
if (!name
|
|
251
|
+
if (!name) {
|
|
323
252
|
setName(toDefaultUploadName(file.name));
|
|
324
253
|
}
|
|
325
254
|
await ImageUtil.parseImage(f.target.result);
|
|
@@ -376,7 +305,7 @@ const EmojiUploadPicker = props => {
|
|
|
376
305
|
const onChooseFileClicked = () => {
|
|
377
306
|
onFileChooserClicked && onFileChooserClicked();
|
|
378
307
|
};
|
|
379
|
-
const isDuplicateNameError = errorMessage !== null && errorMessage !== undefined
|
|
308
|
+
const isDuplicateNameError = errorMessage !== null && errorMessage !== undefined;
|
|
380
309
|
|
|
381
310
|
// "Create an emoji with Rovo" AI generation section. Only rendered when the
|
|
382
311
|
// experiment is on AND a page content id is available (the image generation
|
|
@@ -388,14 +317,7 @@ const EmojiUploadPicker = props => {
|
|
|
388
317
|
fireAnalytics: fireAnalytics,
|
|
389
318
|
onEmojiGenerated: onEmojiGenerated
|
|
390
319
|
}) : null;
|
|
391
|
-
const content =
|
|
392
|
-
errorMessage: errorMessage,
|
|
393
|
-
name: name,
|
|
394
|
-
onAddEmoji: onAddEmoji,
|
|
395
|
-
onUploadCancelled: cancelUpload,
|
|
396
|
-
previewImage: previewImage,
|
|
397
|
-
uploadStatus: uploadStatus
|
|
398
|
-
}) : /*#__PURE__*/React.createElement(ChooseEmojiFile, {
|
|
320
|
+
const content = /*#__PURE__*/React.createElement(ChooseEmojiFile, {
|
|
399
321
|
name: name,
|
|
400
322
|
onChooseFile: onChooseFile,
|
|
401
323
|
onClick: onChooseFileClicked,
|
|
@@ -409,9 +331,7 @@ const EmojiUploadPicker = props => {
|
|
|
409
331
|
aiSection: aiSection,
|
|
410
332
|
intl: intl
|
|
411
333
|
});
|
|
412
|
-
return
|
|
413
|
-
noFocusGuards: true
|
|
414
|
-
}, content);
|
|
334
|
+
return content;
|
|
415
335
|
};
|
|
416
336
|
|
|
417
337
|
// eslint-disable-next-line @typescript-eslint/no-restricted-types
|
|
@@ -7,7 +7,6 @@ import UploadIcon from '@atlaskit/icon/core/upload';
|
|
|
7
7
|
import { dropTargetForExternal } from '@atlaskit/pragmatic-drag-and-drop/adapter/drop-target-for-external';
|
|
8
8
|
import { containsFiles } from '@atlaskit/pragmatic-drag-and-drop/utils/contains-files';
|
|
9
9
|
import { getFiles } from '@atlaskit/pragmatic-drag-and-drop/utils/get-files';
|
|
10
|
-
import { isRefreshEmojiPickerEnabled } from './isRefreshEmojiPickerEnabled';
|
|
11
10
|
export const chooseFileButtonTestId = 'choose-file-button';
|
|
12
11
|
export const fileUploadInputTestId = 'file-upload';
|
|
13
12
|
export const dropzoneTestId = 'file-dropzone';
|
|
@@ -61,7 +60,7 @@ const FileChooser = props => {
|
|
|
61
60
|
}, [onChange]);
|
|
62
61
|
useEffect(() => {
|
|
63
62
|
const element = dropzoneRef.current;
|
|
64
|
-
if (!element
|
|
63
|
+
if (!element) {
|
|
65
64
|
return;
|
|
66
65
|
}
|
|
67
66
|
const suppressNativeFileDrop = event => {
|
|
@@ -162,31 +161,22 @@ const FileChooser = props => {
|
|
|
162
161
|
},
|
|
163
162
|
"data-testid": fileUploadInputTestId
|
|
164
163
|
});
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
}) : /*#__PURE__*/React.createElement(Button, {
|
|
178
|
-
onClick: handleOnChooseFile,
|
|
179
|
-
isDisabled: isDisabled,
|
|
180
|
-
appearance: "subtle",
|
|
181
|
-
iconBefore: UploadIcon,
|
|
182
|
-
"aria-describedby": ariaDescribedBy,
|
|
183
|
-
testId: chooseFileButtonTestId,
|
|
184
|
-
ref: fileButtonRef
|
|
185
|
-
}, label), hiddenInput);
|
|
186
|
-
}
|
|
187
|
-
return /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(Button, {
|
|
164
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
165
|
+
ref: dropzoneRef,
|
|
166
|
+
"data-testid": dropzoneTestId,
|
|
167
|
+
"data-dragging": isDragging ? 'true' : undefined,
|
|
168
|
+
role: "region",
|
|
169
|
+
"aria-label": label,
|
|
170
|
+
className: ax(["_zulpu2gc _2rko1qi0 _189ee4h9 _1dqogq9o _1h6d1l7x _1e0c1txw _2lx21bp4 _4cvr1h6o _1bah1h6o _4t3i7l9q _u5f3utpp _19bvutpp _bfhkhfxm _80omtlke _k8m01rje _1oec1ign _6fl4574g", isDragging && "_1h6dq98m _bfhkufnl"])
|
|
171
|
+
}, previewImage ? /*#__PURE__*/React.createElement("img", {
|
|
172
|
+
src: previewImage,
|
|
173
|
+
alt: previewAlt,
|
|
174
|
+
className: ax(["_c71l1j4a _p12f1osq _5ral1f51"])
|
|
175
|
+
}) : /*#__PURE__*/React.createElement(Button, {
|
|
188
176
|
onClick: handleOnChooseFile,
|
|
189
177
|
isDisabled: isDisabled,
|
|
178
|
+
appearance: "subtle",
|
|
179
|
+
iconBefore: UploadIcon,
|
|
190
180
|
"aria-describedby": ariaDescribedBy,
|
|
191
181
|
testId: chooseFileButtonTestId,
|
|
192
182
|
ref: fileButtonRef
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
._19itia51{border:var(--ds-border-width,1px) solid var(--ds-border,#0b120e24)}
|
|
2
2
|
._19itidpf{border:0}
|
|
3
|
-
._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
|
|
4
|
-
._2rkofajl{border-radius:var(--ds-radius-small,3px)}._11bcidpf::-moz-focus-inner{border-width:0}
|
|
3
|
+
._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}._11bcidpf::-moz-focus-inner{border-width:0}
|
|
5
4
|
._dqozglyw::-moz-focus-inner{border-style:none}
|
|
6
5
|
._19bvidpf{padding-left:0}
|
|
7
6
|
._1at812x7>span{padding-top:var(--ds-space-075,6px)}
|
|
@@ -3,7 +3,6 @@ import "./TonePreviewButton.compiled.css";
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { forwardRef, memo } from 'react';
|
|
6
|
-
import { isTeamoji26RefreshEmojiPickerEnabledNoExposure } from '../../util/teamoji26RefreshEmojiPicker';
|
|
7
6
|
import Emoji from './Emoji';
|
|
8
7
|
export const tonePreviewTestId = 'tone-preview';
|
|
9
8
|
const emojiButton = null;
|
|
@@ -21,7 +20,7 @@ export const TonePreviewButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
21
20
|
onSelected,
|
|
22
21
|
isVisible = true
|
|
23
22
|
} = props;
|
|
24
|
-
return
|
|
23
|
+
return /*#__PURE__*/React.createElement("button", {
|
|
25
24
|
ref: ref,
|
|
26
25
|
onClick: onSelected,
|
|
27
26
|
onKeyDown: onKeyDown,
|
|
@@ -35,27 +34,7 @@ export const TonePreviewButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
35
34
|
},
|
|
36
35
|
"data-testid": tonePreviewTestId,
|
|
37
36
|
type: "button",
|
|
38
|
-
className: ax(["_19itidpf
|
|
39
|
-
}, /*#__PURE__*/React.createElement(Emoji, {
|
|
40
|
-
emoji: emoji,
|
|
41
|
-
selectOnHover: selectOnHover,
|
|
42
|
-
shouldBeInteractive: false,
|
|
43
|
-
"aria-hidden": true
|
|
44
|
-
})) : /*#__PURE__*/React.createElement("button", {
|
|
45
|
-
ref: ref,
|
|
46
|
-
onClick: onSelected,
|
|
47
|
-
onKeyDown: onKeyDown,
|
|
48
|
-
"aria-label": ariaLabelText,
|
|
49
|
-
"aria-expanded": ariaExpanded,
|
|
50
|
-
"aria-controls": ariaControls
|
|
51
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
52
|
-
,
|
|
53
|
-
style: {
|
|
54
|
-
overflow: 'hidden'
|
|
55
|
-
},
|
|
56
|
-
"data-testid": tonePreviewTestId,
|
|
57
|
-
type: "button",
|
|
58
|
-
className: ax(["_19itidpf _2rkofajl _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _bfhk1j28 _80omtlke _kqswh2mm _1e0c1o8l _lev4idpf _1cx6idpf _tyukidpf _2ewlidpf _11bcidpf _dqozglyw _1at812x7 _1cjo12x7 _1yg612x7 _hjaq12x7 _hlt21tcg _1s3c1tcg _1i911tcg _1ye71tcg _nt751r31 _49pcglyw _1hvw1o36 _7ehi1y54 _491113zc", !isVisible && "_tzy4idpf _3um015vq _1e0cglyw"])
|
|
37
|
+
className: ax(["_19itidpf _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _bfhk1j28 _80omtlke _kqswh2mm _1e0c1o8l _lev4idpf _1cx6idpf _tyukidpf _2ewlidpf _11bcidpf _dqozglyw _1at812x7 _1cjo12x7 _1yg612x7 _hjaq12x7 _hlt21tcg _1s3c1tcg _1i911tcg _1ye71tcg _nt751r31 _49pcglyw _1hvw1o36 _7ehi1y54 _491113zc", !isVisible && "_tzy4idpf _3um015vq _1e0cglyw", "_19itia51", "_2rko1qi0"])
|
|
59
38
|
}, /*#__PURE__*/React.createElement(Emoji, {
|
|
60
39
|
emoji: emoji,
|
|
61
40
|
selectOnHover: selectOnHover,
|
|
@@ -9,7 +9,6 @@ import { toneSelectedEvent } from '../../util/analytics/toneSelectedEvent';
|
|
|
9
9
|
import { toneSelectorOpenedEvent } from '../../util/analytics/toneSelectorOpenedEvent';
|
|
10
10
|
import { messages } from '../i18n';
|
|
11
11
|
import EmojiRadioButton from './EmojiRadioButton';
|
|
12
|
-
import { isRefreshEmojiPickerEnabled } from './isRefreshEmojiPickerEnabled';
|
|
13
12
|
import { setSkinToneAriaLabelText } from './setSkinToneAriaLabelText';
|
|
14
13
|
import { toneSelectorTestId } from './ToneSelector';
|
|
15
14
|
const hidden = null;
|
|
@@ -102,7 +101,7 @@ export const ToneSelectorInternal = props => {
|
|
|
102
101
|
onMouseDown: onMouseDownHandler,
|
|
103
102
|
className: ax([!isVisible && "_tzy4idpf _3um015vq _1e0cglyw"])
|
|
104
103
|
}, emojiToneCollection.map((tone, renderIndex) => {
|
|
105
|
-
return
|
|
104
|
+
return /*#__PURE__*/React.createElement(EmojiRadioButton, {
|
|
106
105
|
ref: el => {
|
|
107
106
|
radioRefs.current[renderIndex] = el;
|
|
108
107
|
if (tone.isSelected && selectedToneRadioRef) {
|
|
@@ -116,14 +115,6 @@ export const ToneSelectorInternal = props => {
|
|
|
116
115
|
onArrowKey: direction => onArrowKey(renderIndex, direction),
|
|
117
116
|
onSelected: onToneSelectedHandler(tone.toneIndex),
|
|
118
117
|
selectOnHover: true
|
|
119
|
-
}) : /*#__PURE__*/React.createElement(EmojiRadioButton, {
|
|
120
|
-
ref: tone.isSelected ? selectedToneRadioRef : null,
|
|
121
|
-
defaultChecked: tone.isSelected,
|
|
122
|
-
ariaLabelText: tone.label,
|
|
123
|
-
key: `${tone.id}`,
|
|
124
|
-
emoji: tone,
|
|
125
|
-
onSelected: onToneSelectedHandler(tone.toneIndex),
|
|
126
|
-
selectOnHover: true
|
|
127
118
|
});
|
|
128
119
|
}));
|
|
129
120
|
};
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
2
1
|
._v564h5h4{transition:color .2s ease}
|
|
3
2
|
._189eidpf{border-width:0}._13li1mok{border-top-left-radius:var(--ds-radius-large,8px)}
|
|
4
3
|
._16jlidpf{flex-grow:0}
|
|
5
4
|
._19bv12x7{padding-left:var(--ds-space-075,6px)}
|
|
6
5
|
._19bvu2gc{padding-left:var(--ds-space-100,8px)}
|
|
7
|
-
._19bvze3t{padding-left:var(--ds-space-0,0)}
|
|
8
6
|
._1bah1b1v{justify-content:space-around}
|
|
9
7
|
._1bah1h6o{justify-content:center}
|
|
10
8
|
._1doc1dm9{border-bottom-width:var(--ds-border-width-selected,2px)}
|
|
@@ -18,15 +16,12 @@
|
|
|
18
16
|
._2lx2vrvc{flex-direction:row}
|
|
19
17
|
._4cvr1fhb{align-items:stretch}
|
|
20
18
|
._4cvr1h6o{align-items:center}
|
|
21
|
-
._bfhkhfxm{background-color:var(--ds-surface-sunken,#f8f8f8)}
|
|
22
19
|
._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
|
|
23
20
|
._bfhkvuon{background-color:var(--ds-surface,#fff)}
|
|
24
|
-
._ca0q12x7{padding-top:var(--ds-space-075,6px)}
|
|
25
21
|
._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
|
|
26
22
|
._ca0qze3t{padding-top:var(--ds-space-0,0)}
|
|
27
23
|
._dpd31txw button{display:flex}
|
|
28
24
|
._i0dl1wug{flex-basis:auto}
|
|
29
|
-
._n3td12x7{padding-bottom:var(--ds-space-075,6px)}
|
|
30
25
|
._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
|
|
31
26
|
._n3tdze3t{padding-bottom:var(--ds-space-0,0)}
|
|
32
27
|
._qrwq1mok{border-top-right-radius:var(--ds-radius-large,8px)}
|
|
@@ -34,7 +29,6 @@
|
|
|
34
29
|
._syaz6x5g{color:var(--ds-text-selected,#1868db)}
|
|
35
30
|
._u5f312x7{padding-right:var(--ds-space-075,6px)}
|
|
36
31
|
._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
|
|
37
|
-
._u5f3ze3t{padding-right:var(--ds-space-0,0)}
|
|
38
32
|
._1jc41ihb:hover{border-bottom-color:var(--ds-border-bold,#7d818a)}
|
|
39
33
|
._1jc4a755:hover{border-bottom-color:var(--ds-border-brand,#1868db)}
|
|
40
34
|
._30l31rpy:hover{color:var(--ds-text-subtlest,#6b6e76)}
|
|
@@ -9,31 +9,24 @@ import { Pressable } from '@atlaskit/primitives/compiled/pressable';
|
|
|
9
9
|
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
10
10
|
import { usePrevious } from '../../hooks/usePrevious';
|
|
11
11
|
import { CATEGORYSELECTOR_KEYBOARD_KEYS_SUPPORTED, defaultCategories, KeyboardKeys } from '../../util/constants';
|
|
12
|
-
import { isRefreshEmojiPickerEnabled } from '../common/isRefreshEmojiPickerEnabled';
|
|
13
12
|
import { messages } from '../i18n';
|
|
14
|
-
import {
|
|
13
|
+
import { CategoryDescriptionMapNew } from './categories';
|
|
15
14
|
import { categorySelectorCategoryTestId } from './categorySelectorCategoryTestId';
|
|
16
15
|
import { RENDER_EMOJI_PICKER_LIST_TESTID } from './EmojiPickerList';
|
|
17
|
-
import { sortCategories } from './sortCategories';
|
|
18
16
|
import { sortCategoriesNew } from './sortCategoriesNew';
|
|
19
17
|
const styles = {
|
|
20
|
-
commonCategory: "_2rko12b0 _v564h5h4 _189eidpf _bfhksm61 _ca0qze3t _n3tdze3t _19bvze3t _u5f3ze3t",
|
|
21
18
|
commonCategoryNew: "_v564h5h4 _189eidpf _bfhksm61 _ca0qu2gc _n3tdu2gc _19bv12x7 _u5f312x7 _1e0c1txw _4cvr1h6o _1bah1h6o",
|
|
22
|
-
defaultCategory: "_syaz1rpy _30l36x5g",
|
|
23
19
|
defaultCategoryNew: "_syaz1rpy _1doc1dm9 _1il9nqa1 _1o3i1j28 _30l31rpy _1jc41ihb",
|
|
24
|
-
activeCategory: "_syaz6x5g _30l36x5g",
|
|
25
20
|
activeCategoryNew: "_syaz6x5g _1doc1dm9 _1il9nqa1 _1o3ia755 _30l36x5g _1jc4a755",
|
|
26
21
|
disabledCategory: "_syaz1rpy"
|
|
27
22
|
};
|
|
28
|
-
const categorySelector = null;
|
|
29
23
|
const categorySelectorNew = null;
|
|
30
|
-
const categorySelectorTablist = null;
|
|
31
24
|
const categorySelectorTablistNew = null;
|
|
32
25
|
const addNewCategories = (oldCategories, newCategories) => {
|
|
33
26
|
if (!newCategories) {
|
|
34
27
|
return oldCategories;
|
|
35
28
|
}
|
|
36
|
-
return oldCategories.concat(newCategories.filter(category => !!
|
|
29
|
+
return oldCategories.concat(newCategories.filter(category => !!CategoryDescriptionMapNew[category])).sort(sortCategoriesNew);
|
|
37
30
|
};
|
|
38
31
|
export const categorySelectorComponentTestId = 'category-selector-component';
|
|
39
32
|
const CategorySelector = props => {
|
|
@@ -122,14 +115,14 @@ const CategorySelector = props => {
|
|
|
122
115
|
};
|
|
123
116
|
let categoriesSection;
|
|
124
117
|
if (categories) {
|
|
125
|
-
categoriesSection =
|
|
118
|
+
categoriesSection = /*#__PURE__*/React.createElement("div", {
|
|
126
119
|
role: "tablist",
|
|
127
120
|
"aria-label": formatMessage(messages.categoriesSelectorLabel),
|
|
128
121
|
"data-testid": categorySelectorComponentTestId,
|
|
129
122
|
ref: categoryRef,
|
|
130
123
|
className: ax(["_ca0qze3t _n3tdze3t _19bvu2gc _u5f3u2gc _1e0c1txw _2lx2vrvc _1bah1b1v _4cvr1fhb"])
|
|
131
124
|
}, categories.map((categoryId, index) => {
|
|
132
|
-
const category =
|
|
125
|
+
const category = CategoryDescriptionMapNew[categoryId];
|
|
133
126
|
const Icon = category.icon;
|
|
134
127
|
const categoryName = formatMessage(messages[category.name]);
|
|
135
128
|
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
@@ -152,42 +145,10 @@ const CategorySelector = props => {
|
|
|
152
145
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
153
146
|
label: categoryName
|
|
154
147
|
})));
|
|
155
|
-
})) : /*#__PURE__*/React.createElement("div", {
|
|
156
|
-
role: "tablist",
|
|
157
|
-
"aria-label": formatMessage(messages.categoriesSelectorLabel),
|
|
158
|
-
"data-testid": categorySelectorComponentTestId,
|
|
159
|
-
ref: categoryRef,
|
|
160
|
-
className: ax(["_ca0q12x7 _n3td12x7 _19bvu2gc _u5f3u2gc _1e0c1txw _2lx2vrvc _1bah1b1v _4cvr1h6o"])
|
|
161
|
-
}, categories.map((categoryId, index) => {
|
|
162
|
-
const category = isRefreshEmojiPickerEnabled() ? CategoryDescriptionMapNew[categoryId] : CategoryDescriptionMap[categoryId];
|
|
163
|
-
const Icon = category.icon;
|
|
164
|
-
const categoryName = formatMessage(messages[category.name]);
|
|
165
|
-
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
166
|
-
content: categoryName,
|
|
167
|
-
position: "bottom",
|
|
168
|
-
key: category.id
|
|
169
|
-
}, /*#__PURE__*/React.createElement(Pressable, {
|
|
170
|
-
id: `category-selector-${category.id}`,
|
|
171
|
-
"data-focus-index": index,
|
|
172
|
-
"aria-label": categoryName,
|
|
173
|
-
"aria-controls": currentFocus === index ? RENDER_EMOJI_PICKER_LIST_TESTID : undefined,
|
|
174
|
-
"aria-selected": categoryId === activeCategoryId,
|
|
175
|
-
xcss: cx(styles.commonCategory, styles.defaultCategory, categoryId === activeCategoryId && styles.activeCategory, disableCategories && styles.disabledCategory),
|
|
176
|
-
isDisabled: disableCategories,
|
|
177
|
-
onClick: handleClick(categoryId, index),
|
|
178
|
-
testId: categorySelectorCategoryTestId(categoryId),
|
|
179
|
-
tabIndex: currentFocus === index ? 0 : -1,
|
|
180
|
-
onKeyDown: handleKeyDown,
|
|
181
|
-
role: "tab"
|
|
182
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
183
|
-
label: categoryName
|
|
184
|
-
})));
|
|
185
148
|
}));
|
|
186
149
|
}
|
|
187
|
-
return
|
|
150
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
188
151
|
className: ax(["_16jlidpf _1o9zidpf _i0dl1wug _bfhkvuon _13li1mok _qrwq1mok _ca0qze3t _n3tdze3t _1doce4h9 _1il9nqa1 _1o3i1l7x _dpd31txw"])
|
|
189
|
-
}, categoriesSection) : /*#__PURE__*/React.createElement("div", {
|
|
190
|
-
className: ax(["_16jlidpf _1o9zidpf _i0dl1wug _bfhkhfxm _dpd31txw"])
|
|
191
152
|
}, categoriesSection);
|
|
192
153
|
};
|
|
193
154
|
export default CategorySelector;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
._19itahnd{border:var(--ds-border,#0b120e24) var(--ds-border-width,1px) solid}
|
|
2
|
-
._2rko1mok{border-radius:var(--ds-radius-large,8px)}
|
|
3
|
-
._2rkofajl{border-radius:var(--ds-radius-small,3px)}._16jlkb7n{flex-grow:1}
|
|
2
|
+
._2rko1mok{border-radius:var(--ds-radius-large,8px)}._16jlkb7n{flex-grow:1}
|
|
4
3
|
._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
|
|
5
4
|
._18m915vq{overflow-y:hidden}
|
|
6
5
|
._18m91wug{overflow-y:auto}
|