@rescui/tag 0.13.5-RUI-280-Update-select-component-downshift-2f40ef205.67 → 0.13.6-RUI-291-Update-next-js-to-the-latest-version-8f54dec0a.66

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,50 +1,50 @@
1
- import React, { CSSProperties } from 'react';
2
- import { BaseTagIconPosition, BaseTagSize } from './base-tag';
3
- export declare type StickyTagSize = BaseTagSize;
4
- export declare type StickyTagIconPosition = BaseTagIconPosition;
5
- export declare type StickyTagPlacement = 'top-start' | 'top-end' | 'left-end' | 'left-start';
6
- export declare type StickyTagAlign = 'top' | 'middle';
7
- export declare type StickyTagOffset = 16 | 24 | 32;
8
- export declare type StickyTagProps = {
9
- /** Tag additional class-name */
10
- className?: string;
11
- /** Wrapper additional class-name */
12
- wrapperClassName?: string;
13
- /** The content of the attached Tag */
14
- content: React.ReactNode;
15
- /** Target element */
16
- children?: React.ReactNode;
17
- /** badge size */
18
- size?: StickyTagSize;
19
- /** Should the content be uppercase */
20
- isUppercase?: boolean;
21
- /** Tag placement */
22
- placement?: StickyTagPlacement;
23
- /** Tag align relative to the target border */
24
- align?: StickyTagAlign;
25
- /** Offset from the edge */
26
- offset?: StickyTagOffset;
27
- /** Text color. See [Presets](/components/tag/presets) page. */
28
- color?: string;
29
- /**
30
- * Background color. See [Presets](/components/tag/presets) page.
31
- * @default transparent
32
- * */
33
- backgroundColor?: string;
34
- /**
35
- * Border color. See [Presets](/components/tag/presets) page.
36
- * @default transparent
37
- * */
38
- borderColor?: string;
39
- /** Custom CSS styles */
40
- style?: CSSProperties | undefined;
41
- } & ({
42
- /** Additional icon */
43
- icon: React.ReactNode;
44
- /** Additional icon position */
45
- iconPosition?: StickyTagIconPosition;
46
- } | {
47
- icon?: never;
48
- iconPosition?: never;
49
- });
50
- export declare const StickyTag: React.ForwardRefExoticComponent<StickyTagProps & React.RefAttributes<HTMLSpanElement>>;
1
+ import React, { CSSProperties } from 'react';
2
+ import { BaseTagIconPosition, BaseTagSize } from './base-tag';
3
+ export type StickyTagSize = BaseTagSize;
4
+ export type StickyTagIconPosition = BaseTagIconPosition;
5
+ export type StickyTagPlacement = 'top-start' | 'top-end' | 'left-end' | 'left-start';
6
+ export type StickyTagAlign = 'top' | 'middle';
7
+ export type StickyTagOffset = 16 | 24 | 32;
8
+ export type StickyTagProps = {
9
+ /** Tag additional class-name */
10
+ className?: string;
11
+ /** Wrapper additional class-name */
12
+ wrapperClassName?: string;
13
+ /** The content of the attached Tag */
14
+ content: React.ReactNode;
15
+ /** Target element */
16
+ children?: React.ReactNode;
17
+ /** badge size */
18
+ size?: StickyTagSize;
19
+ /** Should the content be uppercase */
20
+ isUppercase?: boolean;
21
+ /** Tag placement */
22
+ placement?: StickyTagPlacement;
23
+ /** Tag align relative to the target border */
24
+ align?: StickyTagAlign;
25
+ /** Offset from the edge */
26
+ offset?: StickyTagOffset;
27
+ /** Text color. See [Presets](/components/tag/presets) page. */
28
+ color?: string;
29
+ /**
30
+ * Background color. See [Presets](/components/tag/presets) page.
31
+ * @default transparent
32
+ * */
33
+ backgroundColor?: string;
34
+ /**
35
+ * Border color. See [Presets](/components/tag/presets) page.
36
+ * @default transparent
37
+ * */
38
+ borderColor?: string;
39
+ /** Custom CSS styles */
40
+ style?: CSSProperties | undefined;
41
+ } & ({
42
+ /** Additional icon */
43
+ icon: React.ReactNode;
44
+ /** Additional icon position */
45
+ iconPosition?: StickyTagIconPosition;
46
+ } | {
47
+ icon?: never;
48
+ iconPosition?: never;
49
+ });
50
+ export declare const StickyTag: React.ForwardRefExoticComponent<StickyTagProps & React.RefAttributes<HTMLSpanElement>>;
@@ -1,14 +1,14 @@
1
1
  var styles = {
2
- "wrapper": "_wrapper_1p3dm2u_3",
3
- "offset16": "_offset16_1p3dm2u_7",
4
- "offset24": "_offset24_1p3dm2u_10",
5
- "offset32": "_offset32_1p3dm2u_13",
6
- "alignTop": "_alignTop_1p3dm2u_17",
7
- "alignMiddle": "_alignMiddle_1p3dm2u_20",
8
- "topStart": "_topStart_1p3dm2u_24",
9
- "topEnd": "_topEnd_1p3dm2u_27",
10
- "leftStart": "_leftStart_1p3dm2u_30",
11
- "leftEnd": "_leftEnd_1p3dm2u_33",
12
- "tag": "_tag_1p3dm2u_37"
2
+ "wrapper": "_wrapper_1vyvv3u_3",
3
+ "offset16": "_offset16_1vyvv3u_7",
4
+ "offset24": "_offset24_1vyvv3u_10",
5
+ "offset32": "_offset32_1vyvv3u_13",
6
+ "alignTop": "_alignTop_1vyvv3u_17",
7
+ "alignMiddle": "_alignMiddle_1vyvv3u_20",
8
+ "topStart": "_topStart_1vyvv3u_24",
9
+ "topEnd": "_topEnd_1vyvv3u_27",
10
+ "leftStart": "_leftStart_1vyvv3u_30",
11
+ "leftEnd": "_leftEnd_1vyvv3u_33",
12
+ "tag": "_tag_1vyvv3u_37"
13
13
  };
