@allurereport/web-components 3.0.0-beta.8 → 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 (37) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.d.ts +625 -32
  3. package/dist/index.js +16 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/mixins.scss +8 -8
  6. package/package.json +65 -24
  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 -60
  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/Typography/index.d.ts +0 -28
  34. package/dist/components/Typography/index.d.ts.map +0 -1
  35. package/dist/hooks/useDebouncedCallback.d.ts +0 -2
  36. package/dist/hooks/useDebouncedCallback.d.ts.map +0 -1
  37. 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.8",
3
+ "version": "3.0.0",
4
4
  "description": "Collection of Preact components used across the web Allure reports",
5
5
  "keywords": [
6
6
  "allure",
@@ -33,33 +33,66 @@
33
33
  ],
34
34
  "scripts": {
35
35
  "build": "rimraf ./dist && rollup -c",
36
+ "build:watch": "rollup -c -w",
36
37
  "build:ds": "storybook build",
37
38
  "dev:ds": "storybook dev -p 6006",
38
39
  "lint": "eslint --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
39
40
  "test": "vitest run"
40
41
  },
41
42
  "dependencies": {
42
- "@allurereport/web-commons": "3.0.0-beta.8",
43
- "@floating-ui/dom": "^1.6.13",
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",
44
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",
45
68
  "d3-shape": "^3.2.0",
69
+ "d3-tip": "^0.9.1",
70
+ "d3-transition": "^3.0.1",
71
+ "lodash": "^4.17.21",
46
72
  "preact": "^10.24.0",
47
- "prismjs": "^1.29.0",
48
- "reset.css": "^2.0.2"
73
+ "prismjs": "^1.30.0",
74
+ "react": "npm:@preact/compat@*",
75
+ "react-dom": "npm:@preact/compat@*",
76
+ "reset.css": "^2.0.2",
77
+ "sortablejs": "^1.15.6",
78
+ "use-debounce": "^10.0.6"
49
79
  },
