@semcore/flags 4.41.0-prerelease.1 → 4.41.0-prerelease.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.
@@ -1,5 +1,5 @@
1
- import { BoxProps } from '@semcore/flex-box';
2
- import { UnknownProperties, Intergalactic } from '@semcore/core';
1
+ import type { BoxProps } from '@semcore/base-components';
2
+ import type { UnknownProperties, Intergalactic } from '@semcore/core';
3
3
 
4
4
  export declare const iso2Name: Record<FlagsIso2, string>;
5
5
 
@@ -285,7 +285,6 @@ export declare const nameWithoutIso: {
285
285
  canary_islands: string;
286
286
  common_wealth: string;
287
287
  england: string;
288
- european_union: string;
289
288
  mars: string;
290
289
  nagorno_karabakh: string;
291
290
  nato: string;
@@ -302,7 +301,6 @@ export declare const nameWithoutIso: {
302
301
  CANARY_ISLANDS: string;
303
302
  COMMON_WEALTH: string;
304
303
  ENGLAND: string;
305
- EUROPEAN_UNION: string;
306
304
  MARS: string;
307
305
  NAGORNO_KARABAKH: string;
308
306
  NATO: string;
@@ -315,11 +313,9 @@ export declare const nameWithoutIso: {
315
313
  WALES: string;
316
314
  };
317
315
 
318
- /** @deprecated */
319
- export interface IFlagsProps extends FlagsProps, UnknownProperties {}
320
316
  export type FlagsProps = BoxProps & {
321
317
  /** URL before css file with a sprite
322
- * @default `//static.semrush.com/ui-kit/flags/${version package}`
318
+ * @default `//static.semrush.com/intergalactic/flags/${version package}`
323
319
  */
324
320
  staticPath?: string;
325
321
  /** Country code in two-letter format */
@@ -408,6 +404,7 @@ export type FlagsIso2 =
408
404
  | 'ER'
409
405
  | 'EE'
410
406
  | 'ET'
407
+ | 'EU'
411
408
  | 'FK'
412
409
  | 'FO'
413
410
  | 'FJ'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/flags",
3
3
  "description": "Semrush Flags Component",
4
- "version": "4.41.0-prerelease.1",
4
+ "version": "4.41.0-prerelease.5",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",
@@ -9,12 +9,12 @@
9
9
  "author": "UI-kit team <ui-kit-team@semrush.com>",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "@semcore/flex-box": "5.42.0-prerelease.1",
13
- "@semcore/utils": "4.49.0-prerelease.1",
12
+ "@semcore/flex-box": "5.42.0-prerelease.5",
13
+ "@semcore/utils": "4.49.0-prerelease.5",
14
14
  "classnames": "2.2.6"
15
15
  },
16
16
  "peerDependencies": {
17
- "@semcore/core": "^2.40.0-prerelease.1",
17
+ "@semcore/core": "^2.40.0-prerelease.5",
18
18
  "react": "16.8 - 18",
19
19
  "react-dom": "16.8 - 18"
20
20
  },