@allurereport/web-components 3.0.0-beta.9 → 3.0.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.
Files changed (39) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.d.ts +608 -44
  3. package/dist/index.js +16 -14
  4. package/dist/index.js.map +1 -1
  5. package/dist/mixins.scss +8 -8
  6. package/package.json +62 -29
  7. package/dist/components/Button/index.d.ts +0 -29
  8. package/dist/components/Button/index.d.ts.map +0 -1
  9. package/dist/components/Counter/index.d.ts +0 -10
  10. package/dist/components/Counter/index.d.ts.map +0 -1
  11. package/dist/components/Label/index.d.ts +0 -3
  12. package/dist/components/Label/index.d.ts.map +0 -1
  13. package/dist/components/Link/index.d.ts +0 -9
  14. package/dist/components/Link/index.d.ts.map +0 -1
  15. package/dist/components/Loadable/index.d.ts +0 -16
  16. package/dist/components/Loadable/index.d.ts.map +0 -1
  17. package/dist/components/Menu/index.d.ts +0 -37
  18. package/dist/components/Menu/index.d.ts.map +0 -1
  19. package/dist/components/PageLoader/index.d.ts +0 -2
  20. package/dist/components/PageLoader/index.d.ts.map +0 -1
  21. package/dist/components/SearchBox/index.d.ts +0 -11
  22. package/dist/components/SearchBox/index.d.ts.map +0 -1
  23. package/dist/components/Spinner/index.d.ts +0 -5
  24. package/dist/components/Spinner/index.d.ts.map +0 -1
  25. package/dist/components/SuccessRatePieChart/index.d.ts +0 -13
  26. package/dist/components/SuccessRatePieChart/index.d.ts.map +0 -1
  27. package/dist/components/SvgIcon/index.d.ts +0 -65
  28. package/dist/components/SvgIcon/index.d.ts.map +0 -1
  29. package/dist/components/Toggle/index.d.ts +0 -9
  30. package/dist/components/Toggle/index.d.ts.map +0 -1
  31. package/dist/components/Tooltip/index.d.ts +0 -14
  32. package/dist/components/Tooltip/index.d.ts.map +0 -1
  33. package/dist/components/TrendChart/index.d.ts +0 -25
  34. package/dist/components/TrendChart/index.d.ts.map +0 -1
  35. package/dist/components/Typography/index.d.ts +0 -28
  36. package/dist/components/Typography/index.d.ts.map +0 -1
  37. package/dist/hooks/useDebouncedCallback.d.ts +0 -2
  38. package/dist/hooks/useDebouncedCallback.d.ts.map +0 -1
  39. package/dist/index.d.ts.map +0 -1
package/dist/mixins.scss CHANGED
@@ -31,10 +31,10 @@
31
31
  font-display: swap;
32
32
  font-weight: 300 700;
33
33
  src:
34
- url("~@allurereport/web-components/fonts/pt-root-ui_vf.woff") format("woff2 supports variations"),
35
- url("~@allurereport/web-components/fonts/pt-root-ui_vf.woff2") format("woff2-variations"),
36
- url("~@allurereport/web-components/fonts/pt-root-ui_vf.woff") format("woff supports variations"),
37
- url("~@allurereport/web-components/fonts/pt-root-ui_vf.woff") format("woff-variations");
34
+ url("@allurereport/web-components/fonts/pt-root-ui_vf.woff") format("woff2 supports variations"),
35
+ url("@allurereport/web-components/fonts/pt-root-ui_vf.woff2") format("woff2-variations"),
36
+ url("@allurereport/web-components/fonts/pt-root-ui_vf.woff") format("woff supports variations"),
37
+ url("@allurereport/web-components/fonts/pt-root-ui_vf.woff") format("woff-variations");
38
38
  }
39
39
 
