@datalayer/design 1.0.3 → 1.0.9

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 (82) hide show
  1. package/LICENSE +396 -18
  2. package/README.md +1 -1
  3. package/lib/avatar/SvgAvatarOrb.d.ts +33 -0
  4. package/lib/avatar/SvgAvatarOrb.js +56 -0
  5. package/lib/avatar/gallery.d.ts +3 -0
  6. package/lib/avatar/gallery.js +7 -0
  7. package/lib/avatar/index.d.ts +4 -0
  8. package/lib/avatar/index.js +7 -0
  9. package/lib/index.d.ts +1 -0
  10. package/lib/index.js +1 -0
  11. package/lib/pages/HomePage.js +4 -4
  12. package/lib/pages/SvgPage.js +58 -2
  13. package/lib/svg/SvgAI.js +1 -1
  14. package/lib/svg/SvgAI2.d.ts +14 -4
  15. package/lib/svg/SvgAI2.js +14 -7
  16. package/lib/svg/SvgAI3.js +1 -1
  17. package/lib/svg/SvgAboutHero.js +1 -1
  18. package/lib/svg/SvgAgentRuntimes.js +1 -1
  19. package/lib/svg/SvgAgentsHero.js +1 -1
  20. package/lib/svg/SvgAgentsHomeHero.js +1 -1
  21. package/lib/svg/SvgAssignmentArtifact.js +1 -1
  22. package/lib/svg/SvgBlackSnake.js +1 -1
  23. package/lib/svg/SvgBlogHero.js +1 -1
  24. package/lib/svg/SvgCareersHero.js +1 -1
  25. package/lib/svg/SvgCellArtifact.js +1 -1
  26. package/lib/svg/SvgChangelogHero.js +1 -1
  27. package/lib/svg/SvgCommunityHero.js +1 -1
  28. package/lib/svg/SvgContactHero.js +1 -1
  29. package/lib/svg/SvgDI.d.ts +5 -0
  30. package/lib/svg/SvgDI.js +6 -1
  31. package/lib/svg/SvgDataset.js +1 -1
  32. package/lib/svg/SvgDaytonaStartupGrid.js +1 -1
  33. package/lib/svg/SvgDeckArtifact.js +1 -1
  34. package/lib/svg/SvgDiscord.js +1 -1
  35. package/lib/svg/SvgDla.d.ts +24 -0
  36. package/lib/svg/SvgDla.js +26 -0
  37. package/lib/svg/SvgDocumentArtifact.js +1 -1
  38. package/lib/svg/SvgEarthHero.js +1 -1
  39. package/lib/svg/SvgEvalsHero.js +1 -1
  40. package/lib/svg/SvgEventsHero.js +1 -1
  41. package/lib/svg/SvgExerciseArtifact.js +1 -1
  42. package/lib/svg/SvgFastA2ADonation.js +1 -1
  43. package/lib/svg/SvgIndividualsAndTeams.js +1 -1
  44. package/lib/svg/SvgIntegrationsHero.js +1 -1
  45. package/lib/svg/SvgInvites.js +1 -1
  46. package/lib/svg/SvgJoin.js +1 -1
  47. package/lib/svg/SvgJoinConfirm.js +1 -1
  48. package/lib/svg/SvgJupyterEmbed.js +1 -1
  49. package/lib/svg/SvgJupyterMcp.js +1 -1
  50. package/lib/svg/SvgJupyterMcp2.js +1 -1
  51. package/lib/svg/SvgLessonArtifact.js +1 -1
  52. package/lib/svg/SvgLibraryHero.js +1 -1
  53. package/lib/svg/SvgLightHouse.js +1 -1
  54. package/lib/svg/SvgLines.js +1 -1
  55. package/lib/svg/SvgLinesLogo.js +1 -1
  56. package/lib/svg/SvgLoginHero.js +1 -1
  57. package/lib/svg/SvgNotFound.js +1 -1
  58. package/lib/svg/SvgNotebookArtifact.js +1 -1
  59. package/lib/svg/SvgOSAContributions.js +1 -1
  60. package/lib/svg/SvgOg.js +1 -1
  61. package/lib/svg/SvgOrganizationsAtScale.js +1 -1
  62. package/lib/svg/SvgPartnersHero.js +1 -1
  63. package/lib/svg/SvgPixel1.js +1 -1
  64. package/lib/svg/SvgPixel2.js +1 -1
  65. package/lib/svg/SvgPricingHero.js +1 -1
  66. package/lib/svg/SvgPrivacyHero.js +1 -1
  67. package/lib/svg/SvgPublication.js +1 -1
  68. package/lib/svg/SvgRadar.js +1 -1
  69. package/lib/svg/SvgResearchHero.js +1 -1
  70. package/lib/svg/SvgSkubble.js +1 -1
  71. package/lib/svg/SvgSpitfire.js +1 -1
  72. package/lib/svg/SvgStarsHero.js +1 -1
  73. package/lib/svg/SvgTermsHero.js +1 -1
  74. package/lib/svg/SvgTutorialsHero.js +1 -1
  75. package/lib/svg/SvgUnauthorized.js +1 -1
  76. package/lib/svg/SvgUsecasesHero.js +1 -1
  77. package/lib/svg/SvgVSCodeExtension.js +1 -1
  78. package/lib/svg/gallery.d.ts +1 -1
  79. package/lib/svg/gallery.js +2 -1
  80. package/lib/svg/index.d.ts +3 -1
  81. package/lib/svg/index.js +2 -1
  82. package/package.json +7 -3