14
14
  export { styles as default };
@@ -1,4 +1,4 @@
1
1
  var styles = {
2
- "main": "_main_wpdo3o_1"
2
+ "main": "_main_nguj94_1"
3
3
  };
4
4
  export { styles as default };
package/lib/tag.d.ts CHANGED
@@ -1,37 +1,37 @@
1
- import React, { CSSProperties } from 'react';
2
- import { BaseTagSize, BaseTagIconPosition } from './parts/base-tag';
3
- export declare type TagSize = BaseTagSize;
4
- export declare type TagIconPosition = BaseTagIconPosition;
5
- export declare type TagProps = {
6
- /** Additional class-name */
7
- className?: string;
8
- /** Child element */
9
- children?: React.ReactNode;
10
- /** badge size */
11
- size?: TagSize;
12
- /** Should the content be uppercase */
13
- isUppercase?: boolean;
14
- /** Text color. See [Presets](/components/tag/presets) page. */
15
- color?: string;
16
- /**
17
- * Background color. See [Presets](/components/tag/presets) page.
18
- * @default transparent
19
- * */
20
- backgroundColor?: string;
21
- /**
22
- * Border color. See [Presets](/components/tag/presets) page.
23
- * @default transparent
24
- * */
25
- borderColor?: string;
26
- /** Custom CSS styles */
27
- style?: CSSProperties | undefined;
28
- } & ({
29
- /** Additional icon */
30
- icon: React.ReactNode;
31
- /** Additional icon position */
32
- iconPosition?: TagIconPosition;
33
- } | {
34
- icon?: never;
35
- iconPosition?: never;
36
- });
37
- export declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLSpanElement>>;
1
+ import React, { CSSProperties } from 'react';
2
+ import { BaseTagSize, BaseTagIconPosition } from './parts/base-tag';
3
+ export type TagSize = BaseTagSize;
4
+ export type TagIconPosition = BaseTagIconPosition;
5
+ export type TagProps = {
6
+ /** Additional class-name */
7
+ className?: string;
8
+ /** Child element */
9
+ children?: React.ReactNode;
10
+ /** badge size */
11
+ size?: TagSize;
12
+ /** Should the content be uppercase */
13
+ isUppercase?: boolean;
14
+ /** Text color. See [Presets](/components/tag/presets) page. */
15
+ color?: string;
16
+ /**
17
+ * Background color. See [Presets](/components/tag/presets) page.
18
+ * @default transparent
19
+ * */
20
+ backgroundColor?: string;
21
+ /**
22
+ * Border color. See [Presets](/components/tag/presets) page.
23
+ * @default transparent
24
+ * */
25
+ borderColor?: string;
26
+ /** Custom CSS styles */
27
+ style?: CSSProperties | undefined;
28
+ } & ({
29
+ /** Additional icon */
30
+ icon: React.ReactNode;
31
+ /** Additional icon position */
32
+ iconPosition?: TagIconPosition;
33
+ } | {
34
+ icon?: never;
35
+ iconPosition?: never;
36
+ });
37
+ export declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLSpanElement>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rescui/tag",
3
- "version": "0.13.5-RUI-280-Update-select-component-downshift-2f40ef205.67+2f40ef205",
3
+ "version": "0.13.6-RUI-291-Update-next-js-to-the-latest-version-8f54dec0a.66+8f54dec0a",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JetBrains",
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "@babel/runtime-corejs3": "^7.26.0",
19
- "@rescui/colors": "0.3.1-RUI-280-Update-select-component-downshift-2f40ef205.67+2f40ef205",
19
+ "@rescui/colors": "0.3.1-RUI-291-Update-next-js-to-the-latest-version-8f54dec0a.79+8f54dec0a",
20
20
  "classnames": "^2.3.1"
21
21
  },
22
22
  "peerDependencies": {
@@ -25,14 +25,14 @@
25
25
  "react": ">=16.8.0 <20"
26
26
  },
27
27
  "devDependencies": {
28
- "@rescui/icons": "1.7.4-RUI-280-Update-select-component-downshift-2f40ef205.67+2f40ef205",
28
+ "@rescui/icons": "1.7.5-RUI-291-Update-next-js-to-the-latest-version-8f54dec0a.66+8f54dec0a",
29
29
  "@rescui/scripts": "0.5.1",
30
- "@rescui/typography": "0.24.5-RUI-280-Update-select-component-downshift-2f40ef205.67+2f40ef205"
30
+ "@rescui/typography": "0.25.1-RUI-291-Update-next-js-to-the-latest-version-8f54dec0a.66+8f54dec0a"
31
31
  },
32
32
  "scripts": {
33
33
  "build": "rescui-scripts build && yarn run build-pcss-api",
34
34
  "build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
35
35
  },
36
36
  "nx": {},
37
- "gitHead": "2f40ef205f94c200019ec963e3fd0ca47fe1cdcb"
37
+ "gitHead": "8f54dec0a450da30835485cba2edfd0037cccd25"
38
38
  }