@datalayer/design 1.0.1 → 1.0.3

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 (87) hide show
  1. package/lib/App.d.ts +1 -1
  2. package/lib/footer/MinimalFooter.d.ts +3 -3
  3. package/lib/footer/MinimalFooter.js +3 -1
  4. package/lib/footer/component-helpers.d.ts +2 -2
  5. package/lib/layout/SiteLayout.d.ts +1 -1
  6. package/lib/pages/HomePage.d.ts +1 -1
  7. package/lib/pages/IconsPage.d.ts +1 -1
  8. package/lib/pages/SvgPage.d.ts +1 -1
  9. package/lib/pages/SvgPage.js +23 -6
  10. package/lib/svg/SvgAboutHero.d.ts +1 -1
  11. package/lib/svg/SvgAgentRuntimes.d.ts +1 -1
  12. package/lib/svg/SvgAgentsHero.d.ts +1 -1
  13. package/lib/svg/SvgAgentsHomeHero.d.ts +9 -2
  14. package/lib/svg/SvgAgentsHomeHero.js +8 -2
  15. package/lib/svg/SvgAssignmentArtifact.d.ts +1 -1
  16. package/lib/svg/SvgBlackSnake.d.ts +1 -1
  17. package/lib/svg/SvgBlogHero.d.ts +1 -1
  18. package/lib/svg/SvgCareersHero.d.ts +1 -1
  19. package/lib/svg/SvgCellArtifact.d.ts +1 -1
  20. package/lib/svg/SvgCellOutputshotPlaceholder.d.ts +1 -0
  21. package/lib/svg/SvgCellOutputshotPlaceholder.js +0 -5
  22. package/lib/svg/SvgChangelogHero.d.ts +1 -1
  23. package/lib/svg/SvgCommunityHero.d.ts +1 -1
  24. package/lib/svg/SvgContactHero.d.ts +1 -1
  25. package/lib/svg/SvgDI.d.ts +19 -0
  26. package/lib/svg/SvgDI.js +20 -0
  27. package/lib/svg/SvgDataset.d.ts +1 -1
  28. package/lib/svg/SvgDaytonaStartupGrid.d.ts +19 -0
  29. package/lib/svg/SvgDaytonaStartupGrid.js +41 -0
  30. package/lib/svg/SvgDeckArtifact.d.ts +13 -0
  31. package/lib/svg/SvgDeckArtifact.js +21 -0
  32. package/lib/svg/SvgDiscord.d.ts +1 -1
  33. package/lib/svg/SvgDocumentArtifact.d.ts +1 -1
  34. package/lib/svg/SvgEarthHero.d.ts +1 -1
  35. package/lib/svg/SvgEvalsHero.d.ts +1 -1
  36. package/lib/svg/SvgEventsHero.d.ts +1 -1
  37. package/lib/svg/SvgExerciseArtifact.d.ts +1 -1
  38. package/lib/svg/SvgFastA2ADonation.d.ts +1 -1
  39. package/lib/svg/SvgIndividualsAndTeams.d.ts +1 -1
  40. package/lib/svg/SvgIntegrationsHero.d.ts +1 -1
  41. package/lib/svg/SvgInvites.d.ts +1 -1
  42. package/lib/svg/SvgJoin.d.ts +1 -1
  43. package/lib/svg/SvgJoinConfirm.d.ts +1 -1
  44. package/lib/svg/SvgJupyterEmbed.d.ts +1 -1
  45. package/lib/svg/SvgJupyterMcp.d.ts +1 -1
  46. package/lib/svg/SvgJupyterMcp.js +1 -1
  47. package/lib/svg/SvgJupyterMcp2.d.ts +25 -0
  48. package/lib/svg/SvgJupyterMcp2.js +74 -0
  49. package/lib/svg/SvgLessonArtifact.d.ts +1 -1
  50. package/lib/svg/SvgLibraryHero.d.ts +5 -0
  51. package/lib/svg/SvgLibraryHero.js +165 -0
  52. package/lib/svg/SvgLightHouse.d.ts +5 -0
  53. package/lib/svg/SvgLightHouse.js +84 -0
  54. package/lib/svg/SvgLines.d.ts +1 -1
  55. package/lib/svg/SvgLinesLogo.d.ts +13 -1
  56. package/lib/svg/SvgLinesLogo.js +10 -5
  57. package/lib/svg/SvgLoginHero.d.ts +1 -1
  58. package/lib/svg/SvgNotFound.d.ts +1 -1
  59. package/lib/svg/SvgNotebookArtifact.d.ts +1 -1
  60. package/lib/svg/SvgNotebookMock.d.ts +1 -0
  61. package/lib/svg/SvgNotebookMock.js +0 -5
  62. package/lib/svg/SvgOSAContributions.d.ts +1 -1
  63. package/lib/svg/SvgOg.d.ts +34 -0
  64. package/lib/svg/SvgOg.js +56 -0
  65. package/lib/svg/SvgOrganizationsAtScale.d.ts +1 -1
  66. package/lib/svg/SvgPartnersHero.d.ts +1 -1
  67. package/lib/svg/SvgPixel1.d.ts +1 -1
  68. package/lib/svg/SvgPixel2.d.ts +1 -1
  69. package/lib/svg/SvgPricingHero.d.ts +1 -1
  70. package/lib/svg/SvgPrivacyHero.d.ts +1 -1
  71. package/lib/svg/SvgPublication.d.ts +1 -1
  72. package/lib/svg/SvgRadar.d.ts +1 -1
  73. package/lib/svg/SvgResearchHero.d.ts +1 -1
  74. package/lib/svg/SvgSkubble.d.ts +1 -1
  75. package/lib/svg/SvgSpitfire.d.ts +1 -1
  76. package/lib/svg/SvgStarsHero.d.ts +1 -1
  77. package/lib/svg/SvgTermsHero.d.ts +1 -1
  78. package/lib/svg/SvgTutorialsHero.d.ts +1 -1
  79. package/lib/svg/SvgUnauthorized.d.ts +1 -1
  80. package/lib/svg/SvgUsecasesHero.d.ts +1 -1
  81. package/lib/svg/SvgVSCodeExtension.d.ts +1 -1
  82. package/lib/svg/SvgVSCodeExtension.js +13 -1
  83. package/lib/svg/gallery.d.ts +1 -1
  84. package/lib/svg/gallery.js +6 -0
  85. package/lib/svg/index.d.ts +6 -0
  86. package/lib/svg/index.js +6 -0
  87. package/package.json +10 -10