40
40
  @font-face {
@@ -42,9 +42,9 @@
42
42
  font-display: swap;
43
43
  font-weight: 100 800;
44
44
  src:
45
- url("~@allurereport/web-components/fonts/JetBrainsMono_vf.woff2") format("woff2 supports variations"),
46
- url("~@allurereport/web-components/fonts/JetBrainsMono_vf.woff2") format("woff2-variations"),
47
- url("~@allurereport/web-components/fonts/JetBrainsMono_vf.woff") format("woff supports variations"),
48
- url("~@allurereport/web-components/fonts/JetBrainsMono_vf.woff") format("woff-variations");
45
+ url("@allurereport/web-components/fonts/JetBrainsMono_vf.woff2") format("woff2 supports variations"),
46
+ url("@allurereport/web-components/fonts/JetBrainsMono_vf.woff2") format("woff2-variations"),
47
+ url("@allurereport/web-components/fonts/JetBrainsMono_vf.woff") format("woff supports variations"),
48
+ url("@allurereport/web-components/fonts/JetBrainsMono_vf.woff") format("woff-variations");
49
49
  }
50
50
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allurereport/web-components",
3
- "version": "3.0.0-beta.9",
3
+ "version": "3.0.0",
4
4
  "description": "Collection of Preact components used across the web Allure reports",
5
5
  "keywords": [
6
6
  "allure",
@@ -40,34 +40,59 @@
40
40
  "test": "vitest run"
41
41
  },
42
42
  "dependencies": {
43
- "@allurereport/web-commons": "3.0.0-beta.9",
44
- "@floating-ui/dom": "^1.6.13",
45
- "@nivo/core": "^0.88.0",
46
- "@nivo/line": "^0.88.0",
43
+ "@allurereport/charts-api": "3.0.0",
44
+ "@allurereport/web-commons": "3.0.0",
45
+ "@floating-ui/dom": "^1.7.4",
46
+ "@nivo/bar": "^0.99.0",
47
+ "@nivo/core": "^0.99.0",
48
+ "@nivo/funnel": "^0.99.0",
49
+ "@nivo/heatmap": "^0.99.0",
50
+ "@nivo/line": "^0.99.0",
51
+ "@nivo/pie": "^0.99.0",
52
+ "@nivo/text": "^0.99.0",
53
+ "@nivo/theming": "^0.99.0",
54
+ "@nivo/tooltip": "^0.99.0",
55
+ "@nivo/treemap": "^0.99.0",
56
+ "@preact/compat": "^18.3.1",
47
57
  "@preact/signals": "^1.3.0",
58
+ "@react-spring/web": "^10.0.3",
59
+ "clsx": "^2.1.1",
60
+ "d3-array": "^3.2.4",
61
+ "d3-axis": "^3.0.0",
62
+ "d3-brush": "^3.0.0",
63
+ "d3-format": "^3.1.0",
64
+ "d3-interpolate": "^3.0.1",
65
+ "d3-regression": "^1.3.10",
66
+ "d3-scale": "^4.0.2",
67
+ "d3-selection": "^3.0.0",
48
68
  "d3-shape": "^3.2.0",
69
+ "d3-tip": "^0.9.1",
70
+ "d3-transition": "^3.0.1",
71
+ "lodash": "^4.17.21",
49
72
  "preact": "^10.24.0",
50
- "prismjs": "^1.29.0",
73
+ "prismjs": "^1.30.0",
51
74
  "react": "npm:@preact/compat@*",
52
75
  "react-dom": "npm:@preact/compat@*",
53
- "reset.css": "^2.0.2"
76
+ "reset.css": "^2.0.2",
77
+ "sortablejs": "^1.15.6",
78
+ "use-debounce": "^10.0.6"
54
79
  },
