@epicbagel/saas-kit 1.2.1 → 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/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
|
@@ -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