@slyxup/ui 0.2.13 → 0.2.15

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.
@@ -93,7 +93,7 @@ export function PricingTable({ plans, onSelect, loading }: PricingTableProps) {
93
93
  fontSize: 38,
94
94
  fontWeight: 750,
95
95
  letterSpacing: '-0.03em',
96
- fontFamily: '"Space Grotesk",sans-serif',
96
+ fontFamily: 'var(--slx-display)',
97
97
  }}
98
98
  >
99
99
  ${(plan.amount / 100).toFixed(0)}
package/src/index.ts CHANGED
@@ -35,6 +35,10 @@ export {
35
35
  PricingTable,
36
36
  type PricingTableProps,
37
37
  } from './components/PricingTable/PricingTable';
38
+ export {
39
+ AdminPanel,
40
+ type AdminPanelProps,
41
+ } from './components/AdminPanel/AdminPanel';
38
42
  export { initPaddle, openPaddleCheckout } from './lib/paddle';
39
43
 
40
44
  import { useEffect } from 'react';
package/src/styles.ts CHANGED
@@ -4,11 +4,9 @@
4
4
  * CSS variables on :root or .slyxup-scope.
5
5
  */
6
6
 
7
- export const FONT_LINK = `<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700;9..40,800&family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">`;
7
+ export const FONT_LINK = '';
8
8
 
9
9
  export const CSS = `
10
- @import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700;9..40,800&family=Space+Grotesk:wght@400;500;600;700&display=swap');
11
-
12
10
  .slyxup-root {
13
11
  /* ── Tokens ── */
14
12
  --slx-accent: #5b5bd6;
@@ -27,8 +25,8 @@ export const CSS = `
27
25
  --slx-radius-sm: 8px;
28
26
  --slx-radius: 10px;
29
27
  --slx-radius-lg: 14px;
30
- --slx-font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
31
- --slx-display: "Space Grotesk", "DM Sans", sans-serif;
28
+ --slx-font: inherit;
29
+ --slx-display: inherit;
32
30
  --slx-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
33
31
  --slx-shadow-card:
34
32
  0 1px 2px rgba(18,18,28,.05),