@functionalui/functionalui 0.2.1 → 0.2.4
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/Avatar-BK9MFMsZ.cjs +1 -0
- package/dist/Avatar-CQA0mEVW.js +118 -0
- package/dist/Button-CpTXDsI7.js +215 -0
- package/dist/Button-rg5gSHcQ.cjs +1 -0
- package/dist/Checkbox-BHpT6PHl.cjs +1 -0
- package/dist/Checkbox-C29jP71p.js +96 -0
- package/dist/GlobalEventContext-D9ug9s1O.cjs +1 -0
- package/dist/GlobalEventContext-DUmT3Vay.js +49 -0
- package/dist/GlobalEventPortal-BIdCGd-m.cjs +1 -0
- package/dist/GlobalEventPortal-GjfUDr2B.js +17 -0
- package/dist/LabelText-BUslE9cx.cjs +1 -0
- package/dist/LabelText-D7QIWtWj.js +35 -0
- package/dist/Modal-BRIYhcOg.cjs +3 -0
- package/dist/Modal-DXLyt-j4.js +1290 -0
- package/dist/SpringEnterOffsetBy-BVN6rm57.cjs +1 -0
- package/dist/SpringEnterOffsetBy-DMSIQgV3.js +56 -0
- package/dist/TableHeader-BAdYoCbb.cjs +1 -0
- package/dist/TableHeader-Da0XxILB.js +103 -0
- package/dist/TableRow-BlJSvake.js +90 -0
- package/dist/TableRow-Bq58CTbU.cjs +1 -0
- package/dist/TagColor-BYKxfOU6.js +957 -0
- package/dist/TagColor-QGINp77p.cjs +1 -0
- package/dist/UIcon-B5rpDmHC.cjs +1 -0
- package/dist/UIcon-BHzbeYWw.js +245 -0
- package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
- package/dist/_commonjsHelpers-DwGv2jUC.cjs +1 -0
- package/dist/admonition/index.cjs +1 -0
- package/dist/admonition/index.d.ts +27 -0
- package/dist/admonition/index.mjs +88 -0
- package/dist/avatar/index.cjs +1 -0
- package/dist/avatar/index.d.ts +115 -0
- package/dist/avatar/index.mjs +4 -0
- package/dist/avatar-group/index.cjs +1 -0
- package/dist/avatar-group/index.d.ts +120 -0
- package/dist/avatar-group/index.mjs +52 -0
- package/dist/button/index.cjs +1 -0
- package/dist/button/index.d.ts +249 -0
- package/dist/button/index.mjs +4 -0
- package/dist/checkbox/index.cjs +1 -0
- package/dist/checkbox/index.d.ts +32 -0
- package/dist/checkbox/index.mjs +4 -0
- package/dist/checkboxes/index.cjs +1 -0
- package/dist/checkboxes/index.d.ts +38 -0
- package/dist/checkboxes/index.mjs +80 -0
- package/dist/chip/index.cjs +1 -0
- package/dist/chip/index.d.ts +159 -0
- package/dist/chip/index.mjs +132 -0
- package/dist/classes-CBD1K4L1.js +779 -0
- package/dist/classes-CVxy1f4M.js +137 -0
- package/dist/classes-CtwIjJdw.cjs +1 -0
- package/dist/classes-HsjFV5aN.cjs +1 -0
- package/dist/color-picker/index.cjs +1 -0
- package/dist/color-picker/index.d.ts +14 -0
- package/dist/color-picker/index.mjs +234 -0
- package/dist/component-B1mkowwk.cjs +1 -0
- package/dist/component-B6F6g6i4.cjs +1 -0
- package/dist/component-BbvCmqLI.cjs +1 -0
- package/dist/component-Bh3EPTN0.cjs +1 -0
- package/dist/component-BvHdlcdE.js +9 -0
- package/dist/component-C1Gs4nVu.js +55 -0
- package/dist/component-CBIQe7z5.js +29 -0
- package/dist/component-CW2JPBAq.js +59 -0
- package/dist/component-D-EEi7NI.cjs +1 -0
- package/dist/component-D0wwK4KY.js +9 -0
- package/dist/component-D5nxKQnT.js +55 -0
- package/dist/component-D92LT0Mq.cjs +1 -0
- package/dist/component-DCHO9d6d.js +55 -0
- package/dist/component-DRXQXr2G.js +36 -0
- package/dist/component-D_igOAz3.cjs +1 -0
- package/dist/component-DdQu0mLI.js +31 -0
- package/dist/component-FS_2VwVz.cjs +1 -0
- package/dist/component-JigdcRMd.cjs +1 -0
- package/dist/container/index.cjs +1 -0
- package/dist/container/index.d.ts +238 -0
- package/dist/container/index.mjs +4 -0
- package/dist/contexts/notifications/index.cjs +1 -0
- package/dist/contexts/notifications/index.d.ts +2 -0
- package/dist/contexts/notifications/index.mjs +6 -0
- package/dist/contexts/ui/index.cjs +1 -0
- package/dist/contexts/ui/index.d.ts +2 -0
- package/dist/contexts/ui/index.mjs +35 -0
- package/dist/createTextElement-Cgrvdwvh.js +32 -0
- package/dist/createTextElement-DITFvK9p.cjs +1 -0
- package/dist/css/index.cjs +1 -0
- package/dist/css/index.css +1 -0
- package/dist/css/index.d.ts +1 -0
- package/dist/css/index.mjs +1 -0
- package/dist/div-measure/index.cjs +1 -0
- package/dist/div-measure/index.d.ts +13 -0
- package/dist/div-measure/index.mjs +26 -0
- package/dist/feather-sprite.svg +1 -0
- package/dist/gallery-modal/index.cjs +1 -0
- package/dist/gallery-modal/index.d.ts +11 -0
- package/dist/gallery-modal/index.mjs +464 -0
- package/dist/generics-9F1CmKPb.cjs +1 -0
- package/dist/generics-BrMr2-Gs.js +5 -0
- package/dist/generics-C-WSPclF.js +19 -0
- package/dist/generics-D33J7ILI.js +5 -0
- package/dist/generics-DE1oV0MV.cjs +1 -0
- package/dist/generics-nyvJhwQE.cjs +1 -0
- package/dist/global-event-portal/index.cjs +1 -0
- package/dist/global-event-portal/index.d.ts +8 -0
- package/dist/global-event-portal/index.mjs +4 -0
- package/dist/icons/index.cjs +1 -0
- package/dist/icons/index.d.ts +457 -0
- package/dist/icons/index.mjs +5 -0
- package/dist/icons-B8R1UT86.js +147 -0
- package/dist/icons-DSpaHhtT.cjs +1 -0
- package/dist/input-image/index.cjs +1 -0
- package/dist/input-image/index.d.ts +18 -0
- package/dist/input-image/index.mjs +106 -0
- package/dist/input-text/index.cjs +1 -0
- package/dist/input-text/index.d.ts +199 -0
- package/dist/input-text/index.mjs +246 -0
- package/dist/inset-group/index.cjs +1 -0
- package/dist/inset-group/index.d.ts +33 -0
- package/dist/inset-group/index.mjs +105 -0
- package/dist/label-text/index.cjs +1 -0
- package/dist/label-text/index.d.ts +11 -0
- package/dist/label-text/index.mjs +4 -0
- package/dist/layout/index.cjs +1 -0
- package/dist/layout/index.d.ts +163 -0
- package/dist/layout/index.mjs +4 -0
- package/dist/loading-spinner/index.cjs +1 -0
- package/dist/loading-spinner/index.d.ts +33 -0
- package/dist/loading-spinner/index.mjs +101 -0
- package/dist/modal/index.cjs +1 -0
- package/dist/modal/index.d.ts +105 -0
- package/dist/modal/index.mjs +4 -0
- package/dist/notification-system/index.cjs +1 -0
- package/dist/notification-system/index.d.ts +5 -0
- package/dist/notification-system/index.mjs +158 -0
- package/dist/portals/index.cjs +1 -0
- package/dist/portals/index.d.ts +10 -0
- package/dist/portals/index.mjs +4 -0
- package/dist/radio/index.cjs +1 -0
- package/dist/radio/index.d.ts +36 -0
- package/dist/radio/index.mjs +121 -0
- package/dist/react-spring_web.modern-DgQDaJ06.js +2304 -0
- package/dist/react-spring_web.modern-W3Nkoq_6.cjs +1 -0
- package/dist/select-spring/index.cjs +1 -0
- package/dist/select-spring/index.d.ts +70 -0
- package/dist/select-spring/index.mjs +471 -0
- package/dist/spring-enter/index.cjs +1 -0
- package/dist/spring-enter/index.d.ts +16 -0
- package/dist/spring-enter/index.mjs +45 -0
- package/dist/spring-enter-offset-by/index.cjs +1 -0
- package/dist/spring-enter-offset-by/index.d.ts +17 -0
- package/dist/spring-enter-offset-by/index.mjs +5 -0
- package/dist/spring-menu-transition/index.cjs +1 -0
- package/dist/spring-menu-transition/index.d.ts +15 -0
- package/dist/spring-menu-transition/index.mjs +43 -0
- package/dist/spring-open-close-height/index.cjs +1 -0
- package/dist/spring-open-close-height/index.d.ts +9 -0
- package/dist/spring-open-close-height/index.mjs +19 -0
- package/dist/styled/button/index.cjs +1 -0
- package/dist/styled/button/index.d.ts +2 -0
- package/dist/styled/button/index.mjs +4 -0
- package/dist/styled/inputs/text/index.cjs +1 -0
- package/dist/styled/inputs/text/index.d.ts +2 -0
- package/dist/styled/inputs/text/index.mjs +4 -0
- package/dist/styled/inputs/text-area/index.cjs +1 -0
- package/dist/styled/inputs/text-area/index.d.ts +2 -0
- package/dist/styled/inputs/text-area/index.mjs +4 -0
- package/dist/styled/li/index.cjs +1 -0
- package/dist/styled/li/index.d.ts +2 -0
- package/dist/styled/li/index.mjs +4 -0
- package/dist/styled/ul/index.cjs +1 -0
- package/dist/styled/ul/index.d.ts +2 -0
- package/dist/styled/ul/index.mjs +4 -0
- package/dist/table-grid/index.cjs +1 -0
- package/dist/table-grid/index.d.ts +70 -0
- package/dist/table-grid/index.mjs +49 -0
- package/dist/table-header/index.cjs +1 -0
- package/dist/table-header/index.d.ts +53 -0
- package/dist/table-header/index.mjs +4 -0
- package/dist/table-row/index.cjs +1 -0
- package/dist/table-row/index.d.ts +54 -0
- package/dist/table-row/index.mjs +4 -0
- package/dist/tabs/index.cjs +1 -0
- package/dist/tabs/index.d.ts +21 -0
- package/dist/tabs/index.mjs +134 -0
- package/dist/tag-color/index.cjs +1 -0
- package/dist/tag-color/index.d.ts +104 -0
- package/dist/tag-color/index.mjs +4 -0
- package/dist/text-area/index.cjs +1 -0
- package/dist/text-area/index.d.ts +212 -0
- package/dist/text-area/index.mjs +160 -0
- package/dist/texts/header/index.cjs +1 -0
- package/dist/texts/header/index.d.ts +2 -0
- package/dist/texts/header/index.mjs +28 -0
- package/dist/texts/p/index.cjs +1 -0
- package/dist/texts/p/index.d.ts +2 -0
- package/dist/texts/p/index.mjs +4 -0
- package/dist/texts/span/index.cjs +1 -0
- package/dist/texts/span/index.d.ts +2 -0
- package/dist/texts/span/index.mjs +4 -0
- package/dist/toggle-switch/index.cjs +1 -0
- package/dist/toggle-switch/index.d.ts +35 -0
- package/dist/toggle-switch/index.mjs +100 -0
- package/dist/types-34thzuQ5.js +134 -0
- package/dist/types-B3Ew5Ber.cjs +1 -0
- package/dist/types-B6XaG3V2.js +65 -0
- package/dist/types-BL1gBa8J.cjs +1 -0
- package/dist/types-BNUi2DUD.js +234 -0
- package/dist/types-BWsKfOhf.js +76 -0
- package/dist/types-BXyuQRbv.js +52 -0
- package/dist/types-BciByhvn.cjs +1 -0
- package/dist/types-BhBb436R.cjs +1 -0
- package/dist/types-Bh_j-nXM.js +168 -0
- package/dist/types-BnEsY_pc.cjs +1 -0
- package/dist/types-BuixDDod.js +12 -0
- package/dist/types-BzOxElrp.cjs +1 -0
- package/dist/types-CQP0_A_u.cjs +1 -0
- package/dist/types-Cev70RJC.cjs +1 -0
- package/dist/types-Cj8dOa0j.cjs +1 -0
- package/dist/types-CyVpnRmY.cjs +1 -0
- package/dist/types-DDcRx4Wz.cjs +1 -0
- package/dist/types-DNLw5jE2.js +151 -0
- package/dist/types-DZ_qlO_d.cjs +1 -0
- package/dist/types-DamZRbFt.js +4 -0
- package/dist/types-DevrYOgX.cjs +1 -0
- package/dist/types-DgSz2H9f.js +14 -0
- package/dist/types-DmnAtXuW.js +17 -0
- package/dist/types-Dyu7oUOO.js +4 -0
- package/dist/types-OOX58qQg.js +17 -0
- package/dist/types.cjs +1 -0
- package/dist/types.d.ts +2062 -0
- package/dist/types.mjs +177 -0
- package/dist/useClickOutsideDOM-CBmttEFU.js +16 -0
- package/dist/useClickOutsideDOM-Dd6ewH8B.cjs +1 -0
- package/dist/useCombinedRef-COuiqHjO.js +14 -0
- package/dist/useCombinedRef-DZxHQ7PL.cjs +1 -0
- package/dist/values-B5r2bYNJ.js +75 -0
- package/dist/values-C40_Fyfk.cjs +1 -0
- package/dist/values-CSE3dLnv.js +200 -0
- package/dist/values-D-Y_dNaF.cjs +1 -0
- package/dist/web-B_p0FWHf.js +132 -0
- package/dist/web-yC_cLoAC.cjs +1 -0
- package/package.json +2 -4
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { jsx as w } from "react/jsx-runtime";
|
|
2
|
+
import { a as x } from "./react-spring_web.modern-DgQDaJ06.js";
|
|
3
|
+
import { t as z, w as Q, M as V, u as m, v as n, z as y, G as h, P as p, A as l, D as b, m as g, f as d, i as o, j as SS, a as _S, b as ES, h as OS, e as AS, g as LS, k as RS, c as TS, l as sS, B as CS, C as IS, d as DS, O as fS, n as uS, K as aS, H as GS, I as BS, J as NS, o as PS } from "./classes-CBD1K4L1.js";
|
|
4
|
+
const MS = ({
|
|
5
|
+
margin: _,
|
|
6
|
+
marginTop: E,
|
|
7
|
+
marginBottom: O,
|
|
8
|
+
marginLeft: A,
|
|
9
|
+
marginRight: L,
|
|
10
|
+
padding: R,
|
|
11
|
+
paddingTop: T,
|
|
12
|
+
paddingBottom: s,
|
|
13
|
+
paddingLeft: C,
|
|
14
|
+
paddingRight: I,
|
|
15
|
+
boxShadow: D,
|
|
16
|
+
borderRadius: f,
|
|
17
|
+
borderBottomLeftRadius: u,
|
|
18
|
+
borderBottomRightRadius: a,
|
|
19
|
+
borderTopLeftRadius: G,
|
|
20
|
+
borderTopRightRadius: B,
|
|
21
|
+
borderStyle: N,
|
|
22
|
+
borderLeftStyle: P,
|
|
23
|
+
borderRightStyle: e,
|
|
24
|
+
borderTopStyle: i,
|
|
25
|
+
borderBottomStyle: t,
|
|
26
|
+
borderWidth: M,
|
|
27
|
+
bgColor: H,
|
|
28
|
+
paletteColor: F,
|
|
29
|
+
borderColor: U,
|
|
30
|
+
outlineColor: r,
|
|
31
|
+
boxSizing: Y,
|
|
32
|
+
top: c,
|
|
33
|
+
bottom: j,
|
|
34
|
+
left: k,
|
|
35
|
+
right: K,
|
|
36
|
+
type: v,
|
|
37
|
+
cursor: X,
|
|
38
|
+
disabled: J,
|
|
39
|
+
children: W,
|
|
40
|
+
className: $,
|
|
41
|
+
ref: Z,
|
|
42
|
+
...q
|
|
43
|
+
}) => {
|
|
44
|
+
const S = {};
|
|
45
|
+
return _ && (S[z[_]] = !0), E && (S[Q[E]] = !0), O && (S[V[O]] = !0), A && (S[m[A]] = !0), L && (S[n[L]] = !0), R && (S[y[R]] = !0), T && (S[h[T]] = !0), s && (S[p[s]] = !0), C && (S[l[C]] = !0), I && (S[b[I]] = !0), D && (S[g[D]] = !0), f && (S[d[f]] = !0), u && (S[o[u]] = !0), a && (S[SS[a]] = !0), G && (S[_S[G]] = !0), B && (S[ES[B]] = !0), N && (S[OS[N]] = !0), P && (S[AS[P]] = !0), e && (S[LS[e]] = !0), i && (S[RS[i]] = !0), t && (S[TS[t]] = !0), M && (S[sS[M]] = !0), H && (S[CS[H]] = !0), F && (S[IS[F]] = !0), U && (S[DS[U]] = !0), r && (S[fS[r]] = !0), Y && (S[uS[Y]] = !0), c && (S[aS[c]] = !0), j && (S[GS[j]] = !0), k && (S[BS[k]] = !0), K && (S[NS[K]] = !0), X && (S[PS[X]] = !0), /* @__PURE__ */ w(
|
|
46
|
+
x.button,
|
|
47
|
+
{
|
|
48
|
+
ref: Z,
|
|
49
|
+
type: v,
|
|
50
|
+
disabled: J,
|
|
51
|
+
className: `${Object.keys(S).join(" ")} ${$ || ""}`,
|
|
52
|
+
...q,
|
|
53
|
+
children: W
|
|
54
|
+
}
|
|
55
|
+
);
|
|
56
|
+
};
|
|
57
|
+
export {
|
|
58
|
+
MS as F
|
|
59
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const w=require("react/jsx-runtime"),x=require("./react-spring_web.modern-W3Nkoq_6.cjs"),_=require("./classes-CtwIjJdw.cjs"),J=({margin:E,marginTop:O,marginBottom:A,marginLeft:L,marginRight:R,padding:C,paddingTop:T,paddingBottom:I,paddingLeft:u,paddingRight:D,boxShadow:f,borderRadius:e,borderBottomLeftRadius:i,borderBottomRightRadius:G,borderTopLeftRadius:N,borderTopRightRadius:B,borderStyle:P,borderLeftStyle:t,borderRightStyle:M,borderTopStyle:r,borderBottomStyle:s,borderWidth:c,bgColor:H,paletteColor:U,borderColor:F,outlineColor:Y,boxSizing:j,top:n,bottom:q,left:$,right:X,cursor:k,children:K,className:v,ref:W,...Z})=>{const S={};return E&&(S[_.MARGIN_CLASSES[E]]=!0),O&&(S[_.MARGIN_TOP_CLASSES[O]]=!0),A&&(S[_.MARGIN_BOTTOM_CLASSES[A]]=!0),L&&(S[_.MARGIN_LEFT_CLASSES[L]]=!0),R&&(S[_.MARGIN_RIGHT_CLASSES[R]]=!0),C&&(S[_.PADDING_CLASSES[C]]=!0),T&&(S[_.PADDING_TOP_CLASSES[T]]=!0),I&&(S[_.PADDING_BOTTOM_CLASSES[I]]=!0),u&&(S[_.PADDING_LEFT_CLASSES[u]]=!0),D&&(S[_.PADDING_RIGHT_CLASSES[D]]=!0),f&&(S[_.BOX_SHADOW_CLASSES[f]]=!0),e&&(S[_.BORDER_RADIUS_CLASSES[e]]=!0),i&&(S[_.BORDER_BOTTOM_LEFT_RADIUS_CLASSES[i]]=!0),G&&(S[_.BORDER_BOTTOM_RIGHT_RADIUS_CLASSES[G]]=!0),N&&(S[_.BORDER_TOP_LEFT_RADIUS_CLASSES[N]]=!0),B&&(S[_.BORDER_TOP_RIGHT_RADIUS_CLASSES[B]]=!0),P&&(S[_.BORDER_STYLE_CLASSES[P]]=!0),t&&(S[_.BORDER_LEFT_STYLE_CLASSES[t]]=!0),M&&(S[_.BORDER_RIGHT_STYLE_CLASSES[M]]=!0),r&&(S[_.BORDER_TOP_STYLE_CLASSES[r]]=!0),s&&(S[_.BORDER_BOTTOM_STYLE_CLASSES[s]]=!0),c&&(S[_.BORDER_WIDTH_CLASSES[c]]=!0),H&&(S[_.BACKGROUND_COLOR_CLASSES[H]]=!0),U&&(S[_.COLOR_CLASSES[U]]=!0),F&&(S[_.BORDER_COLOR_CLASSES[F]]=!0),Y&&(S[_.OUTLINE_COLOR_CLASSES[Y]]=!0),j&&(S[_.BOX_SIZING_CLASSES[j]]=!0),n&&(S[_.POSITION_TOP_CLASSES[n]]=!0),q&&(S[_.POSITION_BOTTOM_CLASSES[q]]=!0),$&&(S[_.POSITION_LEFT_CLASSES[$]]=!0),X&&(S[_.POSITION_RIGHT_CLASSES[X]]=!0),k&&(S[_.CURSOR_CLASSES[k]]=!0),w.jsx(x.animated.div,{ref:W,className:`${Object.keys(S).join(" ")} ${v||""}`,...Z,children:K})};exports.Container=J;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { jsx as Z } from "react/jsx-runtime";
|
|
2
|
+
import { a as q } from "./react-spring_web.modern-DgQDaJ06.js";
|
|
3
|
+
import { t as w, w as x, M as z, u as Q, v as V, z as m, G as y, P as n, A as h, D as l, m as p, f as b, i as g, j as d, a as o, b as SS, h as _S, e as ES, g as OS, k as AS, c as LS, l as RS, B as TS, C as sS, d as CS, O as IS, n as DS, K as fS, H as uS, I as aS, J as GS, o as BS } from "./classes-CBD1K4L1.js";
|
|
4
|
+
const iS = ({
|
|
5
|
+
margin: _,
|
|
6
|
+
marginTop: E,
|
|
7
|
+
marginBottom: O,
|
|
8
|
+
marginLeft: A,
|
|
9
|
+
marginRight: L,
|
|
10
|
+
padding: R,
|
|
11
|
+
paddingTop: T,
|
|
12
|
+
paddingBottom: s,
|
|
13
|
+
paddingLeft: C,
|
|
14
|
+
paddingRight: I,
|
|
15
|
+
boxShadow: D,
|
|
16
|
+
borderRadius: f,
|
|
17
|
+
borderBottomLeftRadius: u,
|
|
18
|
+
borderBottomRightRadius: a,
|
|
19
|
+
borderTopLeftRadius: G,
|
|
20
|
+
borderTopRightRadius: B,
|
|
21
|
+
borderStyle: N,
|
|
22
|
+
borderLeftStyle: P,
|
|
23
|
+
borderRightStyle: e,
|
|
24
|
+
borderTopStyle: i,
|
|
25
|
+
borderBottomStyle: M,
|
|
26
|
+
borderWidth: H,
|
|
27
|
+
bgColor: U,
|
|
28
|
+
paletteColor: t,
|
|
29
|
+
borderColor: F,
|
|
30
|
+
outlineColor: r,
|
|
31
|
+
boxSizing: Y,
|
|
32
|
+
top: c,
|
|
33
|
+
bottom: j,
|
|
34
|
+
left: k,
|
|
35
|
+
right: K,
|
|
36
|
+
className: X,
|
|
37
|
+
cursor: $,
|
|
38
|
+
children: v,
|
|
39
|
+
ref: J,
|
|
40
|
+
...W
|
|
41
|
+
}) => {
|
|
42
|
+
const S = {};
|
|
43
|
+
return _ && (S[w[_]] = !0), E && (S[x[E]] = !0), O && (S[z[O]] = !0), A && (S[Q[A]] = !0), L && (S[V[L]] = !0), R && (S[m[R]] = !0), T && (S[y[T]] = !0), s && (S[n[s]] = !0), C && (S[h[C]] = !0), I && (S[l[I]] = !0), D && (S[p[D]] = !0), f && (S[b[f]] = !0), u && (S[g[u]] = !0), a && (S[d[a]] = !0), G && (S[o[G]] = !0), B && (S[SS[B]] = !0), N && (S[_S[N]] = !0), P && (S[ES[P]] = !0), e && (S[OS[e]] = !0), i && (S[AS[i]] = !0), M && (S[LS[M]] = !0), H && (S[RS[H]] = !0), U && (S[TS[U]] = !0), t && (S[sS[t]] = !0), F && (S[CS[F]] = !0), r && (S[IS[r]] = !0), Y && (S[DS[Y]] = !0), c && (S[fS[c]] = !0), j && (S[uS[j]] = !0), k && (S[aS[k]] = !0), K && (S[GS[K]] = !0), $ && (S[BS[$]] = !0), /* @__PURE__ */ Z(
|
|
44
|
+
q.ul,
|
|
45
|
+
{
|
|
46
|
+
ref: J,
|
|
47
|
+
className: `${Object.keys(S).join(" ")} ${X || ""}`,
|
|
48
|
+
...W,
|
|
49
|
+
children: v
|
|
50
|
+
}
|
|
51
|
+
);
|
|
52
|
+
};
|
|
53
|
+
export {
|
|
54
|
+
iS as F
|
|
55
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const N=require("react/jsx-runtime"),O=require("./react-spring_web.modern-W3Nkoq_6.cjs"),_=require("./classes-CtwIjJdw.cjs"),a=({paletteColor:r,fontSize:e,fontFamily:E,fontWeight:s,fontStyle:L,textAlign:T,resize:u,textOutlineStyle:A,className:c,children:i,ref:t,...C})=>{const S={};return r&&(S[_.FONT_COLOR_CLASSES[r]]=!0),e&&(S[_.FONT_SIZE_CLASSES[e]]=!0),E&&(S[_.FONT_FAMILY_CLASSES[E]]=!0),s&&(S[_.FONT_WEIGHT_CLASSES[s]]=!0),L&&(S[_.FONT_STYLE_CLASSES[L]]=!0),T&&(S[_.TEXT_ALIGN_CLASSES[T]]=!0),u&&(S[_.ELEMENT_RESIZE_CLASSES[u]]=!0),A&&(S[_.OUTLINE_STYLE_CLASSES[A]]=!0),N.jsx(O.animated.textarea,{ref:t,className:`${Object.keys(S).join(" ")} ${c||""}`,...C,children:i})};exports.F__TextArea=a;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { jsx as Z } from "react/jsx-runtime";
|
|
2
|
+
import { a as q } from "./react-spring_web.modern-DgQDaJ06.js";
|
|
3
|
+
import { t as w, w as x, M as z, u as Q, v as V, z as m, G as y, P as n, A as h, D as p, m as l, f as b, i as g, j as d, a as o, b as SS, h as _S, e as ES, g as OS, k as AS, c as LS, l as RS, B as TS, C as sS, d as CS, O as IS, n as DS, K as fS, H as uS, I as aS, J as GS, o as BS } from "./classes-CBD1K4L1.js";
|
|
4
|
+
const eS = ({
|
|
5
|
+
margin: _,
|
|
6
|
+
marginTop: E,
|
|
7
|
+
marginBottom: O,
|
|
8
|
+
marginLeft: A,
|
|
9
|
+
marginRight: L,
|
|
10
|
+
padding: R,
|
|
11
|
+
paddingTop: T,
|
|
12
|
+
paddingBottom: s,
|
|
13
|
+
paddingLeft: C,
|
|
14
|
+
paddingRight: I,
|
|
15
|
+
boxShadow: D,
|
|
16
|
+
borderRadius: f,
|
|
17
|
+
borderBottomLeftRadius: u,
|
|
18
|
+
borderBottomRightRadius: a,
|
|
19
|
+
borderTopLeftRadius: G,
|
|
20
|
+
borderTopRightRadius: B,
|
|
21
|
+
borderStyle: N,
|
|
22
|
+
borderLeftStyle: P,
|
|
23
|
+
borderRightStyle: i,
|
|
24
|
+
borderTopStyle: e,
|
|
25
|
+
borderBottomStyle: M,
|
|
26
|
+
borderWidth: H,
|
|
27
|
+
bgColor: t,
|
|
28
|
+
paletteColor: F,
|
|
29
|
+
borderColor: U,
|
|
30
|
+
outlineColor: r,
|
|
31
|
+
boxSizing: Y,
|
|
32
|
+
top: c,
|
|
33
|
+
bottom: j,
|
|
34
|
+
left: k,
|
|
35
|
+
right: K,
|
|
36
|
+
cursor: X,
|
|
37
|
+
className: $,
|
|
38
|
+
children: v,
|
|
39
|
+
ref: J,
|
|
40
|
+
...W
|
|
41
|
+
}) => {
|
|
42
|
+
const S = {};
|
|
43
|
+
return _ && (S[w[_]] = !0), E && (S[x[E]] = !0), O && (S[z[O]] = !0), A && (S[Q[A]] = !0), L && (S[V[L]] = !0), R && (S[m[R]] = !0), T && (S[y[T]] = !0), s && (S[n[s]] = !0), C && (S[h[C]] = !0), I && (S[p[I]] = !0), D && (S[l[D]] = !0), f && (S[b[f]] = !0), u && (S[g[u]] = !0), a && (S[d[a]] = !0), G && (S[o[G]] = !0), B && (S[SS[B]] = !0), N && (S[_S[N]] = !0), P && (S[ES[P]] = !0), i && (S[OS[i]] = !0), e && (S[AS[e]] = !0), M && (S[LS[M]] = !0), H && (S[RS[H]] = !0), t && (S[TS[t]] = !0), F && (S[sS[F]] = !0), U && (S[CS[U]] = !0), r && (S[IS[r]] = !0), Y && (S[DS[Y]] = !0), c && (S[fS[c]] = !0), j && (S[uS[j]] = !0), k && (S[aS[k]] = !0), K && (S[GS[K]] = !0), X && (S[BS[X]] = !0), /* @__PURE__ */ Z(
|
|
44
|
+
q.li,
|
|
45
|
+
{
|
|
46
|
+
ref: J,
|
|
47
|
+
className: `${Object.keys(S).join(" ")} ${$ || ""}`,
|
|
48
|
+
...W,
|
|
49
|
+
children: v
|
|
50
|
+
}
|
|
51
|
+
);
|
|
52
|
+
};
|
|
53
|
+
export {
|
|
54
|
+
eS as F
|
|
55
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
+
import { a as D } from "./react-spring_web.modern-DgQDaJ06.js";
|
|
3
|
+
import { D as R, d as m, f as o, e as P, c as X, F as c, m as i, o as U, l as Y, n as j, G as J, J as M, A as $ } from "./classes-CVxy1f4M.js";
|
|
4
|
+
const W = ({
|
|
5
|
+
display: _,
|
|
6
|
+
flexDirection: L,
|
|
7
|
+
flexWrap: E,
|
|
8
|
+
flexJustifyContent: A,
|
|
9
|
+
flexAlignItem: s,
|
|
10
|
+
flexAlignContent: r,
|
|
11
|
+
gridGap: I,
|
|
12
|
+
gridRowGap: a,
|
|
13
|
+
gridColumnGap: C,
|
|
14
|
+
gridJustifyContent: N,
|
|
15
|
+
gridAlignContent: T,
|
|
16
|
+
justifySelf: u,
|
|
17
|
+
alignSelf: F,
|
|
18
|
+
className: t,
|
|
19
|
+
children: G,
|
|
20
|
+
ref: O,
|
|
21
|
+
...e
|
|
22
|
+
}) => {
|
|
23
|
+
const S = {};
|
|
24
|
+
return _ && (S[R[_]] = !0), L && (S[m[L]] = !0), E && (S[o[E]] = !0), A && (S[P[A]] = !0), s && (S[X[s]] = !0), r && (S[c[r]] = !0), I && (S[i[I]] = !0), a && (S[U[a]] = !0), C && (S[Y[C]] = !0), N && (S[j[N]] = !0), T && (S[J[T]] = !0), u && (S[M[u]] = !0), F && (S[$[F]] = !0), /* @__PURE__ */ f(
|
|
25
|
+
D.div,
|
|
26
|
+
{
|
|
27
|
+
ref: O,
|
|
28
|
+
className: `${Object.keys(S).join(" ")} ${t || ""}`,
|
|
29
|
+
...e,
|
|
30
|
+
children: G
|
|
31
|
+
}
|
|
32
|
+
);
|
|
33
|
+
};
|
|
34
|
+
export {
|
|
35
|
+
W as L
|
|
36
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const x=require("react/jsx-runtime"),J=require("./react-spring_web.modern-W3Nkoq_6.cjs"),_=require("./classes-CtwIjJdw.cjs"),Q=({margin:E,marginTop:O,marginBottom:A,marginLeft:L,marginRight:R,padding:T,paddingTop:C,paddingBottom:I,paddingLeft:u,paddingRight:D,boxShadow:f,borderRadius:e,borderBottomLeftRadius:G,borderBottomRightRadius:N,borderTopLeftRadius:B,borderTopRightRadius:i,borderStyle:P,borderLeftStyle:M,borderRightStyle:s,borderTopStyle:t,borderBottomStyle:U,borderWidth:c,bgColor:r,paletteColor:F,borderColor:H,outlineColor:Y,boxSizing:j,top:q,bottom:$,left:X,right:k,className:K,cursor:W,children:Z,ref:v,...w})=>{const S={};return E&&(S[_.MARGIN_CLASSES[E]]=!0),O&&(S[_.MARGIN_TOP_CLASSES[O]]=!0),A&&(S[_.MARGIN_BOTTOM_CLASSES[A]]=!0),L&&(S[_.MARGIN_LEFT_CLASSES[L]]=!0),R&&(S[_.MARGIN_RIGHT_CLASSES[R]]=!0),T&&(S[_.PADDING_CLASSES[T]]=!0),C&&(S[_.PADDING_TOP_CLASSES[C]]=!0),I&&(S[_.PADDING_BOTTOM_CLASSES[I]]=!0),u&&(S[_.PADDING_LEFT_CLASSES[u]]=!0),D&&(S[_.PADDING_RIGHT_CLASSES[D]]=!0),f&&(S[_.BOX_SHADOW_CLASSES[f]]=!0),e&&(S[_.BORDER_RADIUS_CLASSES[e]]=!0),G&&(S[_.BORDER_TOP_LEFT_RADIUS_CLASSES[G]]=!0),N&&(S[_.BORDER_TOP_RIGHT_RADIUS_CLASSES[N]]=!0),B&&(S[_.BORDER_BOTTOM_LEFT_RADIUS_CLASSES[B]]=!0),i&&(S[_.BORDER_BOTTOM_RIGHT_RADIUS_CLASSES[i]]=!0),P&&(S[_.BORDER_STYLE_CLASSES[P]]=!0),M&&(S[_.BORDER_LEFT_STYLE_CLASSES[M]]=!0),s&&(S[_.BORDER_RIGHT_STYLE_CLASSES[s]]=!0),t&&(S[_.BORDER_TOP_STYLE_CLASSES[t]]=!0),U&&(S[_.BORDER_BOTTOM_STYLE_CLASSES[U]]=!0),c&&(S[_.BORDER_WIDTH_CLASSES[c]]=!0),r&&(S[_.BACKGROUND_COLOR_CLASSES[r]]=!0),F&&(S[_.COLOR_CLASSES[F]]=!0),H&&(S[_.BORDER_COLOR_CLASSES[H]]=!0),Y&&(S[_.OUTLINE_COLOR_CLASSES[Y]]=!0),j&&(S[_.BOX_SIZING_CLASSES[j]]=!0),q&&(S[_.POSITION_TOP_CLASSES[q]]=!0),$&&(S[_.POSITION_BOTTOM_CLASSES[$]]=!0),X&&(S[_.POSITION_LEFT_CLASSES[X]]=!0),k&&(S[_.POSITION_RIGHT_CLASSES[k]]=!0),W&&(S[_.CURSOR_CLASSES[W]]=!0),x.jsx(J.animated.ul,{ref:v,className:`${Object.keys(S).join(" ")} ${K||""}`,...w,children:Z})};exports.F__Ul=Q;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsx as O } from "react/jsx-runtime";
|
|
2
|
+
import { a as e } from "./react-spring_web.modern-DgQDaJ06.js";
|
|
3
|
+
import { q as f, p as i, s as m, r as t, T as I, E as c, y as o, F as p } from "./classes-CBD1K4L1.js";
|
|
4
|
+
const G = ({
|
|
5
|
+
paletteColor: E,
|
|
6
|
+
fontSize: r,
|
|
7
|
+
fontFamily: _,
|
|
8
|
+
fontWeight: s,
|
|
9
|
+
fontStyle: a,
|
|
10
|
+
textAlign: L,
|
|
11
|
+
resize: T,
|
|
12
|
+
textOutlineStyle: A,
|
|
13
|
+
className: u,
|
|
14
|
+
children: C,
|
|
15
|
+
ref: F,
|
|
16
|
+
...N
|
|
17
|
+
}) => {
|
|
18
|
+
const S = {};
|
|
19
|
+
return E && (S[p[E]] = !0), r && (S[f[r]] = !0), _ && (S[i[_]] = !0), s && (S[m[s]] = !0), a && (S[t[a]] = !0), L && (S[I[L]] = !0), T && (S[c[T]] = !0), A && (S[o[A]] = !0), /* @__PURE__ */ O(
|
|
20
|
+
e.textarea,
|
|
21
|
+
{
|
|
22
|
+
ref: F,
|
|
23
|
+
className: `${Object.keys(S).join(" ")} ${u || ""}`,
|
|
24
|
+
...N,
|
|
25
|
+
children: C
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
G as F
|
|
31
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const J=require("react/jsx-runtime"),Q=require("./react-spring_web.modern-W3Nkoq_6.cjs"),_=require("./classes-CtwIjJdw.cjs"),V=({margin:E,marginTop:O,marginBottom:A,marginLeft:L,marginRight:R,padding:T,paddingTop:u,paddingBottom:C,paddingLeft:I,paddingRight:D,boxShadow:f,borderRadius:e,borderBottomLeftRadius:B,borderBottomRightRadius:G,borderTopLeftRadius:N,borderTopRightRadius:t,borderStyle:i,borderLeftStyle:P,borderRightStyle:M,borderTopStyle:s,borderBottomStyle:c,borderWidth:r,bgColor:F,paletteColor:H,borderColor:U,outlineColor:Y,boxSizing:j,top:q,bottom:$,left:n,right:X,type:W,cursor:k,disabled:Z,children:v,className:K,ref:w,...x})=>{const S={};return E&&(S[_.MARGIN_CLASSES[E]]=!0),O&&(S[_.MARGIN_TOP_CLASSES[O]]=!0),A&&(S[_.MARGIN_BOTTOM_CLASSES[A]]=!0),L&&(S[_.MARGIN_LEFT_CLASSES[L]]=!0),R&&(S[_.MARGIN_RIGHT_CLASSES[R]]=!0),T&&(S[_.PADDING_CLASSES[T]]=!0),u&&(S[_.PADDING_TOP_CLASSES[u]]=!0),C&&(S[_.PADDING_BOTTOM_CLASSES[C]]=!0),I&&(S[_.PADDING_LEFT_CLASSES[I]]=!0),D&&(S[_.PADDING_RIGHT_CLASSES[D]]=!0),f&&(S[_.BOX_SHADOW_CLASSES[f]]=!0),e&&(S[_.BORDER_RADIUS_CLASSES[e]]=!0),B&&(S[_.BORDER_TOP_LEFT_RADIUS_CLASSES[B]]=!0),G&&(S[_.BORDER_TOP_RIGHT_RADIUS_CLASSES[G]]=!0),N&&(S[_.BORDER_BOTTOM_LEFT_RADIUS_CLASSES[N]]=!0),t&&(S[_.BORDER_BOTTOM_RIGHT_RADIUS_CLASSES[t]]=!0),i&&(S[_.BORDER_STYLE_CLASSES[i]]=!0),P&&(S[_.BORDER_LEFT_STYLE_CLASSES[P]]=!0),M&&(S[_.BORDER_RIGHT_STYLE_CLASSES[M]]=!0),s&&(S[_.BORDER_TOP_STYLE_CLASSES[s]]=!0),c&&(S[_.BORDER_BOTTOM_STYLE_CLASSES[c]]=!0),r&&(S[_.BORDER_WIDTH_CLASSES[r]]=!0),F&&(S[_.BACKGROUND_COLOR_CLASSES[F]]=!0),H&&(S[_.COLOR_CLASSES[H]]=!0),U&&(S[_.BORDER_COLOR_CLASSES[U]]=!0),Y&&(S[_.OUTLINE_COLOR_CLASSES[Y]]=!0),j&&(S[_.BOX_SIZING_CLASSES[j]]=!0),q&&(S[_.POSITION_TOP_CLASSES[q]]=!0),$&&(S[_.POSITION_BOTTOM_CLASSES[$]]=!0),n&&(S[_.POSITION_LEFT_CLASSES[n]]=!0),X&&(S[_.POSITION_RIGHT_CLASSES[X]]=!0),k&&(S[_.CURSOR_CLASSES[k]]=!0),J.jsx(Q.animated.button,{ref:w,type:W,disabled:Z,className:`${Object.keys(S).join(" ")} ${K||""}`,...x,children:v})};exports.F__Button=V;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),s=require("./createTextElement-DITFvK9p.cjs"),c=({children:e,...t})=>{const n=s.createTextElement("p");return r.jsx(n,{...t,children:e})};exports.Text_P=c;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../component-D-EEi7NI.cjs");exports.Container=e.Container;
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
import { AnimatedProps } from '@react-spring/web';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { HTMLAttributes } from 'react';
|
|
4
|
+
import { ReactNode } from 'react';
|
|
5
|
+
import { Ref } from 'react';
|
|
6
|
+
|
|
7
|
+
declare enum BorderStyles {
|
|
8
|
+
None = 1,
|
|
9
|
+
Hidden = 2,
|
|
10
|
+
Dotted = 3,
|
|
11
|
+
Dashed = 4,
|
|
12
|
+
Solid = 5,
|
|
13
|
+
Double = 6,
|
|
14
|
+
Groove = 7,
|
|
15
|
+
Ridge = 8,
|
|
16
|
+
Inset = 9,
|
|
17
|
+
Outset = 10
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
declare enum BorderWidths {
|
|
21
|
+
Size0 = 1,
|
|
22
|
+
Size1 = 2,
|
|
23
|
+
Size2 = 3,
|
|
24
|
+
Size3 = 4,
|
|
25
|
+
Size4 = 5,
|
|
26
|
+
Size5 = 6,
|
|
27
|
+
Size6 = 7,
|
|
28
|
+
Size7 = 8
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare enum BoxShadows {
|
|
32
|
+
Size0 = 1,
|
|
33
|
+
Size1 = 2,
|
|
34
|
+
Size2 = 3,
|
|
35
|
+
Size3 = 4,
|
|
36
|
+
Size4 = 5,
|
|
37
|
+
Size5 = 6,
|
|
38
|
+
Size6 = 7
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
declare enum BoxSizings {
|
|
42
|
+
ContentBox = 1,
|
|
43
|
+
BorderBox = 2
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
declare enum ColorPalettes {
|
|
47
|
+
Transparent = 1,// (0, 1)
|
|
48
|
+
Grey1 = 2,
|
|
49
|
+
Grey2 = 3,
|
|
50
|
+
Grey3 = 4,
|
|
51
|
+
Grey4 = 5,
|
|
52
|
+
Grey5 = 6,
|
|
53
|
+
Grey6 = 7,
|
|
54
|
+
Grey7 = 8,
|
|
55
|
+
Grey8 = 9,
|
|
56
|
+
Grey9 = 10,
|
|
57
|
+
Grey10 = 11,// (2, 11)
|
|
58
|
+
Primary1 = 12,
|
|
59
|
+
Primary2 = 13,
|
|
60
|
+
Primary3 = 14,
|
|
61
|
+
Primary4 = 15,
|
|
62
|
+
Primary5 = 16,
|
|
63
|
+
Primary6 = 17,
|
|
64
|
+
Primary7 = 18,
|
|
65
|
+
Primary8 = 19,
|
|
66
|
+
Primary9 = 20,// (12, 20)
|
|
67
|
+
Secondary1 = 21,
|
|
68
|
+
Secondary2 = 22,
|
|
69
|
+
Secondary3 = 23,
|
|
70
|
+
Secondary4 = 24,
|
|
71
|
+
Secondary5 = 25,
|
|
72
|
+
Secondary6 = 26,
|
|
73
|
+
Secondary7 = 27,
|
|
74
|
+
Secondary8 = 28,
|
|
75
|
+
Secondary9 = 29,// (21, 29)
|
|
76
|
+
Red1 = 30,
|
|
77
|
+
Red2 = 31,
|
|
78
|
+
Red3 = 32,
|
|
79
|
+
Red4 = 33,
|
|
80
|
+
Red5 = 34,
|
|
81
|
+
Red6 = 35,
|
|
82
|
+
Red7 = 36,
|
|
83
|
+
Red8 = 37,
|
|
84
|
+
Red9 = 38,// (30, 38)
|
|
85
|
+
Green1 = 39,
|
|
86
|
+
Green2 = 40,
|
|
87
|
+
Green3 = 41,
|
|
88
|
+
Green4 = 42,
|
|
89
|
+
Green5 = 43,
|
|
90
|
+
Green6 = 44,
|
|
91
|
+
Green7 = 45,
|
|
92
|
+
Green8 = 46,
|
|
93
|
+
Green9 = 47,// (39, 47)
|
|
94
|
+
Blue1 = 48,
|
|
95
|
+
Blue2 = 49,
|
|
96
|
+
Blue3 = 50,
|
|
97
|
+
Blue4 = 51,
|
|
98
|
+
Blue5 = 52,
|
|
99
|
+
Blue6 = 53,
|
|
100
|
+
Blue7 = 54,
|
|
101
|
+
Blue8 = 55,
|
|
102
|
+
Blue9 = 56,// (48, 56)
|
|
103
|
+
Yellow1 = 57,
|
|
104
|
+
Yellow2 = 58,
|
|
105
|
+
Yellow3 = 59,
|
|
106
|
+
Yellow4 = 60,
|
|
107
|
+
Yellow5 = 61,
|
|
108
|
+
Yellow6 = 62,
|
|
109
|
+
Yellow7 = 63,
|
|
110
|
+
Yellow8 = 64,
|
|
111
|
+
Yellow9 = 65,// (57, 65)
|
|
112
|
+
Accent1_1 = 66,
|
|
113
|
+
Accent1_2 = 67,
|
|
114
|
+
Accent1_3 = 68,
|
|
115
|
+
Accent1_4 = 69,
|
|
116
|
+
Accent1_5 = 70,
|
|
117
|
+
Accent1_6 = 71,
|
|
118
|
+
Accent1_7 = 72,
|
|
119
|
+
Accent1_8 = 73,
|
|
120
|
+
Accent1_9 = 74,// (57, 65)
|
|
121
|
+
Accent2_1 = 75,
|
|
122
|
+
Accent2_2 = 76,
|
|
123
|
+
Accent2_3 = 77,
|
|
124
|
+
Accent2_4 = 78,
|
|
125
|
+
Accent2_5 = 79,
|
|
126
|
+
Accent2_6 = 80,
|
|
127
|
+
Accent2_7 = 81,
|
|
128
|
+
Accent2_8 = 82,
|
|
129
|
+
Accent2_9 = 83
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export declare const Container: FC<DivProps>;
|
|
133
|
+
|
|
134
|
+
declare enum Cursors {
|
|
135
|
+
Auto = 1,
|
|
136
|
+
Default = 2,
|
|
137
|
+
Pointer = 3,
|
|
138
|
+
ContextMenu = 4,
|
|
139
|
+
Help = 5,
|
|
140
|
+
Progress = 6,
|
|
141
|
+
Wait = 7,
|
|
142
|
+
Cell = 8,
|
|
143
|
+
Crosshair = 9,
|
|
144
|
+
Text = 10,
|
|
145
|
+
VerticalText = 11,
|
|
146
|
+
Alias = 12,
|
|
147
|
+
Copy = 13,
|
|
148
|
+
Move = 14,
|
|
149
|
+
NoDrop = 15,
|
|
150
|
+
NotAllowed = 16,
|
|
151
|
+
Grab = 17,
|
|
152
|
+
Grabbing = 18,
|
|
153
|
+
ZoomIn = 19,
|
|
154
|
+
ZoomOut = 20
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
declare interface DivProps extends AnimatedProps<HTMLAttributes<HTMLDivElement>>, StyleProps {
|
|
158
|
+
children?: ReactNode;
|
|
159
|
+
ref?: Ref<HTMLDivElement | null>;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
declare enum Positions {
|
|
163
|
+
Size0 = 1,
|
|
164
|
+
Size1 = 2,
|
|
165
|
+
Size2 = 3,
|
|
166
|
+
Size3 = 4,
|
|
167
|
+
Size4 = 5,
|
|
168
|
+
Size5 = 6,
|
|
169
|
+
Size6 = 7,
|
|
170
|
+
Size7 = 8,
|
|
171
|
+
Size8 = 9,
|
|
172
|
+
Size9 = 10,
|
|
173
|
+
Auto = 11
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
declare enum Radiuses {
|
|
177
|
+
Size0 = 1,
|
|
178
|
+
Size1 = 2,
|
|
179
|
+
Size2 = 3,
|
|
180
|
+
Size3 = 4,
|
|
181
|
+
Size4 = 5,
|
|
182
|
+
Size5 = 6,
|
|
183
|
+
Size6 = 7,
|
|
184
|
+
Size7 = 8,
|
|
185
|
+
Size8 = 9,
|
|
186
|
+
Size9 = 10
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
declare enum Spacings {
|
|
190
|
+
Size0 = 1,
|
|
191
|
+
Size1 = 2,
|
|
192
|
+
Size2 = 3,
|
|
193
|
+
Size3 = 4,
|
|
194
|
+
Size4 = 5,
|
|
195
|
+
Size5 = 6,
|
|
196
|
+
Size6 = 7,
|
|
197
|
+
Size7 = 8,
|
|
198
|
+
Size8 = 9,
|
|
199
|
+
Size9 = 10,
|
|
200
|
+
Auto = 11
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
declare interface StyleProps {
|
|
204
|
+
margin?: Spacings;
|
|
205
|
+
marginTop?: Spacings;
|
|
206
|
+
marginBottom?: Spacings;
|
|
207
|
+
marginLeft?: Spacings;
|
|
208
|
+
marginRight?: Spacings;
|
|
209
|
+
padding?: Spacings;
|
|
210
|
+
paddingTop?: Spacings;
|
|
211
|
+
paddingBottom?: Spacings;
|
|
212
|
+
paddingLeft?: Spacings;
|
|
213
|
+
paddingRight?: Spacings;
|
|
214
|
+
boxShadow?: BoxShadows;
|
|
215
|
+
borderRadius?: Radiuses;
|
|
216
|
+
borderBottomLeftRadius?: Radiuses;
|
|
217
|
+
borderBottomRightRadius?: Radiuses;
|
|
218
|
+
borderTopLeftRadius?: Radiuses;
|
|
219
|
+
borderTopRightRadius?: Radiuses;
|
|
220
|
+
borderStyle?: BorderStyles;
|
|
221
|
+
borderLeftStyle?: BorderStyles;
|
|
222
|
+
borderRightStyle?: BorderStyles;
|
|
223
|
+
borderTopStyle?: BorderStyles;
|
|
224
|
+
borderBottomStyle?: BorderStyles;
|
|
225
|
+
borderWidth?: BorderWidths;
|
|
226
|
+
bgColor?: ColorPalettes;
|
|
227
|
+
paletteColor?: ColorPalettes;
|
|
228
|
+
borderColor?: ColorPalettes;
|
|
229
|
+
outlineColor?: ColorPalettes;
|
|
230
|
+
boxSizing?: BoxSizings;
|
|
231
|
+
top?: Positions;
|
|
232
|
+
bottom?: Positions;
|
|
233
|
+
left?: Positions;
|
|
234
|
+
right?: Positions;
|
|
235
|
+
cursor?: Cursors;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export { }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../GlobalEventContext-D9ug9s1O.cjs");exports.ProvideGlobalEventContext=e.ProvideGlobalEventContext;exports.useGlobalEventContext=e.useGlobalEventContext;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const z=require("react/jsx-runtime"),t=require("../../generics-9F1CmKPb.cjs"),r=require("../../types-BciByhvn.cjs"),n=require("react"),u=n.createContext({theme:r.Themes.Default,baseFontSize:t.FontSizes.Size2||2,handleSetTheme:()=>{},onSetBaseFontSize:()=>{}});function l({children:o}){const s=h();return z.jsx(u.Provider,{value:s,children:o})}const F=()=>n.useContext(u);function h(){const[o,s]=n.useState(r.Themes.Default),S=e=>{s(e)},[c,a]=n.useState(t.FontSizes.Size2);return{theme:o,baseFontSize:c,handleSetTheme:S,onSetBaseFontSize:e=>{a(i=>i+e>8?t.FontSizes.Size8:i+e<1?t.FontSizes.Size1:i+e)}}}exports.ProvideUiContext=l;exports.useUiContext=F;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
3
|
+
import { d as t } from "../../generics-C-WSPclF.js";
|
|
4
|
+
import { a as r } from "../../types-BuixDDod.js";
|
|
5
|
+
import { useContext as z, useState as i, createContext as f } from "react";
|
|
6
|
+
const S = f({
|
|
7
|
+
theme: r.Default,
|
|
8
|
+
baseFontSize: t.Size2 || 2,
|
|
9
|
+
handleSetTheme: () => {
|
|
10
|
+
},
|
|
11
|
+
onSetBaseFontSize: () => {
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
function B({ children: n }) {
|
|
15
|
+
const o = h();
|
|
16
|
+
return /* @__PURE__ */ c(S.Provider, { value: o, children: n });
|
|
17
|
+
}
|
|
18
|
+
const T = () => z(S);
|
|
19
|
+
function h() {
|
|
20
|
+
const [n, o] = i(r.Default), a = (e) => {
|
|
21
|
+
o(e);
|
|
22
|
+
}, [u, m] = i(t.Size2);
|
|
23
|
+
return {
|
|
24
|
+
theme: n,
|
|
25
|
+
baseFontSize: u,
|
|
26
|
+
handleSetTheme: a,
|
|
27
|
+
onSetBaseFontSize: (e) => {
|
|
28
|
+
m((s) => s + e > 8 ? t.Size8 : s + e < 1 ? t.Size1 : s + e);
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export {
|
|
33
|
+
B as ProvideUiContext,
|
|
34
|
+
T as useUiContext
|
|
35
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { a as u } from "./react-spring_web.modern-DgQDaJ06.js";
|
|
2
|
+
import { q as C, p as L, s as T, r as A, T as h, o as N, F } from "./classes-CBD1K4L1.js";
|
|
3
|
+
import { createElement as O } from "react";
|
|
4
|
+
function y(t) {
|
|
5
|
+
function s(f, c) {
|
|
6
|
+
const {
|
|
7
|
+
paletteColor: S,
|
|
8
|
+
fontSize: a,
|
|
9
|
+
fontFamily: o,
|
|
10
|
+
fontWeight: n,
|
|
11
|
+
fontStyle: r,
|
|
12
|
+
textAlign: i,
|
|
13
|
+
cursor: l,
|
|
14
|
+
className: m,
|
|
15
|
+
children: p,
|
|
16
|
+
...E
|
|
17
|
+
} = f, _ = { ...E }, e = [];
|
|
18
|
+
return S && e.push(F[S]), a && e.push(C[a]), o && e.push(L[o]), n && e.push(T[n]), r && e.push(A[r]), i && e.push(h[i]), l && e.push(N[l]), O(
|
|
19
|
+
u[`${t}`],
|
|
20
|
+
{
|
|
21
|
+
ref: c,
|
|
22
|
+
className: [...e, m].filter(Boolean).join(" "),
|
|
23
|
+
..._
|
|
24
|
+
},
|
|
25
|
+
p
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
return s.displayName = `createElement(${String(t)})`, s;
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
y as c
|
|
32
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const p=require("./react-spring_web.modern-W3Nkoq_6.cjs"),t=require("./classes-CtwIjJdw.cjs"),L=require("react");function T(n){function s(u,E){const{paletteColor:S,fontSize:r,fontFamily:i,fontWeight:o,fontStyle:c,textAlign:l,cursor:a,className:_,children:f,...C}=u,m={...C},e=[];return S&&e.push(t.FONT_COLOR_CLASSES[S]),r&&e.push(t.FONT_SIZE_CLASSES[r]),i&&e.push(t.FONT_FAMILY_CLASSES[i]),o&&e.push(t.FONT_WEIGHT_CLASSES[o]),c&&e.push(t.FONT_STYLE_CLASSES[c]),l&&e.push(t.TEXT_ALIGN_CLASSES[l]),a&&e.push(t.CURSOR_CLASSES[a]),L.createElement(p.animated[`${n}`],{ref:E,className:[...e,_].filter(Boolean).join(" "),...m},f)}return s.displayName=`createElement(${String(n)})`,s}exports.createTextElement=T;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|