@@ -7,11 +7,13 @@ import GIF from 'gif.js';
7
7
  import gifWorkerUrl from 'gif.js/dist/gif.worker.js?url';
8
8
  import { DatalayerLogo, DatalayerLogoText, DatalayerTextAI, getLogoColors, useColorPalette, useThemeStore, } from '@datalayer/primer-addons';
9
9
  import { DATALAYER_SVG_GALLERY } from '../svg/gallery';
10
+ import { SvgAvatarOrb } from '../avatar';
10
11
  import DI from '../svg/SvgDI';
12
+ import { SvgDla as DlaMark } from '../svg/SvgDla';
11
13
  import * as SvgAssets from '../svg';
12
14
  import SpitfireAssetUrl from '../svg/images/datalayer-1.3.0-spitfire.svg';
13
15
  import BlackSnakeAssetUrl from '../svg/images/datalayer-1.2.0-black-snake.svg';
14
- const SEGMENTS = ['All', 'Artifacts', 'Cases', 'Communication', 'Features', 'Heros', 'Logos', 'Partners', 'Pictos', 'Pixels', 'Releases', 'Systems'];
16
+ const SEGMENTS = ['All', 'Artifacts', 'Avatar', 'Cases', 'Communication', 'Features', 'Heros', 'Logos', 'Partners', 'Pictos', 'Pixels', 'Releases', 'Systems'];
15
17
  const SEGMENT_BY_SLUG = SEGMENTS.reduce((acc, segment) => {
16
18
  acc[segment.toLowerCase()] = segment;
17
19
  return acc;
@@ -226,6 +228,23 @@ function SvgDI(props) {
226
228
  overflow: 'hidden',
227
229
  }, style: hostStyle, children: _jsx(DI, { size: 96, variant: theme, colorMode: effectiveColorMode }) }));
228
230
  }
