@semcore/flags 17.1.0 → 17.1.1-prerelease.11

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,4 +1,4 @@
1
- import type { BoxProps } from '@semcore/base-components';
1
+ import type { NSBox } from '@semcore/base-components';
2
2
  import type { UnknownProperties, Intergalactic } from '@semcore/core';
3
3
 
4
4
  export declare const iso2Name: Record<FlagsIso2, string>;
@@ -313,7 +313,7 @@ export declare const nameWithoutIso: {
313
313
  WALES: string;
314
314
  };
315
315
 
316
- export type FlagsProps = BoxProps & {
316
+ export type FlagsProps = NSBox.Props & {
317
317
  /** URL before css file with a sprite
318
318
  * @default `//static.semrush.com/intergalactic/flags/${version package}`
319
319
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/flags",
3
3
  "description": "Semrush Flags Component",
4
- "version": "17.1.0",
4
+ "version": "17.1.1-prerelease.11",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",
@@ -12,7 +12,7 @@
12
12
  "classnames": "2.2.6"
13
13
  },
14
14
  "peerDependencies": {
15
- "@semcore/base-components": "^17.0.2"
15
+ "@semcore/base-components": "^17.2.2-prerelease.11"
16
16
  },
17
17
  "repository": {
18
18
  "type": "git",
@@ -24,8 +24,8 @@
24
24
  "imagemin": "9.0.1",
25
25
  "imagemin-pngquant": "9.0.2",
26
26
  "pngjs": "7.0.0",
27
- "@semcore/core": "17.1.0",
28
- "@semcore/base-components": "17.0.2",
27
+ "@semcore/core": "17.3.1-prerelease.11",
28
+ "@semcore/base-components": "17.2.2-prerelease.11",
29
29
  "@semcore/testing-utils": "1.0.0"
30
30
  },
31
31
  "scripts": {
@@ -0,0 +1,17 @@
1
+ import { resolve as resolvePath } from 'node:path';
2
+
3
+ import { defineConfig } from 'vitest/config';
4
+
5
+ import { vitestPlugins, vitestResolve } from '../../vitest.config.mts';
6
+
7
+ export default defineConfig({
8
+ plugins: vitestPlugins,
9
+ resolve: vitestResolve,
10
+ test: {
11
+ include: [
12
+ '__tests__/**/*.test.tsx',
13
+ ],
14
+ environment: 'jsdom',
15
+ setupFiles: [resolvePath(__dirname, '../../tools/testing-utils/setupTests')],
16
+ },
17
+ });