@contentful/field-editor-shared 2.12.0 → 2.12.2

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.
@@ -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.ArrowDownIcon, {
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.ArrowDownIcon, {
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 { ArrowDownIcon } from '@contentful/f36-icons';
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(ArrowDownIcon, {
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 { ArrowDownIcon } from '@contentful/f36-icons';
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(ArrowDownIcon, {
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.0",
3
+ "version": "2.12.2",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -37,14 +37,14 @@
37
37
  },
38
38
  "devDependencies": {
39
39
  "@contentful/app-sdk": "^4.29.0",
40
- "@contentful/field-editor-test-utils": "^1.6.1",
40
+ "@contentful/field-editor-test-utils": "^1.6.2",
41
41
  "@lingui/core": "5.3.0",
42
42
  "@testing-library/react": "16.3.0"
43
43
  },
44
44
  "dependencies": {
45
- "@contentful/f36-components": "5.1.1",
45
+ "@contentful/f36-components": "^5.1.1",
46
46
  "@contentful/f36-note": "^5.1.0",
47
- "@contentful/f36-tokens": "5.1.0",
47
+ "@contentful/f36-tokens": "^5.1.0",
48
48
  "contentful-management": "^11.45.1",
49
49
  "emotion": "^10.0.17",
50
50
  "fast-deep-equal": "^3.1.3",
@@ -58,5 +58,5 @@
58
58
  "publishConfig": {
59
59
  "registry": "https://npm.pkg.github.com/"
60
60
  },
61
- "gitHead": "8b1ac3ac7ae3fe40fde1ec1ea5066dc817743d26"
61
+ "gitHead": "24fe7dbeb3a2010a159db994e44e8d2da559413b"
62
62
  }