@contentful/field-editor-shared 2.12.0 → 2.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/LocalePublishingEntityStatusBadge/LocalePublishingPopover.js +2 -1
- package/dist/cjs/ReleaseEntityStatusBadge/ReleaseEntityStatusPopover.js +2 -1
- package/dist/esm/LocalePublishingEntityStatusBadge/LocalePublishingPopover.js +3 -2
- package/dist/esm/ReleaseEntityStatusBadge/ReleaseEntityStatusPopover.js +3 -2
- package/dist/types/LocalePublishingEntityStatusBadge/LocalePublishingPopover.d.ts +1 -1
- package/package.json +2 -2
|
@@ -262,7 +262,8 @@ function LocalePublishingPopover({ entity, jobs, isScheduled, localesStatusMap,
|
|
|
262
262
|
tabIndex: 0,
|
|
263
263
|
onFocus: ()=>setIsOpen(true),
|
|
264
264
|
onBlur: ()=>setIsOpen(false),
|
|
265
|
-
endIcon: /*#__PURE__*/ _react.default.createElement(_f36icons.
|
|
265
|
+
endIcon: /*#__PURE__*/ _react.default.createElement(_f36icons.CaretDownIcon, {
|
|
266
|
+
size: "tiny",
|
|
266
267
|
color: getIconColor(entityStatus)
|
|
267
268
|
}),
|
|
268
269
|
onMouseOver: onMouseEnter,
|
|
@@ -233,7 +233,8 @@ function ReleaseEntityStatusPopover({ releaseLocalesStatusMap, activeLocales, is
|
|
|
233
233
|
variant: _constants.RELEASE_BADGES[status.primary].variant,
|
|
234
234
|
onFocus: ()=>setIsOpen(true),
|
|
235
235
|
onBlur: ()=>setIsOpen(false),
|
|
236
|
-
endIcon: /*#__PURE__*/ _react.default.createElement(_f36icons.
|
|
236
|
+
endIcon: /*#__PURE__*/ _react.default.createElement(_f36icons.CaretDownIcon, {
|
|
237
|
+
size: "tiny",
|
|
237
238
|
color: _constants.RELEASE_BADGES[status.primary].icon
|
|
238
239
|
}),
|
|
239
240
|
onMouseOver: onMouseEnter,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useCallback, useRef, useState } from 'react';
|
|
2
2
|
import { EntityStatusBadge, Flex, Popover } from '@contentful/f36-components';
|
|
3
|
-
import {
|
|
3
|
+
import { CaretDownIcon } from '@contentful/f36-icons';
|
|
4
4
|
import tokens from '@contentful/f36-tokens';
|
|
5
5
|
import { cx, css } from 'emotion';
|
|
6
6
|
import * as entityHelpers from '../utils/entityHelpers';
|
|
@@ -206,7 +206,8 @@ export function LocalePublishingPopover({ entity, jobs, isScheduled, localesStat
|
|
|
206
206
|
tabIndex: 0,
|
|
207
207
|
onFocus: ()=>setIsOpen(true),
|
|
208
208
|
onBlur: ()=>setIsOpen(false),
|
|
209
|
-
endIcon: /*#__PURE__*/ React.createElement(
|
|
209
|
+
endIcon: /*#__PURE__*/ React.createElement(CaretDownIcon, {
|
|
210
|
+
size: "tiny",
|
|
210
211
|
color: getIconColor(entityStatus)
|
|
211
212
|
}),
|
|
212
213
|
onMouseOver: onMouseEnter,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useCallback, useRef, useState } from 'react';
|
|
2
2
|
import { Badge, Flex, Popover, Skeleton } from '@contentful/f36-components';
|
|
3
|
-
import {
|
|
3
|
+
import { CaretDownIcon } from '@contentful/f36-icons';
|
|
4
4
|
import tokens from '@contentful/f36-tokens';
|
|
5
5
|
import { cx, css } from 'emotion';
|
|
6
6
|
import { RELEASE_BADGES } from './constants';
|
|
@@ -177,7 +177,8 @@ export function ReleaseEntityStatusPopover({ releaseLocalesStatusMap, activeLoca
|
|
|
177
177
|
variant: RELEASE_BADGES[status.primary].variant,
|
|
178
178
|
onFocus: ()=>setIsOpen(true),
|
|
179
179
|
onBlur: ()=>setIsOpen(false),
|
|
180
|
-
endIcon: /*#__PURE__*/ React.createElement(
|
|
180
|
+
endIcon: /*#__PURE__*/ React.createElement(CaretDownIcon, {
|
|
181
|
+
size: "tiny",
|
|
181
182
|
color: RELEASE_BADGES[status.primary].icon
|
|
182
183
|
}),
|
|
183
184
|
onMouseOver: onMouseEnter,
|
|
@@ -8,5 +8,5 @@ type LocalePublishingPopoverProps = {
|
|
|
8
8
|
activeLocales?: Pick<LocaleProps, 'code'>[];
|
|
9
9
|
localesStatusMap?: LocalePublishStatusMap;
|
|
10
10
|
};
|
|
11
|
-
export declare function LocalePublishingPopover({ entity, jobs, isScheduled, localesStatusMap, activeLocales }: LocalePublishingPopoverProps): React.JSX.Element;
|
|
11
|
+
export declare function LocalePublishingPopover({ entity, jobs, isScheduled, localesStatusMap, activeLocales, }: LocalePublishingPopoverProps): React.JSX.Element;
|
|
12
12
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/field-editor-shared",
|
|
3
|
-
"version": "2.12.
|
|
3
|
+
"version": "2.12.1",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"registry": "https://npm.pkg.github.com/"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "49f38cc9e7fa843748404d57ed9c7e620544e597"
|
|
62
62
|
}
|