@@ -7,5 +7,5 @@
7
7
  import { type ColorPalette } from '@datalayer/primer-addons';
8
8
  export declare function SvgOSAContributions({ palette: paletteProp }?: {
9
9
  palette?: ColorPalette;
10
- }): import("react/jsx-runtime").JSX.Element;
10
+ }): import("react").JSX.Element;
11
11
  export default SvgOSAContributions;
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Open Graph card for Datalayer.
3
+ *
4
+ * 1200×630 (1.91:1) — the universal OG size, so Facebook, LinkedIn, X,
5
+ * Slack and Discord all render it large and uncropped.
6
+ *
7
+ * Visual motif: the Datalayer logo + wordmark, big and centred, over the
8
+ * house dot grid with a soft glow behind it, and the tagline sitting on a
9
+ * baseline underneath.
10
+ *
11
+ * The wordmark is drawn from outlines (no web font), and the tagline uses a
12
+ * system stack, so the card rasterises identically wherever it is exported
13
+ * from — no font loading in the PNG/JPG path.
14
+ *
15
+ * No LightBoostFilter here on purpose: the brand colours are the subject and
16
+ * must come out exact.
17
+ */
18
+ import { type ColorMode, type ColorPalette, type ThemeVariant } from '@datalayer/primer-addons';
19
+ type SvgOgProps = {
20
+ /** The line under the logo. */
21
+ tagline?: string;
22
+ /** Background palette. Derived from `variant`/`colorMode` when absent. */
23
+ palette?: ColorPalette;
24
+ /**
25
+ * Draw the card for this theme rather than for the reader's own — a page
26
+ * that carries a theme of its own needs that, the reader's store is what
27
+ * every other caller wants.
28
+ */
29
+ variant?: ThemeVariant;
30
+ /** The colour mode to go with `variant`. The store's when absent. */
31
+ colorMode?: ColorMode;
32
+ };
33
+ export declare function SvgOg({ tagline, palette: paletteProp, variant, colorMode: colorModeProp, }?: SvgOgProps): import("react").JSX.Element;
34
+ export default SvgOg;
@@ -0,0 +1,56 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /*
3
+ * Copyright (c) 2022-2026 Datalayer, Inc.
4
+ *
5
+ * Datalayer License
6
+ */
7
+ /**
8
+ * Open Graph card for Datalayer.
9
+ *
10
+ * 1200×630 (1.91:1) — the universal OG size, so Facebook, LinkedIn, X,
11
+ * Slack and Discord all render it large and uncropped.
12
+ *
13
+ * Visual motif: the Datalayer logo + wordmark, big and centred, over the
14
+ * house dot grid with a soft glow behind it, and the tagline sitting on a
15
+ * baseline underneath.
16
+ *
17
+ * The wordmark is drawn from outlines (no web font), and the tagline uses a
18
+ * system stack, so the card rasterises identically wherever it is exported
19
+ * from — no font loading in the PNG/JPG path.
20
+ *
21
+ * No LightBoostFilter here on purpose: the brand colours are the subject and
22
+ * must come out exact.
23
+ */
24
+ import { DatalayerLogoText, getColorPalette, getLogoColors, useThemeStore, } from '@datalayer/primer-addons';
25
+ const WIDTH = 1200;
26
+ const HEIGHT = 630;
27
+ /* The wordmark's own viewBox when the mark leads: 161.672×25. */
28
+ const LOGO_VIEWBOX_HEIGHT = 25;
29
+ const LOGO_HEIGHT = 128;
30
+ const LOGO_SCALE = LOGO_HEIGHT / LOGO_VIEWBOX_HEIGHT;
31
+ /*
32
+ * Mark-first parks the wordmark's intrinsic gutter at the RIGHT of the
33
+ * viewBox — the ink stops at 148.897 of the 161.672 units (measured off the
34
+ * rendered outlines; it mirrors the 12-unit trim the mark-last arrangement
35
+ * takes off its left). Centring the BOX would therefore hang the logo ~33px
36
+ * left of the tagline, so the ink is what gets centred here.
37
+ */
38
+ const LOGO_INK_WIDTH_UNITS = 148.897;
39
+ const LOGO_INK_WIDTH = LOGO_INK_WIDTH_UNITS * LOGO_SCALE;
40
+ /* The ink starts at the viewBox origin, so its left edge IS the svg's x. */
41
+ const LOGO_X = (WIDTH - LOGO_INK_WIDTH) / 2;
42
+ const LOGO_Y = 196;
43
+ const TAGLINE_BASELINE = 430;
44
+ const TAGLINE_SIZE = 46;
45
+ export function SvgOg({ tagline = 'Agent Workers for Data Analysis', palette: paletteProp, variant, colorMode: colorModeProp, } = {}) {
46
+ const stored = useThemeStore();
47
+ const theme = variant ?? stored.theme;
48
+ const colorMode = colorModeProp ?? stored.colorMode;
49
+ const effectiveColorMode = colorMode === 'auto'
50
+ ? (typeof window !== 'undefined' && window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light')
51
+ : colorMode;
52
+ const logoColors = getLogoColors(theme, effectiveColorMode);
53
+ const p = paletteProp ?? getColorPalette(theme, effectiveColorMode);
54
+ return (_jsxs("svg", { viewBox: `0 0 ${WIDTH} ${HEIGHT}`, xmlns: "http://www.w3.org/2000/svg", style: { width: '100%', height: 'auto', display: 'block' }, role: "img", "aria-label": `Datalayer — ${tagline}`, children: [_jsxs("defs", { children: [_jsxs("linearGradient", { id: "og-bg", x1: "0%", y1: "0%", x2: "100%", y2: "100%", children: [_jsx("stop", { offset: "0%", stopColor: p.bg }), _jsx("stop", { offset: "100%", stopColor: p.bgAlt })] }), _jsxs("radialGradient", { id: "og-halo", cx: "50%", cy: "46%", r: "60%", children: [_jsx("stop", { offset: "0%", stopColor: p.primary, stopOpacity: p.isLight ? '0.14' : '0.22' }), _jsx("stop", { offset: "100%", stopColor: p.primary, stopOpacity: "0" })] }), _jsx("pattern", { id: "og-dots", width: "40", height: "40", patternUnits: "userSpaceOnUse", children: _jsx("circle", { cx: "20", cy: "20", r: "1", fill: p.primary, opacity: p.isLight ? '0.14' : '0.10' }) })] }), _jsx("rect", { width: WIDTH, height: HEIGHT, fill: "url(#og-bg)" }), _jsx("rect", { width: WIDTH, height: HEIGHT, fill: "url(#og-dots)" }), _jsx("rect", { width: WIDTH, height: HEIGHT, fill: "url(#og-halo)" }), _jsx(DatalayerLogoText, { size: LOGO_HEIGHT, inverse: true, x: LOGO_X, y: LOGO_Y, variant: theme, colorMode: effectiveColorMode, primaryColor: logoColors.primary, secondaryColor: logoColors.secondary, textColor: logoColors.textColor }), _jsx("text", { x: WIDTH / 2, y: TAGLINE_BASELINE, textAnchor: "middle", fill: p.textLight, fontSize: TAGLINE_SIZE, fontWeight: "600", letterSpacing: "0.5", fontFamily: "system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif", children: tagline })] }));
55
+ }
56
+ export default SvgOg;
@@ -8,4 +8,4 @@
8
8
  import { type ColorPalette } from '@datalayer/primer-addons';
9
9
  export declare function SvgOrganizationsAtScale({ palette: paletteProp }?: {
10
10
  palette?: ColorPalette;
11
- }): import("react/jsx-runtime").JSX.Element;
11
+ }): import("react").JSX.Element;
@@ -12,5 +12,5 @@
12
12
  import { type ColorPalette } from '@datalayer/primer-addons';
