@still-forest/canopy 0.25.0 → 0.26.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.
- package/dist/{Code-BEyCtXmx.js → Code.js} +2 -2
- package/dist/{Heading-RoEgEUyn.js → Heading.js} +15 -14
- package/dist/{Layout-DgdavEB0.js → Layout2.js} +4 -3
- package/dist/{PageNotFound-qxJMFm_R.js → PageNotFound.js} +17 -16
- package/dist/Paragraph.js +7 -0
- package/dist/{SidebarLayout-BdELri0f.js → SidebarLayout.js} +9 -8
- package/dist/{Textarea-BQK0FPhk.js → Textarea.js} +29 -28
- package/dist/{calendar-DO3_NMz-.js → calendar.js} +7 -6
- package/dist/{index3.js → forms.js} +2 -2
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1371 -8
- package/dist/index2.js +2741 -5
- package/dist/{index4.js → interstitials.js} +1 -1
- package/dist/jsx-runtime.js +40 -0
- package/dist/layout.js +10 -0
- package/dist/navigation.js +7 -0
- package/dist/{popover-C6FKo2kc.js → popover.js} +23 -22
- package/dist/typography.js +9 -0
- package/dist/utilities.d.ts +5 -0
- package/dist/utilities.js +4 -0
- package/package.json +7 -2
- package/dist/Paragraph-CbHixnRz.js +0 -6
- package/dist/index5.js +0 -9
- package/dist/index6.js +0 -1371
- package/dist/utils-D_B8C9Kp.js +0 -2781
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
var s = { exports: {} }, e = {};
|
|
2
|
+
/**
|
|
3
|
+
* @license React
|
|
4
|
+
* react-jsx-runtime.production.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/
|
|
11
|
+
var o;
|
|
12
|
+
function d() {
|
|
13
|
+
if (o) return e;
|
|
14
|
+
o = 1;
|
|
15
|
+
var R = Symbol.for("react.transitional.element"), a = Symbol.for("react.fragment");
|
|
16
|
+
function i(v, r, t) {
|
|
17
|
+
var u = null;
|
|
18
|
+
if (t !== void 0 && (u = "" + t), r.key !== void 0 && (u = "" + r.key), "key" in r) {
|
|
19
|
+
t = {};
|
|
20
|
+
for (var n in r)
|
|
21
|
+
n !== "key" && (t[n] = r[n]);
|
|
22
|
+
} else t = r;
|
|
23
|
+
return r = t.ref, {
|
|
24
|
+
$$typeof: R,
|
|
25
|
+
type: v,
|
|
26
|
+
key: u,
|
|
27
|
+
ref: r !== void 0 ? r : null,
|
|
28
|
+
props: t
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
return e.Fragment = a, e.jsx = i, e.jsxs = i, e;
|
|
32
|
+
}
|
|
33
|
+
var x;
|
|
34
|
+
function l() {
|
|
35
|
+
return x || (x = 1, s.exports = d()), s.exports;
|
|
36
|
+
}
|
|
37
|
+
var p = l();
|
|
38
|
+
export {
|
|
39
|
+
p as j
|
|
40
|
+
};
|
package/dist/layout.js
ADDED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as c from "react";
|
|
2
2
|
import { useState as hr, useLayoutEffect as vr } from "react";
|
|
3
|
-
import { j as w
|
|
4
|
-
import { h as it, u as V } from "./calendar
|
|
3
|
+
import { j as w } from "./jsx-runtime.js";
|
|
4
|
+
import { h as it, u as V } from "./calendar.js";
|
|
5
|
+
import { c as gr } from "./index2.js";
|
|
5
6
|
import * as Xt from "react-dom";
|
|
6
7
|
import yr from "react-dom";
|
|
7
8
|
var wr = [
|
|
@@ -55,7 +56,7 @@ var br = Object.freeze({
|
|
|
55
56
|
)
|
|
56
57
|
);
|
|
57
58
|
Gt.displayName = Er;
|
|
58
|
-
var
|
|
59
|
+
var Ts = Gt;
|
|
59
60
|
function Cr(e, t) {
|
|
60
61
|
const n = c.createContext(t), r = (i) => {
|
|
61
62
|
const { children: s, ...a } = i, u = c.useMemo(() => a, Object.values(a));
|
|
@@ -1043,7 +1044,7 @@ var Mo = function(e) {
|
|
|
1043
1044
|
return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live], script"))), Lo(r, o, n, "aria-hidden")) : function() {
|
|
1044
1045
|
return null;
|
|
1045
1046
|
};
|
|
1046
|
-
}, $e = "Dialog", [fn,
|
|
1047
|
+
}, $e = "Dialog", [fn, Ms] = st($e), [Fo, U] = fn($e), dn = (e) => {
|
|
1047
1048
|
const {
|
|
1048
1049
|
__scopeDialog: t,
|
|
1049
1050
|
children: n,
|
|
@@ -1245,7 +1246,7 @@ Pn.displayName = Cn;
|
|
|
1245
1246
|
function pt(e) {
|
|
1246
1247
|
return e ? "open" : "closed";
|
|
1247
1248
|
}
|
|
1248
|
-
var Rn = "DialogTitleWarning", [
|
|
1249
|
+
var Rn = "DialogTitleWarning", [_s, An] = Cr(Rn, {
|
|
1249
1250
|
contentName: ie,
|
|
1250
1251
|
titleName: dt,
|
|
1251
1252
|
docsSlug: "dialog"
|
|
@@ -1264,7 +1265,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
1264
1265
|
const o = e.current?.getAttribute("aria-describedby");
|
|
1265
1266
|
t && o && (document.getElementById(t) || console.warn(r));
|
|
1266
1267
|
}, [r, e, t]), null;
|
|
1267
|
-
},
|
|
1268
|
+
}, Ls = dn, Fs = mn, Is = vn, ks = gn, js = yn, Ws = xn, $s = En, Bs = Pn;
|
|
1268
1269
|
function Vo(e) {
|
|
1269
1270
|
const [t, n] = c.useState(void 0);
|
|
1270
1271
|
return te(() => {
|
|
@@ -2806,7 +2807,7 @@ function Xn(e) {
|
|
|
2806
2807
|
const [t, n = "center"] = e.split("-");
|
|
2807
2808
|
return [t, n];
|
|
2808
2809
|
}
|
|
2809
|
-
var ls = Hn, Gn = Vn, us = Un, fs = Kn, Ve = "Popover", [qn,
|
|
2810
|
+
var ls = Hn, Gn = Vn, us = Un, fs = Kn, Ve = "Popover", [qn, Hs] = st(Ve, [
|
|
2810
2811
|
$n
|
|
2811
2812
|
]), Ee = $n(), [ds, oe] = qn(Ve), Zn = (e) => {
|
|
2812
2813
|
const {
|
|
@@ -3015,13 +3016,13 @@ function ir(e) {
|
|
|
3015
3016
|
return e ? "open" : "closed";
|
|
3016
3017
|
}
|
|
3017
3018
|
var Es = Zn, Cs = er, Ps = tr, Rs = nr;
|
|
3018
|
-
function
|
|
3019
|
+
function zs({ ...e }) {
|
|
3019
3020
|
return /* @__PURE__ */ w.jsx(Es, { "data-slot": "popover", ...e });
|
|
3020
3021
|
}
|
|
3021
|
-
function
|
|
3022
|
+
function Vs({ ...e }) {
|
|
3022
3023
|
return /* @__PURE__ */ w.jsx(Cs, { "data-slot": "popover-trigger", ...e });
|
|
3023
3024
|
}
|
|
3024
|
-
function
|
|
3025
|
+
function Us({
|
|
3025
3026
|
className: e,
|
|
3026
3027
|
align: t = "center",
|
|
3027
3028
|
sideOffset: n = 4,
|
|
@@ -3046,10 +3047,10 @@ export {
|
|
|
3046
3047
|
us as C,
|
|
3047
3048
|
at as D,
|
|
3048
3049
|
ct as F,
|
|
3049
|
-
|
|
3050
|
+
ks as O,
|
|
3050
3051
|
k as P,
|
|
3051
3052
|
ls as R,
|
|
3052
|
-
|
|
3053
|
+
Ws as T,
|
|
3053
3054
|
br as V,
|
|
3054
3055
|
$n as a,
|
|
3055
3056
|
qt as b,
|
|
@@ -3058,17 +3059,17 @@ export {
|
|
|
3058
3059
|
he as e,
|
|
3059
3060
|
lt as f,
|
|
3060
3061
|
fs as g,
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3062
|
+
Ts as h,
|
|
3063
|
+
zs as i,
|
|
3064
|
+
Vs as j,
|
|
3065
|
+
Us as k,
|
|
3066
|
+
Ls as l,
|
|
3067
|
+
js as m,
|
|
3068
|
+
Bs as n,
|
|
3069
|
+
$s as o,
|
|
3070
|
+
Is as p,
|
|
3070
3071
|
te as q,
|
|
3071
|
-
|
|
3072
|
+
Fs as r,
|
|
3072
3073
|
Vo as s,
|
|
3073
3074
|
de as t,
|
|
3074
3075
|
Ne as u,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@still-forest/canopy",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0",
|
|
4
4
|
"author": "John Szymanowski",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "React components, built with Tailwind CSS, Shadcn, and VisX",
|
|
@@ -37,6 +37,11 @@
|
|
|
37
37
|
"types": "./dist/typography.d.ts",
|
|
38
38
|
"import": "./dist/typography.js",
|
|
39
39
|
"require": "./dist/typography.cjs"
|
|
40
|
+
},
|
|
41
|
+
"./utilities": {
|
|
42
|
+
"types": "./dist/utilities.d.ts",
|
|
43
|
+
"import": "./dist/utilities.js",
|
|
44
|
+
"require": "./dist/utilities.cjs"
|
|
40
45
|
}
|
|
41
46
|
},
|
|
42
47
|
"files": [
|
|
@@ -82,7 +87,7 @@
|
|
|
82
87
|
"devDependencies": {
|
|
83
88
|
"@biomejs/biome": "2.1.2",
|
|
84
89
|
"@still-forest/biomejs-config": "2.0.0",
|
|
85
|
-
"@storybook/addon-docs": "
|
|
90
|
+
"@storybook/addon-docs": "9.0.16",
|
|
86
91
|
"@storybook/addon-themes": "9.0.16",
|
|
87
92
|
"@storybook/builder-vite": "9.0.16",
|
|
88
93
|
"@storybook/react-vite": "9.0.16",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { j as m, c as o } from "./utils-D_B8C9Kp.js";
|
|
2
|
-
import { T as p } from "./Heading-RoEgEUyn.js";
|
|
3
|
-
const c = ({ children: r, className: s, as: a = "p", ...t }) => /* @__PURE__ */ m.jsx(p, { as: a, className: o("mb-4", s), ...t, children: r });
|
|
4
|
-
export {
|
|
5
|
-
c as P
|
|
6
|
-
};
|