@epicbagel/saas-kit 1.2.0 → 1.2.2
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/{chunk-RSFEKQDR.cjs → chunk-J467F76I.cjs} +3 -1
- package/dist/{chunk-6RVPQGYS.js → chunk-WNWBKEWV.js} +3 -1
- package/dist/primitives/alert.d.cts +1 -1
- package/dist/primitives/alert.d.ts +1 -1
- package/dist/primitives/badge.d.cts +1 -1
- package/dist/primitives/badge.d.ts +1 -1
- package/dist/primitives/bubble.d.cts +1 -1
- package/dist/primitives/bubble.d.ts +1 -1
- package/dist/primitives/button.d.cts +2 -2
- package/dist/primitives/button.d.ts +2 -2
- package/dist/primitives/chat.cjs +2 -2
- package/dist/primitives/chat.js +2 -2
- package/dist/primitives/compact-app-shell.cjs +3 -3
- package/dist/primitives/compact-app-shell.js +1 -1
- package/dist/primitives/decision-actions.cjs +2 -2
- package/dist/primitives/decision-actions.js +1 -1
- package/dist/primitives/stack.cjs +2 -2
- package/dist/primitives/stack.d.cts +6 -2
- package/dist/primitives/stack.d.ts +6 -2
- package/dist/primitives/stack.js +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
declare const alertVariants: (props?: ({
|
|
7
|
-
variant?: "
|
|
7
|
+
variant?: "default" | "destructive" | "success" | "warning" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
interface AlertProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
10
10
|
marginBottom?: "none" | "md";
|
|
@@ -4,7 +4,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
declare const alertVariants: (props?: ({
|
|
7
|
-
variant?: "
|
|
7
|
+
variant?: "default" | "destructive" | "success" | "warning" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
interface AlertProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
10
10
|
marginBottom?: "none" | "md";
|
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
4
4
|
import { ElementType } from 'react';
|
|
5
5
|
|
|
6
6
|
declare const badgeVariants: (props?: ({
|
|
7
|
-
variant?: "
|
|
7
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | "success" | "warning" | "error" | "info" | "neutral" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
10
10
|
weight?: "normal" | "semibold" | "bold";
|
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
4
4
|
import { ElementType } from 'react';
|
|
5
5
|
|
|
6
6
|
declare const badgeVariants: (props?: ({
|
|
7
|
-
variant?: "
|
|
7
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | "success" | "warning" | "error" | "info" | "neutral" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
10
10
|
weight?: "normal" | "semibold" | "bold";
|
|
@@ -5,7 +5,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
5
5
|
|
|
6
6
|
declare function BubbleGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
7
7
|
declare const bubbleVariants: (props?: ({
|
|
8
|
-
variant?: "default" | "muted" | "
|
|
8
|
+
variant?: "default" | "muted" | "secondary" | "destructive" | "outline" | "ghost" | "tinted" | null | undefined;
|
|
9
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
10
|
declare function Bubble({ variant, align, className, ...props }: React.ComponentProps<"div"> & VariantProps<typeof bubbleVariants> & {
|
|
11
11
|
align?: "start" | "end";
|
|
@@ -5,7 +5,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
5
5
|
|
|
6
6
|
declare function BubbleGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
7
7
|
declare const bubbleVariants: (props?: ({
|
|
8
|
-
variant?: "default" | "muted" | "
|
|
8
|
+
variant?: "default" | "muted" | "secondary" | "destructive" | "outline" | "ghost" | "tinted" | null | undefined;
|
|
9
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
10
|
declare function Bubble({ variant, align, className, ...props }: React.ComponentProps<"div"> & VariantProps<typeof bubbleVariants> & {
|
|
11
11
|
align?: "start" | "end";
|
|
@@ -4,8 +4,8 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
declare const buttonVariants: (props?: ({
|
|
7
|
-
variant?: "link" | "default" | "
|
|
8
|
-
size?: "filter" | "status" | "toolbar" | "sm" | "lg" | "default" | "micro" | "
|
|
7
|
+
variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "outline-muted" | "ghost" | "quiet" | "ghost-destructive" | "link-muted" | "inverted" | "status-error" | "status-warning" | "status-muted" | null | undefined;
|
|
8
|
+
size?: "filter" | "status" | "toolbar" | "sm" | "lg" | "default" | "micro" | "compact" | "hero" | "icon" | "icon-lg" | "icon-sm" | "icon-md" | "icon-xs" | "icon-compact" | "icon-micro" | "bare" | "voice-sm" | "voice" | "suggestion" | "tone" | null | undefined;
|
|
9
9
|
width?: "auto" | "full" | "responsive" | null | undefined;
|
|
10
10
|
align?: "center" | "start" | null | undefined;
|
|
11
11
|
shrink?: boolean | null | undefined;
|
|
@@ -4,8 +4,8 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
declare const buttonVariants: (props?: ({
|
|
7
|
-
variant?: "link" | "default" | "
|
|
8
|
-
size?: "filter" | "status" | "toolbar" | "sm" | "lg" | "default" | "micro" | "
|
|
7
|
+
variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "outline-muted" | "ghost" | "quiet" | "ghost-destructive" | "link-muted" | "inverted" | "status-error" | "status-warning" | "status-muted" | null | undefined;
|
|
8
|
+
size?: "filter" | "status" | "toolbar" | "sm" | "lg" | "default" | "micro" | "compact" | "hero" | "icon" | "icon-lg" | "icon-sm" | "icon-md" | "icon-xs" | "icon-compact" | "icon-micro" | "bare" | "voice-sm" | "voice" | "suggestion" | "tone" | null | undefined;
|
|
9
9
|
width?: "auto" | "full" | "responsive" | null | undefined;
|
|
10
10
|
align?: "center" | "start" | null | undefined;
|
|
11
11
|
shrink?: boolean | null | undefined;
|
package/dist/primitives/chat.cjs
CHANGED
|
@@ -150,7 +150,7 @@ var ChatThread = _react.forwardRef.call(void 0,
|
|
|
150
150
|
_chunkXABXUP6Lcjs.MessageScrollerContent,
|
|
151
151
|
{
|
|
152
152
|
className: _chunkKWLSBTB2cjs.cn.call(void 0,
|
|
153
|
-
workspace ? "mx-auto w-full max-w-3xl gap-
|
|
153
|
+
workspace ? "mx-auto w-full max-w-3xl gap-10 px-4 py-6 md:px-6 md:py-8" : "gap-2.5 px-px py-px"
|
|
154
154
|
),
|
|
155
155
|
children: [
|
|
156
156
|
messages.map((m, index) => {
|
|
@@ -164,7 +164,7 @@ var ChatThread = _react.forwardRef.call(void 0,
|
|
|
164
164
|
{
|
|
165
165
|
messageId: m.id,
|
|
166
166
|
scrollAnchor: m.id === anchorId,
|
|
167
|
-
className: "flex flex-col gap-3",
|
|
167
|
+
className: _chunkKWLSBTB2cjs.cn.call(void 0, "flex flex-col", workspace ? "gap-5" : "gap-3"),
|
|
168
168
|
children: [
|
|
169
169
|
startsTimelineSection ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TimelineMarker, { label: relativeTime }) : null,
|
|
170
170
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2AU7ZRGXcjs.Message, { align: isUser ? "end" : "start", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2AU7ZRGXcjs.MessageContent, { children: [
|
package/dist/primitives/chat.js
CHANGED
|
@@ -150,7 +150,7 @@ var ChatThread = forwardRef(
|
|
|
150
150
|
MessageScrollerContent,
|
|
151
151
|
{
|
|
152
152
|
className: cn(
|
|
153
|
-
workspace ? "mx-auto w-full max-w-3xl gap-
|
|
153
|
+
workspace ? "mx-auto w-full max-w-3xl gap-10 px-4 py-6 md:px-6 md:py-8" : "gap-2.5 px-px py-px"
|
|
154
154
|
),
|
|
155
155
|
children: [
|
|
156
156
|
messages.map((m, index) => {
|
|
@@ -164,7 +164,7 @@ var ChatThread = forwardRef(
|
|
|
164
164
|
{
|
|
165
165
|
messageId: m.id,
|
|
166
166
|
scrollAnchor: m.id === anchorId,
|
|
167
|
-
className: "flex flex-col gap-3",
|
|
167
|
+
className: cn("flex flex-col", workspace ? "gap-5" : "gap-3"),
|
|
168
168
|
children: [
|
|
169
169
|
startsTimelineSection ? /* @__PURE__ */ jsx(TimelineMarker, { label: relativeTime }) : null,
|
|
170
170
|
/* @__PURE__ */ jsx(Message, { align: isUser ? "end" : "start", children: /* @__PURE__ */ jsxs(MessageContent, { children: [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkJ467F76Icjs = require('../chunk-J467F76I.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkLELBCBDTcjs = require('../chunk-LELBCBDT.cjs');
|
|
@@ -24,8 +24,8 @@ var CompactAppShell = _react.forwardRef.call(void 0,
|
|
|
24
24
|
ref,
|
|
25
25
|
className: _chunkKWLSBTB2cjs.cn.call(void 0, "min-h-0 bg-background p-4 text-foreground", widths[width], className),
|
|
26
26
|
...props,
|
|
27
|
-
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
28
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
27
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkJ467F76Icjs.Stack, { gap: "md", children: [
|
|
28
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkJ467F76Icjs.Stack, { gap: "xs", children: [
|
|
29
29
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLELBCBDTcjs.Heading, { level: 1, className: "text-base", children: title }),
|
|
30
30
|
description
|
|
31
31
|
] }),
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkJ467F76Icjs = require('../chunk-J467F76I.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
var _chunkL4DH72UFcjs = require('../chunk-L4DH72UF.cjs');
|
|
@@ -23,7 +23,7 @@ function DecisionActions({
|
|
|
23
23
|
}) {
|
|
24
24
|
const fill = layout === "fill";
|
|
25
25
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
26
|
-
|
|
26
|
+
_chunkJ467F76Icjs.Stack,
|
|
27
27
|
{
|
|
28
28
|
direction: "horizontal",
|
|
29
29
|
gap: "sm",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkJ467F76Icjs = require('../chunk-J467F76I.cjs');
|
|
5
5
|
require('../chunk-KWLSBTB2.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Stack =
|
|
8
|
+
exports.Stack = _chunkJ467F76Icjs.Stack;
|
|
@@ -5,9 +5,13 @@ import { HTMLAttributes, ElementType } from 'react';
|
|
|
5
5
|
* Stack — flex container with a canonical gap scale.
|
|
6
6
|
*
|
|
7
7
|
* Consumers stop guessing between `gap-2`, `gap-3`, `gap-4`, etc.
|
|
8
|
-
*
|
|
8
|
+
* Eight sizes map to the shared spacing scale: `none` (0), `xs` (0.25rem),
|
|
9
|
+
* `sm` (0.5rem), `compact` (0.75rem), `md` (1rem), `lg` (1.5rem), `xl`
|
|
10
|
+
* (2.5rem) and `2xl` (4.5rem). `xl` and `2xl` set blocks apart, such as a card
|
|
11
|
+
* that follows a paragraph and should read as its own block rather than the
|
|
12
|
+
* paragraph's continuation.
|
|
9
13
|
*/
|
|
10
|
-
type StackGap = "none" | "xs" | "sm" | "compact" | "md" | "lg";
|
|
14
|
+
type StackGap = "none" | "xs" | "sm" | "compact" | "md" | "lg" | "xl" | "2xl";
|
|
11
15
|
type StackDirection = "vertical" | "horizontal";
|
|
12
16
|
interface StackProps extends HTMLAttributes<HTMLElement> {
|
|
13
17
|
gap?: StackGap;
|
|
@@ -5,9 +5,13 @@ import { HTMLAttributes, ElementType } from 'react';
|
|
|
5
5
|
* Stack — flex container with a canonical gap scale.
|
|
6
6
|
*
|
|
7
7
|
* Consumers stop guessing between `gap-2`, `gap-3`, `gap-4`, etc.
|
|
8
|
-
*
|
|
8
|
+
* Eight sizes map to the shared spacing scale: `none` (0), `xs` (0.25rem),
|
|
9
|
+
* `sm` (0.5rem), `compact` (0.75rem), `md` (1rem), `lg` (1.5rem), `xl`
|
|
10
|
+
* (2.5rem) and `2xl` (4.5rem). `xl` and `2xl` set blocks apart, such as a card
|
|
11
|
+
* that follows a paragraph and should read as its own block rather than the
|
|
12
|
+
* paragraph's continuation.
|
|
9
13
|
*/
|
|
10
|
-
type StackGap = "none" | "xs" | "sm" | "compact" | "md" | "lg";
|
|
14
|
+
type StackGap = "none" | "xs" | "sm" | "compact" | "md" | "lg" | "xl" | "2xl";
|
|
11
15
|
type StackDirection = "vertical" | "horizontal";
|
|
12
16
|
interface StackProps extends HTMLAttributes<HTMLElement> {
|
|
13
17
|
gap?: StackGap;
|
package/dist/primitives/stack.js
CHANGED
package/package.json
CHANGED