@waveso/ui 0.15.0 → 0.15.1
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/README.md +12 -10
- package/dist/accordion.d.ts +4 -20
- package/dist/action-bar.d.ts +1 -10
- package/dist/action-bar.js +2 -1
- package/dist/alert-dialog.d.ts +12 -52
- package/dist/alert.d.ts +5 -21
- package/dist/animate.d.ts +5 -48
- package/dist/animate.js +6 -4
- package/dist/aspect-ratio.d.ts +3 -8
- package/dist/autocomplete.d.ts +21 -88
- package/dist/avatar.d.ts +6 -27
- package/dist/badge.d.ts +3 -11
- package/dist/breadcrumb.d.ts +7 -31
- package/dist/button-group.d.ts +4 -19
- package/dist/button.d.ts +4 -12
- package/dist/card.d.ts +7 -31
- package/dist/checkbox.d.ts +1 -6
- package/dist/collapsible.d.ts +3 -12
- package/dist/combobox.d.ts +18 -81
- package/dist/context-menu.d.ts +15 -67
- package/dist/count.d.ts +1 -15
- package/dist/count.js +3 -2
- package/dist/dialog.d.ts +10 -41
- package/dist/direction.d.ts +0 -1
- package/dist/drawer.d.ts +11 -44
- package/dist/encrypted-text.d.ts +1 -14
- package/dist/encrypted-text.js +2 -1
- package/dist/field.d.ts +7 -28
- package/dist/film-grain-shader.d.ts +3 -4
- package/dist/film-grain-webgl.d.ts +2 -9
- package/dist/film-grain-webgl.js +4 -1
- package/dist/film-grain.d.ts +1 -11
- package/dist/form.d.ts +11 -30
- package/dist/gradient-reveal-text.d.ts +1 -14
- package/dist/hooks/use-mobile.d.ts +2 -3
- package/dist/infinite-scroll.d.ts +1 -16
- package/dist/input-group.d.ts +11 -37
- package/dist/input-otp.d.ts +4 -20
- package/dist/input.d.ts +3 -11
- package/dist/item.d.ts +14 -51
- package/dist/kbd.d.ts +2 -10
- package/dist/label.d.ts +1 -6
- package/dist/lib/focus.d.ts +3 -5
- package/dist/lib/internal-icons.d.ts +19 -22
- package/dist/lib/utils.d.ts +3 -5
- package/dist/lib/utils.js +2 -1
- package/dist/masonry.d.ts +2 -16
- package/dist/masonry.js +1 -1
- package/dist/menu.d.ts +15 -64
- package/dist/menubar.d.ts +16 -55
- package/dist/pagination.d.ts +9 -33
- package/dist/popover.d.ts +9 -43
- package/dist/preview-card.d.ts +5 -25
- package/dist/progress.d.ts +5 -24
- package/dist/radio-group.d.ts +2 -9
- package/dist/radio.d.ts +2 -10
- package/dist/scroll-area.d.ts +2 -12
- package/dist/select.d.ts +15 -64
- package/dist/separator.d.ts +1 -7
- package/dist/sidebar.d.ts +29 -126
- package/dist/sidebar.js +2 -2
- package/dist/skeleton.d.ts +1 -6
- package/dist/slider.d.ts +1 -14
- package/dist/slider.js +2 -2
- package/dist/spinner.d.ts +1 -6
- package/dist/switch.d.ts +2 -9
- package/dist/table.d.ts +8 -34
- package/dist/tabs.d.ts +5 -22
- package/dist/textarea.d.ts +3 -12
- package/dist/toast.d.ts +13 -39
- package/dist/toggle-group.d.ts +3 -19
- package/dist/toggle-group.js +13 -7
- package/dist/toggle.d.ts +3 -11
- package/dist/tooltip.d.ts +4 -24
- package/dist/typewriter.d.ts +1 -14
- package/package.json +52 -51
package/dist/tooltip.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
1
|
import * as React from "react";
|
|
3
2
|
import { Tooltip as Tooltip$1 } from "@base-ui/react/tooltip";
|
|
4
|
-
|
|
5
3
|
//#region src/tooltip.d.ts
|
|
6
4
|
type TooltipProviderProps = React.ComponentProps<typeof Tooltip$1.Provider>;
|
|
7
5
|
type TooltipProps = React.ComponentProps<typeof Tooltip$1.Root>;
|
|
@@ -19,33 +17,15 @@ type TooltipContentProps = React.ComponentProps<typeof Tooltip$1.Popup> & {
|
|
|
19
17
|
* do NOT force `delay={0}`, which makes grouped tooltips fire on
|
|
20
18
|
* incidental mouse-over. Pass `delay` to override per provider.
|
|
21
19
|
*/
|
|
22
|
-
declare function TooltipProvider({
|
|
23
|
-
...props
|
|
24
|
-
}: TooltipProviderProps): _$react_jsx_runtime0.JSX.Element;
|
|
20
|
+
declare function TooltipProvider({ ...props }: TooltipProviderProps): React.JSX.Element;
|
|
25
21
|
/**
|
|
26
22
|
* Defaults to a non-hoverable popup (`disableHoverablePopup={true}`)
|
|
27
23
|
* because Wave tooltips are non-interactive labels; a hoverable popup is
|
|
28
24
|
* only needed when the tooltip contains links/controls. Pass
|
|
29
25
|
* `disableHoverablePopup={false}` for interactive tooltip content.
|
|
30
26
|
*/
|
|
31
|
-
declare function Tooltip({
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}: TooltipProps): _$react_jsx_runtime0.JSX.Element;
|
|
35
|
-
declare function TooltipTrigger({
|
|
36
|
-
children,
|
|
37
|
-
...props
|
|
38
|
-
}: TooltipTriggerProps): _$react_jsx_runtime0.JSX.Element;
|
|
39
|
-
declare function TooltipContent({
|
|
40
|
-
className,
|
|
41
|
-
positionerClassName,
|
|
42
|
-
side,
|
|
43
|
-
sideOffset,
|
|
44
|
-
align,
|
|
45
|
-
alignOffset,
|
|
46
|
-
anchor,
|
|
47
|
-
children,
|
|
48
|
-
...props
|
|
49
|
-
}: TooltipContentProps): _$react_jsx_runtime0.JSX.Element;
|
|
27
|
+
declare function Tooltip({ disableHoverablePopup, ...props }: TooltipProps): React.JSX.Element;
|
|
28
|
+
declare function TooltipTrigger({ children, ...props }: TooltipTriggerProps): React.JSX.Element;
|
|
29
|
+
declare function TooltipContent({ className, positionerClassName, side, sideOffset, align, alignOffset, anchor, children, ...props }: TooltipContentProps): React.JSX.Element;
|
|
50
30
|
//#endregion
|
|
51
31
|
export { Tooltip, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, type TooltipTriggerProps };
|
package/dist/typewriter.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
1
|
import { ReactElement } from "react";
|
|
3
|
-
|
|
4
2
|
//#region src/typewriter.d.ts
|
|
5
3
|
interface TextSegment {
|
|
6
4
|
text: string;
|
|
@@ -63,17 +61,6 @@ interface TypewriterProps {
|
|
|
63
61
|
* </Typewriter>
|
|
64
62
|
* ```
|
|
65
63
|
*/
|
|
66
|
-
declare function Typewriter({
|
|
67
|
-
text,
|
|
68
|
-
children,
|
|
69
|
-
speed,
|
|
70
|
-
delay,
|
|
71
|
-
cursor,
|
|
72
|
-
cursorChar,
|
|
73
|
-
onView,
|
|
74
|
-
once,
|
|
75
|
-
variant,
|
|
76
|
-
smoothDuration
|
|
77
|
-
}: TypewriterProps): _$react_jsx_runtime0.JSX.Element;
|
|
64
|
+
declare function Typewriter({ text, children, speed, delay, cursor, cursorChar, onView, once, variant, smoothDuration }: TypewriterProps): import("react").JSX.Element;
|
|
78
65
|
//#endregion
|
|
79
66
|
export { type TextSegment, Typewriter, type TypewriterProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@waveso/ui",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"description": "Wave UI component library built on Base UI and Tailwind CSS",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -42,31 +42,12 @@
|
|
|
42
42
|
"dist",
|
|
43
43
|
"package.json"
|
|
44
44
|
],
|
|
45
|
-
"scripts": {
|
|
46
|
-
"build": "tsdown",
|
|
47
|
-
"dev": "tsdown --watch",
|
|
48
|
-
"typecheck": "tsc --noEmit",
|
|
49
|
-
"lint": "biome check",
|
|
50
|
-
"lint:fix": "biome check --write",
|
|
51
|
-
"format": "biome format --write",
|
|
52
|
-
"test": "vitest run --passWithNoTests",
|
|
53
|
-
"test:watch": "vitest",
|
|
54
|
-
"check:package": "publint && attw --pack . --ignore-rules no-resolution",
|
|
55
|
-
"clean": "rm -rf dist",
|
|
56
|
-
"storybook": "storybook dev -p 6006",
|
|
57
|
-
"build-storybook": "storybook build",
|
|
58
|
-
"chromatic": "chromatic --exit-zero-on-changes",
|
|
59
|
-
"prepublishOnly": "npm run build",
|
|
60
|
-
"changeset": "changeset",
|
|
61
|
-
"version": "changeset version",
|
|
62
|
-
"release": "npm run build && changeset publish"
|
|
63
|
-
},
|
|
64
45
|
"peerDependencies": {
|
|
65
46
|
"@base-ui/react": "^1.6.0",
|
|
66
47
|
"class-variance-authority": "^0.7.0",
|
|
67
48
|
"clsx": "^2.0.0",
|
|
68
49
|
"input-otp": "^1.4.0",
|
|
69
|
-
"motion": "^12.0.0",
|
|
50
|
+
"motion": "^12.0.0 || ^13.0.0",
|
|
70
51
|
"react": "^19.0.0",
|
|
71
52
|
"react-dom": "^19.0.0",
|
|
72
53
|
"react-hook-form": "^7.0.0",
|
|
@@ -85,36 +66,56 @@
|
|
|
85
66
|
}
|
|
86
67
|
},
|
|
87
68
|
"devDependencies": {
|
|
88
|
-
"@arethetypeswrong/cli": "^0.18.
|
|
89
|
-
"@base-ui/react": "^1.
|
|
90
|
-
"@
|
|
91
|
-
"@
|
|
92
|
-
"@storybook/addon-
|
|
93
|
-
"@storybook/
|
|
94
|
-
"@
|
|
95
|
-
"@
|
|
96
|
-
"@testing-library/dom": "^
|
|
97
|
-
"@testing-library/
|
|
98
|
-
"@testing-library/
|
|
99
|
-
"@
|
|
100
|
-
"@types/react": "^19",
|
|
101
|
-
"
|
|
102
|
-
"chromatic": "^18.0.1",
|
|
69
|
+
"@arethetypeswrong/cli": "^0.18.5",
|
|
70
|
+
"@base-ui/react": "^1.8.0",
|
|
71
|
+
"@changesets/cli": "^3.0.3",
|
|
72
|
+
"@storybook/addon-a11y": "~10.6.0",
|
|
73
|
+
"@storybook/addon-docs": "~10.6.0",
|
|
74
|
+
"@storybook/react-vite": "~10.6.0",
|
|
75
|
+
"@tailwindcss/vite": "^4.3.3",
|
|
76
|
+
"@testing-library/dom": "^10.4.2",
|
|
77
|
+
"@testing-library/jest-dom": "^7.0.1",
|
|
78
|
+
"@testing-library/react": "^16.3.3",
|
|
79
|
+
"@testing-library/user-event": "^14.6.7",
|
|
80
|
+
"@types/react": "^19.3.0",
|
|
81
|
+
"@types/react-dom": "^19.3.0",
|
|
82
|
+
"chromatic": "^18.9.5",
|
|
103
83
|
"class-variance-authority": "^0.7.1",
|
|
104
84
|
"clsx": "^2.1.1",
|
|
105
|
-
"input-otp": "^1.
|
|
106
|
-
"jsdom": "^
|
|
107
|
-
"motion": "^
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"react
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
85
|
+
"input-otp": "^1.5.0",
|
|
86
|
+
"jsdom": "^30.1.1",
|
|
87
|
+
"motion": "^13.4.4",
|
|
88
|
+
"oxfmt": "0.71.0",
|
|
89
|
+
"oxlint": "^1.86.0",
|
|
90
|
+
"publint": "^0.3.24",
|
|
91
|
+
"react": "^19.3.0",
|
|
92
|
+
"react-dom": "^19.3.0",
|
|
93
|
+
"react-hook-form": "^7.89.0",
|
|
94
|
+
"storybook": "~10.6.0",
|
|
95
|
+
"tailwind-merge": "^3.7.0",
|
|
96
|
+
"tailwindcss": "^4.3.3",
|
|
97
|
+
"tsdown": "0.23.0",
|
|
98
|
+
"typescript": "^7.0.2",
|
|
99
|
+
"vite": "^8.3.1",
|
|
100
|
+
"vitest": "^5.0.2"
|
|
101
|
+
},
|
|
102
|
+
"scripts": {
|
|
103
|
+
"build": "tsdown",
|
|
104
|
+
"dev": "tsdown --watch",
|
|
105
|
+
"typecheck": "tsc --noEmit",
|
|
106
|
+
"lint": "oxlint",
|
|
107
|
+
"lint:fix": "oxlint --fix",
|
|
108
|
+
"format": "oxfmt --write '**/*.ts' '**/*.tsx'",
|
|
109
|
+
"format:check": "oxfmt --check '**/*.ts' '**/*.tsx'",
|
|
110
|
+
"test": "vitest run --passWithNoTests",
|
|
111
|
+
"test:watch": "vitest",
|
|
112
|
+
"check:package": "publint && attw --pack . --ignore-rules no-resolution",
|
|
113
|
+
"clean": "rm -rf dist",
|
|
114
|
+
"storybook": "storybook dev -p 6006",
|
|
115
|
+
"build-storybook": "storybook build",
|
|
116
|
+
"chromatic": "chromatic --exit-zero-on-changes",
|
|
117
|
+
"changeset": "changeset",
|
|
118
|
+
"version": "changeset version",
|
|
119
|
+
"release": "pnpm build && changeset publish"
|
|
119
120
|
}
|
|
120
|
-
}
|
|
121
|
+
}
|