jcicl 0.0.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.
Files changed (59) hide show
  1. package/.chunks/AppBar.js +359 -0
  2. package/.chunks/AppContainer.js +71 -0
  3. package/.chunks/AppHeader.js +31 -0
  4. package/.chunks/Avatar.js +38 -0
  5. package/.chunks/AvatarWithImage.js +36 -0
  6. package/.chunks/BasicPage.js +31 -0
  7. package/.chunks/Button.js +486 -0
  8. package/.chunks/ButtonBase.js +874 -0
  9. package/.chunks/CompactNav.js +70 -0
  10. package/.chunks/Divider.js +311 -0
  11. package/.chunks/Flex.js +21 -0
  12. package/.chunks/Grid.js +18 -0
  13. package/.chunks/Input.js +4392 -0
  14. package/.chunks/Menu.js +3160 -0
  15. package/.chunks/Nav.js +2138 -0
  16. package/.chunks/TransitionGroupContext.js +342 -0
  17. package/.chunks/createSimplePaletteValueFilter.js +17 -0
  18. package/.chunks/createSvgIcon.js +249 -0
  19. package/.chunks/emotion-styled.browser.esm.js +1032 -0
  20. package/.chunks/jocologo.js +4 -0
  21. package/.chunks/memoTheme.js +15 -0
  22. package/.chunks/theme.js +3314 -0
  23. package/base/Avatar/Avatar/index.d.ts +1 -0
  24. package/base/Avatar/Avatar/index.js +4 -0
  25. package/base/Avatar/AvatarWithImage/index.d.ts +1 -0
  26. package/base/Avatar/AvatarWithImage/index.js +4 -0
  27. package/base/Avatar/index.d.ts +2 -0
  28. package/base/Avatar/index.js +6 -0
  29. package/base/Button/index.d.ts +1 -0
  30. package/base/Button/index.js +4 -0
  31. package/base/Divider/index.d.ts +1 -0
  32. package/base/Divider/index.js +4 -0
  33. package/base/Flex/index.d.ts +1 -0
  34. package/base/Flex/index.js +4 -0
  35. package/base/Grid/index.d.ts +1 -0
  36. package/base/Grid/index.js +4 -0
  37. package/base/Input/index.d.ts +1 -0
  38. package/base/Input/index.js +4 -0
  39. package/base/index.d.ts +7 -0
  40. package/base/index.js +16 -0
  41. package/index.d.ts +3 -0
  42. package/index.js +22 -0
  43. package/package.json +82 -0
  44. package/supercomposite/AppBar/index.d.ts +1 -0
  45. package/supercomposite/AppBar/index.js +4 -0
  46. package/supercomposite/AppHeader/index.d.ts +1 -0
  47. package/supercomposite/AppHeader/index.js +4 -0
  48. package/supercomposite/CompactNav/index.d.ts +1 -0
  49. package/supercomposite/CompactNav/index.js +4 -0
  50. package/supercomposite/Nav/index.d.ts +2 -0
  51. package/supercomposite/Nav/index.js +4 -0
  52. package/supercomposite/index.d.ts +3 -0
  53. package/supercomposite/index.js +8 -0
  54. package/templates/AppContainer/index.d.ts +1 -0
  55. package/templates/AppContainer/index.js +4 -0
  56. package/templates/BasicPage/index.d.ts +1 -0
  57. package/templates/BasicPage/index.js +4 -0
  58. package/templates/index.d.ts +2 -0
  59. package/templates/index.js +6 -0
