@codefast/ui 0.9.2 → 0.9.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/CHANGELOG.md +39 -0
- package/README.md +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/alert-dialog.d.ts +1 -1
- package/dist/components/alert-dialog.js +2 -2
- package/dist/components/alert.d.ts +1 -1
- package/dist/components/alert.js +2 -2
- package/dist/components/attachment.d.ts +2 -2
- package/dist/components/attachment.js +3 -3
- package/dist/components/avatar.js +1 -1
- package/dist/components/badge.d.ts +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/breadcrumb.js +1 -1
- package/dist/components/bubble.d.ts +1 -1
- package/dist/components/bubble.js +2 -2
- package/dist/components/button-group.d.ts +2 -2
- package/dist/components/button-group.js +3 -3
- package/dist/components/button.d.ts +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calendar.d.ts +1 -1
- package/dist/components/calendar.js +3 -3
- package/dist/components/card.js +1 -1
- package/dist/components/carousel.d.ts +1 -1
- package/dist/components/carousel.js +3 -3
- package/dist/components/chart.js +1 -1
- package/dist/components/checkbox-cards.d.ts +1 -1
- package/dist/components/checkbox-cards.js +3 -3
- package/dist/components/checkbox-group.d.ts +1 -1
- package/dist/components/checkbox-group.js +2 -2
- package/dist/components/checkbox.js +1 -1
- package/dist/components/command.d.ts +1 -1
- package/dist/components/command.js +3 -3
- package/dist/components/context-menu.js +1 -1
- package/dist/components/dialog.js +2 -2
- package/dist/components/drawer.d.ts +2 -2
- package/dist/components/drawer.js +2 -2
- package/dist/components/dropdown-menu.js +1 -1
- package/dist/components/empty.d.ts +1 -1
- package/dist/components/empty.js +2 -2
- package/dist/components/field.d.ts +2 -2
- package/dist/components/field.js +4 -4
- package/dist/components/form.js +2 -2
- package/dist/components/hover-card.js +1 -1
- package/dist/components/input-group.d.ts +4 -4
- package/dist/components/input-group.js +5 -5
- package/dist/components/input-number.d.ts +1 -1
- package/dist/components/input-number.js +4 -4
- package/dist/components/input-otp.js +1 -1
- package/dist/components/input-password.d.ts +1 -1
- package/dist/components/input-password.js +1 -1
- package/dist/components/input-search.d.ts +1 -1
- package/dist/components/input-search.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/item.d.ts +2 -2
- package/dist/components/item.js +3 -3
- package/dist/components/kbd.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/marker.d.ts +1 -1
- package/dist/components/marker.js +2 -2
- package/dist/components/menubar.js +1 -1
- package/dist/components/message-scroller.d.ts +3 -3
- package/dist/components/message-scroller.js +3 -3
- package/dist/components/message.js +1 -1
- package/dist/components/native-select.js +1 -1
- package/dist/components/navigation-menu.js +2 -2
- package/dist/components/pagination.d.ts +2 -2
- package/dist/components/pagination.js +2 -2
- package/dist/components/popover.js +1 -1
- package/dist/components/progress-circle.d.ts +2 -2
- package/dist/components/progress-circle.js +3 -3
- package/dist/components/progress.js +1 -1
- package/dist/components/radio-cards.js +2 -2
- package/dist/components/radio-group.js +1 -1
- package/dist/components/radio.js +1 -1
- package/dist/components/resizable.js +1 -1
- package/dist/components/scroll-area.d.ts +1 -1
- package/dist/components/scroll-area.js +2 -2
- package/dist/components/select.js +1 -1
- package/dist/components/separator.d.ts +1 -1
- package/dist/components/separator.js +2 -2
- package/dist/components/sheet.d.ts +2 -2
- package/dist/components/sheet.js +3 -3
- package/dist/components/sidebar.d.ts +5 -5
- package/dist/components/sidebar.js +9 -9
- package/dist/components/skeleton.js +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/spinner.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/tabs.d.ts +1 -1
- package/dist/components/tabs.js +2 -2
- package/dist/components/textarea.js +1 -1
- package/dist/components/toggle-group.d.ts +2 -2
- package/dist/components/toggle-group.js +2 -2
- package/dist/components/toggle.d.ts +1 -1
- package/dist/components/toggle.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/hooks/use-is-mobile.js +1 -1
- package/dist/hooks/use-message-scroller-commands.d.ts +2 -2
- package/dist/hooks/use-message-scroller-commands.js +2 -2
- package/dist/hooks/use-message-scroller-controller.d.ts +2 -2
- package/dist/hooks/use-message-scroller-controller.js +4 -4
- package/dist/hooks/use-message-scroller-refs.d.ts +1 -1
- package/dist/hooks/use-message-scroller-refs.js +3 -3
- package/dist/index.d.ts +180 -180
- package/dist/index.js +93 -93
- package/dist/lib/message-scroller/geometry.d.ts +1 -1
- package/dist/lib/message-scroller/geometry.js +1 -1
- package/dist/lib/message-scroller/stores.d.ts +1 -1
- package/dist/lib/message-scroller/stores.js +1 -1
- package/dist/lib/message-scroller/types.d.ts +1 -1
- package/dist/primitives/input-number.d.ts +1 -1
- package/dist/primitives/input-number.js +2 -2
- package/dist/primitives/message-scroller.d.ts +6 -6
- package/dist/primitives/message-scroller.js +3 -3
- package/dist/variants/alert.d.ts +1 -1
- package/dist/variants/alert.js +1 -1
- package/dist/variants/attachment.d.ts +1 -1
- package/dist/variants/attachment.js +1 -1
- package/dist/variants/badge.d.ts +1 -1
- package/dist/variants/badge.js +1 -1
- package/dist/variants/bubble.d.ts +1 -1
- package/dist/variants/bubble.js +1 -1
- package/dist/variants/button-group.d.ts +1 -1
- package/dist/variants/button-group.js +1 -1
- package/dist/variants/button.d.ts +1 -1
- package/dist/variants/button.js +1 -1
- package/dist/variants/empty.d.ts +1 -1
- package/dist/variants/empty.js +1 -1
- package/dist/variants/field.d.ts +1 -1
- package/dist/variants/field.js +1 -1
- package/dist/variants/input-group.d.ts +1 -1
- package/dist/variants/input-group.js +1 -1
- package/dist/variants/item.d.ts +1 -1
- package/dist/variants/item.js +1 -1
- package/dist/variants/marker.d.ts +1 -1
- package/dist/variants/marker.js +1 -1
- package/dist/variants/navigation-menu.d.ts +1 -1
- package/dist/variants/navigation-menu.js +1 -1
- package/dist/variants/progress-circle.d.ts +1 -1
- package/dist/variants/progress-circle.js +1 -1
- package/dist/variants/scroll-area.d.ts +1 -1
- package/dist/variants/scroll-area.js +1 -1
- package/dist/variants/separator.d.ts +1 -1
- package/dist/variants/separator.js +1 -1
- package/dist/variants/sheet.d.ts +1 -1
- package/dist/variants/sheet.js +1 -1
- package/dist/variants/sidebar.d.ts +1 -1
- package/dist/variants/sidebar.js +1 -1
- package/dist/variants/tabs.d.ts +1 -1
- package/dist/variants/tabs.js +1 -1
- package/dist/variants/toggle.d.ts +1 -1
- package/dist/variants/toggle.js +1 -1
- package/package.json +9 -8
- package/src/css/foundation/base.css +68 -0
- package/src/css/foundation/motion.css +65 -0
- package/src/css/foundation/source.css +10 -0
- package/src/css/foundation/tokens.css +83 -0
- package/src/css/foundation/utilities.css +451 -0
- package/src/css/foundation/variants.css +108 -0
- package/src/css/preset.css +14 -0
- package/src/css/style.css +11 -0
- package/src/css/themes/amber.css +105 -0
- package/src/css/themes/blue.css +105 -0
- package/src/css/themes/cyan.css +105 -0
- package/src/css/themes/emerald.css +105 -0
- package/src/css/themes/fuchsia.css +105 -0
- package/src/css/themes/gray.css +105 -0
- package/src/css/themes/green.css +105 -0
- package/src/css/themes/indigo.css +105 -0
- package/src/css/themes/lime.css +105 -0
- package/src/css/themes/neutral.css +105 -0
- package/src/css/themes/orange.css +105 -0
- package/src/css/themes/pink.css +105 -0
- package/src/css/themes/purple.css +105 -0
- package/src/css/themes/red.css +105 -0
- package/src/css/themes/rose.css +105 -0
- package/src/css/themes/sky.css +105 -0
- package/src/css/themes/slate.css +105 -0
- package/src/css/themes/stone.css +105 -0
- package/src/css/themes/teal.css +105 -0
- package/src/css/themes/violet.css +105 -0
- package/src/css/themes/yellow.css +105 -0
- package/src/css/themes/zinc.css +105 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
# @codefast/ui
|
|
2
2
|
|
|
3
|
+
## 0.9.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#892](https://github.com/codefastlabs/codefast/pull/892) [`4c97c5b`](https://github.com/codefastlabs/codefast/commit/4c97c5b8c2314f25ee9df7eac5a4b5dd723d6d90) Thanks [@thevuong](https://github.com/thevuong)! - Lower the monorepo's Node floor from 24 to 22.12, so the packages install and run on the active Node 22 LTS line.
|
|
8
|
+
|
|
9
|
+
`engines.node` becomes `>=22.12.0` across every package — the floor the shared toolchain (oxlint, Vite, Vitest, TanStack
|
|
10
|
+
Start) already requires. Development stays on the latest Node (`.node-version`) for speed, and a CI matrix exercises the
|
|
11
|
+
floor and the active LTS directly, so the floor is a contract CI proves rather than one everyone has to run.
|
|
12
|
+
`@types/node` is pinned to the floor's major (`^22`), with a workspace override holding the whole tree there so a dev
|
|
13
|
+
tool's `@types/node: "*"` peer can no longer pull a newer major and mask an API the floor lacks. The floor stays
|
|
14
|
+
mechanical, not advisory: `@codefast/di` keeps its own `Map` upsert helpers rather than the ES2025
|
|
15
|
+
`Map.prototype.getOrInsert` (which would raise the floor to 26) and its `lib` stays `ES2024`. `@codefast/cli`'s mirror
|
|
16
|
+
step now calls the `node:path` functions directly instead of aliasing them, which the floor's types correctly flag as
|
|
17
|
+
unbound methods.
|
|
18
|
+
|
|
19
|
+
The shared `@codefast/typescript-config` presets pin `lib` and `target` to `ES2024` (was `ESNext`) so the compiler's
|
|
20
|
+
ECMAScript surface matches the Node floor: an ES2025 builtin such as `Map.prototype.getOrInsert` now fails to type-check
|
|
21
|
+
rather than compiling and crashing on Node 22.12. `@codefast/di` and `@codefast/di-testing` already pinned `lib` and are
|
|
22
|
+
unchanged.
|
|
23
|
+
|
|
24
|
+
Internal subpath imports move from a `#/` prefix to a bare `#` (`#core/token`, not `#/core/token`), and the
|
|
25
|
+
`package.json#imports` keys become `#*`/`#tests/*`/`#examples/*` to match. Node's native ESM resolver rejects a
|
|
26
|
+
`#/`-prefixed specifier with `ERR_INVALID_MODULE_SPECIFIER` on the whole Node 22 line (and on Node 24 before 24.14), and
|
|
27
|
+
each package ships those specifiers verbatim inside its published `dist/*.js` for a consumer's Node to resolve — so this
|
|
28
|
+
rename is what actually lets the packages import on the new floor. Purely internal: a consumer's own import paths are
|
|
29
|
+
unchanged.
|
|
30
|
+
|
|
31
|
+
- [#892](https://github.com/codefastlabs/codefast/pull/892) [`4c97c5b`](https://github.com/codefastlabs/codefast/commit/4c97c5b8c2314f25ee9df7eac5a4b5dd723d6d90) Thanks [@thevuong](https://github.com/thevuong)! - Fix `pack-slim` stripping the stylesheet source of packages that export CSS.
|
|
32
|
+
|
|
33
|
+
`codefast pack-slim` removed the whole `src` directory from a package's published `files`, but `@codefast/ui` and
|
|
34
|
+
`@codefast/tracking` ship Tailwind source through `./css/*` → `./src/css/*`, so their published tarballs went out with
|
|
35
|
+
no CSS at all and the `./css/*` export resolved to nothing. pack-slim now keeps the `src` subtrees a surviving
|
|
36
|
+
`exports`/`imports` target still points into (e.g. `src/css`) and drops the rest of `src`, so the stylesheets ship while
|
|
37
|
+
the TypeScript source stays out. Surfaced and now guarded by the new `codefast audit publish` check.
|
|
38
|
+
|
|
39
|
+
- Updated dependencies [[`4c97c5b`](https://github.com/codefastlabs/codefast/commit/4c97c5b8c2314f25ee9df7eac5a4b5dd723d6d90)]:
|
|
40
|
+
- @codefast/tailwind-variants@0.8.1
|
|
41
|
+
|
|
3
42
|
## 0.9.2
|
|
4
43
|
|
|
5
44
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ Or the equivalent with your package manager: `npm install @codefast/ui`, `yarn a
|
|
|
33
33
|
|
|
34
34
|
`@codefast/ui` requires:
|
|
35
35
|
|
|
36
|
-
- Node.js
|
|
36
|
+
- Node.js 22.12 or later.
|
|
37
37
|
- React 19 — `react` and `react-dom` (19 or later) are peer dependencies; `@types/react` and `@types/react-dom` are
|
|
38
38
|
optional peers.
|
|
39
39
|
- Tailwind CSS 4 at build time — the stylesheets are Tailwind source, and rely on your Tailwind pipeline to compile
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ChevronDownIcon, ChevronUpIcon } from "lucide-react";
|
|
3
3
|
import * as AccordionPrimitive from "radix-ui/accordion";
|
|
4
|
-
import { cn } from "
|
|
4
|
+
import { cn } from "#lib/utils";
|
|
5
5
|
/**
|
|
6
6
|
* @since 0.3.16-canary.0
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import * as AlertDialogPrimitive from "radix-ui/alert-dialog";
|
|
3
|
-
import { Button } from "
|
|
4
|
-
import { cn } from "
|
|
3
|
+
import { Button } from "#components/button";
|
|
4
|
+
import { cn } from "#lib/utils";
|
|
5
5
|
/**
|
|
6
6
|
* @since 0.3.16-canary.0
|
|
7
7
|
*/
|
package/dist/components/alert.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ComponentProps, JSX } from "react";
|
|
2
|
-
import { Button } from "
|
|
3
|
-
import type { AttachmentMediaVariants, AttachmentVariants } from "
|
|
2
|
+
import { Button } from "#components/button";
|
|
3
|
+
import type { AttachmentMediaVariants, AttachmentVariants } from "#variants/attachment";
|
|
4
4
|
/**
|
|
5
5
|
* File/media attachment card. `state` drives the upload lifecycle styling.
|
|
6
6
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as Slot from "radix-ui/slot";
|
|
3
|
-
import { Button } from "
|
|
4
|
-
import { cn } from "
|
|
5
|
-
import { attachmentMediaVariants, attachmentVariants } from "
|
|
3
|
+
import { Button } from "#components/button";
|
|
4
|
+
import { cn } from "#lib/utils";
|
|
5
|
+
import { attachmentMediaVariants, attachmentVariants } from "#variants/attachment";
|
|
6
6
|
/**
|
|
7
7
|
* @since 0.5.0-canary.3
|
|
8
8
|
*/
|
package/dist/components/badge.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ChevronRightIcon, MoreHorizontalIcon } from "lucide-react";
|
|
3
3
|
import * as Slot from "radix-ui/slot";
|
|
4
|
-
import { cn } from "
|
|
4
|
+
import { cn } from "#lib/utils";
|
|
5
5
|
/**
|
|
6
6
|
* @since 0.3.16-canary.0
|
|
7
7
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ComponentProps, JSX } from "react";
|
|
2
|
-
import type { BubbleReactionsVariants, BubbleVariants } from "
|
|
2
|
+
import type { BubbleReactionsVariants, BubbleVariants } from "#variants/bubble";
|
|
3
3
|
/**
|
|
4
4
|
* Vertical stack of consecutive bubbles from one author.
|
|
5
5
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as Slot from "radix-ui/slot";
|
|
3
|
-
import { cn } from "
|
|
4
|
-
import { bubbleReactionsVariants, bubbleVariants } from "
|
|
3
|
+
import { cn } from "#lib/utils";
|
|
4
|
+
import { bubbleReactionsVariants, bubbleVariants } from "#variants/bubble";
|
|
5
5
|
/**
|
|
6
6
|
* @since 0.5.0-canary.3
|
|
7
7
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ComponentProps, JSX } from "react";
|
|
2
|
-
import { Separator } from "
|
|
3
|
-
import type { ButtonGroupVariants } from "
|
|
2
|
+
import { Separator } from "#components/separator";
|
|
3
|
+
import type { ButtonGroupVariants } from "#variants/button-group";
|
|
4
4
|
/**
|
|
5
5
|
* @since 0.3.16-canary.0
|
|
6
6
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as Slot from "radix-ui/slot";
|
|
3
|
-
import { Separator } from "
|
|
4
|
-
import { cn } from "
|
|
5
|
-
import { buttonGroupVariants } from "
|
|
3
|
+
import { Separator } from "#components/separator";
|
|
4
|
+
import { cn } from "#lib/utils";
|
|
5
|
+
import { buttonGroupVariants } from "#variants/button-group";
|
|
6
6
|
/**
|
|
7
7
|
* @since 0.3.16-canary.0
|
|
8
8
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DayButton, Locale } from "@daypicker/react";
|
|
2
2
|
import { DayPicker } from "@daypicker/react";
|
|
3
3
|
import type { ComponentProps, JSX } from "react";
|
|
4
|
-
import { Button } from "
|
|
4
|
+
import { Button } from "#components/button";
|
|
5
5
|
/**
|
|
6
6
|
* @since 0.3.16-canary.0
|
|
7
7
|
*/
|
|
@@ -2,9 +2,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { DayPicker, getDefaultClassNames } from "@daypicker/react";
|
|
3
3
|
import { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon } from "lucide-react";
|
|
4
4
|
import { useEffect, useRef } from "react";
|
|
5
|
-
import { Button } from "
|
|
6
|
-
import { cn } from "
|
|
7
|
-
import { buttonVariants } from "
|
|
5
|
+
import { Button } from "#components/button";
|
|
6
|
+
import { cn } from "#lib/utils";
|
|
7
|
+
import { buttonVariants } from "#variants/button";
|
|
8
8
|
/**
|
|
9
9
|
* @since 0.3.16-canary.0
|
|
10
10
|
*/
|
package/dist/components/card.js
CHANGED
|
@@ -2,7 +2,7 @@ import type { UseEmblaCarouselType } from "embla-carousel-react";
|
|
|
2
2
|
import useEmblaCarousel from "embla-carousel-react";
|
|
3
3
|
import { Context } from "radix-ui/internal";
|
|
4
4
|
import type { ComponentProps, JSX } from "react";
|
|
5
|
-
import { Button } from "
|
|
5
|
+
import { Button } from "#components/button";
|
|
6
6
|
type ScopedProps<P> = P & {
|
|
7
7
|
__scopeCarousel?: Context.Scope;
|
|
8
8
|
};
|
|
@@ -3,9 +3,9 @@ import useEmblaCarousel from "embla-carousel-react";
|
|
|
3
3
|
import { ChevronLeftIcon, ChevronRightIcon } from "lucide-react";
|
|
4
4
|
import { Context } from "radix-ui/internal";
|
|
5
5
|
import { useCallback, useEffect, useState } from "react";
|
|
6
|
-
import { Button } from "
|
|
7
|
-
import { useDirection } from "
|
|
8
|
-
import { cn } from "
|
|
6
|
+
import { Button } from "#components/button";
|
|
7
|
+
import { useDirection } from "#components/direction";
|
|
8
|
+
import { cn } from "#lib/utils";
|
|
9
9
|
// ── Context: Carousel ────────────────────────────────────────────────────────────────────────────────────────────────
|
|
10
10
|
const CAROUSEL_NAME = "Carousel";
|
|
11
11
|
const [createCarouselContext, createCarouselScope] = Context.createContextScope(CAROUSEL_NAME);
|
package/dist/components/chart.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-run
|
|
|
2
2
|
import { Context } from "radix-ui/internal";
|
|
3
3
|
import { useId, useMemo } from "react";
|
|
4
4
|
import * as RechartsPrimitive from "recharts";
|
|
5
|
-
import { cn } from "
|
|
5
|
+
import { cn } from "#lib/utils";
|
|
6
6
|
// ── Chart Configuration and Theme Constants ──────────────────────────────────────────────────────────────────────────
|
|
7
7
|
const THEMES = { dark: ".dark", light: "" };
|
|
8
8
|
const INITIAL_DIMENSION = { height: 200, width: 320 };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { CheckIcon, MinusIcon } from "lucide-react";
|
|
3
|
-
import { Label } from "
|
|
4
|
-
import { cn } from "
|
|
5
|
-
import * as CheckboxGroupPrimitive from "
|
|
3
|
+
import { Label } from "#components/label";
|
|
4
|
+
import { cn } from "#lib/utils";
|
|
5
|
+
import * as CheckboxGroupPrimitive from "#primitives/checkbox-group";
|
|
6
6
|
/**
|
|
7
7
|
* @since 0.3.16-canary.0
|
|
8
8
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { CheckIcon, MinusIcon } from "lucide-react";
|
|
3
|
-
import { cn } from "
|
|
4
|
-
import * as CheckboxGroupPrimitive from "
|
|
3
|
+
import { cn } from "#lib/utils";
|
|
4
|
+
import * as CheckboxGroupPrimitive from "#primitives/checkbox-group";
|
|
5
5
|
/**
|
|
6
6
|
* @since 0.3.16-canary.0
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { CheckIcon, MinusIcon } from "lucide-react";
|
|
3
3
|
import * as CheckboxPrimitive from "radix-ui/checkbox";
|
|
4
|
-
import { cn } from "
|
|
4
|
+
import { cn } from "#lib/utils";
|
|
5
5
|
/**
|
|
6
6
|
* @since 0.3.16-canary.0
|
|
7
7
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Command as CommandPrimitive } from "cmdk";
|
|
3
3
|
import { CheckIcon, SearchIcon } from "lucide-react";
|
|
4
|
-
import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } from "
|
|
5
|
-
import { InputGroup, InputGroupAddon } from "
|
|
6
|
-
import { cn } from "
|
|
4
|
+
import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } from "#components/dialog";
|
|
5
|
+
import { InputGroup, InputGroupAddon } from "#components/input-group";
|
|
6
|
+
import { cn } from "#lib/utils";
|
|
7
7
|
/**
|
|
8
8
|
* @since 0.3.16-canary.0
|
|
9
9
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { CheckIcon, ChevronRightIcon } from "lucide-react";
|
|
3
3
|
import * as ContextMenuPrimitive from "radix-ui/context-menu";
|
|
4
|
-
import { cn } from "
|
|
4
|
+
import { cn } from "#lib/utils";
|
|
5
5
|
/**
|
|
6
6
|
* @since 0.3.16-canary.0
|
|
7
7
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { XIcon } from "lucide-react";
|
|
3
3
|
import * as DialogPrimitive from "radix-ui/dialog";
|
|
4
|
-
import { Button } from "
|
|
5
|
-
import { cn } from "
|
|
4
|
+
import { Button } from "#components/button";
|
|
5
|
+
import { cn } from "#lib/utils";
|
|
6
6
|
/**
|
|
7
7
|
* @since 0.3.16-canary.0
|
|
8
8
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ComponentProps, JSX } from "react";
|
|
2
2
|
import { Drawer as DrawerPrimitive } from "vaul";
|
|
3
|
-
import type { VariantProps } from "
|
|
4
|
-
import { buttonVariants } from "
|
|
3
|
+
import type { VariantProps } from "#lib/utils";
|
|
4
|
+
import { buttonVariants } from "#variants/button";
|
|
5
5
|
/**
|
|
6
6
|
* @since 0.3.16-canary.0
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Drawer as DrawerPrimitive } from "vaul";
|
|
3
|
-
import { cn } from "
|
|
4
|
-
import { buttonVariants } from "
|
|
3
|
+
import { cn } from "#lib/utils";
|
|
4
|
+
import { buttonVariants } from "#variants/button";
|
|
5
5
|
/**
|
|
6
6
|
* @since 0.3.16-canary.0
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { CheckIcon, ChevronRightIcon } from "lucide-react";
|
|
3
3
|
import * as DropdownMenuPrimitive from "radix-ui/dropdown-menu";
|
|
4
|
-
import { cn } from "
|
|
4
|
+
import { cn } from "#lib/utils";
|
|
5
5
|
/**
|
|
6
6
|
* @since 0.3.16-canary.0
|
|
7
7
|
*/
|
package/dist/components/empty.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from "
|
|
3
|
-
import { emptyMediaVariants } from "
|
|
2
|
+
import { cn } from "#lib/utils";
|
|
3
|
+
import { emptyMediaVariants } from "#variants/empty";
|
|
4
4
|
/**
|
|
5
5
|
* @since 0.3.16-canary.0
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ComponentProps, JSX } from "react";
|
|
2
|
-
import { Label } from "
|
|
3
|
-
import type { FieldVariants } from "
|
|
2
|
+
import { Label } from "#components/label";
|
|
3
|
+
import type { FieldVariants } from "#variants/field";
|
|
4
4
|
/**
|
|
5
5
|
* @since 0.3.16-canary.0
|
|
6
6
|
*/
|
package/dist/components/field.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
|
-
import { Label } from "
|
|
4
|
-
import { Separator } from "
|
|
5
|
-
import { cn } from "
|
|
6
|
-
import { fieldVariants } from "
|
|
3
|
+
import { Label } from "#components/label";
|
|
4
|
+
import { Separator } from "#components/separator";
|
|
5
|
+
import { cn } from "#lib/utils";
|
|
6
|
+
import { fieldVariants } from "#variants/field";
|
|
7
7
|
/**
|
|
8
8
|
* @since 0.3.16-canary.0
|
|
9
9
|
*/
|
package/dist/components/form.js
CHANGED
|
@@ -3,8 +3,8 @@ import { Context } from "radix-ui/internal";
|
|
|
3
3
|
import * as Slot from "radix-ui/slot";
|
|
4
4
|
import { useId } from "react";
|
|
5
5
|
import { Controller, FormProvider, useFormContext, useFormState } from "react-hook-form";
|
|
6
|
-
import { Label } from "
|
|
7
|
-
import { cn } from "
|
|
6
|
+
import { Label } from "#components/label";
|
|
7
|
+
import { cn } from "#lib/utils";
|
|
8
8
|
/**
|
|
9
9
|
* @since 0.3.16-canary.0
|
|
10
10
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ComponentProps, JSX } from "react";
|
|
2
|
-
import type { ButtonProps } from "
|
|
3
|
-
import type { InputProps } from "
|
|
4
|
-
import type { TextareaProps } from "
|
|
5
|
-
import type { InputGroupAddonVariants, InputGroupButtonVariants } from "
|
|
2
|
+
import type { ButtonProps } from "#components/button";
|
|
3
|
+
import type { InputProps } from "#components/input";
|
|
4
|
+
import type { TextareaProps } from "#components/textarea";
|
|
5
|
+
import type { InputGroupAddonVariants, InputGroupButtonVariants } from "#variants/input-group";
|
|
6
6
|
/**
|
|
7
7
|
* @since 0.3.16-canary.0
|
|
8
8
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Button } from "
|
|
3
|
-
import { Input } from "
|
|
4
|
-
import { Textarea } from "
|
|
5
|
-
import { cn } from "
|
|
6
|
-
import { inputGroupAddonVariants, inputGroupButtonVariants, inputGroupVariants } from "
|
|
2
|
+
import { Button } from "#components/button";
|
|
3
|
+
import { Input } from "#components/input";
|
|
4
|
+
import { Textarea } from "#components/textarea";
|
|
5
|
+
import { cn } from "#lib/utils";
|
|
6
|
+
import { inputGroupAddonVariants, inputGroupButtonVariants, inputGroupVariants } from "#variants/input-group";
|
|
7
7
|
/**
|
|
8
8
|
* @since 0.3.16-canary.0
|
|
9
9
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ChevronDownIcon, ChevronUpIcon, MinusIcon, PlusIcon } from "lucide-react";
|
|
3
|
-
import { Spinner } from "
|
|
4
|
-
import { cn } from "
|
|
5
|
-
import * as InputNumberPrimitive from "
|
|
6
|
-
import { buttonVariants } from "
|
|
3
|
+
import { Spinner } from "#components/spinner";
|
|
4
|
+
import { cn } from "#lib/utils";
|
|
5
|
+
import * as InputNumberPrimitive from "#primitives/input-number";
|
|
6
|
+
import { buttonVariants } from "#variants/button";
|
|
7
7
|
/**
|
|
8
8
|
* The container that owns the numeric state (value, min, max, step, formatting).
|
|
9
9
|
* Compose an {@link InputNumberField} with an {@link InputNumberStepper}, or with
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { OTPInput, OTPInputContext } from "input-otp";
|
|
3
3
|
import { MinusIcon } from "lucide-react";
|
|
4
4
|
import { use } from "react";
|
|
5
|
-
import { cn } from "
|
|
5
|
+
import { cn } from "#lib/utils";
|
|
6
6
|
/**
|
|
7
7
|
* @since 0.3.16-canary.0
|
|
8
8
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { EyeIcon, EyeOffIcon } from "lucide-react";
|
|
3
3
|
import { useCallback, useState } from "react";
|
|
4
|
-
import { InputGroup, InputGroupButton, InputGroupInput } from "
|
|
4
|
+
import { InputGroup, InputGroupButton, InputGroupInput } from "#components/input-group";
|
|
5
5
|
/**
|
|
6
6
|
* @since 0.3.16-canary.0
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { SearchIcon, XIcon } from "lucide-react";
|
|
3
3
|
import { useControllableState } from "radix-ui/internal";
|
|
4
|
-
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput } from "
|
|
4
|
+
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput } from "#components/input-group";
|
|
5
5
|
/**
|
|
6
6
|
* @since 0.3.16-canary.0
|
|
7
7
|
*/
|
package/dist/components/input.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ComponentProps, JSX } from "react";
|
|
2
|
-
import { Separator } from "
|
|
3
|
-
import type { ItemMediaVariants, ItemVariants } from "
|
|
2
|
+
import { Separator } from "#components/separator";
|
|
3
|
+
import type { ItemMediaVariants, ItemVariants } from "#variants/item";
|
|
4
4
|
/**
|
|
5
5
|
* @since 0.3.16-canary.0
|
|
6
6
|
*/
|
package/dist/components/item.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as Slot from "radix-ui/slot";
|
|
3
|
-
import { Separator } from "
|
|
4
|
-
import { cn } from "
|
|
5
|
-
import { itemMediaVariants, itemVariants } from "
|
|
3
|
+
import { Separator } from "#components/separator";
|
|
4
|
+
import { cn } from "#lib/utils";
|
|
5
|
+
import { itemMediaVariants, itemVariants } from "#variants/item";
|
|
6
6
|
/**
|
|
7
7
|
* @since 0.3.16-canary.0
|
|
8
8
|
*/
|