231
+ function SvgDla(props) {
232
+ const { colorMode, theme } = useThemeStore();
233
+ const effectiveColorMode = colorMode === 'auto'
234
+ ? (typeof window !== 'undefined' && window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light')
235
+ : colorMode;
236
+ const hostStyle = props?.style;
237
+ return (_jsx(Box, { "aria-label": "Datalayer mark", sx: {
238
+ width: '100%',
239
+ height: '100%',
240
+ minHeight: 120,
241
+ px: 2,
242
+ display: 'flex',
243
+ alignItems: 'center',
244
+ justifyContent: 'center',
245
+ overflow: 'hidden',
246
+ }, style: hostStyle, children: _jsx(DlaMark, { size: 96, variant: theme, colorMode: effectiveColorMode }) }));
247
+ }
229
248
  function SvgDatalayerTextAI(props) {
230
249
  const { colorMode, theme } = useThemeStore();
231
250
  const effectiveColorMode = colorMode === 'auto'
@@ -269,6 +288,19 @@ function SvgAI2Preview(props) {
269
288
  function SvgAI3Preview(props) {
270
289
  return _jsx(SvgAIMarkPreview, { ariaLabel: "AI3 mark", Component: SvgAssets.SvgAI3, props: props });
271
290
  }
291
+ /* The avatar in the gallery: one card for each way it is drawn. */
292
+ function AvatarOrbCard({ state, tone, title }) {
293
+ return (_jsx(Box, { sx: { width: '100%', minHeight: 160, display: 'flex', alignItems: 'center', justifyContent: 'center' }, children: _jsx(SvgAvatarOrb, { size: 120, state: state, tone: tone, title: title }) }));
294
+ }
295
+ function SvgAvatarOrbPreview() {
296
+ return _jsx(AvatarOrbCard, { state: "idle", tone: "iridescent", title: "Avatar, idle" });
297
+ }
298
+ function SvgAvatarOrbThinkingPreview() {
299
+ return _jsx(AvatarOrbCard, { state: "thinking", tone: "iridescent", title: "Avatar, thinking" });
300
+ }
301
+ function SvgAvatarOrbThemePreview() {
302
+ return _jsx(AvatarOrbCard, { state: "idle", tone: "theme", title: "Avatar, in the theme's colours" });
303
+ }
272
304
  const SVG_COMPONENT_OVERRIDES = {
273
305
  SvgSpitfire: SvgSpitfireInline,
274
306
  SvgBlackSnake: SvgBlackSnakeInline,
@@ -276,6 +308,7 @@ const SVG_COMPONENT_OVERRIDES = {
276
308
  SvgAI2: SvgAI2Preview,
277
309
  SvgAI3: SvgAI3Preview,
278
310
  SvgDI,
311
+ SvgDla,
279
312
  SvgLinesLogo,
280
313
  SvgDatalayerLogo,
281
314
  SvgDatalayerTextLogo,
@@ -334,6 +367,18 @@ const DATALAYER_SVGS = [
334
367
  name: 'SvgLinesColored',
335
368
  Component: SvgLinesColored,
336
369
  },
370
+ {
371
+ name: 'SvgAvatarOrb',
372
+ Component: SvgAvatarOrbPreview,
373
+ },
374
+ {
375
+ name: 'SvgAvatarOrbThinking',
376
+ Component: SvgAvatarOrbThinkingPreview,
377
+ },
378
+ {
379
+ name: 'SvgAvatarOrbTheme',
380
+ Component: SvgAvatarOrbThemePreview,
381
+ },
337
382
  ];
338
383
  const RELEASE_SVG_NAMES = new Set(['SvgSpitfire', 'SvgBlackSnake']);
339
384
  const SYSTEM_SVG_NAMES = new Set(['SvgNotFound', 'SvgUnauthorized']);
@@ -342,6 +387,7 @@ const LOGO_SVG_NAMES = new Set([
342
387
  'SvgAI2',
343
388
  'SvgAI3',
344
389
  'SvgDI',
390
+ 'SvgDla',
345
391
  'SvgDatalayerLogo',
346
392
  'SvgDatalayerTextLogo',
347
393
  'SvgDatalayerTextLogoFirst',
@@ -364,6 +410,8 @@ const ARTIFACTS_SVG_NAMES = new Set([
364
410
  'SvgPublication',
365
411
  ]);
366
412
  const PIXELS_SVG_NAMES = new Set(['SvgPixel1', 'SvgPixel2']);
413
+ /* An agent's avatar, drawn in the theme's colours (src/avatar). */
414
+ const AVATAR_SVG_NAMES = new Set(['SvgAvatarOrb', 'SvgAvatarOrbThinking', 'SvgAvatarOrbTheme']);
367
415
  const PICTOS_SVG_NAMES = new Set(['SvgSkubble']);
368
416
  /*
369
417
  * The marks of the companies Datalayer works WITH, which are not
@@ -401,6 +449,9 @@ function isPictosSvg(name) {
401
449
  function isPartnersSvg(name) {
402
450
  return PARTNERS_SVG_NAMES.has(name);
403
451
  }
452
+ function isAvatarSvg(name) {
453
+ return AVATAR_SVG_NAMES.has(name);
454
+ }
404
455
  function svgInSegment(entry, segment) {
405
456
  if (segment === 'All') {
406
457
  return true;
@@ -435,6 +486,9 @@ function svgInSegment(entry, segment) {
435
486
  if (segment === 'Partners') {
436
487
  return isPartnersSvg(entry.name);
437
488
  }
489
+ if (segment === 'Avatar') {
490
+ return isAvatarSvg(entry.name);
491
+ }
438
492
  return (!isHeroSvg(entry.name)
439
493
  && !isReleaseSvg(entry.name)
440
494
  && !isSystemSvg(entry.name)
@@ -444,7 +498,8 @@ function svgInSegment(entry, segment) {
444
498
  && !isPixelsSvg(entry.name)
445
499
  && !isPictosSvg(entry.name)
446
500
  && !isCaseSvg(entry.name)
447
- && !isPartnersSvg(entry.name));
501
+ && !isPartnersSvg(entry.name)
502
+ && !isAvatarSvg(entry.name));
448
503
  }
449
504
  function SegmentControl({ value, onChange, counts, }) {
450
505
  const segments = SEGMENTS;
@@ -873,6 +928,7 @@ export function SvgPage() {
873
928
  Communication: textFiltered.filter((entry) => svgInSegment(entry, 'Communication')).length,
874
929
  Cases: textFiltered.filter((entry) => svgInSegment(entry, 'Cases')).length,
875
930
  Partners: textFiltered.filter((entry) => svgInSegment(entry, 'Partners')).length,
931
+ Avatar: textFiltered.filter((entry) => svgInSegment(entry, 'Avatar')).length,
876
932
  };
877
933
  }, [normalizedFilter]);
878
934
  const filteredSvgs = useMemo(() => {
package/lib/svg/SvgAI.js CHANGED
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2023-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  import { forwardRef } from "react";
8
8
  import { getLogoColors } from "@datalayer/primer-addons";
@@ -1,11 +1,21 @@
1
- import { type SVGProps } from "react";
2
- import { type ThemeVariant } from "@datalayer/primer-addons";
3
- export interface SvgAI2Props extends Omit<SVGProps<SVGSVGElement>, "ref"> {
1
+ import { type SVGProps } from 'react';
2
+ import { type ThemeVariant } from '@datalayer/primer-addons';
3
+ export interface SvgAI2Props extends Omit<SVGProps<SVGSVGElement>, 'ref'> {
4
+ /** Height of the mark; width follows the compact A proportions. */
4
5
  size?: number;
5
6
  variant?: ThemeVariant;
6
- colorMode?: "light" | "dark" | "auto";
7
+ colorMode?: 'light' | 'dark' | 'auto';
8
+ /** Colour of the A's right leg — the I embedded in the mark. */
7
9
  primaryColor?: string;
10
+ /** Colour of the A's left leg and crossbar. */
8
11
  secondaryColor?: string;
9
12
  }
13
+ /**
14
+ * Compact AI monogram.
15
+ *
16
+ * The I is moved over the A's right leg, replacing it rather than sitting
17
+ * beside the A. Its geometry is the standalone A embedded in SvgDla, so both
18
+ * marks share the same cap height, slope, stroke weight, and colour language.
19
+ */
10
20
  export declare const SvgAI2: import("react").ForwardRefExoticComponent<SvgAI2Props & import("react").RefAttributes<SVGSVGElement>>;
11
21
  export default SvgAI2;
package/lib/svg/SvgAI2.js CHANGED
@@ -2,16 +2,23 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2023-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
- import { forwardRef } from "react";
8
- import { getLogoColors } from "@datalayer/primer-addons";
9
- export const SvgAI2 = forwardRef(function SvgAI2({ size = 24, variant = "datalayer", colorMode = "light", primaryColor, secondaryColor, ...svgProps }, ref) {
7
+ import { forwardRef } from 'react';
8
+ import { getLogoColors } from '@datalayer/primer-addons';
9
+ const VIEW_WIDTH = 16.929;
10
+ const VIEW_HEIGHT = 24;
11
+ /**
12
+ * Compact AI monogram.
13
+ *
14
+ * The I is moved over the A's right leg, replacing it rather than sitting
15
+ * beside the A. Its geometry is the standalone A embedded in SvgDla, so both
16
+ * marks share the same cap height, slope, stroke weight, and colour language.
17
+ */
18
+ export const SvgAI2 = forwardRef(function SvgAI2({ size = 24, variant = 'datalayer', colorMode = 'light', primaryColor, secondaryColor, ...svgProps }, ref) {
10
19
  const themed = getLogoColors(variant, colorMode);
11
20
  const resolvedPrimary = primaryColor ?? themed.primary;
12
21
  const resolvedSecondary = secondaryColor ?? themed.textColor;
13
- const barWidth = 3.1;
14
- const leftBarBottomInnerX = -2.2 + barWidth;
15
- return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "-2.2 0 26.2 24", width: size, height: size, role: "img", "aria-label": "AI2", ref: ref, ...svgProps, children: [_jsx("path", { d: `M15.35 3.5h${barWidth}V20h-${barWidth}z`, fill: resolvedPrimary }), _jsx("path", { d: `M-2.2 20 9.8 3.5h${barWidth}L${leftBarBottomInnerX} 20H-2.2z`, fill: resolvedSecondary }), _jsx("path", { d: `M10.35 3.5h${barWidth}V20h-${barWidth}z`, fill: resolvedSecondary }), _jsx("path", { d: "M3.5 12.95h9.6v2.75H3.5z", fill: resolvedSecondary })] }));
22
+ return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: `0 0 ${VIEW_WIDTH} ${VIEW_HEIGHT}`, width: (size * VIEW_WIDTH) / VIEW_HEIGHT, height: size, role: "img", "aria-label": "AI", ref: ref, ...svgProps, children: [_jsx("path", { d: "M6.682 3.932L10.278 3.932L3.846 20.068L0.249 20.068ZM6.391 13.683L10.586 13.683L11.758 16.68L5.197 16.68Z", fill: resolvedSecondary, fillRule: "evenodd", clipRule: "evenodd" }), _jsx("path", { d: "M6.774 3.932L10.37 3.932L16.679 20.068L13.083 20.068Z", fill: resolvedPrimary })] }));
16
23
  });
17
24
  export default SvgAI2;
package/lib/svg/SvgAI3.js CHANGED
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2023-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  import { forwardRef } from "react";
8
8
  import { getLogoColors } from "@datalayer/primer-addons";
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * Wide, tall SVG hero background for the About Datalayer page.
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * Agent Runtimes — multi-protocol architecture SVG illustration.
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * Wide, abstract SVG hero background for AI agents pages.
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * Wide, tall SVG hero background for the Agents home / landing page.
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  import { useId } from 'react';
8
8
  import { useColorPalette } from '@datalayer/primer-addons';
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * Black Snake illustration.
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * Blog Hero — shiny abstract background (wide, short banner).
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * Wide, tall SVG hero background for the Careers page.
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  import { useId } from 'react';
8
8
  import { useColorPalette } from '@datalayer/primer-addons';
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * Wide, tall SVG hero background for the Changelog page.
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * Wide SVG hero background for the Community page.
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * Wide, abstract SVG hero background for the Contact page.
@@ -14,6 +14,11 @@ export interface DIProps extends Omit<SVGProps<SVGSVGElement>, 'ref'> {
14
14
  *
15
15
  * Uses the same public API and semantic color mapping as AI:
16
16
  * primaryColor styles the "I", secondaryColor styles the "D".
17
+ * Drawn on the AI mark's grid: the same slanted I, cap height and stroke
18
+ * weight. The D is five-sided: its right edge runs parallel to the I, on the
19
+ * A's right leg (same gap to the I), for two thirds of the height, then
20
+ * returns to the baseline at the mirrored angle. The counter is the outline
21
+ * inset by the stroke weight.
17
22
  */
18
23
  export declare const DI: import("react").ForwardRefExoticComponent<DIProps & import("react").RefAttributes<SVGSVGElement>>;
19
24
  export default DI;
package/lib/svg/SvgDI.js CHANGED
@@ -10,11 +10,16 @@ import { getLogoColors } from '@datalayer/primer-addons';
10
10
  *
11
11
  * Uses the same public API and semantic color mapping as AI:
12
12
  * primaryColor styles the "I", secondaryColor styles the "D".
13
+ * Drawn on the AI mark's grid: the same slanted I, cap height and stroke
14
+ * weight. The D is five-sided: its right edge runs parallel to the I, on the
15
+ * A's right leg (same gap to the I), for two thirds of the height, then
16
+ * returns to the baseline at the mirrored angle. The counter is the outline
17
+ * inset by the stroke weight.
13
18
  */
14
19
  export const DI = forwardRef(function DI({ size = 24, variant = 'datalayer', colorMode = 'light', primaryColor, secondaryColor, ...svgProps }, ref) {
15
20
  const themed = getLogoColors(variant, colorMode);
16
21
  const resolvedPrimary = primaryColor ?? themed.primary;
17
22
  const resolvedSecondary = secondaryColor ?? themed.textColor;
18
- return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", width: size, height: size, role: "img", "aria-label": "DI", ref: ref, ...svgProps, children: [_jsx("path", { d: "M2 3.932H5V20.068075H2ZM3.5 3.932H6.5L12.933 20.068075H9.933ZM2 17.068075H11.4V20.068075H2Z", fill: resolvedSecondary, strokeWidth: 0.25 }), _jsx("path", { d: "m10.788825 3.932 6.43325 16.136075h3.5279L14.316725 3.932H10.788825Z", fill: resolvedPrimary, strokeWidth: 0.25 })] }));
23
+ return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", width: size, height: size, role: "img", "aria-label": "DI", ref: ref, ...svgProps, children: [_jsx("path", { d: "M0.75 3.932H7.2A8.068 8.068 0 0 1 7.2 20.068H0.75ZM4.25 7.182H7.2A4.818 4.818 0 0 1 7.2 16.818H4.25Z", fill: resolvedSecondary, fillRule: "evenodd", clipRule: "evenodd" }), _jsx("path", { d: "m13.788825 3.932 6.43325 16.136075h3.5279L17.316725 3.932H13.788825Z", fill: resolvedPrimary })] }));
19
24
  });
20
25
  export default DI;
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  import { useColorPalette } from '@datalayer/primer-addons';
8
8
  export function SvgDataset({ palette: paletteProp, } = {}) {
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * The Daytona Startup Grid lockup.
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * A deck: a presentation kept as data.
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * Discord community hero illustration.
@@ -0,0 +1,24 @@
1
+ import { type SVGProps } from 'react';
2
+ import { type ThemeVariant } from '@datalayer/primer-addons';
3
+ export interface SvgDlaProps extends Omit<SVGProps<SVGSVGElement>, 'ref'> {
4
+ /** Height of the mark; the width follows (the mark is wider than tall). */
5
+ size?: number;
6
+ variant?: ThemeVariant;
7
+ colorMode?: 'light' | 'dark' | 'auto';
8
+ /** Colour of the A's right leg — the "I" hidden in the mark. */
9
+ primaryColor?: string;
10
+ /** Colour of the D and the rest of the A. */
11
+ secondaryColor?: string;
12
+ }
13
+ /**
14
+ * Datalayer monogram: the D and A of DAtalayer, married.
15
+ *
16
+ * As AI picks the A and I out of AnthropIc, this picks the D and A out of
17
+ * Datalayer, and hides the AI inside: the A's right leg is the slanted I of
18
+ * the AI mark, in the accent colour. The D is the one from DI, the A the one
19
+ * from AI, so the three marks share one grid, cap height and stroke weight.
20
+ * The A's left leg lands tangent on the D's bowl, so the two letters touch
21
+ * at one point and read as one shape while each stays whole.
22
+ */
23
+ export declare const SvgDla: import("react").ForwardRefExoticComponent<SvgDlaProps & import("react").RefAttributes<SVGSVGElement>>;
24
+ export default SvgDla;
@@ -0,0 +1,26 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /*
3
+ * Copyright (c) 2023-2026 Datalayer, Inc.
4
+ * Distributed under the terms of the Modified BSD License.
5
+ */
6
+ import { forwardRef } from 'react';
7
+ import { getLogoColors } from '@datalayer/primer-addons';
8
+ const VIEW_WIDTH = 29.849;
9
+ const VIEW_HEIGHT = 24;
10
+ /**
11
+ * Datalayer monogram: the D and A of DAtalayer, married.
12
+ *
13
+ * As AI picks the A and I out of AnthropIc, this picks the D and A out of
14
+ * Datalayer, and hides the AI inside: the A's right leg is the slanted I of
15
+ * the AI mark, in the accent colour. The D is the one from DI, the A the one
16
+ * from AI, so the three marks share one grid, cap height and stroke weight.
17
+ * The A's left leg lands tangent on the D's bowl, so the two letters touch
18
+ * at one point and read as one shape while each stays whole.
19
+ */
20
+ export const SvgDla = forwardRef(function SvgDla({ size = 24, variant = 'datalayer', colorMode = 'light', primaryColor, secondaryColor, ...svgProps }, ref) {
21
+ const themed = getLogoColors(variant, colorMode);
22
+ const resolvedPrimary = primaryColor ?? themed.primary;
23
+ const resolvedSecondary = secondaryColor ?? themed.textColor;
24
+ return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: `0 0 ${VIEW_WIDTH} ${VIEW_HEIGHT}`, width: (size * VIEW_WIDTH) / VIEW_HEIGHT, height: size, role: "img", "aria-label": "Datalayer", ref: ref, ...svgProps, children: [_jsx("path", { d: "M0.75 3.932H7.2A8.068 8.068 0 0 1 7.2 20.068H0.75ZM4.25 7.182H7.2A4.818 4.818 0 0 1 7.2 16.818H4.25ZM19.102 3.932L22.698 3.932L16.266 20.068L12.669 20.068ZM18.811 13.683L23.006 13.683L24.178 16.68L17.617 16.68Z", fill: resolvedSecondary, fillRule: "evenodd", clipRule: "evenodd" }), _jsx("path", { d: "M19.194 3.932L22.79 3.932L29.099 20.068L25.503 20.068Z", fill: resolvedPrimary })] }));
25
+ });
26
+ export default SvgDla;
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  import { useId } from 'react';
8
8
  import { useColorPalette } from '@datalayer/primer-addons';
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * Earth hero: abstract architectural painting — planet, sea, arboreal forms and birds
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * Wide SVG hero background for evaluation-heavy research pages.
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * Wide SVG hero background for the Events page.
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  import { useId } from 'react';
8
8
  import { useColorPalette } from '@datalayer/primer-addons';
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  import { useColorPalette, LightBoostFilter } from '@datalayer/primer-addons';
8
8
  export function SvgFastA2ADonation({ palette: paletteProp } = {}) {
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * Themed SVG illustration for "Individuals & Teams".
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * Wide, tall SVG hero background for the Integrations page.
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * Invites hero illustration.
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * Tall SVG illustration for the Join / Sign-up page right panel.
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * Themed SVG illustration for the Join-Confirm (account activated) page.
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * Jupyter Embed — layers + browser window SVG illustration.
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * SVG illustration combining the Jupyter logo and the MCP (Model Context
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * Announcement artwork for Jupyter MCP Server 2, the release built on the
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  import { useId } from 'react';
8
8
  import { useColorPalette } from '@datalayer/primer-addons';
@@ -2,7 +2,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * Wide SVG background for the library section of the home page.
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright (c) 2022-2026 Datalayer, Inc.
4
4
  *
5
- * Datalayer License
5
+ * CC BY 4.0 License
6
6
  */
7
7
  /**
8
8
  * Animated lighthouse.