13
13
  export declare function SvgPartnersHero({ palette: paletteProp }?: {
14
14
  palette?: ColorPalette;
15
- }): import("react/jsx-runtime").JSX.Element;
15
+ }): import("react").JSX.Element;
16
16
  export default SvgPartnersHero;
@@ -1,5 +1,5 @@
1
1
  import { type ColorPalette } from '@datalayer/primer-addons';
2
2
  export declare function SvgPixel1({ palette: paletteProp }?: {
3
3
  palette?: ColorPalette;
4
- }): import("react/jsx-runtime").JSX.Element;
4
+ }): import("react").JSX.Element;
5
5
  export default SvgPixel1;
@@ -1,5 +1,5 @@
1
1
  import { type ColorPalette } from '@datalayer/primer-addons';
2
2
  export declare function SvgPixel2({ palette: paletteProp }?: {
3
3
  palette?: ColorPalette;
4
- }): import("react/jsx-runtime").JSX.Element;
4
+ }): import("react").JSX.Element;
5
5
  export default SvgPixel2;
@@ -8,4 +8,4 @@
8
8
  import { type ColorPalette } from '@datalayer/primer-addons';
9
9
  export declare function SvgPricingHero({ palette: paletteProp }?: {
10
10
  palette?: ColorPalette;
11
- }): import("react/jsx-runtime").JSX.Element;
11
+ }): import("react").JSX.Element;
@@ -8,4 +8,4 @@
8
8
  import { type ColorPalette } from '@datalayer/primer-addons';
9
9
  export declare function SvgPrivacyHero({ palette: paletteProp }?: {
10
10
  palette?: ColorPalette;
11
- }): import("react/jsx-runtime").JSX.Element;
11
+ }): import("react").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { type ColorPalette } from '@datalayer/primer-addons';
2
2
  export declare function SvgPublication({ palette: paletteProp, }?: {
3
3
  palette?: ColorPalette;
4
- }): import("react/jsx-runtime").JSX.Element;
4
+ }): import("react").JSX.Element;
5
5
  export default SvgPublication;
@@ -4,5 +4,5 @@ type SvgRadarProps = {
4
4
  height?: number | string;
5
5
  palette?: ColorPalette;
6
6
  };
7
- export declare function SvgRadar({ width, height, palette: paletteProp }?: SvgRadarProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function SvgRadar({ width, height, palette: paletteProp }?: SvgRadarProps): import("react").JSX.Element;
8
8
  export default SvgRadar;
@@ -13,5 +13,5 @@
13
13
  import { type ColorPalette } from '@datalayer/primer-addons';
14
14
  export declare function SvgResearchHero({ palette: paletteProp }?: {
15
15
  palette?: ColorPalette;
16
- }): import("react/jsx-runtime").JSX.Element;
16
+ }): import("react").JSX.Element;
17
17
  export default SvgResearchHero;
@@ -7,5 +7,5 @@
7
7
  import { type ColorPalette } from '@datalayer/primer-addons';
