@waveso/ui 0.9.0 → 0.10.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 (116) hide show
  1. package/dist/accordion.d.ts +2 -2
  2. package/dist/accordion.js +0 -1
  3. package/dist/action-bar.d.ts +16 -2
  4. package/dist/action-bar.js +12 -5
  5. package/dist/alert-dialog.d.ts +2 -2
  6. package/dist/alert-dialog.js +0 -1
  7. package/dist/alert.d.ts +2 -2
  8. package/dist/alert.js +0 -1
  9. package/dist/animate.d.ts +1 -1
  10. package/dist/animate.js +1 -1
  11. package/dist/aspect-ratio.d.ts +1 -1
  12. package/dist/aspect-ratio.js +0 -1
  13. package/dist/autocomplete.d.ts +2 -2
  14. package/dist/autocomplete.js +0 -1
  15. package/dist/avatar.d.ts +2 -2
  16. package/dist/avatar.js +0 -1
  17. package/dist/badge.d.ts +2 -2
  18. package/dist/breadcrumb.d.ts +2 -2
  19. package/dist/breadcrumb.js +0 -1
  20. package/dist/button-group.d.ts +2 -2
  21. package/dist/button-group.js +0 -1
  22. package/dist/button.d.ts +4 -4
  23. package/dist/button.js +0 -1
  24. package/dist/card.d.ts +2 -2
  25. package/dist/card.js +0 -1
  26. package/dist/checkbox.d.ts +2 -2
  27. package/dist/checkbox.js +0 -1
  28. package/dist/collapsible.d.ts +2 -2
  29. package/dist/collapsible.js +0 -1
  30. package/dist/combobox.d.ts +2 -2
  31. package/dist/combobox.js +1 -1
  32. package/dist/context-menu.d.ts +2 -2
  33. package/dist/context-menu.js +0 -1
  34. package/dist/count.d.ts +1 -1
  35. package/dist/count.js +2 -2
  36. package/dist/dialog.d.ts +2 -2
  37. package/dist/dialog.js +0 -1
  38. package/dist/direction.d.ts +3 -3
  39. package/dist/drawer.d.ts +2 -2
  40. package/dist/drawer.js +0 -1
  41. package/dist/encrypted-text.d.ts +2 -2
  42. package/dist/encrypted-text.js +1 -1
  43. package/dist/field.d.ts +2 -2
  44. package/dist/field.js +0 -1
  45. package/dist/film-grain.d.ts +1 -1
  46. package/dist/film-grain.js +0 -1
  47. package/dist/form.d.ts +1 -1
  48. package/dist/form.js +1 -1
  49. package/dist/gradient-reveal-text.js +2 -2
  50. package/dist/infinite-scroll.d.ts +2 -2
  51. package/dist/infinite-scroll.js +1 -1
  52. package/dist/input-group.d.ts +2 -2
  53. package/dist/input-group.js +0 -1
  54. package/dist/input-otp.d.ts +2 -2
  55. package/dist/input-otp.js +2 -2
  56. package/dist/input.d.ts +2 -2
  57. package/dist/input.js +0 -1
  58. package/dist/item.d.ts +2 -2
  59. package/dist/item.js +0 -1
  60. package/dist/kbd.d.ts +1 -1
  61. package/dist/kbd.js +0 -1
  62. package/dist/label.d.ts +2 -2
  63. package/dist/label.js +0 -1
  64. package/dist/lib/internal-icons.d.ts +1 -1
  65. package/dist/lib/internal-icons.js +0 -1
  66. package/dist/masonry.d.ts +2 -2
  67. package/dist/masonry.js +1 -1
  68. package/dist/menu.d.ts +2 -2
  69. package/dist/menu.js +0 -1
  70. package/dist/menubar.d.ts +2 -2
  71. package/dist/menubar.js +0 -1
  72. package/dist/pagination.d.ts +2 -2
  73. package/dist/pagination.js +0 -2
  74. package/dist/popover.d.ts +2 -2
  75. package/dist/popover.js +0 -1
  76. package/dist/preview-card.d.ts +2 -2
  77. package/dist/preview-card.js +0 -1
  78. package/dist/progress.d.ts +2 -2
  79. package/dist/progress.js +0 -1
  80. package/dist/radio-group.d.ts +2 -2
  81. package/dist/radio-group.js +0 -1
  82. package/dist/radio.d.ts +2 -2
  83. package/dist/radio.js +0 -1
  84. package/dist/scroll-area.d.ts +2 -2
  85. package/dist/scroll-area.js +0 -1
  86. package/dist/select.d.ts +2 -2
  87. package/dist/select.js +0 -1
  88. package/dist/separator.d.ts +2 -2
  89. package/dist/separator.js +0 -1
  90. package/dist/sidebar.d.ts +1 -1
  91. package/dist/sidebar.js +1 -1
  92. package/dist/skeleton.d.ts +2 -2
  93. package/dist/skeleton.js +0 -1
  94. package/dist/slider.d.ts +2 -2
  95. package/dist/slider.js +1 -1
  96. package/dist/spinner.d.ts +2 -2
  97. package/dist/spinner.js +0 -1
  98. package/dist/switch.d.ts +2 -2
  99. package/dist/switch.js +0 -1
  100. package/dist/table.d.ts +2 -2
  101. package/dist/table.js +0 -1
  102. package/dist/tabs.d.ts +2 -2
  103. package/dist/tabs.js +0 -1
  104. package/dist/textarea.d.ts +2 -2
  105. package/dist/textarea.js +0 -1
  106. package/dist/toast.d.ts +1 -1
  107. package/dist/toast.js +1 -1
  108. package/dist/toggle-group.d.ts +1 -1
  109. package/dist/toggle-group.js +1 -1
  110. package/dist/toggle.d.ts +2 -2
  111. package/dist/toggle.js +0 -1
  112. package/dist/tooltip.d.ts +2 -2
  113. package/dist/tooltip.js +1 -1
  114. package/dist/typewriter.d.ts +1 -1
  115. package/dist/typewriter.js +1 -1
  116. package/package.json +10 -2
