@proyecto-viviana/ui 0.4.0 → 0.5.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/styles.css +0 -3
- package/dist/vite.d.ts +1 -0
- package/dist/vite.d.ts.map +1 -1
- package/dist/vite.js +9 -1
- package/dist/vite.js.map +1 -1
- package/dist/vite.jsx +9 -1
- package/dist/vite.jsx.map +1 -1
- package/dist/viviana-tokens.css +240 -171
- package/package.json +3 -57
- package/src/vite.ts +13 -1
- package/src/viviana-tokens.css +240 -171
- package/dist/CalendarCard.d.ts +0 -2
- package/dist/CalendarCard.d.ts.map +0 -1
- package/dist/CalendarCard.js +0 -97
- package/dist/CalendarCard.js.map +0 -1
- package/dist/CalendarCard.jsx +0 -51
- package/dist/CalendarCard.jsx.map +0 -1
- package/dist/Chip.d.ts +0 -2
- package/dist/Chip.d.ts.map +0 -1
- package/dist/Chip.js +0 -2
- package/dist/Chip.jsx +0 -2
- package/dist/Conversation.d.ts +0 -2
- package/dist/Conversation.d.ts.map +0 -1
- package/dist/Conversation.js +0 -177
- package/dist/Conversation.js.map +0 -1
- package/dist/Conversation.jsx +0 -107
- package/dist/Conversation.jsx.map +0 -1
- package/dist/EventCard.d.ts +0 -2
- package/dist/EventCard.d.ts.map +0 -1
- package/dist/EventCard.js +0 -173
- package/dist/EventCard.js.map +0 -1
- package/dist/EventCard.jsx +0 -96
- package/dist/EventCard.jsx.map +0 -1
- package/dist/Logo.d.ts +0 -2
- package/dist/Logo.d.ts.map +0 -1
- package/dist/Logo.js +0 -116
- package/dist/Logo.js.map +0 -1
- package/dist/Logo.jsx +0 -101
- package/dist/Logo.jsx.map +0 -1
- package/dist/PageLayout.d.ts +0 -2
- package/dist/PageLayout.d.ts.map +0 -1
- package/dist/PageLayout.js +0 -31
- package/dist/PageLayout.js.map +0 -1
- package/dist/PageLayout.jsx +0 -23
- package/dist/PageLayout.jsx.map +0 -1
- package/dist/ProfileCard.d.ts +0 -2
- package/dist/ProfileCard.d.ts.map +0 -1
- package/dist/ProfileCard.js +0 -78
- package/dist/ProfileCard.js.map +0 -1
- package/dist/ProfileCard.jsx +0 -53
- package/dist/ProfileCard.jsx.map +0 -1
- package/dist/ProjectCard.d.ts +0 -2
- package/dist/ProjectCard.d.ts.map +0 -1
- package/dist/ProjectCard.js +0 -164
- package/dist/ProjectCard.js.map +0 -1
- package/dist/ProjectCard.jsx +0 -133
- package/dist/ProjectCard.jsx.map +0 -1
- package/dist/TimelineItem.d.ts +0 -2
- package/dist/TimelineItem.d.ts.map +0 -1
- package/dist/TimelineItem.js +0 -137
- package/dist/TimelineItem.js.map +0 -1
- package/dist/TimelineItem.jsx +0 -70
- package/dist/TimelineItem.jsx.map +0 -1
- package/dist/chip2.js +0 -82
- package/dist/chip2.js.map +0 -1
- package/dist/chip2.jsx +0 -68
- package/dist/chip2.jsx.map +0 -1
- package/dist/custom/calendar-card/index.d.ts +0 -12
- package/dist/custom/calendar-card/index.d.ts.map +0 -1
- package/dist/custom/chip/index.d.ts +0 -16
- package/dist/custom/chip/index.d.ts.map +0 -1
- package/dist/custom/conversation/index.d.ts +0 -32
- package/dist/custom/conversation/index.d.ts.map +0 -1
- package/dist/custom/event-card/index.d.ts +0 -30
- package/dist/custom/event-card/index.d.ts.map +0 -1
- package/dist/custom/header/index.d.ts +0 -12
- package/dist/custom/header/index.d.ts.map +0 -1
- package/dist/custom/lateral-nav/index.d.ts +0 -32
- package/dist/custom/lateral-nav/index.d.ts.map +0 -1
- package/dist/custom/logo/index.d.ts +0 -11
- package/dist/custom/logo/index.d.ts.map +0 -1
- package/dist/custom/nav-header/index.d.ts +0 -13
- package/dist/custom/nav-header/index.d.ts.map +0 -1
- package/dist/custom/page-layout/index.d.ts +0 -7
- package/dist/custom/page-layout/index.d.ts.map +0 -1
- package/dist/custom/profile-card/index.d.ts +0 -16
- package/dist/custom/profile-card/index.d.ts.map +0 -1
- package/dist/custom/project-card/index.d.ts +0 -13
- package/dist/custom/project-card/index.d.ts.map +0 -1
- package/dist/custom/timeline-item/index.d.ts +0 -28
- package/dist/custom/timeline-item/index.d.ts.map +0 -1
- package/src/CalendarCard.ts +0 -1
- package/src/Chip.ts +0 -1
- package/src/Conversation.ts +0 -1
- package/src/EventCard.ts +0 -1
- package/src/Logo.ts +0 -1
- package/src/PageLayout.ts +0 -1
- package/src/ProfileCard.ts +0 -1
- package/src/ProjectCard.ts +0 -1
- package/src/TimelineItem.ts +0 -1
- package/src/custom/calendar-card/index.tsx +0 -115
- package/src/custom/chip/index.tsx +0 -78
- package/src/custom/conversation/index.tsx +0 -199
- package/src/custom/event-card/index.tsx +0 -232
- package/src/custom/header/index.tsx +0 -64
- package/src/custom/lateral-nav/index.tsx +0 -134
- package/src/custom/logo/index.tsx +0 -53
- package/src/custom/nav-header/index.tsx +0 -98
- package/src/custom/page-layout/index.tsx +0 -33
- package/src/custom/profile-card/index.tsx +0 -114
- package/src/custom/project-card/index.tsx +0 -76
- package/src/custom/timeline-item/index.tsx +0 -140
package/dist/EventCard.jsx
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
/* empty css */
|
|
2
|
-
/* empty css */
|
|
3
|
-
/* empty css */
|
|
4
|
-
import { Avatar } from "@proyecto-viviana/solid-spectrum";
|
|
5
|
-
import { For, Show } from "solid-js";
|
|
6
|
-
import { Button } from "@proyecto-viviana/solidaria-components";
|
|
7
|
-
//#region src/custom/event-card/index.tsx
|
|
8
|
-
const card = " _Pc13 sd13 _ta13 _Nc13 Pc13 oe13 ne13 ke13 je13 gDE5VE13 _nLeasBb13";
|
|
9
|
-
const decoration = " _Pa13 WJ13 _zI13 ZC13 Fx13 _Ha13";
|
|
10
|
-
const preview = " Za13 fu4qurc13 _Hb13";
|
|
11
|
-
const body = " sd13 _ta13 Ug13 qg13 Tf13 Qf13 Sf13 Rf13";
|
|
12
|
-
const title = " uk13 ucJ9TBTb13 ud3Euai13 uea13 ugb13 uhd13 uje13 u2NhKxcl13 uic13 -_6BNtrc-g13 vx13 xe13 _xa13 xX0cczbd13 _xX0cczba13 xfe13 _xfa13 xfX0cczbd13 _xfX0cczba13 _Fd13 _FnuYUweb13 pj1j4Pd13";
|
|
13
|
-
const meta = " sd13 eb13 Ul13 ql13 uk13 ucJ9TBTb13 ud3Euai13 uea13 ugb13 uhd13 uje13 u2NhKxcl13 uic13 -_6BNtrc-b13 vx13 xb13 _xa13 _Fd13 _FnuYUweb13 pxeCuqc13";
|
|
14
|
-
const metaItem = " sd13 eb13 Ub13 qb13";
|
|
15
|
-
const metaIcon = " pj1j4Pd13";
|
|
16
|
-
const attendeesRow = " sd13 eb13 Ue13 qe13";
|
|
17
|
-
const avatars = " sd13 eb13 Ub13 qb13";
|
|
18
|
-
const more = " uk13 ucJ9TBTb13 ud3Euai13 uea13 ugb13 uhd13 uje13 u2NhKxcl13 uic13 -_6BNtrc-b13 vx13 xb13 _xa13 _Fd13 _FnuYUweb13 pxeCuqc13";
|
|
19
|
-
const actionRow = " sd13 Ue13 qe13";
|
|
20
|
-
function EventCard(props) {
|
|
21
|
-
const displayedAttendees = () => props.attendees?.slice(0, 3) ?? [];
|
|
22
|
-
const remainingCount = () => {
|
|
23
|
-
return (props.attendeeCount ?? props.attendees?.length ?? 0) - displayedAttendees().length;
|
|
24
|
-
};
|
|
25
|
-
return <div class={`${card} ${props.class ?? ""}`}>
|
|
26
|
-
<Show when={props.decorationImage}>
|
|
27
|
-
<img class={decoration} src={props.decorationImage} alt="" />
|
|
28
|
-
</Show>
|
|
29
|
-
|
|
30
|
-
<Show when={props.image}>
|
|
31
|
-
<img class={preview} src={props.image} alt={props.title} />
|
|
32
|
-
</Show>
|
|
33
|
-
|
|
34
|
-
<div class={body}>
|
|
35
|
-
<h3 class={title}>{props.title}</h3>
|
|
36
|
-
|
|
37
|
-
<Show when={props.date || props.author}>
|
|
38
|
-
<div class={meta}>
|
|
39
|
-
<Show when={props.author}>
|
|
40
|
-
<div class={metaItem}>
|
|
41
|
-
<span class={metaIcon}>@</span>
|
|
42
|
-
<span>{props.author}</span>
|
|
43
|
-
</div>
|
|
44
|
-
</Show>
|
|
45
|
-
<Show when={props.date}>
|
|
46
|
-
<div class={metaItem}>
|
|
47
|
-
<span class={metaIcon}>⏱</span>
|
|
48
|
-
<span>{props.date}</span>
|
|
49
|
-
</div>
|
|
50
|
-
</Show>
|
|
51
|
-
</div>
|
|
52
|
-
</Show>
|
|
53
|
-
|
|
54
|
-
<Show when={displayedAttendees().length > 0}>
|
|
55
|
-
<div class={attendeesRow}>
|
|
56
|
-
<div class={avatars}>
|
|
57
|
-
<For each={displayedAttendees()}>
|
|
58
|
-
{(attendee) => <Avatar src={attendee.avatar} alt={attendee.name} size="sm" />}
|
|
59
|
-
</For>
|
|
60
|
-
</div>
|
|
61
|
-
<Show when={remainingCount() > 0}>
|
|
62
|
-
<span class={more}>+{remainingCount()} más</span>
|
|
63
|
-
</Show>
|
|
64
|
-
</div>
|
|
65
|
-
</Show>
|
|
66
|
-
|
|
67
|
-
<Show when={props.actions}>
|
|
68
|
-
<div class={actionRow}>
|
|
69
|
-
{typeof props.actions === "function" ? props.actions() : props.actions}
|
|
70
|
-
</div>
|
|
71
|
-
</Show>
|
|
72
|
-
</div>
|
|
73
|
-
</div>;
|
|
74
|
-
}
|
|
75
|
-
const listItem = " sd13 eb13 Ug13 qg13 Za13 Tt13 Qt13 St13 Rt13 oc13 nc13 kc13 jc13 _Wd13 ry13 g913 _je13";
|
|
76
|
-
const thumb = " ZF13 Fz13 _va13 ob13 nb13 kb13 jb13 _Hb13";
|
|
77
|
-
const listBody = " sd13 _ta13 _ub13 Na13";
|
|
78
|
-
const listTitle = " uk13 ucJ9TBTb13 ud3Euai13 uea13 ugb13 uhd13 uje13 u2NhKxcl13 uic13 -_6BNtrc-c13 vx13 xc13 _xa13 _Fd13 _FnuYUweb13 pXDQpyb13 _Nc13 Pc13 _Yb13 _7c13";
|
|
79
|
-
const listSubtitle = " uk13 ucJ9TBTb13 ud3Euai13 uea13 ugb13 uhd13 uje13 u2NhKxcl13 uic13 -_6BNtrc-b13 vx13 xb13 _xa13 _Fd13 _FnuYUweb13 pxeCuqc13 _Nc13 Pc13 _Yb13 _7c13";
|
|
80
|
-
function EventListItem(props) {
|
|
81
|
-
return <Button class={`${listItem} ${props.class ?? ""}`} onPress={() => props.onClick?.()}>
|
|
82
|
-
<Show when={props.image}>
|
|
83
|
-
<img class={thumb} src={props.image} alt={props.title} />
|
|
84
|
-
</Show>
|
|
85
|
-
<div class={listBody}>
|
|
86
|
-
<h4 class={listTitle}>{props.title}</h4>
|
|
87
|
-
<Show when={props.subtitle}>
|
|
88
|
-
<p class={listSubtitle}>{props.subtitle}</p>
|
|
89
|
-
</Show>
|
|
90
|
-
</div>
|
|
91
|
-
</Button>;
|
|
92
|
-
}
|
|
93
|
-
//#endregion
|
|
94
|
-
export { EventCard, EventListItem };
|
|
95
|
-
|
|
96
|
-
//# sourceMappingURL=EventCard.jsx.map
|
package/dist/EventCard.jsx.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EventCard.jsx","names":[],"sources":["../src/custom/event-card/index.tsx"],"sourcesContent":["import type { JSX } from \"solid-js\";\nimport { Show, For } from \"solid-js\";\nimport { Avatar } from \"@proyecto-viviana/solid-spectrum\";\nimport { Button as HeadlessButton } from \"@proyecto-viviana/solidaria-components\";\n// Styled via the S2 style() macro through viviana's own seam (../../style →\n// src/style.ts). An event summary card (S2 Card shape: preview + content +\n// footer) plus a compact list-item variant, on the S2 ramps in Silapse colors.\nimport { style } from \"../../style\" with { type: \"macro\" };\n\nexport interface EventCardProps {\n title: string;\n image?: string;\n date?: string;\n author?: string;\n authorAvatar?: string;\n attendees?: { avatar?: string; name: string }[];\n attendeeCount?: number;\n decorationImage?: string;\n /**\n * Actions to display below the event.\n * Use a function returning JSX for SSR compatibility: `actions={() => <Button>...</Button>}`\n */\n actions?: JSX.Element | (() => JSX.Element);\n class?: string;\n}\n\nconst card = style({\n position: \"relative\",\n display: \"flex\",\n flexDirection: \"column\",\n overflow: \"hidden\",\n borderRadius: \"xl\",\n backgroundColor: \"[var(--color-bg-200)]\",\n boxShadow: \"elevated\",\n});\n\nconst decoration = style({\n position: \"absolute\",\n top: 8,\n insetEnd: 8,\n width: 32,\n height: 32,\n objectFit: \"contain\",\n});\n\nconst preview = style({\n width: \"full\",\n aspectRatio: \"16/9\",\n objectFit: \"cover\",\n});\n\nconst body = style({\n display: \"flex\",\n flexDirection: \"column\",\n gap: 12,\n padding: 16,\n});\n\nconst title = style({\n font: \"heading\",\n color: \"[var(--color-accent)]\",\n});\n\nconst meta = style({\n display: \"flex\",\n alignItems: \"center\",\n gap: 16,\n font: \"ui-sm\",\n color: \"[var(--color-text-secondary)]\",\n});\n\nconst metaItem = style({\n display: \"flex\",\n alignItems: \"center\",\n gap: 4,\n});\n\nconst metaIcon = style({\n color: \"[var(--color-accent)]\",\n});\n\nconst attendeesRow = style({\n display: \"flex\",\n alignItems: \"center\",\n gap: 8,\n});\n\nconst avatars = style({\n display: \"flex\",\n alignItems: \"center\",\n gap: 4,\n});\n\nconst more = style({\n font: \"ui-sm\",\n color: \"[var(--color-text-secondary)]\",\n});\n\nconst actionRow = style({\n display: \"flex\",\n gap: 8,\n});\n\nexport function EventCard(props: EventCardProps) {\n const displayedAttendees = () => props.attendees?.slice(0, 3) ?? [];\n const remainingCount = () => {\n const total = props.attendeeCount ?? props.attendees?.length ?? 0;\n const displayed = displayedAttendees().length;\n return total - displayed;\n };\n\n return (\n <div class={`${card} ${props.class ?? \"\"}`}>\n <Show when={props.decorationImage}>\n <img class={decoration} src={props.decorationImage} alt=\"\" />\n </Show>\n\n <Show when={props.image}>\n <img class={preview} src={props.image} alt={props.title} />\n </Show>\n\n <div class={body}>\n <h3 class={title}>{props.title}</h3>\n\n <Show when={props.date || props.author}>\n <div class={meta}>\n <Show when={props.author}>\n <div class={metaItem}>\n <span class={metaIcon}>@</span>\n <span>{props.author}</span>\n </div>\n </Show>\n <Show when={props.date}>\n <div class={metaItem}>\n <span class={metaIcon}>⏱</span>\n <span>{props.date}</span>\n </div>\n </Show>\n </div>\n </Show>\n\n <Show when={displayedAttendees().length > 0}>\n <div class={attendeesRow}>\n <div class={avatars}>\n <For each={displayedAttendees()}>\n {(attendee) => <Avatar src={attendee.avatar} alt={attendee.name} size=\"sm\" />}\n </For>\n </div>\n <Show when={remainingCount() > 0}>\n <span class={more}>+{remainingCount()} más</span>\n </Show>\n </div>\n </Show>\n\n <Show when={props.actions}>\n <div class={actionRow}>\n {typeof props.actions === \"function\" ? props.actions() : props.actions}\n </div>\n </Show>\n </div>\n </div>\n );\n}\n\nexport interface EventListItemProps {\n title: string;\n image?: string;\n subtitle?: string;\n onClick?: () => void;\n class?: string;\n}\n\nconst listItem = style({\n display: \"flex\",\n alignItems: \"center\",\n gap: 12,\n width: \"full\",\n padding: 8,\n borderRadius: \"lg\",\n textAlign: \"start\",\n cursor: \"pointer\",\n backgroundColor: \"transparent\",\n borderStyle: \"none\",\n});\n\nconst thumb = style({\n width: 48,\n height: 48,\n flexShrink: 0,\n borderRadius: \"default\",\n objectFit: \"cover\",\n});\n\nconst listBody = style({\n display: \"flex\",\n flexDirection: \"column\",\n flexGrow: 1,\n minWidth: 0,\n});\n\nconst listTitle = style({\n font: \"ui\",\n fontWeight: \"medium\",\n color: \"[var(--color-primary-100)]\",\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n});\n\nconst listSubtitle = style({\n font: \"ui-sm\",\n color: \"[var(--color-text-secondary)]\",\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n});\n\nexport function EventListItem(props: EventListItemProps) {\n return (\n <HeadlessButton class={`${listItem} ${props.class ?? \"\"}`} onPress={() => props.onClick?.()}>\n <Show when={props.image}>\n <img class={thumb} src={props.image} alt={props.title} />\n </Show>\n <div class={listBody}>\n <h4 class={listTitle}>{props.title}</h4>\n <Show when={props.subtitle}>\n <p class={listSub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,MAAM,SAAQ,EAAG,EAAE;QAC9C,EAAE,KAAK;MACT,EAAE,IAAI;IACR,EAAE;AAEN"}
|
package/dist/Logo.d.ts
DELETED
package/dist/Logo.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../src/Logo.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
|
package/dist/Logo.js
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { className, effect, getNextElement, insert, template } from "solid-js/web";
|
|
2
|
-
//#region src/custom/logo/index.tsx
|
|
3
|
-
var _tmpl$ = /*#__PURE__*/ template(`<span><span></span><span>`);
|
|
4
|
-
const wordmark = function anonymous(props) {
|
|
5
|
-
let rules = " ";
|
|
6
|
-
rules += " sh13";
|
|
7
|
-
rules += " ea13";
|
|
8
|
-
rules += " qe13";
|
|
9
|
-
rules += " _7c13";
|
|
10
|
-
if (props.size === "xl") {
|
|
11
|
-
rules += " uk13";
|
|
12
|
-
rules += " ucJ9TBTb13";
|
|
13
|
-
rules += " ud3Euai13";
|
|
14
|
-
rules += " uea13";
|
|
15
|
-
rules += " ugb13";
|
|
16
|
-
rules += " uhd13";
|
|
17
|
-
rules += " uje13";
|
|
18
|
-
rules += " u2NhKxcl13";
|
|
19
|
-
rules += " uic13";
|
|
20
|
-
} else if (props.size === "lg") {
|
|
21
|
-
rules += " uk13";
|
|
22
|
-
rules += " ucJ9TBTb13";
|
|
23
|
-
rules += " ud3Euai13";
|
|
24
|
-
rules += " uea13";
|
|
25
|
-
rules += " ugb13";
|
|
26
|
-
rules += " uhd13";
|
|
27
|
-
rules += " uje13";
|
|
28
|
-
rules += " u2NhKxcl13";
|
|
29
|
-
rules += " uic13";
|
|
30
|
-
} else if (props.size === "md") {
|
|
31
|
-
rules += " uk13";
|
|
32
|
-
rules += " ucJ9TBTb13";
|
|
33
|
-
rules += " ud3Euai13";
|
|
34
|
-
rules += " uea13";
|
|
35
|
-
rules += " ugb13";
|
|
36
|
-
rules += " uhd13";
|
|
37
|
-
rules += " uje13";
|
|
38
|
-
rules += " u2NhKxcl13";
|
|
39
|
-
rules += " uic13";
|
|
40
|
-
} else if (props.size === "sm") {
|
|
41
|
-
rules += " uk13";
|
|
42
|
-
rules += " ucJ9TBTb13";
|
|
43
|
-
rules += " ud3Euai13";
|
|
44
|
-
rules += " uea13";
|
|
45
|
-
rules += " ugb13";
|
|
46
|
-
rules += " uhd13";
|
|
47
|
-
rules += " uje13";
|
|
48
|
-
rules += " u2NhKxcl13";
|
|
49
|
-
rules += " uic13";
|
|
50
|
-
}
|
|
51
|
-
if (props.size === "xl") {
|
|
52
|
-
rules += " -_6BNtrc-KaY1Ce13";
|
|
53
|
-
rules += " vx13";
|
|
54
|
-
} else if (props.size === "lg") {
|
|
55
|
-
rules += " -_6BNtrc-f13";
|
|
56
|
-
rules += " vx13";
|
|
57
|
-
} else if (props.size === "md") {
|
|
58
|
-
rules += " -_6BNtrc-d13";
|
|
59
|
-
rules += " vx13";
|
|
60
|
-
} else if (props.size === "sm") {
|
|
61
|
-
rules += " -_6BNtrc-c13";
|
|
62
|
-
rules += " vx13";
|
|
63
|
-
}
|
|
64
|
-
rules += " xf13";
|
|
65
|
-
rules += " _xa13";
|
|
66
|
-
if (props.size === "xl") {
|
|
67
|
-
rules += " _Fd13";
|
|
68
|
-
rules += " _FnuYUweb13";
|
|
69
|
-
} else if (props.size === "lg") {
|
|
70
|
-
rules += " _Fd13";
|
|
71
|
-
rules += " _FnuYUweb13";
|
|
72
|
-
} else if (props.size === "md") {
|
|
73
|
-
rules += " _Fd13";
|
|
74
|
-
rules += " _FnuYUweb13";
|
|
75
|
-
} else if (props.size === "sm") {
|
|
76
|
-
rules += " _Fd13";
|
|
77
|
-
rules += " _FnuYUweb13";
|
|
78
|
-
}
|
|
79
|
-
if (props.size === "xl") rules += " po13";
|
|
80
|
-
else if (props.size === "lg") rules += " po13";
|
|
81
|
-
else if (props.size === "md") rules += " po13";
|
|
82
|
-
else if (props.size === "sm") rules += " po13";
|
|
83
|
-
return rules;
|
|
84
|
-
};
|
|
85
|
-
const word = function anonymous(props) {
|
|
86
|
-
let rules = " ";
|
|
87
|
-
if (props.tone === "accent") rules += " pj1j4Pd13";
|
|
88
|
-
else if (props.tone === "primary") rules += " pXDQpyb13";
|
|
89
|
-
return rules;
|
|
90
|
-
};
|
|
91
|
-
function Logo(props) {
|
|
92
|
-
const firstWord = () => props.firstWord ?? "Proyecto";
|
|
93
|
-
const secondWord = () => props.secondWord ?? "Viviana";
|
|
94
|
-
const inverted = () => props.inverted ?? false;
|
|
95
|
-
return (() => {
|
|
96
|
-
var _el$ = getNextElement(_tmpl$), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling;
|
|
97
|
-
insert(_el$2, firstWord);
|
|
98
|
-
insert(_el$3, secondWord);
|
|
99
|
-
effect((_p$) => {
|
|
100
|
-
var _v$ = `${wordmark({ size: props.size ?? "md" })} ${props.class ?? ""}`, _v$2 = word({ tone: inverted() ? "accent" : "primary" }), _v$3 = word({ tone: inverted() ? "primary" : "accent" });
|
|
101
|
-
_v$ !== _p$.e && className(_el$, _p$.e = _v$);
|
|
102
|
-
_v$2 !== _p$.t && className(_el$2, _p$.t = _v$2);
|
|
103
|
-
_v$3 !== _p$.a && className(_el$3, _p$.a = _v$3);
|
|
104
|
-
return _p$;
|
|
105
|
-
}, {
|
|
106
|
-
e: void 0,
|
|
107
|
-
t: void 0,
|
|
108
|
-
a: void 0
|
|
109
|
-
});
|
|
110
|
-
return _el$;
|
|
111
|
-
})();
|
|
112
|
-
}
|
|
113
|
-
//#endregion
|
|
114
|
-
export { Logo };
|
|
115
|
-
|
|
116
|
-
//# sourceMappingURL=Logo.js.map
|
package/dist/Logo.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Logo.js","names":[],"sources":["../src/custom/logo/index.tsx"],"sourcesContent":["import type { JSX } from \"solid-js\";\n// Styled via the S2 style() macro through viviana's own seam (../../style →\n// src/style.ts). A clean two-word wordmark: the S2 title ramp sizes it; Silapse\n// colors paint it (primary + accent). `inverted` swaps which word takes accent.\nimport { style } from \"../../style\" with { type: \"macro\" };\n\nexport type LogoSize = \"sm\" | \"md\" | \"lg\" | \"xl\";\n\nexport interface LogoProps {\n firstWord?: string;\n secondWord?: string;\n size?: LogoSize;\n inverted?: boolean;\n class?: string;\n}\n\nconst wordmark = style<{ size: LogoSize }>({\n display: \"inline-flex\",\n alignItems: \"baseline\",\n columnGap: 8,\n whiteSpace: \"nowrap\",\n font: {\n size: {\n sm: \"title-sm\",\n md: \"title\",\n lg: \"title-xl\",\n xl: \"title-3xl\",\n },\n },\n fontWeight: \"black\",\n});\n\nconst word = style<{ tone: \"primary\" | \"accent\" }>({\n color: {\n tone: {\n primary: \"[var(--color-primary-100)]\",\n accent: \"[var(--color-accent)]\",\n },\n },\n});\n\nexport function Logo(props: LogoProps): JSX.Element {\n const firstWord = () => props.firstWord ?? \"Proyecto\";\n const secondWord = () => props.secondWord ?? \"Viviana\";\n const inverted = () => props.inverted ?? false;\n\n return (\n <span class={`${wordmark({ size: props.size ?? \"md\" })} ${props.class ?? \"\"}`}>\n <span class={word({ tone: inverted() ? \"accent\" : \"primary\" })}>{firstWord()}</span>\n <span class={word({ tone: inverted() ? \"primary\" : \"accent\" })}>{secondWord()}</span>\n </span>\n );\n}\n"],"mappings":";;;AAgBA,MAAM,WAAA,SAAA,UAAA,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBN,MAAM,OAAA,SAAA,UAAA,OAAA;;;;;;AASN,SAAgB,KAAK,OAAuB;CAC1C,MAAM,kBAAkB,MAAM,aAAa;CAC3C,MAAM,mBAAmB,MAAM,cAAc;CAC7C,MAAM,iBAAiB,MAAM,YAAY;CAEzC,cAAA;EAAA,IAAA,OAAA,eAAA,MAAA,GAAA,QAAA,KAAA,YAAA,QAAA,MAAA;EAAA,OAAA,OAEqE,SAAA;EAAA,OAAA,OACA,UAAA;EAAA,QAAA,QAAA;GAAA,IAAA,MAFtD,GAAG,SAAS,EAAE,MAAM,MAAM,QAAQ,KAAK,CAAA,EAAA,GAAM,MAAM,SAAS,MAAI,OAC9D,KAAK,EAAE,MAAM,SAAA,IAAa,WAAW,UAAU,CAAA,GAAA,OAC/C,KAAK,EAAE,MAAM,SAAA,IAAa,YAAY,SAAS,CAAA;GAAA,QAAA,IAAA,KAAA,UAAA,MAAA,IAAA,IAAA,GAAA;GAAA,SAAA,IAAA,KAAA,UAAA,OAAA,IAAA,IAAA,IAAA;GAAA,SAAA,IAAA,KAAA,UAAA,OAAA,IAAA,IAAA,IAAA;GAAA,OAAA;EAAA,GAAA;GAAA,GAAA,KAAA;GAAA,GAAA,KAAA;GAAA,GAAA,KAAA;EAAA,CAAA;EAAA,OAAA;CAAA,GAAA;AAGlE"}
|
package/dist/Logo.jsx
DELETED
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
//#region src/custom/logo/index.tsx
|
|
2
|
-
const wordmark = function anonymous(props) {
|
|
3
|
-
let rules = " ";
|
|
4
|
-
rules += " sh13";
|
|
5
|
-
rules += " ea13";
|
|
6
|
-
rules += " qe13";
|
|
7
|
-
rules += " _7c13";
|
|
8
|
-
if (props.size === "xl") {
|
|
9
|
-
rules += " uk13";
|
|
10
|
-
rules += " ucJ9TBTb13";
|
|
11
|
-
rules += " ud3Euai13";
|
|
12
|
-
rules += " uea13";
|
|
13
|
-
rules += " ugb13";
|
|
14
|
-
rules += " uhd13";
|
|
15
|
-
rules += " uje13";
|
|
16
|
-
rules += " u2NhKxcl13";
|
|
17
|
-
rules += " uic13";
|
|
18
|
-
} else if (props.size === "lg") {
|
|
19
|
-
rules += " uk13";
|
|
20
|
-
rules += " ucJ9TBTb13";
|
|
21
|
-
rules += " ud3Euai13";
|
|
22
|
-
rules += " uea13";
|
|
23
|
-
rules += " ugb13";
|
|
24
|
-
rules += " uhd13";
|
|
25
|
-
rules += " uje13";
|
|
26
|
-
rules += " u2NhKxcl13";
|
|
27
|
-
rules += " uic13";
|
|
28
|
-
} else if (props.size === "md") {
|
|
29
|
-
rules += " uk13";
|
|
30
|
-
rules += " ucJ9TBTb13";
|
|
31
|
-
rules += " ud3Euai13";
|
|
32
|
-
rules += " uea13";
|
|
33
|
-
rules += " ugb13";
|
|
34
|
-
rules += " uhd13";
|
|
35
|
-
rules += " uje13";
|
|
36
|
-
rules += " u2NhKxcl13";
|
|
37
|
-
rules += " uic13";
|
|
38
|
-
} else if (props.size === "sm") {
|
|
39
|
-
rules += " uk13";
|
|
40
|
-
rules += " ucJ9TBTb13";
|
|
41
|
-
rules += " ud3Euai13";
|
|
42
|
-
rules += " uea13";
|
|
43
|
-
rules += " ugb13";
|
|
44
|
-
rules += " uhd13";
|
|
45
|
-
rules += " uje13";
|
|
46
|
-
rules += " u2NhKxcl13";
|
|
47
|
-
rules += " uic13";
|
|
48
|
-
}
|
|
49
|
-
if (props.size === "xl") {
|
|
50
|
-
rules += " -_6BNtrc-KaY1Ce13";
|
|
51
|
-
rules += " vx13";
|
|
52
|
-
} else if (props.size === "lg") {
|
|
53
|
-
rules += " -_6BNtrc-f13";
|
|
54
|
-
rules += " vx13";
|
|
55
|
-
} else if (props.size === "md") {
|
|
56
|
-
rules += " -_6BNtrc-d13";
|
|
57
|
-
rules += " vx13";
|
|
58
|
-
} else if (props.size === "sm") {
|
|
59
|
-
rules += " -_6BNtrc-c13";
|
|
60
|
-
rules += " vx13";
|
|
61
|
-
}
|
|
62
|
-
rules += " xf13";
|
|
63
|
-
rules += " _xa13";
|
|
64
|
-
if (props.size === "xl") {
|
|
65
|
-
rules += " _Fd13";
|
|
66
|
-
rules += " _FnuYUweb13";
|
|
67
|
-
} else if (props.size === "lg") {
|
|
68
|
-
rules += " _Fd13";
|
|
69
|
-
rules += " _FnuYUweb13";
|
|
70
|
-
} else if (props.size === "md") {
|
|
71
|
-
rules += " _Fd13";
|
|
72
|
-
rules += " _FnuYUweb13";
|
|
73
|
-
} else if (props.size === "sm") {
|
|
74
|
-
rules += " _Fd13";
|
|
75
|
-
rules += " _FnuYUweb13";
|
|
76
|
-
}
|
|
77
|
-
if (props.size === "xl") rules += " po13";
|
|
78
|
-
else if (props.size === "lg") rules += " po13";
|
|
79
|
-
else if (props.size === "md") rules += " po13";
|
|
80
|
-
else if (props.size === "sm") rules += " po13";
|
|
81
|
-
return rules;
|
|
82
|
-
};
|
|
83
|
-
const word = function anonymous(props) {
|
|
84
|
-
let rules = " ";
|
|
85
|
-
if (props.tone === "accent") rules += " pj1j4Pd13";
|
|
86
|
-
else if (props.tone === "primary") rules += " pXDQpyb13";
|
|
87
|
-
return rules;
|
|
88
|
-
};
|
|
89
|
-
function Logo(props) {
|
|
90
|
-
const firstWord = () => props.firstWord ?? "Proyecto";
|
|
91
|
-
const secondWord = () => props.secondWord ?? "Viviana";
|
|
92
|
-
const inverted = () => props.inverted ?? false;
|
|
93
|
-
return <span class={`${wordmark({ size: props.size ?? "md" })} ${props.class ?? ""}`}>
|
|
94
|
-
<span class={word({ tone: inverted() ? "accent" : "primary" })}>{firstWord()}</span>
|
|
95
|
-
<span class={word({ tone: inverted() ? "primary" : "accent" })}>{secondWord()}</span>
|
|
96
|
-
</span>;
|
|
97
|
-
}
|
|
98
|
-
//#endregion
|
|
99
|
-
export { Logo };
|
|
100
|
-
|
|
101
|
-
//# sourceMappingURL=Logo.jsx.map
|
package/dist/Logo.jsx.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Logo.jsx","names":[],"sources":["../src/custom/logo/index.tsx"],"sourcesContent":["import type { JSX } from \"solid-js\";\n// Styled via the S2 style() macro through viviana's own seam (../../style →\n// src/style.ts). A clean two-word wordmark: the S2 title ramp sizes it; Silapse\n// colors paint it (primary + accent). `inverted` swaps which word takes accent.\nimport { style } from \"../../style\" with { type: \"macro\" };\n\nexport type LogoSize = \"sm\" | \"md\" | \"lg\" | \"xl\";\n\nexport interface LogoProps {\n firstWord?: string;\n secondWord?: string;\n size?: LogoSize;\n inverted?: boolean;\n class?: string;\n}\n\nconst wordmark = style<{ size: LogoSize }>({\n display: \"inline-flex\",\n alignItems: \"baseline\",\n columnGap: 8,\n whiteSpace: \"nowrap\",\n font: {\n size: {\n sm: \"title-sm\",\n md: \"title\",\n lg: \"title-xl\",\n xl: \"title-3xl\",\n },\n },\n fontWeight: \"black\",\n});\n\nconst word = style<{ tone: \"primary\" | \"accent\" }>({\n color: {\n tone: {\n primary: \"[var(--color-primary-100)]\",\n accent: \"[var(--color-accent)]\",\n },\n },\n});\n\nexport function Logo(props: LogoProps): JSX.Element {\n const firstWord = () => props.firstWord ?? \"Proyecto\";\n const secondWord = () => props.secondWord ?? \"Viviana\";\n const inverted = () => props.inverted ?? false;\n\n return (\n <span class={`${wordmark({ size: props.size ?? \"md\" })} ${props.class ?? \"\"}`}>\n <span class={word({ tone: inverted() ? \"accent\" : \"primary\" })}>{firstWord()}</span>\n <span class={word({ tone: inverted() ? \"primary\" : \"accent\" })}>{secondWord()}</span>\n </span>\n );\n}\n"],"mappings":";AAgBA,MAAM,WAAA,SAAA,UAAA,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBN,MAAM,OAAA,SAAA,UAAA,OAAA;;;;;;AASN,SAAgB,KAAK,OAAuB;CAC1C,MAAM,kBAAkB,MAAM,aAAa;CAC3C,MAAM,mBAAmB,MAAM,cAAc;CAC7C,MAAM,iBAAiB,MAAM,YAAY;CAEzC,OAAO,CACJ,KAAK,OAAO,GAAG,SAAS,EAAE,MAAM,MAAM,QAAQ,KAAK,CAAA,EAAG,GAAG,MAAM,SAAS,MAAM;MAC7E,CAAC,KAAK,OAAO,KAAK,EAAE,MAAM,SAAA,IAAa,WAAW,UAAU,CAAA,IAAK,UAAA,EAAA,EAAc,KAAK;MACpF,CAAC,KAAK,OAAO,KAAK,EAAE,MAAM,SAAA,IAAa,YAAY,SAAS,CAAA,IAAK,WAAA,EAAA,EAAe,KAAK;IACvF,EAAE;AAEN"}
|
package/dist/PageLayout.d.ts
DELETED
package/dist/PageLayout.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PageLayout.d.ts","sourceRoot":"","sources":["../src/PageLayout.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
|
package/dist/PageLayout.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { getNextElement, insert, mergeProps, runHydrationEvents, spread, template } from "solid-js/web";
|
|
2
|
-
import { splitProps } from "solid-js";
|
|
3
|
-
//#region src/custom/page-layout/index.tsx
|
|
4
|
-
var _tmpl$ = /*#__PURE__*/ template(`<div>`);
|
|
5
|
-
const page = function anonymous(props) {
|
|
6
|
-
let rules = " ";
|
|
7
|
-
rules += " sd13";
|
|
8
|
-
rules += " _ta13";
|
|
9
|
-
rules += " Mc13";
|
|
10
|
-
rules += " Za13";
|
|
11
|
-
rules += " g318zje13";
|
|
12
|
-
rules += " pO550xe13";
|
|
13
|
-
if (props.isWithHeader) rules += " Tr13";
|
|
14
|
-
return rules;
|
|
15
|
-
};
|
|
16
|
-
function PageLayout(props) {
|
|
17
|
-
const [local, rest] = splitProps(props, ["class", "withHeader"]);
|
|
18
|
-
return (() => {
|
|
19
|
-
var _el$ = getNextElement(_tmpl$);
|
|
20
|
-
spread(_el$, mergeProps({ get ["class"]() {
|
|
21
|
-
return `${page({ isWithHeader: local.withHeader ?? false })} ${local.class ?? ""}`;
|
|
22
|
-
} }, rest), false, true);
|
|
23
|
-
insert(_el$, () => props.children);
|
|
24
|
-
runHydrationEvents();
|
|
25
|
-
return _el$;
|
|
26
|
-
})();
|
|
27
|
-
}
|
|
28
|
-
//#endregion
|
|
29
|
-
export { PageLayout };
|
|
30
|
-
|
|
31
|
-
//# sourceMappingURL=PageLayout.js.map
|
package/dist/PageLayout.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PageLayout.js","names":[],"sources":["../src/custom/page-layout/index.tsx"],"sourcesContent":["import { type JSX, splitProps } from \"solid-js\";\n// Styled via the S2 style() macro through viviana's own seam (../../style →\n// src/style.ts). A full-height page shell painted in Silapse surface/text\n// colors; `withHeader` reserves top space so a fixed header doesn't overlap.\nimport { style } from \"../../style\" with { type: \"macro\" };\n\nexport interface PageLayoutProps extends JSX.HTMLAttributes<HTMLDivElement> {\n children: JSX.Element;\n withHeader?: boolean;\n}\n\nconst page = style<{ isWithHeader: boolean }>({\n display: \"flex\",\n flexDirection: \"column\",\n minHeight: \"screen\",\n width: \"full\",\n backgroundColor: \"[var(--color-background)]\",\n color: \"[var(--color-text)]\",\n paddingTop: { isWithHeader: 64 },\n});\n\nexport function PageLayout(props: PageLayoutProps) {\n const [local, rest] = splitProps(props, [\"class\", \"withHeader\"]);\n\n return (\n <div\n class={`${page({ isWithHeader: local.withHeader ?? false })} ${local.class ?? \"\"}`}\n {...rest}\n >\n {props.children}\n </div>\n );\n}\n"],"mappings":";;;;AAWA,MAAM,OAAA,SAAA,UAAA,OAAA;;;;;;;;;;;AAUN,SAAgB,WAAW,OAAsB;CAC/C,MAAM,CAAC,OAAO,QAAQ,WAAW,OAAO,CAAC,SAAS,YAAA,CAAa;CAE/D,cAAA;EAAA,IAAA,OAAA,eAAA,MAAA;EAAA,OAAA,MAAA,WAAA,EAAA,KAAA,WAAA;GAAA,OAEW,GAAG,KAAK,EAAE,cAAc,MAAM,cAAc,MAAM,CAAA,EAAA,GAAM,MAAM,SAAS;EAAI,EAAA,GAC9E,IAAI,GAAA,OAAA,IAAA;EAAA,OAAA,YAEP,MAAM,QAAQ;EAAA,mBAAA;EAAA,OAAA;CAAA,GAAA;AAGrB"}
|
package/dist/PageLayout.jsx
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { splitProps } from "solid-js";
|
|
2
|
-
//#region src/custom/page-layout/index.tsx
|
|
3
|
-
const page = function anonymous(props) {
|
|
4
|
-
let rules = " ";
|
|
5
|
-
rules += " sd13";
|
|
6
|
-
rules += " _ta13";
|
|
7
|
-
rules += " Mc13";
|
|
8
|
-
rules += " Za13";
|
|
9
|
-
rules += " g318zje13";
|
|
10
|
-
rules += " pO550xe13";
|
|
11
|
-
if (props.isWithHeader) rules += " Tr13";
|
|
12
|
-
return rules;
|
|
13
|
-
};
|
|
14
|
-
function PageLayout(props) {
|
|
15
|
-
const [local, rest] = splitProps(props, ["class", "withHeader"]);
|
|
16
|
-
return <div class={`${page({ isWithHeader: local.withHeader ?? false })} ${local.class ?? ""}`} {...rest}>
|
|
17
|
-
{props.children}
|
|
18
|
-
</div>;
|
|
19
|
-
}
|
|
20
|
-
//#endregion
|
|
21
|
-
export { PageLayout };
|
|
22
|
-
|
|
23
|
-
//# sourceMappingURL=PageLayout.jsx.map
|
package/dist/PageLayout.jsx.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PageLayout.jsx","names":[],"sources":["../src/custom/page-layout/index.tsx"],"sourcesContent":["import { type JSX, splitProps } from \"solid-js\";\n// Styled via the S2 style() macro through viviana's own seam (../../style →\n// src/style.ts). A full-height page shell painted in Silapse surface/text\n// colors; `withHeader` reserves top space so a fixed header doesn't overlap.\nimport { style } from \"../../style\" with { type: \"macro\" };\n\nexport interface PageLayoutProps extends JSX.HTMLAttributes<HTMLDivElement> {\n children: JSX.Element;\n withHeader?: boolean;\n}\n\nconst page = style<{ isWithHeader: boolean }>({\n display: \"flex\",\n flexDirection: \"column\",\n minHeight: \"screen\",\n width: \"full\",\n backgroundColor: \"[var(--color-background)]\",\n color: \"[var(--color-text)]\",\n paddingTop: { isWithHeader: 64 },\n});\n\nexport function PageLayout(props: PageLayoutProps) {\n const [local, rest] = splitProps(props, [\"class\", \"withHeader\"]);\n\n return (\n <div\n class={`${page({ isWithHeader: local.withHeader ?? false })} ${local.class ?? \"\"}`}\n {...rest}\n >\n {props.children}\n </div>\n );\n}\n"],"mappings":";;AAWA,MAAM,OAAA,SAAA,UAAA,OAAA;;;;;;;;;;;AAUN,SAAgB,WAAW,OAAsB;CAC/C,MAAM,CAAC,OAAO,QAAQ,WAAW,OAAO,CAAC,SAAS,YAAA,CAAa;CAE/D,OAAO,CACJ,IACC,OAAO,GAAG,KAAK,EAAE,cAAc,MAAM,cAAc,MAAM,CAAA,EAAG,GAAG,MAAM,SAAS,UAC1E,MACL;OACE,MAAM,SAAS;IAClB,EAAE;AAEN"}
|
package/dist/ProfileCard.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileCard.d.ts","sourceRoot":"","sources":["../src/ProfileCard.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
|
package/dist/ProfileCard.js
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/* empty css */
|
|
2
|
-
/* empty css */
|
|
3
|
-
/* empty css */
|
|
4
|
-
import { Avatar } from "@proyecto-viviana/solid-spectrum";
|
|
5
|
-
import { className, createComponent, effect, getNextElement, getNextMarker, insert, memo, template } from "solid-js/web";
|
|
6
|
-
import { Show } from "solid-js";
|
|
7
|
-
//#region src/custom/profile-card/index.tsx
|
|
8
|
-
var _tmpl$ = /*#__PURE__*/ template(`<p class=" uk13 ucJ9TBTb13 ud3Euai13 uea13 ugb13 uhd13 uje13 u2NhKxcl13 uic13 -_6BNtrc-b13 vx13 xb13 _xa13 _Fd13 _FnuYUweb13 pxeCuqc13">`), _tmpl$2 = /*#__PURE__*/ template(`<span><span class=" xd13 _xa13 xX0cczbc13 _xX0cczba13 pXDQpyb13"></span> seguidores`), _tmpl$3 = /*#__PURE__*/ template(`<span><span class=" xd13 _xa13 xX0cczbc13 _xX0cczba13 pXDQpyb13"></span> siguiendo`), _tmpl$4 = /*#__PURE__*/ template(`<div class=" sd13 Ue13 qe13">`), _tmpl$5 = /*#__PURE__*/ template(`<div><div class=" sd13 ed13 Ul13 ql13"><!$><!/><div class=" sd13 _ta13 Ub13 qb13 _ub13 Na13"><h3 class=" uk13 ucJ9TBTb13 ud3Euai13 uea13 ugb13 uhd13 uje13 u2NhKxcl13 uic13 -_6BNtrc-f13 vx13 xe13 _xa13 xX0cczbd13 _xX0cczba13 xfe13 _xfa13 xfX0cczbd13 _xfX0cczba13 _Fd13 _FnuYUweb13 pXDQpyb13 _Nc13 Pc13 _Yb13 _7c13"></h3><!$><!/><div class=" sd13 Ul13 ql13 uk13 ucJ9TBTb13 ud3Euai13 uea13 ugb13 uhd13 uje13 u2NhKxcl13 uic13 -_6BNtrc-b13 vx13 xb13 _xa13 _Fd13 _FnuYUweb13 pxeCuqc13"><!$><!/><!$><!/></div></div></div><!$><!/>`);
|
|
9
|
-
const card = " sd13 _ta13 Ul13 ql13 Tf13 Qf13 Sf13 Rf13 oc13 nc13 kc13 jc13 gDE5VE13 _nLeasBb13";
|
|
10
|
-
function ProfileCard(props) {
|
|
11
|
-
const formatNumber = (num) => {
|
|
12
|
-
if (num >= 1e6) return `${(num / 1e6).toFixed(1)}M`;
|
|
13
|
-
if (num >= 1e3) return `${(num / 1e3).toFixed(1)}K`;
|
|
14
|
-
return num.toString();
|
|
15
|
-
};
|
|
16
|
-
return (() => {
|
|
17
|
-
var _el$ = getNextElement(_tmpl$5), _el$2 = _el$.firstChild, _el$15 = _el$2.firstChild, [_el$16, _co$4] = getNextMarker(_el$15.nextSibling), _el$3 = _el$16.nextSibling, _el$4 = _el$3.firstChild, _el$13 = _el$4.nextSibling, [_el$14, _co$3] = getNextMarker(_el$13.nextSibling), _el$6 = _el$14.nextSibling, _el$1 = _el$6.firstChild, [_el$10, _co$] = getNextMarker(_el$1.nextSibling), _el$11 = _el$10.nextSibling, [_el$12, _co$2] = getNextMarker(_el$11.nextSibling), _el$18 = _el$2.nextSibling, [_el$19, _co$5] = getNextMarker(_el$18.nextSibling);
|
|
18
|
-
insert(_el$2, createComponent(Avatar, {
|
|
19
|
-
get src() {
|
|
20
|
-
return props.avatar;
|
|
21
|
-
},
|
|
22
|
-
get alt() {
|
|
23
|
-
return props.username;
|
|
24
|
-
},
|
|
25
|
-
size: "lg"
|
|
26
|
-
}), _el$16, _co$4);
|
|
27
|
-
insert(_el$4, () => props.username);
|
|
28
|
-
insert(_el$3, createComponent(Show, {
|
|
29
|
-
get when() {
|
|
30
|
-
return props.bio;
|
|
31
|
-
},
|
|
32
|
-
get children() {
|
|
33
|
-
var _el$5 = getNextElement(_tmpl$);
|
|
34
|
-
insert(_el$5, () => props.bio);
|
|
35
|
-
return _el$5;
|
|
36
|
-
}
|
|
37
|
-
}), _el$14, _co$3);
|
|
38
|
-
insert(_el$6, createComponent(Show, {
|
|
39
|
-
get when() {
|
|
40
|
-
return props.followers !== void 0;
|
|
41
|
-
},
|
|
42
|
-
get children() {
|
|
43
|
-
var _el$7 = getNextElement(_tmpl$2), _el$8 = _el$7.firstChild;
|
|
44
|
-
insert(_el$8, () => formatNumber(props.followers));
|
|
45
|
-
return _el$7;
|
|
46
|
-
}
|
|
47
|
-
}), _el$10, _co$);
|
|
48
|
-
insert(_el$6, createComponent(Show, {
|
|
49
|
-
get when() {
|
|
50
|
-
return props.following !== void 0;
|
|
51
|
-
},
|
|
52
|
-
get children() {
|
|
53
|
-
var _el$9 = getNextElement(_tmpl$3), _el$0 = _el$9.firstChild;
|
|
54
|
-
insert(_el$0, () => formatNumber(props.following));
|
|
55
|
-
return _el$9;
|
|
56
|
-
}
|
|
57
|
-
}), _el$12, _co$2);
|
|
58
|
-
insert(_el$, createComponent(Show, {
|
|
59
|
-
get when() {
|
|
60
|
-
return props.actions;
|
|
61
|
-
},
|
|
62
|
-
get children() {
|
|
63
|
-
var _el$17 = getNextElement(_tmpl$4);
|
|
64
|
-
insert(_el$17, (() => {
|
|
65
|
-
var _c$ = memo(() => typeof props.actions === "function");
|
|
66
|
-
return () => _c$() ? props.actions() : props.actions;
|
|
67
|
-
})());
|
|
68
|
-
return _el$17;
|
|
69
|
-
}
|
|
70
|
-
}), _el$19, _co$5);
|
|
71
|
-
effect(() => className(_el$, `${card} ${props.class ?? ""}`));
|
|
72
|
-
return _el$;
|
|
73
|
-
})();
|
|
74
|
-
}
|
|
75
|
-
//#endregion
|
|
76
|
-
export { ProfileCard };
|
|
77
|
-
|
|
78
|
-
//# sourceMappingURL=ProfileCard.js.map
|
package/dist/ProfileCard.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileCard.js","names":[],"sources":["../src/custom/profile-card/index.tsx"],"sourcesContent":["import type { JSX } from \"solid-js\";\nimport { Show } from \"solid-js\";\nimport { Avatar } from \"@proyecto-viviana/solid-spectrum\";\n// Styled via the S2 style() macro through viviana's own seam (../../style →\n// src/style.ts). Mirrors S2's UserCard shape (avatar + title/description +\n// footer actions) on the S2 spacing/radius/elevation ramps, in Silapse colors.\nimport { style } from \"../../style\" with { type: \"macro\" };\n\nexport interface ProfileCardProps {\n username: string;\n avatar?: string;\n bio?: string;\n followers?: number;\n following?: number;\n /**\n * Actions to display below the profile.\n * Use a function returning JSX for SSR compatibility: `actions={() => <Button>...</Button>}`\n */\n actions?: JSX.Element | (() => JSX.Element);\n class?: string;\n}\n\nconst card = style({\n display: \"flex\",\n flexDirection: \"column\",\n gap: 16,\n padding: 16,\n borderRadius: \"lg\",\n backgroundColor: \"[var(--color-bg-200)]\",\n boxShadow: \"elevated\",\n});\n\nconst head = style({\n display: \"flex\",\n alignItems: \"start\",\n gap: 16,\n});\n\nconst info = style({\n display: \"flex\",\n flexDirection: \"column\",\n gap: 4,\n flexGrow: 1,\n minWidth: 0,\n});\n\nconst name = style({\n font: \"heading-sm\",\n color: \"[var(--color-primary-100)]\",\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n});\n\nconst bio = style({\n font: \"ui-sm\",\n color: \"[var(--color-text-secondary)]\",\n});\n\nconst stats = style({\n display: \"flex\",\n gap: 16,\n font: \"ui-sm\",\n color: \"[var(--color-text-secondary)]\",\n});\n\nconst statValue = style({\n fontWeight: \"bold\",\n color: \"[var(--color-primary-100)]\",\n});\n\nconst actionRow = style({\n display: \"flex\",\n gap: 8,\n});\n\nexport function ProfileCard(props: ProfileCardProps) {\n const formatNumber = (num: number) => {\n if (num >= 1000000) return `${(num / 1000000).toFixed(1)}M`;\n if (num >= 1000) return `${(num / 1000).toFixed(1)}K`;\n return num.toString();\n };\n\n return (\n <div class={`${card} ${props.class ?? \"\"}`}>\n <div class={head}>\n <Avatar src={props.avatar} alt={props.username} size=\"lg\" />\n <div class={info}>\n <h3 class={name}>{props.username}</h3>\n <Show when={props.bio}>\n <p class={bio}>{props.bio}</p>\n </Show>\n <div class={stats}>\n <Show when={props.followers !== undefined}>\n <span>\n <span class={statValue}>{formatNumber(props.followers!)}</span> seguidores\n </span>\n </Show>\n <Show when={props.following !== undefined}>\n <span>\n <span class={statValue}>{formatNumber(props.following!)}</span> siguiendo\n </span>\n </Show>\n </div>\n </div>\n </div>\n <Show when={props.actions}>\n <div class={actionRow}>\n {typeof props.actions === \"function\" ? props.actions() : props.actions}\n </div>\n </Show>\n </div>\n );\n}\n"],"mappings":";;;;;;;;AAsBA,MAAM,OAAA;AAsDN,SAAgB,YAAY,OAAuB;CACjD,MAAM,gBAAgB,QAAW;EAC/B,IAAI,OAAO,KAAS,OAAO,IAAI,MAAM,KAAS,QAAQ,CAAA,EAAA;EACtD,IAAI,OAAO,KAAM,OAAO,IAAI,MAAM,KAAM,QAAQ,CAAA,EAAA;EAChD,OAAO,IAAI,SAAQ;CACrB;CAEA,cAAA;EAAA,IAAA,OAAA,eAAA,OAAA,GAAA,QAAA,KAAA,YAAA,SAAA,MAAA,YAAA,CAAA,QAAA,SAAA,cAAA,OAAA,WAAA,GAAA,QAAA,OAAA,aAAA,QAAA,MAAA,YAAA,SAAA,MAAA,aAAA,CAAA,QAAA,SAAA,cAAA,OAAA,WAA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AAA,WAEpB,OAAO,MAAM,YAAY,UAAA;KAAA,aAAzB,IAAA,IAAsC,MAAM,QAAO,IAAK,MAAM;IAAO,GAAA,CAAA;IAAA,OAAA;GAAA;EAAA,CAAA,GAAA,QAAA,KAAA;EAAA,aAAA,UAAA,MAxBhE,GAAG,KAAA,GAAQ,MAAM,SAAS,IAAI,CAAA;EAAA,OAAA;CAAA,GAAA;AA6B9C"}
|
package/dist/ProfileCard.jsx
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/* empty css */
|
|
2
|
-
/* empty css */
|
|
3
|
-
/* empty css */
|
|
4
|
-
import { Avatar } from "@proyecto-viviana/solid-spectrum";
|
|
5
|
-
import { Show } from "solid-js";
|
|
6
|
-
//#region src/custom/profile-card/index.tsx
|
|
7
|
-
const card = " sd13 _ta13 Ul13 ql13 Tf13 Qf13 Sf13 Rf13 oc13 nc13 kc13 jc13 gDE5VE13 _nLeasBb13";
|
|
8
|
-
const head = " sd13 ed13 Ul13 ql13";
|
|
9
|
-
const info = " sd13 _ta13 Ub13 qb13 _ub13 Na13";
|
|
10
|
-
const name = " uk13 ucJ9TBTb13 ud3Euai13 uea13 ugb13 uhd13 uje13 u2NhKxcl13 uic13 -_6BNtrc-f13 vx13 xe13 _xa13 xX0cczbd13 _xX0cczba13 xfe13 _xfa13 xfX0cczbd13 _xfX0cczba13 _Fd13 _FnuYUweb13 pXDQpyb13 _Nc13 Pc13 _Yb13 _7c13";
|
|
11
|
-
const bio = " uk13 ucJ9TBTb13 ud3Euai13 uea13 ugb13 uhd13 uje13 u2NhKxcl13 uic13 -_6BNtrc-b13 vx13 xb13 _xa13 _Fd13 _FnuYUweb13 pxeCuqc13";
|
|
12
|
-
const stats = " sd13 Ul13 ql13 uk13 ucJ9TBTb13 ud3Euai13 uea13 ugb13 uhd13 uje13 u2NhKxcl13 uic13 -_6BNtrc-b13 vx13 xb13 _xa13 _Fd13 _FnuYUweb13 pxeCuqc13";
|
|
13
|
-
const statValue = " xd13 _xa13 xX0cczbc13 _xX0cczba13 pXDQpyb13";
|
|
14
|
-
const actionRow = " sd13 Ue13 qe13";
|
|
15
|
-
function ProfileCard(props) {
|
|
16
|
-
const formatNumber = (num) => {
|
|
17
|
-
if (num >= 1e6) return `${(num / 1e6).toFixed(1)}M`;
|
|
18
|
-
if (num >= 1e3) return `${(num / 1e3).toFixed(1)}K`;
|
|
19
|
-
return num.toString();
|
|
20
|
-
};
|
|
21
|
-
return <div class={`${card} ${props.class ?? ""}`}>
|
|
22
|
-
<div class={head}>
|
|
23
|
-
<Avatar src={props.avatar} alt={props.username} size="lg" />
|
|
24
|
-
<div class={info}>
|
|
25
|
-
<h3 class={name}>{props.username}</h3>
|
|
26
|
-
<Show when={props.bio}>
|
|
27
|
-
<p class={bio}>{props.bio}</p>
|
|
28
|
-
</Show>
|
|
29
|
-
<div class={stats}>
|
|
30
|
-
<Show when={props.followers !== void 0}>
|
|
31
|
-
<span>
|
|
32
|
-
<span class={statValue}>{formatNumber(props.followers)}</span> seguidores
|
|
33
|
-
</span>
|
|
34
|
-
</Show>
|
|
35
|
-
<Show when={props.following !== void 0}>
|
|
36
|
-
<span>
|
|
37
|
-
<span class={statValue}>{formatNumber(props.following)}</span> siguiendo
|
|
38
|
-
</span>
|
|
39
|
-
</Show>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
<Show when={props.actions}>
|
|
44
|
-
<div class={actionRow}>
|
|
45
|
-
{typeof props.actions === "function" ? props.actions() : props.actions}
|
|
46
|
-
</div>
|
|
47
|
-
</Show>
|
|
48
|
-
</div>;
|
|
49
|
-
}
|
|
50
|
-
//#endregion
|
|
51
|
-
export { ProfileCard };
|
|
52
|
-
|
|
53
|
-
//# sourceMappingURL=ProfileCard.jsx.map
|
package/dist/ProfileCard.jsx.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileCard.jsx","names":[],"sources":["../src/custom/profile-card/index.tsx"],"sourcesContent":["import type { JSX } from \"solid-js\";\nimport { Show } from \"solid-js\";\nimport { Avatar } from \"@proyecto-viviana/solid-spectrum\";\n// Styled via the S2 style() macro through viviana's own seam (../../style →\n// src/style.ts). Mirrors S2's UserCard shape (avatar + title/description +\n// footer actions) on the S2 spacing/radius/elevation ramps, in Silapse colors.\nimport { style } from \"../../style\" with { type: \"macro\" };\n\nexport interface ProfileCardProps {\n username: string;\n avatar?: string;\n bio?: string;\n followers?: number;\n following?: number;\n /**\n * Actions to display below the profile.\n * Use a function returning JSX for SSR compatibility: `actions={() => <Button>...</Button>}`\n */\n actions?: JSX.Element | (() => JSX.Element);\n class?: string;\n}\n\nconst card = style({\n display: \"flex\",\n flexDirection: \"column\",\n gap: 16,\n padding: 16,\n borderRadius: \"lg\",\n backgroundColor: \"[var(--color-bg-200)]\",\n boxShadow: \"elevated\",\n});\n\nconst head = style({\n display: \"flex\",\n alignItems: \"start\",\n gap: 16,\n});\n\nconst info = style({\n display: \"flex\",\n flexDirection: \"column\",\n gap: 4,\n flexGrow: 1,\n minWidth: 0,\n});\n\nconst name = style({\n font: \"heading-sm\",\n color: \"[var(--color-primary-100)]\",\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n});\n\nconst bio = style({\n font: \"ui-sm\",\n color: \"[var(--color-text-secondary)]\",\n});\n\nconst stats = style({\n display: \"flex\",\n gap: 16,\n font: \"ui-sm\",\n color: \"[var(--color-text-secondary)]\",\n});\n\nconst statValue = style({\n fontWeight: \"bold\",\n color: \"[var(--color-primary-100)]\",\n});\n\nconst actionRow = style({\n display: \"flex\",\n gap: 8,\n});\n\nexport function ProfileCard(props: ProfileCardProps) {\n const formatNumber = (num: number) => {\n if (num >= 1000000) return `${(num / 1000000).toFixed(1)}M`;\n if (num >= 1000) return `${(num / 1000).toFixed(1)}K`;\n return num.toString();\n };\n\n return (\n <div class={`${card} ${props.class ?? \"\"}`}>\n <div class={head}>\n <Avatar src={props.avatar} alt={props.username} size=\"lg\" />\n <div class={info}>\n <h3 class={name}>{props.username}</h3>\n <Show when={props.bio}>\n <p class={bio}>{props.bio}</p>\n </Show>\n <div class={stats}>\n <Show when={props.followers !== undefined}>\n <span>\n <span class={statValue}>{formatNumber(props.followers!)}</span> seguidores\n </span>\n </Show>\n <Show when={props.following !== undefined}>\n <span>\n <span class={statValue}>{formatNumber(props.following!)}</span> siguiendo\n </span>\n </Show>\n </div>\n </div>\n </div>\n <Show when={props.actions}>\n <div class={actionRow}>\n {typeof props.actions === \"function\" ? props.actions() : props.actions}\n </div>\n </Show>\n </div>\n );\n}\n"],"mappings":";;;;;;AAsBA,MAAM,OAAA;AAUN,MAAM,OAAA;AAMN,MAAM,OAAA;AAQN,MAAM,OAAA;AAQN,MAAM,MAAA;AAKN,MAAM,QAAA;AAON,MAAM,YAAA;AAKN,MAAM,YAAA;AAKN,SAAgB,YAAY,OAAuB;CACjD,MAAM,gBAAgB,QAAW;EAC/B,IAAI,OAAO,KAAS,OAAO,IAAI,MAAM,KAAS,QAAQ,CAAA,EAAG;EACzD,IAAI,OAAO,KAAM,OAAO,IAAI,MAAM,KAAM,QAAQ,CAAA,EAAG;EACnD,OAAO,IAAI,SAAQ;CACrB;CAEA,OAAO,CACJ,IAAI,OAAO,GAAG,KAAK,GAAG,MAAM,SAAS,MAAM;MAC1C,CAAC,IAAI,OAAO,MAAM;QAChB,CAAC,OAAO,KAAK,MAAM,QAAQ,KAAK,MAAM,UAAU,YAAY;QAC5D,CAAC,IAAI,OAAO,MAAM;UAChB,CAAC,GAAG,OAAO,OAAO,MAAM,SAAQ,EAAG,GAAG;UACtC,CAAC,KAAK,MAAM,MAAM,KAAK;YACrB,CAAC,EAAE,OAAO,MAAM,MAAM,IAAG,EAAG,EAAE;UAChC,EAAE,KAAK;UACP,CAAC,IAAI,OAAO,OAAO;YACjB,CAAC,KAAK,MAAM,MAAM,cAAc,KAAA,GAAW;cACzC,CAAC,KAAK;gBACJ,CAAC,KAAK,OAAO,YAA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