55
80
  "devDependencies": {
56
- "@allurereport/core-api": "3.0.0-beta.9",
57
- "@babel/core": "^7.25.2",
58
- "@babel/plugin-transform-react-jsx": "^7.25.2",
59
- "@babel/preset-env": "^7.25.4",
60
- "@babel/preset-typescript": "^7.24.7",
81
+ "@allurereport/core-api": "3.0.0",
82
+ "@babel/core": "^7.27.4",
83
+ "@babel/plugin-transform-react-jsx": "^7.27.1",
84
+ "@babel/preset-env": "^7.27.2",
85
+ "@babel/preset-typescript": "^7.27.1",
61
86
  "@chromatic-com/storybook": "^3.2.3",
62
87
  "@eslint/js": "^9.10.0",
63
- "@nivo/axes": "^0.88.0",
64
- "@nivo/legends": "^0.88.0",
65
- "@preact/compat": "^18.3.1",
88
+ "@nivo/axes": "^0.99.0",
89
+ "@nivo/legends": "^0.99.0",
90
+ "@nivo/scales": "^0.99.0",
66
91
  "@preact/preset-vite": "^2.9.4",
67
- "@preact/signals": "^1.3.0",
68
92
  "@rollup/plugin-alias": "^5.1.1",
69
93
  "@rollup/plugin-babel": "^6.0.4",
70
94
  "@rollup/plugin-commonjs": "^28.0.2",
95
+ "@rollup/plugin-json": "^6.1.0",
71
96
  "@rollup/plugin-node-resolve": "^16.0.0",
72
97
  "@rollup/plugin-terser": "^0.4.4",
73
98
  "@rollup/plugin-typescript": "^12.1.2",
@@ -88,23 +113,33 @@
88
113
  "@testing-library/jest-dom": "^6.6.3",
89
114
  "@testing-library/preact": "^3.2.4",
90
115
  "@types/babel__core": "^7.20.5",
116
+ "@types/d3-array": "^3.2.2",
117
+ "@types/d3-axis": "^3",
118
+ "@types/d3-brush": "^3",
119
+ "@types/d3-format": "^3",
120
+ "@types/d3-interpolate": "^3.0.4",
121
+ "@types/d3-scale": "^4.0.9",
122
+ "@types/d3-selection": "^3",
91
123
  "@types/d3-shape": "^3.1.6",
124
+ "@types/d3-tip": "^0",
125
+ "@types/d3-transition": "^3",
92
126
  "@types/eslint": "^8.56.11",
127
+ "@types/lodash": "^4",
93
128
  "@types/md5": "^2.3.5",
94
129
  "@types/node": "^20.17.9",
95
- "@types/prismjs": "^1",
130
+ "@types/prismjs": "^1.26.5",
131
+ "@types/sortablejs": "^1.15.8",
96
132
  "@typescript-eslint/eslint-plugin": "^8.0.0",
97
133
  "@typescript-eslint/parser": "^8.0.0",
98
- "@vitest/runner": "^2.1.8",
99
- "@vitest/snapshot": "^2.1.8",
100
- "allure-js-commons": "^3.0.9",
101
- "allure-vitest": "^3.0.9",
134
+ "@vitest/runner": "^2.1.9",
135
+ "@vitest/snapshot": "^2.1.9",
136
+ "allure-js-commons": "^3.3.3",
137
+ "allure-vitest": "^3.3.3",
102
138
  "autoprefixer": "^10.4.20",
103
139
  "babel-loader": "^9.2.1",
104
140
  "babel-plugin-prismjs": "^2.1.0",
105
141
  "clsx": "^2.1.1",
106
142
  "css-loader": "^7.1.2",
107
- "d3-shape": "^3.2.0",
108
143
  "eslint": "^8.57.0",
109
144
  "eslint-config-preact": "^1.5.0",
110
145
  "eslint-config-prettier": "^9.1.0",
@@ -124,25 +159,23 @@
124
159
  "jsdom": "^26.0.0",
125
160
  "mini-css-extract-plugin": "^2.9.1",
126
161
  "npm-run-all2": "^7.0.1",
127
- "postcss": "^8.4.49",
162
+ "postcss": "^8.5.6",
128
163
  "postcss-import": "^16.1.0",
129
- "preact": "^10.24.0",
130
- "prismjs": "^1.29.0",
131
164
  "rimraf": "^6.0.1",
132
- "rollup": "^4.30.1",
165
+ "rollup": "^4.43.0",
133
166
  "rollup-plugin-copy": "^3.5.0",
134
- "rollup-plugin-dts": "^6.1.1",
167
+ "rollup-plugin-dts": "^6.2.1",
135
168
  "rollup-plugin-postcss": "^4.0.2",
136
169
  "rollup-plugin-svg-sprites": "^1.2.5",
137
170
  "sass": "^1.83.1",
138
171
  "sass-loader": "^16.0.4",
139
- "storybook": "^8.4.7",
172
+ "storybook": "^8.6.15",
140
173
  "style-loader": "^4.0.0",
141
174
  "svg-sprite-loader": "^6.0.11",
142
175
  "ts-node": "^10.9.2",
143
176
  "tslib": "^2.7.0",
144
177
  "typescript": "^5.6.3",
145
178
  "typescript-eslint": "^8.6.0",
146
- "vitest": "^2.1.8"
179
+ "vitest": "^2.1.9"
147
180
  }
