@keboola/design 14.0.0 → 15.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/AGENTS.md +11 -23
- package/CHANGELOG.md +58 -0
- package/COMPONENT-API.md +109 -115
- package/dist/{AIKit-BRSZ3nY7.js → AIKit-BR6jfsdI.js} +69 -35
- package/dist/AIKit-BR6jfsdI.js.map +1 -0
- package/dist/{Alert-CZ0dDsuk.js → Alert-Chz6KZ7e.js} +11 -20
- package/dist/Alert-Chz6KZ7e.js.map +1 -0
- package/dist/{AlertModal-BDle9ZVQ.js → AlertModal-DMsn62JJ.js} +16 -36
- package/dist/AlertModal-DMsn62JJ.js.map +1 -0
- package/dist/{AppShell-B03fj1j7.js → AppShell-C8V1KRr_.js} +2 -2
- package/dist/{AppShell-B03fj1j7.js.map → AppShell-C8V1KRr_.js.map} +1 -1
- package/dist/{AutoSaveTextarea-jiqNeeE4.js → AutoSaveTextarea-BbMhC5Aq.js} +3 -3
- package/dist/AutoSaveTextarea-BbMhC5Aq.js.map +1 -0
- package/dist/{Badge-Ba3epgcI.js → Badge-CqlOE5A2.js} +23 -12
- package/dist/Badge-CqlOE5A2.js.map +1 -0
- package/dist/{BrandEditor-CN2HJ_12.js → BrandEditor-D61pzWRq.js} +7 -9
- package/dist/BrandEditor-D61pzWRq.js.map +1 -0
- package/dist/{BrandLogo-BfITD0im.js → BrandLogo-DkESE19K.js} +2 -2
- package/dist/{BrandLogo-BfITD0im.js.map → BrandLogo-DkESE19K.js.map} +1 -1
- package/dist/{Breadcrumb-BnIlsoIH.js → Breadcrumb-DbqvDnYl.js} +4 -4
- package/dist/{Breadcrumb-BnIlsoIH.js.map → Breadcrumb-DbqvDnYl.js.map} +1 -1
- package/dist/{Button-D2JqBAq7.js → Button-BNkyYU8u.js} +9 -185
- package/dist/Button-BNkyYU8u.js.map +1 -0
- package/dist/{Card-Bpc_ZlL4.js → Card-DxjGiqH8.js} +11 -18
- package/dist/Card-DxjGiqH8.js.map +1 -0
- package/dist/{Checkbox-uFE8XLT_.js → Checkbox-CHDDJyAA.js} +20 -45
- package/dist/Checkbox-CHDDJyAA.js.map +1 -0
- package/dist/{Clipboard-D-9XOqy4.js → Clipboard-DlwVZS1P.js} +2 -2
- package/dist/{Clipboard-D-9XOqy4.js.map → Clipboard-DlwVZS1P.js.map} +1 -1
- package/dist/{ClipboardButton-DxvZG_H0.js → ClipboardButton-B1Hr_n_Z.js} +3 -3
- package/dist/{ClipboardButton-DxvZG_H0.js.map → ClipboardButton-B1Hr_n_Z.js.map} +1 -1
- package/dist/{CodeEditor-BfRSCKEs.js → CodeEditor-DVSPdfdo.js} +24 -31
- package/dist/CodeEditor-DVSPdfdo.js.map +1 -0
- package/dist/{ColorInput-CDKH8q_f.js → ColorInput-B_eZIu39.js} +5 -7
- package/dist/ColorInput-B_eZIu39.js.map +1 -0
- package/dist/{ColorModeSwitch-DR6J2U6M.js → ColorModeSwitch-BlrH8jAi.js} +3 -3
- package/dist/{ColorModeSwitch-DR6J2U6M.js.map → ColorModeSwitch-BlrH8jAi.js.map} +1 -1
- package/dist/{Combobox-CEesMe2M.js → Combobox-BLqX-Tdh.js} +16 -24
- package/dist/Combobox-BLqX-Tdh.js.map +1 -0
- package/dist/{Command-T3MLRaen.js → Command-DhXmqFLT.js} +46 -32
- package/dist/Command-DhXmqFLT.js.map +1 -0
- package/dist/{CopyField-CNbCHw9a.js → CopyField-D0Pg4Z0R.js} +2 -2
- package/dist/{CopyField-CNbCHw9a.js.map → CopyField-D0Pg4Z0R.js.map} +1 -1
- package/dist/{DateInput-ClK1lCxz.js → DateInput-duinbI9_.js} +5 -7
- package/dist/DateInput-duinbI9_.js.map +1 -0
- package/dist/{DatePicker-CgHAu9KX.js → DatePicker-Cg_aG_N4.js} +2 -2
- package/dist/{DatePicker-CgHAu9KX.js.map → DatePicker-Cg_aG_N4.js.map} +1 -1
- package/dist/{DateRangeInput-DtlAffS1.js → DateRangeInput-BYVHf9zo.js} +5 -7
- package/dist/DateRangeInput-BYVHf9zo.js.map +1 -0
- package/dist/{DateRangePicker-CXpXPMoh.js → DateRangePicker-m47cSV1r.js} +7 -12
- package/dist/DateRangePicker-m47cSV1r.js.map +1 -0
- package/dist/{DropdownMenu-B1gGvZoh.js → DropdownMenu-Bum99mVf.js} +35 -64
- package/dist/DropdownMenu-Bum99mVf.js.map +1 -0
- package/dist/{FieldItem-CYvJyjiI.js → FieldItem-BHUqgSO1.js} +3 -3
- package/dist/{FieldItem-CYvJyjiI.js.map → FieldItem-BHUqgSO1.js.map} +1 -1
- package/dist/{FileUpload-D6vPG3WB.js → FileUpload-BYFONpEl.js} +3 -3
- package/dist/FileUpload-BYFONpEl.js.map +1 -0
- package/dist/{Form-CD55zJiy.js → Form-Dqbt_tIs.js} +8 -8
- package/dist/{Form-CD55zJiy.js.map → Form-Dqbt_tIs.js.map} +1 -1
- package/dist/{FormGroup-DiYFdEhH.js → FormGroup-V5kIgQRN.js} +3 -3
- package/dist/{FormGroup-DiYFdEhH.js.map → FormGroup-V5kIgQRN.js.map} +1 -1
- package/dist/{FullScreenModal-CUuAakh3.js → FullScreenModal-DAvvlGOz.js} +2 -5
- package/dist/FullScreenModal-DAvvlGOz.js.map +1 -0
- package/dist/HoverCard-Cf9iYyaW.js +26 -0
- package/dist/HoverCard-Cf9iYyaW.js.map +1 -0
- package/dist/{InlineEdit-D5RdunZo.js → InlineEdit-D4P0SvCB.js} +5 -9
- package/dist/InlineEdit-D4P0SvCB.js.map +1 -0
- package/dist/{InputGroup-Dm014ruw.js → InputGroup-CZv_7QlM.js} +39 -146
- package/dist/InputGroup-CZv_7QlM.js.map +1 -0
- package/dist/{Kbd-3YM7NQO4.js → Kbd-CflKthfu.js} +5 -14
- package/dist/Kbd-CflKthfu.js.map +1 -0
- package/dist/{MermaidDiagram-CeiOkI60.js → MermaidDiagram-2-EuNu1i.js} +4 -4
- package/dist/{MermaidDiagram-CeiOkI60.js.map → MermaidDiagram-2-EuNu1i.js.map} +1 -1
- package/dist/{Modal-DMZRswk4.js → Modal-DwuvuiUx.js} +17 -36
- package/dist/Modal-DwuvuiUx.js.map +1 -0
- package/dist/{ModalTitle-CTECVgL8.js → ModalTitle-RGWwIMU6.js} +3 -3
- package/dist/ModalTitle-RGWwIMU6.js.map +1 -0
- package/dist/{MultiActionButtonGroup-CEv_txvz.js → MultiActionButtonGroup-Dzig87s1.js} +3 -3
- package/dist/{MultiActionButtonGroup-CEv_txvz.js.map → MultiActionButtonGroup-Dzig87s1.js.map} +1 -1
- package/dist/{Navbar-CtVYcRFn.js → Navbar-DHUS7XiU.js} +2 -2
- package/dist/{Navbar-CtVYcRFn.js.map → Navbar-DHUS7XiU.js.map} +1 -1
- package/dist/OtpInput-CY8yCaJk.js.map +1 -1
- package/dist/{PageToolbar-B_e7HGva.js → PageToolbar-LKP6PiP_.js} +4 -4
- package/dist/{PageToolbar-B_e7HGva.js.map → PageToolbar-LKP6PiP_.js.map} +1 -1
- package/dist/{Pagination-DDp6PRqf.js → Pagination-D27x5KmH.js} +2 -2
- package/dist/{Pagination-DDp6PRqf.js.map → Pagination-D27x5KmH.js.map} +1 -1
- package/dist/{Popconfirm-BgV6a0sl.js → Popconfirm-p72DiagN.js} +3 -3
- package/dist/{Popconfirm-BgV6a0sl.js.map → Popconfirm-p72DiagN.js.map} +1 -1
- package/dist/{Popover-BU7nGOv-.js → Popover-DnBw5Uay.js} +25 -38
- package/dist/Popover-DnBw5Uay.js.map +1 -0
- package/dist/{RadioGroup-C8EC3fqO.js → RadioGroup-B0TwHjBb.js} +9 -13
- package/dist/RadioGroup-B0TwHjBb.js.map +1 -0
- package/dist/{Search-aaUMI4ix.js → Search-vyZwGKMU.js} +3 -3
- package/dist/{Search-aaUMI4ix.js.map → Search-vyZwGKMU.js.map} +1 -1
- package/dist/{SearchInput-Dxi2GK4n.js → SearchInput-DyYXyw3u.js} +4 -6
- package/dist/SearchInput-DyYXyw3u.js.map +1 -0
- package/dist/{SectionNav-BnHOMLtE.js → SectionNav-6hcIpZLO.js} +5 -5
- package/dist/{SectionNav-BnHOMLtE.js.map → SectionNav-6hcIpZLO.js.map} +1 -1
- package/dist/{Select-CjQgU_6K.js → Select-C6zKeip5.js} +11 -25
- package/dist/Select-C6zKeip5.js.map +1 -0
- package/dist/{Sheet-utw4_rUa.js → Sheet-DKG20J7W.js} +13 -16
- package/dist/Sheet-DKG20J7W.js.map +1 -0
- package/dist/{Sidebar-BAmux2Uj.js → Sidebar-BlYqasnX.js} +11 -11
- package/dist/Sidebar-BlYqasnX.js.map +1 -0
- package/dist/{Slider-DbzzSDRV.js → Slider-DrcsM8_G.js} +4 -4
- package/dist/Slider-DrcsM8_G.js.map +1 -0
- package/dist/{Stepper-BBPembeK.js → Stepper-CQrUPVFL.js} +2 -2
- package/dist/Stepper-CQrUPVFL.js.map +1 -0
- package/dist/Switch-DccpSpzC.js +66 -0
- package/dist/Switch-DccpSpzC.js.map +1 -0
- package/dist/{Tabs-C0uvkPHc.js → Tabs-Ck4uWf8U.js} +2 -2
- package/dist/{Tabs-C0uvkPHc.js.map → Tabs-Ck4uWf8U.js.map} +1 -1
- package/dist/{TextInput-K2DSDs5O.js → TextInput-CR0_USaY.js} +4 -7
- package/dist/TextInput-CR0_USaY.js.map +1 -0
- package/dist/{ThemeProvider-C8yaKlM1.js → ThemeProvider-BTK7AL-T.js} +21 -8
- package/dist/ThemeProvider-BTK7AL-T.js.map +1 -0
- package/dist/{TimePicker-DyyV3nw8.js → TimePicker-lk3NGqeK.js} +2 -2
- package/dist/{TimePicker-DyyV3nw8.js.map → TimePicker-lk3NGqeK.js.map} +1 -1
- package/dist/{Toast-BGnUL4jV.js → Toast-937n7n8i.js} +2 -2
- package/dist/{Toast-BGnUL4jV.js.map → Toast-937n7n8i.js.map} +1 -1
- package/dist/{ToggleAllTooltip-Dlmq-yqS.js → ToggleAllTooltip-DEjbWFoj.js} +2 -2
- package/dist/{ToggleAllTooltip-Dlmq-yqS.js.map → ToggleAllTooltip-DEjbWFoj.js.map} +1 -1
- package/dist/Workbench-CxgNCs3I.js.map +1 -1
- package/dist/{ZoomableSvg-Dh1OstPN.js → ZoomableSvg-CxXKanUR.js} +5 -5
- package/dist/{ZoomableSvg-Dh1OstPN.js.map → ZoomableSvg-CxXKanUR.js.map} +1 -1
- package/dist/editors.js +4 -4
- package/dist/flint.js +4 -4
- package/dist/index.d.ts +113 -125
- package/dist/index.js +61 -61
- package/dist/internal/blocks/AIKit.js +1 -1
- package/dist/internal/blocks/AppShell.js +1 -1
- package/dist/internal/blocks/AuthLayout.js +1 -1
- package/dist/internal/blocks/AutoSaveTextarea.js +1 -1
- package/dist/internal/blocks/BrandEditor.js +1 -1
- package/dist/internal/blocks/ChartPanel.js +1 -1
- package/dist/internal/blocks/ChipEditor.js +5 -9
- package/dist/internal/blocks/ChipEditor.js.map +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/CopyField.js +1 -1
- package/dist/internal/blocks/DateInput.js +1 -1
- package/dist/internal/blocks/DateRangeInput.js +1 -1
- package/dist/internal/blocks/EmptyConfigurationActionCard.js +1 -1
- package/dist/internal/blocks/ErrorState.js +18 -29
- package/dist/internal/blocks/ErrorState.js.map +1 -1
- package/dist/internal/blocks/ExportMenu.js +3 -3
- package/dist/internal/blocks/ExportMenu.js.map +1 -1
- package/dist/internal/blocks/Form/connectors/ComboboxField.js +2 -2
- package/dist/internal/blocks/Form/connectors/MultiComboboxField.js +1 -1
- package/dist/internal/blocks/Form.js +1 -1
- package/dist/internal/blocks/FormGroup.js +1 -1
- package/dist/internal/blocks/InlineEdit.js +1 -1
- package/dist/internal/blocks/MultiActionButtonGroup.js +1 -1
- package/dist/internal/blocks/MultiCombobox.js +5 -9
- package/dist/internal/blocks/MultiCombobox.js.map +1 -1
- package/dist/internal/blocks/NumberInput.js +2 -4
- package/dist/internal/blocks/NumberInput.js.map +1 -1
- package/dist/internal/blocks/PageToolbar.js +1 -1
- package/dist/internal/blocks/PasswordInput.js +3 -5
- package/dist/internal/blocks/PasswordInput.js.map +1 -1
- package/dist/internal/blocks/SearchInput.js +1 -1
- package/dist/internal/blocks/SearchInputWithNavigation.js +6 -7
- package/dist/internal/blocks/SearchInputWithNavigation.js.map +1 -1
- package/dist/internal/blocks/SectionNav.js +1 -1
- package/dist/internal/blocks/SplitButton.js +2 -2
- package/dist/internal/blocks/StatCard.js +1 -1
- package/dist/internal/blocks/TextInput.js +1 -1
- package/dist/internal/blocks/Textarea.js +3 -8
- package/dist/internal/blocks/Textarea.js.map +1 -1
- package/dist/internal/blocks/TimeInput.js +4 -6
- package/dist/internal/blocks/TimeInput.js.map +1 -1
- package/dist/internal/components/Alert.js +1 -1
- package/dist/internal/components/AlertModal.js +1 -1
- package/dist/internal/components/Avatar.js +1 -1
- package/dist/internal/components/Badge.js +1 -1
- package/dist/internal/components/BrandLogo.js +1 -1
- package/dist/internal/components/Breadcrumb.js +1 -1
- package/dist/internal/components/Button.js +2 -2
- package/dist/internal/components/ButtonGroup.js +1 -1
- package/dist/internal/components/ButtonGroup.js.map +1 -1
- package/dist/internal/components/Card.js +1 -1
- package/dist/internal/components/Checkbox.js +1 -1
- package/dist/internal/components/Clipboard.js +1 -1
- package/dist/internal/components/CollapsiblePanel.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/HoverCard.js +1 -1
- package/dist/internal/components/InputGroup.js +1 -1
- package/dist/internal/components/Kbd.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/RadioGroup.js +1 -1
- package/dist/internal/components/Search.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/Skeleton/Skeleton.js +1 -1
- package/dist/internal/components/Skeleton/Skeleton.js.map +1 -1
- package/dist/internal/components/Slider.js +1 -1
- package/dist/internal/components/Stepper.js +1 -1
- package/dist/internal/components/Switch.js +1 -1
- package/dist/internal/components/Tabs.js +1 -1
- package/dist/internal/components/ThemeProvider.js +3 -4
- package/dist/internal/components/TimePicker.js +1 -1
- package/dist/internal/components/Toast.js +2 -2
- package/dist/internal/components/Toggle.js +13 -3
- package/dist/internal/components/Toggle.js.map +1 -1
- package/dist/internal/components/Tooltip.js +1 -1
- package/dist/internal/components/Truncated.js +1 -1
- package/dist/internal/components/ZoomableSvg.js +1 -1
- package/dist/internal/hooks/useTimeout.js +19 -0
- package/dist/internal/hooks/useTimeout.js.map +1 -0
- package/dist/internal/utils.js +1 -1
- package/dist/markdown-editor.js +16 -18
- package/dist/markdown-editor.js.map +1 -1
- package/dist/mermaid.js +1 -1
- package/dist/rjsf.js +33 -42
- package/dist/rjsf.js.map +1 -1
- package/dist/styles-DxazJ8Mz.js +81 -0
- package/dist/styles-DxazJ8Mz.js.map +1 -0
- package/dist/styles-T8xwr0sR.js +73 -0
- package/dist/styles-T8xwr0sR.js.map +1 -0
- package/dist/styles.css +1 -1
- package/dist/testing.d.ts +0 -2
- package/dist/testing.js +3 -10
- package/dist/testing.js.map +1 -1
- package/dist/{useColorSchemeState-Cw4MCXUs.js → themeScopeContext-CEVXbYvZ.js} +43 -15
- package/dist/themeScopeContext-CEVXbYvZ.js.map +1 -0
- package/dist/{useThemeAttributes-B199Regy.js → themeTokens-DCeb62ap.js} +22 -4
- package/dist/themeTokens-DCeb62ap.js.map +1 -0
- package/dist/{toast-D6Z6MOB5.js → toast-Y3cTMBW8.js} +7 -10
- package/dist/toast-Y3cTMBW8.js.map +1 -0
- package/dist/{utils-LQ4jJA-9.js → utils-DwC9u0tM.js} +26 -52
- package/dist/utils-DwC9u0tM.js.map +1 -0
- package/dist/vega.js +2 -2
- package/dist/{vegaTheme-BrmVoPEz.js → vegaTheme-ISwGXvof.js} +2 -2
- package/dist/{vegaTheme-BrmVoPEz.js.map → vegaTheme-ISwGXvof.js.map} +1 -1
- package/dist/{vegaTokens-Ce07C0DH.js → vegaTokens-DCkvpIVE.js} +2 -2
- package/dist/{vegaTokens-Ce07C0DH.js.map → vegaTokens-DCkvpIVE.js.map} +1 -1
- package/package.json +2 -2
- package/src/styles.css +0 -35
- package/src/theme.css +46 -0
- package/dist/AIKit-BRSZ3nY7.js.map +0 -1
- package/dist/Alert-CZ0dDsuk.js.map +0 -1
- package/dist/AlertModal-BDle9ZVQ.js.map +0 -1
- package/dist/AutoSaveTextarea-jiqNeeE4.js.map +0 -1
- package/dist/Badge-Ba3epgcI.js.map +0 -1
- package/dist/BrandEditor-CN2HJ_12.js.map +0 -1
- package/dist/Button-D2JqBAq7.js.map +0 -1
- package/dist/Card-Bpc_ZlL4.js.map +0 -1
- package/dist/Checkbox-uFE8XLT_.js.map +0 -1
- package/dist/CodeEditor-BfRSCKEs.js.map +0 -1
- package/dist/ColorInput-CDKH8q_f.js.map +0 -1
- package/dist/Combobox-CEesMe2M.js.map +0 -1
- package/dist/Command-T3MLRaen.js.map +0 -1
- package/dist/DateInput-ClK1lCxz.js.map +0 -1
- package/dist/DateRangeInput-DtlAffS1.js.map +0 -1
- package/dist/DateRangePicker-CXpXPMoh.js.map +0 -1
- package/dist/DropdownMenu-B1gGvZoh.js.map +0 -1
- package/dist/FileUpload-D6vPG3WB.js.map +0 -1
- package/dist/FullScreenModal-CUuAakh3.js.map +0 -1
- package/dist/HoverCard-BBdPYqEf.js +0 -31
- package/dist/HoverCard-BBdPYqEf.js.map +0 -1
- package/dist/InlineEdit-D5RdunZo.js.map +0 -1
- package/dist/InputGroup-Dm014ruw.js.map +0 -1
- package/dist/Kbd-3YM7NQO4.js.map +0 -1
- package/dist/Modal-DMZRswk4.js.map +0 -1
- package/dist/ModalTitle-CTECVgL8.js.map +0 -1
- package/dist/Popover-BU7nGOv-.js.map +0 -1
- package/dist/RadioGroup-C8EC3fqO.js.map +0 -1
- package/dist/SearchInput-Dxi2GK4n.js.map +0 -1
- package/dist/Select-CjQgU_6K.js.map +0 -1
- package/dist/Sheet-utw4_rUa.js.map +0 -1
- package/dist/Sidebar-BAmux2Uj.js.map +0 -1
- package/dist/Slider-DbzzSDRV.js.map +0 -1
- package/dist/Stepper-BBPembeK.js.map +0 -1
- package/dist/Switch-Dw4tvQls.js +0 -201
- package/dist/Switch-Dw4tvQls.js.map +0 -1
- package/dist/TextInput-K2DSDs5O.js.map +0 -1
- package/dist/ThemeProvider-C8yaKlM1.js.map +0 -1
- package/dist/context-U293r3v-.js +0 -29
- package/dist/context-U293r3v-.js.map +0 -1
- package/dist/defaults-i_xG2F_1.js +0 -32
- package/dist/defaults-i_xG2F_1.js.map +0 -1
- package/dist/styles-BDA5rQz3.js +0 -127
- package/dist/styles-BDA5rQz3.js.map +0 -1
- package/dist/styles-YQdM7G8c.js +0 -159
- package/dist/styles-YQdM7G8c.js.map +0 -1
- package/dist/themeTokens-l2Fsfcs7.js +0 -22
- package/dist/themeTokens-l2Fsfcs7.js.map +0 -1
- package/dist/toast-D6Z6MOB5.js.map +0 -1
- package/dist/useColorSchemeState-Cw4MCXUs.js.map +0 -1
- package/dist/useThemeAttributes-B199Regy.js.map +0 -1
- package/dist/utils-LQ4jJA-9.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,88 +1,86 @@
|
|
|
1
1
|
import { cn } from "./classNames-DcGnTh2N.js";
|
|
2
|
-
import { HINT_UNDERLINE_CLASS_NAME, Tooltip, TooltipProvider, copyToClipboard, isMac } from "./utils-
|
|
3
|
-
import { DEFAULT_BRAND_ID, DEFAULT_COLOR_SCHEME } from "./defaults-i_xG2F_1.js";
|
|
4
|
-
import { ArgoDesignContext, useArgoDesign, useTheme } from "./context-U293r3v-.js";
|
|
2
|
+
import { HINT_UNDERLINE_CLASS_NAME, Tooltip, TooltipProvider, copyToClipboard, isMac } from "./utils-DwC9u0tM.js";
|
|
5
3
|
import { findLiteralMatches, hasLiteralMatch } from "./findLiteralMatches-DgGLzyG0.js";
|
|
6
4
|
import { mergeRefs } from "./internal/utils/mergeRefs.js";
|
|
7
|
-
import { Button, ButtonInline,
|
|
5
|
+
import { Button, ButtonInline, buttonVariants } from "./Button-BNkyYU8u.js";
|
|
8
6
|
import { ButtonGroup } from "./internal/components/ButtonGroup.js";
|
|
9
|
-
import { DropdownMenu } from "./DropdownMenu-
|
|
7
|
+
import { DropdownMenu } from "./DropdownMenu-Bum99mVf.js";
|
|
10
8
|
import { ScrollArea, ScrollBar } from "./internal/components/ScrollArea.js";
|
|
11
9
|
import { SplitButton } from "./internal/blocks/SplitButton.js";
|
|
12
|
-
import { MultiActionButtonGroup } from "./MultiActionButtonGroup-
|
|
10
|
+
import { MultiActionButtonGroup } from "./MultiActionButtonGroup-Dzig87s1.js";
|
|
13
11
|
import { Toggle } from "./internal/components/Toggle.js";
|
|
14
12
|
import { ToggleGroup } from "./ToggleGroup-BOz1yyz6.js";
|
|
15
|
-
import { Clipboard } from "./Clipboard-
|
|
16
|
-
import { ClipboardButton, ClipboardInline } from "./ClipboardButton-
|
|
13
|
+
import { Clipboard } from "./Clipboard-DlwVZS1P.js";
|
|
14
|
+
import { ClipboardButton, ClipboardInline } from "./ClipboardButton-B1Hr_n_Z.js";
|
|
17
15
|
import { ExportMenu } from "./internal/blocks/ExportMenu.js";
|
|
18
|
-
import { CopyField } from "./CopyField-
|
|
16
|
+
import { CopyField } from "./CopyField-D0Pg4Z0R.js";
|
|
19
17
|
import { Label } from "./internal/components/Label.js";
|
|
20
18
|
import { MicrosoftButton } from "./internal/blocks/MicrosoftButton.js";
|
|
21
19
|
import { FacebookButton } from "./internal/blocks/FacebookButton.js";
|
|
22
20
|
import { GoogleButton } from "./internal/blocks/GoogleButton.js";
|
|
23
21
|
import { Link } from "./internal/components/Link.js";
|
|
24
|
-
import { AlertModal } from "./AlertModal-
|
|
25
|
-
import { Modal } from "./Modal-
|
|
26
|
-
import {
|
|
27
|
-
import { FullScreenModal, FullScreenModalBody, FullScreenModalHeader } from "./FullScreenModal-CUuAakh3.js";
|
|
22
|
+
import { AlertModal } from "./AlertModal-DMsn62JJ.js";
|
|
23
|
+
import { Modal } from "./Modal-DwuvuiUx.js";
|
|
24
|
+
import { FullScreenModal, FullScreenModalBody, FullScreenModalHeader } from "./FullScreenModal-DAvvlGOz.js";
|
|
28
25
|
import { Truncated } from "./internal/components/Truncated.js";
|
|
29
|
-
import { Sheet } from "./Sheet-
|
|
26
|
+
import { Sheet } from "./Sheet-DKG20J7W.js";
|
|
30
27
|
import { useStableCallback } from "./internal/hooks/useStableCallback.js";
|
|
31
|
-
import { Popover } from "./Popover-
|
|
32
|
-
import { Popconfirm } from "./Popconfirm-
|
|
33
|
-
import { HoverCard } from "./HoverCard-
|
|
34
|
-
import { Command, CommandGroup, CommandInput, CommandItem, CommandList, defaultFilter, useCommandState } from "./Command-
|
|
35
|
-
import { InputGroup } from "./InputGroup-
|
|
36
|
-
import { TextInput } from "./TextInput-
|
|
28
|
+
import { Popover } from "./Popover-DnBw5Uay.js";
|
|
29
|
+
import { Popconfirm } from "./Popconfirm-p72DiagN.js";
|
|
30
|
+
import { HoverCard } from "./HoverCard-Cf9iYyaW.js";
|
|
31
|
+
import { Command, CommandGroup, CommandInput, CommandItem, CommandList, defaultFilter, useCommandState } from "./Command-DhXmqFLT.js";
|
|
32
|
+
import { InputGroup } from "./InputGroup-CZv_7QlM.js";
|
|
33
|
+
import { TextInput } from "./TextInput-CR0_USaY.js";
|
|
37
34
|
import { SpotlightBackdrop, useTargetRect } from "./internal/components/SpotlightBackdrop.js";
|
|
38
35
|
import { Calendar } from "./Calendar-BnKi1kPu.js";
|
|
39
|
-
import { DatePicker } from "./DatePicker-
|
|
40
|
-
import { TimePicker } from "./TimePicker-
|
|
41
|
-
import { DateRangePicker } from "./DateRangePicker-
|
|
42
|
-
import { Switch } from "./Switch-
|
|
43
|
-
import { RadioGroup } from "./RadioGroup-
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
36
|
+
import { DatePicker } from "./DatePicker-Cg_aG_N4.js";
|
|
37
|
+
import { TimePicker } from "./TimePicker-lk3NGqeK.js";
|
|
38
|
+
import { DateRangePicker } from "./DateRangePicker-m47cSV1r.js";
|
|
39
|
+
import { Switch } from "./Switch-DccpSpzC.js";
|
|
40
|
+
import { RadioGroup } from "./RadioGroup-B0TwHjBb.js";
|
|
41
|
+
import { Separator } from "./internal/components/Separator.js";
|
|
42
|
+
import { Slider } from "./Slider-DrcsM8_G.js";
|
|
43
|
+
import { Search, SearchForm } from "./Search-vyZwGKMU.js";
|
|
46
44
|
import { forwardAccessibleName } from "./internal/utils/accessibleName.js";
|
|
47
|
-
import { Select } from "./Select-
|
|
48
|
-
import { Checkbox } from "./Checkbox-
|
|
49
|
-
import { BLANK_VALUES, Combobox, filterByWords, matchByWords, namedLabel, withBlankValues } from "./Combobox-
|
|
50
|
-
import { Badge } from "./Badge-
|
|
45
|
+
import { Select } from "./Select-C6zKeip5.js";
|
|
46
|
+
import { Checkbox } from "./Checkbox-CHDDJyAA.js";
|
|
47
|
+
import { BLANK_VALUES, Combobox, filterByWords, matchByWords, namedLabel, withBlankValues } from "./Combobox-BLqX-Tdh.js";
|
|
48
|
+
import { Badge } from "./Badge-CqlOE5A2.js";
|
|
51
49
|
import { MultiCombobox } from "./internal/blocks/MultiCombobox.js";
|
|
52
|
-
import { FormGroup } from "./FormGroup-
|
|
53
|
-
import { ColorInput } from "./ColorInput-
|
|
50
|
+
import { FormGroup } from "./FormGroup-V5kIgQRN.js";
|
|
51
|
+
import { ColorInput } from "./ColorInput-B_eZIu39.js";
|
|
54
52
|
import { HelpBlock } from "./internal/components/HelpBlock.js";
|
|
55
53
|
import { NumberInput } from "./internal/blocks/NumberInput.js";
|
|
56
54
|
import { Textarea } from "./internal/blocks/Textarea.js";
|
|
57
55
|
import { ComboboxField } from "./internal/blocks/Form/connectors/ComboboxField.js";
|
|
58
56
|
import { MultiComboboxField } from "./internal/blocks/Form/connectors/MultiComboboxField.js";
|
|
59
57
|
import { ChipEditor } from "./internal/blocks/ChipEditor.js";
|
|
60
|
-
import { AutoSaveTextarea } from "./AutoSaveTextarea-
|
|
61
|
-
import { Kbd, kbdVariants, keys } from "./Kbd-
|
|
58
|
+
import { AutoSaveTextarea } from "./AutoSaveTextarea-BbMhC5Aq.js";
|
|
59
|
+
import { Kbd, kbdVariants, keys } from "./Kbd-CflKthfu.js";
|
|
62
60
|
import { useAutosizeInput } from "./internal/hooks/useAutosizeInput.js";
|
|
63
|
-
import { InlineEdit } from "./InlineEdit-
|
|
64
|
-
import { ColorModeSwitch } from "./ColorModeSwitch-
|
|
65
|
-
import { DateInput } from "./DateInput-
|
|
61
|
+
import { InlineEdit } from "./InlineEdit-D4P0SvCB.js";
|
|
62
|
+
import { ColorModeSwitch } from "./ColorModeSwitch-BlrH8jAi.js";
|
|
63
|
+
import { DateInput } from "./DateInput-duinbI9_.js";
|
|
66
64
|
import { PasswordInput } from "./internal/blocks/PasswordInput.js";
|
|
67
65
|
import { TimeInput } from "./internal/blocks/TimeInput.js";
|
|
68
|
-
import { DateRangeInput } from "./DateRangeInput-
|
|
66
|
+
import { DateRangeInput } from "./DateRangeInput-BYVHf9zo.js";
|
|
69
67
|
import { OtpInput, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS } from "./OtpInput-CY8yCaJk.js";
|
|
70
|
-
import { SearchInput } from "./SearchInput-
|
|
68
|
+
import { SearchInput } from "./SearchInput-DyYXyw3u.js";
|
|
71
69
|
import { SearchInputWithNavigation } from "./internal/blocks/SearchInputWithNavigation.js";
|
|
72
|
-
import { FileUpload, useFileDropTarget, useFileUploadRejections } from "./FileUpload-
|
|
73
|
-
import { ANSWER_SOURCES_VISIBLE, AnswerActions, AnswerSources, AnswerSummary, AttachmentChip, CONTEXT_CHIP_EXPANDABLE_LENGTH, ChatInlineIcon, ChatNotice, CollapsibleStepHeader, ContextChip, DIAGRAM_LANGUAGES, FileDownloadChip, FileGallery, InlineStepDetail, InlineStepGroup, InlineStepLabel, JumpToLatest, Markdown, MarkdownTable, MessageBubble, ModeChip, PROMPT_INPUT_CONTAINER, PlanApproval, PlanRewritingIndicator, PromptInput, Question, QuestionBlock, SourceChip, SuggestedPrompt, ThinkingIndicator, ToolCallApproval, ToolCallChip, ToolCallStatusHeader, UsageBar, UsageStats, UsageStatsRing, clampPercentage, findMentionToken, findSlashToken, formatPercentage, getChatInlineIconName, splitSealedBlocks, withholdOpenTail } from "./AIKit-
|
|
70
|
+
import { FileUpload, useFileDropTarget, useFileUploadRejections } from "./FileUpload-BYFONpEl.js";
|
|
71
|
+
import { ANSWER_SOURCES_VISIBLE, AnswerActions, AnswerSources, AnswerSummary, AttachmentChip, CONTEXT_CHIP_EXPANDABLE_LENGTH, ChatInlineIcon, ChatNotice, CollapsibleStepHeader, ContextChip, DIAGRAM_LANGUAGES, FileDownloadChip, FileGallery, InlineStepDetail, InlineStepGroup, InlineStepLabel, JumpToLatest, Markdown, MarkdownTable, MessageBubble, ModeChip, PROMPT_INPUT_CONTAINER, PlanApproval, PlanRewritingIndicator, PromptInput, Question, QuestionBlock, SourceChip, SuggestedPrompt, ThinkingIndicator, ToolCallApproval, ToolCallChip, ToolCallStatusHeader, UsageBar, UsageStats, UsageStatsRing, clampPercentage, findMentionToken, findSlashToken, formatPercentage, getChatInlineIconName, splitSealedBlocks, withholdOpenTail } from "./AIKit-BR6jfsdI.js";
|
|
74
72
|
import { Collapsible } from "./Collapsible-DD4xTL75.js";
|
|
75
|
-
import { Alert } from "./Alert-
|
|
73
|
+
import { Alert } from "./Alert-Chz6KZ7e.js";
|
|
76
74
|
import { Table, tableAriaSort } from "./Table-CilEvpMq.js";
|
|
77
75
|
import { Skeleton } from "./internal/components/Skeleton/Skeleton.js";
|
|
78
76
|
import { DiagramSkeleton } from "./internal/blocks/DiagramShared/DiagramSkeleton.js";
|
|
79
|
-
import { ZoomableSvg, svgToPngBlob, toSvgFileContent } from "./ZoomableSvg-
|
|
77
|
+
import { ZoomableSvg, svgToPngBlob, toSvgFileContent } from "./ZoomableSvg-CxXKanUR.js";
|
|
80
78
|
import { Progress } from "./internal/components/Progress.js";
|
|
81
79
|
import { MAX_DIGIT_HOTKEY, digitFromKeyCode, useAltDigitHotkey } from "./internal/hooks/useAltDigitHotkey.js";
|
|
82
|
-
import { toast } from "./toast-
|
|
83
|
-
import { Toaster, useNotification } from "./Toast-
|
|
80
|
+
import { toast } from "./toast-Y3cTMBW8.js";
|
|
81
|
+
import { Toaster, useNotification } from "./Toast-937n7n8i.js";
|
|
84
82
|
import { EmptySearchContent } from "./internal/components/EmptySearchContent.js";
|
|
85
|
-
import { Card } from "./Card-
|
|
83
|
+
import { Card } from "./Card-DxjGiqH8.js";
|
|
86
84
|
import { EmptyConfigurationActionCard } from "./internal/blocks/EmptyConfigurationActionCard.js";
|
|
87
85
|
import { EmptyState } from "./internal/blocks/EmptyState.js";
|
|
88
86
|
import { ErrorState } from "./internal/blocks/ErrorState.js";
|
|
@@ -90,26 +88,27 @@ import { SkeletonList } from "./internal/components/Skeleton/SkeletonList.js";
|
|
|
90
88
|
import { DotsLoader } from "./internal/components/DotsLoader.js";
|
|
91
89
|
import { CollapsiblePanel } from "./internal/components/CollapsiblePanel.js";
|
|
92
90
|
import { PanelWithDetails } from "./internal/components/PanelWithDetails.js";
|
|
93
|
-
import { ThemeProvider, ThemeScope, agnes, brandSchema, exampleCustomer, harbor, keboola,
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
91
|
+
import { ThemeProvider, ThemeScope, agnes, brandSchema, exampleCustomer, harbor, kbcUi, keboola, useTheme, useThemeScopeContainer } from "./ThemeProvider-BTK7AL-T.js";
|
|
92
|
+
import { DEFAULT_BRAND_ID, DEFAULT_COLOR_SCHEME } from "./themeScopeContext-CEVXbYvZ.js";
|
|
93
|
+
import { AppShell, appShellSlotSelector } from "./AppShell-C8V1KRr_.js";
|
|
94
|
+
import { BrandLogo } from "./BrandLogo-DkESE19K.js";
|
|
96
95
|
import { AuthLayout } from "./internal/blocks/AuthLayout.js";
|
|
97
96
|
import { PageLayout } from "./PageLayout-C9aXTpqV.js";
|
|
98
97
|
import { PageHeader } from "./PageHeader-CL1A6jFM.js";
|
|
99
|
-
import { PageToolbar } from "./PageToolbar-
|
|
100
|
-
import { SectionNav } from "./SectionNav-
|
|
98
|
+
import { PageToolbar } from "./PageToolbar-LKP6PiP_.js";
|
|
99
|
+
import { SectionNav } from "./SectionNav-6hcIpZLO.js";
|
|
101
100
|
import { ResizableHandle, ResizablePanel, ResizablePanelGroup, useDefaultLayout } from "./Resizable-D8zs0kcq.js";
|
|
102
|
-
import { Sidebar, SidebarProvider, useOptionalSidebar, useSidebar } from "./Sidebar-
|
|
101
|
+
import { Sidebar, SidebarProvider, useOptionalSidebar, useSidebar } from "./Sidebar-BlYqasnX.js";
|
|
103
102
|
import { useScrollbarPosition } from "./internal/hooks/useScrollbarPosition.js";
|
|
104
|
-
import { Navbar } from "./Navbar-
|
|
103
|
+
import { Navbar } from "./Navbar-DHUS7XiU.js";
|
|
105
104
|
import { DEFAULT_WORKBENCH_BAR_HEIGHT_IN_REM, DEFAULT_WORKBENCH_PANEL_HEIGHT_IN_PX, MIN_WORKBENCH_PANEL_HEIGHT_IN_PX, Workbench, useWorkbench } from "./Workbench-CxgNCs3I.js";
|
|
106
|
-
import { Breadcrumb } from "./Breadcrumb-
|
|
107
|
-
import { Tabs, TabsContent } from "./Tabs-
|
|
108
|
-
import { Stepper } from "./Stepper-
|
|
105
|
+
import { Breadcrumb } from "./Breadcrumb-DbqvDnYl.js";
|
|
106
|
+
import { Tabs, TabsContent } from "./Tabs-Ck4uWf8U.js";
|
|
107
|
+
import { Stepper } from "./Stepper-CQrUPVFL.js";
|
|
109
108
|
import { Timeline } from "./Timeline-DUXgByUE.js";
|
|
110
109
|
import { Avatar } from "./internal/components/Avatar.js";
|
|
111
110
|
import { MarkedText } from "./MarkedText-DlmlJO0u.js";
|
|
112
|
-
import { Pagination } from "./Pagination-
|
|
111
|
+
import { Pagination } from "./Pagination-D27x5KmH.js";
|
|
113
112
|
import { DiffType, DiffView, computeDiffRows, computeLineInformation } from "./DiffView-Dy4z-n-1.js";
|
|
114
113
|
import { PaneHeader } from "./internal/components/MergeEditor/PaneHeader.js";
|
|
115
114
|
import { ConflictStatusIndicator } from "./internal/components/MergeEditor/ConflictStatus/ConflictStatusIndicator.js";
|
|
@@ -117,7 +116,8 @@ import { useMergeDiff } from "./useMergeDiff-CvowEXJ1.js";
|
|
|
117
116
|
import { DashboardHero } from "./internal/blocks/DashboardHero.js";
|
|
118
117
|
import { StatCard, StatCardGrid } from "./internal/blocks/StatCard.js";
|
|
119
118
|
import { ChartPanel } from "./internal/blocks/ChartPanel.js";
|
|
120
|
-
import { setServerFieldErrors, setSubmitError, useAppForm, withForm } from "./Form-
|
|
121
|
-
import {
|
|
119
|
+
import { setServerFieldErrors, setSubmitError, useAppForm, withForm } from "./Form-Dqbt_tIs.js";
|
|
120
|
+
import { useTimeout } from "./internal/hooks/useTimeout.js";
|
|
121
|
+
import { BrandEditor, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, channelsToHex, contrastRatio, hexToChannels, wcagLevel } from "./BrandEditor-D61pzWRq.js";
|
|
122
122
|
import { Slot } from "@radix-ui/react-slot";
|
|
123
|
-
export { ANSWER_SOURCES_VISIBLE, Alert, AlertModal, AnswerActions, AnswerSources, AnswerSummary, AppShell,
|
|
123
|
+
export { ANSWER_SOURCES_VISIBLE, Alert, AlertModal, AnswerActions, AnswerSources, AnswerSummary, AppShell, AttachmentChip, AuthLayout, AutoSaveTextarea, Avatar, BLANK_VALUES, Badge, BrandEditor, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, CONTEXT_CHIP_EXPANDABLE_LENGTH, Calendar, Card, ChartPanel, ChatInlineIcon, ChatNotice, Checkbox, ChipEditor, Clipboard, ClipboardButton, ClipboardInline, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, Combobox, ComboboxField, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, ContextChip, CopyField, DEFAULT_COLOR_SCHEME, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DEFAULT_WORKBENCH_BAR_HEIGHT_IN_REM, DEFAULT_WORKBENCH_PANEL_HEIGHT_IN_PX, DIAGRAM_LANGUAGES, DashboardHero, DateInput, DatePicker, DateRangeInput, DateRangePicker, DiagramSkeleton, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, ErrorState, ExportMenu, FacebookButton, FileDownloadChip, FileGallery, FileUpload, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HINT_UNDERLINE_CLASS_NAME, HelpBlock, HoverCard, InlineEdit, InlineStepDetail, InlineStepGroup, InlineStepLabel, InputGroup, JumpToLatest, Kbd, Label, Link, MAX_DIGIT_HOTKEY, MIN_WORKBENCH_PANEL_HEIGHT_IN_PX, Markdown, MarkdownTable, MarkedText, MessageBubble, MicrosoftButton, Modal, ModeChip, MultiActionButtonGroup, MultiCombobox, MultiComboboxField, Navbar, NumberInput, OtpInput, PROMPT_INPUT_CONTAINER, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, PanelWithDetails, PasswordInput, PlanApproval, PlanRewritingIndicator, Popconfirm, Popover, Progress, PromptInput, Question, QuestionBlock, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, RadioGroup, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, SectionNav, Select, Separator, Sheet, Sidebar, SidebarProvider, Skeleton, SkeletonList, Slider, Slot, SourceChip, SplitButton, SpotlightBackdrop, StatCard, StatCardGrid, Stepper, SuggestedPrompt, Switch, Table, Tabs, TabsContent, TextInput, Textarea, ThemeProvider, ThemeScope, ThinkingIndicator, TimeInput, TimePicker, Timeline, Toaster, Toggle, ToggleGroup, ToolCallApproval, ToolCallChip, ToolCallStatusHeader, Tooltip, TooltipProvider, Truncated, UsageBar, UsageStats, UsageStatsRing, Workbench, ZoomableSvg, agnes, appShellSlotSelector, brandSchema, buttonVariants, channelsToHex, clampPercentage, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, defaultFilter, digitFromKeyCode, exampleCustomer, filterByWords, findLiteralMatches, findMentionToken, findSlashToken, formatPercentage, forwardAccessibleName, getChatInlineIconName, harbor, hasLiteralMatch, hexToChannels, isMac, kbcUi, kbdVariants, keboola, keys, matchByWords, mergeRefs, namedLabel, setServerFieldErrors, setSubmitError, splitSealedBlocks, svgToPngBlob, tableAriaSort, toSvgFileContent, toast, useAltDigitHotkey, useAppForm, useAutosizeInput, useCommandState, useDefaultLayout, useFileDropTarget, useFileUploadRejections, useMergeDiff, useNotification, useOptionalSidebar, useScrollbarPosition, useSidebar, useStableCallback, useTargetRect, useTheme, useThemeScopeContainer, useTimeout, useWorkbench, wcagLevel, withBlankValues, withForm, withholdOpenTail };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ANSWER_SOURCES_VISIBLE, AnswerActions, AnswerSources, AnswerSummary, AttachmentChip, CONTEXT_CHIP_EXPANDABLE_LENGTH, ChatInlineIcon, ChatNotice, CollapsibleStepHeader, ContextChip, DIAGRAM_LANGUAGES, FileDownloadChip, FileGallery, InlineStepDetail, InlineStepGroup, InlineStepLabel, JumpToLatest, Markdown, MarkdownTable, MessageBubble, ModeChip, PROMPT_INPUT_CONTAINER, PlanApproval, PlanRewritingIndicator, PromptInput, Question, QuestionBlock, SourceChip, SuggestedPrompt, ThinkingIndicator, ToolCallApproval, ToolCallChip, ToolCallStatusHeader, UsageBar, UsageStats, UsageStatsRing, clampPercentage, findMentionToken, findSlashToken, formatPercentage, getChatInlineIconName, splitSealedBlocks, withholdOpenTail } from "../../AIKit-
|
|
1
|
+
import { ANSWER_SOURCES_VISIBLE, AnswerActions, AnswerSources, AnswerSummary, AttachmentChip, CONTEXT_CHIP_EXPANDABLE_LENGTH, ChatInlineIcon, ChatNotice, CollapsibleStepHeader, ContextChip, DIAGRAM_LANGUAGES, FileDownloadChip, FileGallery, InlineStepDetail, InlineStepGroup, InlineStepLabel, JumpToLatest, Markdown, MarkdownTable, MessageBubble, ModeChip, PROMPT_INPUT_CONTAINER, PlanApproval, PlanRewritingIndicator, PromptInput, Question, QuestionBlock, SourceChip, SuggestedPrompt, ThinkingIndicator, ToolCallApproval, ToolCallChip, ToolCallStatusHeader, UsageBar, UsageStats, UsageStatsRing, clampPercentage, findMentionToken, findSlashToken, formatPercentage, getChatInlineIconName, splitSealedBlocks, withholdOpenTail } from "../../AIKit-BR6jfsdI.js";
|
|
2
2
|
export { ANSWER_SOURCES_VISIBLE, AnswerActions, AnswerSources, AnswerSummary, AttachmentChip, CONTEXT_CHIP_EXPANDABLE_LENGTH, ChatInlineIcon, ChatNotice, CollapsibleStepHeader, ContextChip, DIAGRAM_LANGUAGES, FileDownloadChip, FileGallery, InlineStepDetail, InlineStepGroup, InlineStepLabel, JumpToLatest, Markdown, MarkdownTable, MessageBubble, ModeChip, PROMPT_INPUT_CONTAINER, PlanApproval, PlanRewritingIndicator, PromptInput, Question, QuestionBlock, SourceChip, SuggestedPrompt, ThinkingIndicator, ToolCallApproval, ToolCallChip, ToolCallStatusHeader, UsageBar, UsageStats, UsageStatsRing, clampPercentage, findMentionToken, findSlashToken, formatPercentage, getChatInlineIconName, splitSealedBlocks, withholdOpenTail };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AppShell, appShellSlotSelector } from "../../AppShell-
|
|
1
|
+
import { AppShell, appShellSlotSelector } from "../../AppShell-C8V1KRr_.js";
|
|
2
2
|
export { AppShell, appShellSlotSelector };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cn } from "../../classNames-DcGnTh2N.js";
|
|
2
|
-
import { BrandLogo } from "../../BrandLogo-
|
|
2
|
+
import { BrandLogo } from "../../BrandLogo-DkESE19K.js";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
//#region src/blocks/AuthLayout/AuthLayout.tsx
|
|
5
5
|
const widthClass = {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AutoSaveTextarea } from "../../AutoSaveTextarea-
|
|
1
|
+
import { AutoSaveTextarea } from "../../AutoSaveTextarea-BbMhC5Aq.js";
|
|
2
2
|
export { AutoSaveTextarea };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BrandEditor, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, channelsToHex, contrastRatio, hexToChannels, wcagLevel } from "../../BrandEditor-
|
|
1
|
+
import { BrandEditor, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, channelsToHex, contrastRatio, hexToChannels, wcagLevel } from "../../BrandEditor-D61pzWRq.js";
|
|
2
2
|
export { BrandEditor, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, channelsToHex, contrastRatio, hexToChannels, wcagLevel };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { splitEntry } from "../../utils-
|
|
2
|
-
import { useArgoDesign } from "../../context-U293r3v-.js";
|
|
1
|
+
import { splitEntry } from "../../utils-DwC9u0tM.js";
|
|
3
2
|
import { mergeRefs } from "../utils/mergeRefs.js";
|
|
4
3
|
import { X } from "../../icons-ZIeZXXS7.js";
|
|
5
|
-
import { InputGroup } from "../../InputGroup-
|
|
4
|
+
import { InputGroup } from "../../InputGroup-CZv_7QlM.js";
|
|
6
5
|
import { useControllableState } from "../../useControllableState-CUYXMsfz.js";
|
|
7
|
-
import { Badge } from "../../Badge-
|
|
6
|
+
import { Badge } from "../../Badge-CqlOE5A2.js";
|
|
8
7
|
import { useRef, useState } from "react";
|
|
9
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
9
|
//#region src/blocks/ChipEditor/ChipEditor.tsx
|
|
@@ -18,8 +17,7 @@ const sameValue = (a, b) => a.toLowerCase() === b.toLowerCase();
|
|
|
18
17
|
* - Wrap in a `FormGroup` for label and error state.
|
|
19
18
|
* - Values are compared case-insensitively.
|
|
20
19
|
*/
|
|
21
|
-
const ChipEditor = ({ ref: forwardedRef, value: valueProp, defaultValue, onValueChange, separator = ",", canAdd, chipColor, removeLabel = defaultRemoveLabel, testId, state = "default",
|
|
22
|
-
const renderArgo = useArgoDesign();
|
|
20
|
+
const ChipEditor = ({ ref: forwardedRef, value: valueProp, defaultValue, onValueChange, separator = ",", canAdd, chipColor, removeLabel = defaultRemoveLabel, testId, state = "default", focusVariant = "default", className, disabled = false, readOnly = false, onChange, onBlur, onKeyDown, ...inputProps }) => {
|
|
23
21
|
const inputRef = useRef(null);
|
|
24
22
|
const [query, setQuery] = useState("");
|
|
25
23
|
const [values, setValues] = useControllableState({
|
|
@@ -83,8 +81,6 @@ const ChipEditor = ({ ref: forwardedRef, value: valueProp, defaultValue, onValue
|
|
|
83
81
|
};
|
|
84
82
|
return /* @__PURE__ */ jsxs(InputGroup, {
|
|
85
83
|
state,
|
|
86
|
-
variant,
|
|
87
|
-
sizing,
|
|
88
84
|
focusVariant,
|
|
89
85
|
className,
|
|
90
86
|
"data-testid": testId,
|
|
@@ -95,7 +91,7 @@ const ChipEditor = ({ ref: forwardedRef, value: valueProp, defaultValue, onValue
|
|
|
95
91
|
children: values.map((value, index) => /* @__PURE__ */ jsxs(Badge.Root, {
|
|
96
92
|
role: "listitem",
|
|
97
93
|
color: chipColor,
|
|
98
|
-
variant:
|
|
94
|
+
variant: "pill",
|
|
99
95
|
className: "tw:max-w-40",
|
|
100
96
|
children: [/* @__PURE__ */ jsx(Badge.Label, {
|
|
101
97
|
title: value,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChipEditor.js","names":[],"sources":["../../../src/blocks/ChipEditor/ChipEditor.tsx"],"sourcesContent":["import { useRef, useState } from 'react';\nimport type { ChangeEvent, ComponentProps, ComponentRef, FocusEvent, KeyboardEvent } from 'react';\n\nimport { Badge } from '../../components/Badge';\nimport { InputGroup } from '../../components/InputGroup';\nimport {
|
|
1
|
+
{"version":3,"file":"ChipEditor.js","names":[],"sources":["../../../src/blocks/ChipEditor/ChipEditor.tsx"],"sourcesContent":["import { useRef, useState } from 'react';\nimport type { ChangeEvent, ComponentProps, ComponentRef, FocusEvent, KeyboardEvent } from 'react';\n\nimport { Badge } from '../../components/Badge';\nimport { InputGroup } from '../../components/InputGroup';\nimport { useControllableState } from '../../hooks/useControllableState';\nimport { X } from '../../icons';\nimport { DEFAULT_ENTRY_SEPARATOR, mergeRefs, splitEntry } from '../../utils';\n\ntype InputGroupProps = Pick<ComponentProps<typeof InputGroup>, 'focusVariant' | 'state'>;\n\ntype BadgeColor = ComponentProps<typeof Badge>['color'];\n\ntype OwnProps = {\n value?: string[];\n defaultValue?: string[];\n /** Called with the whole next list whenever a value is added or removed. */\n onValueChange?: (value: string[]) => void;\n /**\n * Splits one entry into several values, like `MultiCombobox`'s `createSeparator`.\n * `null` when a value can itself contain the separator.\n */\n separator?: string | RegExp | null;\n /** Gates each value after the split; a pasted list keeps the values that pass. */\n canAdd?: (value: string) => boolean;\n /** The chip colour. Decorative — it categorises values, it does not encode their state. */\n chipColor?: BadgeColor;\n /** Names each remove button for a screen reader. */\n removeLabel?: (value: string) => string;\n testId?: string;\n};\n\nexport type Props = InputGroupProps &\n OwnProps &\n Omit<ComponentProps<'input'>, 'value' | 'defaultValue' | 'type' | 'prefix'>;\n\nconst defaultRemoveLabel = (value: string) => `Remove ${value}`;\n\nconst sameValue = (a: string, b: string) => a.toLowerCase() === b.toLowerCase();\n\n/**\n * Free-text token editor — type a value, press Enter, it becomes a removable chip.\n *\n * - **Use** for strings the user writes rather than picks; the platform's one chip editor.\n * - **Not** for values from a known list — use `MultiCombobox` (`allowCreate` if open-ended).\n * - Wrap in a `FormGroup` for label and error state.\n * - Values are compared case-insensitively.\n */\nexport const ChipEditor = ({\n ref: forwardedRef,\n value: valueProp,\n defaultValue,\n onValueChange,\n separator = DEFAULT_ENTRY_SEPARATOR,\n canAdd,\n chipColor,\n removeLabel = defaultRemoveLabel,\n testId,\n state = 'default',\n focusVariant = 'default',\n className,\n disabled = false,\n readOnly = false,\n onChange,\n onBlur,\n onKeyDown,\n ...inputProps\n}: Props) => {\n const inputRef = useRef<ComponentRef<'input'>>(null);\n const [query, setQuery] = useState('');\n\n const [values, setValues] = useControllableState<string[]>({\n prop: valueProp,\n defaultProp: defaultValue ?? [],\n onChange: onValueChange,\n });\n\n const isEditable = !disabled && !readOnly;\n\n /**\n * Turns typed text into chips; returns whether the text is spent.\n *\n * - A duplicate adds nothing but still spends the text.\n * - Only a value `canAdd` rejects keeps the text, so the user can fix it.\n */\n const commit = (entry: string): { isSpent: boolean } => {\n const parts = splitEntry(entry, separator)\n .map((part) => part.trim())\n .filter((part) => part !== '');\n\n const accepted = parts.filter((part) => canAdd?.(part) ?? true);\n const added = accepted.filter(\n (part, index) =>\n !values.some((held) => sameValue(held, part)) &&\n accepted.findIndex((other) => sameValue(other, part)) === index,\n );\n\n if (added.length > 0) setValues([...values, ...added]);\n\n return { isSpent: accepted.length === parts.length };\n };\n\n const commitAndClear = (entry: string) => {\n if (commit(entry).isSpent) setQuery('');\n };\n\n const handleChange = (event: ChangeEvent<HTMLInputElement>) => {\n onChange?.(event);\n const next = event.target.value;\n\n // A typed string separator commits everything before the last one; the rest stays in the field.\n // `RegExp` separators only split on commit.\n if (typeof separator === 'string' && next.includes(separator)) {\n const cut = next.lastIndexOf(separator);\n commit(next.slice(0, cut));\n setQuery(next.slice(cut + separator.length));\n return;\n }\n\n setQuery(next);\n };\n\n const handleKeyDown = (event: KeyboardEvent<HTMLInputElement>) => {\n onKeyDown?.(event);\n if (event.defaultPrevented) return;\n\n if (event.key === 'Enter') {\n // Always prevented: Enter adds a value, never submits the surrounding form.\n event.preventDefault();\n commitAndClear(query);\n return;\n }\n\n if (event.key === 'Backspace' && query === '' && values.length > 0) {\n setValues(values.slice(0, -1));\n return;\n }\n\n if (event.key === 'Escape' && query !== '') {\n // Only with text to discard — otherwise Escape reaches the enclosing overlay.\n event.preventDefault();\n event.stopPropagation();\n setQuery('');\n }\n };\n\n const handleBlur = (event: FocusEvent<HTMLInputElement>) => {\n onBlur?.(event);\n // A value typed then blurred is one the user meant to add.\n commitAndClear(query);\n };\n\n const removeAt = (index: number) => {\n setValues(values.filter((_, position) => position !== index));\n inputRef.current?.focus();\n };\n\n return (\n <InputGroup\n state={state}\n focusVariant={focusVariant}\n className={className}\n data-testid={testId}\n >\n <InputGroup.Addon align=\"block-start\" className=\"tw:flex-wrap\" role=\"list\">\n {values.map((value, index) => (\n <Badge.Root\n key={value}\n role=\"listitem\"\n color={chipColor}\n variant=\"pill\"\n className=\"tw:max-w-40\"\n >\n {/* Same cap and the same `title` as a `MultiCombobox` chip — the two chip rows are the\n same object to a user, so they truncate at the same width. */}\n <Badge.Label title={value}>{value}</Badge.Label>\n {isEditable && (\n <Badge.Addon variant=\"inline\" align=\"inline-end\">\n <Badge.Button aria-label={removeLabel(value)} onClick={() => removeAt(index)}>\n <X className=\"tw:size-3\" />\n </Badge.Button>\n </Badge.Addon>\n )}\n </Badge.Root>\n ))}\n </InputGroup.Addon>\n\n <InputGroup.Input\n {...inputProps}\n ref={mergeRefs(forwardedRef ?? null, inputRef)}\n type=\"text\"\n value={query}\n disabled={disabled}\n readOnly={readOnly}\n onChange={handleChange}\n onKeyDown={handleKeyDown}\n onBlur={handleBlur}\n />\n </InputGroup>\n );\n};\n"],"mappings":";;;;;;;;;AAoCA,MAAM,sBAAsB,UAAkB,UAAU;AAExD,MAAM,aAAa,GAAW,MAAc,EAAE,YAAY,MAAM,EAAE,YAAY;;;;;;;;;AAU9E,MAAa,cAAc,EACzB,KAAK,cACL,OAAO,WACP,cACA,eACA,YAAA,KACA,QACA,WACA,cAAc,oBACd,QACA,QAAQ,WACR,eAAe,WACf,WACA,WAAW,OACX,WAAW,OACX,UACA,QACA,WACA,GAAG,iBACQ;CACX,MAAM,WAAW,OAA8B,IAAI;CACnD,MAAM,CAAC,OAAO,YAAY,SAAS,EAAE;CAErC,MAAM,CAAC,QAAQ,aAAa,qBAA+B;EACzD,MAAM;EACN,aAAa,gBAAgB,CAAC;EAC9B,UAAU;CACZ,CAAC;CAED,MAAM,aAAa,CAAC,YAAY,CAAC;;;;;;;CAQjC,MAAM,UAAU,UAAwC;EACtD,MAAM,QAAQ,WAAW,OAAO,SAAS,CAAC,CACvC,KAAK,SAAS,KAAK,KAAK,CAAC,CAAC,CAC1B,QAAQ,SAAS,SAAS,EAAE;EAE/B,MAAM,WAAW,MAAM,QAAQ,SAAS,SAAS,IAAI,KAAK,IAAI;EAC9D,MAAM,QAAQ,SAAS,QACpB,MAAM,UACL,CAAC,OAAO,MAAM,SAAS,UAAU,MAAM,IAAI,CAAC,KAC5C,SAAS,WAAW,UAAU,UAAU,OAAO,IAAI,CAAC,MAAM,KAC9D;EAEA,IAAI,MAAM,SAAS,GAAG,UAAU,CAAC,GAAG,QAAQ,GAAG,KAAK,CAAC;EAErD,OAAO,EAAE,SAAS,SAAS,WAAW,MAAM,OAAO;CACrD;CAEA,MAAM,kBAAkB,UAAkB;EACxC,IAAI,OAAO,KAAK,CAAC,CAAC,SAAS,SAAS,EAAE;CACxC;CAEA,MAAM,gBAAgB,UAAyC;EAC7D,WAAW,KAAK;EAChB,MAAM,OAAO,MAAM,OAAO;EAI1B,IAAI,OAAO,cAAc,YAAY,KAAK,SAAS,SAAS,GAAG;GAC7D,MAAM,MAAM,KAAK,YAAY,SAAS;GACtC,OAAO,KAAK,MAAM,GAAG,GAAG,CAAC;GACzB,SAAS,KAAK,MAAM,MAAM,UAAU,MAAM,CAAC;GAC3C;EACF;EAEA,SAAS,IAAI;CACf;CAEA,MAAM,iBAAiB,UAA2C;EAChE,YAAY,KAAK;EACjB,IAAI,MAAM,kBAAkB;EAE5B,IAAI,MAAM,QAAQ,SAAS;GAEzB,MAAM,eAAe;GACrB,eAAe,KAAK;GACpB;EACF;EAEA,IAAI,MAAM,QAAQ,eAAe,UAAU,MAAM,OAAO,SAAS,GAAG;GAClE,UAAU,OAAO,MAAM,GAAG,EAAE,CAAC;GAC7B;EACF;EAEA,IAAI,MAAM,QAAQ,YAAY,UAAU,IAAI;GAE1C,MAAM,eAAe;GACrB,MAAM,gBAAgB;GACtB,SAAS,EAAE;EACb;CACF;CAEA,MAAM,cAAc,UAAwC;EAC1D,SAAS,KAAK;EAEd,eAAe,KAAK;CACtB;CAEA,MAAM,YAAY,UAAkB;EAClC,UAAU,OAAO,QAAQ,GAAG,aAAa,aAAa,KAAK,CAAC;EAC5D,SAAS,SAAS,MAAM;CAC1B;CAEA,OACE,qBAAC,YAAD;EACS;EACO;EACH;EACX,eAAa;EAJf,UAAA,CAME,oBAAC,WAAW,OAAZ;GAAkB,OAAM;GAAc,WAAU;GAAe,MAAK;GACjE,UAAA,OAAO,KAAK,OAAO,UAClB,qBAAC,MAAM,MAAP;IAEE,MAAK;IACL,OAAO;IACP,SAAQ;IACR,WAAU;IALZ,UAAA,CASE,oBAAC,MAAM,OAAP;KAAa,OAAO;KAAQ,UAAA;IAAmB,CAAA,GAC9C,cACC,oBAAC,MAAM,OAAP;KAAa,SAAQ;KAAS,OAAM;KAClC,UAAA,oBAAC,MAAM,QAAP;MAAc,cAAY,YAAY,KAAK;MAAG,eAAe,SAAS,KAAK;MACzE,UAAA,oBAAC,GAAD,EAAG,WAAU,YAAa,CAAA;KACd,CAAA;IACH,CAAA,CAEL;GAhBL,GAAA,KAgBK,CACb;EACe,CAAA,GAElB,oBAAC,WAAW,OAAZ;GACE,GAAI;GACJ,KAAK,UAAU,gBAAgB,MAAM,QAAQ;GAC7C,MAAK;GACL,OAAO;GACG;GACA;GACV,UAAU;GACV,WAAW;GACX,QAAQ;EACT,CAAA,CACS;;AAEhB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ClipboardButton, ClipboardInline } from "../../ClipboardButton-
|
|
1
|
+
import { ClipboardButton, ClipboardInline } from "../../ClipboardButton-B1Hr_n_Z.js";
|
|
2
2
|
export { ClipboardButton, ClipboardInline };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ColorInput } from "../../ColorInput-
|
|
1
|
+
import { ColorInput } from "../../ColorInput-B_eZIu39.js";
|
|
2
2
|
export { ColorInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ColorModeSwitch } from "../../ColorModeSwitch-
|
|
1
|
+
import { ColorModeSwitch } from "../../ColorModeSwitch-BlrH8jAi.js";
|
|
2
2
|
export { ColorModeSwitch };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Command, CommandGroup, CommandInput, CommandItem, CommandList, defaultFilter, useCommandState } from "../../Command-
|
|
1
|
+
import { Command, CommandGroup, CommandInput, CommandItem, CommandList, defaultFilter, useCommandState } from "../../Command-DhXmqFLT.js";
|
|
2
2
|
export { Command, CommandGroup, CommandInput, CommandItem, CommandList, defaultFilter, useCommandState };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CopyField } from "../../CopyField-
|
|
1
|
+
import { CopyField } from "../../CopyField-D0Pg4Z0R.js";
|
|
2
2
|
export { CopyField };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DateInput } from "../../DateInput-
|
|
1
|
+
import { DateInput } from "../../DateInput-duinbI9_.js";
|
|
2
2
|
export { DateInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DateRangeInput } from "../../DateRangeInput-
|
|
1
|
+
import { DateRangeInput } from "../../DateRangeInput-BYVHf9zo.js";
|
|
2
2
|
export { DateRangeInput };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Card } from "../../Card-
|
|
1
|
+
import { Card } from "../../Card-DxjGiqH8.js";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
//#region src/blocks/EmptyConfigurationActionCard/EmptyConfigurationActionCard.tsx
|
|
4
4
|
const EmptyConfigurationActionCard = ({ title, children, className }) => {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { useArgoDesign } from "../../context-U293r3v-.js";
|
|
2
1
|
import { cva } from "class-variance-authority";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
//#region src/blocks/ErrorState/ErrorState.tsx
|
|
@@ -49,8 +48,7 @@ const errorStateIconClassnames = cva([
|
|
|
49
48
|
"tw:size-16",
|
|
50
49
|
"tw:text-4xl",
|
|
51
50
|
"tw:[&_svg:not([class*=\"tw:size-\"])]:size-10",
|
|
52
|
-
"tw:
|
|
53
|
-
"tw:data-[argo=true]:text-destructive"
|
|
51
|
+
"tw:text-destructive"
|
|
54
52
|
]
|
|
55
53
|
} },
|
|
56
54
|
defaultVariants: { variant: "default" }
|
|
@@ -70,8 +68,7 @@ const errorStateTitleClassnames = cva(["tw:m-0", "tw:font-semibold"], {
|
|
|
70
68
|
destructive: [
|
|
71
69
|
"tw:text-lg",
|
|
72
70
|
"tw:leading-7",
|
|
73
|
-
"tw:
|
|
74
|
-
"tw:data-[argo=true]:text-destructive"
|
|
71
|
+
"tw:text-destructive"
|
|
75
72
|
]
|
|
76
73
|
} },
|
|
77
74
|
defaultVariants: { variant: "default" }
|
|
@@ -124,30 +121,22 @@ const ErrorStateRoot = ({ className, variant = "default", children, ...rest }) =
|
|
|
124
121
|
...rest,
|
|
125
122
|
children
|
|
126
123
|
});
|
|
127
|
-
const ErrorStateIcon = ({ className, variant = "default", children, ...rest }) => {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
className: errorStateTitleClassnames({
|
|
144
|
-
className,
|
|
145
|
-
variant
|
|
146
|
-
}),
|
|
147
|
-
...rest,
|
|
148
|
-
children
|
|
149
|
-
});
|
|
150
|
-
};
|
|
124
|
+
const ErrorStateIcon = ({ className, variant = "default", children, ...rest }) => /* @__PURE__ */ jsx("div", {
|
|
125
|
+
className: errorStateIconClassnames({
|
|
126
|
+
className,
|
|
127
|
+
variant
|
|
128
|
+
}),
|
|
129
|
+
...rest,
|
|
130
|
+
children
|
|
131
|
+
});
|
|
132
|
+
const ErrorStateTitle = ({ className, variant = "default", as: Tag = "h3", children, ...rest }) => /* @__PURE__ */ jsx(Tag, {
|
|
133
|
+
className: errorStateTitleClassnames({
|
|
134
|
+
className,
|
|
135
|
+
variant
|
|
136
|
+
}),
|
|
137
|
+
...rest,
|
|
138
|
+
children
|
|
139
|
+
});
|
|
151
140
|
const ErrorStateDescription = ({ className, variant = "default", children, ...rest }) => /* @__PURE__ */ jsx("p", {
|
|
152
141
|
className: errorStateDescriptionClassnames({
|
|
153
142
|
className,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorState.js","names":[],"sources":["../../../src/blocks/ErrorState/ErrorState.tsx"],"sourcesContent":["import type { ComponentProps } from 'react';\nimport type { VariantProps } from 'class-variance-authority';\nimport { cva } from 'class-variance-authority';\n\
|
|
1
|
+
{"version":3,"file":"ErrorState.js","names":[],"sources":["../../../src/blocks/ErrorState/ErrorState.tsx"],"sourcesContent":["import type { ComponentProps } from 'react';\nimport type { VariantProps } from 'class-variance-authority';\nimport { cva } from 'class-variance-authority';\n\nconst errorStateClassnames = cva(['tw:flex', 'tw:flex-col', 'tw:items-center', 'tw:text-center'], {\n variants: {\n variant: {\n default: ['tw:py-16', 'tw:px-8', 'tw:gap-4'],\n compact: ['tw:py-8', 'tw:px-4', 'tw:gap-2'],\n destructive: ['tw:py-16', 'tw:px-8', 'tw:gap-4'],\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\nconst errorStateIconClassnames = cva(['tw:flex', 'tw:items-center', 'tw:justify-center'], {\n variants: {\n variant: {\n default: [\n 'tw:size-16',\n 'tw:text-4xl',\n 'tw:[&_svg:not([class*=\"tw:size-\"])]:size-10',\n 'tw:text-warning',\n ],\n compact: [\n 'tw:size-10',\n 'tw:text-2xl',\n 'tw:[&_svg:not([class*=\"tw:size-\"])]:size-6',\n 'tw:text-warning',\n ],\n destructive: [\n 'tw:size-16',\n 'tw:text-4xl',\n 'tw:[&_svg:not([class*=\"tw:size-\"])]:size-10',\n 'tw:text-destructive',\n ],\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\nconst errorStateTitleClassnames = cva(['tw:m-0', 'tw:font-semibold'], {\n variants: {\n variant: {\n default: ['tw:text-lg', 'tw:leading-7', 'tw:text-foreground'],\n compact: ['tw:text-base', 'tw:leading-6', 'tw:text-foreground'],\n destructive: ['tw:text-lg', 'tw:leading-7', 'tw:text-destructive'],\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\nconst errorStateDescriptionClassnames = cva(['tw:m-0', 'tw:text-muted-foreground'], {\n variants: {\n variant: {\n default: ['tw:text-sm', 'tw:leading-5', 'tw:max-w-sm'],\n compact: ['tw:text-xs', 'tw:leading-4', 'tw:max-w-xs'],\n destructive: ['tw:text-sm', 'tw:leading-5', 'tw:max-w-sm'],\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\nconst errorStateActionsClassnames = cva(['tw:flex', 'tw:items-center', 'tw:flex-wrap'], {\n variants: {\n variant: {\n default: ['tw:gap-3', 'tw:mt-2'],\n compact: ['tw:gap-2', 'tw:mt-1'],\n destructive: ['tw:gap-3', 'tw:mt-2'],\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\ntype Variant = VariantProps<typeof errorStateClassnames>['variant'];\n\n/**\n * Props for `ErrorState`. `variant` chooses look — `\"default\"` for non-blocking errors, `\"compact\"` for\n * inside cards, `\"destructive\"` for blocking failures (red title + icon).\n */\ntype RootProps = ComponentProps<'div'> &\n VariantProps<typeof errorStateClassnames> & {\n variant?: Variant;\n };\n\n/**\n * Page-level error placeholder with `Icon`, `Title`, `Description` and `Actions` slots.\n *\n * - Use when the page can't render: failed request, no permission, missing entity.\n * - Put a recovery action (retry, go back, request access) in `ErrorState.Actions`.\n * - Not for transient failures (`toast()`), form validation (`FormGroup`) or banners (`Alert`).\n */\nconst ErrorStateRoot = ({ className, variant = 'default', children, ...rest }: RootProps) => (\n <div role=\"alert\" className={errorStateClassnames({ className, variant })} {...rest}>\n {children}\n </div>\n);\n\ntype SlotProps = ComponentProps<'div'> & { variant?: Variant };\n\nconst ErrorStateIcon = ({ className, variant = 'default', children, ...rest }: SlotProps) => (\n <div className={errorStateIconClassnames({ className, variant })} {...rest}>\n {children}\n </div>\n);\n\ntype HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';\n\ntype TitleProps = ComponentProps<'h3'> & {\n variant?: Variant;\n /** Set it to avoid a heading-order skip (e.g. `h2` directly under a page's `h1`). */\n as?: HeadingLevel;\n};\n\nconst ErrorStateTitle = ({\n className,\n variant = 'default',\n as: Tag = 'h3',\n children,\n ...rest\n}: TitleProps) => (\n <Tag className={errorStateTitleClassnames({ className, variant })} {...rest}>\n {children}\n </Tag>\n);\n\ntype DescriptionProps = ComponentProps<'p'> & { variant?: Variant };\n\nconst ErrorStateDescription = ({\n className,\n variant = 'default',\n children,\n ...rest\n}: DescriptionProps) => (\n <p className={errorStateDescriptionClassnames({ className, variant })} {...rest}>\n {children}\n </p>\n);\n\ntype ActionsProps = ComponentProps<'div'> & { variant?: Variant };\n\nconst ErrorStateActions = ({ className, variant = 'default', children, ...rest }: ActionsProps) => (\n <div className={errorStateActionsClassnames({ className, variant })} {...rest}>\n {children}\n </div>\n);\n\nexport const ErrorState = ErrorStateRoot as typeof ErrorStateRoot & {\n Icon: typeof ErrorStateIcon;\n Title: typeof ErrorStateTitle;\n Description: typeof ErrorStateDescription;\n Actions: typeof ErrorStateActions;\n};\n\nErrorState.Icon = ErrorStateIcon;\nErrorState.Title = ErrorStateTitle;\nErrorState.Description = ErrorStateDescription;\nErrorState.Actions = ErrorStateActions;\n\nexport type { RootProps as ErrorStateProps, Variant as ErrorStateVariant };\n"],"mappings":";;;AAIA,MAAM,uBAAuB,IAAI;CAAC;CAAW;CAAe;CAAmB;AAAgB,GAAG;CAChG,UAAU,EACR,SAAS;EACP,SAAS;GAAC;GAAY;GAAW;EAAU;EAC3C,SAAS;GAAC;GAAW;GAAW;EAAU;EAC1C,aAAa;GAAC;GAAY;GAAW;EAAU;CACjD,EACF;CACA,iBAAiB,EACf,SAAS,UACX;AACF,CAAC;AAED,MAAM,2BAA2B,IAAI;CAAC;CAAW;CAAmB;AAAmB,GAAG;CACxF,UAAU,EACR,SAAS;EACP,SAAS;GACP;GACA;GACA;GACA;EACF;EACA,SAAS;GACP;GACA;GACA;GACA;EACF;EACA,aAAa;GACX;GACA;GACA;GACA;EACF;CACF,EACF;CACA,iBAAiB,EACf,SAAS,UACX;AACF,CAAC;AAED,MAAM,4BAA4B,IAAI,CAAC,UAAU,kBAAkB,GAAG;CACpE,UAAU,EACR,SAAS;EACP,SAAS;GAAC;GAAc;GAAgB;EAAoB;EAC5D,SAAS;GAAC;GAAgB;GAAgB;EAAoB;EAC9D,aAAa;GAAC;GAAc;GAAgB;EAAqB;CACnE,EACF;CACA,iBAAiB,EACf,SAAS,UACX;AACF,CAAC;AAED,MAAM,kCAAkC,IAAI,CAAC,UAAU,0BAA0B,GAAG;CAClF,UAAU,EACR,SAAS;EACP,SAAS;GAAC;GAAc;GAAgB;EAAa;EACrD,SAAS;GAAC;GAAc;GAAgB;EAAa;EACrD,aAAa;GAAC;GAAc;GAAgB;EAAa;CAC3D,EACF;CACA,iBAAiB,EACf,SAAS,UACX;AACF,CAAC;AAED,MAAM,8BAA8B,IAAI;CAAC;CAAW;CAAmB;AAAc,GAAG;CACtF,UAAU,EACR,SAAS;EACP,SAAS,CAAC,YAAY,SAAS;EAC/B,SAAS,CAAC,YAAY,SAAS;EAC/B,aAAa,CAAC,YAAY,SAAS;CACrC,EACF;CACA,iBAAiB,EACf,SAAS,UACX;AACF,CAAC;;;;;;;;AAoBD,MAAM,kBAAkB,EAAE,WAAW,UAAU,WAAW,UAAU,GAAG,WACrE,oBAAC,OAAD;CAAK,MAAK;CAAQ,WAAW,qBAAqB;EAAE;EAAW;CAAQ,CAAC;CAAG,GAAI;CAC5E;AACE,CAAA;AAKP,MAAM,kBAAkB,EAAE,WAAW,UAAU,WAAW,UAAU,GAAG,WACrE,oBAAC,OAAD;CAAK,WAAW,yBAAyB;EAAE;EAAW;CAAQ,CAAC;CAAG,GAAI;CACnE;AACE,CAAA;AAWP,MAAM,mBAAmB,EACvB,WACA,UAAU,WACV,IAAI,MAAM,MACV,UACA,GAAG,WAEH,oBAAC,KAAD;CAAK,WAAW,0BAA0B;EAAE;EAAW;CAAQ,CAAC;CAAG,GAAI;CACpE;AACE,CAAA;AAKP,MAAM,yBAAyB,EAC7B,WACA,UAAU,WACV,UACA,GAAG,WAEH,oBAAC,KAAD;CAAG,WAAW,gCAAgC;EAAE;EAAW;CAAQ,CAAC;CAAG,GAAI;CACxE;AACA,CAAA;AAKL,MAAM,qBAAqB,EAAE,WAAW,UAAU,WAAW,UAAU,GAAG,WACxE,oBAAC,OAAD;CAAK,WAAW,4BAA4B;EAAE;EAAW;CAAQ,CAAC;CAAG,GAAI;CACtE;AACE,CAAA;AAGP,MAAa,aAAa;AAO1B,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB,WAAW,cAAc;AACzB,WAAW,UAAU"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Tooltip } from "../../utils-
|
|
1
|
+
import { Tooltip } from "../../utils-DwC9u0tM.js";
|
|
2
2
|
import { Download } from "../../icons-ZIeZXXS7.js";
|
|
3
|
-
import { Button } from "../../Button-
|
|
4
|
-
import { DropdownMenu } from "../../DropdownMenu-
|
|
3
|
+
import { Button } from "../../Button-BNkyYU8u.js";
|
|
4
|
+
import { DropdownMenu } from "../../DropdownMenu-Bum99mVf.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/blocks/ExportMenu/ExportMenu.tsx
|
|
7
7
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExportMenu.js","names":[],"sources":["../../../src/blocks/ExportMenu/ExportMenu.tsx"],"sourcesContent":["import { Button } from '../../components/Button';\nimport { DropdownMenu } from '../../components/DropdownMenu';\nimport { Tooltip } from '../../components/Tooltip';\nimport { Download } from '../../icons';\n\nexport type ExportMenuItem = {\n /** Menu label, e.g. \"Download as CSV\". */\n label: string;\n onSelect: () => void;\n};\n\ntype Props = {\n items: ExportMenuItem[];\n /** Accessible name + tooltip for the trigger, e.g. \"Export table\". */\n label: string;\n size?: 'icon-xs' | 'icon-sm';\n /** `outline` for a standalone control; `invisible` in a row of ghost actions. */\n variant?: 'outline' | 'invisible';\n};\n\n/**\n * Download-icon trigger with a menu of export formats.\n *\n * - Callers inject it into `ZoomableSvg`; importing it there would pull ~11 kB of\n * `DropdownMenu` chunk-mates behind the lazy `@keboola/design/mermaid` boundary.\n */\nexport const ExportMenu = ({ items, label, size = 'icon-sm', variant = 'outline' }: Props) => (\n <DropdownMenu>\n <Tooltip tooltip={label} placement=\"top\" triggerAsChild>\n <DropdownMenu.Trigger asChild>\n <Button\n size={size}\n variant={variant}\n aria-label={label}\n //
|
|
1
|
+
{"version":3,"file":"ExportMenu.js","names":[],"sources":["../../../src/blocks/ExportMenu/ExportMenu.tsx"],"sourcesContent":["import { Button } from '../../components/Button';\nimport { DropdownMenu } from '../../components/DropdownMenu';\nimport { Tooltip } from '../../components/Tooltip';\nimport { Download } from '../../icons';\n\nexport type ExportMenuItem = {\n /** Menu label, e.g. \"Download as CSV\". */\n label: string;\n onSelect: () => void;\n};\n\ntype Props = {\n items: ExportMenuItem[];\n /** Accessible name + tooltip for the trigger, e.g. \"Export table\". */\n label: string;\n size?: 'icon-xs' | 'icon-sm';\n /** `outline` for a standalone control; `invisible` in a row of ghost actions. */\n variant?: 'outline' | 'invisible';\n};\n\n/**\n * Download-icon trigger with a menu of export formats.\n *\n * - Callers inject it into `ZoomableSvg`; importing it there would pull ~11 kB of\n * `DropdownMenu` chunk-mates behind the lazy `@keboola/design/mermaid` boundary.\n */\nexport const ExportMenu = ({ items, label, size = 'icon-sm', variant = 'outline' }: Props) => (\n <DropdownMenu>\n <Tooltip tooltip={label} placement=\"top\" triggerAsChild>\n <DropdownMenu.Trigger asChild>\n <Button\n size={size}\n variant={variant}\n aria-label={label}\n // `outline` resets the background when active; keep an open trigger tinted.\n className=\"tw:data-[state=open]:!bg-primary/10 tw:data-[state=open]:!text-primary\"\n >\n <Download className=\"tw:size-4\" />\n </Button>\n </DropdownMenu.Trigger>\n </Tooltip>\n <DropdownMenu.Content align=\"end\">\n {/* Keyed by index: labels aren't guaranteed unique. */}\n {items.map((item, index) => (\n <DropdownMenu.Item key={index} onSelect={item.onSelect}>\n {item.label}\n </DropdownMenu.Item>\n ))}\n </DropdownMenu.Content>\n </DropdownMenu>\n);\n"],"mappings":";;;;;;;;;;;;AA0BA,MAAa,cAAc,EAAE,OAAO,OAAO,OAAO,WAAW,UAAU,gBACrE,qBAAC,cAAD,EAAA,UAAA,CACE,oBAAC,SAAD;CAAS,SAAS;CAAO,WAAU;CAAM,gBAAA;CACvC,UAAA,oBAAC,aAAa,SAAd;EAAsB,SAAA;EACpB,UAAA,oBAAC,QAAD;GACQ;GACG;GACT,cAAY;GAEZ,WAAU;GAEV,UAAA,oBAAC,UAAD,EAAU,WAAU,YAAa,CAAA;EAC3B,CAAA;CACY,CAAA;AACf,CAAA,GACT,oBAAC,aAAa,SAAd;CAAsB,OAAM;CAEzB,UAAA,MAAM,KAAK,MAAM,UAChB,oBAAC,aAAa,MAAd;EAA+B,UAAU,KAAK;EAC3C,UAAA,KAAK;CACW,GAFK,KAEL,CACpB;AACmB,CAAA,CACV,EAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Combobox } from "../../../../Combobox-
|
|
2
|
-
import { FieldItem, useFieldContext } from "../../../../FieldItem-
|
|
1
|
+
import { Combobox } from "../../../../Combobox-BLqX-Tdh.js";
|
|
2
|
+
import { FieldItem, useFieldContext } from "../../../../FieldItem-BHUqgSO1.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/blocks/Form/connectors/ComboboxField.tsx
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MultiCombobox } from "../../MultiCombobox.js";
|
|
2
|
-
import { FieldItem, useFieldContext } from "../../../../FieldItem-
|
|
2
|
+
import { FieldItem, useFieldContext } from "../../../../FieldItem-BHUqgSO1.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/blocks/Form/connectors/MultiComboboxField.tsx
|
|
5
5
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { setServerFieldErrors, setSubmitError, useAppForm, withForm } from "../../Form-
|
|
1
|
+
import { setServerFieldErrors, setSubmitError, useAppForm, withForm } from "../../Form-Dqbt_tIs.js";
|
|
2
2
|
export { setServerFieldErrors, setSubmitError, useAppForm, withForm };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { FormGroup } from "../../FormGroup-
|
|
1
|
+
import { FormGroup } from "../../FormGroup-V5kIgQRN.js";
|
|
2
2
|
export { FormGroup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { InlineEdit } from "../../InlineEdit-
|
|
1
|
+
import { InlineEdit } from "../../InlineEdit-D4P0SvCB.js";
|
|
2
2
|
export { InlineEdit };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { MultiActionButtonGroup } from "../../MultiActionButtonGroup-
|
|
1
|
+
import { MultiActionButtonGroup } from "../../MultiActionButtonGroup-Dzig87s1.js";
|
|
2
2
|
export { MultiActionButtonGroup };
|