8
8
  export declare function SvgSkubble({ palette: paletteProp }?: {
9
9
  palette?: ColorPalette;
10
- }): import("react/jsx-runtime").JSX.Element;
10
+ }): import("react").JSX.Element;
11
11
  export default SvgSkubble;
@@ -7,5 +7,5 @@
7
7
  import { type ColorPalette } from '@datalayer/primer-addons';
8
8
  export declare function SvgSpitfire({ palette: paletteProp }?: {
9
9
  palette?: ColorPalette;
10
- }): import("react/jsx-runtime").JSX.Element;
10
+ }): import("react").JSX.Element;
11
11
  export default SvgSpitfire;
@@ -11,5 +11,5 @@
11
11
  import { type ColorPalette } from '@datalayer/primer-addons';
12
12
  export declare function SvgStarsHero({ palette: paletteProp }?: {
13
13
  palette?: ColorPalette;
14
- }): import("react/jsx-runtime").JSX.Element;
14
+ }): import("react").JSX.Element;
15
15
  export default SvgStarsHero;
@@ -8,4 +8,4 @@
8
8
  import { type ColorPalette } from '@datalayer/primer-addons';
9
9
  export declare function SvgTermsHero({ palette: paletteProp }?: {
10
10
  palette?: ColorPalette;
11
- }): import("react/jsx-runtime").JSX.Element;
11
+ }): import("react").JSX.Element;
@@ -12,5 +12,5 @@
12
12
  import { type ColorPalette } from '@datalayer/primer-addons';
13
13
  export declare function SvgTutorialsHero({ palette: paletteProp }?: {
14
14
  palette?: ColorPalette;
15
- }): import("react/jsx-runtime").JSX.Element;
15
+ }): import("react").JSX.Element;
16
16
  export default SvgTutorialsHero;
@@ -8,5 +8,5 @@
8
8
  import { type ColorPalette } from '@datalayer/primer-addons';
9
9
  export declare function SvgUnauthorized({ palette: paletteProp, }?: {
10
10
  palette?: ColorPalette;
11
- }): import("react/jsx-runtime").JSX.Element;
11
+ }): import("react").JSX.Element;
12
12
  export default SvgUnauthorized;
@@ -13,4 +13,4 @@
13
13
  import { type ColorPalette } from '@datalayer/primer-addons';
14
14
  export declare function SvgUsecasesHero({ palette: paletteProp }?: {
15
15
  palette?: ColorPalette;
16
- }): import("react/jsx-runtime").JSX.Element;
16
+ }): import("react").JSX.Element;
@@ -4,4 +4,4 @@
4
4
  import { type ColorPalette } from '@datalayer/primer-addons';