@@ -0,0 +1,70 @@
1
+ import { jsx as n, jsxs as p } from "react/jsx-runtime";
2
+ import { useState as m } from "react";
3
+ import { n as s, i as f } from "./emotion-styled.browser.esm.js";
4
+ import { t as o } from "./theme.js";
5
+ import { B as u } from "./ButtonBase.js";
6
+ const x = s("div")({
7
+ display: "flex",
8
+ flexDirection: "column",
9
+ backgroundColor: "transparent",
10
+ alignItems: "center",
11
+ justifyContent: "flex-start",
12
+ maxHeight: "100%",
13
+ overflowY: "hidden",
14
+ flexShrink: 0,
15
+ gap: "1rem",
16
+ "&:hover": {
17
+ overflowY: "auto",
18
+ scrollbarColor: `${o.colors.darkGreen} ${o.colors.whiteGreen}`,
19
+ scrollbarWidth: "thin",
20
+ "&::webkit-scrollbar-thumb": {
21
+ borderRadius: "8px"
22
+ }
23
+ }
24
+ }), h = s(u, {
25
+ shouldForwardProp: (r) => f(r)
26
+ })(({ active: r }) => ({
27
+ display: "flex",
28
+ flexDirection: "column",
29
+ alignItems: "center",
30
+ justifyContent: "center",
31
+ padding: "0 8px 8px 8px",
32
+ transition: "313ms all ease-in-out",
33
+ backgroundColor: r ? o.colors.sunlight : "transparent",
34
+ boxShadow: r ? `0 0 8px -2px ${o.colors.darkGreen}` : "none",
35
+ "&:hover, :focus-visible": {
36
+ svg: {
37
+ backgroundColor: o.colors.sunlight
38
+ }
39
+ },
40
+ svg: {
41
+ fontSize: "2.1rem",
42
+ fill: o.colors.darkGreen,
43
+ backgroundColor: r ? o.colors.sunlight : "transparent",
44
+ borderRadius: "50%",
45
+ padding: "8px",
46
+ display: "flex",
47
+ alignItems: "center",
48
+ justifyContent: "center",
49
+ transition: "313ms all ease-in-out"
50
+ },
51
+ span: {
52
+ fontFamily: "Roboto, sans-serif",
53
+ fontSize: "12px",
54
+ fontWeight: "bold",
55
+ color: o.colors.darkGreen,
56
+ textAlign: "center"
57
+ }
58
+ })), y = ({ navItems: r }) => {
59
+ const [i, a] = m(""), l = (e, t) => {
60
+ a(e), t();
61
+ };
62
+ return /* @__PURE__ */ n(x, { children: r.map(({ icon: e, label: t = "", onClick: c = () => {
63
+ }, ...d }) => /* @__PURE__ */ p(h, { ...d, active: t === i, onClick: () => l(t, c), children: [
64
+ e,
65
+ /* @__PURE__ */ n("span", { children: t })
66
+ ] }, t)) });
67
+ };
68
+ export {
69
+ y as C
70
+ };
@@ -0,0 +1,311 @@
1
+ import { jsx as g } from "react/jsx-runtime";
2
+ import { n as D, i as A } from "./emotion-styled.browser.esm.js";
3
+ import { g as S, a as R, s as b, u as T, c as L, P as r, b as W, d as $, t as u } from "./theme.js";
4
+ import * as I from "react";
5
+ import { m } from "./memoTheme.js";
6
+ function O(t) {
7
+ return R("MuiDivider", t);
8
+ }
9
+ S("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]);
10
+ const V = (t) => {
11
+ const {
12
+ absolute: e,
13
+ children: i,
14
+ classes: o,
15
+ flexItem: p,
16
+ light: s,
17
+ orientation: a,
18
+ textAlign: l,
19
+ variant: n
20
+ } = t;
21
+ return W({
22
+ root: ["root", e && "absolute", n, s && "light", a === "vertical" && "vertical", p && "flexItem", i && "withChildren", i && a === "vertical" && "withChildrenVertical", l === "right" && a !== "vertical" && "textAlignRight", l === "left" && a !== "vertical" && "textAlignLeft"],
23
+ wrapper: ["wrapper", a === "vertical" && "wrapperVertical"]
24
+ }, O, o);
25
+ }, N = b("div", {
26
+ name: "MuiDivider",
27
+ slot: "Root",
28
+ overridesResolver: (t, e) => {
29
+ const {
30
+ ownerState: i
31
+ } = t;
32
+ return [e.root, i.absolute && e.absolute, e[i.variant], i.light && e.light, i.orientation === "vertical" && e.vertical, i.flexItem && e.flexItem, i.children && e.withChildren, i.children && i.orientation === "vertical" && e.withChildrenVertical, i.textAlign === "right" && i.orientation !== "vertical" && e.textAlignRight, i.textAlign === "left" && i.orientation !== "vertical" && e.textAlignLeft];
33
+ }
34
+ })(m(({
35
+ theme: t
36
+ }) => ({
37
+ margin: 0,
38
+ // Reset browser default style.
39
+ flexShrink: 0,
40
+ borderWidth: 0,
41
+ borderStyle: "solid",
42
+ borderColor: (t.vars || t).palette.divider,
43
+ borderBottomWidth: "thin",
44
+ variants: [{
45
+ props: {
46
+ absolute: !0
47
+ },
48
+ style: {
49
+ position: "absolute",
50
+ bottom: 0,
51
+ left: 0,
52
+ width: "100%"
53
+ }
54
+ }, {
55
+ props: {
56
+ light: !0
57
+ },
58
+ style: {
59
+ borderColor: t.vars ? `rgba(${t.vars.palette.dividerChannel} / 0.08)` : $(t.palette.divider, 0.08)
60
+ }
61
+ }, {
62
+ props: {
63
+ variant: "inset"
64
+ },
65
+ style: {
66
+ marginLeft: 72
67
+ }
68
+ }, {
69
+ props: {
70
+ variant: "middle",
71
+ orientation: "horizontal"
72
+ },
73
+ style: {
74
+ marginLeft: t.spacing(2),
75
+ marginRight: t.spacing(2)
76
+ }
77
+ }, {
78
+ props: {
79
+ variant: "middle",
80
+ orientation: "vertical"
81
+ },
82
+ style: {
83
+ marginTop: t.spacing(1),
84
+ marginBottom: t.spacing(1)
85
+ }
86
+ }, {
87
+ props: {
88
+ orientation: "vertical"
89
+ },
90
+ style: {
91
+ height: "100%",
92
+ borderBottomWidth: 0,
93
+ borderRightWidth: "thin"
94
+ }
95
+ }, {
96
+ props: {
97
+ flexItem: !0
98
+ },
99
+ style: {
100
+ alignSelf: "stretch",
101
+ height: "auto"
102
+ }
103
+ }, {
104
+ props: ({
105
+ ownerState: e
106
+ }) => !!e.children,
107
+ style: {
108
+ display: "flex",
109
+ whiteSpace: "nowrap",
110
+ textAlign: "center",
111
+ border: 0,
112
+ borderTopStyle: "solid",
113
+ borderLeftStyle: "solid",
114
+ "&::before, &::after": {
115
+ content: '""',
116
+ alignSelf: "center"
117
+ }
118
+ }
119
+ }, {
120
+ props: ({
121
+ ownerState: e
122
+ }) => e.children && e.orientation !== "vertical",
123
+ style: {
124
+ "&::before, &::after": {
125
+ width: "100%",
126
+ borderTop: `thin solid ${(t.vars || t).palette.divider}`,
127
+ borderTopStyle: "inherit"
128
+ }
129
+ }
130
+ }, {
131
+ props: ({
132
+ ownerState: e
133
+ }) => e.orientation === "vertical" && e.children,
134
+ style: {
135
+ flexDirection: "column",
136
+ "&::before, &::after": {
137
+ height: "100%",
138
+ borderLeft: `thin solid ${(t.vars || t).palette.divider}`,
139
+ borderLeftStyle: "inherit"
140
+ }
141
+ }
142
+ }, {
143
+ props: ({
144
+ ownerState: e
145
+ }) => e.textAlign === "right" && e.orientation !== "vertical",
146
+ style: {
147
+ "&::before": {
148
+ width: "90%"
149
+ },
150
+ "&::after": {
151
+ width: "10%"
152
+ }
153
+ }
154
+ }, {
155
+ props: ({
156
+ ownerState: e
157
+ }) => e.textAlign === "left" && e.orientation !== "vertical",
158
+ style: {
159
+ "&::before": {
160
+ width: "10%"
161
+ },
162
+ "&::after": {
163
+ width: "90%"
164
+ }
165
+ }
166
+ }]
167
+ }))), B = b("span", {
168
+ name: "MuiDivider",
169
+ slot: "Wrapper",
170
+ overridesResolver: (t, e) => {
171
+ const {
172
+ ownerState: i
173
+ } = t;
174
+ return [e.wrapper, i.orientation === "vertical" && e.wrapperVertical];
175
+ }
176
+ })(m(({
177
+ theme: t
178
+ }) => ({
179
+ display: "inline-block",
180
+ paddingLeft: `calc(${t.spacing(1)} * 1.2)`,
181
+ paddingRight: `calc(${t.spacing(1)} * 1.2)`,
182
+ variants: [{
183
+ props: {
184
+ orientation: "vertical"
185
+ },
186
+ style: {
187
+ paddingTop: `calc(${t.spacing(1)} * 1.2)`,
188
+ paddingBottom: `calc(${t.spacing(1)} * 1.2)`
189
+ }
190
+ }]
191
+ }))), d = /* @__PURE__ */ I.forwardRef(function(e, i) {
192
+ const o = T({
193
+ props: e,
194
+ name: "MuiDivider"
195
+ }), {
196
+ absolute: p = !1,
197
+ children: s,
198
+ className: a,
199
+ orientation: l = "horizontal",
200
+ component: n = s || l === "vertical" ? "div" : "hr",
201
+ flexItem: f = !1,
202
+ light: x = !1,
203
+ role: c = n !== "hr" ? "separator" : void 0,
204
+ textAlign: w = "center",
205
+ variant: y = "fullWidth",
206
+ ...C
207
+ } = o, h = {
208
+ ...o,
209
+ absolute: p,
210
+ component: n,
211
+ flexItem: f,
212
+ light: x,
213
+ orientation: l,
214
+ role: c,
215
+ textAlign: w,
216
+ variant: y
217
+ }, v = V(h);
218
+ return /* @__PURE__ */ g(N, {
219
+ as: n,
220
+ className: L(v.root, a),
221
+ role: c,
222
+ ref: i,
223
+ ownerState: h,
224
+ "aria-orientation": c === "separator" && (n !== "hr" || l === "vertical") ? l : void 0,
225
+ ...C,
226
+ children: s ? /* @__PURE__ */ g(B, {
227
+ className: v.wrapper,
228
+ ownerState: h,
229
+ children: s
230
+ }) : null
231
+ });
232
+ });
233
+ d && (d.muiSkipListHighlight = !0);
234
+ process.env.NODE_ENV !== "production" && (d.propTypes = {
235
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
236
+ // │ These PropTypes are generated from the TypeScript type definitions. │
237
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
238
+ // └─────────────────────────────────────────────────────────────────────┘
239
+ /**
240
+ * Absolutely position the element.
241
+ * @default false
242
+ */
243
+ absolute: r.bool,
244
+ /**
245
+ * The content of the component.
246
+ */
247
+ children: r.node,
248
+ /**
249
+ * Override or extend the styles applied to the component.
250
+ */
251
+ classes: r.object,
252
+ /**
253
+ * @ignore
254
+ */
255
+ className: r.string,
256
+ /**
257
+ * The component used for the root node.
258
+ * Either a string to use a HTML element or a component.
259
+ */
260
+ component: r.elementType,
261
+ /**
262
+ * If `true`, a vertical divider will have the correct height when used in flex container.
263
+ * (By default, a vertical divider will have a calculated height of `0px` if it is the child of a flex container.)
264
+ * @default false
265
+ */
266
+ flexItem: r.bool,
267
+ /**
268
+ * If `true`, the divider will have a lighter color.
269
+ * @default false
270
+ * @deprecated Use <Divider sx={{ opacity: 0.6 }} /> (or any opacity or color) instead. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
271
+ */
272
+ light: r.bool,
273
+ /**
274
+ * The component orientation.
275
+ * @default 'horizontal'
276
+ */
277
+ orientation: r.oneOf(["horizontal", "vertical"]),
278
+ /**
279
+ * @ignore
280
+ */
281
+ role: r.string,
282
+ /**
283
+ * The system prop that allows defining system overrides as well as additional CSS styles.
284
+ */
285
+ sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object]),
286
+ /**
287
+ * The text alignment.
288
+ * @default 'center'
289
+ */
290
+ textAlign: r.oneOf(["center", "left", "right"]),
291
+ /**
292
+ * The variant to use.
293
+ * @default 'fullWidth'
294
+ */
295
+ variant: r.oneOfType([r.oneOf(["fullWidth", "inset", "middle"]), r.string])
296
+ });
297
+ const M = D(d, {
298
+ shouldForwardProp: (t) => A(t) && typeof t == "string"
299
+ })(({ color: t = "midnight", opacity: e = 1, spacing: i = 8, vertical: o }) => ({
300
+ borderBottomColor: o ? "transparent" : u.colors[t],
301
+ borderRightColor: o ? u.colors[t] : "transparent",
302
+ opacity: e,
303
+ margin: o ? `0 ${i}px` : `${i}px 0`,
304
+ height: o ? "auto" : 0,
305
+ width: o ? 1 : "100%",
306
+ alignSelf: "stretch",
307
+ transition: "313ms all ease-in-out"
308
+ })), z = ({ orientation: t, ...e }) => /* @__PURE__ */ g(M, { vertical: t === "vertical", ...e });
309
+ export {
310
+ z as D
311
+ };
@@ -0,0 +1,21 @@
1
+ import { jsx as x } from "react/jsx-runtime";
2
+ import { n as d, i as p } from "./emotion-styled.browser.esm.js";
3
+ const w = d("div", {
4
+ shouldForwardProp: (t) => p(t) && typeof t == "string" && t !== "wrap"
5
+ })(
6
+ ({ column: t, alignItems: r, justifyContent: n, center: e, wrap: s, full: o, width: l, height: f, styles: m, padding: a, gap: i }) => ({
7
+ display: "flex",
8
+ flexDirection: t ? "column" : "row",
9
+ flexWrap: s ? "wrap" : "nowrap",
10
+ alignItems: r ?? (e ? "center" : "flex-start"),
11
+ justifyContent: n ?? (e ? "center" : "flex-start"),
12
+ width: l ?? (o ? "100%" : "auto"),
13
+ height: f ?? (o ? "100%" : "auto"),
14
+ gap: i ? `${i}rem` : 0,
15
+ padding: a ? `${a}rem` : 0,
16
+ ...m
17
+ })
18
+ ), h = ({ children: t, ...r }) => /* @__PURE__ */ x(w, { ...r, children: t });
19
+ export {
20
+ h as F
21
+ };
@@ -0,0 +1,18 @@
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { n as d } from "./emotion-styled.browser.esm.js";
3
+ const p = d("div")(
4
+ ({ columns: r, autoColumns: o, rows: e, autoRows: m, gap: t, columnGap: i, rowGap: n, styles: s }) => ({
5
+ gridTemplateColumns: r,
6
+ gridAutoColumns: o,
7
+ gridTemplateRows: e,
8
+ gridAutoRows: m,
9
+ gap: `${t}rem`,
10
+ columnGap: `${i}rem`,
11
+ rowGap: `${n}rem`,
12
+ display: "grid",
13
+ ...s
14
+ })
15
+ ), u = ({ children: r, ...o }) => /* @__PURE__ */ a(p, { ...o, children: r });
16
+ export {
17
+ u as G
18
+ };