neutralino-python 0.1.0__py3-none-any.whl
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.
- neutralino/__init__.py +88 -0
- neutralino/_catalog.py +297 -0
- neutralino/_data/LICENSE.neutralino-js-client +21 -0
- neutralino/_data/LICENSE.neutralinojs +1066 -0
- neutralino/_data/docs/cli.md +315 -0
- neutralino/_data/docs/custom-components.md +107 -0
- neutralino/_data/docs/custom-frontends.md +80 -0
- neutralino/_data/docs/desktop-helpers.md +296 -0
- neutralino/_data/docs/guide.md +131 -0
- neutralino/_data/docs/llms-full.txt +3921 -0
- neutralino/_data/docs/llms.txt +43 -0
- neutralino/_data/docs/manifests/components.json +20128 -0
- neutralino/_data/docs/manifests/examples.json +52 -0
- neutralino/_data/docs/manifests/native.json +3024 -0
- neutralino/_data/docs/manifests/schema.json +43 -0
- neutralino/_data/docs/manual-checklist.md +189 -0
- neutralino/_data/docs/packaging.md +252 -0
- neutralino/_data/docs/performance.md +15 -0
- neutralino/_data/docs/platforms.md +15 -0
- neutralino/_data/docs/reference/components.md +1685 -0
- neutralino/_data/docs/reference/native.md +148 -0
- neutralino/_data/docs/security.md +60 -0
- neutralino/_data/docs/ui.md +249 -0
- neutralino/_data/docs/updates.md +366 -0
- neutralino/_data/examples/README.md +6 -0
- neutralino/_data/examples/crud/README.md +36 -0
- neutralino/_data/examples/crud/app.py +243 -0
- neutralino/_data/examples/dashboard/README.md +36 -0
- neutralino/_data/examples/dashboard/app.py +367 -0
- neutralino/_data/examples/editor/README.md +35 -0
- neutralino/_data/examples/editor/app.py +190 -0
- neutralino/_data/examples/file-manager/README.md +40 -0
- neutralino/_data/examples/file-manager/app.py +120 -0
- neutralino/_data/examples/file-manager/frontend/index.html +20 -0
- neutralino/_data/examples/file-manager/frontend/main.js +55 -0
- neutralino/_data/examples/file-manager/frontend/neutralino.js +1 -0
- neutralino/_data/examples/file-manager/frontend/python-bridge.d.ts +207 -0
- neutralino/_data/examples/file-manager/frontend/python-bridge.mjs +854 -0
- neutralino/_data/examples/file-manager/frontend/style.css +4 -0
- neutralino/_data/examples/hybrid/README.md +48 -0
- neutralino/_data/examples/hybrid/app.py +80 -0
- neutralino/_data/examples/hybrid/components/counter.mjs +37 -0
- neutralino/_data/examples/hybrid/components/widget.mjs +23 -0
- neutralino/_data/examples/hybrid/styles.css +21 -0
- neutralino/_data/examples/hybrid/widget/package.json +20 -0
- neutralino/_data/examples/hybrid/widget/src/Widget.jsx +25 -0
- neutralino/_data/examples/hybrid/widget/vite.config.mjs +19 -0
- neutralino/_data/examples/monitor/README.md +36 -0
- neutralino/_data/examples/monitor/app.py +375 -0
- neutralino/_data/examples/react/README.md +90 -0
- neutralino/_data/examples/react/app.py +68 -0
- neutralino/_data/examples/react/frontend/.gitignore +5 -0
- neutralino/_data/examples/react/frontend/index.html +17 -0
- neutralino/_data/examples/react/frontend/package-lock.json +1232 -0
- neutralino/_data/examples/react/frontend/package.json +25 -0
- neutralino/_data/examples/react/frontend/scripts/prepare-bridge.mjs +49 -0
- neutralino/_data/examples/react/frontend/src/App.tsx +157 -0
- neutralino/_data/examples/react/frontend/src/backend.ts +21 -0
- neutralino/_data/examples/react/frontend/src/calls.test.ts +206 -0
- neutralino/_data/examples/react/frontend/src/calls.ts +306 -0
- neutralino/_data/examples/react/frontend/src/globals.d.ts +14 -0
- neutralino/_data/examples/react/frontend/src/hooks.ts +45 -0
- neutralino/_data/examples/react/frontend/src/main.tsx +13 -0
- neutralino/_data/examples/react/frontend/src/styles.css +11 -0
- neutralino/_data/examples/react/frontend/tsconfig.json +18 -0
- neutralino/_data/examples/react/frontend/vite.config.ts +9 -0
- neutralino/_data/examples/settings/README.md +38 -0
- neutralino/_data/examples/settings/app.py +440 -0
- neutralino/_data/examples/updater/.gitignore +2 -0
- neutralino/_data/examples/updater/README.md +82 -0
- neutralino/_data/examples/updater/app.py +160 -0
- neutralino/_data/examples/updater/app.toml +21 -0
- neutralino/_data/examples/updater/demo.py +107 -0
- neutralino/_data/examples/updater/requirements.txt +2 -0
- neutralino/_data/examples/updater/sources/github-private.toml +21 -0
- neutralino/_data/examples/updater/sources/github-public.toml +21 -0
- neutralino/_data/examples/vanilla/README.md +35 -0
- neutralino/_data/examples/vanilla/app.py +46 -0
- neutralino/_data/examples/vanilla/frontend/index.html +17 -0
- neutralino/_data/examples/vanilla/frontend/main.js +29 -0
- neutralino/_data/examples/vanilla/frontend/neutralino.js +1 -0
- neutralino/_data/examples/vanilla/frontend/python-bridge.d.ts +207 -0
- neutralino/_data/examples/vanilla/frontend/python-bridge.mjs +854 -0
- neutralino/_data/examples/vanilla/frontend/style.css +4 -0
- neutralino/_data/explorer/app.py +1328 -0
- neutralino/_data/explorer/catalogue.json +48179 -0
- neutralino/_data/explorer/explorer_previews.py +247 -0
- neutralino/_data/explorer/sources/native/always_on_top.py +55 -0
- neutralino/_data/explorer/sources/native/binary.py +125 -0
- neutralino/_data/explorer/sources/native/borderless.py +99 -0
- neutralino/_data/explorer/sources/native/broadcast.py +90 -0
- neutralino/_data/explorer/sources/native/config.py +78 -0
- neutralino/_data/explorer/sources/native/controls.py +140 -0
- neutralino/_data/explorer/sources/native/directory.py +163 -0
- neutralino/_data/explorer/sources/native/displays.py +75 -0
- neutralino/_data/explorer/sources/native/env.py +98 -0
- neutralino/_data/explorer/sources/native/events.py +124 -0
- neutralino/_data/explorer/sources/native/exec_command.py +79 -0
- neutralino/_data/explorer/sources/native/folder.py +70 -0
- neutralino/_data/explorer/sources/native/icon_badge.py +101 -0
- neutralino/_data/explorer/sources/native/image.py +119 -0
- neutralino/_data/explorer/sources/native/lifecycle.py +99 -0
- neutralino/_data/explorer/sources/native/locale.py +70 -0
- neutralino/_data/explorer/sources/native/main_menu.py +103 -0
- neutralino/_data/explorer/sources/native/message_box.py +101 -0
- neutralino/_data/explorer/sources/native/mouse.py +70 -0
- neutralino/_data/explorer/sources/native/multi_window.py +134 -0
- neutralino/_data/explorer/sources/native/notification.py +74 -0
- neutralino/_data/explorer/sources/native/open_external.py +81 -0
- neutralino/_data/explorer/sources/native/open_file.py +102 -0
- neutralino/_data/explorer/sources/native/paths.py +77 -0
- neutralino/_data/explorer/sources/native/print_snapshot.py +84 -0
- neutralino/_data/explorer/sources/native/read_write.py +192 -0
- neutralino/_data/explorer/sources/native/resources.py +110 -0
- neutralino/_data/explorer/sources/native/save_file.py +101 -0
- neutralino/_data/explorer/sources/native/server_mount.py +106 -0
- neutralino/_data/explorer/sources/native/sound.py +84 -0
- neutralino/_data/explorer/sources/native/spawn_process.py +128 -0
- neutralino/_data/explorer/sources/native/states.py +122 -0
- neutralino/_data/explorer/sources/native/stats_permissions.py +147 -0
- neutralino/_data/explorer/sources/native/storage.py +108 -0
- neutralino/_data/explorer/sources/native/system_info.py +115 -0
- neutralino/_data/explorer/sources/native/text.py +133 -0
- neutralino/_data/explorer/sources/native/trash.py +98 -0
- neutralino/_data/explorer/sources/native/tray.py +109 -0
- neutralino/_data/explorer/sources/native/watcher.py +167 -0
- neutralino/_data/explorer/sources/patterns/content_blocks.py +119 -0
- neutralino/_data/explorer/sources/patterns/dynamic_dashboard.py +121 -0
- neutralino/_data/explorer/sources/patterns/dynamic_form.py +120 -0
- neutralino/_data/explorer/sources/patterns/dynamic_table.py +109 -0
- neutralino/_data/explorer/sources/patterns/error_reporting.mjs +24 -0
- neutralino/_data/explorer/sources/patterns/error_reporting.py +124 -0
- neutralino/_data/explorer/sources/patterns/errors_timeouts.py +108 -0
- neutralino/_data/explorer/sources/patterns/feature_flags.py +99 -0
- neutralino/_data/explorer/sources/patterns/file_drop.py +126 -0
- neutralino/_data/explorer/sources/patterns/http_from_python.py +152 -0
- neutralino/_data/explorer/sources/patterns/keyboard_shortcuts.py +153 -0
- neutralino/_data/explorer/sources/patterns/live_config_reload.py +160 -0
- neutralino/_data/explorer/sources/patterns/logging.py +184 -0
- neutralino/_data/explorer/sources/patterns/long_tasks.py +121 -0
- neutralino/_data/explorer/sources/patterns/multi_window_sync.py +68 -0
- neutralino/_data/explorer/sources/patterns/navigation_from_backend.py +109 -0
- neutralino/_data/explorer/sources/patterns/onboarding.py +123 -0
- neutralino/_data/explorer/sources/patterns/optimistic_updates.py +89 -0
- neutralino/_data/explorer/sources/patterns/persistence.py +114 -0
- neutralino/_data/explorer/sources/patterns/python_calls_page.mjs +10 -0
- neutralino/_data/explorer/sources/patterns/python_calls_page.py +64 -0
- neutralino/_data/explorer/sources/patterns/python_push.py +84 -0
- neutralino/_data/explorer/sources/patterns/recurring_events.py +114 -0
- neutralino/_data/explorer/sources/patterns/roles_permissions.py +104 -0
- neutralino/_data/explorer/sources/patterns/scheduled_jobs.py +194 -0
- neutralino/_data/explorer/sources/patterns/settings_page.py +165 -0
- neutralino/_data/explorer/sources/patterns/sqlite.py +181 -0
- neutralino/_data/explorer/sources/patterns/streaming.py +102 -0
- neutralino/_data/explorer/sources/patterns/texts_i18n.py +81 -0
- neutralino/_data/explorer/sources/patterns/theme_from_backend.py +86 -0
- neutralino/_data/explorer/sources/patterns/updater.py +232 -0
- neutralino/_data/explorer/sources/workspace/calendar/app.py +547 -0
- neutralino/_data/explorer/sources/workspace/customers/app.py +467 -0
- neutralino/_data/explorer/sources/workspace/dashboard/README.md +36 -0
- neutralino/_data/explorer/sources/workspace/dashboard/app.py +367 -0
- neutralino/_data/explorer/sources/workspace/documents/app.py +511 -0
- neutralino/_data/explorer/sources/workspace/inbox/app.py +439 -0
- neutralino/_data/explorer/sources/workspace/orders/app.py +491 -0
- neutralino/_data/explorer/sources/workspace/reports/app.py +386 -0
- neutralino/_data/explorer/sources/workspace/settings/README.md +38 -0
- neutralino/_data/explorer/sources/workspace/settings/app.py +440 -0
- neutralino/_data/explorer/sources/workspace/system/README.md +36 -0
- neutralino/_data/explorer/sources/workspace/system/app.py +375 -0
- neutralino/_data/explorer/sources/workspace/tasks/app.py +462 -0
- neutralino/_data/renderer/LICENSES/@babel__runtime@7.29.17/LICENSE +22 -0
- neutralino/_data/renderer/LICENSES/@codemirror__autocomplete@6.20.4/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__commands@6.11.2/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__lang-css@6.3.1/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__lang-html@6.4.12/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__lang-javascript@6.2.5/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__lang-json@6.0.2/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__lang-markdown@6.5.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__lang-python@6.2.1/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__lang-sql@6.10.0/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__lang-yaml@6.1.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__language@6.13.1/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__search@6.7.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__state@6.7.6/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__view@6.44.2/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@dnd-kit__accessibility@3.1.1/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@dnd-kit__core@6.3.1/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@dnd-kit__sortable@10.0.0/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@dnd-kit__utilities@3.2.2/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@emoji-mart__data@1.2.1/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@floating-ui__core@1.8.0/LICENSE +20 -0
- neutralino/_data/renderer/LICENSES/@floating-ui__dom@1.8.0/LICENSE +20 -0
- neutralino/_data/renderer/LICENSES/@floating-ui__react-dom@2.1.9/LICENSE +20 -0
- neutralino/_data/renderer/LICENSES/@floating-ui__react@0.27.20/LICENSE +20 -0
- neutralino/_data/renderer/LICENSES/@floating-ui__utils@0.2.12/LICENSE +20 -0
- neutralino/_data/renderer/LICENSES/@lezer__common@1.5.7/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@lezer__css@1.3.9/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@lezer__highlight@1.2.5/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@lezer__html@1.3.13/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@lezer__javascript@1.5.7/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@lezer__json@1.0.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@lezer__lr@1.4.13/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@lezer__markdown@1.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@lezer__python@1.1.21/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@lezer__yaml@1.0.4/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__carousel@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__charts@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__code-highlight@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__core@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__dates@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__dropzone@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__emoji@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__hooks@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__lightbox@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__notifications@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__nprogress@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__schedule@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__spotlight@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__store@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__tiptap@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@marijn__find-cluster-break@1.0.4/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@reduxjs__toolkit@2.16.0/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@tabler__icons-react@3.55.0/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@tanstack__react-virtual@3.14.32/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@tanstack__virtual-core@3.19.17/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__core@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-blockquote@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-bold@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-code-block@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-code@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-document@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-hard-break@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-heading@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-horizontal-rule@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-italic@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-link@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-list@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-paragraph@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-strike@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-text@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-underline@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extensions@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__react@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__starter-kit@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/attr-accept@4.0.1/LICENSE +22 -0
- neutralino/_data/renderer/LICENSES/clsx@2.1.1/license +9 -0
- neutralino/_data/renderer/LICENSES/crelt@1.0.7/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/d3-array@3.2.5/LICENSE +13 -0
- neutralino/_data/renderer/LICENSES/d3-color@3.1.1/LICENSE +13 -0
- neutralino/_data/renderer/LICENSES/d3-format@3.1.3/LICENSE +13 -0
- neutralino/_data/renderer/LICENSES/d3-interpolate@3.0.2/LICENSE +13 -0
- neutralino/_data/renderer/LICENSES/d3-path@3.1.1/LICENSE +13 -0
- neutralino/_data/renderer/LICENSES/d3-scale@4.0.3/LICENSE +13 -0
- neutralino/_data/renderer/LICENSES/d3-shape@3.2.1/LICENSE +13 -0
- neutralino/_data/renderer/LICENSES/d3-time-format@4.1.1/LICENSE +13 -0
- neutralino/_data/renderer/LICENSES/d3-time@3.1.1/LICENSE +13 -0
- neutralino/_data/renderer/LICENSES/dayjs@1.11.23/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/decimal.js-light@2.5.1/LICENCE.md +23 -0
- neutralino/_data/renderer/LICENSES/diff@9.0.0/LICENSE +29 -0
- neutralino/_data/renderer/LICENSES/dompurify@3.5.1/LICENSE +202 -0
- neutralino/_data/renderer/LICENSES/dompurify@3.5.1/LICENSE-MPL +373 -0
- neutralino/_data/renderer/LICENSES/embla-carousel-react@8.6.0/MIT-embla-carousel.txt +21 -0
- neutralino/_data/renderer/LICENSES/embla-carousel-reactive-utils@8.6.0/MIT-embla-carousel.txt +21 -0
- neutralino/_data/renderer/LICENSES/embla-carousel@8.6.0/MIT-embla-carousel.txt +21 -0
- neutralino/_data/renderer/LICENSES/es-toolkit@1.53.2/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/es-toolkit@1.53.2/NOTICE +39 -0
- neutralino/_data/renderer/LICENSES/eventemitter3@5.0.4/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/fast-equals@5.4.7/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/file-selector@5.0.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/get-nonce@1.0.1/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/immer@11.2.14/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/linkifyjs@4.4.0/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/marked@18.4.0/LICENSE +44 -0
- neutralino/_data/renderer/LICENSES/neutralino.js@6.11.0/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/orderedmap@2.1.1/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/packages.json +1838 -0
- neutralino/_data/renderer/LICENSES/prosemirror-commands@1.7.2/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/prosemirror-dropcursor@1.8.4/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/prosemirror-gapcursor@1.4.1/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/prosemirror-history@1.5.2/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/prosemirror-keymap@1.2.3/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/prosemirror-model@1.25.13/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/prosemirror-schema-list@1.6.1/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/prosemirror-state@1.4.4/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/prosemirror-transform@1.12.7/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/prosemirror-view@1.44.0/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/react-dom@19.3.1/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/react-dropzone@20.1.4/LICENSE +22 -0
- neutralino/_data/renderer/LICENSES/react-is@19.3.1/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/react-number-format@5.4.5/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/react-redux@9.3.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/react-remove-scroll-bar@2.3.8/MIT-react-remove-scroll-bar.txt +21 -0
- neutralino/_data/renderer/LICENSES/react-remove-scroll@2.7.2/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/react-style-singleton@2.2.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/react-transition-group@4.4.5/LICENSE +30 -0
- neutralino/_data/renderer/LICENSES/react@19.3.1/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/recharts@3.11.3/LICENSE +22 -0
- neutralino/_data/renderer/LICENSES/redux-thunk@3.1.0/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/redux@5.0.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/reselect@5.2.0/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/rolldown@1.3.4/LICENSE +25 -0
- neutralino/_data/renderer/LICENSES/rope-sequence@1.3.4/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/rrule@2.8.1/LICENCE +65 -0
- neutralino/_data/renderer/LICENSES/scheduler@0.28.0/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/style-mod@4.1.5/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/tiny-invariant@1.3.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/tslib@2.9.1/LICENSE.txt +12 -0
- neutralino/_data/renderer/LICENSES/use-callback-ref@1.3.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/use-sidecar@1.1.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/use-sync-external-store@1.7.0/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/victory-vendor@38.1.1/LICENSE.txt +150 -0
- neutralino/_data/renderer/LICENSES/vite@8.4.1/LICENSE.md +2320 -0
- neutralino/_data/renderer/LICENSES/w3c-keyname@2.2.8/LICENSE +19 -0
- neutralino/_data/renderer/assets/IconGripVertical-BlJrWVuo.js +1 -0
- neutralino/_data/renderer/assets/carousel-D1j1SkWR.css +1 -0
- neutralino/_data/renderer/assets/carousel-DniHwTLK.js +1 -0
- neutralino/_data/renderer/assets/chunk-CCkLOSkX.css +1 -0
- neutralino/_data/renderer/assets/chunk-Du0h7lB-.js +9 -0
- neutralino/_data/renderer/assets/codehighlight-CCe_blv1.js +10 -0
- neutralino/_data/renderer/assets/codehighlight-THJMNDh8.css +1 -0
- neutralino/_data/renderer/assets/codemirror-CinrNxVJ.js +2 -0
- neutralino/_data/renderer/assets/css-CMUk25uq.js +1 -0
- neutralino/_data/renderer/assets/dist-70Le0T2N.js +1 -0
- neutralino/_data/renderer/assets/dist-BCHbQlae.js +11 -0
- neutralino/_data/renderer/assets/dist-BXts23GT.js +1 -0
- neutralino/_data/renderer/assets/dist-D2RX2UgP.js +23 -0
- neutralino/_data/renderer/assets/dist-DikJK2lp.js +1 -0
- neutralino/_data/renderer/assets/dist-acbbRM1z.js +1 -0
- neutralino/_data/renderer/assets/dnd-DaaaVala.js +5 -0
- neutralino/_data/renderer/assets/dropzone-CeqF5SZx.js +1 -0
- neutralino/_data/renderer/assets/dropzone-aPCBPjDN.css +1 -0
- neutralino/_data/renderer/assets/embla-carousel-react.esm-CbyYjwMN.js +1 -0
- neutralino/_data/renderer/assets/emoji-BfRPfoVw.js +1 -0
- neutralino/_data/renderer/assets/emoji-DV8OzU1E.css +1 -0
- neutralino/_data/renderer/assets/esm-C5ZYjSBQ.js +82 -0
- neutralino/_data/renderer/assets/highlight-CB6hGb5A.js +3 -0
- neutralino/_data/renderer/assets/highlight-Dlb5DJwL.css +1 -0
- neutralino/_data/renderer/assets/html-Dad3kwIa.js +1 -0
- neutralino/_data/renderer/assets/icon-chunk-X3Kr0nh-.js +1 -0
- neutralino/_data/renderer/assets/index-CU0HB-J7.js +69 -0
- neutralino/_data/renderer/assets/index-TWpF4Lef.css +1 -0
- neutralino/_data/renderer/assets/javascript-BQb8vpw3.js +1 -0
- neutralino/_data/renderer/assets/json-BCFmxlML.js +1 -0
- neutralino/_data/renderer/assets/lightbox-BHtgbsUV.js +1 -0
- neutralino/_data/renderer/assets/lightbox-BzKDpkAD.css +1 -0
- neutralino/_data/renderer/assets/markdown-DSuAylvy.js +5 -0
- neutralino/_data/renderer/assets/markdown-DjaNWMgH.js +77 -0
- neutralino/_data/renderer/assets/python-pdbIAveZ.js +9 -0
- neutralino/_data/renderer/assets/richtext-DIAsHMuK.css +1 -0
- neutralino/_data/renderer/assets/richtext-Z6fG9G2_.js +137 -0
- neutralino/_data/renderer/assets/spotlight-Ccstaz1-.css +1 -0
- neutralino/_data/renderer/assets/spotlight-knlyJw_A.js +1 -0
- neutralino/_data/renderer/assets/sql-DLoQFEde.js +2 -0
- neutralino/_data/renderer/assets/with-selector-BOM9_OlN.js +1 -0
- neutralino/_data/renderer/assets/yaml-BJNzokSe.js +1 -0
- neutralino/_data/renderer/index.html +22 -0
- neutralino/_data/renderer/manifest.json +202 -0
- neutralino/_data/renderer/neutralino.js +1 -0
- neutralino/_data/renderer/shared/mantine-core.mjs +5 -0
- neutralino/_data/renderer/shared/mantine-hooks.mjs +5 -0
- neutralino/_data/renderer/shared/react-dom-client.mjs +5 -0
- neutralino/_data/renderer/shared/react-dom.mjs +6 -0
- neutralino/_data/renderer/shared/react-jsx-runtime.mjs +5 -0
- neutralino/_data/renderer/shared/react.mjs +6 -0
- neutralino/_data/skills/README.md +6 -0
- neutralino/_data/skills/neutralino-app-patterns/SKILL.md +101 -0
- neutralino/_data/skills/neutralino-app-patterns/references/dashboards-and-background-work.md +55 -0
- neutralino/_data/skills/neutralino-app-patterns/references/storage-and-settings.md +57 -0
- neutralino/_data/skills/neutralino-app-patterns/references/tables-and-crud.md +81 -0
- neutralino/_data/skills/neutralino-frontend/SKILL.md +121 -0
- neutralino/_data/skills/neutralino-frontend/references/bridge.md +63 -0
- neutralino/_data/skills/neutralino-frontend/references/custom-components.md +84 -0
- neutralino/_data/skills/neutralino-frontend/references/frameworks.md +61 -0
- neutralino/_data/skills/neutralino-maintenance/SKILL.md +85 -0
- neutralino/_data/skills/neutralino-maintenance/references/platforms-and-gates.md +35 -0
- neutralino/_data/skills/neutralino-maintenance/references/records.md +38 -0
- neutralino/_data/skills/neutralino-maintenance/references/review-process.md +36 -0
- neutralino/_data/skills/neutralino-native/SKILL.md +107 -0
- neutralino/_data/skills/neutralino-native/references/api-conventions.md +72 -0
- neutralino/_data/skills/neutralino-native/references/desktop-helpers.md +53 -0
- neutralino/_data/skills/neutralino-native/references/permissions-windows.md +53 -0
- neutralino/_data/skills/neutralino-packaging/SKILL.md +99 -0
- neutralino/_data/skills/neutralino-packaging/references/build-layout.md +51 -0
- neutralino/_data/skills/neutralino-packaging/references/managed-install.md +59 -0
- neutralino/_data/skills/neutralino-packaging/references/templates-and-config.md +63 -0
- neutralino/_data/skills/neutralino-python/SKILL.md +109 -0
- neutralino/_data/skills/neutralino-python/references/architecture.md +53 -0
- neutralino/_data/skills/neutralino-python/references/cli.md +60 -0
- neutralino/_data/skills/neutralino-python/references/platforms-security.md +44 -0
- neutralino/_data/skills/neutralino-rpc/SKILL.md +114 -0
- neutralino/_data/skills/neutralino-rpc/references/errors-and-limits.md +44 -0
- neutralino/_data/skills/neutralino-rpc/references/expose-and-context.md +74 -0
- neutralino/_data/skills/neutralino-rpc/references/streams-and-cancellation.md +53 -0
- neutralino/_data/skills/neutralino-ui/SKILL.md +115 -0
- neutralino/_data/skills/neutralino-ui/references/components-and-tree.md +74 -0
- neutralino/_data/skills/neutralino-ui/references/state-forms-events.md +85 -0
- neutralino/_data/skills/neutralino-ui/references/themes-profiles-assets.md +105 -0
- neutralino/_data/skills/neutralino-updates/SKILL.md +94 -0
- neutralino/_data/skills/neutralino-updates/references/config-and-api.md +80 -0
- neutralino/_data/skills/neutralino-updates/references/releases-and-install.md +77 -0
- neutralino/_data/skills/neutralino-updates/references/security-rollback.md +48 -0
- neutralino/_data/ui/contracts.json +32927 -0
- neutralino/_data/ui/emoji.json +1 -0
- neutralino/_data/upstream-lock.json +97 -0
- neutralino/_managed.py +1099 -0
- neutralino/_paths.py +220 -0
- neutralino/_platform.py +150 -0
- neutralino/_scaffold.py +344 -0
- neutralino/api/_base.py +99 -0
- neutralino/api/_custom.py +1350 -0
- neutralino/api/_dec.py +21 -0
- neutralino/api/_enc.py +80 -0
- neutralino/api/app.py +119 -0
- neutralino/api/clipboard.py +101 -0
- neutralino/api/computer.py +261 -0
- neutralino/api/custom.py +36 -0
- neutralino/api/debug.py +41 -0
- neutralino/api/extensions.py +57 -0
- neutralino/api/filesystem.py +633 -0
- neutralino/api/net.py +22 -0
- neutralino/api/os.py +508 -0
- neutralino/api/resources.py +124 -0
- neutralino/api/server.py +66 -0
- neutralino/api/storage.py +98 -0
- neutralino/api/types.py +342 -0
- neutralino/api/updater.py +22 -0
- neutralino/api/window.py +397 -0
- neutralino/application.py +1260 -0
- neutralino/bundle.py +187 -0
- neutralino/cli.py +629 -0
- neutralino/client.py +496 -0
- neutralino/config.py +671 -0
- neutralino/devtools.py +1973 -0
- neutralino/errors.py +142 -0
- neutralino/events.py +579 -0
- neutralino/execution.py +293 -0
- neutralino/extension.py +134 -0
- neutralino/frontend/python-bridge.d.ts +207 -0
- neutralino/frontend/python-bridge.mjs +854 -0
- neutralino/protocol.py +456 -0
- neutralino/py.typed +0 -0
- neutralino/rpc.py +1625 -0
- neutralino/runtime.py +591 -0
- neutralino/supervisor.py +866 -0
- neutralino/sync_client.py +376 -0
- neutralino/templates/default/app.py +32 -0
- neutralino/templates/default/frontend/app.js +28 -0
- neutralino/templates/default/frontend/index.html +26 -0
- neutralino/templates/default/frontend/neutralino.js +1 -0
- neutralino/templates/default/frontend/styles.css +8 -0
- neutralino/templates/default/gitignore.txt +3 -0
- neutralino/templates/default/neutralino.config.json +25 -0
- neutralino/templates/hybrid/README.md +17 -0
- neutralino/templates/hybrid/app.py +49 -0
- neutralino/templates/hybrid/components/counter.mjs +37 -0
- neutralino/templates/hybrid/styles.css +21 -0
- neutralino/templates/python-ui/README.md +15 -0
- neutralino/templates/python-ui/app.py +44 -0
- neutralino/templates/python-ui/gitignore.txt +3 -0
- neutralino/templates/python-ui/requirements.txt +4 -0
- neutralino/templates/react/README.md +28 -0
- neutralino/templates/react/app.py +52 -0
- neutralino/templates/react/components/widget.mjs +23 -0
- neutralino/templates/react/widget/package.json +20 -0
- neutralino/templates/react/widget/src/Widget.jsx +25 -0
- neutralino/templates/react/widget/vite.config.mjs +19 -0
- neutralino/transport.py +661 -0
- neutralino/types.py +93 -0
- neutralino/ui/__init__.py +139 -0
- neutralino/ui/_app.py +1529 -0
- neutralino/ui/_assets.py +407 -0
- neutralino/ui/_bases.py +1210 -0
- neutralino/ui/_behaviours.py +1066 -0
- neutralino/ui/_charts.py +732 -0
- neutralino/ui/_component.py +882 -0
- neutralino/ui/_dates.py +168 -0
- neutralino/ui/_desktop.py +879 -0
- neutralino/ui/_events.py +192 -0
- neutralino/ui/_filters.py +427 -0
- neutralino/ui/_forms.py +282 -0
- neutralino/ui/_protocol.py +201 -0
- neutralino/ui/_schedule.py +543 -0
- neutralino/ui/_security.py +106 -0
- neutralino/ui/_session.py +969 -0
- neutralino/ui/_state.py +199 -0
- neutralino/ui/_tables.py +256 -0
- neutralino/ui/_theme.py +154 -0
- neutralino/ui/blocks/__init__.py +19 -0
- neutralino/ui/blocks/_data.py +2239 -0
- neutralino/ui/blocks/_interactive.py +622 -0
- neutralino/ui/blocks/_layout.py +2967 -0
- neutralino/ui/components/__init__.py +81 -0
- neutralino/ui/components/_dates.py +879 -0
- neutralino/ui/components/_editors.py +217 -0
- neutralino/ui/components/_extensions.py +790 -0
- neutralino/ui/components/_extras.py +303 -0
- neutralino/ui/components/_generated.py +30565 -0
- neutralino/ui/components/_types.py +17 -0
- neutralino/ui/schema.py +824 -0
- neutralino/ui/validators.py +362 -0
- neutralino/updates/__init__.py +96 -0
- neutralino/updates/_http.py +320 -0
- neutralino/updates/_layout.py +762 -0
- neutralino/updates/archive.py +216 -0
- neutralino/updates/config.py +256 -0
- neutralino/updates/errors.py +97 -0
- neutralino/updates/install.sh.in +201 -0
- neutralino/updates/launcher.py +18 -0
- neutralino/updates/manager.py +808 -0
- neutralino/updates/manifest.py +196 -0
- neutralino/updates/release.py +314 -0
- neutralino/updates/semver.py +84 -0
- neutralino/updates/sources.py +392 -0
- neutralino/windows.py +316 -0
- neutralino_python-0.1.0.dist-info/METADATA +121 -0
- neutralino_python-0.1.0.dist-info/RECORD +521 -0
- neutralino_python-0.1.0.dist-info/WHEEL +4 -0
- neutralino_python-0.1.0.dist-info/entry_points.txt +3 -0
- neutralino_python-0.1.0.dist-info/licenses/LICENSE +21 -0
- neutralino_python-0.1.0.dist-info/licenses/THIRD_PARTY_NOTICES.md +16 -0
- neutralino_python-0.1.0.dist-info/licenses/src/neutralino/_data/renderer/LICENSES/packages.json +1838 -0
|
@@ -0,0 +1,1685 @@
|
|
|
1
|
+
# UI component reference
|
|
2
|
+
|
|
3
|
+
Generated from the UI contracts of this version.
|
|
4
|
+
|
|
5
|
+
## behaviours
|
|
6
|
+
|
|
7
|
+
### ui.Hotkeys
|
|
8
|
+
|
|
9
|
+
Non-visual keyboard shortcuts for the page it is on. Each binding ('mod+s', 'ctrl+k', 'escape') that is pressed emits a hotkey event whose value is the binding; 'mod' is Ctrl, or Cmd on macOS. Hidden (visible=False) or removed Hotkeys stop listening.
|
|
10
|
+
|
|
11
|
+
- props: `bindings`, `prevent_default`, `ignore_inputs`
|
|
12
|
+
- events: `on_hotkey`
|
|
13
|
+
|
|
14
|
+
## buttons
|
|
15
|
+
|
|
16
|
+
### ui.ActionIcon
|
|
17
|
+
|
|
18
|
+
Icon button. `icon` is a registry name (for example 'heart', 'trash'; see the renderer icon registry) and always set aria_label for screen readers.
|
|
19
|
+
|
|
20
|
+
- props: `icon`, `variant` (filled/light/outline/subtle/transparent/white/default/gradient), `color`, `size`, `radius`, `loading`, `disabled`
|
|
21
|
+
- events: `on_click`
|
|
22
|
+
|
|
23
|
+
### ui.ActionIconGroup
|
|
24
|
+
|
|
25
|
+
Joined row of action icons.
|
|
26
|
+
|
|
27
|
+
- props: `orientation` (horizontal/vertical)
|
|
28
|
+
|
|
29
|
+
### ui.Burger
|
|
30
|
+
|
|
31
|
+
Menu (hamburger) button; Python owns `opened` and toggles it on `click`.
|
|
32
|
+
|
|
33
|
+
- props: `opened`, `size`, `color`, `line_size`, `transition_duration`
|
|
34
|
+
- events: `on_click`
|
|
35
|
+
|
|
36
|
+
### ui.Button
|
|
37
|
+
|
|
38
|
+
Clickable button.
|
|
39
|
+
|
|
40
|
+
- props: `label`, `variant` (filled/light/outline/subtle/transparent/white/default/gradient), `color`, `size`, `radius`, `loading`, `disabled`, `full_width`, `type` (button/submit/reset)
|
|
41
|
+
- events: `on_click`
|
|
42
|
+
- slots: `left_section`, `right_section`
|
|
43
|
+
|
|
44
|
+
### ui.ButtonGroup
|
|
45
|
+
|
|
46
|
+
Joined row of buttons.
|
|
47
|
+
|
|
48
|
+
- props: `orientation` (horizontal/vertical)
|
|
49
|
+
|
|
50
|
+
### ui.CloseButton
|
|
51
|
+
|
|
52
|
+
Small close (x) button.
|
|
53
|
+
|
|
54
|
+
- props: `size`, `radius`, `disabled`, `icon_size`, `variant` (subtle/transparent/filled/light/outline/default)
|
|
55
|
+
- events: `on_click`
|
|
56
|
+
|
|
57
|
+
### ui.CopyButton
|
|
58
|
+
|
|
59
|
+
Button that copies `value` to the system clipboard through the page, then shows `copied_label` for `timeout` ms and fires `copy`. For writes without a user gesture use the native clipboard (Window.copy_text).
|
|
60
|
+
|
|
61
|
+
- props: `value`, `label`, `copied_label`, `timeout`, `variant` (filled/light/outline/subtle/transparent/white/default/gradient), `color`, `size`, `radius`, `disabled`
|
|
62
|
+
- events: `on_copy`
|
|
63
|
+
- slots: `left_section`
|
|
64
|
+
|
|
65
|
+
### ui.FileButton
|
|
66
|
+
|
|
67
|
+
Button that opens the page file chooser. `select` fires with a list of {name, size, type} (contents are never sent). For real paths use the native dialog (app.open_file / Window.pick_files).
|
|
68
|
+
|
|
69
|
+
- props: `label`, `accept`, `multiple`, `disabled`, `variant` (filled/light/outline/subtle/transparent/white/default/gradient), `color`, `size`, `radius`
|
|
70
|
+
- events: `on_select`
|
|
71
|
+
|
|
72
|
+
### ui.UnstyledButton
|
|
73
|
+
|
|
74
|
+
Clickable area without button styling; put any content inside.
|
|
75
|
+
|
|
76
|
+
- props: `disabled`
|
|
77
|
+
- events: `on_click`
|
|
78
|
+
|
|
79
|
+
## charts
|
|
80
|
+
|
|
81
|
+
### ui.AreaChart
|
|
82
|
+
|
|
83
|
+
Area chart (default, stacked, percent, split, stream) with typed series and gaps. append() streams points into a bounded history (max_points) in coalesced batches; None values are gaps.
|
|
84
|
+
|
|
85
|
+
- props: `data`, `data_key`, `series`, `with_x_axis`, `with_y_axis`, `with_legend`, `with_right_y_axis`, `x_axis_label`, `y_axis_label`, `right_y_axis_label`, `tick_line` (x/y/xy/none), `grid_axis` (x/y/xy/none), `stroke_dasharray`, `unit`, `text_color`, `grid_color`, `tooltip_animation_duration`, `reference_lines`, `reference_areas`, `reference_dots`, `with_brush`, `y_min`, `y_max`, `type` (default/stacked/percent/split/stream), `with_gradient`, `curve_type` (bump/linear/natural/monotone/step/stepBefore/stepAfter), `with_dots`, `stroke_width`, `fill_opacity`, `split_colors`, `split_offset`, `connect_nulls`, `with_point_labels`, `orientation` (horizontal/vertical), `value_format` (default/integer/one_decimal/two_decimals/percent/percent_value/compact/bytes/usd/eur), `max_points`, `animate`, `h`, `w`
|
|
86
|
+
- events: `on_point_click`, `on_legend_click`
|
|
87
|
+
|
|
88
|
+
### ui.BarChart
|
|
89
|
+
|
|
90
|
+
Bar chart (default, stacked, percent, waterfall) with typed series; bars with None values are skipped. append() streams points into a bounded history (max_points) in coalesced batches; None values are gaps.
|
|
91
|
+
|
|
92
|
+
- props: `data`, `data_key`, `series`, `with_x_axis`, `with_y_axis`, `with_legend`, `with_right_y_axis`, `x_axis_label`, `y_axis_label`, `right_y_axis_label`, `tick_line` (x/y/xy/none), `grid_axis` (x/y/xy/none), `stroke_dasharray`, `unit`, `text_color`, `grid_color`, `tooltip_animation_duration`, `reference_lines`, `reference_areas`, `reference_dots`, `with_brush`, `y_min`, `y_max`, `type` (default/stacked/percent/waterfall), `fill_opacity`, `cursor_fill`, `with_bar_value_label`, `min_bar_size`, `max_bar_width`, `bar_label_color`, `orientation` (horizontal/vertical), `value_format` (default/integer/one_decimal/two_decimals/percent/percent_value/compact/bytes/usd/eur), `max_points`, `animate`, `h`, `w`
|
|
93
|
+
- events: `on_point_click`, `on_legend_click`
|
|
94
|
+
|
|
95
|
+
### ui.BarsList
|
|
96
|
+
|
|
97
|
+
Ranked horizontal bars (name, value, optional color).
|
|
98
|
+
|
|
99
|
+
- props: `data`, `bars_label`, `value_label`, `bar_gap`, `min_bar_size`, `bar_height`, `bar_color`, `bar_text_color`, `auto_contrast`, `value_format` (default/integer/one_decimal/two_decimals/percent/percent_value/compact/bytes/usd/eur), `h`, `w`
|
|
100
|
+
- events: `on_bar_click`
|
|
101
|
+
|
|
102
|
+
### ui.BubbleChart
|
|
103
|
+
|
|
104
|
+
Bubble chart: x, y and bubble size (z) per row.
|
|
105
|
+
|
|
106
|
+
- props: `data`, `data_key`, `range`, `color`, `text_color`, `grid_color`, `label`, `with_tooltip`, `accessibility_layer`, `value_format` (default/integer/one_decimal/two_decimals/percent/percent_value/compact/bytes/usd/eur), `max_points`, `animate`, `h`, `w`
|
|
107
|
+
|
|
108
|
+
### ui.BulletChart
|
|
109
|
+
|
|
110
|
+
Bullet chart: a value against a target over qualitative ranges.
|
|
111
|
+
|
|
112
|
+
- props: `value`, `target`, `ranges`, `orientation` (horizontal/vertical), `label`, `bar_color`, `target_color`, `size`, `bar_size`, `target_ratio`, `target_size`, `with_tooltip`, `value_format` (default/integer/one_decimal/two_decimals/percent/percent_value/compact/bytes/usd/eur), `h`, `w`
|
|
113
|
+
|
|
114
|
+
### ui.CandlestickChart
|
|
115
|
+
|
|
116
|
+
OHLC candlestick chart; append() streams candles into a bounded history.
|
|
117
|
+
|
|
118
|
+
- props: `data`, `data_key`, `data_keys`, `labels`, `up_color`, `down_color`, `max_candle_width`, `candle_stroke_width`, `with_x_axis`, `with_y_axis`, `with_tooltip`, `tick_line` (x/y/xy/none), `grid_axis` (x/y/xy/none), `stroke_dasharray`, `unit`, `text_color`, `grid_color`, `x_axis_label`, `y_axis_label`, `tooltip_animation_duration`, `reference_lines`, `reference_areas`, `reference_dots`, `y_min`, `y_max`, `accessibility_layer`, `value_format` (default/integer/one_decimal/two_decimals/percent/percent_value/compact/bytes/usd/eur), `max_points`, `animate`, `h`, `w`
|
|
119
|
+
- events: `on_point_click`
|
|
120
|
+
|
|
121
|
+
### ui.CompositeChart
|
|
122
|
+
|
|
123
|
+
Mixes bar, line and area series on one chart (series[].type), optionally with a right y axis. append() streams points into a bounded history (max_points) in coalesced batches; None values are gaps.
|
|
124
|
+
|
|
125
|
+
- props: `data`, `data_key`, `series`, `with_x_axis`, `with_y_axis`, `with_legend`, `with_right_y_axis`, `x_axis_label`, `y_axis_label`, `right_y_axis_label`, `tick_line` (x/y/xy/none), `grid_axis` (x/y/xy/none), `stroke_dasharray`, `unit`, `text_color`, `grid_color`, `tooltip_animation_duration`, `reference_lines`, `reference_areas`, `reference_dots`, `with_brush`, `y_min`, `y_max`, `curve_type` (bump/linear/natural/monotone/step/stepBefore/stepAfter), `with_dots`, `stroke_width`, `connect_nulls`, `with_point_labels`, `with_bar_value_label`, `min_bar_size`, `max_bar_width`, `value_format` (default/integer/one_decimal/two_decimals/percent/percent_value/compact/bytes/usd/eur), `max_points`, `animate`, `h`, `w`
|
|
126
|
+
- events: `on_point_click`, `on_legend_click`
|
|
127
|
+
|
|
128
|
+
### ui.DonutChart
|
|
129
|
+
|
|
130
|
+
Donut chart of named, colored values with an optional centre label.
|
|
131
|
+
|
|
132
|
+
- props: `data`, `with_tooltip`, `with_legend`, `tooltip_animation_duration`, `stroke_color`, `label_color`, `padding_angle`, `with_labels`, `with_labels_line`, `size`, `stroke_width`, `start_angle`, `end_angle`, `tooltip_data_source` (segment/all), `labels_type` (value/percent/name), `thickness`, `chart_label`, `accessibility_layer`, `value_format` (default/integer/one_decimal/two_decimals/percent/percent_value/compact/bytes/usd/eur), `animate`, `h`, `w`
|
|
133
|
+
- events: `on_slice_click`, `on_legend_click`
|
|
134
|
+
|
|
135
|
+
### ui.FunnelChart
|
|
136
|
+
|
|
137
|
+
Funnel chart of named, colored stage values.
|
|
138
|
+
|
|
139
|
+
- props: `data`, `with_tooltip`, `with_legend`, `tooltip_animation_duration`, `stroke_color`, `label_color`, `size`, `stroke_width`, `with_labels`, `labels_position` (right/left/inside), `tooltip_data_source` (segment/all), `accessibility_layer`, `value_format` (default/integer/one_decimal/two_decimals/percent/percent_value/compact/bytes/usd/eur), `animate`, `h`, `w`
|
|
140
|
+
- events: `on_slice_click`, `on_legend_click`
|
|
141
|
+
|
|
142
|
+
### ui.GaugeChart
|
|
143
|
+
|
|
144
|
+
Gauge of a value between min and max, optional target and threshold sections.
|
|
145
|
+
|
|
146
|
+
- props: `value`, `min`, `max`, `target`, `sections`, `thickness`, `size`, `start_angle`, `end_angle`, `label`, `track_color`, `filled_color`, `target_color`, `target_size`, `round_caps`, `value_format` (default/integer/one_decimal/two_decimals/percent/percent_value/compact/bytes/usd/eur), `h`, `w`
|
|
147
|
+
|
|
148
|
+
### ui.Heatmap
|
|
149
|
+
|
|
150
|
+
Calendar heatmap of values per day (days absent from data are empty).
|
|
151
|
+
|
|
152
|
+
- props: `data`, `domain`, `start_date`, `end_date`, `with_month_labels`, `month_labels_position` (top/bottom), `month_labels`, `with_weekday_labels`, `weekday_labels`, `with_outside_dates`, `first_day_of_week`, `rect_size`, `gap`, `rect_radius`, `colors`, `weekdays_labels_width`, `months_labels_height`, `font_size`, `with_tooltip`, `split_months`, `with_legend`, `legend_labels`, `h`, `w`
|
|
153
|
+
|
|
154
|
+
### ui.LineChart
|
|
155
|
+
|
|
156
|
+
Line chart over records with typed series, gaps (None) and streaming appends. append() streams points into a bounded history (max_points) in coalesced batches; None values are gaps.
|
|
157
|
+
|
|
158
|
+
- props: `data`, `data_key`, `series`, `with_x_axis`, `with_y_axis`, `with_legend`, `with_right_y_axis`, `x_axis_label`, `y_axis_label`, `right_y_axis_label`, `tick_line` (x/y/xy/none), `grid_axis` (x/y/xy/none), `stroke_dasharray`, `unit`, `text_color`, `grid_color`, `tooltip_animation_duration`, `reference_lines`, `reference_areas`, `reference_dots`, `with_brush`, `y_min`, `y_max`, `type` (default/gradient), `gradient_stops`, `curve_type` (bump/linear/natural/monotone/step/stepBefore/stepAfter), `fill_opacity`, `with_dots`, `stroke_width`, `connect_nulls`, `with_point_labels`, `orientation` (horizontal/vertical), `value_format` (default/integer/one_decimal/two_decimals/percent/percent_value/compact/bytes/usd/eur), `max_points`, `animate`, `h`, `w`
|
|
159
|
+
- events: `on_point_click`, `on_legend_click`
|
|
160
|
+
|
|
161
|
+
### ui.MatrixChart
|
|
162
|
+
|
|
163
|
+
Matrix (cross-tab) of x/y cells with optional null (empty) cells.
|
|
164
|
+
|
|
165
|
+
- props: `data`, `x_labels`, `y_labels`, `domain`, `colors`, `cell_size`, `gap`, `cell_radius`, `with_tooltip`, `y_labels_width`, `x_labels_height`, `x_labels_position` (top/bottom), `font_size`, `empty_color`, `with_legend`, `legend_labels`, `with_x_labels`, `with_y_labels`, `x_labels_rotation`, `h`, `w`
|
|
166
|
+
|
|
167
|
+
### ui.PieChart
|
|
168
|
+
|
|
169
|
+
Pie chart of named, colored values.
|
|
170
|
+
|
|
171
|
+
- props: `data`, `with_tooltip`, `with_legend`, `tooltip_animation_duration`, `stroke_color`, `label_color`, `padding_angle`, `with_labels`, `with_labels_line`, `size`, `stroke_width`, `start_angle`, `end_angle`, `tooltip_data_source` (segment/all), `labels_type` (value/percent/name), `labels_position` (inside/outside), `accessibility_layer`, `value_format` (default/integer/one_decimal/two_decimals/percent/percent_value/compact/bytes/usd/eur), `animate`, `h`, `w`
|
|
172
|
+
- events: `on_slice_click`, `on_legend_click`
|
|
173
|
+
|
|
174
|
+
### ui.RadarChart
|
|
175
|
+
|
|
176
|
+
Radar chart over categories with typed series.
|
|
177
|
+
|
|
178
|
+
- props: `data`, `data_key`, `series`, `grid_color`, `text_color`, `with_polar_grid`, `with_polar_angle_axis`, `with_polar_radius_axis`, `with_tooltip`, `with_legend`, `with_dots`, `tooltip_animation_duration`, `accessibility_layer`, `animate`, `h`, `w`
|
|
179
|
+
- events: `on_legend_click`
|
|
180
|
+
|
|
181
|
+
### ui.RadialBarChart
|
|
182
|
+
|
|
183
|
+
Radial bar chart: one ring per named row.
|
|
184
|
+
|
|
185
|
+
- props: `data`, `data_key`, `bar_size`, `with_background`, `with_labels`, `with_legend`, `with_tooltip`, `empty_background_color`, `start_angle`, `end_angle`, `accessibility_layer`, `animate`, `h`, `w`
|
|
186
|
+
- events: `on_legend_click`
|
|
187
|
+
|
|
188
|
+
### ui.SankeyChart
|
|
189
|
+
|
|
190
|
+
Sankey diagram of index-based nodes and links.
|
|
191
|
+
|
|
192
|
+
- props: `data`, `height`, `node_width`, `node_padding`, `link_curvature`, `iterations`, `node_color`, `colors`, `link_color`, `link_opacity`, `with_tooltip`, `tooltip_animation_duration`, `text_color`, `value_format` (default/integer/one_decimal/two_decimals/percent/percent_value/compact/bytes/usd/eur), `animate`, `h`, `w`
|
|
193
|
+
|
|
194
|
+
### ui.ScatterChart
|
|
195
|
+
|
|
196
|
+
Scatter chart with one named, colored series of {x, y} points each.
|
|
197
|
+
|
|
198
|
+
- props: `data`, `data_key`, `unit`, `labels`, `point_labels` (x/y), `with_x_axis`, `with_y_axis`, `with_legend`, `with_tooltip`, `with_right_y_axis`, `tick_line` (x/y/xy/none), `grid_axis` (x/y/xy/none), `stroke_dasharray`, `text_color`, `grid_color`, `x_axis_label`, `y_axis_label`, `right_y_axis_label`, `tooltip_animation_duration`, `reference_lines`, `reference_areas`, `reference_dots`, `orientation` (horizontal/vertical), `y_min`, `y_max`, `accessibility_layer`, `value_format` (default/integer/one_decimal/two_decimals/percent/percent_value/compact/bytes/usd/eur), `animate`, `h`, `w`
|
|
199
|
+
- events: `on_legend_click`
|
|
200
|
+
|
|
201
|
+
### ui.Sparkline
|
|
202
|
+
|
|
203
|
+
Tiny trend chart over a list of numbers (None is a gap). append(*values) streams into a bounded history.
|
|
204
|
+
|
|
205
|
+
- props: `data`, `color`, `with_gradient`, `fill_opacity`, `curve_type` (bump/linear/natural/monotone/step/stepBefore/stepAfter), `stroke_width`, `trend_colors`, `connect_nulls`, `max_points`, `animate`, `h`, `w`
|
|
206
|
+
|
|
207
|
+
### ui.SunburstChart
|
|
208
|
+
|
|
209
|
+
Sunburst of a nested name/value tree.
|
|
210
|
+
|
|
211
|
+
- props: `data`, `with_tooltip`, `tooltip_animation_duration`, `stroke_color`, `size`, `inner_radius`, `gap`, `start_angle`, `end_angle`, `with_labels`, `value_format` (default/integer/one_decimal/two_decimals/percent/percent_value/compact/bytes/usd/eur), `animate`, `h`, `w`
|
|
212
|
+
|
|
213
|
+
### ui.Treemap
|
|
214
|
+
|
|
215
|
+
Treemap of a nested name/value tree.
|
|
216
|
+
|
|
217
|
+
- props: `data`, `aspect_ratio`, `with_tooltip`, `tooltip_animation_duration`, `stroke_color`, `text_color`, `height`, `stroke_width`, `auto_contrast`, `value_format` (default/integer/one_decimal/two_decimals/percent/percent_value/compact/bytes/usd/eur), `animate`, `h`, `w`
|
|
218
|
+
|
|
219
|
+
### ui.WaffleChart
|
|
220
|
+
|
|
221
|
+
Waffle chart of named, colored segment counts.
|
|
222
|
+
|
|
223
|
+
- props: `data`, `rows`, `columns`, `total`, `gap`, `cell_radius`, `empty_color`, `with_tooltip`, `with_legend`, `legend_position` (top/bottom/left/right), `fill_direction` (left-to-right/right-to-left/top-to-bottom/bottom-to-top), `size`, `h`, `w`
|
|
224
|
+
|
|
225
|
+
## data
|
|
226
|
+
|
|
227
|
+
### ui.DataTable
|
|
228
|
+
|
|
229
|
+
Data table with typed columns (ui.Column) and stable row keys. Pass rows= for small local data or provider= (called with TableQuery offset/limit/sort/search/filters) for server data answered in bounded pages; only the visible page or virtual window is sent to the page. Sorting, per-column filters, search, selection, inline edit and row actions (ui.RowAction, optional confirm) are validated in Python.
|
|
230
|
+
|
|
231
|
+
- props: `columns`, `rows`, `row_key`, `page_size`, `total`, `selection` (none/single/multiple), `selected`, `searchable`, `striped`, `highlight_on_hover`, `loading`, `empty_text`, `row_actions`, `height`, `virtual`, `row_height`, `caption`
|
|
232
|
+
- events: `on_selection_change`, `on_row_click`, `on_row_action`, `on_cell_edit`, `on_sort`
|
|
233
|
+
|
|
234
|
+
## dates
|
|
235
|
+
|
|
236
|
+
### ui.Calendar
|
|
237
|
+
|
|
238
|
+
Month calendar without its own value: highlight `selected_dates`, mark days with `indicators`, react to `day_click`; `date` is the shown month (committed when the user navigates).
|
|
239
|
+
|
|
240
|
+
- props: `date`, `selected_dates`, `indicators`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `first_day_of_week`, `weekend_days`, `min_date`, `max_date`, `excluded_dates`, `hide_outside_dates`, `hide_weekdays`, `highlight_today`, `with_week_numbers`, `number_of_columns`, `columns_to_scroll`, `max_level` (month/year/decade), `default_level` (month/year/decade), `month_label_format`, `weekday_format`, `enable_keyboard_navigation`, `full_width`, `size` (xs/sm/md/lg/xl), `min_level` (month/year/decade)
|
|
241
|
+
- events: `on_date_change`, `on_day_click`
|
|
242
|
+
|
|
243
|
+
### ui.DateInput
|
|
244
|
+
|
|
245
|
+
Free-text date input with a calendar dropdown. The value is a `datetime.date` (or a `datetime.datetime` with `with_time=True`); text is parsed with `value_format`.
|
|
246
|
+
|
|
247
|
+
- props: `value`, `label`, `description`, `placeholder`, `error`, `name`, `required`, `disabled`, `read_only`, `clearable`, `radius`, `variant` (default/filled/unstyled), `value_format`, `with_time`, `fix_on_blur`, `allow_deselect`, `presets`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `first_day_of_week`, `weekend_days`, `min_date`, `max_date`, `excluded_dates`, `hide_outside_dates`, `hide_weekdays`, `highlight_today`, `with_week_numbers`, `max_level` (month/year/decade), `default_level` (month/year/decade), `month_label_format`, `weekday_format`, `enable_keyboard_navigation`, `size` (xs/sm/md/lg/xl)
|
|
248
|
+
- events: `on_change`
|
|
249
|
+
|
|
250
|
+
### ui.DatePicker
|
|
251
|
+
|
|
252
|
+
Inline calendar picker: one date, several dates (`type='multiple'`) or a range (`type='range'`, a (start, end) tuple). Values are `datetime.date`; min/max/excluded dates are checked again in Python.
|
|
253
|
+
|
|
254
|
+
- props: `type` (default/multiple/range), `value`, `date`, `indicators`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `first_day_of_week`, `weekend_days`, `min_date`, `max_date`, `excluded_dates`, `hide_outside_dates`, `hide_weekdays`, `highlight_today`, `with_week_numbers`, `number_of_columns`, `columns_to_scroll`, `max_level` (month/year/decade), `default_level` (month/year/decade), `month_label_format`, `weekday_format`, `enable_keyboard_navigation`, `full_width`, `size` (xs/sm/md/lg/xl), `allow_deselect`, `allow_single_date_in_range`, `presets`
|
|
255
|
+
- events: `on_change`, `on_date_change`
|
|
256
|
+
|
|
257
|
+
### ui.DatePickerInput
|
|
258
|
+
|
|
259
|
+
Button-like input opening a calendar dropdown; single, multiple or range selection of `datetime.date` values.
|
|
260
|
+
|
|
261
|
+
- props: `type` (default/multiple/range), `value`, `label`, `description`, `placeholder`, `error`, `name`, `required`, `disabled`, `read_only`, `clearable`, `radius`, `variant` (default/filled/unstyled), `value_format`, `dropdown_type` (popover/modal), `close_on_change`, `sort_dates`, `label_separator`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `first_day_of_week`, `weekend_days`, `min_date`, `max_date`, `excluded_dates`, `hide_outside_dates`, `hide_weekdays`, `highlight_today`, `with_week_numbers`, `number_of_columns`, `columns_to_scroll`, `max_level` (month/year/decade), `default_level` (month/year/decade), `month_label_format`, `weekday_format`, `enable_keyboard_navigation`, `size` (xs/sm/md/lg/xl), `allow_deselect`, `allow_single_date_in_range`, `presets`
|
|
262
|
+
- events: `on_change`
|
|
263
|
+
|
|
264
|
+
### ui.DateTimePicker
|
|
265
|
+
|
|
266
|
+
Date and time picker input (dropdown calendar + time). Values are `datetime.datetime` (a (start, end) tuple with `type='range'`); see `timezone`.
|
|
267
|
+
|
|
268
|
+
- props: `timezone`, `type` (default/range), `value`, `label`, `description`, `placeholder`, `error`, `name`, `required`, `disabled`, `read_only`, `clearable`, `radius`, `variant` (default/filled/unstyled), `value_format`, `dropdown_type` (popover/modal), `label_separator`, `with_seconds`, `default_time_value`, `presets`, `allow_single_date_in_range`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `first_day_of_week`, `weekend_days`, `excluded_dates`, `hide_outside_dates`, `hide_weekdays`, `highlight_today`, `with_week_numbers`, `number_of_columns`, `columns_to_scroll`, `max_level` (month/year/decade), `default_level` (month/year/decade), `month_label_format`, `weekday_format`, `enable_keyboard_navigation`, `size` (xs/sm/md/lg/xl), `min_date`, `max_date`
|
|
269
|
+
- events: `on_change`
|
|
270
|
+
|
|
271
|
+
### ui.InlineDateTimePicker
|
|
272
|
+
|
|
273
|
+
Inline calendar with time inputs and a submit button (`submit` event). Values are `datetime.datetime`; see `timezone`.
|
|
274
|
+
|
|
275
|
+
- props: `timezone`, `type` (default/range), `value`, `date`, `with_seconds`, `default_time_value`, `label_separator`, `presets`, `allow_single_date_in_range`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `first_day_of_week`, `weekend_days`, `excluded_dates`, `hide_outside_dates`, `hide_weekdays`, `highlight_today`, `with_week_numbers`, `number_of_columns`, `columns_to_scroll`, `max_level` (month/year/decade), `default_level` (month/year/decade), `month_label_format`, `weekday_format`, `enable_keyboard_navigation`, `full_width`, `size` (xs/sm/md/lg/xl), `min_date`, `max_date`
|
|
276
|
+
- events: `on_change`, `on_date_change`, `on_submit`
|
|
277
|
+
|
|
278
|
+
### ui.MaskedDateInput
|
|
279
|
+
|
|
280
|
+
Masked date input with separate day/month/year (and time) fields and an optional calendar dropdown. The value is a `datetime.date` (a `datetime.datetime` with `with_time=True`).
|
|
281
|
+
|
|
282
|
+
- props: `value`, `label`, `description`, `error`, `name`, `required`, `disabled`, `read_only`, `clearable`, `radius`, `variant` (default/filled/unstyled), `with_time`, `with_seconds`, `format` (24h/12h), `fields_order`, `date_separator`, `time_separator`, `with_dropdown`, `allow_deselect`, `size` (xs/sm/md/lg/xl), `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `first_day_of_week`, `weekend_days`, `min_date`, `max_date`, `excluded_dates`, `hide_outside_dates`, `highlight_today`
|
|
283
|
+
- events: `on_change`
|
|
284
|
+
|
|
285
|
+
### ui.MiniCalendar
|
|
286
|
+
|
|
287
|
+
Compact strip of days (`number_of_days`) starting at `date`; selecting a day commits it as a `datetime.date`.
|
|
288
|
+
|
|
289
|
+
- props: `value`, `date`, `number_of_days`, `min_date`, `max_date`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `size` (xs/sm/md/lg/xl), `month_label_format`
|
|
290
|
+
- events: `on_change`, `on_date_change`
|
|
291
|
+
|
|
292
|
+
### ui.MonthPicker
|
|
293
|
+
|
|
294
|
+
Inline month picker (single, multiple or range); values are `datetime.date` (first day of the month).
|
|
295
|
+
|
|
296
|
+
- props: `type` (default/multiple/range), `value`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `min_date`, `max_date`, `allow_deselect`, `allow_single_date_in_range`, `presets`, `size` (xs/sm/md/lg/xl), `full_width`, `number_of_columns`, `months_list_format`, `decade_label_format`, `date`
|
|
297
|
+
- events: `on_change`, `on_date_change`
|
|
298
|
+
|
|
299
|
+
### ui.MonthPickerInput
|
|
300
|
+
|
|
301
|
+
Input opening a month picker dropdown; values are `datetime.date`.
|
|
302
|
+
|
|
303
|
+
- props: `type` (default/multiple/range), `value`, `label`, `description`, `placeholder`, `error`, `name`, `required`, `disabled`, `read_only`, `clearable`, `radius`, `variant` (default/filled/unstyled), `value_format`, `dropdown_type` (popover/modal), `close_on_change`, `sort_dates`, `label_separator`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `min_date`, `max_date`, `allow_deselect`, `allow_single_date_in_range`, `presets`, `size` (xs/sm/md/lg/xl), `full_width`, `number_of_columns`, `months_list_format`, `decade_label_format`
|
|
304
|
+
- events: `on_change`
|
|
305
|
+
|
|
306
|
+
### ui.QuarterPicker
|
|
307
|
+
|
|
308
|
+
Inline quarter picker (single, multiple or range); values are `datetime.date` (first day of the quarter).
|
|
309
|
+
|
|
310
|
+
- props: `type` (default/multiple/range), `value`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `min_date`, `max_date`, `allow_deselect`, `allow_single_date_in_range`, `presets`, `size` (xs/sm/md/lg/xl), `full_width`, `number_of_columns`, `quarters_list_format`, `decade_label_format`, `date`
|
|
311
|
+
- events: `on_change`, `on_date_change`
|
|
312
|
+
|
|
313
|
+
### ui.QuarterPickerInput
|
|
314
|
+
|
|
315
|
+
Input opening a quarter picker dropdown; values are `datetime.date`.
|
|
316
|
+
|
|
317
|
+
- props: `type` (default/multiple/range), `value`, `label`, `description`, `placeholder`, `error`, `name`, `required`, `disabled`, `read_only`, `clearable`, `radius`, `variant` (default/filled/unstyled), `value_format`, `dropdown_type` (popover/modal), `close_on_change`, `sort_dates`, `label_separator`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `min_date`, `max_date`, `allow_deselect`, `allow_single_date_in_range`, `presets`, `size` (xs/sm/md/lg/xl), `full_width`, `number_of_columns`, `quarters_list_format`, `decade_label_format`
|
|
318
|
+
- events: `on_change`
|
|
319
|
+
|
|
320
|
+
### ui.TimeGrid
|
|
321
|
+
|
|
322
|
+
Grid of time slots (`data`); picking one commits it as a `datetime.time`. Busy slots go in `disable_time` (data, checked again in Python).
|
|
323
|
+
|
|
324
|
+
- props: `value`, `data`, `format` (24h/12h), `with_seconds`, `min_time`, `max_time`, `disable_time`, `allow_deselect`, `disabled`, `size` (xs/sm/md/lg/xl), `radius`
|
|
325
|
+
- events: `on_change`
|
|
326
|
+
|
|
327
|
+
### ui.TimeInput
|
|
328
|
+
|
|
329
|
+
Native time input; the value is a `datetime.time` (None when empty). `min_time`/`max_time` are checked again in Python.
|
|
330
|
+
|
|
331
|
+
- props: `value`, `label`, `description`, `placeholder`, `error`, `name`, `required`, `disabled`, `read_only`, `radius`, `variant` (default/filled/unstyled), `with_seconds`, `min_time`, `max_time`, `size` (xs/sm/md/lg/xl)
|
|
332
|
+
- events: `on_change`
|
|
333
|
+
|
|
334
|
+
### ui.TimePicker
|
|
335
|
+
|
|
336
|
+
Segmented time picker (hours/minutes[/seconds], 12h or 24h) with an optional dropdown and preset times; the value is a `datetime.time`.
|
|
337
|
+
|
|
338
|
+
- props: `value`, `label`, `description`, `error`, `name`, `required`, `disabled`, `read_only`, `clearable`, `radius`, `variant` (default/filled/unstyled), `format` (24h/12h), `with_seconds`, `min`, `max`, `hours_step`, `minutes_step`, `seconds_step`, `with_dropdown`, `presets`, `size` (xs/sm/md/lg/xl)
|
|
339
|
+
- events: `on_change`
|
|
340
|
+
|
|
341
|
+
### ui.TimeValue
|
|
342
|
+
|
|
343
|
+
Formatted time text (12h/24h, optional seconds) of a `datetime.time`.
|
|
344
|
+
|
|
345
|
+
- props: `value`, `format` (24h/12h), `with_seconds`
|
|
346
|
+
|
|
347
|
+
### ui.WeekPicker
|
|
348
|
+
|
|
349
|
+
Inline week picker (single, multiple or range); a week is its first day (`datetime.date`, depends on `first_day_of_week`).
|
|
350
|
+
|
|
351
|
+
- props: `type` (default/multiple/range), `value`, `date`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `first_day_of_week`, `weekend_days`, `min_date`, `max_date`, `excluded_dates`, `hide_outside_dates`, `hide_weekdays`, `highlight_today`, `with_week_numbers`, `number_of_columns`, `columns_to_scroll`, `max_level` (month/year/decade), `default_level` (month/year/decade), `month_label_format`, `weekday_format`, `enable_keyboard_navigation`, `full_width`, `size` (xs/sm/md/lg/xl), `allow_deselect`, `allow_single_date_in_range`, `presets`
|
|
352
|
+
- events: `on_change`, `on_date_change`
|
|
353
|
+
|
|
354
|
+
### ui.WeekPickerInput
|
|
355
|
+
|
|
356
|
+
Input opening a week picker dropdown; weeks are their first day (`datetime.date`).
|
|
357
|
+
|
|
358
|
+
- props: `type` (default/multiple/range), `value`, `label`, `description`, `placeholder`, `error`, `name`, `required`, `disabled`, `read_only`, `clearable`, `radius`, `variant` (default/filled/unstyled), `value_format`, `dropdown_type` (popover/modal), `close_on_change`, `sort_dates`, `label_separator`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `first_day_of_week`, `weekend_days`, `min_date`, `max_date`, `excluded_dates`, `hide_outside_dates`, `hide_weekdays`, `highlight_today`, `with_week_numbers`, `number_of_columns`, `columns_to_scroll`, `max_level` (month/year/decade), `default_level` (month/year/decade), `month_label_format`, `weekday_format`, `enable_keyboard_navigation`, `size` (xs/sm/md/lg/xl), `allow_deselect`, `allow_single_date_in_range`, `presets`
|
|
359
|
+
- events: `on_change`
|
|
360
|
+
|
|
361
|
+
### ui.YearPicker
|
|
362
|
+
|
|
363
|
+
Inline year picker (single, multiple or range); values are `datetime.date` (first day of the year).
|
|
364
|
+
|
|
365
|
+
- props: `type` (default/multiple/range), `value`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `min_date`, `max_date`, `allow_deselect`, `allow_single_date_in_range`, `presets`, `size` (xs/sm/md/lg/xl), `full_width`, `number_of_columns`, `years_list_format`, `decade_label_format`, `date`
|
|
366
|
+
- events: `on_change`, `on_date_change`
|
|
367
|
+
|
|
368
|
+
### ui.YearPickerInput
|
|
369
|
+
|
|
370
|
+
Input opening a year picker dropdown; values are `datetime.date`.
|
|
371
|
+
|
|
372
|
+
- props: `type` (default/multiple/range), `value`, `label`, `description`, `placeholder`, `error`, `name`, `required`, `disabled`, `read_only`, `clearable`, `radius`, `variant` (default/filled/unstyled), `value_format`, `dropdown_type` (popover/modal), `close_on_change`, `sort_dates`, `label_separator`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `min_date`, `max_date`, `allow_deselect`, `allow_single_date_in_range`, `presets`, `size` (xs/sm/md/lg/xl), `full_width`, `number_of_columns`, `years_list_format`, `decade_label_format`
|
|
373
|
+
- events: `on_change`
|
|
374
|
+
|
|
375
|
+
## display
|
|
376
|
+
|
|
377
|
+
### ui.Accordion
|
|
378
|
+
|
|
379
|
+
Expandable items. 'value' (the open item value, or a list when multiple=True) is owned by Python; user toggles emit change.
|
|
380
|
+
|
|
381
|
+
- props: `value`, `multiple`, `variant` (default/contained/filled/separated), `chevron_position` (left/right), `chevron_size`, `disable_chevron_rotation`, `transition_duration`, `radius`, `order`, `loop`, `keep_mounted`
|
|
382
|
+
- events: `on_change`
|
|
383
|
+
|
|
384
|
+
### ui.AccordionItem
|
|
385
|
+
|
|
386
|
+
An accordion item: 'label' is the control text, children are the panel.
|
|
387
|
+
|
|
388
|
+
- props: `value`, `label`, `icon`, `disabled`
|
|
389
|
+
|
|
390
|
+
### ui.Avatar
|
|
391
|
+
|
|
392
|
+
Image, initials (from 'name' with color='initials') or icon avatar.
|
|
393
|
+
|
|
394
|
+
- props: `text`, `src`, `alt`, `name`, `color`, `size`, `radius`, `variant` (filled/light/outline/transparent/white/default)
|
|
395
|
+
|
|
396
|
+
### ui.AvatarGroup
|
|
397
|
+
|
|
398
|
+
Overlapping group of avatars (add a '+N' Avatar for overflow).
|
|
399
|
+
|
|
400
|
+
- props: `spacing`
|
|
401
|
+
|
|
402
|
+
### ui.BackgroundImage
|
|
403
|
+
|
|
404
|
+
Container with a background image; content goes on top.
|
|
405
|
+
|
|
406
|
+
- props: `src`, `radius`, `h`, `w`
|
|
407
|
+
|
|
408
|
+
### ui.Collapse
|
|
409
|
+
|
|
410
|
+
Animated show/hide of its children; 'expanded' is controlled from Python.
|
|
411
|
+
|
|
412
|
+
- props: `expanded`, `orientation` (vertical/horizontal), `transition_duration`, `animate_opacity`, `keep_mounted`
|
|
413
|
+
|
|
414
|
+
### ui.ColorSwatch
|
|
415
|
+
|
|
416
|
+
Color sample; the click event makes it selectable.
|
|
417
|
+
|
|
418
|
+
- props: `color`, `size`, `radius`, `with_shadow`
|
|
419
|
+
- events: `on_click`
|
|
420
|
+
|
|
421
|
+
### ui.DataList
|
|
422
|
+
|
|
423
|
+
Label/value list; add DataListItem children.
|
|
424
|
+
|
|
425
|
+
- props: `orientation` (horizontal/vertical), `size`, `gap`, `with_divider`, `label_width`
|
|
426
|
+
|
|
427
|
+
### ui.DataListItem
|
|
428
|
+
|
|
429
|
+
One label/value row: 'label' is the label, children are the value.
|
|
430
|
+
|
|
431
|
+
- props: `label`
|
|
432
|
+
|
|
433
|
+
### ui.EmptyState
|
|
434
|
+
|
|
435
|
+
Placeholder for empty results: icon, title, description and an 'actions' slot.
|
|
436
|
+
|
|
437
|
+
- props: `title`, `description`, `icon`, `variant` (filled/light), `align` (left/center/right), `color`, `size`, `with_indicator_background`
|
|
438
|
+
- slots: `actions`
|
|
439
|
+
|
|
440
|
+
### ui.Image
|
|
441
|
+
|
|
442
|
+
Image with fit, radius and a fallback source. Use bundled assets or data URLs (no network needed).
|
|
443
|
+
|
|
444
|
+
- props: `src`, `alt`, `fallback_src`, `fit` (contain/cover/fill/none/scale-down), `radius`, `w`, `h`, `maw`
|
|
445
|
+
|
|
446
|
+
### ui.Indicator
|
|
447
|
+
|
|
448
|
+
Dot or label badge attached to a corner of its child.
|
|
449
|
+
|
|
450
|
+
- props: `label`, `color`, `size`, `radius`, `position` (top-start/top-center/top-end/middle-start/middle-center/middle-end/bottom-start/bottom-center/bottom-end), `offset`, `inline`, `with_border`, `disabled`, `processing`, `max_value`, `show_zero`
|
|
451
|
+
|
|
452
|
+
### ui.Marquee
|
|
453
|
+
|
|
454
|
+
Continuously scrolling content.
|
|
455
|
+
|
|
456
|
+
- props: `reverse`, `pause_on_hover`, `orientation` (horizontal/vertical), `repeat`, `duration`, `gap`, `fade_edges`, `fade_edge_size`
|
|
457
|
+
|
|
458
|
+
### ui.RollingNumber
|
|
459
|
+
|
|
460
|
+
Animated number display.
|
|
461
|
+
|
|
462
|
+
- props: `value`, `prefix`, `suffix`, `decimal_scale`, `fixed_decimal_scale`, `thousand_separator`, `decimal_separator`, `animation_duration`, `tabular_numbers`, `with_live_region`
|
|
463
|
+
|
|
464
|
+
### ui.Spoiler
|
|
465
|
+
|
|
466
|
+
Collapses tall content with a show/hide control. 'expanded' is owned by Python; the user's toggle emits change.
|
|
467
|
+
|
|
468
|
+
- props: `expanded`, `max_height`, `show_label`, `hide_label`, `transition_duration`
|
|
469
|
+
- events: `on_change`
|
|
470
|
+
|
|
471
|
+
### ui.ThemeIcon
|
|
472
|
+
|
|
473
|
+
Colored square/circle holding an Icon.
|
|
474
|
+
|
|
475
|
+
- props: `size`, `color`, `radius`, `variant` (filled/light/outline/default/transparent/white/gradient), `gradient`
|
|
476
|
+
|
|
477
|
+
### ui.Timeline
|
|
478
|
+
|
|
479
|
+
Vertical timeline; 'active' is the index of the last reached item.
|
|
480
|
+
|
|
481
|
+
- props: `active`, `align` (left/right), `bullet_size`, `line_width`, `color`, `radius`, `reverse_active`
|
|
482
|
+
|
|
483
|
+
### ui.TimelineItem
|
|
484
|
+
|
|
485
|
+
One timeline entry (bullet icon, title, body children).
|
|
486
|
+
|
|
487
|
+
- props: `title`, `bullet`, `opposite`, `color`, `radius`, `line_variant` (solid/dashed/dotted)
|
|
488
|
+
|
|
489
|
+
## editors
|
|
490
|
+
|
|
491
|
+
### ui.CodeEditor
|
|
492
|
+
|
|
493
|
+
Code editor (CodeMirror 6, bundled, offline): syntax highlighting for a curated language set loaded on demand, undo/redo history, search (Mod-F), bracket matching and a Mod-S save event. The document commits to Python after a pause or on blur; assigning value from Python replaces it while keeping the caret where possible.
|
|
494
|
+
|
|
495
|
+
- props: `value`, `language` (plain/python/javascript/typescript/jsx/tsx/json/markdown/html/css/sql/yaml), `read_only`, `line_numbers`, `tab_size`, `wrap`, `height`, `max_height`, `placeholder`, `label`, `description`, `error`, `name`, `required`, `debounce`
|
|
496
|
+
- events: `on_change`, `on_save`, `on_selection_change`, `on_focus`, `on_blur`
|
|
497
|
+
|
|
498
|
+
### ui.CodeHighlight
|
|
499
|
+
|
|
500
|
+
Read-only highlighted code with copy/expand controls. Highlighting uses the bundled CodeMirror grammars (no CDN, no network); it is a display, not an editor (see CodeEditor). inline=True renders an inline code span.
|
|
501
|
+
|
|
502
|
+
- props: `code`, `language` (plain/python/javascript/typescript/jsx/tsx/json/markdown/html/css/sql/yaml), `inline`, `with_copy_button`, `with_line_numbers`, `with_border`, `with_expand_button`, `default_expanded`, `max_collapsed_height`, `radius`, `background`, `code_color_scheme` (light/dark), `copy_label`, `copied_label`, `expand_code_label`, `collapse_code_label`
|
|
503
|
+
|
|
504
|
+
### ui.CodeHighlightTabs
|
|
505
|
+
|
|
506
|
+
Several highlighted files in tabs (read-only). value is the active tab index; the change event reports tab switches.
|
|
507
|
+
|
|
508
|
+
- props: `code`, `value`, `with_copy_button`, `with_line_numbers`, `with_border`, `with_expand_button`, `default_expanded`, `max_collapsed_height`, `radius`, `background`, `code_color_scheme` (light/dark), `copy_label`, `copied_label`, `expand_code_label`, `collapse_code_label`
|
|
509
|
+
- events: `on_change`
|
|
510
|
+
|
|
511
|
+
### ui.DiffViewer
|
|
512
|
+
|
|
513
|
+
Line diff of two texts (unified or split view) with word/char/line highlights; computed in the page from the two strings (no network).
|
|
514
|
+
|
|
515
|
+
- props: `previous_value`, `current_value`, `mode` (unified/split), `diff_method` (chars/words/lines), `context_lines`, `with_line_numbers`, `add_color`, `remove_color`
|
|
516
|
+
|
|
517
|
+
### ui.JsonViewer
|
|
518
|
+
|
|
519
|
+
Collapsible tree view of JSON-safe data with types, sizes, copy and line numbers. The select event carries the clicked path (list of keys); resolve the value from your own data.
|
|
520
|
+
|
|
521
|
+
- props: `value`, `root_name`, `default_expand_depth`, `max_display_length`, `with_types`, `with_size`, `with_copy`, `with_copy_button`, `with_quotes`, `with_key_quotes`, `collapse_strings_after_length`, `sort_keys`, `group_arrays_after_length`, `radius`, `font_size`, `indent_width`, `with_border`, `with_controls`, `all_expanded`, `with_line_numbers`, `with_chevrons`, `highlight_items`, `copy_label`, `copied_label`, `expand_all_label`, `collapse_all_label`
|
|
522
|
+
- events: `on_select`
|
|
523
|
+
|
|
524
|
+
### ui.Markdown
|
|
525
|
+
|
|
526
|
+
Renders GitHub-flavoured Markdown as sanitised HTML inside Typography styles: raw HTML in the source is filtered (no scripts, frames, styles, forms or inline event handlers), links are limited to http(s), mailto and #fragments and open in the system browser, images only from the app's own files.
|
|
527
|
+
|
|
528
|
+
- props: `markdown`, `typography`
|
|
529
|
+
|
|
530
|
+
### ui.MarkdownEditor
|
|
531
|
+
|
|
532
|
+
Markdown source editor (CodeMirror, markdown mode) with a live preview that is rendered from GitHub-flavoured Markdown and sanitised (no scripts, frames, inline event handlers or unsafe links). Commits like CodeEditor; Mod-S emits save.
|
|
533
|
+
|
|
534
|
+
- props: `value`, `mode` (edit/preview/split), `read_only`, `line_numbers`, `wrap`, `height`, `placeholder`, `label`, `description`, `error`, `name`, `required`, `debounce`
|
|
535
|
+
- events: `on_change`, `on_save`, `on_focus`, `on_blur`
|
|
536
|
+
|
|
537
|
+
### ui.RichTextEditor
|
|
538
|
+
|
|
539
|
+
Rich-text editor (Tiptap StarterKit with the Mantine toolbar). The content is HTML (or Tiptap JSON with output_format='json'), sanitised with DOMPurify on the way in and out; links are limited to http(s), mailto and #fragments, pasted HTML is filtered. Commits after a pause or on blur.
|
|
540
|
+
|
|
541
|
+
- props: `value`, `output_format` (html/json), `toolbar`, `read_only`, `variant` (default/subtle), `sticky_toolbar`, `min_height`, `label`, `description`, `error`, `name`, `required`, `debounce`
|
|
542
|
+
- events: `on_change`, `on_focus`, `on_blur`
|
|
543
|
+
|
|
544
|
+
## extension
|
|
545
|
+
|
|
546
|
+
### ui.CustomComponent
|
|
547
|
+
|
|
548
|
+
Mount an application-registered custom component (plain JS adapter or compiled React component loaded with add_js_module). props are passed as JSON; the component's emit(name, data) arrives as an 'event' with payload {name, data} (JSON, at most 256 KiB); send(name, data) calls its command(). Failures in the page are contained and arrive as 'error'.
|
|
549
|
+
|
|
550
|
+
- props: `component`, `props`
|
|
551
|
+
- events: `on_event`, `on_error`
|
|
552
|
+
|
|
553
|
+
### ui.Html
|
|
554
|
+
|
|
555
|
+
HTML content. trusted=True renders developer-authored markup as-is (scripts and inline handlers still cannot run under the page CSP); otherwise the markup is sanitized like Markdown (DOMPurify: no scripts, handlers, forms, inputs, media or inline styles; links only http(s), mailto or #) and its links open in the system browser, so user, AI or network content can neither run code nor navigate the app window.
|
|
556
|
+
|
|
557
|
+
- props: `html`, `trusted`
|
|
558
|
+
|
|
559
|
+
## extensions
|
|
560
|
+
|
|
561
|
+
### ui.Carousel
|
|
562
|
+
|
|
563
|
+
Slides (CarouselSlide children) scrolled with controls, indicators, drag or the arrow/Home/End keys. 'slide' is the active index: the page commits it with 'slide_change' and assigning it from Python scrolls there. Embla options are an allowlist of plain props (loop, align, drag_free, slides_to_scroll, contain_scroll, skip_snaps, duration).
|
|
564
|
+
|
|
565
|
+
- props: `slide`, `slide_size`, `slide_gap`, `height`, `orientation` (horizontal/vertical), `type` (media/container), `with_controls`, `with_indicators`, `with_keyboard_events`, `control_size`, `controls_offset`, `include_gap_in_size`, `loop`, `align` (start/center/end), `drag_free`, `slides_to_scroll`, `contain_scroll` (trimSnaps/keepSnaps/none), `skip_snaps`, `duration`
|
|
566
|
+
- events: `on_slide_change`
|
|
567
|
+
|
|
568
|
+
### ui.CarouselSlide
|
|
569
|
+
|
|
570
|
+
One slide of a Carousel; its children are the slide content. Size and gap come from the Carousel's slide_size/slide_gap.
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
### ui.DragDropList
|
|
574
|
+
|
|
575
|
+
Sortable list (or table when 'columns' is set) of 'items' ({key, label, description?, icon?, disabled?, cells?}). Items are reordered by pointer drag (whole row or the drag handle) or by keyboard (Space to lift, arrow keys to move, Space to drop, Escape to cancel); 'reorder' sends the new key order, which Python validates and stores. Assigning 'items' (or move()) reorders the page.
|
|
576
|
+
|
|
577
|
+
- props: `items`, `columns`, `with_handle`, `disabled`, `gap`, `with_border`, `label`
|
|
578
|
+
- events: `on_reorder`
|
|
579
|
+
|
|
580
|
+
### ui.Dropzone
|
|
581
|
+
|
|
582
|
+
Drop area (and in-page file chooser) for files. Python re-validates every file: count (max_files), size (max_size), type (accept MIME types, wildcards like 'image/*' or extensions like '.csv', checked against the file name) and the name itself (no path parts, control characters or reserved names). 'drop' carries the accepted files and the rejections; accepted file content is read on demand in bounded chunks (DroppedFile.read()), never as paths.
|
|
583
|
+
|
|
584
|
+
- props: `accept`, `max_size`, `max_files`, `multiple`, `disabled`, `loading`, `radius`, `accept_color`, `reject_color`, `activate_on_click`, `activate_on_drag`, `activate_on_keyboard`, `min_height`
|
|
585
|
+
- events: `on_drop`
|
|
586
|
+
- slots: `idle_content`, `accept_content`, `reject_content`
|
|
587
|
+
|
|
588
|
+
### ui.DropzoneFullScreen
|
|
589
|
+
|
|
590
|
+
Window-wide drop target shown while files are dragged over the window; same validation and 'drop' event as Dropzone.
|
|
591
|
+
|
|
592
|
+
- props: `accept`, `max_size`, `max_files`, `multiple`, `disabled`, `active`, `z_index`, `radius`, `accept_color`, `reject_color`
|
|
593
|
+
- events: `on_drop`
|
|
594
|
+
- slots: `idle_content`, `accept_content`, `reject_content`
|
|
595
|
+
|
|
596
|
+
### ui.EmojiPicker
|
|
597
|
+
|
|
598
|
+
Emoji grid with search, categories, skin tones and preview, using the emoji data bundled with the renderer (offline, no CDN). 'select' reports the picked emoji as {id, emoji, name}, validated in Python against the same data.
|
|
599
|
+
|
|
600
|
+
- props: `columns`, `emoji_size`, `size` (xs/sm/md/lg/xl), `with_search`, `with_category_nav`, `with_preview`, `with_skin_tone_selector`, `skin_tone`, `search_placeholder`, `categories`, `recent`, `auto_focus`
|
|
601
|
+
- events: `on_select`
|
|
602
|
+
|
|
603
|
+
### ui.EmojiPickerInput
|
|
604
|
+
|
|
605
|
+
Input whose value is an emoji id, picked from a popover EmojiPicker (bundled data). The value is committed on pick ('change'); Python accepts only known emoji ids.
|
|
606
|
+
|
|
607
|
+
- props: `value`, `label`, `description`, `error`, `placeholder`, `clearable`, `disabled`, `read_only`, `required`, `size` (xs/sm/md/lg/xl), `radius`, `close_on_select`, `name`
|
|
608
|
+
- events: `on_change`
|
|
609
|
+
|
|
610
|
+
### ui.EmojiPickerPopover
|
|
611
|
+
|
|
612
|
+
Opens an EmojiPicker (bundled data) in a popover from its child target (e.g. a button); 'select' reports the picked emoji like EmojiPicker.
|
|
613
|
+
|
|
614
|
+
- props: `close_on_select`, `columns`, `with_preview`, `with_skin_tone_selector`, `position` (bottom/top/left/right/bottom-start/bottom-end/top-start/top-end), `recent`
|
|
615
|
+
- events: `on_select`
|
|
616
|
+
|
|
617
|
+
### ui.Lightbox
|
|
618
|
+
|
|
619
|
+
Full-window image/video viewer over 'slides' ({src, alt?, caption?, thumb_src?} images or {type: 'video', src, poster?, label?}). 'opened' and 'index' are owned by Python; the arrows, thumbnails, swipes and the arrow keys commit 'index' ('index_change'); Escape or the close button sends 'close'. Sources are app assets (app.add_asset) or http(s) URLs.
|
|
620
|
+
|
|
621
|
+
- props: `opened`, `slides`, `index`, `with_thumbnails`, `with_zoom`, `with_fullscreen`, `with_navigation`, `with_keyboard_events`, `loop`, `close_on_click_outside`
|
|
622
|
+
- events: `on_close`, `on_index_change`
|
|
623
|
+
|
|
624
|
+
### ui.Notifications
|
|
625
|
+
|
|
626
|
+
Options of the window's notifications host while this component is mounted (one per page): position, limit (others queue), auto close, layout. Show notifications with Window.notify / update_notification / hide_notification / clean_notifications.
|
|
627
|
+
|
|
628
|
+
- props: `position` (top-left/top-right/top-center/bottom-left/bottom-right/bottom-center), `limit`, `auto_close`, `transition_duration`, `container_width`, `z_index`, `layout` (default/stacked), `with_auto_close_progress`, `allow_drag_dismiss`, `pause_reset_on_hover` (all/notification)
|
|
629
|
+
|
|
630
|
+
### ui.Spotlight
|
|
631
|
+
|
|
632
|
+
Command palette over the page, opened by its shortcut (default 'mod+k'), by Spotlight.open() or by assigning 'opened'. 'actions' are typed data ({id, label, description?, group?, keywords?, icon?, disabled?, hotkey?}); choosing one sends 'action' with its id (validated in Python). The query is filtered in the page (filter='page') or committed to Python ('query_change', debounced) which replaces 'actions' (filter='python').
|
|
633
|
+
|
|
634
|
+
- props: `opened`, `actions`, `query`, `filter` (page/python), `shortcut`, `limit`, `nothing_found`, `search_placeholder`, `highlight_query`, `close_on_action_trigger`, `clear_query_on_close`, `scrollable`, `max_height`, `debounce`
|
|
635
|
+
- events: `on_close`, `on_open`, `on_query_change`, `on_action`
|
|
636
|
+
|
|
637
|
+
## feedback
|
|
638
|
+
|
|
639
|
+
### ui.Alert
|
|
640
|
+
|
|
641
|
+
Highlighted message; 'text' or children are the body. With with_close_button the close icon sends 'close' (hide it with visible=False).
|
|
642
|
+
|
|
643
|
+
- props: `title`, `text`, `color`, `variant` (light/filled/outline/default/transparent/white), `radius`, `with_close_button`, `close_button_label`
|
|
644
|
+
- events: `on_close`
|
|
645
|
+
- slots: `icon`
|
|
646
|
+
|
|
647
|
+
### ui.Loader
|
|
648
|
+
|
|
649
|
+
Animated loading indicator.
|
|
650
|
+
|
|
651
|
+
- props: `type` (oval/bars/dots), `size`, `color`
|
|
652
|
+
|
|
653
|
+
### ui.Notification
|
|
654
|
+
|
|
655
|
+
Notification card shown inline (not a toast). Close icon sends 'close'.
|
|
656
|
+
|
|
657
|
+
- props: `title`, `text`, `color`, `radius`, `loading`, `with_border`, `with_close_button`
|
|
658
|
+
- events: `on_close`
|
|
659
|
+
- slots: `icon`
|
|
660
|
+
|
|
661
|
+
### ui.Progress
|
|
662
|
+
|
|
663
|
+
Linear progress bar: 'value' (0..100) or several 'sections' [{value, color?, label?, tooltip?}].
|
|
664
|
+
|
|
665
|
+
- props: `value`, `sections`, `color`, `size`, `radius`, `striped`, `animated`, `transition_duration`, `orientation` (horizontal/vertical)
|
|
666
|
+
|
|
667
|
+
### ui.RingProgress
|
|
668
|
+
|
|
669
|
+
Ring chart of sections [{value, color, tooltip?}] (values add up to at most 100).
|
|
670
|
+
|
|
671
|
+
- props: `sections`, `label`, `size`, `thickness`, `round_caps`, `root_color`, `transition_duration`, `start_angle`
|
|
672
|
+
|
|
673
|
+
### ui.SemiCircleProgress
|
|
674
|
+
|
|
675
|
+
Half-circle gauge for 'value' (0..100).
|
|
676
|
+
|
|
677
|
+
- props: `value`, `size`, `thickness`, `orientation` (up/down), `fill_direction` (right-to-left/left-to-right), `filled_segment_color`, `empty_segment_color`, `label`, `label_position` (center/bottom), `transition_duration`
|
|
678
|
+
|
|
679
|
+
### ui.Skeleton
|
|
680
|
+
|
|
681
|
+
Placeholder block shown while content loads (hidden with visible=False).
|
|
682
|
+
|
|
683
|
+
- props: `height`, `width`, `circle`, `radius`, `animate`
|
|
684
|
+
|
|
685
|
+
## forms
|
|
686
|
+
|
|
687
|
+
### ui.Field
|
|
688
|
+
|
|
689
|
+
Named field scope inside a Form: the names of the inputs inside are prefixed with this name (nested values, path-keyed errors such as 'company.address.city'). Shows a fieldset with a legend when one is given, and the scope's own error.
|
|
690
|
+
|
|
691
|
+
- props: `name`, `legend`, `description`, `error`, `variant` (default/filled/unstyled), `gap`
|
|
692
|
+
|
|
693
|
+
### ui.FieldList
|
|
694
|
+
|
|
695
|
+
Repeated field groups inside a Form (order lines, contacts): each item is a FieldListItem built by a Python template; the user adds, removes and reorders items (Python applies it, keeping stable item keys) and values submit as a list of objects ('lines.0.sku').
|
|
696
|
+
|
|
697
|
+
- props: `name`, `label`, `description`, `error`, `add_label`, `min_items`, `max_items`, `addable`, `removable`, `reorderable`, `empty_text`
|
|
698
|
+
- events: `on_add`, `on_remove`, `on_move`
|
|
699
|
+
|
|
700
|
+
### ui.FieldListItem
|
|
701
|
+
|
|
702
|
+
One item of a FieldList (its key is the component id); holds the item's inputs in a row.
|
|
703
|
+
|
|
704
|
+
- props: `gap`, `align` (flex-start/center/flex-end/stretch/baseline), `wrap` (wrap/nowrap), `grow`
|
|
705
|
+
|
|
706
|
+
### ui.Form
|
|
707
|
+
|
|
708
|
+
Form container. Submitting (a Button type='submit' or Enter in a field) sends a complete snapshot of the named fields' current drafts, also text not committed yet; Python validates (types, required, validators, form validate), commits atomically and calls on_submit with values nested by field path, or returns errors to the fields. Field/FieldList scopes nest names; hidden fields are not submitted.
|
|
709
|
+
|
|
710
|
+
- props: `disabled`, `error`, `validate_on` (submit/change), `cancelable`, `cancel_label`
|
|
711
|
+
- events: `on_submit`, `on_cancel`, `on_reset`
|
|
712
|
+
|
|
713
|
+
## icons
|
|
714
|
+
|
|
715
|
+
### ui.Icon
|
|
716
|
+
|
|
717
|
+
A named icon from the bundled icon set (works offline). Other components take the same names in their icon props; unknown names show a placeholder icon.
|
|
718
|
+
|
|
719
|
+
- props: `name` (activity/adjustments/alert-circle/alert-triangle/align-center/align-left/align-right/archive/arrow-back-up/arrow-down/arrow-forward-up/arrow-left/arrow-right/arrow-up/arrows-maximize/arrows-sort/battery/bell/bluetooth/bold/bolt/book/bookmark/box/briefcase/brush/bug/building-store/bulb/calendar/camera/chart-bar/chart-line/chart-pie/check/checkbox/chevron-down/chevron-left/chevron-right/chevron-up/chevrons-left/chevrons-right/circle/circle-check/circle-plus/circle-x/clipboard/clipboard-check/clock/cloud/cloud-download/cloud-upload/code/compass/copy/cpu/credit-card/currency-dollar/dashboard/database/device-desktop/device-floppy/device-laptop/device-mobile/dots/dots-vertical/download/edit/external-link/eye/eye-off/file/file-code/file-plus/file-text/filter/flag/flame/folder/folder-open/folder-plus/gift/git-branch/git-commit/git-merge/git-pull-request/grip-horizontal/grip-vertical/heart/heart-filled/help-circle/history/home/hourglass/id-badge/inbox/info-circle/italic/key/language/layout-grid/layout-sidebar/link/list/list-details/loader/lock/lock-open/login/logout/mail/map-pin/maximize/menu/menu-2/message/messages/microphone/minimize/minus/moon/music/news/notes/package/palette/paperclip/pencil/phone/photo/pin/player-pause/player-play/player-record/player-skip-back/player-skip-forward/player-stop/playlist/plug/plus/point/power/printer/question-mark/receipt/refresh/reload/robot/rocket/rotate/scale/school/search/selector/send/server/settings/share/shield/shield-check/shopping-cart/sitemap/sort-ascending/sort-descending/square/stack-2/star/star-filled/sun/table/tag/template/terminal-2/thumb-down/thumb-up/timeline/toggle-left/tool/tools/trash/trophy/truck/typography/underline/unlink/upload/user/user-circle/users/video/volume/volume-off/wallet/wifi/world/x/zoom-in/zoom-out), `size`, `color`, `stroke`
|
|
720
|
+
|
|
721
|
+
## inputs
|
|
722
|
+
|
|
723
|
+
### ui.JsonInput
|
|
724
|
+
|
|
725
|
+
Text area for JSON. `value` is the text; parsing and schema validation belong to Python (use `error`).
|
|
726
|
+
|
|
727
|
+
- props: `label`, `description`, `error`, `placeholder`, `name`, `required`, `disabled`, `size`, `radius`, `variant` (default/filled/unstyled), `with_asterisk`, `read_only`, `value`, `format_on_blur`, `validation_error`, `autosize`, `min_rows`, `max_rows`, `indent_spaces`, `debounce`
|
|
728
|
+
- events: `on_change`, `on_blur`, `on_focus`
|
|
729
|
+
|
|
730
|
+
### ui.MaskInput
|
|
731
|
+
|
|
732
|
+
Text input constrained to a mask (`9` digit, `a` letter, `A` upper-case letter, `*` letter or digit, `#` digit or sign; other characters are literal). `value` is the masked text; `complete` fires with the masked text when every slot is filled.
|
|
733
|
+
|
|
734
|
+
- props: `label`, `description`, `error`, `placeholder`, `name`, `required`, `disabled`, `size`, `radius`, `variant` (default/filled/unstyled), `with_asterisk`, `read_only`, `value`, `mask`, `slot_char`, `always_show_mask`, `show_mask_on_focus`, `auto_clear`, `separate`, `debounce`
|
|
735
|
+
- events: `on_change`, `on_blur`, `on_focus`, `on_enter`, `on_complete`
|
|
736
|
+
- slots: `left_section`, `right_section`
|
|
737
|
+
|
|
738
|
+
### ui.NumberInput
|
|
739
|
+
|
|
740
|
+
Numeric input with step buttons, formatting and clamping. The value is a finite number, or None when the field is empty.
|
|
741
|
+
|
|
742
|
+
- props: `label`, `description`, `error`, `placeholder`, `name`, `required`, `disabled`, `size`, `radius`, `variant` (default/filled/unstyled), `with_asterisk`, `read_only`, `value`, `min`, `max`, `step`, `decimal_scale`, `fixed_decimal_scale`, `thousand_separator`, `decimal_separator`, `prefix`, `suffix`, `allow_negative`, `allow_decimal`, `hide_controls`, `clamp_behavior` (strict/blur/none), `start_value`, `debounce`
|
|
743
|
+
- events: `on_change`, `on_blur`, `on_focus`, `on_enter`
|
|
744
|
+
- slots: `left_section`, `right_section`
|
|
745
|
+
|
|
746
|
+
### ui.PasswordInput
|
|
747
|
+
|
|
748
|
+
Password field with a show/hide toggle. The value is kept as a page draft and committed after a pause; never log it.
|
|
749
|
+
|
|
750
|
+
- props: `label`, `description`, `error`, `placeholder`, `name`, `required`, `disabled`, `read_only`, `size`, `radius`, `variant` (default/filled/unstyled), `with_asterisk`, `value`, `default_visible`, `debounce`, `autocomplete`
|
|
751
|
+
- events: `on_change`, `on_blur`, `on_focus`, `on_enter`
|
|
752
|
+
- slots: `left_section`
|
|
753
|
+
|
|
754
|
+
### ui.PhoneInput
|
|
755
|
+
|
|
756
|
+
International phone number input with country selection. `value` is the raw number text; validate it in Python.
|
|
757
|
+
|
|
758
|
+
- props: `label`, `description`, `error`, `placeholder`, `name`, `required`, `disabled`, `size`, `radius`, `variant` (default/filled/unstyled), `with_asterisk`, `read_only`, `value`, `default_country`, `preferred_countries`, `only_countries`, `exclude_countries`, `searchable`, `international`, `with_extension`, `with_country_auto_detect`, `debounce`
|
|
759
|
+
- events: `on_change`, `on_blur`, `on_focus`, `on_enter`
|
|
760
|
+
|
|
761
|
+
### ui.PinInput
|
|
762
|
+
|
|
763
|
+
One-time code input with one box per character. `change` follows the typed text; `complete` fires when every box is filled.
|
|
764
|
+
|
|
765
|
+
- props: `name`, `value`, `length`, `type` (alphanumeric/number), `mask`, `one_time_code`, `placeholder`, `manage_focus`, `disabled`, `read_only`, `error`, `size`, `radius`, `gap`, `required`, `debounce`
|
|
766
|
+
- events: `on_change`, `on_blur`, `on_focus`, `on_complete`
|
|
767
|
+
|
|
768
|
+
### ui.Rating
|
|
769
|
+
|
|
770
|
+
Star rating. `value` is the rating (fractions allowed); read_only displays it.
|
|
771
|
+
|
|
772
|
+
- props: `name`, `value`, `count`, `fractions`, `size`, `color`, `read_only`, `highlight_selected_only`, `allow_clear`
|
|
773
|
+
- events: `on_change`
|
|
774
|
+
|
|
775
|
+
### ui.SearchInput
|
|
776
|
+
|
|
777
|
+
Search field: a text input with a search icon and a clear button. Escape clears it. Commits after a pause like TextInput.
|
|
778
|
+
|
|
779
|
+
- props: `value`, `placeholder`, `label`, `description`, `error`, `name`, `disabled`, `size`, `radius`, `variant` (default/filled/unstyled), `clearable`, `debounce`
|
|
780
|
+
- events: `on_change`, `on_blur`, `on_focus`, `on_enter`
|
|
781
|
+
- slots: `left_section`
|
|
782
|
+
|
|
783
|
+
### ui.TextInput
|
|
784
|
+
|
|
785
|
+
Single-line text input. The page owns the draft while typing; the value commits after a pause (debounce) or on blur, and form submissions always use the current draft.
|
|
786
|
+
|
|
787
|
+
- props: `value`, `label`, `description`, `placeholder`, `error`, `name`, `required`, `disabled`, `read_only`, `size`, `radius`, `max_length`, `autocomplete`, `debounce`
|
|
788
|
+
- events: `on_change`, `on_blur`, `on_focus`, `on_enter`
|
|
789
|
+
- slots: `left_section`, `right_section`
|
|
790
|
+
|
|
791
|
+
### ui.Textarea
|
|
792
|
+
|
|
793
|
+
Multi-line text input; the draft stays in the page while typing and commits after a pause or on blur.
|
|
794
|
+
|
|
795
|
+
- props: `label`, `description`, `error`, `placeholder`, `name`, `required`, `disabled`, `size`, `radius`, `variant` (default/filled/unstyled), `with_asterisk`, `read_only`, `value`, `autosize`, `min_rows`, `max_rows`, `resize` (none/vertical/both/horizontal), `max_length`, `debounce`
|
|
796
|
+
- events: `on_change`, `on_blur`, `on_focus`
|
|
797
|
+
- slots: `left_section`, `right_section`
|
|
798
|
+
|
|
799
|
+
## inputs-advanced
|
|
800
|
+
|
|
801
|
+
### ui.AlphaSlider
|
|
802
|
+
|
|
803
|
+
Alpha (opacity) slider over a colour, 0-1. The value commits when the user releases the thumb (or presses an arrow key); `change_end` is delivered right after.
|
|
804
|
+
|
|
805
|
+
- props: `value`, `color`, `size`
|
|
806
|
+
- events: `on_change`, `on_change_end`
|
|
807
|
+
|
|
808
|
+
### ui.AngleSlider
|
|
809
|
+
|
|
810
|
+
Circular slider for an angle in degrees (0-360). The value commits when the user releases the thumb (or presses an arrow key); `change_end` is delivered right after.
|
|
811
|
+
|
|
812
|
+
- props: `name`, `value`, `step`, `with_label`, `marks`, `restrict_to_marks`, `size`, `thumb_size`, `disabled`
|
|
813
|
+
- events: `on_change`, `on_change_end`
|
|
814
|
+
|
|
815
|
+
### ui.ColorInput
|
|
816
|
+
|
|
817
|
+
Text input with a colour preview and picker popover. `value` is a colour string in `format`.
|
|
818
|
+
|
|
819
|
+
- props: `label`, `description`, `error`, `placeholder`, `name`, `required`, `disabled`, `size`, `radius`, `variant` (default/filled/unstyled), `with_asterisk`, `read_only`, `value`, `format` (hex/hexa/rgb/rgba/hsl/hsla), `swatches`, `swatches_per_row`, `with_picker`, `with_eye_dropper`, `with_preview`, `fix_on_blur`, `close_on_color_swatch_click`, `disallow_input`, `debounce`
|
|
820
|
+
- events: `on_change`, `on_blur`, `on_focus`, `on_enter`
|
|
821
|
+
|
|
822
|
+
### ui.ColorPicker
|
|
823
|
+
|
|
824
|
+
Colour picker panel. `value` is a colour string in `format`. The value commits when the user releases the thumb (or presses an arrow key); `change_end` is delivered right after.
|
|
825
|
+
|
|
826
|
+
- props: `name`, `value`, `format` (hex/hexa/rgb/rgba/hsl/hsla), `swatches`, `swatches_per_row`, `with_picker`, `size`, `full_width`
|
|
827
|
+
- events: `on_change`, `on_change_end`
|
|
828
|
+
|
|
829
|
+
### ui.FileInput
|
|
830
|
+
|
|
831
|
+
File selection inside the page. The value is a list of {name, size, type} for the chosen files; contents are never sent. Python can only clear it (set value=[]). Native file paths come from the native dialog (app.open_file / Window.pick_files), not from this control.
|
|
832
|
+
|
|
833
|
+
- props: `label`, `description`, `error`, `placeholder`, `name`, `required`, `disabled`, `size`, `radius`, `value`, `multiple`, `accept`, `clearable`
|
|
834
|
+
- events: `on_change`
|
|
835
|
+
- slots: `left_section`, `right_section`
|
|
836
|
+
|
|
837
|
+
### ui.HueSlider
|
|
838
|
+
|
|
839
|
+
Hue slider (0-360). The value commits when the user releases the thumb (or presses an arrow key); `change_end` is delivered right after.
|
|
840
|
+
|
|
841
|
+
- props: `value`, `size`
|
|
842
|
+
- events: `on_change`, `on_change_end`
|
|
843
|
+
|
|
844
|
+
### ui.Mentions
|
|
845
|
+
|
|
846
|
+
Text area with @-style mentions. `value` is the markup text (for example `Hi @[Ada](ada)`); `triggers` list the trigger characters and their suggestions. A `search` event reports queries so Python can replace suggestions.
|
|
847
|
+
|
|
848
|
+
- props: `label`, `description`, `error`, `placeholder`, `name`, `required`, `disabled`, `size`, `radius`, `variant` (default/filled/unstyled), `with_asterisk`, `read_only`, `value`, `triggers`, `single_line`, `min_rows`, `max_rows`, `nothing_found_message`, `debounce`, `search_debounce`
|
|
849
|
+
- events: `on_change`, `on_blur`, `on_focus`, `on_search`
|
|
850
|
+
|
|
851
|
+
### ui.RangeSlider
|
|
852
|
+
|
|
853
|
+
Slider for a [low, high] range. The value commits when the user releases the thumb (or presses an arrow key); `change_end` is delivered right after.
|
|
854
|
+
|
|
855
|
+
- props: `value`, `name`, `min`, `max`, `step`, `precision`, `marks`, `label_always_on`, `show_label_on_hover`, `restrict_to_marks`, `inverted`, `thumb_size`, `orientation` (horizontal/vertical), `disabled`, `size`, `radius`, `color`, `min_range`, `max_range`, `push_on_overlap`
|
|
856
|
+
- events: `on_change`, `on_change_end`
|
|
857
|
+
|
|
858
|
+
### ui.Slider
|
|
859
|
+
|
|
860
|
+
Slider for one number. The value commits when the user releases the thumb (or presses an arrow key); `change_end` is delivered right after.
|
|
861
|
+
|
|
862
|
+
- props: `value`, `name`, `min`, `max`, `step`, `precision`, `marks`, `label_always_on`, `show_label_on_hover`, `restrict_to_marks`, `inverted`, `thumb_size`, `orientation` (horizontal/vertical), `disabled`, `size`, `radius`, `color`
|
|
863
|
+
- events: `on_change`, `on_change_end`
|
|
864
|
+
|
|
865
|
+
## inputs-choice
|
|
866
|
+
|
|
867
|
+
### ui.Autocomplete
|
|
868
|
+
|
|
869
|
+
Text input with suggestions; the value is free text. `change` follows the typed text (debounced), so it drives server-side suggestions: replace `data` in the handler and set client_filter=False.
|
|
870
|
+
|
|
871
|
+
- props: `label`, `description`, `error`, `placeholder`, `name`, `required`, `disabled`, `size`, `radius`, `variant` (default/filled/unstyled), `with_asterisk`, `read_only`, `value`, `data`, `client_filter`, `clearable`, `select_first_option_on_change`, `debounce`, `max_dropdown_height`, `limit`
|
|
872
|
+
- events: `on_change`, `on_blur`, `on_focus`, `on_enter`
|
|
873
|
+
- slots: `left_section`, `right_section`
|
|
874
|
+
|
|
875
|
+
### ui.Cascader
|
|
876
|
+
|
|
877
|
+
Pick a path through nested options. `value` is the list of option values from root to leaf, or None.
|
|
878
|
+
|
|
879
|
+
- props: `label`, `description`, `error`, `placeholder`, `name`, `required`, `disabled`, `size`, `radius`, `variant` (default/filled/unstyled), `with_asterisk`, `read_only`, `data`, `value`, `change_on_select`, `allow_deselect`, `expand_trigger` (click/hover), `searchable`, `clearable`, `nothing_found_message`, `with_columns`, `separator`
|
|
880
|
+
- events: `on_change`
|
|
881
|
+
- slots: `left_section`, `right_section`
|
|
882
|
+
|
|
883
|
+
### ui.Checkbox
|
|
884
|
+
|
|
885
|
+
Checkbox. Standalone it commits `checked`; inside a CheckboxGroup it is a member identified by `value`.
|
|
886
|
+
|
|
887
|
+
- props: `checked`, `value`, `label`, `description`, `error`, `name`, `required`, `disabled`, `indeterminate`, `size`, `radius`, `color`, `label_position` (left/right)
|
|
888
|
+
- events: `on_change`
|
|
889
|
+
|
|
890
|
+
### ui.CheckboxCard
|
|
891
|
+
|
|
892
|
+
Card that toggles like a checkbox; standalone it commits `checked`, in a CheckboxGroup it is a member by `value`. Put any content inside.
|
|
893
|
+
|
|
894
|
+
- props: `checked`, `value`, `with_border`, `radius`, `indeterminate`, `name`
|
|
895
|
+
- events: `on_change`
|
|
896
|
+
|
|
897
|
+
### ui.CheckboxGroup
|
|
898
|
+
|
|
899
|
+
Group of checkboxes; `value` is the list of checked item values. Commit is atomic per click.
|
|
900
|
+
|
|
901
|
+
- props: `label`, `description`, `error`, `value`, `name`, `required`, `size`, `with_asterisk`, `max_selected_values`, `read_only`, `disabled`
|
|
902
|
+
- events: `on_change`
|
|
903
|
+
|
|
904
|
+
### ui.CheckboxIndicator
|
|
905
|
+
|
|
906
|
+
Non-interactive checkbox look (for custom cards and rows).
|
|
907
|
+
|
|
908
|
+
- props: `checked`, `indeterminate`, `disabled`, `size`, `radius`, `color`
|
|
909
|
+
|
|
910
|
+
### ui.Chip
|
|
911
|
+
|
|
912
|
+
Toggle chip. Standalone it commits `checked`; inside a ChipGroup it is a member by `value`.
|
|
913
|
+
|
|
914
|
+
- props: `checked`, `value`, `label`, `disabled`, `size`, `radius`, `color`, `variant` (outline/light/filled), `type` (radio/checkbox)
|
|
915
|
+
- events: `on_change`
|
|
916
|
+
|
|
917
|
+
### ui.ChipGroup
|
|
918
|
+
|
|
919
|
+
Group of chips. multiple=True: `value` is a list of values; otherwise one value or None.
|
|
920
|
+
|
|
921
|
+
- props: `value`, `multiple`
|
|
922
|
+
- events: `on_change`
|
|
923
|
+
|
|
924
|
+
### ui.Combobox
|
|
925
|
+
|
|
926
|
+
Data-driven dropdown: a button that opens a list with optional search, groups, a footer and a create-option. `value` is the selected option value (or None).
|
|
927
|
+
|
|
928
|
+
- props: `value`, `data`, `label`, `description`, `error`, `placeholder`, `name`, `required`, `disabled`, `size`, `variant`, `searchable`, `search_placeholder`, `client_filter`, `clearable`, `creatable`, `create_label`, `nothing_found_message`, `max_dropdown_height`
|
|
929
|
+
- events: `on_change`, `on_search`, `on_create`
|
|
930
|
+
- slots: `footer`
|
|
931
|
+
|
|
932
|
+
### ui.MultiSelect
|
|
933
|
+
|
|
934
|
+
Choose several options. `value` is a list of option values.
|
|
935
|
+
|
|
936
|
+
- props: `value`, `label`, `description`, `error`, `placeholder`, `name`, `required`, `disabled`, `size`, `radius`, `variant` (default/filled/unstyled), `with_asterisk`, `read_only`, `data`, `searchable`, `clearable`, `nothing_found_message`, `client_filter`, `search_debounce`, `with_check_icon`, `check_icon_position` (left/right), `max_dropdown_height`, `limit`, `max_values`, `hide_picked_options`, `with_pills_reorder`
|
|
937
|
+
- events: `on_change`, `on_search`
|
|
938
|
+
- slots: `left_section`, `right_section`
|
|
939
|
+
|
|
940
|
+
### ui.NativeSelect
|
|
941
|
+
|
|
942
|
+
Browser-native select box.
|
|
943
|
+
|
|
944
|
+
- props: `value`, `label`, `description`, `error`, `placeholder`, `name`, `required`, `disabled`, `size`, `radius`, `with_asterisk`, `data`
|
|
945
|
+
- events: `on_change`, `on_blur`, `on_focus`
|
|
946
|
+
- slots: `left_section`, `right_section`
|
|
947
|
+
|
|
948
|
+
### ui.Pill
|
|
949
|
+
|
|
950
|
+
Small pill/tag, optionally removable (`remove` event).
|
|
951
|
+
|
|
952
|
+
- props: `label`, `with_remove_button`, `size`, `radius`, `disabled`, `variant` (default/contrast)
|
|
953
|
+
- events: `on_remove`
|
|
954
|
+
|
|
955
|
+
### ui.PillGroup
|
|
956
|
+
|
|
957
|
+
Row of pills.
|
|
958
|
+
|
|
959
|
+
- props: `size`, `disabled`, `gap`
|
|
960
|
+
|
|
961
|
+
### ui.PillsInput
|
|
962
|
+
|
|
963
|
+
Multi-value input shown as removable pills; Enter or comma adds the typed text, Backspace removes the last pill. `data` offers suggestions. Validate values in Python and report with `error`.
|
|
964
|
+
|
|
965
|
+
- props: `label`, `description`, `error`, `placeholder`, `name`, `required`, `disabled`, `size`, `radius`, `value`, `data`, `max_values`, `allow_duplicates`
|
|
966
|
+
- events: `on_change`
|
|
967
|
+
|
|
968
|
+
### ui.Radio
|
|
969
|
+
|
|
970
|
+
Radio button. Use inside a RadioGroup (member identified by `value`).
|
|
971
|
+
|
|
972
|
+
- props: `checked`, `value`, `label`, `description`, `error`, `disabled`, `size`, `radius`, `color`, `label_position` (left/right)
|
|
973
|
+
- events: `on_change`
|
|
974
|
+
|
|
975
|
+
### ui.RadioCard
|
|
976
|
+
|
|
977
|
+
Card that selects like a radio inside a RadioGroup (member by `value`). Put any content inside.
|
|
978
|
+
|
|
979
|
+
- props: `value`, `with_border`, `radius`, `name`, `disabled`
|
|
980
|
+
|
|
981
|
+
### ui.RadioGroup
|
|
982
|
+
|
|
983
|
+
Group of radios; `value` is the selected item value (or None).
|
|
984
|
+
|
|
985
|
+
- props: `label`, `description`, `error`, `value`, `name`, `required`, `size`, `with_asterisk`, `read_only`, `disabled`
|
|
986
|
+
- events: `on_change`
|
|
987
|
+
|
|
988
|
+
### ui.RadioIndicator
|
|
989
|
+
|
|
990
|
+
Non-interactive radio look.
|
|
991
|
+
|
|
992
|
+
- props: `checked`, `disabled`, `size`, `radius`, `color`
|
|
993
|
+
|
|
994
|
+
### ui.SegmentedControl
|
|
995
|
+
|
|
996
|
+
Segmented single choice. The indicator is built in.
|
|
997
|
+
|
|
998
|
+
- props: `value`, `data`, `name`, `disabled`, `read_only`, `full_width`, `color`, `size`, `radius`, `orientation` (horizontal/vertical), `transition_duration`, `with_items_borders`
|
|
999
|
+
- events: `on_change`
|
|
1000
|
+
|
|
1001
|
+
### ui.Select
|
|
1002
|
+
|
|
1003
|
+
Choose one option from a dropdown. Options may carry a `group`. With client_filter=False, answer `search` events by replacing `data`.
|
|
1004
|
+
|
|
1005
|
+
- props: `value`, `label`, `description`, `error`, `placeholder`, `name`, `required`, `disabled`, `size`, `radius`, `variant` (default/filled/unstyled), `with_asterisk`, `read_only`, `data`, `searchable`, `clearable`, `nothing_found_message`, `client_filter`, `search_debounce`, `with_check_icon`, `check_icon_position` (left/right), `max_dropdown_height`, `limit`, `allow_deselect`
|
|
1006
|
+
- events: `on_change`, `on_search`
|
|
1007
|
+
- slots: `left_section`, `right_section`
|
|
1008
|
+
|
|
1009
|
+
### ui.Switch
|
|
1010
|
+
|
|
1011
|
+
On/off switch. Standalone it commits `checked`; inside a SwitchGroup it is a member by `value`.
|
|
1012
|
+
|
|
1013
|
+
- props: `checked`, `value`, `label`, `description`, `error`, `name`, `required`, `disabled`, `size`, `radius`, `color`, `on_label`, `off_label`, `label_position` (left/right), `with_thumb_indicator`
|
|
1014
|
+
- events: `on_change`
|
|
1015
|
+
|
|
1016
|
+
### ui.SwitchGroup
|
|
1017
|
+
|
|
1018
|
+
Group of switches; `value` is the list of enabled item values.
|
|
1019
|
+
|
|
1020
|
+
- props: `label`, `description`, `error`, `value`, `name`, `required`, `size`, `with_asterisk`, `max_selected_values`, `read_only`, `disabled`
|
|
1021
|
+
- events: `on_change`
|
|
1022
|
+
|
|
1023
|
+
### ui.TagsInput
|
|
1024
|
+
|
|
1025
|
+
Free-form tags with optional suggestions. `value` is the list of tags.
|
|
1026
|
+
|
|
1027
|
+
- props: `value`, `label`, `description`, `error`, `placeholder`, `name`, `required`, `disabled`, `size`, `radius`, `variant` (default/filled/unstyled), `with_asterisk`, `read_only`, `data`, `max_tags`, `split_chars`, `allow_duplicates`, `clearable`, `accept_value_on_blur`, `client_filter`, `search_debounce`, `max_dropdown_height`, `limit`
|
|
1028
|
+
- events: `on_change`, `on_search`
|
|
1029
|
+
- slots: `left_section`, `right_section`
|
|
1030
|
+
|
|
1031
|
+
### ui.Toggle
|
|
1032
|
+
|
|
1033
|
+
Toggle button; `active` is the on/off state.
|
|
1034
|
+
|
|
1035
|
+
- props: `active`, `label`, `name`, `disabled`, `size`, `radius`, `color`, `variant` (light/filled), `auto_width`
|
|
1036
|
+
- events: `on_change`
|
|
1037
|
+
|
|
1038
|
+
### ui.ToolbarToggle
|
|
1039
|
+
|
|
1040
|
+
Toggle for toolbars; `active` is the pressed state. Outside a toolbar it renders inside its own.
|
|
1041
|
+
|
|
1042
|
+
- props: `active`, `label`, `name`, `disabled`, `auto_width`
|
|
1043
|
+
- events: `on_change`
|
|
1044
|
+
|
|
1045
|
+
### ui.TreeSelect
|
|
1046
|
+
|
|
1047
|
+
Select from a tree. mode single: `value` is one option value or None; multiple/checkbox: a list of values.
|
|
1048
|
+
|
|
1049
|
+
- props: `label`, `description`, `error`, `placeholder`, `name`, `required`, `disabled`, `size`, `radius`, `variant` (default/filled/unstyled), `with_asterisk`, `read_only`, `data`, `value`, `mode` (single/multiple/checkbox), `check_strictly`, `checked_strategy` (all/parent/child), `default_expand_all`, `expand_on_click`, `searchable`, `clearable`, `max_values`, `with_lines`, `nothing_found_message`
|
|
1050
|
+
- events: `on_change`
|
|
1051
|
+
- slots: `left_section`, `right_section`
|
|
1052
|
+
|
|
1053
|
+
## layout
|
|
1054
|
+
|
|
1055
|
+
### ui.AppShell
|
|
1056
|
+
|
|
1057
|
+
Application frame with header, navbar, aside and footer around the main content (children or 'main'). Regions appear when their slot has content.
|
|
1058
|
+
|
|
1059
|
+
- props: `header_height`, `navbar_width`, `navbar_breakpoint`, `navbar_collapsed`, `aside_width`, `aside_breakpoint`, `aside_collapsed`, `footer_height`, `padding`, `with_border`, `layout` (default/alt), `mode` (fixed/static)
|
|
1060
|
+
- slots: `header`, `navbar`, `aside`, `footer`, `main`
|
|
1061
|
+
|
|
1062
|
+
### ui.AspectRatio
|
|
1063
|
+
|
|
1064
|
+
Keeps its child at a fixed width/height ratio.
|
|
1065
|
+
|
|
1066
|
+
- props: `ratio`, `w`, `maw`
|
|
1067
|
+
|
|
1068
|
+
### ui.Box
|
|
1069
|
+
|
|
1070
|
+
Plain container element with style props. 'component' picks the HTML tag from an allowlist.
|
|
1071
|
+
|
|
1072
|
+
- props: `component` (div/section/article/aside/header/footer/main/nav/span/p/ul/ol/li/figure/figcaption/address), `bg`, `c`, `p`, `px`, `py`, `m`, `mx`, `my`, `mt`, `mb`, `ml`, `mr`, `w`, `h`, `maw`, `mah`, `miw`, `mih`, `mod`
|
|
1073
|
+
|
|
1074
|
+
### ui.Card
|
|
1075
|
+
|
|
1076
|
+
Surface for grouped content; CardSection children can span the full width.
|
|
1077
|
+
|
|
1078
|
+
- props: `shadow`, `radius`, `with_border`, `padding`, `orientation` (vertical/horizontal), `w`, `h`
|
|
1079
|
+
|
|
1080
|
+
### ui.CardSection
|
|
1081
|
+
|
|
1082
|
+
Full-bleed section inside a Card.
|
|
1083
|
+
|
|
1084
|
+
- props: `with_border`, `inherit_padding`
|
|
1085
|
+
|
|
1086
|
+
### ui.Center
|
|
1087
|
+
|
|
1088
|
+
Centers its content horizontally and vertically.
|
|
1089
|
+
|
|
1090
|
+
- props: `inline`, `p`, `w`, `h`
|
|
1091
|
+
|
|
1092
|
+
### ui.Container
|
|
1093
|
+
|
|
1094
|
+
Centers content with a max width.
|
|
1095
|
+
|
|
1096
|
+
- props: `size`, `fluid`, `strategy` (block/grid), `p`
|
|
1097
|
+
|
|
1098
|
+
### ui.Divider
|
|
1099
|
+
|
|
1100
|
+
Horizontal or vertical separator line with optional label.
|
|
1101
|
+
|
|
1102
|
+
- props: `label`, `label_position` (left/center/right), `orientation` (horizontal/vertical), `variant` (solid/dashed/dotted), `color`, `size`, `my`, `mx`
|
|
1103
|
+
|
|
1104
|
+
### ui.Fieldset
|
|
1105
|
+
|
|
1106
|
+
Group of form controls with a legend (disabled disables all controls inside).
|
|
1107
|
+
|
|
1108
|
+
- props: `legend`, `variant` (default/filled/unstyled), `disabled`, `radius`
|
|
1109
|
+
|
|
1110
|
+
### ui.Flex
|
|
1111
|
+
|
|
1112
|
+
Flex container with direction, gap, alignment and wrapping.
|
|
1113
|
+
|
|
1114
|
+
- props: `gap`, `row_gap`, `column_gap`, `direction` (row/column/row-reverse/column-reverse), `align` (stretch/center/flex-start/flex-end/baseline), `justify` (center/flex-start/flex-end/space-between/space-around/space-evenly), `wrap` (wrap/nowrap/wrap-reverse), `p`, `w`, `h`
|
|
1115
|
+
|
|
1116
|
+
### ui.Grid
|
|
1117
|
+
|
|
1118
|
+
12-column grid; put GridColumn children inside.
|
|
1119
|
+
|
|
1120
|
+
- props: `gap`, `row_gap`, `column_gap`, `grow`, `justify` (center/flex-start/flex-end/space-between/space-around), `align` (stretch/center/flex-start/flex-end), `columns`, `overflow` (visible/hidden), `type` (media/container)
|
|
1121
|
+
|
|
1122
|
+
### ui.GridColumn
|
|
1123
|
+
|
|
1124
|
+
A column of a Grid. span/offset/order are numbers or responsive mappings like {"base": 12, "md": 6}.
|
|
1125
|
+
|
|
1126
|
+
- props: `span`, `offset`, `order`, `align` (stretch/center/flex-start/flex-end)
|
|
1127
|
+
|
|
1128
|
+
### ui.Group
|
|
1129
|
+
|
|
1130
|
+
Horizontal flex row of children.
|
|
1131
|
+
|
|
1132
|
+
- props: `gap`, `align` (stretch/center/flex-start/flex-end/baseline), `justify` (center/flex-start/flex-end/space-between/space-around), `wrap` (wrap/nowrap), `grow`, `p`
|
|
1133
|
+
|
|
1134
|
+
### ui.Paper
|
|
1135
|
+
|
|
1136
|
+
Surface with optional shadow, border and radius.
|
|
1137
|
+
|
|
1138
|
+
- props: `shadow`, `radius`, `with_border`, `component` (div/section/article/aside/header/footer/main/nav/span/p/ul/ol/li/figure/figcaption/address), `bg`, `p`, `m`, `w`, `h`
|
|
1139
|
+
|
|
1140
|
+
### ui.ScrollArea
|
|
1141
|
+
|
|
1142
|
+
Scrollable region with styled scrollbars. 'bottom_reached' etc. fire when the edge is reached.
|
|
1143
|
+
|
|
1144
|
+
- props: `h`, `mah`, `w`, `type` (auto/always/scroll/hover/never), `scrollbar_size`, `scroll_hide_delay`, `scrollbars` (x/y/xy), `offset_scrollbars`, `overscroll_behavior` (auto/contain/none), `autosize`
|
|
1145
|
+
- events: `on_bottom_reached`, `on_top_reached`, `on_left_reached`, `on_right_reached`
|
|
1146
|
+
|
|
1147
|
+
### ui.Scroller
|
|
1148
|
+
|
|
1149
|
+
Horizontally scrolling strip with start/end controls and optional dragging.
|
|
1150
|
+
|
|
1151
|
+
- props: `scroll_amount`, `control_size`, `show_start_control`, `show_end_control`, `draggable`, `start_control_icon`, `end_control_icon`
|
|
1152
|
+
|
|
1153
|
+
### ui.SimpleGrid
|
|
1154
|
+
|
|
1155
|
+
Equal-width grid; 'cols', 'spacing' accept responsive mappings.
|
|
1156
|
+
|
|
1157
|
+
- props: `cols`, `spacing`, `vertical_spacing`, `type` (media/container), `min_col_width`, `auto_flow` (auto-fit/auto-fill), `auto_rows`
|
|
1158
|
+
|
|
1159
|
+
### ui.Space
|
|
1160
|
+
|
|
1161
|
+
Empty spacing element.
|
|
1162
|
+
|
|
1163
|
+
- props: `h`, `w`
|
|
1164
|
+
|
|
1165
|
+
### ui.SplitPane
|
|
1166
|
+
|
|
1167
|
+
Resizable panes (Mantine Splitter). 'sizes' (numbers/percent or px/rem strings) is owned by Python; dragging, arrow keys or double-click reset emit sizes_change with the new sizes.
|
|
1168
|
+
|
|
1169
|
+
- props: `sizes`, `orientation` (horizontal/vertical), `with_handle`, `line_size`, `handle_color`, `reset_on_double_click`, `step`, `shift_step`, `redistribute` (nearest/equal), `h`, `w`
|
|
1170
|
+
- events: `on_sizes_change`
|
|
1171
|
+
|
|
1172
|
+
### ui.SplitterPane
|
|
1173
|
+
|
|
1174
|
+
One pane of a SplitPane.
|
|
1175
|
+
|
|
1176
|
+
- props: `size`, `min`, `max`, `collapsible`, `collapse_threshold`
|
|
1177
|
+
|
|
1178
|
+
### ui.Stack
|
|
1179
|
+
|
|
1180
|
+
Vertical flex stack of children.
|
|
1181
|
+
|
|
1182
|
+
- props: `gap`, `align` (stretch/center/flex-start/flex-end), `justify` (center/flex-start/flex-end/space-between/space-around), `p`
|
|
1183
|
+
|
|
1184
|
+
### ui.Toolbar
|
|
1185
|
+
|
|
1186
|
+
Keyboard-navigable toolbar (arrow keys move between items).
|
|
1187
|
+
|
|
1188
|
+
- props: `orientation` (horizontal/vertical), `loop`, `size`, `radius`, `with_border`, `color`, `variant` (light/filled)
|
|
1189
|
+
|
|
1190
|
+
### ui.ToolbarDivider
|
|
1191
|
+
|
|
1192
|
+
Separator between toolbar groups.
|
|
1193
|
+
|
|
1194
|
+
|
|
1195
|
+
### ui.ToolbarGroup
|
|
1196
|
+
|
|
1197
|
+
Group of related toolbar items.
|
|
1198
|
+
|
|
1199
|
+
|
|
1200
|
+
### ui.ToolbarToggleGroup
|
|
1201
|
+
|
|
1202
|
+
Toolbar toggles with single or multiple selection. value is a string (single, or None) or a list (multiple).
|
|
1203
|
+
|
|
1204
|
+
- props: `type` (single/multiple), `value`, `disabled`
|
|
1205
|
+
- events: `on_change`
|
|
1206
|
+
|
|
1207
|
+
### ui.ToolbarToggleItem
|
|
1208
|
+
|
|
1209
|
+
One choice inside a ToolbarToggleGroup.
|
|
1210
|
+
|
|
1211
|
+
- props: `value`, `disabled`, `auto_width`
|
|
1212
|
+
|
|
1213
|
+
### ui.VisuallyHidden
|
|
1214
|
+
|
|
1215
|
+
Content only read by screen readers.
|
|
1216
|
+
|
|
1217
|
+
|
|
1218
|
+
## misc
|
|
1219
|
+
|
|
1220
|
+
### ui.ComboboxPopover
|
|
1221
|
+
|
|
1222
|
+
Options popover opened by any target component (slot 'target'): clicking the target toggles a list of options, optionally searchable. value is the selected option value (str | None), or a list of values with multiple=True.
|
|
1223
|
+
|
|
1224
|
+
- props: `value`, `data`, `multiple`, `searchable`, `nothing_found_message`, `with_check_icon`, `check_icon_position` (left/right), `allow_deselect`, `max_dropdown_height`, `limit`, `dropdown_width`, `position` (top/top-start/top-end/bottom/bottom-start/bottom-end/left/left-start/left-end/right/right-start/right-end)
|
|
1225
|
+
- events: `on_change`
|
|
1226
|
+
- slots: `target`
|
|
1227
|
+
|
|
1228
|
+
### ui.FocusTrap
|
|
1229
|
+
|
|
1230
|
+
Keeps keyboard focus inside its children while active: Tab and Shift+Tab cycle through the focusable elements inside, and activating it moves focus into it.
|
|
1231
|
+
|
|
1232
|
+
- props: `active`
|
|
1233
|
+
|
|
1234
|
+
### ui.Input
|
|
1235
|
+
|
|
1236
|
+
Bare text input without label (wrap it in InputWrapper for label, description and error). Supports left/right sections and a clear button; the value commits after a pause, on blur or on Enter.
|
|
1237
|
+
|
|
1238
|
+
- props: `value`, `placeholder`, `type` (text/email/search/tel/url/password), `variant` (default/filled/unstyled), `size`, `radius`, `error`, `name`, `required`, `disabled`, `read_only`, `pointer`, `max_length`, `autocomplete`, `clearable`, `debounce`
|
|
1239
|
+
- events: `on_change`, `on_blur`, `on_focus`, `on_enter`
|
|
1240
|
+
- slots: `left_section`, `right_section`
|
|
1241
|
+
|
|
1242
|
+
### ui.InputWrapper
|
|
1243
|
+
|
|
1244
|
+
Label, description and error message around its children (typically an Input); the label is linked to an Input placed inside.
|
|
1245
|
+
|
|
1246
|
+
- props: `label`, `description`, `error`, `required`, `with_asterisk`, `size`, `label_element` (label/div)
|
|
1247
|
+
|
|
1248
|
+
### ui.OverflowList
|
|
1249
|
+
|
|
1250
|
+
Row of items (its children) that collapses what does not fit into an overflow indicator: by default a '+N' badge whose popover lists the hidden items. Put your own indicator in the 'overflow' slot.
|
|
1251
|
+
|
|
1252
|
+
- props: `max_visible_items`, `max_rows`, `gap`, `collapse_from` (start/end)
|
|
1253
|
+
- slots: `overflow`
|
|
1254
|
+
|
|
1255
|
+
### ui.Portal
|
|
1256
|
+
|
|
1257
|
+
Renders its children elsewhere in the page: at the end of the document body, or inside the element whose DOM id or component id is 'target'.
|
|
1258
|
+
|
|
1259
|
+
- props: `target`
|
|
1260
|
+
|
|
1261
|
+
### ui.ThemeScope
|
|
1262
|
+
|
|
1263
|
+
Applies a nested theme (same keys as ui.theme()) to its children only, through scoped CSS variables; the page theme is unchanged. Keys you omit inherit from the page theme.
|
|
1264
|
+
|
|
1265
|
+
- props: `theme`
|
|
1266
|
+
|
|
1267
|
+
### ui.Transition
|
|
1268
|
+
|
|
1269
|
+
Animates its children in and out when 'mounted' changes, with one of Mantine's named transitions.
|
|
1270
|
+
|
|
1271
|
+
- props: `mounted`, `transition` (fade/fade-up/fade-down/fade-left/fade-right/scale/scale-y/scale-x/skew-up/skew-down/rotate-left/rotate-right/slide-down/slide-up/slide-left/slide-right/pop/pop-bottom-left/pop-bottom-right/pop-top-left/pop-top-right), `duration`, `exit_duration`, `enter_delay`, `exit_delay`, `timing_function` (ease/ease-in/ease-out/ease-in-out/linear), `keep_mounted`
|
|
1272
|
+
|
|
1273
|
+
## navigation
|
|
1274
|
+
|
|
1275
|
+
### ui.Breadcrumbs
|
|
1276
|
+
|
|
1277
|
+
Trail of children (links or text) joined by a separator.
|
|
1278
|
+
|
|
1279
|
+
- props: `separator`, `separator_margin`
|
|
1280
|
+
|
|
1281
|
+
### ui.NavLink
|
|
1282
|
+
|
|
1283
|
+
Navigation entry; nested NavLinks form a collapsible group. 'opened' (groups) is committed from the page; 'click' fires on activation (mouse or keyboard).
|
|
1284
|
+
|
|
1285
|
+
- props: `opened`, `label`, `description`, `active`, `color`, `disabled`, `variant` (light/filled/subtle), `no_wrap`, `children_offset`, `disable_right_section_rotation`, `keep_mounted`
|
|
1286
|
+
- events: `on_change`, `on_click`
|
|
1287
|
+
- slots: `left_section`, `right_section`
|
|
1288
|
+
|
|
1289
|
+
### ui.Pagination
|
|
1290
|
+
|
|
1291
|
+
Page selector (1-based). 'value' is the current page and sends 'change'.
|
|
1292
|
+
|
|
1293
|
+
- props: `value`, `total`, `siblings`, `boundaries`, `with_edges`, `with_controls`, `hide_with_one_page`, `disabled`, `size`, `radius`, `color`
|
|
1294
|
+
- events: `on_change`
|
|
1295
|
+
|
|
1296
|
+
### ui.Stepper
|
|
1297
|
+
|
|
1298
|
+
Wizard steps. Python owns 'active'; clicking an allowed step sends 'step_click' with its index (set 'active' to move).
|
|
1299
|
+
|
|
1300
|
+
- props: `active`, `orientation` (horizontal/vertical), `icon_position` (left/right), `label_position` (right/bottom), `size`, `radius`, `color`, `allow_next_steps_select`, `wrap`, `keep_mounted`
|
|
1301
|
+
- events: `on_step_click`
|
|
1302
|
+
- slots: `completed`
|
|
1303
|
+
|
|
1304
|
+
### ui.StepperStep
|
|
1305
|
+
|
|
1306
|
+
One step of a Stepper; its children are shown while it is the active step.
|
|
1307
|
+
|
|
1308
|
+
- props: `label`, `description`, `loading`, `allow_step_select`, `color`
|
|
1309
|
+
- slots: `icon`, `completed_icon`, `progress_icon`
|
|
1310
|
+
|
|
1311
|
+
### ui.TableOfContents
|
|
1312
|
+
|
|
1313
|
+
Scroll-spy outline of headings found in the page by a CSS selector.
|
|
1314
|
+
|
|
1315
|
+
- props: `variant` (filled/light/none), `color`, `size`, `radius`, `scroll_spy_options`, `initial_data`, `min_depth_to_offset`, `depth_offset`, `auto_contrast`
|
|
1316
|
+
|
|
1317
|
+
### ui.Tabs
|
|
1318
|
+
|
|
1319
|
+
Tabbed sections. 'value' is the active tab; clicking a tab (or arrow keys) changes it and sends 'change'. Children are one TabsList (with TabsTab buttons) and one TabsPanel per tab.
|
|
1320
|
+
|
|
1321
|
+
- props: `value`, `orientation` (horizontal/vertical), `placement` (left/right), `variant` (default/outline/pills), `color`, `radius`, `inverted`, `keep_mounted`, `loop`, `activate_tab_with_keyboard`, `allow_tab_deactivation`
|
|
1322
|
+
- events: `on_change`
|
|
1323
|
+
|
|
1324
|
+
### ui.TabsList
|
|
1325
|
+
|
|
1326
|
+
The row of tab buttons inside Tabs.
|
|
1327
|
+
|
|
1328
|
+
- props: `grow`, `justify` (flex-start/center/flex-end/space-between)
|
|
1329
|
+
|
|
1330
|
+
### ui.TabsPanel
|
|
1331
|
+
|
|
1332
|
+
Content of one tab, shown while its value is the active tab.
|
|
1333
|
+
|
|
1334
|
+
- props: `value`, `keep_mounted`
|
|
1335
|
+
|
|
1336
|
+
### ui.TabsTab
|
|
1337
|
+
|
|
1338
|
+
One tab button. 'value' ties it to the TabsPanel with the same value.
|
|
1339
|
+
|
|
1340
|
+
- props: `value`, `label`, `color`, `disabled`
|
|
1341
|
+
- slots: `left_section`, `right_section`
|
|
1342
|
+
|
|
1343
|
+
### ui.Tree
|
|
1344
|
+
|
|
1345
|
+
Hierarchical data. 'data' is nested {value, label, children?, has_children?}; nodes with has_children and no children load lazily via the 'load_children' event (replace 'data' in the handler). 'selected' commits from the page ('select' event).
|
|
1346
|
+
|
|
1347
|
+
- props: `data`, `selected`, `expanded`, `checked`, `multiple`, `check_strictly`, `with_checkboxes`, `expand_on_click`, `select_on_click`, `level_offset`
|
|
1348
|
+
- events: `on_select`, `on_expand`, `on_load_children`
|
|
1349
|
+
|
|
1350
|
+
## overlays
|
|
1351
|
+
|
|
1352
|
+
### ui.ActionBar
|
|
1353
|
+
|
|
1354
|
+
Bottom bar that slides in with actions (for example when rows are selected). Put buttons and an ActionBarCloseButton inside.
|
|
1355
|
+
|
|
1356
|
+
- props: `opened`, `close_on_escape`, `radius`, `z_index`, `with_border`
|
|
1357
|
+
- events: `on_close`
|
|
1358
|
+
|
|
1359
|
+
### ui.ActionBarCloseButton
|
|
1360
|
+
|
|
1361
|
+
Close button of an ActionBar (sends the bar's 'close').
|
|
1362
|
+
|
|
1363
|
+
|
|
1364
|
+
### ui.Affix
|
|
1365
|
+
|
|
1366
|
+
Content fixed to a window position, e.g. {'bottom': 20, 'right': 20}.
|
|
1367
|
+
|
|
1368
|
+
- props: `position`, `z_index`
|
|
1369
|
+
|
|
1370
|
+
### ui.Dialog
|
|
1371
|
+
|
|
1372
|
+
Small floating dialog fixed to a window corner. Closes through its close button (event 'close').
|
|
1373
|
+
|
|
1374
|
+
- props: `opened`, `position`, `with_close_button`, `size`, `radius`, `with_border`, `z_index`
|
|
1375
|
+
- events: `on_close`
|
|
1376
|
+
|
|
1377
|
+
### ui.Drawer
|
|
1378
|
+
|
|
1379
|
+
Panel sliding in from a screen edge. 'opened' is owned by Python; Escape, the close button or an outside click request 'close'.
|
|
1380
|
+
|
|
1381
|
+
- props: `opened`, `title`, `position` (left/right/top/bottom), `size`, `close_on_escape`, `close_on_click_outside`, `with_close_button`, `with_overlay`, `trap_focus`, `return_focus`, `lock_scroll`, `padding`, `radius`, `z_index`
|
|
1382
|
+
- events: `on_close`
|
|
1383
|
+
|
|
1384
|
+
### ui.HoverCard
|
|
1385
|
+
|
|
1386
|
+
Panel shown while the target (slot 'target') is hovered; children are the panel. Events 'open' and 'close' allow lazy loading.
|
|
1387
|
+
|
|
1388
|
+
- props: `position` (top/top-start/top-end/bottom/bottom-start/bottom-end/left/left-start/left-end/right/right-start/right-end), `offset`, `with_arrow`, `width`, `shadow`, `radius`, `open_delay`, `close_delay`, `disabled`, `z_index`
|
|
1389
|
+
- events: `on_open`, `on_close`
|
|
1390
|
+
- slots: `target`
|
|
1391
|
+
|
|
1392
|
+
### ui.LoadingOverlay
|
|
1393
|
+
|
|
1394
|
+
Spinner overlay covering its (positioned) parent while 'visible' is true; hide it with visible=False.
|
|
1395
|
+
|
|
1396
|
+
- props: `loader_props`, `overlay_props`, `z_index`
|
|
1397
|
+
|
|
1398
|
+
### ui.Modal
|
|
1399
|
+
|
|
1400
|
+
Dialog over the page. 'opened' is owned by Python; Escape, the close button or an outside click request 'close' which sets opened=False and calls on_close. Focus is trapped while open and returns to the opener.
|
|
1401
|
+
|
|
1402
|
+
- props: `opened`, `title`, `size`, `centered`, `full_screen`, `close_on_escape`, `close_on_click_outside`, `with_close_button`, `trap_focus`, `return_focus`, `lock_scroll`, `with_overlay`, `padding`, `radius`, `z_index`
|
|
1403
|
+
- events: `on_close`
|
|
1404
|
+
|
|
1405
|
+
### ui.Overlay
|
|
1406
|
+
|
|
1407
|
+
Translucent layer over its parent (blur, colour, gradient); children are centred when 'center' is set.
|
|
1408
|
+
|
|
1409
|
+
- props: `background_opacity`, `color`, `blur`, `gradient`, `center`, `fixed`, `radius`, `z_index`
|
|
1410
|
+
|
|
1411
|
+
### ui.Popover
|
|
1412
|
+
|
|
1413
|
+
Floating panel anchored to a target (slot 'target'); children are the panel. 'opened' is owned by Python and committed when the user toggles it; events 'open'/'close'.
|
|
1414
|
+
|
|
1415
|
+
- props: `opened`, `position` (top/top-start/top-end/bottom/bottom-start/bottom-end/left/left-start/left-end/right/right-start/right-end), `offset`, `with_arrow`, `width`, `shadow`, `radius`, `disabled`, `trap_focus`, `return_focus`, `close_on_click_outside`, `close_on_escape`, `keep_mounted`, `z_index`
|
|
1416
|
+
- events: `on_open`, `on_close`
|
|
1417
|
+
- slots: `target`
|
|
1418
|
+
|
|
1419
|
+
### ui.Tooltip
|
|
1420
|
+
|
|
1421
|
+
Label shown when the child element is hovered or focused. 'opened' (optional) forces it open or closed.
|
|
1422
|
+
|
|
1423
|
+
- props: `label`, `position` (top/top-start/top-end/bottom/bottom-start/bottom-end/left/left-start/left-end/right/right-start/right-end), `opened`, `with_arrow`, `multiline`, `color`, `radius`, `open_delay`, `close_delay`, `disabled`, `offset`, `w`, `z_index`
|
|
1424
|
+
|
|
1425
|
+
### ui.TooltipFloating
|
|
1426
|
+
|
|
1427
|
+
Tooltip that follows the cursor over its child.
|
|
1428
|
+
|
|
1429
|
+
- props: `label`, `position` (top/top-start/top-end/bottom/bottom-start/bottom-end/left/left-start/left-end/right/right-start/right-end), `multiline`, `color`, `radius`, `disabled`, `offset`, `z_index`
|
|
1430
|
+
|
|
1431
|
+
### ui.TooltipGroup
|
|
1432
|
+
|
|
1433
|
+
Groups tooltips so that moving between them skips the open delay.
|
|
1434
|
+
|
|
1435
|
+
- props: `open_delay`, `close_delay`
|
|
1436
|
+
|
|
1437
|
+
## overlays-extra
|
|
1438
|
+
|
|
1439
|
+
### ui.FloatingWindow
|
|
1440
|
+
|
|
1441
|
+
Draggable window fixed above the page (optionally resizable). Report size changes with 'size_change' ({width, height}).
|
|
1442
|
+
|
|
1443
|
+
- props: `initial_position`, `axis` (x/y), `constrain_to_viewport`, `drag_handle_selector`, `resizable`, `dimensions`, `radius`, `shadow`, `with_border`, `z_index`
|
|
1444
|
+
- events: `on_size_change`
|
|
1445
|
+
|
|
1446
|
+
### ui.Menu
|
|
1447
|
+
|
|
1448
|
+
Dropdown menu opened from a target (slot 'target'); children are MenuItem and friends. 'opened' is owned by Python (open()/close()); events 'open'/'close'.
|
|
1449
|
+
|
|
1450
|
+
- props: `opened`, `position` (top/top-start/top-end/bottom/bottom-start/bottom-end/left/left-start/left-end/right/right-start/right-end), `offset`, `width`, `with_arrow`, `shadow`, `radius`, `trigger` (click/hover/click-hover), `close_on_item_click`, `close_on_escape`, `close_on_click_outside`, `trap_focus`, `return_focus`, `loop`, `disabled`, `z_index`
|
|
1451
|
+
- events: `on_open`, `on_close`
|
|
1452
|
+
- slots: `target`
|
|
1453
|
+
|
|
1454
|
+
### ui.MenuCheckboxItem
|
|
1455
|
+
|
|
1456
|
+
Menu entry with a checkmark; 'checked' is committed from the page.
|
|
1457
|
+
|
|
1458
|
+
- props: `checked`, `label`, `color`, `disabled`, `close_menu_on_click`
|
|
1459
|
+
- events: `on_change`
|
|
1460
|
+
|
|
1461
|
+
### ui.MenuContextMenu
|
|
1462
|
+
|
|
1463
|
+
Place inside a Menu's 'target' slot: right-click (or long press) on its children opens the menu at the pointer.
|
|
1464
|
+
|
|
1465
|
+
- props: `disabled`, `long_press_delay`
|
|
1466
|
+
|
|
1467
|
+
### ui.MenuItem
|
|
1468
|
+
|
|
1469
|
+
Menu entry (item_type 'item', default), section label ('label') or divider ('divider'). 'click' fires on mouse or Enter.
|
|
1470
|
+
|
|
1471
|
+
- props: `label`, `item_type` (item/label/divider), `color`, `disabled`, `close_menu_on_click`
|
|
1472
|
+
- events: `on_click`
|
|
1473
|
+
- slots: `left_section`, `right_section`
|
|
1474
|
+
|
|
1475
|
+
### ui.MenuRadioGroup
|
|
1476
|
+
|
|
1477
|
+
Group of MenuRadioItem entries; 'value' is the selected item and sends 'change'.
|
|
1478
|
+
|
|
1479
|
+
- props: `value`
|
|
1480
|
+
- events: `on_change`
|
|
1481
|
+
|
|
1482
|
+
### ui.MenuRadioItem
|
|
1483
|
+
|
|
1484
|
+
Radio entry inside a MenuRadioGroup.
|
|
1485
|
+
|
|
1486
|
+
- props: `value`, `label`, `color`, `disabled`, `close_menu_on_click`
|
|
1487
|
+
|
|
1488
|
+
### ui.MenuSub
|
|
1489
|
+
|
|
1490
|
+
Submenu: 'label' is the entry in the parent menu, children (MenuItem...) open beside it.
|
|
1491
|
+
|
|
1492
|
+
- props: `label`, `position` (top/top-start/top-end/bottom/bottom-start/bottom-end/left/left-start/left-end/right/right-start/right-end), `open_delay`, `close_delay`, `disabled`, `color`
|
|
1493
|
+
- slots: `left_section`, `right_section`
|
|
1494
|
+
|
|
1495
|
+
### ui.Menubar
|
|
1496
|
+
|
|
1497
|
+
Desktop-style menu bar; children are MenubarMenu entries. 'open_change' reports the opened menu index (or None).
|
|
1498
|
+
|
|
1499
|
+
- props: `trigger` (click/hover), `loop`, `position` (top/top-start/top-end/bottom/bottom-start/bottom-end/left/left-start/left-end/right/right-start/right-end)
|
|
1500
|
+
- events: `on_open_change`
|
|
1501
|
+
|
|
1502
|
+
### ui.MenubarMenu
|
|
1503
|
+
|
|
1504
|
+
One menu of a Menubar: 'label' is its button, children are the menu entries.
|
|
1505
|
+
|
|
1506
|
+
- props: `label`, `disabled`
|
|
1507
|
+
|
|
1508
|
+
### ui.Tour
|
|
1509
|
+
|
|
1510
|
+
Guided tour over the page. Python owns 'opened' and 'step'; the page commits 'step' ('change') and requests 'close'. Children are TourStep entries whose 'target' is a CSS selector in the page.
|
|
1511
|
+
|
|
1512
|
+
- props: `opened`, `step`, `mode` (guided/beacon), `with_overlay`, `with_close_button`, `with_keyboard_navigation`, `close_on_escape`, `close_on_overlay_click`, `color`, `spotlight_padding`, `max_width`, `z_index`
|
|
1513
|
+
- events: `on_change`, `on_close`
|
|
1514
|
+
|
|
1515
|
+
### ui.TourStep
|
|
1516
|
+
|
|
1517
|
+
One step of a Tour: 'target' (CSS selector, optional) is spotlighted; children are the step text.
|
|
1518
|
+
|
|
1519
|
+
- props: `target`, `title`, `position` (top/top-start/top-end/bottom/bottom-start/bottom-end/left/left-start/left-end/right/right-start/right-end/center), `with_overlay`, `spotlight_padding`
|
|
1520
|
+
|
|
1521
|
+
## schedule
|
|
1522
|
+
|
|
1523
|
+
### ui.AgendaView
|
|
1524
|
+
|
|
1525
|
+
Events of a date range (`range_start`..`range_end`) listed by day.
|
|
1526
|
+
|
|
1527
|
+
- props: `timezone`, `events`, `range_start`, `range_end`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `radius`, `mode` (default/static), `date_header_format`, `header_format`, `event_time_format`, `recurrence_expansion_limit`
|
|
1528
|
+
- events: `on_event_click`
|
|
1529
|
+
|
|
1530
|
+
### ui.DayView
|
|
1531
|
+
|
|
1532
|
+
One day as a time grid with an all-day row; click/drag on slots, drag to move and resize events (typed events, Python decides).
|
|
1533
|
+
|
|
1534
|
+
- props: `timezone`, `date`, `events`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `radius`, `mode` (default/static), `with_header`, `recurrence_expansion_limit`, `start_time`, `end_time`, `interval_minutes`, `slot_label_format`, `highlight_business_hours`, `business_hours`, `with_current_time_indicator`, `with_current_time_bubble`, `event_drag_interval`, `event_resize_interval`, `with_events_drag_and_drop`, `with_event_resize`, `with_drag_slot_select`, `prevent_event_overlap`, `with_interactive_background_events`, `with_all_day_slot`, `header_format`, `with_agenda`, `event_time_format`, `start_scroll_time`
|
|
1535
|
+
- events: `on_range_change`, `on_event_click`, `on_event_drop`, `on_event_resize`, `on_slot_click`, `on_day_click`, `on_slot_select`
|
|
1536
|
+
|
|
1537
|
+
### ui.MobileMonthView
|
|
1538
|
+
|
|
1539
|
+
Compact month for small screens with the selected day's event list; selecting a day commits `selected_date`.
|
|
1540
|
+
|
|
1541
|
+
- props: `timezone`, `date`, `events`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `radius`, `mode` (default/static), `with_header`, `recurrence_expansion_limit`, `selected_date`, `first_day_of_week`, `weekend_days`, `with_weekend_days`, `with_week_numbers`, `with_outside_days`, `highlight_today`, `events_header_format`, `event_time_format`
|
|
1542
|
+
- events: `on_range_change`, `on_event_click`, `on_day_click`
|
|
1543
|
+
|
|
1544
|
+
### ui.MonthView
|
|
1545
|
+
|
|
1546
|
+
Month grid with '+N more', drag to move events between days and drag/click days to create.
|
|
1547
|
+
|
|
1548
|
+
- props: `timezone`, `date`, `events`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `radius`, `mode` (default/static), `with_header`, `recurrence_expansion_limit`, `with_events_drag_and_drop`, `with_drag_slot_select`, `prevent_event_overlap`, `with_interactive_background_events`, `first_day_of_week`, `weekend_days`, `with_weekend_days`, `highlight_today`, `weekday_format`, `with_week_numbers`, `with_week_days`, `with_outside_days`, `max_events_per_day`, `with_agenda`, `event_time_format`
|
|
1549
|
+
- events: `on_range_change`, `on_event_click`, `on_event_drop`, `on_day_click`, `on_slot_select`
|
|
1550
|
+
|
|
1551
|
+
### ui.ResourcesDayView
|
|
1552
|
+
|
|
1553
|
+
One day with a row per resource; drag events between rooms and times.
|
|
1554
|
+
|
|
1555
|
+
- props: `timezone`, `date`, `events`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `radius`, `mode` (default/static), `with_header`, `recurrence_expansion_limit`, `resources`, `groups`, `group_label_width`, `start_time`, `end_time`, `interval_minutes`, `slot_label_format`, `highlight_business_hours`, `business_hours`, `with_current_time_indicator`, `with_current_time_bubble`, `event_drag_interval`, `event_resize_interval`, `with_events_drag_and_drop`, `with_event_resize`, `with_drag_slot_select`, `prevent_event_overlap`, `with_interactive_background_events`, `slot_width`, `row_height`, `header_format`, `max_events_per_time_slot`
|
|
1556
|
+
- events: `on_range_change`, `on_event_click`, `on_event_drop`, `on_event_resize`, `on_slot_click`, `on_slot_select`
|
|
1557
|
+
|
|
1558
|
+
### ui.ResourcesMonthView
|
|
1559
|
+
|
|
1560
|
+
A month with a row per resource; click a day to create, drag to move.
|
|
1561
|
+
|
|
1562
|
+
- props: `timezone`, `date`, `events`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `radius`, `mode` (default/static), `with_header`, `recurrence_expansion_limit`, `resources`, `groups`, `group_label_width`, `with_events_drag_and_drop`, `with_event_resize`, `with_drag_slot_select`, `prevent_event_overlap`, `weekday_format`, `weekend_days`, `with_weekend_days`, `highlight_today`, `day_width`, `row_height`, `max_events_per_time_slot`
|
|
1563
|
+
- events: `on_range_change`, `on_event_click`, `on_event_drop`, `on_event_resize`, `on_day_click`, `on_slot_select`
|
|
1564
|
+
|
|
1565
|
+
### ui.ResourcesSchedule
|
|
1566
|
+
|
|
1567
|
+
Resource schedule (rooms, people) switching day/week/month views; events carry `resource_id`, drops between resources report the target resource.
|
|
1568
|
+
|
|
1569
|
+
- props: `timezone`, `date`, `events`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `radius`, `mode` (default/static), `with_header`, `recurrence_expansion_limit`, `resources`, `groups`, `group_label_width`, `view` (day/week/month), `first_day_of_week`, `weekend_days`, `with_events_drag_and_drop`, `with_event_resize`, `with_drag_slot_select`, `prevent_event_overlap`, `with_interactive_background_events`, `start_time`, `end_time`, `interval_minutes`
|
|
1570
|
+
- events: `on_range_change`, `on_event_click`, `on_event_drop`, `on_event_resize`, `on_slot_click`, `on_day_click`, `on_slot_select`
|
|
1571
|
+
|
|
1572
|
+
### ui.ResourcesWeekView
|
|
1573
|
+
|
|
1574
|
+
A week with a row per resource, as a time grid or one cell per day (`layout='days'`).
|
|
1575
|
+
|
|
1576
|
+
- props: `timezone`, `date`, `events`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `radius`, `mode` (default/static), `with_header`, `recurrence_expansion_limit`, `resources`, `groups`, `group_label_width`, `start_time`, `end_time`, `interval_minutes`, `slot_label_format`, `highlight_business_hours`, `business_hours`, `with_current_time_indicator`, `with_current_time_bubble`, `event_drag_interval`, `event_resize_interval`, `with_events_drag_and_drop`, `with_event_resize`, `with_drag_slot_select`, `prevent_event_overlap`, `with_interactive_background_events`, `first_day_of_week`, `weekend_days`, `with_weekend_days`, `highlight_today`, `weekday_format`, `layout` (time/days), `day_width`, `slot_width`, `row_height`, `week_label_format`, `max_events_per_time_slot`
|
|
1577
|
+
- events: `on_range_change`, `on_event_click`, `on_event_drop`, `on_event_resize`, `on_slot_click`, `on_day_click`, `on_slot_select`
|
|
1578
|
+
|
|
1579
|
+
### ui.Scheduler
|
|
1580
|
+
|
|
1581
|
+
All-in-one schedule (day/week/month/year views, optional agenda) bound to Python events: navigation reports the visible range (`range_change`, bounded loading with `set_provider`), clicks, drag-move, resize and slot selection arrive as typed events that Python accepts or ignores.
|
|
1582
|
+
|
|
1583
|
+
- props: `timezone`, `date`, `events`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `radius`, `mode` (default/static), `with_header`, `recurrence_expansion_limit`, `view` (day/week/month/year), `layout` (default/responsive), `with_agenda`, `event_time_format`, `first_day_of_week`, `weekend_days`, `with_events_drag_and_drop`, `with_event_resize`, `with_drag_slot_select`, `prevent_event_overlap`, `with_interactive_background_events`, `start_time`, `end_time`, `interval_minutes`
|
|
1584
|
+
- events: `on_range_change`, `on_event_click`, `on_event_drop`, `on_event_resize`, `on_slot_click`, `on_day_click`, `on_slot_select`
|
|
1585
|
+
|
|
1586
|
+
### ui.WeekView
|
|
1587
|
+
|
|
1588
|
+
Seven-day time grid with all-day row and optional week number.
|
|
1589
|
+
|
|
1590
|
+
- props: `timezone`, `date`, `events`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `radius`, `mode` (default/static), `with_header`, `recurrence_expansion_limit`, `start_time`, `end_time`, `interval_minutes`, `slot_label_format`, `highlight_business_hours`, `business_hours`, `with_current_time_indicator`, `with_current_time_bubble`, `event_drag_interval`, `event_resize_interval`, `with_events_drag_and_drop`, `with_event_resize`, `with_drag_slot_select`, `prevent_event_overlap`, `with_interactive_background_events`, `first_day_of_week`, `weekend_days`, `with_weekend_days`, `highlight_today`, `weekday_format`, `with_all_day_slots`, `with_week_number`, `week_label_format`, `with_agenda`, `event_time_format`, `start_scroll_time`
|
|
1591
|
+
- events: `on_range_change`, `on_event_click`, `on_event_drop`, `on_event_resize`, `on_slot_click`, `on_day_click`, `on_slot_select`
|
|
1592
|
+
|
|
1593
|
+
### ui.YearView
|
|
1594
|
+
|
|
1595
|
+
Twelve-month overview marking days with events; clicking a day reports it.
|
|
1596
|
+
|
|
1597
|
+
- props: `timezone`, `date`, `events`, `locale` (en/en-gb/cs/sk/de/fr/es/it/pt/pt-br/pl/nl/sv/da/nb/fi/hu/ro/ru/uk/tr/el/ja/ko/zh-cn), `radius`, `mode` (default/static), `with_header`, `recurrence_expansion_limit`, `first_day_of_week`, `weekend_days`, `with_week_numbers`, `with_outside_days`, `with_weekend_days`, `highlight_today`, `month_label_format`
|
|
1598
|
+
- events: `on_range_change`, `on_day_click`
|
|
1599
|
+
|
|
1600
|
+
## typography
|
|
1601
|
+
|
|
1602
|
+
### ui.Anchor
|
|
1603
|
+
|
|
1604
|
+
A link. Only http, https, mailto and in-page '#' hrefs are used; anything else is rendered as plain text. External links open outside the app window.
|
|
1605
|
+
|
|
1606
|
+
- props: `text`, `href`, `underline` (always/hover/not-hover/never), `target` (_blank/_self), `size`, `c`, `truncate`
|
|
1607
|
+
- events: `on_click`
|
|
1608
|
+
|
|
1609
|
+
### ui.Badge
|
|
1610
|
+
|
|
1611
|
+
Small label for status or counts; with the click event it acts as a button.
|
|
1612
|
+
|
|
1613
|
+
- props: `text`, `variant` (filled/light/outline/dot/transparent/white/default), `size`, `color`, `radius`, `circle`, `full_width`, `component` (div/button)
|
|
1614
|
+
- events: `on_click`
|
|
1615
|
+
- slots: `left_section`, `right_section`
|
|
1616
|
+
|
|
1617
|
+
### ui.Blockquote
|
|
1618
|
+
|
|
1619
|
+
Quotation with optional citation and icon.
|
|
1620
|
+
|
|
1621
|
+
- props: `text`, `cite`, `icon`, `icon_size`, `color`, `radius`
|
|
1622
|
+
|
|
1623
|
+
### ui.Code
|
|
1624
|
+
|
|
1625
|
+
Inline or block monospace text.
|
|
1626
|
+
|
|
1627
|
+
- props: `text`, `block`, `color`
|
|
1628
|
+
|
|
1629
|
+
### ui.Highlight
|
|
1630
|
+
|
|
1631
|
+
Text with highlighted terms: 'highlight' is a string, a list of strings or a list of {term, color}.
|
|
1632
|
+
|
|
1633
|
+
- props: `text`, `highlight`, `color`, `whole_word`, `case_insensitive`, `accent_insensitive`
|
|
1634
|
+
|
|
1635
|
+
### ui.Kbd
|
|
1636
|
+
|
|
1637
|
+
Keyboard key.
|
|
1638
|
+
|
|
1639
|
+
- props: `text`, `size`
|
|
1640
|
+
|
|
1641
|
+
### ui.List
|
|
1642
|
+
|
|
1643
|
+
Ordered or unordered list of ListItem children.
|
|
1644
|
+
|
|
1645
|
+
- props: `type` (ordered/unordered), `size`, `spacing`, `center`, `with_padding`, `icon`, `list_style_type`, `start`, `reversed`
|
|
1646
|
+
|
|
1647
|
+
### ui.ListItem
|
|
1648
|
+
|
|
1649
|
+
An item of a List (text and/or nested components).
|
|
1650
|
+
|
|
1651
|
+
- props: `text`, `icon`
|
|
1652
|
+
|
|
1653
|
+
### ui.Mark
|
|
1654
|
+
|
|
1655
|
+
Marked (highlighted) text.
|
|
1656
|
+
|
|
1657
|
+
- props: `text`, `color`
|
|
1658
|
+
|
|
1659
|
+
### ui.NumberFormatter
|
|
1660
|
+
|
|
1661
|
+
Formats a number for display (prefix, suffix, separators, decimals).
|
|
1662
|
+
|
|
1663
|
+
- props: `value`, `prefix`, `suffix`, `decimal_scale`, `fixed_decimal_scale`, `thousand_separator`, `decimal_separator`, `thousands_group_style` (thousand/lakh/wan/none), `allow_negative`
|
|
1664
|
+
|
|
1665
|
+
### ui.Table
|
|
1666
|
+
|
|
1667
|
+
Static table from data: {head: [...], body: [[...]], foot: [...], caption: str}. For sortable/paged/selectable tables use DataTable.
|
|
1668
|
+
|
|
1669
|
+
- props: `data`, `striped`, `highlight_on_hover`, `with_table_border`, `with_column_borders`, `with_row_borders`, `horizontal_spacing`, `vertical_spacing`, `sticky_header`, `sticky_header_offset`, `caption_side` (top/bottom), `layout` (auto/fixed), `tabular_nums`, `scroll_min_width`
|
|
1670
|
+
|
|
1671
|
+
### ui.Text
|
|
1672
|
+
|
|
1673
|
+
A run of text.
|
|
1674
|
+
|
|
1675
|
+
- props: `text`, `size`, `c`, `fw`, `ta` (left/center/right/justify), `truncate`, `line_clamp`, `dimmed`
|
|
1676
|
+
|
|
1677
|
+
### ui.Title
|
|
1678
|
+
|
|
1679
|
+
Heading h1..h6.
|
|
1680
|
+
|
|
1681
|
+
- props: `text`, `order`, `c`, `ta` (left/center/right)
|
|
1682
|
+
|
|
1683
|
+
### ui.Typography
|
|
1684
|
+
|
|
1685
|
+
Applies readable typographic styles to the components inside it (headings, paragraphs, lists).
|