@langchain/macaw-components 1.0.0-beta.6 → 1.0.0-beta.7

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.
@@ -2,7 +2,7 @@
2
2
  * 4-point spacing scale (`space-1` … `space-9`).
3
3
  *
4
4
  * For guidelines on how to use, refer to Storybook:
5
- * https://langsmith-design-system.vercel.app/?path=/story/foundations-spacing--scale-and-guidelines
5
+ * https://langchain-ai.github.io/macaw-design-system/?path=/story/foundations-spacing--scale-and-guidelines
6
6
  *
7
7
  * The scale is surfaced as additive Tailwind utilities via
8
8
  * `tailwind.preset.cjs`, so it is used through the property prefix:
@@ -3,7 +3,7 @@
3
3
  * 4-point spacing scale (`space-1` … `space-9`).
4
4
  *
5
5
  * For guidelines on how to use, refer to Storybook:
6
- * https://langsmith-design-system.vercel.app/?path=/story/foundations-spacing--scale-and-guidelines
6
+ * https://langchain-ai.github.io/macaw-design-system/?path=/story/foundations-spacing--scale-and-guidelines
7
7
  *
8
8
  * The scale is surfaced as additive Tailwind utilities via
9
9
  * `tailwind.preset.cjs`, so it is used through the property prefix:
@@ -1 +1 @@
1
- {"version":3,"file":"spacing.js","names":[],"sources":["../../src/utils/spacing.ts"],"sourcesContent":["/**\n * 4-point spacing scale (`space-1` … `space-9`).\n *\n * For guidelines on how to use, refer to Storybook:\n * https://langsmith-design-system.vercel.app/?path=/story/foundations-spacing--scale-and-guidelines\n *\n * The scale is surfaced as additive Tailwind utilities via\n * `tailwind.preset.cjs`, so it is used through the property prefix:\n * `gap-space-4`, `px-space-6`, `mt-space-2`, etc.\n * The px mapping mirrors Radix\n * Themes spacing (https://www.radix-ui.com/themes/docs/theme/spacing).\n *\n * This module is the single source of truth. Keep it in sync with\n * `tailwind.preset.cjs` (theme.extend.spacing `space-*` keys).\n */\n\n/** Step → pixel value. The step is an ordinal index, not the px value. */\nexport const SPACE_SCALE_PX = {\n 1: 4,\n 2: 8,\n 3: 12,\n 4: 16,\n 5: 24,\n 6: 32,\n 7: 40,\n 8: 48,\n 9: 64,\n} as const;\n\nexport type SpaceStep = keyof typeof SPACE_SCALE_PX;\n\n/** Ordered list of steps, e.g. for rendering the scale. */\nexport const SPACE_STEPS = Object.keys(SPACE_SCALE_PX).map(\n (step) => Number(step) as SpaceStep\n);\n"],"mappings":";;;;;;;;;;;;;;;;;AAiBA,IAAa,iBAAiB;CAC5B,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;AACL;;AAKA,IAAa,cAAc,OAAO,KAAK,cAAc,CAAC,CAAC,KACpD,SAAS,OAAO,IAAI,CACvB"}
1
+ {"version":3,"file":"spacing.js","names":[],"sources":["../../src/utils/spacing.ts"],"sourcesContent":["/**\n * 4-point spacing scale (`space-1` … `space-9`).\n *\n * For guidelines on how to use, refer to Storybook:\n * https://langchain-ai.github.io/macaw-design-system/?path=/story/foundations-spacing--scale-and-guidelines\n *\n * The scale is surfaced as additive Tailwind utilities via\n * `tailwind.preset.cjs`, so it is used through the property prefix:\n * `gap-space-4`, `px-space-6`, `mt-space-2`, etc.\n * The px mapping mirrors Radix\n * Themes spacing (https://www.radix-ui.com/themes/docs/theme/spacing).\n *\n * This module is the single source of truth. Keep it in sync with\n * `tailwind.preset.cjs` (theme.extend.spacing `space-*` keys).\n */\n\n/** Step → pixel value. The step is an ordinal index, not the px value. */\nexport const SPACE_SCALE_PX = {\n 1: 4,\n 2: 8,\n 3: 12,\n 4: 16,\n 5: 24,\n 6: 32,\n 7: 40,\n 8: 48,\n 9: 64,\n} as const;\n\nexport type SpaceStep = keyof typeof SPACE_SCALE_PX;\n\n/** Ordered list of steps, e.g. for rendering the scale. */\nexport const SPACE_STEPS = Object.keys(SPACE_SCALE_PX).map(\n (step) => Number(step) as SpaceStep\n);\n"],"mappings":";;;;;;;;;;;;;;;;;AAiBA,IAAa,iBAAiB;CAC5B,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;AACL;;AAKA,IAAa,cAAc,OAAO,KAAK,cAAc,CAAC,CAAC,KACpD,SAAS,OAAO,IAAI,CACvB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/macaw-components",
3
- "version": "1.0.0-beta.6",
3
+ "version": "1.0.0-beta.7",
4
4
  "description": "React components and usage guidance for the Macaw Design System.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -556,7 +556,7 @@
556
556
  "@fontsource/fira-code": "^5.2.7",
557
557
  "@fontsource/inter": "^5.2.8",
558
558
  "@headlessui/react": "^2.2.10",
559
- "@langchain/macaw-tokens": "1.0.0-beta.6",
559
+ "@langchain/macaw-tokens": "1.0.0-beta.7",
560
560
  "@lezer/common": "^1.2.1",
561
561
  "@lezer/highlight": "^1.2.0",
562
562
  "@lezer/yaml": "^1.0.4",