50
80
  "devDependencies": {
51
- "@allurereport/core-api": "3.0.0-beta.8",
52
- "@babel/core": "^7.25.2",
53
- "@babel/plugin-transform-react-jsx": "^7.25.2",
54
- "@babel/preset-env": "^7.25.4",
55
- "@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",
56
86
  "@chromatic-com/storybook": "^3.2.3",
57
87
  "@eslint/js": "^9.10.0",
88
+ "@nivo/axes": "^0.99.0",
89
+ "@nivo/legends": "^0.99.0",
90
+ "@nivo/scales": "^0.99.0",
58
91
  "@preact/preset-vite": "^2.9.4",
59
- "@preact/signals": "^1.3.0",
60
92
  "@rollup/plugin-alias": "^5.1.1",
61
93
  "@rollup/plugin-babel": "^6.0.4",
62
94
  "@rollup/plugin-commonjs": "^28.0.2",
95
+ "@rollup/plugin-json": "^6.1.0",
63
96
  "@rollup/plugin-node-resolve": "^16.0.0",
64
97
  "@rollup/plugin-terser": "^0.4.4",
65
98
  "@rollup/plugin-typescript": "^12.1.2",
@@ -80,23 +113,33 @@
80
113
  "@testing-library/jest-dom": "^6.6.3",
81
114
  "@testing-library/preact": "^3.2.4",
82
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",
83
123
  "@types/d3-shape": "^3.1.6",
124
+ "@types/d3-tip": "^0",
125
+ "@types/d3-transition": "^3",
84
126
  "@types/eslint": "^8.56.11",
127
+ "@types/lodash": "^4",
85
128
  "@types/md5": "^2.3.5",
86
129
  "@types/node": "^20.17.9",
87
- "@types/prismjs": "^1",
130
+ "@types/prismjs": "^1.26.5",
131
+ "@types/sortablejs": "^1.15.8",
88
132
  "@typescript-eslint/eslint-plugin": "^8.0.0",
89
133
  "@typescript-eslint/parser": "^8.0.0",
90
- "@vitest/runner": "^2.1.8",
91
- "@vitest/snapshot": "^2.1.8",
92
- "allure-js-commons": "^3.0.9",
93
- "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",
94
138
  "autoprefixer": "^10.4.20",
95
139
  "babel-loader": "^9.2.1",
96
140
  "babel-plugin-prismjs": "^2.1.0",
97
141
  "clsx": "^2.1.1",
98
142
  "css-loader": "^7.1.2",
99
- "d3-shape": "^3.2.0",
100
143
  "eslint": "^8.57.0",
101
144
  "eslint-config-preact": "^1.5.0",
102
145
  "eslint-config-prettier": "^9.1.0",
@@ -116,25 +159,23 @@
116
159
  "jsdom": "^26.0.0",
117
160
  "mini-css-extract-plugin": "^2.9.1",
118
161
  "npm-run-all2": "^7.0.1",
119
- "postcss": "^8.4.49",
162
+ "postcss": "^8.5.6",
120
163
  "postcss-import": "^16.1.0",
121
- "preact": "^10.24.0",
122
- "prismjs": "^1.29.0",
123
164
  "rimraf": "^6.0.1",
124
- "rollup": "^4.30.1",
165
+ "rollup": "^4.43.0",
125
166
  "rollup-plugin-copy": "^3.5.0",
126
- "rollup-plugin-dts": "^6.1.1",
167
+ "rollup-plugin-dts": "^6.2.1",
127
168
  "rollup-plugin-postcss": "^4.0.2",
128
169
  "rollup-plugin-svg-sprites": "^1.2.5",
129
170
  "sass": "^1.83.1",
130
171
  "sass-loader": "^16.0.4",
131
- "storybook": "^8.4.7",
172
+ "storybook": "^8.6.15",
132
173
  "style-loader": "^4.0.0",
133
174
  "svg-sprite-loader": "^6.0.11",
134
175
  "ts-node": "^10.9.2",
135
176
  "tslib": "^2.7.0",
136
177
  "typescript": "^5.6.3",
137
178
  "typescript-eslint": "^8.6.0",
138
- "vitest": "^2.1.8"
179
+ "vitest": "^2.1.9"
139
180
  }
140
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,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AK,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
- };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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,60 +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
- lineDevBug2: string;
19
- lineDevCodeSquare: string;
20
- lineFilesFileAttachment2: string;
21
- lineGeneralCheck: string;
22
- lineGeneralChecklist3: string;
23
- lineGeneralCopy3: string;
24
- lineGeneralDownloadCloud: string;
25
- lineGeneralEqual: string;
26
- lineGeneralEye: string;
27
- lineGeneralHomeLine: string;
28
- lineGeneralLink1: string;
29
- lineGeneralLinkExternal: string;
30
- lineGeneralSearchMd: string;
31
- lineGeneralSettings1: string;
32
- lineGeneralXClose: string;
33
- lineGeneralZap: string;
34
- lineHelpersFlag: string;
35
- lineHelpersPlayCircle: string;
36
- lineIconBomb2: string;
37
- lineImagesImage: string;
38
- lineSecurityKey: string;
39
- lineShapesDotCircle: string;
40
- lineShapesMoon: string;
41
- lineShapesSun: string;
42
- lineTimeClockStopwatch: string;
43
- reportLogo: string;
44
- solidAlertCircle: string;
45
- solidCheckCircle: string;
46
- solidHelpCircle: string;
47
- solidMinusCircle: string;
48
- solidXCircle: string;
49
- spinner: string;
50
- view: string;
51
- viewOff: string;
52
- };
53
- export type SvgIconProps = Omit<JSX.HTMLAttributes<SVGElement>, "className" | "id" | "size" | "inline"> & {
54
- size?: "xs" | "s" | "m";
55
- className?: string;
56
- id: string;
57
- inline?: boolean;
58
- };
59
- export declare const SvgIcon: ({ id, size, inline, className }: SvgIconProps) => JSX.Element;
60
- //# 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;AAoDlC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDvB,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,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"}