@aveonline/ui-react 2.3.2 → 2.3.4
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/dist/ui/atoms/Tooltip/TooltipAnchor.d.ts +1 -1
- package/dist/ui/atoms/Tooltip/TooltipFloat.d.ts +1 -1
- package/dist/ui/molecules/Dropdowns/DropdownFilter/Command.d.ts +1 -1
- package/dist/ui/molecules/TextArea/TextArea.d.ts +1 -1
- package/dist/ui-react.mjs +12830 -13700
- package/package.json +37 -37
- package/dist/ui/atoms/Tooltip/useTooltip.d.ts +0 -52
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@aveonline/ui-react",
|
|
3
3
|
"description": "Home base for Aveonline design system - ecosystem react",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "2.3.
|
|
5
|
+
"version": "2.3.4",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|
|
@@ -34,24 +34,6 @@
|
|
|
34
34
|
"react-kit"
|
|
35
35
|
],
|
|
36
36
|
"license": "MIT",
|
|
37
|
-
"scripts": {
|
|
38
|
-
"dev": "storybook dev -p 6006",
|
|
39
|
-
"build": "vite build && npm run build:tailwind && npm run cp:tailwind-config && npm run cp:tokens",
|
|
40
|
-
"build:storybook": "storybook build",
|
|
41
|
-
"prettier": "prettier --check .",
|
|
42
|
-
"prettier:fix": "prettier --write .",
|
|
43
|
-
"lint": "eslint --cache \"**/*.{ts,tsx}*\"",
|
|
44
|
-
"lint:fix": "eslint --fix \"**/*.{ts,tsx}*\" && npm run prettier:fix",
|
|
45
|
-
"build:tailwind": "npx tailwindcss -o ./dist/tailwind.css --minify",
|
|
46
|
-
"clean": "rm -rf dist",
|
|
47
|
-
"cp:tailwind-config": "cp tailwind.config.js dist/",
|
|
48
|
-
"cp:tokens": "cp ./src/design-tokens/styles/tokens.css dist/",
|
|
49
|
-
"test": "vitest",
|
|
50
|
-
"coverage": "vitest run --coverage",
|
|
51
|
-
"test:ui": "vitest --ui",
|
|
52
|
-
"changelog": "conventional-changelog -i CHANGELOG-current.md -s -r 0",
|
|
53
|
-
"commit": "git-cz"
|
|
54
|
-
},
|
|
55
37
|
"dependencies": {
|
|
56
38
|
"@floating-ui/react": "0.24.3",
|
|
57
39
|
"@headlessui/react": "1.7.4",
|
|
@@ -69,16 +51,17 @@
|
|
|
69
51
|
},
|
|
70
52
|
"devDependencies": {
|
|
71
53
|
"@digitalroute/cz-conventional-changelog-for-jira": "8.0.1",
|
|
72
|
-
"@storybook/addon-a11y": "7.
|
|
73
|
-
"@storybook/addon-
|
|
74
|
-
"@storybook/addon-
|
|
75
|
-
"@storybook/addon-
|
|
76
|
-
"@storybook/addon-
|
|
77
|
-
"@storybook/
|
|
78
|
-
"@storybook/
|
|
79
|
-
"@storybook/
|
|
80
|
-
"@storybook/react
|
|
81
|
-
"@storybook/
|
|
54
|
+
"@storybook/addon-a11y": "7.4.2",
|
|
55
|
+
"@storybook/addon-docs": "7.4.2",
|
|
56
|
+
"@storybook/addon-essentials": "7.4.2",
|
|
57
|
+
"@storybook/addon-interactions": "7.4.2",
|
|
58
|
+
"@storybook/addon-links": "7.4.2",
|
|
59
|
+
"@storybook/addon-mdx-gfm": "^7.4.2",
|
|
60
|
+
"@storybook/addons": "7.4.2",
|
|
61
|
+
"@storybook/blocks": "7.4.2",
|
|
62
|
+
"@storybook/react": "7.4.2",
|
|
63
|
+
"@storybook/react-vite": "7.4.2",
|
|
64
|
+
"@storybook/theming": "7.4.2",
|
|
82
65
|
"@tailwindcss/forms": "0.5.3",
|
|
83
66
|
"@testing-library/jest-dom": "5.16.5",
|
|
84
67
|
"@testing-library/react": "13.4.0",
|
|
@@ -102,7 +85,7 @@
|
|
|
102
85
|
"eslint-plugin-no-only-tests": "3.1.0",
|
|
103
86
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
104
87
|
"eslint-plugin-react-refresh": "0.3.5",
|
|
105
|
-
"eslint-plugin-storybook": "0.6.
|
|
88
|
+
"eslint-plugin-storybook": "0.6.13",
|
|
106
89
|
"jsdom": "20.0.2",
|
|
107
90
|
"postcss": "8.3.11",
|
|
108
91
|
"postcss-import": "15.0.0",
|
|
@@ -111,7 +94,7 @@
|
|
|
111
94
|
"react": "18.2.0",
|
|
112
95
|
"react-dom": "18.2.0",
|
|
113
96
|
"sd-tailwindcss-transformer": "1.2.0",
|
|
114
|
-
"storybook": "7.
|
|
97
|
+
"storybook": "7.4.2",
|
|
115
98
|
"style-dictionary": "3.7.1",
|
|
116
99
|
"tailwindcss": "3.3.2",
|
|
117
100
|
"ts-dedent": "2.2.0",
|
|
@@ -126,12 +109,11 @@
|
|
|
126
109
|
"react": "18.2.0",
|
|
127
110
|
"react-dom": "18.2.0"
|
|
128
111
|
},
|
|
129
|
-
"packageManager": "
|
|
112
|
+
"packageManager": "pnpm@8.6.9",
|
|
130
113
|
"engines": {
|
|
131
|
-
"node": ">=
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"npm": ">=8.0.0"
|
|
114
|
+
"node": ">=18",
|
|
115
|
+
"yarn": "please-use-pnpm",
|
|
116
|
+
"pnpm": ">=8.0.0"
|
|
135
117
|
},
|
|
136
118
|
"config": {
|
|
137
119
|
"commitizen": {
|
|
@@ -151,5 +133,23 @@
|
|
|
151
133
|
"hooks"
|
|
152
134
|
]
|
|
153
135
|
}
|
|
136
|
+
},
|
|
137
|
+
"scripts": {
|
|
138
|
+
"dev": "storybook dev -p 6006",
|
|
139
|
+
"build": "vite build && npm run build:tailwind && npm run cp:tailwind-config && npm run cp:tokens",
|
|
140
|
+
"build:storybook": "storybook build",
|
|
141
|
+
"prettier": "prettier --check .",
|
|
142
|
+
"prettier:fix": "prettier --write .",
|
|
143
|
+
"lint": "eslint --cache \"**/*.{ts,tsx}*\"",
|
|
144
|
+
"lint:fix": "eslint --fix \"**/*.{ts,tsx}*\" && npm run prettier:fix",
|
|
145
|
+
"build:tailwind": "npx tailwindcss -o ./dist/tailwind.css --minify",
|
|
146
|
+
"clean": "rm -rf dist",
|
|
147
|
+
"cp:tailwind-config": "cp tailwind.config.js dist/",
|
|
148
|
+
"cp:tokens": "cp ./src/design-tokens/styles/tokens.css dist/",
|
|
149
|
+
"test": "vitest",
|
|
150
|
+
"coverage": "vitest run --coverage",
|
|
151
|
+
"test:ui": "vitest --ui",
|
|
152
|
+
"changelog": "conventional-changelog -i CHANGELOG-current.md -s -r 0",
|
|
153
|
+
"commit": "git-cz"
|
|
154
154
|
}
|
|
155
|
-
}
|
|
155
|
+
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { type Placement } from '@floating-ui/react';
|
|
3
|
-
declare type Props = {
|
|
4
|
-
initialOpen?: boolean;
|
|
5
|
-
placement?: Placement;
|
|
6
|
-
id?: string;
|
|
7
|
-
};
|
|
8
|
-
export declare function useTooltip(props: Props): {
|
|
9
|
-
placement: Placement;
|
|
10
|
-
strategy: import("@floating-ui/react").Strategy;
|
|
11
|
-
middlewareData: import("@floating-ui/react").MiddlewareData;
|
|
12
|
-
x: number;
|
|
13
|
-
y: number;
|
|
14
|
-
isPositioned: boolean;
|
|
15
|
-
update: () => void;
|
|
16
|
-
floatingStyles: import("react").CSSProperties;
|
|
17
|
-
refs: {
|
|
18
|
-
reference: import("react").MutableRefObject<import("@floating-ui/react-dom").ReferenceType | null>;
|
|
19
|
-
floating: import("react").MutableRefObject<HTMLElement | null>;
|
|
20
|
-
setReference: (node: import("@floating-ui/react-dom").ReferenceType | null) => void;
|
|
21
|
-
setFloating: (node: HTMLElement | null) => void;
|
|
22
|
-
} & import("@floating-ui/react").ExtendedRefs<import("@floating-ui/react").ReferenceType>;
|
|
23
|
-
elements: {
|
|
24
|
-
reference: import("@floating-ui/react-dom").ReferenceType | null;
|
|
25
|
-
floating: HTMLElement | null;
|
|
26
|
-
} & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
27
|
-
context: {
|
|
28
|
-
placement: Placement;
|
|
29
|
-
strategy: import("@floating-ui/react").Strategy;
|
|
30
|
-
x: number;
|
|
31
|
-
y: number;
|
|
32
|
-
middlewareData: import("@floating-ui/react").MiddlewareData;
|
|
33
|
-
isPositioned: boolean;
|
|
34
|
-
update: () => void;
|
|
35
|
-
floatingStyles: import("react").CSSProperties;
|
|
36
|
-
open: boolean;
|
|
37
|
-
onOpenChange: (open: boolean, event?: Event | undefined) => void;
|
|
38
|
-
events: import("@floating-ui/react").FloatingEvents;
|
|
39
|
-
dataRef: import("react").MutableRefObject<import("@floating-ui/react").ContextData>;
|
|
40
|
-
nodeId: string | undefined;
|
|
41
|
-
floatingId: string;
|
|
42
|
-
refs: import("@floating-ui/react").ExtendedRefs<import("@floating-ui/react").ReferenceType>;
|
|
43
|
-
elements: import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
44
|
-
};
|
|
45
|
-
getReferenceProps: (userProps?: import("react").HTMLProps<Element> | undefined) => Record<string, unknown>;
|
|
46
|
-
getFloatingProps: (userProps?: import("react").HTMLProps<HTMLElement> | undefined) => Record<string, unknown>;
|
|
47
|
-
getItemProps: (userProps?: import("react").HTMLProps<HTMLElement> | undefined) => Record<string, unknown>;
|
|
48
|
-
open: boolean;
|
|
49
|
-
setOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
50
|
-
arrowRef: import("react").MutableRefObject<null>;
|
|
51
|
-
};
|
|
52
|
-
export {};
|