@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.
@@ -12,7 +12,9 @@ var gapStyles = {
12
12
  sm: "gap-2",
13
13
  compact: "gap-3",
14
14
  md: "gap-4",
15
- lg: "gap-6"
15
+ lg: "gap-6",
16
+ xl: "gap-10",
17
+ "2xl": "gap-18"
16
18
  };
17
19
  var directionStyles = {
18
20
  vertical: "flex flex-col",
@@ -12,7 +12,9 @@ var gapStyles = {
12
12
  sm: "gap-2",
13
13
  compact: "gap-3",
14
14
  md: "gap-4",
15
- lg: "gap-6"
15
+ lg: "gap-6",
16
+ xl: "gap-10",
17
+ "2xl": "gap-18"
16
18
  };
17
19
  var directionStyles = {
18
20
  vertical: "flex flex-col",
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunkRSFEKQDRcjs = require('../chunk-RSFEKQDR.cjs');
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, _chunkRSFEKQDRcjs.Stack, { gap: "md", children: [
28
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRSFEKQDRcjs.Stack, { gap: "xs", children: [
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
  ] }),
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  Stack
4
- } from "../chunk-6RVPQGYS.js";
4
+ } from "../chunk-WNWBKEWV.js";
5
5
  import {
6
6
  Heading
7
7
  } from "../chunk-H2O6NMLZ.js";
@@ -2,7 +2,7 @@
2
2
  "use client";
3
3
 
4
4
 
5
- var _chunkRSFEKQDRcjs = require('../chunk-RSFEKQDR.cjs');
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
- _chunkRSFEKQDRcjs.Stack,
26
+ _chunkJ467F76Icjs.Stack,
27
27
  {
28
28
  direction: "horizontal",
29
29
  gap: "sm",
@@ -2,7 +2,7 @@
2
2
  "use client";
3
3
  import {
4
4
  Stack
5
- } from "../chunk-6RVPQGYS.js";
5
+ } from "../chunk-WNWBKEWV.js";
6
6
  import {
7
7
  Button
8
8
  } from "../chunk-HQRWRRZJ.js";
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunkRSFEKQDRcjs = require('../chunk-RSFEKQDR.cjs');
4
+ var _chunkJ467F76Icjs = require('../chunk-J467F76I.cjs');
5
5
  require('../chunk-KWLSBTB2.cjs');
6
6
 
7
7
 
8
- exports.Stack = _chunkRSFEKQDRcjs.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
- * Five sizes map to the shared spacing scale from no gap through large.
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
- * Five sizes map to the shared spacing scale from no gap through large.
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;
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  Stack
4
- } from "../chunk-6RVPQGYS.js";
4
+ } from "../chunk-WNWBKEWV.js";
5
5
  import "../chunk-G6SRSWXB.js";
6
6
  export {
7
7
  Stack
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epicbagel/saas-kit",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Accessible React primitives, layout components and design tokens for SaaS apps, built on Radix UI and Tailwind CSS v4.",
5
5
  "license": "MIT",
6
6
  "keywords": [