148
181
  }
@@ -1,29 +0,0 @@
1
- type BaseBtnProps = {
2
- text?: string;
3
- isPending?: boolean;
4
- size?: "s" | "m" | "l";
5
- style?: "primary" | "outline" | "ghost" | "flat" | "raised";
6
- action?: "default" | "danger" | "positive";
7
- icon?: string;
8
- iconSize?: "xs" | "s" | "m";
9
- fullWidth?: boolean;
10
- isIconButton?: boolean;
11
- isDropdownButton?: boolean;
12
- onClick?: (e: MouseEvent) => void;
13
- type?: HTMLButtonElement["type"];
14
- isDisabled?: boolean;
15
- isActive?: boolean;
16
- focusable?: boolean;
17
- className?: string;
18
- dataTestId?: string;
19
- };
20
- export type ButtonProps = Omit<BaseBtnProps, "text" | "isIconButton" | "isDropdownButton"> & Pick<Required<BaseBtnProps>, "text">;
21
- export declare const Button: (props: ButtonProps) => import("preact").JSX.Element;
22
- export type IconButtonProps = Omit<BaseBtnProps, "text" | "icon" | "autoFocus" | "fullWidth" | "isIconButton" | "isDropdownButton"> & Pick<Required<BaseBtnProps>, "icon">;
23
- export declare const IconButton: (props: IconButtonProps) => import("preact").JSX.Element;
24
- type DropdownButtonProps = Omit<BaseBtnProps, "type" | "autoFocus" | "isDropdownButton" | "isIconButton" | "text" | "icon" | "isActive"> & Pick<Required<BaseBtnProps>, "text"> & {
25
- isExpanded?: boolean;
26
- };
27
- export declare const DropdownButton: (props: DropdownButtonProps) => import("preact").JSX.Element;
28
- export {};
29
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":"AAMA,KAAK,YAAY,GAAG;IAKlB,IAAI,CAAC,EAAE,MAAM,CAAC;IAId,SAAS,CAAC,EAAE,OAAO,CAAC;IAUpB,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IAYvB,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;IAO5D,MAAM,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;IAI3C,IAAI,CAAC,EAAE,MAAM,CAAC;IAId,QAAQ,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,CAAC;IAI5B,SAAS,CAAC,EAAE,OAAO,CAAC;IAIpB,YAAY,CAAC,EAAE,OAAO,CAAC;IAIvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAI3B,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IAKlC,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAMjC,UAAU,CAAC,EAAE,OAAO,CAAC;IAMrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAMnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AA4DF,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,cAAc,GAAG,kBAAkB,CAAC,GACxF,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC,CAAC;AAEvC,eAAO,MAAM,MAAM,UAAW,WAAW,iCAA2B,CAAC;AAErE,MAAM,MAAM,eAAe,GAAG,IAAI,CAChC,YAAY,EACZ,MAAM,GAAG,MAAM,GAAG,WAAW,GAAG,WAAW,GAAG,cAAc,GAAG,kBAAkB,CAClF,GACC,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC,CAAC;AAEvC,eAAO,MAAM,UAAU,UAAW,eAAe,iCAAwC,CAAC;AAE1F,KAAK,mBAAmB,GAAG,IAAI,CAC7B,YAAY,EACZ,MAAM,GAAG,WAAW,GAAG,kBAAkB,GAAG,cAAc,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,CAC1F,GACC,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC,GAAG;IACrC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEJ,eAAO,MAAM,cAAc,UAAW,mBAAmB,iCAExD,CAAC"}
@@ -1,10 +0,0 @@
1
- import type { TestStatus } from "@allurereport/core-api";
2
- type Props = {
3
- size?: "s" | "m" | "l";
4
- count: number;
5
- truncateCount?: boolean;
6
- status?: TestStatus;
7
- };
8
- export declare const Counter: (props: Props) => import("preact").JSX.Element;
9
- export {};
10
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Counter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAKzD,KAAK,KAAK,GAAG;IACX,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,KAAK,iCAgBnC,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { FunctionComponent } from "preact";
2
- export declare const Label: FunctionComponent;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Label/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAIhD,eAAO,MAAM,KAAK,EAAE,iBAMnB,CAAC"}
@@ -1,9 +0,0 @@
1
- import type { ComponentChildren } from "preact";
2
- type Props = {
3
- href?: string;
4
- children: ComponentChildren;
5
- onClick?: (e: MouseEvent) => void;
6
- };
7
- export declare const Link: (props: Props) => import("preact").JSX.Element;
8
- export {};
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Link/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAGhD,KAAK,KAAK,GAAG;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,IAAI,UAAW,KAAK,iCAUhC,CAAC"}
@@ -1,16 +0,0 @@
1
- import type { Signal } from "@preact/signals";
2
- import type { JSX } from "preact";
3
- export interface StoreSignalState<T> {
4
- error?: string;
5
- loading: boolean;
6
- data?: T;
7
- }
8
- export type LoadableProps<T, K = T> = {
9
- source: Signal<StoreSignalState<T>>;
10
- transformData?: (data: T) => K;
11
- renderData: (data: K) => JSX.Element;
12
- renderLoader?: () => JSX.Element;
13
- renderError?: (error: string) => JSX.Element;
14
- };
15
- export declare const Loadable: <T, K = T>(props: LoadableProps<T, K>) => JSX.Element | null;
16
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Loadable/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAElC,MAAM,WAAW,gBAAgB,CAAC,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,CAAC,CAAC;CACV;AAED,MAAM,MAAM,aAAa,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI;IACpC,MAAM,EAAE,MAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;IACpC,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC;IAC/B,UAAU,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,GAAG,CAAC,OAAO,CAAC;IACrC,YAAY,CAAC,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC;IACjC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,GAAG,CAAC,OAAO,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,CAAC,EAAE,CAAC,aAAa,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,uBAmB5D,CAAC"}
@@ -1,37 +0,0 @@
1
- import { type ComponentChildren, type VNode } from "preact";
2
- type MenuContextT = {
3
- setIsOpened: (isOpened: boolean) => void;
4
- };
5
- export declare const useMenuContext: () => MenuContextT;
6
- export declare const Menu: {
7
- (props: {
8
- children: ComponentChildren;
9
- isInitialOpened?: boolean;
10
- size?: "s" | "m" | "l" | "xl";
11
- placement?: "bottom-start" | "bottom-end";
12
- menuTrigger: (props: {
13
- onClick: () => void;
14
- isOpened: boolean;
15
- setIsOpened: (isOpened: boolean) => void;
16
- }) => VNode;
17
- menuTriggerWrapper?: "div" | "span";
18
- }): import("preact").JSX.Element;
19
- Section(props: {
20
- children: ComponentChildren;
21
- }): import("preact").JSX.Element;
22
- Item(props: ItemProps): import("preact").JSX.Element;
23
- ItemWithCheckmark(props: ItemProps & {
24
- isChecked: boolean;
25
- }): import("preact").JSX.Element;
26
- };
27
- type ItemProps = {
28
- children: ComponentChildren;
29
- onClick?: () => void;
30
- leadingIcon?: string;
31
- rightSlot?: ComponentChildren;
32
- closeMenuOnClick?: boolean;
33
- ariaLabel?: string;
34
- setIsOpened?: (isOpened: boolean) => void;
35
- };
36
- export {};
37
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,KAAK,EAAiB,MAAM,QAAQ,CAAC;AAO3E,KAAK,YAAY,GAAG;IAClB,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1C,CAAC;AAIF,eAAO,MAAM,cAAc,oBAQ1B,CAAC;AAEF,eAAO,MAAM,IAAI;YAAW;QAC1B,QAAQ,EAAE,iBAAiB,CAAC;QAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;QAC9B,SAAS,CAAC,EAAE,cAAc,GAAG,YAAY,CAAC;QAC1C,WAAW,EAAE,CAAC,KAAK,EAAE;YAAE,OAAO,EAAE,MAAM,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAA;SAAE,KAAK,KAAK,CAAC;QACpH,kBAAkB,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;KACrC;mBA2GsB;QAAE,QAAQ,EAAE,iBAAiB,CAAA;KAAE;gBAclC,SAAS;6BAsCpB,SAAS,GAAG;QACjB,SAAS,EAAE,OAAO,CAAC;KACpB;CAxDF,CAAC;AAMF,KAAK,SAAS,GAAG;IACf,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3C,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const PageLoader: () => import("preact").JSX.Element;
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PageLoader/index.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU,oCAMtB,CAAC"}
@@ -1,11 +0,0 @@
1
- type Props = {
2
- placeholder?: string;
3
- invalid?: string;
4
- error?: string;
5
- value: string;
6
- onChange: (value: string) => void;
7
- changeDebounce?: number;
8
- };
9
- export declare const SearchBox: (props: Props) => import("preact").JSX.Element;
10
- export {};
11
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SearchBox/index.tsx"],"names":[],"mappings":"AAUA,KAAK,KAAK,GAAG;IACX,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,SAAS,UAAW,KAAK,iCAsCrC,CAAC"}
@@ -1,5 +0,0 @@
1
- export type SpinnerProps = {
2
- size?: "s" | "m";
3
- };
4
- export declare const Spinner: ({ size }: SpinnerProps) => import("preact").JSX.Element;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/index.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,OAAO,aAAc,YAAY,iCAE7C,CAAC"}
@@ -1,13 +0,0 @@
1
- import type { TestStatus } from "@allurereport/core-api";
2
- type Slice = {
3
- status: TestStatus;
4
- count: number;
5
- d: string;
6
- };
7
- type Props = {
8
- slices: Slice[];
9
- percentage: number;
10
- };
11
- export declare const SuccessRatePieChart: (props: Props) => import("preact").JSX.Element;
12
- export {};
13
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SuccessRatePieChart/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAIzD,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,UAAU,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAmBF,eAAO,MAAM,mBAAmB,UAAW,KAAK,iCAmB/C,CAAC"}
@@ -1,65 +0,0 @@
1
- import type { JSX } from "preact";
2
- export declare const allureIcons: {
3
- arrowsChevronDown: string;
4
- github: string;
5
- lineAlertsAlertCircle: string;
6
- lineAlertsNotificationBox: string;
7
- lineArrowsChevronDown: string;
8
- lineArrowsChevronDownDouble: string;
9
- lineArrowsChevronRight: string;
10
- lineArrowsChevronUp: string;
11
- lineArrowsChevronUpDouble: string;
12
- lineArrowsCornerDownRight: string;
13
- lineArrowsExpand3: string;
14
- lineArrowsRefreshCcw1: string;
15
- lineArrowsSortLineAsc: string;
16
- lineArrowsSortLineDesc: string;
17
- lineArrowsSwitchVertical1: string;
18
- lineChartsBarChartSquare: string;
19
- lineDevBug2: string;
20
- lineDevCodeSquare: string;
21
- lineDevDataflow3: string;
22
- lineFilesClipboardCheck: string;
23
- lineFilesFile2: string;
24
- lineFilesFileAttachment2: string;
25
- lineFilesFolder: string;
26
- lineGeneralCheck: string;
27
- lineGeneralChecklist3: string;
28
- lineGeneralCopy3: string;
29
- lineGeneralDownloadCloud: string;
30
- lineGeneralEqual: string;
31
- lineGeneralEye: string;
32
- lineGeneralHomeLine: string;
33
- lineGeneralLink1: string;
34
- lineGeneralLinkExternal: string;
35
- lineGeneralSearchMd: string;
36
- lineGeneralSettings1: string;
37
- lineGeneralXClose: string;
38
- lineGeneralZap: string;
39
- lineHelpersFlag: string;
40
- lineHelpersPlayCircle: string;
41
- lineIconBomb2: string;
42
- lineImagesImage: string;
43
- lineSecurityKey: string;
44
- lineShapesDotCircle: string;
45
- lineShapesMoon: string;
46
- lineShapesSun: string;
47
- lineTimeClockStopwatch: string;
48
- reportLogo: string;
49
- solidAlertCircle: string;
50
- solidCheckCircle: string;
51
- solidHelpCircle: string;
52
- solidMinusCircle: string;
53
- solidXCircle: string;
54
- spinner: string;
55
- view: string;
56
- viewOff: string;
57
- };
58
- export type SvgIconProps = Omit<JSX.HTMLAttributes<SVGElement>, "className" | "id" | "size" | "inline"> & {
59
- size?: "xs" | "s" | "m";
60
- className?: string;
61
- id: string;
62
- inline?: boolean;
63
- };
64
- export declare const SvgIcon: ({ id, size, inline, className }: SvgIconProps) => JSX.Element;
65
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SvgIcon/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAyDlC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuDvB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC,UAAU,CAAC,EAAE,WAAW,GAAG,IAAI,GAAG,MAAM,GAAG,QAAQ,CAAC,GAAG;IAQxG,IAAI,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,CAAC;IAIxB,SAAS,CAAC,EAAE,MAAM,CAAC;IASnB,EAAE,EAAE,MAAM,CAAC;IAIX,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAOF,eAAO,MAAM,OAAO,oCAAwD,YAAY,gBAMvF,CAAC"}
@@ -1,9 +0,0 @@
1
- type Props = {
2
- value: boolean;
3
- label: string;
4
- onChange: (value: boolean) => void;
5
- focusable?: boolean;
6
- };
7
- export declare const Toggle: (props: Props) => import("preact").JSX.Element;
8
- export {};
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Toggle/index.tsx"],"names":[],"mappings":"AAEA,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,MAAM,UAAW,KAAK,iCAoBlC,CAAC"}
@@ -1,14 +0,0 @@
1
- import type { FunctionalComponent, VNode } from "preact";
2
- interface TooltipWrapperProps {
3
- tooltipText?: string;
4
- tooltipTextAfterClick?: string;
5
- tooltipComponent?: FunctionalComponent | VNode;
6
- children: VNode;
7
- placement?: "top" | "bottom" | "left" | "right";
8
- triggerMode?: "hover" | "click";
9
- autoHideDelay?: number;
10
- isTriggerActive?: boolean;
11
- }
12
- export declare const TooltipWrapper: FunctionalComponent<TooltipWrapperProps>;
13
- export {};
14
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAKzD,UAAU,mBAAmB;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,gBAAgB,CAAC,EAAE,mBAAmB,GAAG,KAAK,CAAC;IAC/C,QAAQ,EAAE,KAAK,CAAC;IAChB,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IAChD,WAAW,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAChC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAUD,eAAO,MAAM,cAAc,EAAE,mBAAmB,CAAC,mBAAmB,CAmGnE,CAAC"}
@@ -1,25 +0,0 @@
1
- import type { AxisProps } from "@nivo/axes";
2
- import type { LegendProps } from "@nivo/legends";
3
- import type { LineSvgProps } from "@nivo/line";
4
- import type { FunctionalComponent } from "preact";
5
- import type { CSSProperties } from "preact/compat";
6
- export interface TrendChartDataItem {
7
- x: string | number | Date;
8
- y: number;
9
- }
10
- export interface TrendChartData {
11
- id: string;
12
- data: TrendChartDataItem[];
13
- }
14
- export interface TrendChartProps extends Partial<LineSvgProps> {
15
- data: TrendChartData[];
16
- rootArialLabel: string;
17
- width?: CSSProperties["width"];
18
- height?: CSSProperties["height"];
19
- }
20
- export declare const defaultTrendChartLegendConfig: LegendProps;
21
- export declare const defaultAxisBottomConfig: AxisProps;
22
- export declare const defaultAxisLeftConfig: AxisProps;
23
- export declare const defaultTrendChartConfig: Partial<LineSvgProps>;
24
- export declare const TrendChart: FunctionalComponent<TrendChartProps>;
25
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TrendChart/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD,MAAM,WAAW,kBAAkB;IACjC,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAC1B,CAAC,EAAE,MAAM,CAAC;CACX;AAGD,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,kBAAkB,EAAE,CAAC;CAC5B;AAED,MAAM,WAAW,eAAgB,SAAQ,OAAO,CAAC,YAAY,CAAC;IAC5D,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;CAClC;AAED,eAAO,MAAM,6BAA6B,EAAE,WAuB3C,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,SAIrC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,SAInC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,OAAO,CAAC,YAAY,CAUzD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAa3D,CAAC"}
@@ -1,28 +0,0 @@
1
- import type { FunctionalComponent, JSX } from "preact";
2
- export type TextProps = ({
3
- type?: "paragraph";
4
- size?: "s" | "m" | "l";
5
- } | {
6
- type: "ui";
7
- size: "s" | "m" | "l" | "xs";
8
- }) & {
9
- className?: string;
10
- bold?: boolean;
11
- tag?: keyof JSX.IntrinsicElements;
12
- } & Omit<JSX.HTMLAttributes, "type" | "size" | "className" | "bold" | "tag">;
13
- export declare const Text: FunctionalComponent<TextProps>;
14
- export type CodeProps = {
15
- type?: "paragraph" | "ui";
16
- size?: "s" | "m";
17
- className?: string;
18
- bold?: boolean;
19
- tag?: keyof JSX.IntrinsicElements;
20
- };
21
- export declare const Code: FunctionalComponent<CodeProps>;
22
- export type HeadingProps = {
23
- size?: "s" | "m" | "l";
24
- className?: string;
25
- tag?: keyof JSX.IntrinsicElements;
26
- } & Omit<JSX.HTMLAttributes, "size" | "className" | "tag">;
27
- export declare const Heading: FunctionalComponent<HeadingProps>;
28
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAEvD,MAAM,MAAM,SAAS,GAAG,CACpB;IACE,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;CACxB,GACD;IACE,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;CAC9B,CACJ,GAAG;IAIF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,iBAAiB,CAAC;CACnC,GAAG,IAAI,CAAC,GAAG,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,GAAG,KAAK,CAAC,CAAC;AAE7E,eAAO,MAAM,IAAI,EAAE,mBAAmB,CAAC,SAAS,CA4B/C,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAC1B,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC;IAIjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,iBAAiB,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,mBAAmB,CAAC,SAAS,CA2B/C,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IAIvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,iBAAiB,CAAC;CACnC,GAAG,IAAI,CAAC,GAAG,CAAC,cAAc,EAAE,MAAM,GAAG,WAAW,GAAG,KAAK,CAAC,CAAC;AAE3D,eAAO,MAAM,OAAO,EAAE,mBAAmB,CAAC,YAAY,CAarD,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const useDebouncedCallback: <T extends (...args: Parameters<T>) => ReturnType<T>>(cb: T, timeout?: number) => (...args: Parameters<T>) => void;
2
- //# sourceMappingURL=useDebouncedCallback.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useDebouncedCallback.d.ts","sourceRoot":"","sources":["../../src/hooks/useDebouncedCallback.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,oBAAoB,GAAI,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC,MAClF,CAAC,uDAaN,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,cAAc,yBAAyB,CAAC"}