@medialane/ui 0.99.1 → 0.100.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/README.md +19 -0
- package/dist/components/action-button.cjs +1 -3
- package/dist/components/action-button.cjs.map +1 -1
- package/dist/components/action-button.js +1 -3
- package/dist/components/action-button.js.map +1 -1
- package/dist/components/activity-card.cjs +3 -3
- package/dist/components/activity-card.cjs.map +1 -1
- package/dist/components/activity-card.js +3 -3
- package/dist/components/activity-card.js.map +1 -1
- package/dist/components/activity-feed-shell.cjs +1 -1
- package/dist/components/activity-feed-shell.cjs.map +1 -1
- package/dist/components/activity-feed-shell.js +1 -1
- package/dist/components/activity-feed-shell.js.map +1 -1
- package/dist/components/activity-row.cjs +3 -3
- package/dist/components/activity-row.cjs.map +1 -1
- package/dist/components/activity-row.js +3 -3
- package/dist/components/activity-row.js.map +1 -1
- package/dist/components/activity-ticker.cjs +1 -1
- package/dist/components/activity-ticker.cjs.map +1 -1
- package/dist/components/activity-ticker.js +1 -1
- package/dist/components/activity-ticker.js.map +1 -1
- package/dist/components/asset-card.cjs +2 -2
- package/dist/components/asset-card.cjs.map +1 -1
- package/dist/components/asset-card.js +2 -2
- package/dist/components/asset-card.js.map +1 -1
- package/dist/components/asset-license-summary.cjs +2 -2
- package/dist/components/asset-license-summary.cjs.map +1 -1
- package/dist/components/asset-license-summary.js +2 -2
- package/dist/components/asset-license-summary.js.map +1 -1
- package/dist/components/asset-overview-content.cjs +2 -2
- package/dist/components/asset-overview-content.cjs.map +1 -1
- package/dist/components/asset-overview-content.js +2 -2
- package/dist/components/asset-overview-content.js.map +1 -1
- package/dist/components/asset-picker-cell.cjs +1 -1
- package/dist/components/asset-picker-cell.cjs.map +1 -1
- package/dist/components/asset-picker-cell.js +1 -1
- package/dist/components/asset-picker-cell.js.map +1 -1
- package/dist/components/asset-top-sections.cjs +1 -1
- package/dist/components/asset-top-sections.cjs.map +1 -1
- package/dist/components/asset-top-sections.js +1 -1
- package/dist/components/asset-top-sections.js.map +1 -1
- package/dist/components/asset-utility-icons.cjs +2 -2
- package/dist/components/asset-utility-icons.cjs.map +1 -1
- package/dist/components/asset-utility-icons.js +2 -2
- package/dist/components/asset-utility-icons.js.map +1 -1
- package/dist/components/claim-rail.cjs +1 -1
- package/dist/components/claim-rail.cjs.map +1 -1
- package/dist/components/claim-rail.js +1 -1
- package/dist/components/claim-rail.js.map +1 -1
- package/dist/components/coin-card.cjs +4 -4
- package/dist/components/coin-card.cjs.map +1 -1
- package/dist/components/coin-card.js +4 -4
- package/dist/components/coin-card.js.map +1 -1
- package/dist/components/coin-launch-preview.cjs +5 -5
- package/dist/components/coin-launch-preview.cjs.map +1 -1
- package/dist/components/coin-launch-preview.js +5 -5
- package/dist/components/coin-launch-preview.js.map +1 -1
- package/dist/components/coins-explorer.cjs +3 -3
- package/dist/components/coins-explorer.cjs.map +1 -1
- package/dist/components/coins-explorer.js +3 -3
- package/dist/components/coins-explorer.js.map +1 -1
- package/dist/components/collection-card.cjs +6 -6
- package/dist/components/collection-card.cjs.map +1 -1
- package/dist/components/collection-card.js +6 -6
- package/dist/components/collection-card.js.map +1 -1
- package/dist/components/collection-filters.cjs +5 -5
- package/dist/components/collection-filters.cjs.map +1 -1
- package/dist/components/collection-filters.js +5 -5
- package/dist/components/collection-filters.js.map +1 -1
- package/dist/components/community-rewards-section.cjs +2 -2
- package/dist/components/community-rewards-section.cjs.map +1 -1
- package/dist/components/community-rewards-section.js +2 -2
- package/dist/components/community-rewards-section.js.map +1 -1
- package/dist/components/discover-feed-section.cjs +1 -1
- package/dist/components/discover-feed-section.cjs.map +1 -1
- package/dist/components/discover-feed-section.js +1 -1
- package/dist/components/discover-feed-section.js.map +1 -1
- package/dist/components/featured-carousel.cjs +4 -4
- package/dist/components/featured-carousel.cjs.map +1 -1
- package/dist/components/featured-carousel.js +4 -4
- package/dist/components/featured-carousel.js.map +1 -1
- package/dist/components/gradient-button.cjs +1 -1
- package/dist/components/gradient-button.cjs.map +1 -1
- package/dist/components/gradient-button.js +1 -1
- package/dist/components/gradient-button.js.map +1 -1
- package/dist/components/hero-slider.cjs +2 -2
- package/dist/components/hero-slider.cjs.map +1 -1
- package/dist/components/hero-slider.js +2 -2
- package/dist/components/hero-slider.js.map +1 -1
- package/dist/components/launchpad-filter-bar.cjs +1 -1
- package/dist/components/launchpad-filter-bar.cjs.map +1 -1
- package/dist/components/launchpad-filter-bar.js +1 -1
- package/dist/components/launchpad-filter-bar.js.map +1 -1
- package/dist/components/launchpad-services.cjs +5 -5
- package/dist/components/launchpad-services.cjs.map +1 -1
- package/dist/components/launchpad-services.js +5 -5
- package/dist/components/launchpad-services.js.map +1 -1
- package/dist/components/launchpad-strip.cjs +4 -4
- package/dist/components/launchpad-strip.cjs.map +1 -1
- package/dist/components/launchpad-strip.js +4 -4
- package/dist/components/launchpad-strip.js.map +1 -1
- package/dist/components/listing-card.cjs +7 -7
- package/dist/components/listing-card.cjs.map +1 -1
- package/dist/components/listing-card.js +7 -7
- package/dist/components/listing-card.js.map +1 -1
- package/dist/components/medialane-collection-card.cjs +2 -2
- package/dist/components/medialane-collection-card.cjs.map +1 -1
- package/dist/components/medialane-collection-card.js +2 -2
- package/dist/components/medialane-collection-card.js.map +1 -1
- package/dist/components/nav-command-menu.cjs +5 -5
- package/dist/components/nav-command-menu.cjs.map +1 -1
- package/dist/components/nav-command-menu.js +5 -5
- package/dist/components/nav-command-menu.js.map +1 -1
- package/dist/components/nav-shell.cjs +2 -2
- package/dist/components/nav-shell.cjs.map +1 -1
- package/dist/components/nav-shell.js +2 -2
- package/dist/components/nav-shell.js.map +1 -1
- package/dist/components/portfolio-chip-filter.cjs +1 -1
- package/dist/components/portfolio-chip-filter.cjs.map +1 -1
- package/dist/components/portfolio-chip-filter.js +1 -1
- package/dist/components/portfolio-chip-filter.js.map +1 -1
- package/dist/components/portfolio-nav.cjs +2 -2
- package/dist/components/portfolio-nav.cjs.map +1 -1
- package/dist/components/portfolio-nav.js +2 -2
- package/dist/components/portfolio-nav.js.map +1 -1
- package/dist/components/rewards/journey-path.cjs +2 -2
- package/dist/components/rewards/journey-path.cjs.map +1 -1
- package/dist/components/rewards/journey-path.js +2 -2
- package/dist/components/rewards/journey-path.js.map +1 -1
- package/dist/components/rewards/level-badge.cjs +1 -1
- package/dist/components/rewards/level-badge.cjs.map +1 -1
- package/dist/components/rewards/level-badge.js +1 -1
- package/dist/components/rewards/level-badge.js.map +1 -1
- package/dist/components/rewards/level-ladder.cjs +2 -2
- package/dist/components/rewards/level-ladder.cjs.map +1 -1
- package/dist/components/rewards/level-ladder.js +2 -2
- package/dist/components/rewards/level-ladder.js.map +1 -1
- package/dist/components/scroll-section.cjs +1 -1
- package/dist/components/scroll-section.cjs.map +1 -1
- package/dist/components/scroll-section.js +1 -1
- package/dist/components/scroll-section.js.map +1 -1
- package/dist/components/share-button.cjs +1 -1
- package/dist/components/share-button.cjs.map +1 -1
- package/dist/components/share-button.js +1 -1
- package/dist/components/share-button.js.map +1 -1
- package/dist/components/stat-tile.cjs +3 -3
- package/dist/components/stat-tile.cjs.map +1 -1
- package/dist/components/stat-tile.js +3 -3
- package/dist/components/stat-tile.js.map +1 -1
- package/dist/components/token-card.cjs +4 -4
- package/dist/components/token-card.cjs.map +1 -1
- package/dist/components/token-card.js +4 -4
- package/dist/components/token-card.js.map +1 -1
- package/dist/data/brand.cjs +0 -14
- package/dist/data/brand.cjs.map +1 -1
- package/dist/data/brand.d.cts +0 -14
- package/dist/data/brand.d.ts +0 -14
- package/dist/data/brand.js +0 -14
- package/dist/data/brand.js.map +1 -1
- package/dist/medialane.css +4 -0
- package/dist/preset/tailwind.cjs +16 -8
- package/dist/preset/tailwind.cjs.map +1 -1
- package/dist/preset/tailwind.js +16 -8
- package/dist/preset/tailwind.js.map +1 -1
- package/package.json +6 -3
package/dist/data/brand.d.cts
CHANGED
|
@@ -12,20 +12,6 @@ declare const BRAND: {
|
|
|
12
12
|
readonly from: "from-brand-blue/20";
|
|
13
13
|
readonly to: "to-brand-blue/20";
|
|
14
14
|
};
|
|
15
|
-
readonly electric: {
|
|
16
|
-
readonly text: "text-brand-electric";
|
|
17
|
-
readonly bg: "bg-brand-electric/10";
|
|
18
|
-
readonly bgSolid: "bg-brand-electric/15";
|
|
19
|
-
readonly from: "from-brand-electric/20";
|
|
20
|
-
readonly to: "to-brand-electric/20";
|
|
21
|
-
};
|
|
22
|
-
readonly indigo: {
|
|
23
|
-
readonly text: "text-brand-indigo";
|
|
24
|
-
readonly bg: "bg-brand-indigo/10";
|
|
25
|
-
readonly bgSolid: "bg-brand-indigo/15";
|
|
26
|
-
readonly from: "from-brand-indigo/20";
|
|
27
|
-
readonly to: "to-brand-indigo/20";
|
|
28
|
-
};
|
|
29
15
|
readonly purple: {
|
|
30
16
|
readonly text: "text-brand-purple";
|
|
31
17
|
readonly bg: "bg-brand-purple/10";
|
package/dist/data/brand.d.ts
CHANGED
|
@@ -12,20 +12,6 @@ declare const BRAND: {
|
|
|
12
12
|
readonly from: "from-brand-blue/20";
|
|
13
13
|
readonly to: "to-brand-blue/20";
|
|
14
14
|
};
|
|
15
|
-
readonly electric: {
|
|
16
|
-
readonly text: "text-brand-electric";
|
|
17
|
-
readonly bg: "bg-brand-electric/10";
|
|
18
|
-
readonly bgSolid: "bg-brand-electric/15";
|
|
19
|
-
readonly from: "from-brand-electric/20";
|
|
20
|
-
readonly to: "to-brand-electric/20";
|
|
21
|
-
};
|
|
22
|
-
readonly indigo: {
|
|
23
|
-
readonly text: "text-brand-indigo";
|
|
24
|
-
readonly bg: "bg-brand-indigo/10";
|
|
25
|
-
readonly bgSolid: "bg-brand-indigo/15";
|
|
26
|
-
readonly from: "from-brand-indigo/20";
|
|
27
|
-
readonly to: "to-brand-indigo/20";
|
|
28
|
-
};
|
|
29
15
|
readonly purple: {
|
|
30
16
|
readonly text: "text-brand-purple";
|
|
31
17
|
readonly bg: "bg-brand-purple/10";
|
package/dist/data/brand.js
CHANGED
|
@@ -6,20 +6,6 @@ const BRAND = {
|
|
|
6
6
|
from: "from-brand-blue/20",
|
|
7
7
|
to: "to-brand-blue/20"
|
|
8
8
|
},
|
|
9
|
-
electric: {
|
|
10
|
-
text: "text-brand-electric",
|
|
11
|
-
bg: "bg-brand-electric/10",
|
|
12
|
-
bgSolid: "bg-brand-electric/15",
|
|
13
|
-
from: "from-brand-electric/20",
|
|
14
|
-
to: "to-brand-electric/20"
|
|
15
|
-
},
|
|
16
|
-
indigo: {
|
|
17
|
-
text: "text-brand-indigo",
|
|
18
|
-
bg: "bg-brand-indigo/10",
|
|
19
|
-
bgSolid: "bg-brand-indigo/15",
|
|
20
|
-
from: "from-brand-indigo/20",
|
|
21
|
-
to: "to-brand-indigo/20"
|
|
22
|
-
},
|
|
23
9
|
purple: {
|
|
24
10
|
text: "text-brand-purple",
|
|
25
11
|
bg: "bg-brand-purple/10",
|
package/dist/data/brand.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/data/brand.ts"],"sourcesContent":["/**\n * Typed Tailwind class constants for Medialane brand colors.\n * Mirrors the brand color extensions defined in the Tailwind preset.\n * Keeping these as string literals ensures JIT picks them up via the\n * consumer's content scan of node_modules/@medialane/ui/dist.\n */\nexport const BRAND = {\n blue: {\n text: \"text-brand-blue\",\n bg: \"bg-brand-blue/10\",\n bgSolid: \"bg-brand-blue/15\",\n from: \"from-brand-blue/20\",\n to: \"to-brand-blue/20\",\n },\n
|
|
1
|
+
{"version":3,"sources":["../../src/data/brand.ts"],"sourcesContent":["/**\n * Typed Tailwind class constants for Medialane brand colors.\n * Mirrors the brand color extensions defined in the Tailwind preset.\n * Keeping these as string literals ensures JIT picks them up via the\n * consumer's content scan of node_modules/@medialane/ui/dist.\n */\nexport const BRAND = {\n blue: {\n text: \"text-brand-blue\",\n bg: \"bg-brand-blue/10\",\n bgSolid: \"bg-brand-blue/15\",\n from: \"from-brand-blue/20\",\n to: \"to-brand-blue/20\",\n },\n purple: {\n text: \"text-brand-purple\",\n bg: \"bg-brand-purple/10\",\n bgSolid: \"bg-brand-purple/15\",\n from: \"from-brand-purple/20\",\n to: \"to-brand-purple/20\",\n },\n rose: {\n text: \"text-brand-rose\",\n bg: \"bg-brand-rose/10\",\n bgSolid: \"bg-brand-rose/15\",\n from: \"from-brand-rose/20\",\n to: \"to-brand-rose/20\",\n },\n orange: {\n text: \"text-brand-orange\",\n bg: \"bg-brand-orange/10\",\n bgSolid: \"bg-brand-orange/15\",\n from: \"from-brand-orange/20\",\n to: \"to-brand-orange/20\",\n },\n price: {\n text: \"text-brand-price\",\n bg: \"bg-brand-price/10\",\n bgSolid: \"bg-brand-price/15\",\n },\n navy: {\n text: \"text-brand-navy\",\n bg: \"bg-brand-navy/10\",\n from: \"from-brand-navy/10\",\n to: \"to-brand-navy/10\",\n },\n} as const;\n"],"mappings":"AAMO,MAAM,QAAQ;AAAA,EACnB,MAAM;AAAA,IACJ,MAAS;AAAA,IACT,IAAS;AAAA,IACT,SAAS;AAAA,IACT,MAAS;AAAA,IACT,IAAS;AAAA,EACX;AAAA,EACA,QAAQ;AAAA,IACN,MAAS;AAAA,IACT,IAAS;AAAA,IACT,SAAS;AAAA,IACT,MAAS;AAAA,IACT,IAAS;AAAA,EACX;AAAA,EACA,MAAM;AAAA,IACJ,MAAS;AAAA,IACT,IAAS;AAAA,IACT,SAAS;AAAA,IACT,MAAS;AAAA,IACT,IAAS;AAAA,EACX;AAAA,EACA,QAAQ;AAAA,IACN,MAAS;AAAA,IACT,IAAS;AAAA,IACT,SAAS;AAAA,IACT,MAAS;AAAA,IACT,IAAS;AAAA,EACX;AAAA,EACA,OAAO;AAAA,IACL,MAAS;AAAA,IACT,IAAS;AAAA,IACT,SAAS;AAAA,EACX;AAAA,EACA,MAAM;AAAA,IACJ,MAAS;AAAA,IACT,IAAS;AAAA,IACT,MAAS;AAAA,IACT,IAAS;AAAA,EACX;AACF;","names":[]}
|
package/dist/medialane.css
CHANGED
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
.scrollbar-hide { scrollbar-width: none; }
|
|
13
13
|
.scrollbar-hide::-webkit-scrollbar { display: none; }
|
|
14
14
|
|
|
15
|
+
/* ── Safe-area insets (notched/home-indicator devices) ──────────────────── */
|
|
16
|
+
.pb-safe { padding-bottom: max(env(safe-area-inset-bottom), 0px); }
|
|
17
|
+
.pt-safe { padding-top: max(env(safe-area-inset-top), 0px); }
|
|
18
|
+
|
|
15
19
|
/* ── Glass ────────────────────────────────────────────────────────────── */
|
|
16
20
|
.glass {
|
|
17
21
|
background: rgba(10, 14, 30, 0.60);
|
package/dist/preset/tailwind.cjs
CHANGED
|
@@ -25,14 +25,16 @@ const medialanePreset = {
|
|
|
25
25
|
theme: {
|
|
26
26
|
extend: {
|
|
27
27
|
colors: {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"brand-
|
|
33
|
-
"brand-
|
|
34
|
-
"brand-
|
|
35
|
-
"brand-
|
|
28
|
+
// Each resolves via the app's own --brand-* CSS var when defined
|
|
29
|
+
// (medialane-io, medialane-starknet); the fallback keeps every
|
|
30
|
+
// color working standalone for any consumer that defines none
|
|
31
|
+
// (medialane-portal today, or a future app).
|
|
32
|
+
"brand-blue": "hsl(var(--brand-blue, 220 100% 62%))",
|
|
33
|
+
"brand-purple": "hsl(var(--brand-purple, 258 90% 66%))",
|
|
34
|
+
"brand-rose": "hsl(var(--brand-rose, 341 89% 67%))",
|
|
35
|
+
"brand-orange": "hsl(var(--brand-orange, 23 96% 63%))",
|
|
36
|
+
"brand-price": "hsl(var(--brand-price, 25 95% 53%))",
|
|
37
|
+
"brand-navy": "hsl(var(--brand-navy, 229 51% 8%))"
|
|
36
38
|
},
|
|
37
39
|
borderRadius: {
|
|
38
40
|
brand: "11px"
|
|
@@ -41,6 +43,12 @@ const medialanePreset = {
|
|
|
41
43
|
// Brand display face (headings). Apps define --font-display via
|
|
42
44
|
// next/font (Urbanist); falls back to the body face when unset.
|
|
43
45
|
display: ["var(--font-display)", "Urbanist", "Inter", "system-ui", "sans-serif"]
|
|
46
|
+
},
|
|
47
|
+
fontSize: {
|
|
48
|
+
// Floor for true micro-text (timestamps, counts) — nothing in the
|
|
49
|
+
// package should go below this. Everything else uses Tailwind's
|
|
50
|
+
// built-in scale (xs=12px and up).
|
|
51
|
+
"2xs": ["11px", { lineHeight: "14px" }]
|
|
44
52
|
}
|
|
45
53
|
}
|
|
46
54
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/preset/tailwind.ts"],"sourcesContent":["import type { Config } from \"tailwindcss\";\n\nconst medialanePreset: Partial<Config> = {\n theme: {\n extend: {\n colors: {\n
|
|
1
|
+
{"version":3,"sources":["../../src/preset/tailwind.ts"],"sourcesContent":["import type { Config } from \"tailwindcss\";\n\nconst medialanePreset: Partial<Config> = {\n theme: {\n extend: {\n colors: {\n // Each resolves via the app's own --brand-* CSS var when defined\n // (medialane-io, medialane-starknet); the fallback keeps every\n // color working standalone for any consumer that defines none\n // (medialane-portal today, or a future app).\n \"brand-blue\": \"hsl(var(--brand-blue, 220 100% 62%))\",\n \"brand-purple\": \"hsl(var(--brand-purple, 258 90% 66%))\",\n \"brand-rose\": \"hsl(var(--brand-rose, 341 89% 67%))\",\n \"brand-orange\": \"hsl(var(--brand-orange, 23 96% 63%))\",\n \"brand-price\": \"hsl(var(--brand-price, 25 95% 53%))\",\n \"brand-navy\": \"hsl(var(--brand-navy, 229 51% 8%))\",\n },\n borderRadius: {\n brand: \"11px\",\n },\n fontFamily: {\n // Brand display face (headings). Apps define --font-display via\n // next/font (Urbanist); falls back to the body face when unset.\n display: [\"var(--font-display)\", \"Urbanist\", \"Inter\", \"system-ui\", \"sans-serif\"],\n },\n fontSize: {\n // Floor for true micro-text (timestamps, counts) — nothing in the\n // package should go below this. Everything else uses Tailwind's\n // built-in scale (xs=12px and up).\n \"2xs\": [\"11px\", { lineHeight: \"14px\" }],\n },\n },\n },\n};\n\nexport default medialanePreset;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,MAAM,kBAAmC;AAAA,EACvC,OAAO;AAAA,IACL,QAAQ;AAAA,MACN,QAAQ;AAAA;AAAA;AAAA;AAAA;AAAA,QAKN,cAAkB;AAAA,QAClB,gBAAkB;AAAA,QAClB,cAAkB;AAAA,QAClB,gBAAkB;AAAA,QAClB,eAAkB;AAAA,QAClB,cAAkB;AAAA,MACpB;AAAA,MACA,cAAc;AAAA,QACZ,OAAO;AAAA,MACT;AAAA,MACA,YAAY;AAAA;AAAA;AAAA,QAGV,SAAS,CAAC,uBAAuB,YAAY,SAAS,aAAa,YAAY;AAAA,MACjF;AAAA,MACA,UAAU;AAAA;AAAA;AAAA;AAAA,QAIR,OAAO,CAAC,QAAQ,EAAE,YAAY,OAAO,CAAC;AAAA,MACxC;AAAA,IACF;AAAA,EACF;AACF;AAEA,IAAO,mBAAQ;","names":[]}
|
package/dist/preset/tailwind.js
CHANGED
|
@@ -2,14 +2,16 @@ const medialanePreset = {
|
|
|
2
2
|
theme: {
|
|
3
3
|
extend: {
|
|
4
4
|
colors: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"brand-
|
|
10
|
-
"brand-
|
|
11
|
-
"brand-
|
|
12
|
-
"brand-
|
|
5
|
+
// Each resolves via the app's own --brand-* CSS var when defined
|
|
6
|
+
// (medialane-io, medialane-starknet); the fallback keeps every
|
|
7
|
+
// color working standalone for any consumer that defines none
|
|
8
|
+
// (medialane-portal today, or a future app).
|
|
9
|
+
"brand-blue": "hsl(var(--brand-blue, 220 100% 62%))",
|
|
10
|
+
"brand-purple": "hsl(var(--brand-purple, 258 90% 66%))",
|
|
11
|
+
"brand-rose": "hsl(var(--brand-rose, 341 89% 67%))",
|
|
12
|
+
"brand-orange": "hsl(var(--brand-orange, 23 96% 63%))",
|
|
13
|
+
"brand-price": "hsl(var(--brand-price, 25 95% 53%))",
|
|
14
|
+
"brand-navy": "hsl(var(--brand-navy, 229 51% 8%))"
|
|
13
15
|
},
|
|
14
16
|
borderRadius: {
|
|
15
17
|
brand: "11px"
|
|
@@ -18,6 +20,12 @@ const medialanePreset = {
|
|
|
18
20
|
// Brand display face (headings). Apps define --font-display via
|
|
19
21
|
// next/font (Urbanist); falls back to the body face when unset.
|
|
20
22
|
display: ["var(--font-display)", "Urbanist", "Inter", "system-ui", "sans-serif"]
|
|
23
|
+
},
|
|
24
|
+
fontSize: {
|
|
25
|
+
// Floor for true micro-text (timestamps, counts) — nothing in the
|
|
26
|
+
// package should go below this. Everything else uses Tailwind's
|
|
27
|
+
// built-in scale (xs=12px and up).
|
|
28
|
+
"2xs": ["11px", { lineHeight: "14px" }]
|
|
21
29
|
}
|
|
22
30
|
}
|
|
23
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/preset/tailwind.ts"],"sourcesContent":["import type { Config } from \"tailwindcss\";\n\nconst medialanePreset: Partial<Config> = {\n theme: {\n extend: {\n colors: {\n
|
|
1
|
+
{"version":3,"sources":["../../src/preset/tailwind.ts"],"sourcesContent":["import type { Config } from \"tailwindcss\";\n\nconst medialanePreset: Partial<Config> = {\n theme: {\n extend: {\n colors: {\n // Each resolves via the app's own --brand-* CSS var when defined\n // (medialane-io, medialane-starknet); the fallback keeps every\n // color working standalone for any consumer that defines none\n // (medialane-portal today, or a future app).\n \"brand-blue\": \"hsl(var(--brand-blue, 220 100% 62%))\",\n \"brand-purple\": \"hsl(var(--brand-purple, 258 90% 66%))\",\n \"brand-rose\": \"hsl(var(--brand-rose, 341 89% 67%))\",\n \"brand-orange\": \"hsl(var(--brand-orange, 23 96% 63%))\",\n \"brand-price\": \"hsl(var(--brand-price, 25 95% 53%))\",\n \"brand-navy\": \"hsl(var(--brand-navy, 229 51% 8%))\",\n },\n borderRadius: {\n brand: \"11px\",\n },\n fontFamily: {\n // Brand display face (headings). Apps define --font-display via\n // next/font (Urbanist); falls back to the body face when unset.\n display: [\"var(--font-display)\", \"Urbanist\", \"Inter\", \"system-ui\", \"sans-serif\"],\n },\n fontSize: {\n // Floor for true micro-text (timestamps, counts) — nothing in the\n // package should go below this. Everything else uses Tailwind's\n // built-in scale (xs=12px and up).\n \"2xs\": [\"11px\", { lineHeight: \"14px\" }],\n },\n },\n },\n};\n\nexport default medialanePreset;\n"],"mappings":"AAEA,MAAM,kBAAmC;AAAA,EACvC,OAAO;AAAA,IACL,QAAQ;AAAA,MACN,QAAQ;AAAA;AAAA;AAAA;AAAA;AAAA,QAKN,cAAkB;AAAA,QAClB,gBAAkB;AAAA,QAClB,cAAkB;AAAA,QAClB,gBAAkB;AAAA,QAClB,eAAkB;AAAA,QAClB,cAAkB;AAAA,MACpB;AAAA,MACA,cAAc;AAAA,QACZ,OAAO;AAAA,MACT;AAAA,MACA,YAAY;AAAA;AAAA;AAAA,QAGV,SAAS,CAAC,uBAAuB,YAAY,SAAS,aAAa,YAAY;AAAA,MACjF;AAAA,MACA,UAAU;AAAA;AAAA;AAAA;AAAA,QAIR,OAAO,CAAC,QAAQ,EAAE,YAAY,OAAO,CAAC;AAAA,MACxC;AAAA,IACF;AAAA,EACF;AACF;AAEA,IAAO,mBAAQ;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medialane/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.100.0",
|
|
4
4
|
"description": "Shared UI components for Medialane apps",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -45,7 +45,8 @@
|
|
|
45
45
|
"scripts": {
|
|
46
46
|
"build": "tsup",
|
|
47
47
|
"dev": "tsup --watch",
|
|
48
|
-
"typecheck": "tsc --noEmit"
|
|
48
|
+
"typecheck": "tsc --noEmit",
|
|
49
|
+
"preview": "vite --config preview/vite.config.ts"
|
|
49
50
|
},
|
|
50
51
|
"peerDependencies": {
|
|
51
52
|
"@medialane/sdk": ">=0.73.0",
|
|
@@ -67,6 +68,7 @@
|
|
|
67
68
|
"@types/bun": "^1.3.14",
|
|
68
69
|
"@types/react": "^19.0.0",
|
|
69
70
|
"@types/react-dom": "^19.0.0",
|
|
71
|
+
"@vitejs/plugin-react": "^6.0.5",
|
|
70
72
|
"clsx": "^2.0.0",
|
|
71
73
|
"cmdk": "^1.1.1",
|
|
72
74
|
"framer-motion": "^11.0.0",
|
|
@@ -80,6 +82,7 @@
|
|
|
80
82
|
"tailwind-merge": "^2.0.0",
|
|
81
83
|
"tailwindcss": "^3.0.0",
|
|
82
84
|
"tsup": "^8.0.0",
|
|
83
|
-
"typescript": "^5.6.0"
|
|
85
|
+
"typescript": "^5.6.0",
|
|
86
|
+
"vite": "^8.2.1"
|
|
84
87
|
}
|
|
85
88
|
}
|