5
5
  export declare function SvgVSCodeExtension({ palette: paletteProp }?: {
6
6
  palette?: ColorPalette;
7
- }): import("react/jsx-runtime").JSX.Element;
7
+ }): import("react").JSX.Element;
@@ -11,5 +11,17 @@ import { useColorPalette, SharedDefs, BgGrid } from '@datalayer/primer-addons';
11
11
  export function SvgVSCodeExtension({ palette: paletteProp } = {}) {
12
12
  const auto = useColorPalette();
13
13
  const p = paletteProp ?? auto;
14
- return (_jsxs("svg", { viewBox: "0 0 800 400", xmlns: "http://www.w3.org/2000/svg", style: { width: '100%', height: 'auto', display: 'block' }, children: [_jsx(SharedDefs, { p: p }), _jsx("rect", { width: "800", height: "400", fill: p.bg }), _jsxs("g", { filter: p.isLight ? 'url(#svgLightBoost)' : undefined, children: [_jsx(BgGrid, {}), _jsx("rect", { x: "0", y: "0", width: "800", height: "2", fill: p.blaze, opacity: "0.10" }), _jsx("rect", { x: "0", y: "3", width: "800", height: "3", fill: p.flame, opacity: "0.12" }), _jsx("rect", { x: "0", y: "7", width: "800", height: "3", fill: p.pop, opacity: "0.16" }), _jsx("rect", { x: "0", y: "11", width: "800", height: "3", fill: p.glow, opacity: "0.20" }), _jsx("rect", { x: "0", y: "15", width: "800", height: "3", fill: p.surge, opacity: "0.24" }), _jsx("rect", { x: "0", y: "18", width: "800", height: "2", fill: p.gold, opacity: "0.14" }), _jsx("rect", { x: "0", y: "21", width: "800", height: "2", fill: p.spark, opacity: "0.12" }), _jsx("rect", { x: "100", y: "40", width: "600", height: "340", rx: "10", fill: p.bgPanel, stroke: p.primary, strokeOpacity: "0.15", strokeWidth: "1" }), _jsx("rect", { x: "100", y: "40", width: "48", height: "340", rx: "10", fill: p.bgAlt }), _jsx("rect", { x: "148", y: "40", width: "0", height: "340", stroke: p.primary, strokeOpacity: "0.08", strokeWidth: "1" }), [80, 120, 160, 200, 240].map((y, i) => (_jsx("rect", { x: "114", y: y, width: "20", height: "20", rx: "4", fill: p.primary, opacity: 0.08 + i * 0.03 }, i))), _jsx("rect", { x: "148", y: "40", width: "120", height: "340", fill: p.bg }), ['analysis.dlex', 'notebook.ipynb', 'config.json', 'README.md', 'data.csv'].map((f, i) => (_jsx("text", { x: "160", y: 80 + i * 22, fontFamily: "monospace", fontSize: "9", fill: p.textMuted, opacity: "0.6", children: f }, i))), _jsx("rect", { x: "268", y: "64", width: "420", height: "24", fill: p.primary, opacity: "0.05" }), _jsx("text", { x: "280", y: "80", fontFamily: "monospace", fontSize: "10", fill: p.primary, opacity: "0.4", children: "analysis.dlex \u2014 Datalayer Document" }), _jsx("rect", { x: "284", y: "100", width: "380", height: "18", rx: "3", fill: p.bgAlt }), _jsx("text", { x: "292", y: "113", fontFamily: "sans-serif", fontSize: "11", fill: p.textLight, opacity: "0.7", fontWeight: "600", children: "Quarterly Data Analysis" }), _jsx("rect", { x: "284", y: "126", width: "280", height: "10", rx: "2", fill: p.textMuted, opacity: "0.08" }), _jsx("rect", { x: "284", y: "140", width: "320", height: "10", rx: "2", fill: p.textMuted, opacity: "0.06" }), _jsx("rect", { x: "284", y: "160", width: "380", height: "60", rx: "6", fill: p.bg, stroke: p.primary, strokeOpacity: "0.12", strokeWidth: "1" }), _jsx("text", { x: "296", y: "178", fontFamily: "monospace", fontSize: "10", fill: p.primary, opacity: "0.7", children: "import pandas as pd" }), _jsx("text", { x: "296", y: "194", fontFamily: "monospace", fontSize: "10", fill: p.textMuted, opacity: "0.5", children: "df = pd.read_csv(\"data.csv\")" }), _jsx("text", { x: "296", y: "210", fontFamily: "monospace", fontSize: "10", fill: p.textMuted, opacity: "0.5", children: "df.describe()" }), _jsx("rect", { x: "284", y: "230", width: "380", height: "50", rx: "6", fill: p.secondary, opacity: "0.06" }), [0, 1, 2, 3, 4, 5, 6, 7].map((i) => (_jsx("rect", { x: 304 + i * 44, y: 260 - (12 + Math.sin(i * 0.8) * 16), width: "24", height: 12 + Math.sin(i * 0.8) * 16, rx: "2", fill: [p.blaze, p.glow, p.surge, p.pop, p.spark, p.flame, p.gold][i % 7], opacity: 0.35 + i * 0.06 }, i))), _jsx("rect", { x: "284", y: "290", width: "380", height: "40", rx: "6", fill: p.glow, opacity: "0.06" }), _jsx("text", { x: "296", y: "310", fontFamily: "sans-serif", fontSize: "9", fill: p.glow, opacity: "0.75", children: "\u2726 AI: The quarterly trend shows a 23% increase..." }), _jsx("text", { x: "296", y: "324", fontFamily: "sans-serif", fontSize: "9", fill: p.textMuted, opacity: "0.4", children: "Based on columns: revenue, growth_rate, segment" }), _jsx("circle", { cx: "670", cy: "365", r: "5", fill: p.pop, opacity: "0.9" }), _jsx("circle", { cx: "670", cy: "365", r: "12", fill: "url(#glowPop)", opacity: "0.6" }), _jsx("text", { x: "660", y: "369", fontFamily: "monospace", fontSize: "8", fill: p.pop, opacity: "0.6", textAnchor: "end", children: "GPU Runtime" }), _jsx("circle", { cx: "690", cy: "60", r: "34", fill: "url(#glowBlaze)" }), _jsx("circle", { cx: "690", cy: "60", r: "5", fill: p.blaze, opacity: "0.7" }), _jsx("circle", { cx: "130", cy: "360", r: "24", fill: "url(#glowSurge)" }), _jsx("circle", { cx: "130", cy: "360", r: "3.5", fill: p.surge, opacity: "0.7" }), _jsx("circle", { cx: "400", cy: "30", r: "16", fill: "url(#glowPop)", opacity: "0.4" }), _jsx("circle", { cx: "280", cy: "50", r: "12", fill: "url(#glowVivid)", opacity: "0.35" }), _jsx("circle", { cx: "520", cy: "375", r: "10", fill: "url(#glowSpark)", opacity: "0.35" }), _jsx("circle", { cx: "720", cy: "375", r: "14", fill: "url(#glowFlame)" }), _jsx("circle", { cx: "720", cy: "375", r: "2.5", fill: p.flame, opacity: "0.7" }), _jsx("circle", { cx: "180", cy: "32", r: "12", fill: "url(#glowGold)" }), _jsx("circle", { cx: "180", cy: "32", r: "2.2", fill: p.gold, opacity: "0.7" })] })] }));
14
+ return (_jsxs("svg", { viewBox: "0 0 800 400", xmlns: "http://www.w3.org/2000/svg", style: { width: '100%', height: 'auto', display: 'block' }, children: [_jsx(SharedDefs, { p: p }), _jsx("rect", { width: "800", height: "400", fill: p.bg }), _jsxs("g", { filter: p.isLight ? 'url(#svgLightBoost)' : undefined, children: [_jsx(BgGrid, {}), _jsx("rect", { x: "0", y: "0", width: "800", height: "2", fill: p.blaze, opacity: "0.10" }), _jsx("rect", { x: "0", y: "3", width: "800", height: "3", fill: p.flame, opacity: "0.12" }), _jsx("rect", { x: "0", y: "7", width: "800", height: "3", fill: p.pop, opacity: "0.16" }), _jsx("rect", { x: "0", y: "11", width: "800", height: "3", fill: p.glow, opacity: "0.20" }), _jsx("rect", { x: "0", y: "15", width: "800", height: "3", fill: p.surge, opacity: "0.24" }), _jsx("rect", { x: "0", y: "18", width: "800", height: "2", fill: p.gold, opacity: "0.14" }), _jsx("rect", { x: "0", y: "21", width: "800", height: "2", fill: p.spark, opacity: "0.12" }), _jsx("rect", { x: "100", y: "40", width: "600", height: "340", rx: "10", fill: p.bgPanel, stroke: p.primary, strokeOpacity: "0.15", strokeWidth: "1" }), _jsx("rect", { x: "100", y: "40", width: "48", height: "340", rx: "10", fill: p.bgAlt }), _jsx("rect", { x: "148", y: "40", width: "0", height: "340", stroke: p.primary, strokeOpacity: "0.08", strokeWidth: "1" }), [80, 120, 160, 200, 240].map((y, i) => (_jsx("rect", { x: "114", y: y, width: "20", height: "20", rx: "4", fill: p.primary, opacity: 0.08 + i * 0.03 }, i))), _jsx("rect", { x: "148", y: "40", width: "120", height: "340", fill: p.bg }), ['analysis.dlex', 'notebook.ipynb', 'config.json', 'README.md', 'data.csv'].map((f, i) => (_jsx("text", { x: "160", y: 80 + i * 22, fontFamily: "monospace", fontSize: "9", fill: p.textMuted, opacity: "0.6", children: f }, i))), _jsx("rect", { x: "268", y: "64", width: "420", height: "24", fill: p.primary, opacity: "0.05" }), _jsx("text", { x: "280", y: "80", fontFamily: "monospace", fontSize: "10", fill: p.primary, opacity: "0.4", children: "analysis.dlex \u2014 Datalayer Document" }), _jsx("rect", { x: "284", y: "100", width: "380", height: "18", rx: "3", fill: p.bgAlt }), _jsx("text", { x: "292", y: "113", fontFamily: "sans-serif", fontSize: "11", fill: p.textLight, opacity: "0.7", fontWeight: "600", children: "Quarterly Data Analysis" }), _jsx("rect", { x: "284", y: "126", width: "280", height: "10", rx: "2", fill: p.textMuted, opacity: "0.08" }), _jsx("rect", { x: "284", y: "140", width: "320", height: "10", rx: "2", fill: p.textMuted, opacity: "0.06" }), _jsx("rect", { x: "284", y: "160", width: "380", height: "60", rx: "6", fill: p.bg, stroke: p.primary, strokeOpacity: "0.12", strokeWidth: "1" }), _jsx("text", { x: "296", y: "178", fontFamily: "monospace", fontSize: "10", fill: p.primary, opacity: "0.7", children: "import pandas as pd" }), _jsx("text", { x: "296", y: "194", fontFamily: "monospace", fontSize: "10", fill: p.textMuted, opacity: "0.5", children: "df = pd.read_csv(\"data.csv\")" }), _jsx("text", { x: "296", y: "210", fontFamily: "monospace", fontSize: "10", fill: p.textMuted, opacity: "0.5", children: "df.describe()" }), _jsx("rect", { x: "284", y: "230", width: "380", height: "50", rx: "6", fill: p.secondary, opacity: "0.06" }), [0, 1, 2, 3, 4, 5, 6, 7].map((i) => {
15
+ /*
16
+ * The wave swung 16 either side of 12, so its troughs fell BELOW zero
17
+ * — and a negative height is not a short bar, it is an attribute the
18
+ * browser refuses, which dropped two of the eight and logged an error
19
+ * for each. The same wave, mapped onto a band that starts above zero:
20
+ * the tallest bar is the height it always was, and the shortest is
21
+ * still a bar. Computed once, since keeping the formula in both `y`
22
+ * and `height` is what let the two drift out of agreement.
23
+ */
24
+ const height = 6 + (Math.sin(i * 0.8) + 1) * 11;
25
+ return (_jsx("rect", { x: 304 + i * 44, y: 260 - height, width: "24", height: height, rx: "2", fill: [p.blaze, p.glow, p.surge, p.pop, p.spark, p.flame, p.gold][i % 7], opacity: 0.35 + i * 0.06 }, i));
26
+ }), _jsx("rect", { x: "284", y: "290", width: "380", height: "40", rx: "6", fill: p.glow, opacity: "0.06" }), _jsx("text", { x: "296", y: "310", fontFamily: "sans-serif", fontSize: "9", fill: p.glow, opacity: "0.75", children: "\u2726 AI: The quarterly trend shows a 23% increase..." }), _jsx("text", { x: "296", y: "324", fontFamily: "sans-serif", fontSize: "9", fill: p.textMuted, opacity: "0.4", children: "Based on columns: revenue, growth_rate, segment" }), _jsx("circle", { cx: "670", cy: "365", r: "5", fill: p.pop, opacity: "0.9" }), _jsx("circle", { cx: "670", cy: "365", r: "12", fill: "url(#glowPop)", opacity: "0.6" }), _jsx("text", { x: "660", y: "369", fontFamily: "monospace", fontSize: "8", fill: p.pop, opacity: "0.6", textAnchor: "end", children: "GPU Runtime" }), _jsx("circle", { cx: "690", cy: "60", r: "34", fill: "url(#glowBlaze)" }), _jsx("circle", { cx: "690", cy: "60", r: "5", fill: p.blaze, opacity: "0.7" }), _jsx("circle", { cx: "130", cy: "360", r: "24", fill: "url(#glowSurge)" }), _jsx("circle", { cx: "130", cy: "360", r: "3.5", fill: p.surge, opacity: "0.7" }), _jsx("circle", { cx: "400", cy: "30", r: "16", fill: "url(#glowPop)", opacity: "0.4" }), _jsx("circle", { cx: "280", cy: "50", r: "12", fill: "url(#glowVivid)", opacity: "0.35" }), _jsx("circle", { cx: "520", cy: "375", r: "10", fill: "url(#glowSpark)", opacity: "0.35" }), _jsx("circle", { cx: "720", cy: "375", r: "14", fill: "url(#glowFlame)" }), _jsx("circle", { cx: "720", cy: "375", r: "2.5", fill: p.flame, opacity: "0.7" }), _jsx("circle", { cx: "180", cy: "32", r: "12", fill: "url(#glowGold)" }), _jsx("circle", { cx: "180", cy: "32", r: "2.2", fill: p.gold, opacity: "0.7" })] })] }));
15
27
  }