package/dist/table.js CHANGED
@@ -1,5 +1,4 @@
1
1
  import { cn } from "./lib/utils.js";
2
- import "react";
3
2
  import { jsx } from "react/jsx-runtime";
4
3
  //#region src/table.tsx
5
4
  function Table({ className, ...props }) {
package/dist/tabs.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as React from "react";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
5
5
  import * as _$class_variance_authority_types0 from "class-variance-authority/types";
@@ -32,4 +32,4 @@ declare function TabsContent({
32
32
  ...props
33
33
  }: TabsContentProps): _$react_jsx_runtime0.JSX.Element;
34
34
  //#endregion
35
- export { Tabs, TabsContent, TabsContentProps, TabsList, TabsListProps, TabsProps, TabsTrigger, TabsTriggerProps, tabsListVariants };
35
+ export { Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, tabsListVariants };
package/dist/tabs.js CHANGED
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  import { cn } from "./lib/utils.js";
3
- import "react";
4
3
  import { jsx } from "react/jsx-runtime";
5
4
  import { cva } from "class-variance-authority";
6
5
  import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as React from "react";
3
3
 
4
4
  //#region src/textarea.d.ts
5
5
  type TextareaProps = Omit<React.ComponentProps<"textarea">, "onChange"> & {
@@ -13,4 +13,4 @@ declare function Textarea({
13
13
  ...props
14
14
  }: TextareaProps): _$react_jsx_runtime0.JSX.Element;
15
15
  //#endregion
16
- export { Textarea, TextareaProps };
16
+ export { Textarea, type TextareaProps };
package/dist/textarea.js CHANGED
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  import { cn } from "./lib/utils.js";
3
- import "react";
4
3
  import { jsx } from "react/jsx-runtime";
5
4
  //#region src/textarea.tsx
6
5
  function Textarea({ className, onChange, onValueChange, ...props }) {
package/dist/toast.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as React from "react";
3
3
  import { Toast as Toast$1 } from "@base-ui/react/toast";
4
4
  import * as _$class_variance_authority_types0 from "class-variance-authority/types";
5
5
  import * as _$_base_ui_react0 from "@base-ui/react";
package/dist/toast.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { cn } from "./lib/utils.js";
3
3
  import { AlertTriangleIcon, CloseIcon, ErrorCircleIcon, InfoCircleIcon, LoaderIcon, SuccessCircleIcon } from "./lib/internal-icons.js";
4
- import * as React from "react";
5
4
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
+ import * as React from "react";
6
6
  import { cva } from "class-variance-authority";
7
7
  import { Toast as Toast$1 } from "@base-ui/react/toast";
8
8
  //#region src/toast.tsx
@@ -27,4 +27,4 @@ declare function ToggleGroupItem({
27
27
  ...props
28
28
  }: ToggleGroupItemProps): _$react_jsx_runtime0.JSX.Element;
29
29
  //#endregion
30
- export { ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps };
30
+ export { ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps };
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { cn } from "./lib/utils.js";
3
3
  import { toggleVariants } from "./toggle.js";
4
- import * as React from "react";
5
4
  import { jsx } from "react/jsx-runtime";
5
+ import * as React from "react";
6
6
  import { Toggle } from "@base-ui/react/toggle";
7
7
  import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
8
8
  //#region src/toggle-group.tsx
package/dist/toggle.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as React from "react";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  import { Toggle as Toggle$1 } from "@base-ui/react/toggle";
5
5
  import * as _$class_variance_authority_types0 from "class-variance-authority/types";
@@ -17,4 +17,4 @@ declare function Toggle({
17
17
  ...props
18
18
  }: ToggleProps): _$react_jsx_runtime0.JSX.Element;
19
19
  //#endregion
20
- export { Toggle, ToggleProps, toggleVariants };
20
+ export { Toggle, type ToggleProps, toggleVariants };
package/dist/toggle.js CHANGED
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  import { cn } from "./lib/utils.js";
3
- import "react";
4
3
  import { jsx } from "react/jsx-runtime";
5
4
  import { cva } from "class-variance-authority";
6
5
  import { Toggle as Toggle$1 } from "@base-ui/react/toggle";
package/dist/tooltip.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as React from "react";
3
3
  import { Tooltip as Tooltip$1 } from "@base-ui/react/tooltip";
4
4
 
5
5
  //#region src/tooltip.d.ts
@@ -48,4 +48,4 @@ declare function TooltipContent({
48
48
  ...props
49
49
  }: TooltipContentProps): _$react_jsx_runtime0.JSX.Element;
50
50
  //#endregion
51
- export { Tooltip, TooltipContent, TooltipContentProps, TooltipProps, TooltipProvider, TooltipProviderProps, TooltipTrigger, TooltipTriggerProps };
51
+ export { Tooltip, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, type TooltipTriggerProps };
package/dist/tooltip.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { cn } from "./lib/utils.js";
3
- import * as React from "react";
4
3
  import { jsx } from "react/jsx-runtime";
4
+ import * as React from "react";
5
5
  import { Tooltip as Tooltip$1 } from "@base-ui/react/tooltip";
6
6
  //#region src/tooltip.tsx
7
7
  /**
@@ -1,5 +1,5 @@
1
- import { ReactElement } from "react";
2
1
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import { ReactElement } from "react";
3
3
 
4
4
  //#region src/typewriter.d.ts
5
5
  interface TextSegment {
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { cloneElement, isValidElement, useEffect, useId, useRef, useState } from "react";
3
2
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
+ import { cloneElement, isValidElement, useEffect, useId, useRef, useState } from "react";
4
4
  import { useInView, useReducedMotion } from "motion/react";
5
5
  //#region src/typewriter.tsx
6
6
  function mergeRef(internalRef, externalRef) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@waveso/ui",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "Wave UI component library built on Base UI and Tailwind CSS",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -46,8 +46,12 @@
46
46
  "build": "tsdown",
47
47
  "dev": "tsdown --watch",
48
48
  "typecheck": "tsc --noEmit",
49
- "test": "vitest run",
49
+ "lint": "biome check",
50
+ "lint:fix": "biome check --write",
51
+ "format": "biome format --write",
52
+ "test": "vitest run --passWithNoTests",
50
53
  "test:watch": "vitest",
54
+ "check:package": "publint && attw --pack . --ignore-rules no-resolution",
51
55
  "clean": "rm -rf dist",
52
56
  "storybook": "storybook dev -p 6006",
53
57
  "build-storybook": "storybook build",
@@ -80,13 +84,16 @@
80
84
  }
81
85
  },
82
86
  "devDependencies": {
87
+ "@arethetypeswrong/cli": "^0.18.4",
83
88
  "@base-ui/react": "^1.6.0",
89
+ "@biomejs/biome": "2.5.2",
84
90
  "@changesets/cli": "^2.27.0",
85
91
  "@storybook/addon-a11y": "~10.4.0",
86
92
  "@storybook/addon-docs": "~10.4.0",
87
93
  "@storybook/react-vite": "~10.4.0",
88
94
  "@tailwindcss/vite": "^4.2.1",
89
95
  "@testing-library/dom": "^10.4.1",
96
+ "@testing-library/jest-dom": "^6.9.1",
90
97
  "@testing-library/react": "^16.3.2",
91
98
  "@testing-library/user-event": "^14.6.1",
92
99
  "@types/react": "^19",
@@ -96,6 +103,7 @@
96
103
  "input-otp": "^1.4.2",
97
104
  "jsdom": "^29.1.1",
98
105
  "motion": "^12.31.0",
106
+ "publint": "^0.3.21",
99
107
  "react": "^19.2.0",
100
108
  "react-dom": "^19.2.0",
101
109
  "react-hook-form": "^7.66.0",