@aveonline/ui-react 2.3.2 → 2.3.3
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 +12828 -13700
- package/package.json +24 -25
- 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.3",
|
|
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",
|
|
@@ -126,12 +108,11 @@
|
|
|
126
108
|
"react": "18.2.0",
|
|
127
109
|
"react-dom": "18.2.0"
|
|
128
110
|
},
|
|
129
|
-
"packageManager": "
|
|
111
|
+
"packageManager": "pnpm@8.6.9",
|
|
130
112
|
"engines": {
|
|
131
|
-
"node": ">=
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"npm": ">=8.0.0"
|
|
113
|
+
"node": ">=18",
|
|
114
|
+
"yarn": "please-use-pnpm",
|
|
115
|
+
"pnpm": ">=8.0.0"
|
|
135
116
|
},
|
|
136
117
|
"config": {
|
|
137
118
|
"commitizen": {
|
|
@@ -151,5 +132,23 @@
|
|
|
151
132
|
"hooks"
|
|
152
133
|
]
|
|
153
134
|
}
|
|
135
|
+
},
|
|
136
|
+
"scripts": {
|
|
137
|
+
"dev": "storybook dev -p 6006",
|
|
138
|
+
"build": "vite build && npm run build:tailwind && npm run cp:tailwind-config && npm run cp:tokens",
|
|
139
|
+
"build:storybook": "storybook build",
|
|
140
|
+
"prettier": "prettier --check .",
|
|
141
|
+
"prettier:fix": "prettier --write .",
|
|
142
|
+
"lint": "eslint --cache \"**/*.{ts,tsx}*\"",
|
|
143
|
+
"lint:fix": "eslint --fix \"**/*.{ts,tsx}*\" && npm run prettier:fix",
|
|
144
|
+
"build:tailwind": "npx tailwindcss -o ./dist/tailwind.css --minify",
|
|
145
|
+
"clean": "rm -rf dist",
|
|
146
|
+
"cp:tailwind-config": "cp tailwind.config.js dist/",
|
|
147
|
+
"cp:tokens": "cp ./src/design-tokens/styles/tokens.css dist/",
|
|
148
|
+
"test": "vitest",
|
|
149
|
+
"coverage": "vitest run --coverage",
|
|
150
|
+
"test:ui": "vitest --ui",
|
|
151
|
+
"changelog": "conventional-changelog -i CHANGELOG-current.md -s -r 0",
|
|
152
|
+
"commit": "git-cz"
|
|
154
153
|
}
|
|
155
|
-
}
|
|
154
|
+
}
|
|
@@ -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 {};
|