@@ -1,2 +1,2 @@
1
- export declare const DATALAYER_SVG_GALLERY: readonly ["SvgJupyterEmbed", "SvgAgentRuntimes", "SvgVSCodeExtension", "SvgBlogHero", "SvgPricingHero", "SvgContactHero", "SvgAgentsHomeHero", "SvgLoginHero", "SvgUsecasesHero", "SvgIntegrationsHero", "SvgPartnersHero", "SvgChangelogHero", "SvgAboutHero", "SvgCareersHero", "SvgCommunityHero", "SvgJoin", "SvgJoinConfirm", "SvgInvites", "SvgDiscord", "SvgTutorialsHero", "SvgResearchHero", "SvgEvalsHero", "SvgEventsHero", "SvgStarsHero", "SvgSpitfire", "SvgBlackSnake", "SvgLinesLogo", "SvgOrganizationsAtScale", "SvgIndividualsAndTeams", "SvgAgentsHero", "SvgEarthHero", "SvgFastA2ADonation", "SvgJupyterMcp", "SvgOSAContributions", "SvgRadar", "SvgNotebookArtifact", "SvgDocumentArtifact", "SvgCellArtifact", "SvgCellOutputshotPlaceholder", "SvgLessonArtifact", "SvgExerciseArtifact", "SvgAssignmentArtifact", "SvgDataset", "SvgLines", "SvgPublication", "SvgPixel1", "SvgPixel2", "SvgSkubble", "SvgEricCharles", "SvgPrivacyHero", "SvgTermsHero", "SvgNotFound", "SvgUnauthorized", "SvgAI", "SvgAI2", "SvgAI3", "SvgDI"];
1
+ export declare const DATALAYER_SVG_GALLERY: readonly ["SvgJupyterEmbed", "SvgAgentRuntimes", "SvgVSCodeExtension", "SvgBlogHero", "SvgPricingHero", "SvgContactHero", "SvgAgentsHomeHero", "SvgLoginHero", "SvgUsecasesHero", "SvgIntegrationsHero", "SvgPartnersHero", "SvgChangelogHero", "SvgAboutHero", "SvgCareersHero", "SvgCommunityHero", "SvgJoin", "SvgJoinConfirm", "SvgInvites", "SvgDiscord", "SvgTutorialsHero", "SvgResearchHero", "SvgEvalsHero", "SvgEventsHero", "SvgStarsHero", "SvgSpitfire", "SvgBlackSnake", "SvgLinesLogo", "SvgOrganizationsAtScale", "SvgIndividualsAndTeams", "SvgAgentsHero", "SvgLibraryHero", "SvgEarthHero", "SvgOg", "SvgLightHouse", "SvgDaytonaStartupGrid", "SvgFastA2ADonation", "SvgJupyterMcp", "SvgJupyterMcp2", "SvgOSAContributions", "SvgRadar", "SvgNotebookArtifact", "SvgDocumentArtifact", "SvgDeckArtifact", "SvgCellArtifact", "SvgCellOutputshotPlaceholder", "SvgLessonArtifact", "SvgExerciseArtifact", "SvgAssignmentArtifact", "SvgDataset", "SvgLines", "SvgPublication", "SvgPixel1", "SvgPixel2", "SvgSkubble", "SvgEricCharles", "SvgPrivacyHero", "SvgTermsHero", "SvgNotFound", "SvgUnauthorized", "SvgAI", "SvgAI2", "SvgAI3", "SvgDI"];
2
2
  export type DatalayerSvgGalleryName = (typeof DATALAYER_SVG_GALLERY)[number];
