@langchain/macaw-components 1.0.0-beta.9 → 1.1.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 +3 -3
- package/dist/_chunks/{ErrorState-CmPX01HV.js → ErrorState-BY6VBCRB.js} +2 -2
- package/dist/_chunks/{ErrorState-CmPX01HV.js.map → ErrorState-BY6VBCRB.js.map} +1 -1
- package/dist/_chunks/{LoadingIndicator-DujSAzqj.js → LoadingIndicator-Itl4c0WV.js} +10 -10
- package/dist/_chunks/LoadingIndicator-Itl4c0WV.js.map +1 -0
- package/dist/base.css +19 -6
- package/dist/catalog.json +493 -480
- package/dist/components/BarChart/AnimatedBar.js +1 -1
- package/dist/components/BarChart/AnimatedBar.js.map +1 -1
- package/dist/components/BarChart/BarChartPlot.js +1 -1
- package/dist/components/BarChart/BarChartPlot.js.map +1 -1
- package/dist/components/Button/constants.js +4 -4
- package/dist/components/Button/constants.js.map +1 -1
- package/dist/components/ChartLegend/ChartLegend.js +1 -1
- package/dist/components/ChartLegend/ChartLegend.js.map +1 -1
- package/dist/components/ChartLegend/ChartLegendItemRenderer.js +2 -2
- package/dist/components/ChartLegend/ChartLegendItemRenderer.js.map +1 -1
- package/dist/components/ChartTooltip/ChartTooltip.js +2 -2
- package/dist/components/ChartTooltip/ChartTooltip.js.map +1 -1
- package/dist/components/Checkbox/constants.d.ts +1 -1
- package/dist/components/Checkbox/constants.js +1 -1
- package/dist/components/Checkbox/constants.js.map +1 -1
- package/dist/components/Code/CodeLite.js +2 -2
- package/dist/components/Code/CodeLite.js.map +1 -1
- package/dist/components/Code/JsonHighlighterExtension.js +1 -1
- package/dist/components/Code/JsonHighlighterExtension.js.map +1 -1
- package/dist/components/Command/Command.js +1 -1
- package/dist/components/Command/Command.js.map +1 -1
- package/dist/components/Command/CommandMenu.js +2 -2
- package/dist/components/Command/CommandMenu.js.map +1 -1
- package/dist/components/ContextMenu/ContextMenu.js +2 -2
- package/dist/components/ContextMenu/ContextMenu.js.map +1 -1
- package/dist/components/CopyButton/CopyButton.d.ts +3 -2
- package/dist/components/CopyButton/CopyButton.js +5 -0
- package/dist/components/CopyButton/CopyButton.js.map +1 -1
- package/dist/components/Dialog/index.d.ts +3 -2
- package/dist/components/Dialog/index.js +44 -17
- package/dist/components/Dialog/index.js.map +1 -1
- package/dist/components/DonutChart/DonutChart.js +1 -1
- package/dist/components/DonutChart/DonutChart.js.map +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.js +3 -3
- package/dist/components/DropdownMenu/DropdownMenu.js.map +1 -1
- package/dist/components/ErrorState/ErrorState.js +1 -1
- package/dist/components/ErrorState/index.js +1 -1
- package/dist/components/GroupedTabs/GroupedTabs.d.ts +3 -2
- package/dist/components/GroupedTabs/GroupedTabs.js +3 -1
- package/dist/components/GroupedTabs/GroupedTabs.js.map +1 -1
- package/dist/components/Input/Input.js +7 -6
- package/dist/components/Input/Input.js.map +1 -1
- package/dist/components/Input/inputStyles.js +5 -5
- package/dist/components/Input/inputStyles.js.map +1 -1
- package/dist/components/Link/Link.js +3 -3
- package/dist/components/Link/Link.js.map +1 -1
- package/dist/components/Pane/Pane.d.ts +3 -2
- package/dist/components/Pane/Pane.js +107 -101
- package/dist/components/Pane/Pane.js.map +1 -1
- package/dist/components/Popover/Popover.js +15 -4
- package/dist/components/Popover/Popover.js.map +1 -1
- package/dist/components/Popover/constants.d.ts +1 -1
- package/dist/components/Popover/constants.js +1 -1
- package/dist/components/Popover/constants.js.map +1 -1
- package/dist/components/RadioButton/constants.d.ts +1 -1
- package/dist/components/RadioButton/constants.js +1 -1
- package/dist/components/RadioButton/constants.js.map +1 -1
- package/dist/components/RadioGroup/RadioGroupItem.js +1 -1
- package/dist/components/RadioGroup/RadioGroupItem.js.map +1 -1
- package/dist/components/SankeyChart/AnimatedSankeyLink.js +1 -1
- package/dist/components/SankeyChart/AnimatedSankeyLink.js.map +1 -1
- package/dist/components/SankeyChart/AnimatedSankeyNode.js +1 -1
- package/dist/components/SankeyChart/AnimatedSankeyNode.js.map +1 -1
- package/dist/components/Select/Select.d.ts +2 -1
- package/dist/components/Select/Select.js +5 -3
- package/dist/components/Select/Select.js.map +1 -1
- package/dist/components/Select/SelectPrimitive.js +6 -4
- package/dist/components/Select/SelectPrimitive.js.map +1 -1
- package/dist/components/Slider/Slider.js +1 -1
- package/dist/components/Slider/Slider.js.map +1 -1
- package/dist/components/SplitViewPane/SplitViewPane.js +1 -1
- package/dist/components/SplitViewPane/SplitViewPane.js.map +1 -1
- package/dist/components/Switch/Switch.js +1 -1
- package/dist/components/Switch/Switch.js.map +1 -1
- package/dist/components/Tabs/index.d.ts +3 -2
- package/dist/components/Tabs/index.js +5 -3
- package/dist/components/Tabs/index.js.map +1 -1
- package/dist/components/Textarea/Textarea.js +9 -9
- package/dist/components/Textarea/Textarea.js.map +1 -1
- package/dist/components/ThinkingState/LoadingIndicator.js +1 -1
- package/dist/components/ThinkingState/ThinkingState.js +1 -1
- package/dist/components/ThinkingState/index.js +1 -1
- package/dist/components/Toast/index.js +2 -2
- package/dist/components/Toast/index.js.map +1 -1
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/components/Typeahead/TypeaheadParts.js +1 -1
- package/dist/components/Typeahead/TypeaheadParts.js.map +1 -1
- package/dist/components/Typeahead/TypeaheadView.js +9 -9
- package/dist/components/Typeahead/TypeaheadView.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components.css +2 -105
- package/dist/index.js +1 -1
- package/dist/utilities.css +2 -2
- package/dist/utils/ModalLayerContext.d.ts +23 -0
- package/dist/utils/ModalLayerContext.js +92 -0
- package/dist/utils/ModalLayerContext.js.map +1 -0
- package/dist/utils/cn.js +21 -11
- package/dist/utils/cn.js.map +1 -1
- package/dist/utils/dataAttributes.d.ts +9 -0
- package/dist/utils/dataAttributes.js +13 -0
- package/dist/utils/dataAttributes.js.map +1 -0
- package/docs/DESIGN.md +33 -3
- package/docs/STYLES.md +96 -46
- package/package.json +10 -9
- package/tailwind.preset.cjs +292 -332
- package/dist/_chunks/LoadingIndicator-DujSAzqj.js.map +0 -1
package/dist/utils/cn.js
CHANGED
|
@@ -24,8 +24,12 @@ var brandTextClasses = BRAND_PALETTE_STEPS.map((step) => `text-brand-${step}`);
|
|
|
24
24
|
var buttonBorderColorClasses = [
|
|
25
25
|
"button-primary-underlined-border",
|
|
26
26
|
"button-primary-underlined-border-hover",
|
|
27
|
+
"button-secondary-border",
|
|
28
|
+
"button-secondary-border-hover",
|
|
27
29
|
"button-secondary-underlined-border",
|
|
28
30
|
"button-secondary-underlined-border-hover",
|
|
31
|
+
"button-error-border",
|
|
32
|
+
"button-error-outlined-border",
|
|
29
33
|
"button-error-underlined-border",
|
|
30
34
|
"button-error-underlined-border-hover",
|
|
31
35
|
"button-error-disabled-border"
|
|
@@ -37,17 +41,20 @@ var buttonTextColorClasses = [
|
|
|
37
41
|
"button-error-disabled-foreground"
|
|
38
42
|
];
|
|
39
43
|
var customTwMerge = extendTailwindMerge({ extend: {
|
|
40
|
-
theme: {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
44
|
+
theme: {
|
|
45
|
+
spacing: [
|
|
46
|
+
"space-1",
|
|
47
|
+
"space-2",
|
|
48
|
+
"space-3",
|
|
49
|
+
"space-4",
|
|
50
|
+
"space-5",
|
|
51
|
+
"space-6",
|
|
52
|
+
"space-7",
|
|
53
|
+
"space-8",
|
|
54
|
+
"space-9"
|
|
55
|
+
],
|
|
56
|
+
shadow: ["slider-thumb"]
|
|
57
|
+
},
|
|
51
58
|
classGroups: {
|
|
52
59
|
"font-size": [
|
|
53
60
|
"display-sm",
|
|
@@ -78,6 +85,8 @@ var customTwMerge = extendTailwindMerge({ extend: {
|
|
|
78
85
|
"bg-surface-level-3",
|
|
79
86
|
"bg-surface-level-4",
|
|
80
87
|
"bg-disabled",
|
|
88
|
+
"bg-input",
|
|
89
|
+
"bg-input-disabled",
|
|
81
90
|
"bg-elevated",
|
|
82
91
|
"bg-elevated-hover",
|
|
83
92
|
"bg-elevated-selected",
|
|
@@ -105,6 +114,7 @@ var customTwMerge = extendTailwindMerge({ extend: {
|
|
|
105
114
|
"bg-error-primary",
|
|
106
115
|
"bg-error-secondary",
|
|
107
116
|
"bg-error-strong",
|
|
117
|
+
"button-error-bg-hover",
|
|
108
118
|
"bg-warning",
|
|
109
119
|
"bg-warning-subtle",
|
|
110
120
|
"bg-warning-primary",
|
package/dist/utils/cn.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cn.js","names":[],"sources":["../../src/utils/cn.tsx"],"sourcesContent":["import type { ClassValue } from 'clsx';\nimport { clsx } from 'clsx';\nimport { extendTailwindMerge } from 'tailwind-merge';\n\n/** Numeric brand palette keys from `theme.colors.brand` (Tailwind). */\nconst BRAND_PALETTE_STEPS = [\n '10',\n '25',\n '50',\n '75',\n '100',\n '200',\n '300',\n '400',\n '500',\n '600',\n '700',\n '800',\n '900',\n '950',\n] as const;\n\nconst brandBgClasses = BRAND_PALETTE_STEPS.map((step) => `bg-brand-${step}`);\nconst brandBorderClasses = BRAND_PALETTE_STEPS.map(\n (step) => `border-brand-${step}`\n);\nconst brandTextClasses = BRAND_PALETTE_STEPS.map(\n (step) => `text-brand-${step}`\n);\nconst buttonBorderColorClasses = [\n 'button-primary-underlined-border',\n 'button-primary-underlined-border-hover',\n 'button-secondary-underlined-border',\n 'button-secondary-underlined-border-hover',\n 'button-error-underlined-border',\n 'button-error-underlined-border-hover',\n 'button-error-disabled-border',\n];\nconst buttonTextColorClasses = [\n 'button-primary-underlined-foreground',\n 'button-primary-underlined-foreground-hover',\n 'button-error-underlined-foreground-hover',\n 'button-error-disabled-foreground',\n];\n\n// Lets `space-*` tokens dedupe against built-in spacing (keep in sync with tailwind.config.js).\nconst SPACE_SCALE_STEPS = [\n 'space-1',\n 'space-2',\n 'space-3',\n 'space-4',\n 'space-5',\n 'space-6',\n 'space-7',\n 'space-8',\n 'space-9',\n];\n\nconst customTwMerge = extendTailwindMerge({\n extend: {\n theme: {\n spacing: SPACE_SCALE_STEPS,\n },\n classGroups: {\n // Extend font-size to include custom display and caps classes\n 'font-size': [\n 'display-sm',\n 'display-base',\n 'display-lg',\n 'display-xl',\n 'display-2xl',\n 'caps-label-sm',\n 'caps-label-xs',\n 'text-xxs',\n 'text-xs',\n 'text-sm',\n 'text-base',\n 'text-lg',\n 'text-xl',\n ],\n // Extend bg-color to include custom background colors\n 'bg-color': [\n 'bg-primary',\n 'bg-primary-hover',\n 'bg-secondary',\n 'bg-secondary-hover',\n 'bg-tertiary',\n 'bg-quaternary',\n 'bg-surface-level-1',\n 'bg-surface-level-1-hover',\n 'bg-surface-level-2',\n 'bg-surface-level-2-hover',\n 'bg-surface-level-3',\n 'bg-surface-level-4',\n 'bg-disabled',\n 'bg-elevated',\n 'bg-elevated-hover',\n 'bg-elevated-selected',\n 'bg-overlay',\n 'bg-brand',\n 'bg-brand-hover',\n 'bg-brand-subtle',\n 'bg-brand-subtle-gradient',\n 'bg-brand-subtle-hover',\n 'bg-brand-illustration',\n 'bg-brand-muted',\n 'bg-brand-primary',\n 'bg-brand-primary-hover',\n 'bg-brand-secondary',\n 'bg-brand-secondary-hover',\n 'bg-brand-tertiary',\n 'bg-purple',\n 'bg-success',\n 'bg-success-subtle',\n 'bg-success-primary',\n 'bg-success-secondary',\n 'bg-success-strong',\n 'bg-error',\n 'bg-error-subtle',\n 'bg-error-primary',\n 'bg-error-secondary',\n 'bg-error-strong',\n 'bg-warning',\n 'bg-warning-subtle',\n 'bg-warning-primary',\n 'bg-warning-secondary',\n 'bg-warning-strong',\n 'bg-control-active',\n 'bg-control-active-hover',\n 'bg-control-thumb',\n 'bg-control-disabled',\n 'bg-selected',\n 'bg-selected-hover',\n ...brandBgClasses,\n ],\n // Extend border-color to include custom border colors\n 'border-color': [\n 'border-default',\n 'border-subtle',\n 'border-muted',\n 'border-faint',\n 'border-primary',\n 'border-secondary',\n 'border-tertiary',\n 'border-quaternary',\n 'border-error',\n 'border-error-strong',\n 'border-brand',\n 'border-brand-strong',\n 'border-brand-subtle',\n 'border-strong',\n 'border-disabled',\n 'border-focus',\n 'border-warning',\n 'border-success',\n 'border-purple',\n 'border-status-green',\n 'border-status-orange',\n 'border-status-yellow',\n 'border-status-red',\n ...brandBorderClasses,\n ...buttonBorderColorClasses,\n ],\n // Extend text-color to include custom text colors\n 'text-color': [\n 'text-primary',\n 'text-secondary',\n 'text-tertiary',\n 'text-quaternary',\n 'text-disabled',\n 'text-error-secondary',\n 'text-warning-secondary',\n 'text-success-secondary',\n 'text-placeholder',\n 'text-control-active-foreground',\n 'text-purple',\n 'text-brand-primary',\n 'text-brand-secondary',\n 'text-brand-tertiary',\n 'text-brand-disabled',\n 'text-brand-on-fill',\n 'text-link',\n 'text-link-hover',\n 'text-status-green',\n 'text-status-orange',\n 'text-status-yellow',\n 'text-status-red',\n 'text-button-primary',\n 'text-icon-primary',\n 'text-icon-secondary',\n 'text-icon-tertiary',\n 'text-icon-disabled',\n 'text-icon-brand',\n 'text-icon-error',\n 'text-icon-success',\n 'text-icon-warning',\n ...brandTextClasses,\n ...buttonTextColorClasses,\n ],\n },\n },\n});\n\nexport const cn = (...inputs: ClassValue[]) => {\n return customTwMerge(clsx(inputs));\n};\n"],"mappings":";;;;AAKA,IAAM,sBAAsB;CAC1B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AAEA,IAAM,iBAAiB,oBAAoB,KAAK,SAAS,YAAY,MAAM;AAC3E,IAAM,qBAAqB,oBAAoB,KAC5C,SAAS,gBAAgB,MAC5B;AACA,IAAM,mBAAmB,oBAAoB,KAC1C,SAAS,cAAc,MAC1B;AACA,IAAM,2BAA2B;CAC/B;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AACA,IAAM,yBAAyB;CAC7B;CACA;CACA;CACA;AACF;AAeA,IAAM,gBAAgB,oBAAoB,EACxC,QAAQ;CACN,OAAO
|
|
1
|
+
{"version":3,"file":"cn.js","names":[],"sources":["../../src/utils/cn.tsx"],"sourcesContent":["import type { ClassValue } from 'clsx';\nimport { clsx } from 'clsx';\nimport { extendTailwindMerge } from 'tailwind-merge';\n\n/** Numeric brand palette keys from `theme.colors.brand` (Tailwind). */\nconst BRAND_PALETTE_STEPS = [\n '10',\n '25',\n '50',\n '75',\n '100',\n '200',\n '300',\n '400',\n '500',\n '600',\n '700',\n '800',\n '900',\n '950',\n] as const;\n\nconst brandBgClasses = BRAND_PALETTE_STEPS.map((step) => `bg-brand-${step}`);\nconst brandBorderClasses = BRAND_PALETTE_STEPS.map(\n (step) => `border-brand-${step}`\n);\nconst brandTextClasses = BRAND_PALETTE_STEPS.map(\n (step) => `text-brand-${step}`\n);\nconst buttonBorderColorClasses = [\n 'button-primary-underlined-border',\n 'button-primary-underlined-border-hover',\n 'button-secondary-border',\n 'button-secondary-border-hover',\n 'button-secondary-underlined-border',\n 'button-secondary-underlined-border-hover',\n 'button-error-border',\n 'button-error-outlined-border',\n 'button-error-underlined-border',\n 'button-error-underlined-border-hover',\n 'button-error-disabled-border',\n];\nconst buttonTextColorClasses = [\n 'button-primary-underlined-foreground',\n 'button-primary-underlined-foreground-hover',\n 'button-error-underlined-foreground-hover',\n 'button-error-disabled-foreground',\n];\n\n// Lets `space-*` tokens dedupe against built-in spacing (keep in sync with tailwind.config.js).\nconst SPACE_SCALE_STEPS = [\n 'space-1',\n 'space-2',\n 'space-3',\n 'space-4',\n 'space-5',\n 'space-6',\n 'space-7',\n 'space-8',\n 'space-9',\n];\n\nconst customTwMerge = extendTailwindMerge({\n extend: {\n theme: {\n spacing: SPACE_SCALE_STEPS,\n shadow: ['slider-thumb'],\n },\n classGroups: {\n // Extend font-size to include custom display and caps classes\n 'font-size': [\n 'display-sm',\n 'display-base',\n 'display-lg',\n 'display-xl',\n 'display-2xl',\n 'caps-label-sm',\n 'caps-label-xs',\n 'text-xxs',\n 'text-xs',\n 'text-sm',\n 'text-base',\n 'text-lg',\n 'text-xl',\n ],\n // Extend bg-color to include custom background colors\n 'bg-color': [\n 'bg-primary',\n 'bg-primary-hover',\n 'bg-secondary',\n 'bg-secondary-hover',\n 'bg-tertiary',\n 'bg-quaternary',\n 'bg-surface-level-1',\n 'bg-surface-level-1-hover',\n 'bg-surface-level-2',\n 'bg-surface-level-2-hover',\n 'bg-surface-level-3',\n 'bg-surface-level-4',\n 'bg-disabled',\n 'bg-input',\n 'bg-input-disabled',\n 'bg-elevated',\n 'bg-elevated-hover',\n 'bg-elevated-selected',\n 'bg-overlay',\n 'bg-brand',\n 'bg-brand-hover',\n 'bg-brand-subtle',\n 'bg-brand-subtle-gradient',\n 'bg-brand-subtle-hover',\n 'bg-brand-illustration',\n 'bg-brand-muted',\n 'bg-brand-primary',\n 'bg-brand-primary-hover',\n 'bg-brand-secondary',\n 'bg-brand-secondary-hover',\n 'bg-brand-tertiary',\n 'bg-purple',\n 'bg-success',\n 'bg-success-subtle',\n 'bg-success-primary',\n 'bg-success-secondary',\n 'bg-success-strong',\n 'bg-error',\n 'bg-error-subtle',\n 'bg-error-primary',\n 'bg-error-secondary',\n 'bg-error-strong',\n 'button-error-bg-hover',\n 'bg-warning',\n 'bg-warning-subtle',\n 'bg-warning-primary',\n 'bg-warning-secondary',\n 'bg-warning-strong',\n 'bg-control-active',\n 'bg-control-active-hover',\n 'bg-control-thumb',\n 'bg-control-disabled',\n 'bg-selected',\n 'bg-selected-hover',\n ...brandBgClasses,\n ],\n // Extend border-color to include custom border colors\n 'border-color': [\n 'border-default',\n 'border-subtle',\n 'border-muted',\n 'border-faint',\n 'border-primary',\n 'border-secondary',\n 'border-tertiary',\n 'border-quaternary',\n 'border-error',\n 'border-error-strong',\n 'border-brand',\n 'border-brand-strong',\n 'border-brand-subtle',\n 'border-strong',\n 'border-disabled',\n 'border-focus',\n 'border-warning',\n 'border-success',\n 'border-purple',\n 'border-status-green',\n 'border-status-orange',\n 'border-status-yellow',\n 'border-status-red',\n ...brandBorderClasses,\n ...buttonBorderColorClasses,\n ],\n // Extend text-color to include custom text colors\n 'text-color': [\n 'text-primary',\n 'text-secondary',\n 'text-tertiary',\n 'text-quaternary',\n 'text-disabled',\n 'text-error-secondary',\n 'text-warning-secondary',\n 'text-success-secondary',\n 'text-placeholder',\n 'text-control-active-foreground',\n 'text-purple',\n 'text-brand-primary',\n 'text-brand-secondary',\n 'text-brand-tertiary',\n 'text-brand-disabled',\n 'text-brand-on-fill',\n 'text-link',\n 'text-link-hover',\n 'text-status-green',\n 'text-status-orange',\n 'text-status-yellow',\n 'text-status-red',\n 'text-button-primary',\n 'text-icon-primary',\n 'text-icon-secondary',\n 'text-icon-tertiary',\n 'text-icon-disabled',\n 'text-icon-brand',\n 'text-icon-error',\n 'text-icon-success',\n 'text-icon-warning',\n ...brandTextClasses,\n ...buttonTextColorClasses,\n ],\n },\n },\n});\n\nexport const cn = (...inputs: ClassValue[]) => {\n return customTwMerge(clsx(inputs));\n};\n"],"mappings":";;;;AAKA,IAAM,sBAAsB;CAC1B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AAEA,IAAM,iBAAiB,oBAAoB,KAAK,SAAS,YAAY,MAAM;AAC3E,IAAM,qBAAqB,oBAAoB,KAC5C,SAAS,gBAAgB,MAC5B;AACA,IAAM,mBAAmB,oBAAoB,KAC1C,SAAS,cAAc,MAC1B;AACA,IAAM,2BAA2B;CAC/B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AACA,IAAM,yBAAyB;CAC7B;CACA;CACA;CACA;AACF;AAeA,IAAM,gBAAgB,oBAAoB,EACxC,QAAQ;CACN,OAAO;EACL,SAAS;GAdb;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EAMa;EACT,QAAQ,CAAC,cAAc;CACzB;CACA,aAAa;EAEX,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF;EAEA,YAAY;GACV;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA,GAAG;EACL;EAEA,gBAAgB;GACd;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA,GAAG;GACH,GAAG;EACL;EAEA,cAAc;GACZ;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA,GAAG;GACH,GAAG;EACL;CACF;AACF,EACF,CAAC;AAED,IAAa,MAAM,GAAG,WAAyB;CAC7C,OAAO,cAAc,KAAK,MAAM,CAAC;AACnC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type DataAttributes = {
|
|
2
|
+
readonly [key: `data-${string}`]: string | number | boolean | undefined;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* Keeps only `data-*` keys, so components can forward consumer data
|
|
6
|
+
* attributes to the DOM without also forwarding stray props from untyped
|
|
7
|
+
* callers.
|
|
8
|
+
*/
|
|
9
|
+
export declare function pickDataAttributes(props: object): DataAttributes;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region packages/components/src/utils/dataAttributes.ts
|
|
2
|
+
/**
|
|
3
|
+
* Keeps only `data-*` keys, so components can forward consumer data
|
|
4
|
+
* attributes to the DOM without also forwarding stray props from untyped
|
|
5
|
+
* callers.
|
|
6
|
+
*/
|
|
7
|
+
function pickDataAttributes(props) {
|
|
8
|
+
return Object.fromEntries(Object.entries(props).filter(([key]) => key.startsWith("data-")));
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { pickDataAttributes };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=dataAttributes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataAttributes.js","names":[],"sources":["../../src/utils/dataAttributes.ts"],"sourcesContent":["export type DataAttributes = {\n readonly [key: `data-${string}`]: string | number | boolean | undefined;\n};\n\n/**\n * Keeps only `data-*` keys, so components can forward consumer data\n * attributes to the DOM without also forwarding stray props from untyped\n * callers.\n */\nexport function pickDataAttributes(props: object): DataAttributes {\n return Object.fromEntries(\n Object.entries(props).filter(([key]) => key.startsWith('data-'))\n );\n}\n"],"mappings":";;;;;;AASA,SAAgB,mBAAmB,OAA+B;CAChE,OAAO,OAAO,YACZ,OAAO,QAAQ,KAAK,CAAC,CAAC,QAAQ,CAAC,SAAS,IAAI,WAAW,OAAO,CAAC,CACjE;AACF"}
|
package/docs/DESIGN.md
CHANGED
|
@@ -18,16 +18,26 @@ utilities used by package components. Use
|
|
|
18
18
|
not import both.
|
|
19
19
|
|
|
20
20
|
Applications that author the semantic Tailwind classes may additionally extend
|
|
21
|
-
the optional Tailwind
|
|
21
|
+
the optional Tailwind v4 preset:
|
|
22
22
|
|
|
23
23
|
```js
|
|
24
24
|
// tailwind.config.cjs
|
|
25
25
|
module.exports = {
|
|
26
|
-
content: ['./src/**/*.{js,ts,jsx,tsx,mdx}'],
|
|
27
26
|
presets: [require('@langchain/macaw-components/tailwind-preset')],
|
|
28
27
|
};
|
|
29
28
|
```
|
|
30
29
|
|
|
30
|
+
Load this config explicitly from your application CSS (Tailwind v4 does not
|
|
31
|
+
auto-detect JavaScript config files):
|
|
32
|
+
|
|
33
|
+
```css
|
|
34
|
+
@import 'tailwindcss';
|
|
35
|
+
@config '../tailwind.config.cjs';
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Adjust the relative config path for your stylesheet. Tailwind discovers application
|
|
39
|
+
sources automatically; Macaw component utilities are precompiled.
|
|
40
|
+
|
|
31
41
|
The preset intentionally does not define consumer `content` paths and does not
|
|
32
42
|
replace the stylesheet import. Consumers scan their own source; the package's
|
|
33
43
|
component classes are already precompiled. Theme switching uses `html.dark`.
|
|
@@ -57,6 +67,19 @@ Use existing components for their interaction contracts, not just their appearan
|
|
|
57
67
|
|
|
58
68
|
Custom components should compose primitives and keep feature data, permissions, navigation, and domain behavior in the feature. Prefer a few composable parts over large prop surfaces and boolean-driven branches. Use named exports for new components, and update types, stories, and relevant guidance when behavior changes.
|
|
59
69
|
|
|
70
|
+
## Nested modals
|
|
71
|
+
|
|
72
|
+
Wrap a related workflow in `ModalProvider` from `@langchain/macaw-components/Dialog`
|
|
73
|
+
to limit it to two visible modal layers. Dialog and modal Pane share the stack
|
|
74
|
+
across portals and sibling roots. A further dialog replaces the foreground layer;
|
|
75
|
+
dismissing it restores the editor with its mounted state. Popovers, tooltips,
|
|
76
|
+
and non-modal SplitViewPane panels do not consume a layer.
|
|
77
|
+
Popover collision handling uses its enclosing Dialog as the boundary by default;
|
|
78
|
+
pass an explicit `collisionBoundary` to override it.
|
|
79
|
+
|
|
80
|
+
The base backdrop uses 75% of the semantic overlay color. The foreground layer
|
|
81
|
+
adds 50% of that color, giving a visible increase in dimming in both themes.
|
|
82
|
+
|
|
60
83
|
## Code editors
|
|
61
84
|
|
|
62
85
|
Import `Code`, `CodeToolbar`, and `CodeLanguageSelect` from
|
|
@@ -97,7 +120,11 @@ Component code uses semantic tokens through Tailwind utilities. Do not use primi
|
|
|
97
120
|
Choose color by meaning:
|
|
98
121
|
|
|
99
122
|
- `bg-surface-level-1..4` expresses nesting. Use the lowest level that creates enough separation.
|
|
100
|
-
- `bg-
|
|
123
|
+
- `bg-sidebar` is reserved for app navigation, independent of fields and floating surfaces.
|
|
124
|
+
- `bg-elevated` is for raised cards and panes; `bg-elevated-hover` and `bg-elevated-selected` are interaction states within raised or floating surfaces.
|
|
125
|
+
- `bg-input` is for Input and Textarea fields, Select and Typeahead controls. Select and Typeahead own their field styles; Button does not infer appearance from ARIA attributes. Custom Button-based picker migration is deferred; prefer Select for standard pickers. Action-menu buttons retain their normal button styles. Embedded inputs can use `inputContainerClassName="border-0 bg-transparent"`; embedded Textarea uses `variant="plain"`. Plain button triggers remain transparent.
|
|
126
|
+
- `bg-input-disabled` is for disabled fields, paired with `border-muted` and disabled text/icon colors. Do not fade the entire field with opacity.
|
|
127
|
+
- `bg-popover` is for floating overlays: tooltips (including chart tooltips), popovers, select and typeahead menus, dropdowns, context menus, and command menus. It is independent of the field fill even when the colors match.
|
|
101
128
|
- Success, warning, and error tokens describe general feedback and validation.
|
|
102
129
|
- Status tokens describe run or system state, not generic validation.
|
|
103
130
|
- `text-*` is for copy; `text-icon-*` is for standalone icons.
|
|
@@ -138,6 +165,9 @@ Use the 4-point `space-*` scale through utilities such as `gap-space-4` and `px-
|
|
|
138
165
|
|
|
139
166
|
Use named `rounded-*`, `shadow-*`, and duration utilities instead of recreating their values. Motion should explain a state change and respect `prefers-reduced-motion`. Use named values from `packages/components/src/utils/zIndices.ts` or `useZIndex` instead of numeric z-indexes.
|
|
140
167
|
|
|
168
|
+
Decorative elevation shadows are light-mode only. In dark mode, use surface
|
|
169
|
+
contrast and borders; preserve focus, selection, and error indicators.
|
|
170
|
+
|
|
141
171
|
Component size names are family-specific. Use the tiers supported by the component; do not infer a universal size scale. `packages/components/src/utils/componentSizes.ts` is the source of truth for shared outer-size families.
|
|
142
172
|
|
|
143
173
|
## Quality bar
|
package/docs/STYLES.md
CHANGED
|
@@ -34,17 +34,27 @@ the CSS custom properties without components, fonts, base rules, or utilities.
|
|
|
34
34
|
Do not import both CSS entries; `styles.css` already includes the tokens.
|
|
35
35
|
|
|
36
36
|
Applications that author semantic Tailwind classes should also use the optional
|
|
37
|
-
Tailwind
|
|
37
|
+
Tailwind v4 preset. The preset deliberately has no `content` paths and does not
|
|
38
38
|
replace the stylesheet import:
|
|
39
39
|
|
|
40
40
|
```js
|
|
41
41
|
// tailwind.config.cjs
|
|
42
42
|
module.exports = {
|
|
43
|
-
content: ['./src/**/*.{js,ts,jsx,tsx,mdx}'],
|
|
44
43
|
presets: [require('@langchain/macaw-components/tailwind-preset')],
|
|
45
44
|
};
|
|
46
45
|
```
|
|
47
46
|
|
|
47
|
+
Load this config explicitly from your application CSS (Tailwind v4 does not
|
|
48
|
+
auto-detect JavaScript config files):
|
|
49
|
+
|
|
50
|
+
```css
|
|
51
|
+
@import 'tailwindcss';
|
|
52
|
+
@config '../tailwind.config.cjs';
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Adjust the relative config path for your stylesheet. Tailwind discovers application
|
|
56
|
+
sources automatically; Macaw component utilities are precompiled.
|
|
57
|
+
|
|
48
58
|
The precompiled stylesheet already covers classes used inside the package, so
|
|
49
59
|
consumers only need to scan their own source. Add or remove `html.dark` to
|
|
50
60
|
switch the token values and Tailwind dark variants together. A nested
|
|
@@ -116,34 +126,37 @@ Use this table for new or meaningfully touched UI. Existing code still contains
|
|
|
116
126
|
deprecated aliases during migration; do not churn unrelated call sites just to
|
|
117
127
|
rename classes.
|
|
118
128
|
|
|
119
|
-
| Situation
|
|
120
|
-
|
|
|
121
|
-
| Page / app shell background
|
|
122
|
-
| Card, panel
|
|
123
|
-
|
|
|
124
|
-
|
|
|
125
|
-
|
|
|
126
|
-
|
|
|
127
|
-
|
|
|
128
|
-
|
|
|
129
|
-
|
|
|
130
|
-
|
|
|
131
|
-
|
|
|
132
|
-
|
|
|
133
|
-
|
|
|
134
|
-
|
|
|
135
|
-
|
|
|
136
|
-
|
|
|
137
|
-
|
|
|
138
|
-
|
|
|
139
|
-
|
|
|
140
|
-
|
|
|
141
|
-
|
|
|
142
|
-
|
|
|
143
|
-
|
|
|
144
|
-
|
|
|
145
|
-
|
|
|
146
|
-
|
|
|
129
|
+
| Situation | Class |
|
|
130
|
+
| --------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
|
|
131
|
+
| Page / app shell background | `bg-surface-level-1` |
|
|
132
|
+
| Card, panel | `bg-surface-level-2` |
|
|
133
|
+
| App navigation sidebar | `bg-sidebar` |
|
|
134
|
+
| Raised card, pane | `bg-elevated` |
|
|
135
|
+
| Input, textarea, select/typeahead control, filled popup trigger | `bg-input` |
|
|
136
|
+
| Tooltip, popover, select/typeahead menu, dropdown, context/command menu | `bg-popover` |
|
|
137
|
+
| Modal scrim / backdrop | `bg-overlay` for new overlays; some current overlays still use opacity classes |
|
|
138
|
+
| Non-Button brand fill | `bg-brand`; use `<Button />` for CTAs |
|
|
139
|
+
| Tinted brand surface | `bg-brand-subtle` |
|
|
140
|
+
| Tinted brand gradient surface | `bg-brand-subtle-gradient` |
|
|
141
|
+
| Branded illustration backdrop | `bg-brand-illustration` |
|
|
142
|
+
| Purple accent surface | `bg-purple` |
|
|
143
|
+
| Success / Error / Warning tint | `bg-success` / `bg-error` / `bg-warning` |
|
|
144
|
+
| Filled success / error / warning | `bg-success-strong` / `bg-error-strong` / `bg-warning-strong` |
|
|
145
|
+
| Control on-state | `bg-control-active` for new control internals |
|
|
146
|
+
| Selected list item | `bg-selected` for new selection states |
|
|
147
|
+
| Body text | `text-primary` |
|
|
148
|
+
| Secondary / label text | `text-secondary` |
|
|
149
|
+
| Placeholder text | `text-placeholder` |
|
|
150
|
+
| Disabled text | `text-disabled` |
|
|
151
|
+
| Standalone default icon | `text-icon-primary`; icons may inherit text color when paired with labels |
|
|
152
|
+
| Default structural/control border | `border-default`; older controls often still use `border-secondary` |
|
|
153
|
+
| Focus border token | `border-focus`; many current controls still use `border-brand` / `ring-brand` |
|
|
154
|
+
| Error state border | `border-error` |
|
|
155
|
+
| Disabled border | `border-disabled` |
|
|
156
|
+
| Run/system status text | `text-status-green` / `text-status-orange` / `text-status-yellow` / `text-status-red` |
|
|
157
|
+
| Low elevation for floating controls or interaction states | `shadow-sm` |
|
|
158
|
+
| Dropdown / popover shadow | `shadow-md` |
|
|
159
|
+
| Modal / dialog shadow | `shadow-lg` |
|
|
147
160
|
|
|
148
161
|
---
|
|
149
162
|
|
|
@@ -202,7 +215,7 @@ when a semantic row such as “Other” must stay last regardless of value.
|
|
|
202
215
|
|
|
203
216
|
When a chart needs hover or focus details, compose its content with
|
|
204
217
|
`ChartTooltip`, `ChartTooltipHeader`, `ChartTooltipBody`, and
|
|
205
|
-
`ChartTooltipRow` from `@langchain/macaw-components`. Do not recreate the
|
|
218
|
+
`ChartTooltipRow` from `@langchain/macaw-components`. Do not recreate the popover surface,
|
|
206
219
|
spacing, typography, markers, dividers, or numeric alignment in a feature-local
|
|
207
220
|
tooltip component.
|
|
208
221
|
|
|
@@ -235,19 +248,46 @@ Use for background fills of layout regions.
|
|
|
235
248
|
|
|
236
249
|
Use the lowest level that creates enough separation. Avoid skipping levels unless matching an existing nested table or grouping pattern.
|
|
237
250
|
|
|
238
|
-
| Class | When to use
|
|
239
|
-
| -------------------------- |
|
|
240
|
-
| `bg-surface-level-1` | Root page / app shell background
|
|
241
|
-
| `bg-surface-level-1-hover` | Hover state on level 1 surface
|
|
242
|
-
| `bg-surface-level-2` | Cards, panels,
|
|
243
|
-
| `bg-surface-level-2-hover` | Hover state on level 2 surface
|
|
244
|
-
| `bg-surface-level-3` | Nested table headers or grouped inner containers
|
|
245
|
-
| `bg-surface-level-4` | Deepest neutral fill for additional separation
|
|
246
|
-
| `bg-disabled` | Disabled input or control fill
|
|
247
|
-
| `bg-elevated` |
|
|
248
|
-
| `bg-
|
|
249
|
-
| `bg-
|
|
250
|
-
| `bg-
|
|
251
|
+
| Class | When to use |
|
|
252
|
+
| -------------------------- | ----------------------------------------------------------------- |
|
|
253
|
+
| `bg-surface-level-1` | Root page / app shell background |
|
|
254
|
+
| `bg-surface-level-1-hover` | Hover state on level 1 surface |
|
|
255
|
+
| `bg-surface-level-2` | Cards, panels, table header groups |
|
|
256
|
+
| `bg-surface-level-2-hover` | Hover state on level 2 surface |
|
|
257
|
+
| `bg-surface-level-3` | Nested table headers or grouped inner containers |
|
|
258
|
+
| `bg-surface-level-4` | Deepest neutral fill for additional separation |
|
|
259
|
+
| `bg-disabled` | Disabled input or control fill |
|
|
260
|
+
| `bg-elevated` | Raised cards and panes |
|
|
261
|
+
| `bg-input` | Input and textarea fields, picker controls, filled popup triggers |
|
|
262
|
+
| `bg-input-disabled` | Disabled field fill, independent of general disabled controls |
|
|
263
|
+
| `bg-elevated-hover` | Hover state inside a raised or floating surface |
|
|
264
|
+
| `bg-elevated-selected` | Selected item inside a raised or floating surface |
|
|
265
|
+
| `bg-popover` | Floating tooltips, popovers, and menu surfaces |
|
|
266
|
+
| `bg-sidebar` | App navigation sidebar surface |
|
|
267
|
+
| `bg-overlay` | Modal backdrop / scrim |
|
|
268
|
+
|
|
269
|
+
`bg-sidebar` is reserved for app navigation: `neutral-50` in light mode and
|
|
270
|
+
`neutral-35` in dark mode, independent of fields, popovers, and raised surfaces.
|
|
271
|
+
|
|
272
|
+
`bg-input` and `bg-popover` use `neutral-25` in light mode and `neutral-100` in
|
|
273
|
+
dark mode but remain independent semantic roles. Light-mode hover and selection
|
|
274
|
+
fills use `neutral-100`; raised `bg-elevated` surfaces stay white. Outlined fields
|
|
275
|
+
use `border-muted` at rest and `border-subtle` on hover in
|
|
276
|
+
both themes, with semantic focus and error indicators. Outlined fields use a
|
|
277
|
+
1px outer focus ring; native inputs stay unoutlined inside their containers.
|
|
278
|
+
Use `text-placeholder` for field hints. Plain fields remain borderless at rest.
|
|
279
|
+
This applies to Input, Textarea, Select, and Typeahead, including multi-value fields.
|
|
280
|
+
Select and Typeahead own their field treatment; Button does not infer appearance
|
|
281
|
+
from ARIA attributes. Custom Button-based picker migration is deferred: prefer
|
|
282
|
+
Select for standard pickers, and consider a shared field trigger for custom menus.
|
|
283
|
+
Custom picker and action-menu buttons keep their normal button fill and border.
|
|
284
|
+
Disabled fields use
|
|
285
|
+
`bg-input-disabled`, `border-muted`, and explicit disabled text/icon colors,
|
|
286
|
+
not opacity on the entire field. This keeps their appearance independent of the
|
|
287
|
+
parent surface. Keep native input/textarea elements transparent inside their
|
|
288
|
+
filled containers. For an embedded Input, use
|
|
289
|
+
`inputContainerClassName="border-0 bg-transparent"`; for an embedded Textarea,
|
|
290
|
+
use `variant="plain"`.
|
|
251
291
|
|
|
252
292
|
### Brand — `bg-brand-*`
|
|
253
293
|
|
|
@@ -317,6 +357,9 @@ Used internally by Checkbox, RadioButton, Switch, and Slider. Prefer those compo
|
|
|
317
357
|
| `border-success` | Success state border |
|
|
318
358
|
| `border-purple` | Purple-accented border |
|
|
319
359
|
|
|
360
|
+
Default outlines use `border-focus`: a subdued brand blue in light mode and a
|
|
361
|
+
slightly neutralized brand blue in dark mode, independent of brand fills.
|
|
362
|
+
|
|
320
363
|
### Status Borders — `border-status-*`
|
|
321
364
|
|
|
322
365
|
Use status border tokens for run-state and system-state accents. Do not use them for generic form validation; use intent tokens for that.
|
|
@@ -441,8 +484,15 @@ Source general-purpose icon glyphs from server-safe Phosphor leaf modules such a
|
|
|
441
484
|
| `shadow-md` | Dropdown, popover shadow |
|
|
442
485
|
| `shadow-lg` | Modal / dialog shadow |
|
|
443
486
|
|
|
444
|
-
|
|
445
|
-
shadow
|
|
487
|
+
Decorative shadows are light-mode only. All named shadow utilities (including
|
|
488
|
+
`shadow-xs`, `shadow`, `shadow-xl`, `shadow-2xl`, `shadow-inner`, and the slider
|
|
489
|
+
thumb) become transparent in dark mode. Use `var(--shadow-color-subtle)` only
|
|
490
|
+
when no named shadow can express the required layer; it also becomes transparent.
|
|
491
|
+
|
|
492
|
+
Use surface contrast and `border-subtle` to separate dark floating panels.
|
|
493
|
+
Preserve focus, selection, and error rings: these are indicators, not elevation.
|
|
494
|
+
Custom decorative box/drop shadows must also opt out in dark mode. Avoid chained
|
|
495
|
+
`drop-shadow()` outlines; subsequent filters blur earlier shadows into a glow.
|
|
446
496
|
|
|
447
497
|
---
|
|
448
498
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/macaw-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "React components and usage guidance for the Macaw Design System.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -547,7 +547,9 @@
|
|
|
547
547
|
}
|
|
548
548
|
},
|
|
549
549
|
"publishConfig": {
|
|
550
|
-
"access": "public"
|
|
550
|
+
"access": "public",
|
|
551
|
+
"provenance": true,
|
|
552
|
+
"tag": "latest"
|
|
551
553
|
},
|
|
552
554
|
"dependencies": {
|
|
553
555
|
"@braintree/sanitize-url": "^7.1.2",
|
|
@@ -564,7 +566,7 @@
|
|
|
564
566
|
"@fontsource/fira-code": "^5.2.7",
|
|
565
567
|
"@fontsource/inter": "^5.2.8",
|
|
566
568
|
"@headlessui/react": "^2.2.10",
|
|
567
|
-
"@langchain/macaw-tokens": "1.
|
|
569
|
+
"@langchain/macaw-tokens": "1.1.0",
|
|
568
570
|
"@lezer/common": "^1.2.1",
|
|
569
571
|
"@lezer/highlight": "^1.2.0",
|
|
570
572
|
"@lezer/yaml": "^1.0.4",
|
|
@@ -586,7 +588,6 @@
|
|
|
586
588
|
"@radix-ui/react-tooltip": "^1.2.6",
|
|
587
589
|
"@radix-ui/react-use-controllable-state": "^1.2.2",
|
|
588
590
|
"@react-spring/web": "^10.1.2",
|
|
589
|
-
"@tailwindcss/container-queries": "^0.1.1",
|
|
590
591
|
"@tailwindcss/forms": "^0.5.7",
|
|
591
592
|
"@uiw/codemirror-theme-tokyo-night-day": "^4.25.4",
|
|
592
593
|
"@uiw/codemirror-theme-tokyo-night-storm": "^4.25.4",
|
|
@@ -604,15 +605,15 @@
|
|
|
604
605
|
"linkify-it": "^5.0.2",
|
|
605
606
|
"react-hotkeys-hook": "^4.5.0",
|
|
606
607
|
"react-virtuoso": "^4.18.6",
|
|
607
|
-
"tailwind-merge": "^
|
|
608
|
+
"tailwind-merge": "^3.6.0",
|
|
608
609
|
"tailwindcss-animate": "^1.0.7",
|
|
609
610
|
"use-debounce": "^9.0.4",
|
|
610
611
|
"yaml": "^2.8.3"
|
|
611
612
|
},
|
|
612
613
|
"peerDependencies": {
|
|
613
|
-
"react": ">=
|
|
614
|
-
"react-dom": ">=
|
|
615
|
-
"tailwindcss": "^3.
|
|
614
|
+
"react": ">=19 <20",
|
|
615
|
+
"react-dom": ">=19 <20",
|
|
616
|
+
"tailwindcss": "^4.3.3"
|
|
616
617
|
},
|
|
617
618
|
"peerDependenciesMeta": {
|
|
618
619
|
"tailwindcss": {
|
|
@@ -620,7 +621,7 @@
|
|
|
620
621
|
}
|
|
621
622
|
},
|
|
622
623
|
"engines": {
|
|
623
|
-
"node": ">=
|
|
624
|
+
"node": ">=26"
|
|
624
625
|
},
|
|
625
626
|
"nx": {
|
|
626
627
|
"targets": {
|