@xsolla/xui-breadcrumbs 0.119.0 → 0.121.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/xui-breadcrumbs",
3
- "version": "0.119.0",
3
+ "version": "0.121.0",
4
4
  "main": "./web/index.js",
5
5
  "module": "./web/index.mjs",
6
6
  "types": "./web/index.d.ts",
@@ -10,8 +10,8 @@
10
10
  "build:native": "PLATFORM=native tsup"
11
11
  },
12
12
  "dependencies": {
13
- "@xsolla/xui-core": "0.119.0",
14
- "@xsolla/xui-primitives-core": "0.119.0"
13
+ "@xsolla/xui-core": "0.121.0",
14
+ "@xsolla/xui-primitives-core": "0.121.0"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "react": ">=16.8.0"
@@ -1,66 +0,0 @@
1
- /**
2
- * Flowtype definitions for index
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.21.0
5
- * @flow
6
- */
7
-
8
- import React, { Node } from "react";
9
- declare type BreadcrumbsSize = "sm" | "md" | "lg";
10
- declare interface BreadcrumbItem {
11
- /**
12
- * The label/text of the breadcrumb item.
13
- */
14
- label: string;
15
-
16
- /**
17
- * The URL or path for the breadcrumb item.
18
- */
19
- href?: string;
20
-
21
- /**
22
- * Callback fired when the breadcrumb item is clicked.
23
- */
24
- onClick?: () => void;
25
-
26
- /**
27
- * Whether the breadcrumb item is disabled.
28
- */
29
- disabled?: boolean;
30
- }
31
- declare interface BreadcrumbsProps {
32
- /**
33
- * Property to specify the size of the breadcrumbs.
34
- * @default "md"
35
- */
36
- size?: BreadcrumbsSize;
37
-
38
- /**
39
- * Array of breadcrumb items to display.
40
- */
41
- items: BreadcrumbItem[];
42
-
43
- /**
44
- * Property for specifying the stretch of the breadcrumbs to fit the parent element.
45
- * @default false
46
- */
47
- stretched?: boolean;
48
-
49
- /**
50
- * Custom separator component. If not provided, uses ChevronRight icon.
51
- */
52
- separator?: Node;
53
-
54
- /**
55
- * Custom background color for the breadcrumbs container
56
- */
57
- backgroundColor?: string;
58
-
59
- /**
60
- * Test ID for testing frameworks
61
- */
62
- testID?: string;
63
- }
64
- declare var Breadcrumbs: React.FC<BreadcrumbsProps>;
65
- export type { BreadcrumbItem, BreadcrumbsProps, BreadcrumbsSize };
66
- declare export { Breadcrumbs };
package/web/index.js.flow DELETED
@@ -1,66 +0,0 @@
1
- /**
2
- * Flowtype definitions for index
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.21.0
5
- * @flow
6
- */
7
-
8
- import React, { Node } from "react";
9
- declare type BreadcrumbsSize = "sm" | "md" | "lg";
10
- declare interface BreadcrumbItem {
11
- /**
12
- * The label/text of the breadcrumb item.
13
- */
14
- label: string;
15
-
16
- /**
17
- * The URL or path for the breadcrumb item.
18
- */
19
- href?: string;
20
-
21
- /**
22
- * Callback fired when the breadcrumb item is clicked.
23
- */
24
- onClick?: () => void;
25
-
26
- /**
27
- * Whether the breadcrumb item is disabled.
28
- */
29
- disabled?: boolean;
30
- }
31
- declare interface BreadcrumbsProps {
32
- /**
33
- * Property to specify the size of the breadcrumbs.
34
- * @default "md"
35
- */
36
- size?: BreadcrumbsSize;
37
-
38
- /**
39
- * Array of breadcrumb items to display.
40
- */
41
- items: BreadcrumbItem[];
42
-
43
- /**
44
- * Property for specifying the stretch of the breadcrumbs to fit the parent element.
45
- * @default false
46
- */
47
- stretched?: boolean;
48
-
49
- /**
50
- * Custom separator component. If not provided, uses ChevronRight icon.
51
- */
52
- separator?: Node;
53
-
54
- /**
55
- * Custom background color for the breadcrumbs container
56
- */
57
- backgroundColor?: string;
58
-
59
- /**
60
- * Test ID for testing frameworks
61
- */
62
- testID?: string;
63
- }
64
- declare var Breadcrumbs: React.FC<BreadcrumbsProps>;
65
- export type { BreadcrumbItem, BreadcrumbsProps, BreadcrumbsSize };
66
- declare export { Breadcrumbs };