@copilotkit/react-core 1.82.0 → 1.84.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.
Files changed (46) hide show
  1. package/dist/{MarkdownSurfaces-DGpjmPaB.mjs → MarkdownSurfaces-DV9P0Gi9.mjs} +55 -13
  2. package/dist/MarkdownSurfaces-DV9P0Gi9.mjs.map +1 -0
  3. package/dist/{MarkdownSurfaces-FF5za2kU.cjs → MarkdownSurfaces-IUaWSJ0E.cjs} +54 -12
  4. package/dist/MarkdownSurfaces-IUaWSJ0E.cjs.map +1 -0
  5. package/dist/{copilotkit-CVvbU9lV.cjs → copilotkit-BOTf5RHF.cjs} +296 -291
  6. package/dist/copilotkit-BOTf5RHF.cjs.map +1 -0
  7. package/dist/{copilotkit-wqaNanhw.d.cts → copilotkit-C3mvJexb.d.cts} +31 -8
  8. package/dist/copilotkit-C3mvJexb.d.cts.map +1 -0
  9. package/dist/{copilotkit-DDReN1Px.mjs → copilotkit-CKnD8GeM.mjs} +300 -295
  10. package/dist/copilotkit-CKnD8GeM.mjs.map +1 -0
  11. package/dist/{copilotkit-C765tOUi.d.mts → copilotkit-CnYo662V.d.mts} +31 -8
  12. package/dist/copilotkit-CnYo662V.d.mts.map +1 -0
  13. package/dist/index.cjs +2 -2
  14. package/dist/index.d.cts +1 -1
  15. package/dist/index.d.mts +1 -1
  16. package/dist/index.mjs +2 -2
  17. package/dist/index.umd.js +199 -289
  18. package/dist/index.umd.js.map +1 -1
  19. package/dist/v2/generative-ui.cjs +33 -54
  20. package/dist/v2/generative-ui.cjs.map +1 -1
  21. package/dist/v2/generative-ui.d.cts +118 -118
  22. package/dist/v2/generative-ui.d.mts +118 -118
  23. package/dist/v2/generative-ui.mjs +33 -54
  24. package/dist/v2/generative-ui.mjs.map +1 -1
  25. package/dist/v2/headless.cjs +32 -16
  26. package/dist/v2/headless.cjs.map +1 -1
  27. package/dist/v2/headless.d.cts +2 -0
  28. package/dist/v2/headless.d.cts.map +1 -1
  29. package/dist/v2/headless.d.mts +2 -0
  30. package/dist/v2/headless.d.mts.map +1 -1
  31. package/dist/v2/headless.mjs +33 -17
  32. package/dist/v2/headless.mjs.map +1 -1
  33. package/dist/v2/index.cjs +14 -2
  34. package/dist/v2/index.css +1 -1
  35. package/dist/v2/index.d.cts +2 -2
  36. package/dist/v2/index.d.mts +2 -2
  37. package/dist/v2/index.mjs +3 -3
  38. package/dist/v2/index.umd.js +359 -300
  39. package/dist/v2/index.umd.js.map +1 -1
  40. package/package.json +8 -8
  41. package/dist/MarkdownSurfaces-DGpjmPaB.mjs.map +0 -1
  42. package/dist/MarkdownSurfaces-FF5za2kU.cjs.map +0 -1
  43. package/dist/copilotkit-C765tOUi.d.mts.map +0 -1
  44. package/dist/copilotkit-CVvbU9lV.cjs.map +0 -1
  45. package/dist/copilotkit-DDReN1Px.mjs.map +0 -1
  46. package/dist/copilotkit-wqaNanhw.d.cts.map +0 -1
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
- const require_MarkdownSurfaces = require('../MarkdownSurfaces-FF5za2kU.cjs');
4
+ const require_MarkdownSurfaces = require('../MarkdownSurfaces-IUaWSJ0E.cjs');
5
5
  let react = require("react");
6
6
  react = require_MarkdownSurfaces.__toESM(react);
7
7
  let _copilotkit_shared = require("@copilotkit/shared");