@@ -34,13 +34,19 @@ export const DATALAYER_SVG_GALLERY = [
34
34
  'SvgOrganizationsAtScale',
35
35
  'SvgIndividualsAndTeams',
36
36
  'SvgAgentsHero',
37
+ 'SvgLibraryHero',
37
38
  'SvgEarthHero',
39
+ 'SvgOg',
40
+ 'SvgLightHouse',
41
+ 'SvgDaytonaStartupGrid',
38
42
  'SvgFastA2ADonation',
39
43
  'SvgJupyterMcp',
44
+ 'SvgJupyterMcp2',
40
45
  'SvgOSAContributions',
41
46
  'SvgRadar',
42
47
  'SvgNotebookArtifact',
43
48
  'SvgDocumentArtifact',
49
+ 'SvgDeckArtifact',
44
50
  'SvgCellArtifact',
45
51
  'SvgCellOutputshotPlaceholder',
46
52
  'SvgLessonArtifact',
@@ -29,10 +29,13 @@ export { SvgLinesLogo } from './SvgLinesLogo';
29
29
  export { SvgOrganizationsAtScale } from './SvgOrganizationsAtScale';
30
30
  export { SvgIndividualsAndTeams } from './SvgIndividualsAndTeams';
31
31
  export { SvgAgentsHero } from './SvgAgentsHero';
32
+ export { SvgLibraryHero } from './SvgLibraryHero';
32
33
  export { SvgEarthHero } from './SvgEarthHero';
34
+ export { SvgDaytonaStartupGrid } from './SvgDaytonaStartupGrid';
33
35
  export { SvgFastA2ADonation } from './SvgFastA2ADonation';
34
36
  export { SvgRadar } from './SvgRadar';
35
37
  export { SvgNotebookArtifact } from './SvgNotebookArtifact';
38
+ export { SvgDeckArtifact } from './SvgDeckArtifact';
36
39
  export { SvgOSAContributions } from './SvgOSAContributions';
37
40
  export { SvgDocumentArtifact } from './SvgDocumentArtifact';
38
41
  export { SvgCellArtifact } from './SvgCellArtifact';
@@ -45,6 +48,7 @@ export { SvgCellOutputshotPlaceholder, buildCellOutputshotPlaceholderSvg, cellOu
45
48
  export type { SvgCellOutputshotPlaceholderProps } from './SvgCellOutputshotPlaceholder';
46
49
  export { SvgDataset } from './SvgDataset';
47
50
  export { SvgJupyterMcp } from './SvgJupyterMcp';
51
+ export { SvgJupyterMcp2 } from './SvgJupyterMcp2';
48
52
  export { SvgLines } from './SvgLines';
49
53
  export { SvgPublication } from './SvgPublication';
50
54
  export { SvgAI } from './SvgAI';
@@ -60,3 +64,5 @@ export { SvgPrivacyHero } from './SvgPrivacyHero';
60
64
  export { SvgTermsHero } from './SvgTermsHero';
61
65
  export { SvgNotFound } from './SvgNotFound';
62
66
  export { SvgUnauthorized } from './SvgUnauthorized';
67
+ export { SvgOg } from './SvgOg';
68
+ export { SvgLightHouse } from './SvgLightHouse';
package/lib/svg/index.js CHANGED
@@ -34,10 +34,13 @@ export { SvgLinesLogo } from './SvgLinesLogo';
34
34
  export { SvgOrganizationsAtScale } from './SvgOrganizationsAtScale';
35
35
  export { SvgIndividualsAndTeams } from './SvgIndividualsAndTeams';
36
36
  export { SvgAgentsHero } from './SvgAgentsHero';
37
+ export { SvgLibraryHero } from './SvgLibraryHero';
37
38
  export { SvgEarthHero } from './SvgEarthHero';
39
+ export { SvgDaytonaStartupGrid } from './SvgDaytonaStartupGrid';
38
40
  export { SvgFastA2ADonation } from './SvgFastA2ADonation';
39
41
  export { SvgRadar } from './SvgRadar';
40
42
  export { SvgNotebookArtifact } from './SvgNotebookArtifact';
43
+ export { SvgDeckArtifact } from './SvgDeckArtifact';
41
44
  export { SvgOSAContributions } from './SvgOSAContributions';
42
45
  export { SvgDocumentArtifact } from './SvgDocumentArtifact';
43
46
  export { SvgCellArtifact } from './SvgCellArtifact';
@@ -48,6 +51,7 @@ export { SvgNotebookMock } from './SvgNotebookMock';
48
51
  export { SvgCellOutputshotPlaceholder, buildCellOutputshotPlaceholderSvg, cellOutputshotPlaceholderDataUri, useCellOutputshotPlaceholderDataUri, } from './SvgCellOutputshotPlaceholder';
49
52
  export { SvgDataset } from './SvgDataset';
50
53
  export { SvgJupyterMcp } from './SvgJupyterMcp';
54
+ export { SvgJupyterMcp2 } from './SvgJupyterMcp2';
51
55
  export { SvgLines } from './SvgLines';
52
56
  export { SvgPublication } from './SvgPublication';
53
57
  export { SvgAI } from './SvgAI';
@@ -60,3 +64,5 @@ export { SvgPrivacyHero } from './SvgPrivacyHero';
60
64
  export { SvgTermsHero } from './SvgTermsHero';
61
65
  export { SvgNotFound } from './SvgNotFound';
62
66
  export { SvgUnauthorized } from './SvgUnauthorized';
67
+ export { SvgOg } from './SvgOg';
68
+ export { SvgLightHouse } from './SvgLightHouse';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datalayer/design",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "files": [
@@ -24,34 +24,34 @@
24
24
  "watch:lib": "npm run copy:svg-assets && tsc -w"
25
25
  },
26
26
  "dependencies": {
27
- "@datalayer/icons-all": "*",
27
+ "@datalayer/icons-all": "^0.0.1",
28
28
  "@datalayer/icons-react": "^1.0.0",
29
29
  "@datalayer/primer-addons": "^1.0.12",
30
30
  "@primer/css": "^21.5.1",
31
- "@primer/octicons-react": "^19.29.1",
31
+ "@primer/octicons-react": "^19.35.0",
32
32
  "@primer/primitives": "^10.7.0",
33
33
  "@primer/react": "^37.31.0",
34
34
  "@types/gif.js": "^0.2.5",
35
35
  "gif.js": "^0.2.0",
36
36
  "html2canvas": "^1.4.1",
37
- "react": "18.3.1",
38
- "react-dom": "18.3.1",
39
- "react-router-dom": "^6.30.1",
37
+ "react": "19.2.8",
38
+ "react-dom": "19.2.8",
39
+ "react-router-dom": "7.18.3",
40
40
  "styled-components": "^5.3.10"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@babel/core": "^7.12.10",
44
44
  "@babel/plugin-transform-react-jsx": "^7.12.12",
45
45
  "@svgr/core": "^5.5.0",
46
- "@types/react": "18.3.20",
47
- "@types/react-dom": "18.3.6",
46
+ "@types/react": "19.2.18",
47
+ "@types/react-dom": "19.2.5",
48
48
  "@vitejs/plugin-react": "^4.5.2",
49
49
  "postcss": "^8.4.23",
50
50
  "prettier": "^3.3.2",
51
51
  "rimraf": "^6.1.3",
52
52
  "svgo": "^1.3.2",
53
- "typescript": "^5.8.3",
54
- "vite": "^7.0.0",
53
+ "typescript": "5.9.3",
54
+ "vite": "7.3.6",
55
55
  "vite-plugin-svgr": "^4.3.0"
56
56
  }
57
57
  }