@keboola/design 11.0.1 → 11.2.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/AGENTS.md +16 -1
- package/CHANGELOG.md +2138 -0
- package/COMPONENT-API.md +40 -1
- package/dist/{AIKit-Dre37SJr.js → AIKit-DiS0CVOW.js} +6 -6
- package/dist/{AIKit-Dre37SJr.js.map → AIKit-DiS0CVOW.js.map} +1 -1
- package/dist/{AlertModal-BUC4Es8o.js → AlertModal-Dp_XuJBW.js} +3 -6
- package/dist/{AlertModal-BUC4Es8o.js.map → AlertModal-Dp_XuJBW.js.map} +1 -1
- package/dist/{BrandEditor-B8o9zdZO.js → BrandEditor-DyzgfVkl.js} +6 -6
- package/dist/{BrandEditor-B8o9zdZO.js.map → BrandEditor-DyzgfVkl.js.map} +1 -1
- package/dist/{Breadcrumb-DJp7WwSv.js → Breadcrumb-Frst8MTA.js} +3 -3
- package/dist/{Breadcrumb-DJp7WwSv.js.map → Breadcrumb-Frst8MTA.js.map} +1 -1
- package/dist/{Button-nzmDNS2q.js → Button-6xBX0nNl.js} +15 -15
- package/dist/Button-6xBX0nNl.js.map +1 -0
- package/dist/{ClipboardButton-ez5V3fkk.js → ClipboardButton-ClcluT0C.js} +2 -2
- package/dist/{ClipboardButton-ez5V3fkk.js.map → ClipboardButton-ClcluT0C.js.map} +1 -1
- package/dist/{CodeEditor-BfQJfbhL.js → CodeEditor-DyaN-Ij2.js} +58 -10
- package/dist/CodeEditor-DyaN-Ij2.js.map +1 -0
- package/dist/{ColorInput-Dx8Dsv7Y.js → ColorInput-B8z4j4Y_.js} +2 -2
- package/dist/{ColorInput-Dx8Dsv7Y.js.map → ColorInput-B8z4j4Y_.js.map} +1 -1
- package/dist/{ColorModeSwitch-CCqj7tjE.js → ColorModeSwitch-dZFZyqy1.js} +3 -3
- package/dist/{ColorModeSwitch-CCqj7tjE.js.map → ColorModeSwitch-dZFZyqy1.js.map} +1 -1
- package/dist/{Combobox-c_xBjf0P.js → Combobox-Dgm6Z4ib.js} +9 -5
- package/dist/Combobox-Dgm6Z4ib.js.map +1 -0
- package/dist/{Command-CQ_bQsJp.js → Command-C0aZfVTq.js} +2 -2
- package/dist/{Command-CQ_bQsJp.js.map → Command-C0aZfVTq.js.map} +1 -1
- package/dist/{DateInput-CMD3dY-T.js → DateInput-B3UdzRfW.js} +3 -3
- package/dist/{DateInput-CMD3dY-T.js.map → DateInput-B3UdzRfW.js.map} +1 -1
- package/dist/{DatePicker-BbFbmsGl.js → DatePicker-Dw3DpbUh.js} +2 -2
- package/dist/{DatePicker-BbFbmsGl.js.map → DatePicker-Dw3DpbUh.js.map} +1 -1
- package/dist/{DateRangeInput-D3BhiKyk.js → DateRangeInput-DTuySEiq.js} +3 -3
- package/dist/{DateRangeInput-D3BhiKyk.js.map → DateRangeInput-DTuySEiq.js.map} +1 -1
- package/dist/{DateRangePicker-BiUgtt_M.js → DateRangePicker-DCmMHg4s.js} +4 -4
- package/dist/{DateRangePicker-BiUgtt_M.js.map → DateRangePicker-DCmMHg4s.js.map} +1 -1
- package/dist/{DropdownMenu-B6ZbYvaM.js → DropdownMenu-t90tVw6l.js} +8 -8
- package/dist/DropdownMenu-t90tVw6l.js.map +1 -0
- package/dist/FieldItem-CAPj9lj3.d.ts +111 -0
- package/dist/FieldItem-D-h1NeBo.js +108 -0
- package/dist/FieldItem-D-h1NeBo.js.map +1 -0
- package/dist/{FileUpload-sXRv7JiY.js → FileUpload-BRv0TaZk.js} +2 -2
- package/dist/{FileUpload-sXRv7JiY.js.map → FileUpload-BRv0TaZk.js.map} +1 -1
- package/dist/{Form-BDCef6O9.js → Form-DHvcFoEi.js} +18 -78
- package/dist/{Form-BDCef6O9.js.map → Form-DHvcFoEi.js.map} +1 -1
- package/dist/{FormGroup-S9mPNHKH.js → FormGroup-C41n65cE.js} +7 -7
- package/dist/FormGroup-C41n65cE.js.map +1 -0
- package/dist/{FullScreenModal-CJa2VkJ2.js → FullScreenModal-Cb3PGgh4.js} +2 -2
- package/dist/{FullScreenModal-CJa2VkJ2.js.map → FullScreenModal-Cb3PGgh4.js.map} +1 -1
- package/dist/{InputGroup-BJWsI35s.js → InputGroup-CdTq8H7c.js} +2 -2
- package/dist/{InputGroup-BJWsI35s.js.map → InputGroup-CdTq8H7c.js.map} +1 -1
- package/dist/{MermaidDiagram-BB06gymm.js → MermaidDiagram-ChL3WIQT.js} +2 -2
- package/dist/{MermaidDiagram-BB06gymm.js.map → MermaidDiagram-ChL3WIQT.js.map} +1 -1
- package/dist/{Modal-BA5Wc3sx.js → Modal-wqG8nJiK.js} +2 -2
- package/dist/{Modal-BA5Wc3sx.js.map → Modal-wqG8nJiK.js.map} +1 -1
- package/dist/{MultiActionButtonGroup-CiBHxsSk.js → MultiActionButtonGroup-BiIIubiL.js} +2 -2
- package/dist/{MultiActionButtonGroup-CiBHxsSk.js.map → MultiActionButtonGroup-BiIIubiL.js.map} +1 -1
- package/dist/{Navbar-t16usFZQ.js → Navbar-BfaPeLUL.js} +5 -2
- package/dist/Navbar-BfaPeLUL.js.map +1 -0
- package/dist/{PageToolbar-0_1OBzaZ.js → PageToolbar-OQg3mPF-.js} +4 -4
- package/dist/PageToolbar-OQg3mPF-.js.map +1 -0
- package/dist/{Pagination-CM_Rszz-.js → Pagination-Cjfda8KG.js} +2 -2
- package/dist/{Pagination-CM_Rszz-.js.map → Pagination-Cjfda8KG.js.map} +1 -1
- package/dist/{Popconfirm-BGe1jLov.js → Popconfirm-D7_vfxFd.js} +4 -7
- package/dist/{Popconfirm-BGe1jLov.js.map → Popconfirm-D7_vfxFd.js.map} +1 -1
- package/dist/{Popover-Ca0V6AD1.js → Popover-CzeHjvrB.js} +6 -13
- package/dist/Popover-CzeHjvrB.js.map +1 -0
- package/dist/{SearchInput-D2fcOv7E.js → SearchInput-C7dF_Ir-.js} +2 -2
- package/dist/{SearchInput-D2fcOv7E.js.map → SearchInput-C7dF_Ir-.js.map} +1 -1
- package/dist/{SectionNav--7bw2b6u.js → SectionNav-8NoTOKO8.js} +3 -3
- package/dist/{SectionNav--7bw2b6u.js.map → SectionNav-8NoTOKO8.js.map} +1 -1
- package/dist/{Select-4YX38G5h.js → Select-Is0VkePH.js} +2 -2
- package/dist/{Select-4YX38G5h.js.map → Select-Is0VkePH.js.map} +1 -1
- package/dist/{Sheet-BQrX8-h5.js → Sheet-Dw9BDvjI.js} +2 -2
- package/dist/{Sheet-BQrX8-h5.js.map → Sheet-Dw9BDvjI.js.map} +1 -1
- package/dist/{Sidebar-ROaR_AqC.js → Sidebar-Dcb4rinA.js} +2 -2
- package/dist/{Sidebar-ROaR_AqC.js.map → Sidebar-Dcb4rinA.js.map} +1 -1
- package/dist/{Slider-Da_3mS5v.js → Slider-BOPfMOMm.js} +2 -2
- package/dist/{Slider-Da_3mS5v.js.map → Slider-BOPfMOMm.js.map} +1 -1
- package/dist/{Tabs-EAihyqCt.js → Tabs-UMQuDoW8.js} +2 -2
- package/dist/{Tabs-EAihyqCt.js.map → Tabs-UMQuDoW8.js.map} +1 -1
- package/dist/{TextInput-BGed-V13.js → TextInput-CMuN1WfY.js} +2 -2
- package/dist/{TextInput-BGed-V13.js.map → TextInput-CMuN1WfY.js.map} +1 -1
- package/dist/{TimePicker-B_NegL-7.js → TimePicker-D9zktB8A.js} +2 -2
- package/dist/{TimePicker-B_NegL-7.js.map → TimePicker-D9zktB8A.js.map} +1 -1
- package/dist/{ZoomableSvg-DG9PnAm8.js → ZoomableSvg-CZEu6sAq.js} +3 -3
- package/dist/{ZoomableSvg-DG9PnAm8.js.map → ZoomableSvg-CZEu6sAq.js.map} +1 -1
- package/dist/editors.d.ts +71 -9
- package/dist/editors.js +58 -3
- package/dist/editors.js.map +1 -1
- package/dist/index.d.ts +314 -312
- package/dist/index.js +41 -40
- package/dist/internal/blocks/AIKit.js +1 -1
- package/dist/internal/blocks/BrandEditor.js +1 -1
- package/dist/internal/blocks/ClipboardButton.js +1 -1
- package/dist/internal/blocks/ColorInput.js +1 -1
- package/dist/internal/blocks/ColorModeSwitch.js +1 -1
- package/dist/internal/blocks/Command.js +1 -1
- package/dist/internal/blocks/DateInput.js +1 -1
- package/dist/internal/blocks/DateRangeInput.js +1 -1
- package/dist/internal/blocks/ExportMenu.js +2 -2
- package/dist/internal/blocks/Form/connectors/MultiComboboxField.js +56 -0
- package/dist/internal/blocks/Form/connectors/MultiComboboxField.js.map +1 -0
- package/dist/internal/blocks/Form.js +1 -1
- package/dist/internal/blocks/FormGroup.js +1 -1
- package/dist/internal/blocks/MultiActionButtonGroup.js +1 -1
- package/dist/internal/blocks/MultiCombobox.js +8 -3
- package/dist/internal/blocks/MultiCombobox.js.map +1 -1
- package/dist/internal/blocks/NumberInput.js +1 -1
- package/dist/internal/blocks/PageToolbar.js +1 -1
- package/dist/internal/blocks/PasswordInput.js +1 -1
- package/dist/internal/blocks/SearchInput.js +1 -1
- package/dist/internal/blocks/SearchInputWithNavigation.js +2 -2
- package/dist/internal/blocks/SectionNav.js +1 -1
- package/dist/internal/blocks/SplitButton.js +2 -2
- package/dist/internal/blocks/TextInput.js +1 -1
- package/dist/internal/blocks/Textarea.js +1 -1
- package/dist/internal/blocks/TimeInput.js +2 -2
- package/dist/internal/components/AlertModal.js +1 -1
- package/dist/internal/components/Breadcrumb.js +1 -1
- package/dist/internal/components/Button.js +1 -1
- package/dist/internal/components/Combobox.js +1 -1
- package/dist/internal/components/DatePicker.js +1 -1
- package/dist/internal/components/DateRangePicker.js +1 -1
- package/dist/internal/components/DropdownMenu.js +1 -1
- package/dist/internal/components/FileUpload.js +1 -1
- package/dist/internal/components/FullScreenModal.js +1 -1
- package/dist/internal/components/InputGroup.js +1 -1
- package/dist/internal/components/Modal.js +1 -1
- package/dist/internal/components/Navbar.js +1 -1
- package/dist/internal/components/Pagination.js +1 -1
- package/dist/internal/components/Popconfirm.js +1 -1
- package/dist/internal/components/Popover.js +1 -1
- package/dist/internal/components/Select.js +1 -1
- package/dist/internal/components/Sheet.js +1 -1
- package/dist/internal/components/Sidebar.js +1 -1
- package/dist/internal/components/Slider.js +1 -1
- package/dist/internal/components/Tabs.js +1 -1
- package/dist/internal/components/TimePicker.js +1 -1
- package/dist/internal/components/ZoomableSvg.js +1 -1
- package/dist/markdown-editor.js +5 -5
- package/dist/mermaid.js +1 -1
- package/dist/rjsf.d.ts +13 -1
- package/dist/rjsf.js +233 -173
- package/dist/rjsf.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +7 -6
- package/dist/Button-nzmDNS2q.js.map +0 -1
- package/dist/CodeEditor-BfQJfbhL.js.map +0 -1
- package/dist/Combobox-c_xBjf0P.js.map +0 -1
- package/dist/DropdownMenu-B6ZbYvaM.js.map +0 -1
- package/dist/FormGroup-S9mPNHKH.js.map +0 -1
- package/dist/Navbar-t16usFZQ.js.map +0 -1
- package/dist/PageToolbar-0_1OBzaZ.js.map +0 -1
- package/dist/Popover-Ca0V6AD1.js.map +0 -1
- package/dist/constants-D6JcsD4_.d.ts +0 -41
package/COMPONENT-API.md
CHANGED
|
@@ -313,6 +313,44 @@ Source: `src/blocks/Form/connectors/TextareaField.tsx`
|
|
|
313
313
|
| `tooltip` | `ReactNode` | no | — | |
|
|
314
314
|
| `variant` | `"primary" \| "secondary" \| null` | no | — | |
|
|
315
315
|
|
|
316
|
+
### `MultiComboboxField`
|
|
317
|
+
|
|
318
|
+
Source: `src/blocks/Form/connectors/MultiComboboxField.tsx`
|
|
319
|
+
|
|
320
|
+
> Several values from a searchable list — state is `string[]`, never objects, so the form value stays what gets submitted. Project labels with `itemToLabel`; add `allowCreate` for an enum the user may extend. Imported by name from `@keboola/design`, composed inside `form.AppField` — NOT reachable as `field.MultiComboboxField`.
|
|
321
|
+
|
|
322
|
+
| Prop | Type | Required | Default | Description |
|
|
323
|
+
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
324
|
+
| `action` | `ReactNode` | no | — | Optional node rendered at the trailing edge of the label row (opposite the label) — e.g. a "Forgot password?" link beside a Password label. Presentational placement only; it is a sibling of the `<Label>`, not part of the field's accessible name. Provide an interactive element (`ButtonInline` / `Link`). |
|
|
325
|
+
| `allowClear` | `boolean` | no | — | |
|
|
326
|
+
| `allowCreate` | `boolean` | no | — | |
|
|
327
|
+
| `allowSelectAll` | `boolean` | no | — | |
|
|
328
|
+
| `aria-describedby` | `string` | no | — | |
|
|
329
|
+
| `className` | `string` | no | — | |
|
|
330
|
+
| `empty` | `ReactNode` | no | — | |
|
|
331
|
+
| `focusVariant` | `"off" \| "on" \| "default" \| null` | no | — | |
|
|
332
|
+
| `groupToLabel` | `((group: Group<string>) => ReactNode)` | no | — | |
|
|
333
|
+
| `help` | `ReactNode` | no | — | |
|
|
334
|
+
| `indicator` | `Indicator` | no | — | |
|
|
335
|
+
| `inputClassName` | `string` | no | — | |
|
|
336
|
+
| `items` | `readonly (string \| Group<string>)[]` | no | — | |
|
|
337
|
+
| `itemToChipColor` | `((item: unknown) => "gray" \| "gray-darker" \| "gray-inverse" \| "green" \| "green-darker" \| "green-inverse" \| "blue" \| "blue-inverse" \| "red" \| "orange" \| "orange-inverse" \| "amber" \| ... 9 more ...)` | no | — | |
|
|
338
|
+
| `itemToChipLabel` | `((item: unknown) => ReactNode)` | no | — | |
|
|
339
|
+
| `itemToDisabled` | `((item: string) => boolean)` | no | — | |
|
|
340
|
+
| `itemToIcon` | `((item: string) => ReactNode)` | no | — | |
|
|
341
|
+
| `itemToLabel` | `((item: string) => ReactNode)` | no | — | |
|
|
342
|
+
| `itemToStringLabel` | `((itemValue: string) => string)` | no | — | When the item values are objects (`<Combobox.Item value={object}>`), this function converts the object value to a string representation for display in the input. If the shape of the object is `{ value, label }`, the label will be used automatically without needing to specify this prop. |
|
|
343
|
+
| `itemToStringValue` | `((itemValue: string) => string)` | no | — | When the item values are objects (`<Combobox.Item value={object}>`), this function converts the object value to a string representation for form submission. If the shape of the object is `{ value, label }`, the value will be used automatically without needing to specify this prop. |
|
|
344
|
+
| `label` | `ReactNode` | no | — | |
|
|
345
|
+
| `maxVisible` | `number` | no | — | |
|
|
346
|
+
| `queryToCreateLabel` | `((query: string) => ReactNode)` | no | — | |
|
|
347
|
+
| `queryToCreateValue` | `((query: string) => string)` | no | — | |
|
|
348
|
+
| `required` | `boolean` | no | — | |
|
|
349
|
+
| `requiredMark` | `RequiredMark` | no | — | Which marker to show beside the label — gated by `required` so it never lies: `'required'` renders `*` only when the field is `required`; `'optional'` renders `(optional)` only when it is not; `'hidden'` renders neither. Defaults to `'required'`. |
|
|
350
|
+
| `sizing` | `"small" \| "medium" \| "default" \| null` | no | — | |
|
|
351
|
+
| `tooltip` | `ReactNode` | no | — | |
|
|
352
|
+
| `variant` | `"primary" \| "secondary" \| null` | no | — | |
|
|
353
|
+
|
|
316
354
|
### `field.CheckboxField`
|
|
317
355
|
|
|
318
356
|
Source: `src/blocks/Form/connectors/CheckboxField.tsx`
|
|
@@ -354,6 +392,7 @@ Source: `src/blocks/Form/connectors/OtpInputField.tsx`
|
|
|
354
392
|
| `containerClassName` | `string` | no | — | |
|
|
355
393
|
| `help` | `ReactNode` | no | — | |
|
|
356
394
|
| `label` | `ReactNode` | no | — | |
|
|
395
|
+
| `nonce` | `string` | no | — | |
|
|
357
396
|
| `noScriptCSSFallback` | `string \| null` | no | — | |
|
|
358
397
|
| `onComplete` | `((...args: any[]) => unknown)` | no | — | |
|
|
359
398
|
| `pasteTransformer` | `((pasted: string) => string)` | no | — | |
|
|
@@ -537,7 +576,7 @@ Source: `src/components/Navbar/Navbar.tsx`
|
|
|
537
576
|
|
|
538
577
|
| Prop | Type | Required | Default | Description |
|
|
539
578
|
| ---------- | ------------------------------------------- | -------- | ------- | ----------- |
|
|
540
|
-
| `accent` | `"
|
|
579
|
+
| `accent` | `"green" \| "blue" \| "orange" \| "purple"` | no | `blue` | |
|
|
541
580
|
| `bordered` | `boolean \| null` | no | `false` | |
|
|
542
581
|
|
|
543
582
|
## Navigation / flow
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { cn } from "./classNames-BzrkDnOD.js";
|
|
2
2
|
import { Tooltip, TooltipProvider } from "./utils-D0c5VAyF.js";
|
|
3
3
|
import { AlertCircle, ChevronDown, ChevronLeft, ChevronRight, CircleCheck, CirclePause, CircleX, FileText, Loader2, Maximize2, Minimize2, Play, Send, X, XCircle } from "./icons-Cek151jC.js";
|
|
4
|
-
import { Button } from "./Button-
|
|
5
|
-
import { ClipboardButton } from "./ClipboardButton-
|
|
6
|
-
import { FullScreenModal, FullScreenModalBody, FullScreenModalHeader } from "./FullScreenModal-
|
|
4
|
+
import { Button } from "./Button-6xBX0nNl.js";
|
|
5
|
+
import { ClipboardButton } from "./ClipboardButton-ClcluT0C.js";
|
|
6
|
+
import { FullScreenModal, FullScreenModalBody, FullScreenModalHeader } from "./FullScreenModal-Cb3PGgh4.js";
|
|
7
7
|
import { Truncated } from "./internal/components/Truncated.js";
|
|
8
8
|
import { HoverCard } from "./HoverCard-WfDkLK1s.js";
|
|
9
|
-
import { Command } from "./Command-
|
|
10
|
-
import { TextInput } from "./TextInput-
|
|
9
|
+
import { Command } from "./Command-C0aZfVTq.js";
|
|
10
|
+
import { TextInput } from "./TextInput-CMuN1WfY.js";
|
|
11
11
|
import { Checkbox } from "./Checkbox-GJ8-srt4.js";
|
|
12
12
|
import { Badge } from "./Badge-Ch26CXoP.js";
|
|
13
13
|
import { Textarea } from "./internal/blocks/Textarea.js";
|
|
@@ -1317,4 +1317,4 @@ const UsageStats = ({ value, alert = false, children, className, ariaLabel, alig
|
|
|
1317
1317
|
//#endregion
|
|
1318
1318
|
export { AnswerSummary, CollapsibleStepHeader, InlineStepDetail, InlineStepLabel, Markdown, MessageBubble, PlanApproval, PlanRewritingIndicator, PromptInput, Question, QuestionBlock, SuggestedPrompt, ThinkingIndicator, ToolCallApproval, ToolCallChip, UsageStats, UsageStatsRing };
|
|
1319
1319
|
|
|
1320
|
-
//# sourceMappingURL=AIKit-
|
|
1320
|
+
//# sourceMappingURL=AIKit-DiS0CVOW.js.map
|