@@ -588,27 +588,6 @@ const BORDER_COLORS = [
588
588
  "danger",
589
589
  "discovery"
590
590
  ];
591
- const BACKGROUNDS = [
592
- "surface",
593
- "surface-secondary",
594
- "surface-tertiary",
595
- "surface-elevated",
596
- "surface-elevated-secondary",
597
- "surface-inverted",
598
- "surface-soft",
599
- "info",
600
- "warning",
601
- "caution",
602
- "success",
603
- "danger",
604
- "discovery",
605
- "info-solid",
606
- "warning-solid",
607
- "caution-solid",
608
- "success-solid",
609
- "danger-solid",
610
- "discovery-solid"
611
- ];
612
591
  const RADIUS_PX = {
613
592
  "2xs": "2px",
614
593
  xs: "4px",
@@ -999,7 +978,7 @@ const layoutProps = {
999
978
  rowGap: sizeValue.optional(),
1000
979
  columnGap: sizeValue.optional(),
1001
980
  padding: sizeValue.optional().describe("4px steps when a number"),
1002
- background: zod.z.string().optional().describe(`One of ${BACKGROUNDS.join("|")} or a CSS color. Leave it unset. Only one summary panel in a Card can use "surface-secondary"`),
981
+ background: zod.z.string().optional().describe("Leave it unset. A surface token such as surface, surface-secondary, info, success, warning, danger, discovery, or one with -solid, or a CSS color. Only one summary panel in a Card uses \"surface-secondary\""),
1003
982
  border: zod.z.boolean().optional(),
1004
983
  borderColor: zod.z.enum(BORDER_COLORS).optional(),
1005
984
  radius: radiusValue.optional(),
@@ -1867,7 +1846,7 @@ const layoutComponents = {
1867
1846
  },
1868
1847
  Row: {
1869
1848
  component: Row,
1870
- description: "A horizontal flex container. For a label and value pair, use a Row with justify \"spaceBetween\": a Caption on the left and a Text with fontWeight \"medium\" on the right. Put buttons in a Row at the bottom of a Card: one Button with variant \"primary\", and the default or \"borderless\" for the others.",
1849
+ description: "A horizontal flex container. Label and value pair: justify \"spaceBetween\", a Caption left and a Text with fontWeight \"medium\" right. Buttons go in a Row at the bottom of a Card: one variant \"primary\", the others default or \"borderless\".",
1871
1850
  props: layoutSchema,
1872
1851
  events: VISIBLE_EVENT,
1873
1852
  slots: CHILDREN_SLOT
@@ -1888,7 +1867,7 @@ const layoutComponents = {
1888
1867
  },
1889
1868
  Card: {
1890
1869
  component: Card,
1891
- description: "A bordered, padded container, only for an interactive panel (controls, a form, a configurator). Tables, charts and text do not need one. Give it a Title and a Caption. Separate the groups in it with a Divider or the plain gap, never with a nested Card or a bordered Box. Variant \"section\" is a heading and content without a box. Variant \"outline\" always has a box. In markdown mode, a Card without controls renders as \"section\" unless it sets variant or border.",
1870
+ description: "A bordered panel, only for an interactive panel (controls, a form, a configurator); tables, charts and text need none. Give it a Title and a Caption. Separate groups with a Divider or the gap, never a nested Card or bordered Box. Variant \"section\": no box; \"outline\": always a box. In markdown mode, without controls it renders as \"section\" unless variant or border is set.",
1892
1871
  props: cardSchema,
1893
1872
  events: VISIBLE_EVENT,
1894
1873
  slots: {
@@ -1912,7 +1891,7 @@ const layoutComponents = {
1912
1891
  },
1913
1892
  Carousel: {
1914
1893
  component: Carousel,
1915
- description: "A row that scrolls horizontally and snaps to its slides, with previous and next arrows. Put CarouselItem or CarouselMediaItem children in it. Bind activeIndex with { \"@path\": \"/x\" } to read or set the slide in view.",
1894
+ description: "A horizontally scrolling row that snaps to its CarouselItem or CarouselMediaItem children, with arrows. Bind activeIndex to read or set the slide in view.",
1916
1895
  props: carouselSchema,
1917
1896
  events: VISIBLE_EVENT,
1918
1897
  slots: CHILDREN_SLOT,
@@ -1927,7 +1906,7 @@ const layoutComponents = {
1927
1906
  },
1928
1907
  CarouselMediaItem: {
1929
1908
  component: CarouselMediaItem,
1930
- description: "A slide of a Carousel with an image on top and its children (a Caption, a Text) under it. size \"sm\" is 160px, \"md\" 240px (default), \"lg\" 320px wide. A click on the image opens all slides full-screen, unless href or onClick is set.",
1909
+ description: "A Carousel slide: an image with its children (a Caption, a Text) under it. size \"sm\" 160px, \"md\" 240px (default), \"lg\" 320px wide. A click opens all slides full-screen, unless href or onClick is set.",
1931
1910
  props: carouselMediaItemSchema,
1932
1911
  events: {
1933
1912
  ...VISIBLE_EVENT,
@@ -3004,7 +2983,7 @@ const mediaComponents = {
3004
2983
  },
3005
2984
  Video: {
3006
2985
  component: Video,
3007
- description: "A video player for a video file URL (with optional captions), or a YouTube link in privacy-enhanced mode: the poster shows first, and the player loads when the user presses play. A page on another video site shows as a link to it. Set title to name the video.",
2986
+ description: "A video file URL (optional captions) or a YouTube link, privacy-enhanced: the poster shows until play. Other video sites show as a link. Set title.",
3008
2987
  props: videoSchema
3009
2988
  },
3010
2989
  AudioPlayer: {
@@ -3050,7 +3029,7 @@ const followUpItem = zod.z.union([zod.z.string(), zod.z.object({
3050
3029
  message: text("The text sent when the user clicks. Default: label")
3051
3030
  })]);
3052
3031
  const followUpSchema = zod.z.object({
3053
- items: zod.z.array(followUpItem).optional().describe("Strings or { \"label\", \"message\"? }, or { \"@path\": \"/x\" }"),
3032
+ items: zod.z.array(followUpItem).optional(),
3054
3033
  title: text("A caption above the pills")
3055
3034
  });
3056
3035
  const followUpArgs = zod.z.object({ message: zod.z.string().describe("The message of the clicked pill") });
@@ -3098,7 +3077,7 @@ const gridImage = zod.z.object({
3098
3077
  href: text("Opens this URL instead of the full-screen view")
3099
3078
  });
3100
3079
  const imageGridSchema = zod.z.object({
3101
- images: zod.z.array(gridImage).optional().describe("A list of { \"url\", \"description\"?, \"caption\"?, \"href\"? }, or { \"@path\": \"/x\" }"),
3080
+ images: zod.z.array(gridImage).optional(),
3102
3081
  columns: zod.z.number().optional().describe("Default 3"),
3103
3082
  aspectRatio: zod.z.string().optional().describe("Default \"1 / 1\""),
3104
3083
  gap: sizeValue.optional().describe("Default 2"),
@@ -3678,7 +3657,7 @@ function ImageGrid(props) {
3678
3657
  const compositeComponents = {
3679
3658
  LinkCard: {
3680
3659
  component: LinkCard,
3681
- description: "A preview card of a URL: the favicon and domain, the title, a description and a thumbnail. A click opens the link in a new tab, or sends onClick when it is bound. Use it for sources, articles and products that have a page.",
3660
+ description: "A preview of a URL: favicon and domain, title, description, thumbnail. A click opens it in a new tab, or sends onClick when bound. For sources, articles and products with a page.",
3682
3661
  props: linkCardSchema,
3683
3662
  events: { onClick: {
3684
3663
  description: "Sent when the user clicks the card, instead of the link.",
@@ -3687,12 +3666,12 @@ const compositeComponents = {
3687
3666
  },
3688
3667
  Citation: {
3689
3668
  component: Citation,
3690
- description: "An inline source marker ([1]) that shows the source on hover or click: the title, a snippet and a link. Put it inline after the sentence it supports, as a child of a Text or in a Row.",
3669
+ description: "An inline source marker ([1]) showing title, snippet and link on hover or click. Put it right after the sentence it supports, as a child of a Text or in a Row.",
3691
3670
  props: citationSchema
3692
3671
  },
3693
3672
  FollowUp: {
3694
3673
  component: FollowUp,
3695
- description: "Suggested next prompts as pills. A click sends the message of the pill as the next turn of the user, with no event binding needed. Put it at the end of a surface, with two to four short items.",
3674
+ description: "Suggested next prompts as pills; a click sends the pill's message as the user's next turn, no event needed. At the end of a surface, two to four short items.",
3696
3675
  props: followUpSchema,
3697
3676
  events: { onFollowUp: {
3698
3677
  description: "Sent when the user clicks a pill. The args carry the message of the pill.",
@@ -3701,7 +3680,7 @@ const compositeComponents = {
3701
3680
  },
3702
3681
  EntityCard: {
3703
3682
  component: EntityCard,
3704
- description: "A card for one thing (a product, place, person or listing): an image, title, subtitle, description, a price or meta line, a badge, a rating and up to three buttons. href opens a page, and onClick is sent when it is bound. Use a Grid of EntityCards for several things.",
3683
+ description: "A card for one product, place, person or listing: image, title, subtitle, description, a price or meta line, badge, rating and up to three buttons. href opens a page; onClick is sent when bound. Use a Grid of them for several things.",
3705
3684
  props: entityCardSchema,
3706
3685
  events: {
3707
3686
  onClick: {
@@ -3737,9 +3716,9 @@ const chartSchema = zod.z.object({
3737
3716
  "pie",
3738
3717
  "donut"
3739
3718
  ]).optional().describe("Default \"bar\""),
3740
- data: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).optional().describe("A list of objects, or { \"@path\": \"/x\" }"),
3719
+ data: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).optional(),
3741
3720
  xKey: zod.z.string().optional().describe("The field of the category axis"),
3742
- series: zod.z.array(chartSeries).optional().describe("The value fields: strings or { \"key\", \"label\"?, \"color\"? }. Default: every number field except xKey"),
3721
+ series: zod.z.array(chartSeries).optional().describe("Default: every number field except xKey"),
3743
3722
  stacked: zod.z.boolean().optional(),
3744
3723
  layout: zod.z.enum(["vertical", "horizontal"]).optional().describe("\"horizontal\" draws the bars from left to right. Default \"vertical\""),
3745
3724
  yAxis: zod.z.object({
@@ -3747,7 +3726,7 @@ const chartSchema = zod.z.object({
3747
3726
  min: zod.z.number().optional(),
3748
3727
  max: zod.z.number().optional(),
3749
3728
  width: zod.z.number().optional().describe("Pixels")
3750
- }).optional().describe("The value axis configuration object: {label?: string, min?: number, max?: number, width?: number}. Example: {label: \"Revenue (USD)\", min: 0, max: 100}. In horizontal charts, label, min and max apply to the horizontal value axis, and width sets the width of the category axis on the left."),
3729
+ }).optional().describe("Example: {label: \"Revenue (USD)\", min: 0, max: 100}. In a horizontal chart it is the horizontal axis, and width sets the category axis width"),
3751
3730
  showDots: zod.z.boolean().optional().describe("Point markers on a line or area"),
3752
3731
  barRadius: zod.z.number().optional().describe("The corner radius of a bar, in pixels"),
3753
3732
  innerRadius: zod.z.union([zod.z.number(), zod.z.string()]).optional().describe("Pie and donut"),
@@ -3766,7 +3745,7 @@ const chartSchema = zod.z.object({
3766
3745
  "number",
3767
3746
  "currency",
3768
3747
  "percent"
3769
- ]).optional().describe("Number formatting. With \"percent\", data values and axis min/max are fractions: 0.4 displays as 40%. For 0% to 10%, use min: 0 and max: 0.1."),
3748
+ ]).optional().describe("With \"percent\", data values and axis min/max are fractions: 0.4 shows as 40%; for 0% to 10%, use min: 0 and max: 0.1."),
3770
3749
  currency: zod.z.string().optional().describe("ISO code. Default \"USD\""),
3771
3750
  title: zod.z.string().optional()
3772
3751
  });
@@ -4180,7 +4159,7 @@ const mapMarker = zod.z.object({
4180
4159
  icon: zod.z.string().optional()
4181
4160
  });
4182
4161
  const mapSchema = zod.z.object({
4183
- markers: zod.z.array(mapMarker).optional().describe("A list of places, or { \"@path\": \"/x\" }"),
4162
+ markers: zod.z.array(mapMarker).optional(),
4184
4163
  route: zod.z.boolean().optional().describe("Draws a line through the markers in order"),
4185
4164
  selected: zod.z.string().optional().describe("The label of the selected marker. Bind it with { \"@path\": \"/x\" } to read the choice of the user"),
4186
4165
  height: zod.z.number().optional().describe("Pixels. Default 240"),
@@ -4508,8 +4487,8 @@ const tableColumn = zod.z.union([
4508
4487
  ]);
4509
4488
  const tableSchema = zod.z.object({
4510
4489
  caption: zod.z.string().optional().describe("A short name of the table for screen readers. It is not shown"),
4511
- columns: zod.z.array(tableColumn).optional().describe("Strings, { \"label\", \"align\"?, \"width\"?, \"componentId\"? } or { \"componentId\" }, or { \"@path\": \"/x\" }. Default []"),
4512
- rows: zod.z.array(zod.z.array(zod.z.unknown())).optional().describe("A list of row lists, or { \"@path\": \"/x\" }. A cell is a string, a number, or { \"componentId\": \"<id>\" } to show a component. Default []"),
4490
+ columns: zod.z.array(tableColumn).optional().describe("Default []"),
4491
+ rows: zod.z.array(zod.z.array(zod.z.unknown())).optional().describe("A list of row lists. A cell is a string, a number, or { \"componentId\": \"<id>\" } to show a component. Default []"),
4513
4492
  columnSizing: zod.z.enum(["auto", "equal"]).optional().describe("Default \"auto\""),
4514
4493
  dividers: zod.z.boolean().optional().describe("Default true"),
4515
4494
  stickyHeader: zod.z.boolean().optional().describe("Default false"),
@@ -4541,7 +4520,7 @@ const listItemValue = zod.z.union([zod.z.string(), zod.z.object({
4541
4520
  value: zod.z.union([zod.z.string(), zod.z.number()]).optional().describe("Without an action: shown on the right of the label, for a key and value fact. With an action: the payload of the pick, not shown")
4542
4521
  })]);
4543
4522
  const listSchema = zod.z.object({
4544
- items: zod.z.array(listItemValue).optional().describe("Strings or { \"label\", \"value\"?, \"description\"?, \"icon\"? }, or { \"@path\": \"/x\" }"),
4523
+ items: zod.z.array(listItemValue).optional(),
4545
4524
  direction: zod.z.enum(["vertical", "horizontal"]).optional().describe("Default \"vertical\". \"horizontal\" scrolls sideways"),
4546
4525
  align: zod.z.enum([
4547
4526
  "start",
@@ -4995,7 +4974,7 @@ function ListItem(props) {
4995
4974
  const dataComponents = {
4996
4975
  Table: {
4997
4976
  component: Table,
4998
- description: "A data table. Put it in a plain Column, not in a Card. Give \"columns\" and \"rows\" (a list of row lists). Or give \"children\": TableSection or TableRow ids, or a template { \"componentId\", \"path\" } that repeats a TableRow for each item of a data list. To show a component (Badge, Button, Icon, Text) in a cell or a column header, set it to { \"componentId\": \"<id>\" } and put the id in \"cellComponents\".",
4977
+ description: "A data table, in a plain Column, not a Card. Give \"columns\" and \"rows\", or \"children\": TableSection or TableRow ids, or a template { \"componentId\", \"path\" } repeating a TableRow per item. A component in a cell or header (Badge, Button, Icon, Text): { \"componentId\": \"<id>\" }, with the id in \"cellComponents\".",
4999
4978
  props: tableSchema,
5000
4979
  slots: {
5001
4980
  children: "multiple",
@@ -5025,7 +5004,7 @@ const dataComponents = {
5025
5004
  },
5026
5005
  List: {
5027
5006
  component: List,
5028
- description: "A list in a Card or next to another component. A plain list of text is markdown, not a List. Give \"items\" (strings or { \"label\", \"value\"?, \"description\"?, \"icon\"? }); without an action, an item with a value is a key and value row, for facts like Price: $1,599. Or, when there are no items, give \"children\": ListItem ids or a template. With an \"action\", the user can pick an item: the event context gets \"index\", \"label\" and \"value\" of the item.",
5007
+ description: "A list in a Card or next to another component; a plain list of text is markdown. Give \"items\": an item with a value and no action is a key-value row (Price: $1,599). Or give \"children\": ListItem ids or a template. With \"action\" the user picks an item; the event context gets its index, label and value.",
5029
5008
  props: listSchema,
5030
5009
  events: { action: {
5031
5010
  description: "Runs when the user picks an item. The args are the index, label and value of the item.",
@@ -5050,7 +5029,7 @@ const dataComponents = {
5050
5029
  },
5051
5030
  Map: {
5052
5031
  component: MapView,
5053
- description: "A map with markers. With \"route\", a line connects the markers in order. Bind \"selected\" to { \"@path\": \"/x\" } to get the label of the marker that the user picks. When maps are not available, it shows a list of the places.",
5032
+ description: "A map with markers; with \"route\" a line connects them in order. Bind \"selected\" to get the label of the marker the user picks. Without maps it shows a list of the places.",
5054
5033
  props: mapSchema,
5055
5034
  writable: ["selected"]
5056
5035
  }
@@ -5606,7 +5585,7 @@ const feedbackComponents = {
5606
5585
  },
5607
5586
  Popover: {
5608
5587
  component: Popover,
5609
- description: "A small overlay next to a trigger. Put exactly two children in it: one PopoverTrigger, then one PopoverContent. A click on the trigger opens and closes the content. Escape or a click outside closes it.",
5588
+ description: "A small overlay: exactly two children, one PopoverTrigger then one PopoverContent. A click on the trigger toggles it; Escape or a click outside closes it.",
5610
5589
  props: popoverSchema,
5611
5590
  slots: CHILDREN_SLOT,
5612
5591
  writable: ["open"]
@@ -5740,7 +5719,7 @@ const optionList = zod.z.array(zod.z.union([zod.z.string(), zod.z.object({
5740
5719
  value: zod.z.string(),
5741
5720
  label: zod.z.string().optional(),
5742
5721
  description: zod.z.string().optional()
5743
- })])).optional().describe("Strings or { \"value\", \"label\", \"description\"? }");
5722
+ })])).optional();
5744
5723
  const SIZES = [
5745
5724
  "sm",
5746
5725
  "md",
@@ -7192,7 +7171,7 @@ function Slider(props) {
7192
7171
  const inputComponents = {
7193
7172
  Button: {
7194
7173
  component: Button,
7195
- description: "A button that sends its onClick event. With href it opens the URL, and with copy it copies the text, both without the agent. Use variant \"primary\" for the one main Button in a Row, and the default for the others. With submit true inside a Form, it submits the Form. The child or children render instead of the label. With checks, it is disabled while a check fails.",
7174
+ description: "Sends its onClick event; with href it opens the URL, with copy it copies the text. Variant \"primary\" for the one main Button in a Row. submit true submits the Form around it. Its children render instead of the label. With checks it is disabled while a check fails.",
7196
7175
  props: buttonSchema,
7197
7176
  events: { onClick: {
7198
7177
  description: "Sent when the user clicks the button.",
@@ -7218,7 +7197,7 @@ const inputComponents = {
7218
7197
  },
7219
7198
  Form: {
7220
7199
  component: Form,
7221
- description: "A layout container that is a form. It sends its onSubmit event when the user submits it (a Button with submit true, or Enter in a field). Put the values of its fields in the event context with { \"@path\": \"/x\" }.",
7200
+ description: "A layout container that is a form. It sends onSubmit when the user submits (a Button with submit true, or Enter in a field). Put its field values in the event context with { \"@path\": \"/x\" }.",
7222
7201
  props: formSchema,
7223
7202
  events: { onSubmit: {
7224
7203
  description: "Sent when the user submits the form.",
@@ -7275,13 +7254,13 @@ const inputComponents = {
7275
7254
  },
7276
7255
  ChoicePicker: {
7277
7256
  component: ChoicePicker,
7278
- description: "A list of options, as checkboxes or chips. The user picks one, or several with variant \"multipleSelection\". Bind value with { \"@path\": \"/x\" } to read the chosen values as a list. Give it a label.",
7257
+ description: "Options as checkboxes or chips: pick one, or several with variant \"multipleSelection\". Its value is the list of chosen values. Give it a label.",
7279
7258
  props: choicePickerSchema,
7280
7259
  writable: VALUE_WRITABLE
7281
7260
  },
7282
7261
  DateTimeInput: {
7283
7262
  component: DateTimeInput,
7284
- description: "A date picker, or a time picker with enableTime, or both. Set timeStep (minutes) to offer fixed times, e.g. 30 for a booking. The value is ISO 8601. Bind value with { \"@path\": \"/x\" } to read it. Give it a label.",
7263
+ description: "A date picker, a time picker with enableTime, or both. timeStep (minutes) offers fixed times, e.g. 30 for a booking. The value is ISO 8601. Give it a label.",
7285
7264
  props: dateTimeInputSchema,
7286
7265
  writable: VALUE_WRITABLE
7287
7266
  }
@@ -7783,12 +7762,12 @@ function Tooltip({ trigger, content }) {
7783
7762
  const textComponents = {
7784
7763
  Title: {
7785
7764
  component: Title,
7786
- description: "A heading inside a Card or next to another component. A heading alone is markdown outside the fence. Use size \"2xl\" at most once in a surface, and \"lg\" for section headings. Size \"sm\" is an h4, \"md\" and \"lg\" are an h3 (default \"md\"), \"xl\" and larger are an h2. It is bold unless strong is false.",
7765
+ description: "A heading in a Card or next to another component; a heading alone is markdown. Size \"2xl\" at most once per surface, \"lg\" for sections. \"sm\" is an h4, \"md\"/\"lg\" an h3 (default \"md\"), \"xl\" and up an h2. Bold unless strong is false.",
7787
7766
  props: titleSchema
7788
7767
  },
7789
7768
  Text: {
7790
7769
  component: Text,
7791
- description: "Body text inside a Card or next to another component. A paragraph alone is markdown outside the fence. Use color \"default\" or \"secondary\". `text` can have inline markdown: **bold**, *italic*, ~~strike~~, ++underline++, `code` and [link](https://example.com). The `children` ids render inline after the text, for example a Badge.",
7770
+ description: "Body text in a Card or next to another component; a paragraph alone is markdown outside the fence. Color \"default\" or \"secondary\". `text` takes inline markdown (**bold**, *italic*, ~~strike~~, ++underline++, `code`, [link](url)). `children` ids render inline after it, e.g. a Badge.",
7792
7771
  props: textSchema,
7793
7772
  slots: CHILDREN_SLOT
7794
7773
  },
@@ -7859,7 +7838,7 @@ const textComponents = {
7859
7838
  },
7860
7839
  Tooltip: {
7861
7840
  component: Tooltip,
7862
- description: "Shows `content` when the user points at `trigger` or moves keyboard focus to it. `trigger` is one child id: a Text, Icon or Badge, not a Button or Link. `content` is one child id of short text, for example a Text. Do not put links or buttons in `content`.",
7841
+ description: "Shows `content` when the user points at or focuses `trigger`. `trigger`: one child id, a Text, Icon or Badge (not a Button or Link). `content`: one child id of short text, no links or buttons.",
7863
7842
  slots: {
7864
7843
  trigger: "single",
7865
7844
  content: "single"