datocms-react-ui 3.1.0-next.4 → 3.1.0-next.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LICENSE-lucide.txt +43 -0
- package/dist/styles.css +382 -176
- package/dist/ui-public/icons/custom/dato_symbol.js +22 -0
- package/dist/ui-public/icons/index.js +296 -367
- package/dist/ui-public/icons/lucide/app-window.js +33 -0
- package/dist/ui-public/icons/lucide/arrow-big-down.js +22 -0
- package/dist/ui-public/icons/lucide/arrow-down-a-z.js +28 -0
- package/dist/ui-public/icons/lucide/arrow-down-from-line.js +26 -0
- package/dist/ui-public/icons/lucide/arrow-down.js +22 -0
- package/dist/ui-public/icons/lucide/arrow-left.js +22 -0
- package/dist/ui-public/icons/lucide/arrow-right-left.js +27 -0
- package/dist/ui-public/icons/lucide/arrow-right.js +22 -0
- package/dist/ui-public/icons/lucide/arrow-up-down.js +27 -0
- package/dist/ui-public/icons/lucide/arrow-up-from-line.js +26 -0
- package/dist/ui-public/icons/lucide/arrow-up.js +22 -0
- package/dist/ui-public/icons/lucide/ban.js +26 -0
- package/dist/ui-public/icons/lucide/book.js +22 -0
- package/dist/ui-public/icons/lucide/bookmark.js +22 -0
- package/dist/ui-public/icons/lucide/calendar.js +33 -0
- package/dist/ui-public/icons/{regular → lucide}/check.js +9 -3
- package/dist/ui-public/icons/{regular → lucide}/chevron-down.js +9 -3
- package/dist/ui-public/icons/{regular → lucide}/chevron-left.js +9 -3
- package/dist/ui-public/icons/{regular → lucide}/chevron-right.js +9 -3
- package/dist/ui-public/icons/lucide/chevrons-down.js +22 -0
- package/dist/ui-public/icons/lucide/chevrons-left.js +22 -0
- package/dist/ui-public/icons/lucide/chevrons-right.js +22 -0
- package/dist/ui-public/icons/lucide/circle-arrow-up.js +30 -0
- package/dist/ui-public/icons/lucide/circle-check.js +26 -0
- package/dist/ui-public/icons/lucide/circle-dot.js +30 -0
- package/dist/ui-public/icons/lucide/circle-exclamation-point.js +40 -0
- package/dist/ui-public/icons/lucide/circle-question-mark.js +30 -0
- package/dist/ui-public/icons/lucide/clock.js +26 -0
- package/dist/ui-public/icons/lucide/code.js +22 -0
- package/dist/ui-public/icons/lucide/command.js +22 -0
- package/dist/ui-public/icons/lucide/copy-plus.js +44 -0
- package/dist/ui-public/icons/lucide/copy.js +29 -0
- package/dist/ui-public/icons/lucide/corner-left-up.js +22 -0
- package/dist/ui-public/icons/lucide/database.js +31 -0
- package/dist/ui-public/icons/lucide/download.js +26 -0
- package/dist/ui-public/icons/lucide/earth.js +31 -0
- package/dist/ui-public/icons/lucide/ellipsis-vertical.js +38 -0
- package/dist/ui-public/icons/lucide/ellipsis.js +38 -0
- package/dist/ui-public/icons/lucide/external-link.js +26 -0
- package/dist/ui-public/icons/lucide/eye-off.js +27 -0
- package/dist/ui-public/icons/lucide/eye.js +26 -0
- package/dist/ui-public/icons/lucide/file-code.js +27 -0
- package/dist/ui-public/icons/lucide/file-output.js +27 -0
- package/dist/ui-public/icons/lucide/flask-conical.js +26 -0
- package/dist/ui-public/icons/lucide/fold-vertical.js +31 -0
- package/dist/ui-public/icons/lucide/folder-open.js +22 -0
- package/dist/ui-public/icons/lucide/folder-plus.js +26 -0
- package/dist/ui-public/icons/lucide/folder.js +22 -0
- package/dist/ui-public/icons/lucide/folders.js +22 -0
- package/dist/ui-public/icons/lucide/funnel.js +22 -0
- package/dist/ui-public/icons/lucide/gift.js +33 -0
- package/dist/ui-public/icons/lucide/git-branch.js +34 -0
- package/dist/ui-public/icons/lucide/git-fork.js +40 -0
- package/dist/ui-public/icons/lucide/globe.js +30 -0
- package/dist/ui-public/icons/lucide/grip-vertical.js +53 -0
- package/dist/ui-public/icons/lucide/hand.js +27 -0
- package/dist/ui-public/icons/lucide/hard-hat.js +33 -0
- package/dist/ui-public/icons/lucide/heading-1.js +27 -0
- package/dist/ui-public/icons/lucide/heading-2.js +27 -0
- package/dist/ui-public/icons/lucide/heading-3.js +28 -0
- package/dist/ui-public/icons/lucide/heading-4.js +28 -0
- package/dist/ui-public/icons/lucide/heading-5.js +28 -0
- package/dist/ui-public/icons/lucide/heading-6.js +32 -0
- package/dist/ui-public/icons/lucide/highlighter.js +22 -0
- package/dist/ui-public/icons/lucide/hourglass.js +27 -0
- package/dist/ui-public/icons/lucide/house.js +22 -0
- package/dist/ui-public/icons/lucide/image.js +37 -0
- package/dist/ui-public/icons/lucide/images.js +38 -0
- package/dist/ui-public/icons/lucide/info.js +30 -0
- package/dist/ui-public/icons/lucide/italic.js +41 -0
- package/dist/ui-public/icons/lucide/keyboard.js +38 -0
- package/dist/ui-public/icons/lucide/languages.js +29 -0
- package/dist/ui-public/icons/lucide/layers.js +26 -0
- package/dist/ui-public/icons/lucide/layout-grid.js +51 -0
- package/dist/ui-public/icons/lucide/letter-b.js +22 -0
- package/dist/ui-public/icons/lucide/life-buoy.js +37 -0
- package/dist/ui-public/icons/lucide/link.js +22 -0
- package/dist/ui-public/icons/lucide/list-indent-decrease.js +27 -0
- package/dist/ui-public/icons/lucide/list-indent-increase.js +27 -0
- package/dist/ui-public/icons/lucide/list-ordered.js +29 -0
- package/dist/ui-public/icons/lucide/list-tree.js +28 -0
- package/dist/ui-public/icons/lucide/list.js +29 -0
- package/dist/ui-public/icons/lucide/log-out.js +26 -0
- package/dist/ui-public/icons/lucide/mail.js +28 -0
- package/dist/ui-public/icons/lucide/map-pin.js +26 -0
- package/dist/ui-public/icons/lucide/map-pinned.js +30 -0
- package/dist/ui-public/icons/lucide/maximize.js +27 -0
- package/dist/ui-public/icons/lucide/menu.js +26 -0
- package/dist/ui-public/icons/lucide/messages-square.js +22 -0
- package/dist/ui-public/icons/lucide/minimize.js +27 -0
- package/dist/ui-public/icons/lucide/minus.js +22 -0
- package/dist/ui-public/icons/lucide/notepad-text.js +36 -0
- package/dist/ui-public/icons/lucide/octagon-exclamation-point.js +26 -0
- package/dist/ui-public/icons/lucide/palette.js +48 -0
- package/dist/ui-public/icons/lucide/panel-left.js +28 -0
- package/dist/ui-public/icons/lucide/panel-right.js +28 -0
- package/dist/ui-public/icons/lucide/pause.js +34 -0
- package/dist/ui-public/icons/lucide/pen.js +22 -0
- package/dist/ui-public/icons/lucide/pilcrow.js +26 -0
- package/dist/ui-public/icons/lucide/pipette.js +26 -0
- package/dist/ui-public/icons/lucide/play.js +22 -0
- package/dist/ui-public/icons/lucide/plus.js +22 -0
- package/dist/ui-public/icons/lucide/quote.js +22 -0
- package/dist/ui-public/icons/lucide/receipt.js +26 -0
- package/dist/ui-public/icons/lucide/redo-2.js +22 -0
- package/dist/ui-public/icons/lucide/refresh-cw.js +27 -0
- package/dist/ui-public/icons/lucide/rotate-ccw-clock.js +26 -0
- package/dist/ui-public/icons/lucide/rotate-ccw.js +22 -0
- package/dist/ui-public/icons/lucide/search.js +26 -0
- package/dist/ui-public/icons/lucide/send.js +22 -0
- package/dist/ui-public/icons/lucide/settings-2.js +35 -0
- package/dist/ui-public/icons/lucide/settings.js +26 -0
- package/dist/ui-public/icons/lucide/sliders-horizontal.js +32 -0
- package/dist/ui-public/icons/lucide/smartphone.js +29 -0
- package/dist/ui-public/icons/lucide/square-arrow-left.js +32 -0
- package/dist/ui-public/icons/lucide/square-arrow-up-right.js +32 -0
- package/dist/ui-public/icons/lucide/square-code.js +32 -0
- package/dist/ui-public/icons/lucide/square-dashed.js +35 -0
- package/dist/ui-public/icons/lucide/square-pen.js +22 -0
- package/dist/ui-public/icons/lucide/square-plus.js +32 -0
- package/dist/ui-public/icons/lucide/square-terminal.js +33 -0
- package/dist/ui-public/icons/lucide/store.js +26 -0
- package/dist/ui-public/icons/lucide/strikethrough.js +31 -0
- package/dist/ui-public/icons/lucide/table.js +33 -0
- package/dist/ui-public/icons/lucide/tag.js +27 -0
- package/dist/ui-public/icons/lucide/text-align-center.js +26 -0
- package/dist/ui-public/icons/lucide/text-align-end.js +26 -0
- package/dist/ui-public/icons/lucide/text-align-justify.js +26 -0
- package/dist/ui-public/icons/lucide/text-align-start.js +26 -0
- package/dist/ui-public/icons/lucide/toolbox.js +28 -0
- package/dist/ui-public/icons/lucide/trash.js +28 -0
- package/dist/ui-public/icons/lucide/triangle-exclamation-point.js +26 -0
- package/dist/ui-public/icons/lucide/underline.js +27 -0
- package/dist/ui-public/icons/lucide/undo-2.js +22 -0
- package/dist/ui-public/icons/lucide/unfold-vertical.js +31 -0
- package/dist/ui-public/icons/lucide/user-lock.js +37 -0
- package/dist/ui-public/icons/lucide/user-minus.js +35 -0
- package/dist/ui-public/icons/lucide/user-round-arrow-left.js +31 -0
- package/dist/ui-public/icons/lucide/user.js +26 -0
- package/dist/ui-public/icons/lucide/x.js +22 -0
- package/dist/ui-public/locales/en.js +2 -0
- package/dist/ui-public/src/UiTextKey.d.ts +1 -1
- package/dist/ui-public/src/actions/Button.d.ts +10 -2
- package/dist/ui-public/src/actions/Button.js +7 -1
- package/dist/ui-public/src/actions/Dropdown/Menu.js +2 -1
- package/dist/ui-public/src/actions/Dropdown/MenuContent.d.ts +2 -1
- package/dist/ui-public/src/actions/Dropdown/MenuContent.js +13 -3
- package/dist/ui-public/src/actions/Dropdown/Submenu.js +5 -2
- package/dist/ui-public/src/actions/disabledReason.js +1 -1
- package/dist/ui-public/src/content/UploadThreatTriangle.js +1 -1
- package/dist/ui-public/src/content/ValidityTriangles.js +1 -1
- package/dist/ui-public/src/form/PasswordInput.js +1 -9
- package/dist/ui-public/src/form/SwitchInput.js +4 -2
- package/dist/ui-public/src/layout/Pagination.d.ts +6 -1
- package/dist/ui-public/src/layout/Pagination.js +4 -2
- package/dist/ui-public/src/layout/Toolbar/FilterToggle.d.ts +1 -1
- package/dist/ui-public/src/layout/Toolbar/FilterToggle.js +12 -4
- package/dist/ui-public/src/layout/Toolbar/Pagination.d.ts +4 -1
- package/dist/ui-public/src/layout/Toolbar/Pagination.js +30 -26
- package/dist/ui-public/src/lists/CardList.js +4 -1
- package/dist/ui-public/src/lists/SettingsList.d.ts +4 -3
- package/dist/ui-public/src/navigation/SegmentedControl.js +4 -1
- package/dist/ui-public/src/navigation/SidebarTree/SidebarTreeNodeActions.d.ts +3 -0
- package/dist/ui-public/src/navigation/SidebarTree/SidebarTreeNodeActions.js +2 -1
- package/dist/ui-public/src/navigation/Tabs.js +23 -1
- package/dist/ui-public/src/overlays/HoverCard/index.js +1 -1
- package/dist/ui-public/src/patterns/ListDetail/FloatingDetail.js +71 -0
- package/dist/ui-public/src/patterns/ListDetail/Overview.js +2 -2
- package/dist/ui-public/src/patterns/ListDetail/Page.js +8 -4
- package/dist/ui-public/src/patterns/ListDetail/Panel.js +11 -10
- package/dist/ui-public/src/patterns/ListDetail/Split.d.ts +23 -8
- package/dist/ui-public/src/patterns/ListDetail/Split.js +99 -115
- package/dist/ui-public/src/patterns/ListDetail/index.d.ts +4 -3
- package/dist/ui-public/src/patterns/ListDetail/useDetailWidthDrag.js +43 -0
- package/package.json +2 -2
- package/dist/ui-public/icons/brands/gitlab.js +0 -15
- package/dist/ui-public/icons/brands/markdown.js +0 -15
- package/dist/ui-public/icons/custom/color_d_icon.js +0 -20
- package/dist/ui-public/icons/custom/language.js +0 -16
- package/dist/ui-public/icons/custom/masonry.js +0 -21
- package/dist/ui-public/icons/light/eye-slash.js +0 -16
- package/dist/ui-public/icons/light/eye.js +0 -16
- package/dist/ui-public/icons/regular/align-left.js +0 -15
- package/dist/ui-public/icons/regular/arrow-down-a-z.js +0 -16
- package/dist/ui-public/icons/regular/arrow-down-from-line.js +0 -16
- package/dist/ui-public/icons/regular/arrow-down-to-line.js +0 -15
- package/dist/ui-public/icons/regular/arrow-down.js +0 -16
- package/dist/ui-public/icons/regular/arrow-left.js +0 -16
- package/dist/ui-public/icons/regular/arrow-right-arrow-left.js +0 -16
- package/dist/ui-public/icons/regular/arrow-right-from-bracket.js +0 -16
- package/dist/ui-public/icons/regular/arrow-right.js +0 -16
- package/dist/ui-public/icons/regular/arrow-rotate-left.js +0 -15
- package/dist/ui-public/icons/regular/arrow-rotate-right.js +0 -16
- package/dist/ui-public/icons/regular/arrow-turn-up.js +0 -16
- package/dist/ui-public/icons/regular/arrow-up-arrow-down.js +0 -16
- package/dist/ui-public/icons/regular/arrow-up-from-line.js +0 -16
- package/dist/ui-public/icons/regular/arrow-up-right-from-square.js +0 -16
- package/dist/ui-public/icons/regular/arrow-up-to-line.js +0 -15
- package/dist/ui-public/icons/regular/arrow-up.js +0 -16
- package/dist/ui-public/icons/regular/arrows-from-line.js +0 -16
- package/dist/ui-public/icons/regular/arrows-rotate.js +0 -16
- package/dist/ui-public/icons/regular/arrows-to-line.js +0 -16
- package/dist/ui-public/icons/regular/arrows-turn-to-dots.js +0 -15
- package/dist/ui-public/icons/regular/badge-check.js +0 -15
- package/dist/ui-public/icons/regular/ballot-check.js +0 -15
- package/dist/ui-public/icons/regular/ban.js +0 -16
- package/dist/ui-public/icons/regular/bars.js +0 -16
- package/dist/ui-public/icons/regular/bold.js +0 -15
- package/dist/ui-public/icons/regular/bolt.js +0 -15
- package/dist/ui-public/icons/regular/book.js +0 -16
- package/dist/ui-public/icons/regular/bookmark.js +0 -16
- package/dist/ui-public/icons/regular/brackets-curly.js +0 -15
- package/dist/ui-public/icons/regular/browser.js +0 -16
- package/dist/ui-public/icons/regular/calendar-clock.js +0 -15
- package/dist/ui-public/icons/regular/calendar.js +0 -16
- package/dist/ui-public/icons/regular/chart-area.js +0 -15
- package/dist/ui-public/icons/regular/chevrons-down.js +0 -16
- package/dist/ui-public/icons/regular/chevrons-left.js +0 -16
- package/dist/ui-public/icons/regular/chevrons-right.js +0 -16
- package/dist/ui-public/icons/regular/circle-arrow-up.js +0 -16
- package/dist/ui-public/icons/regular/circle-check.js +0 -16
- package/dist/ui-public/icons/regular/circle-dot.js +0 -16
- package/dist/ui-public/icons/regular/circle-exclamation.js +0 -16
- package/dist/ui-public/icons/regular/circle-info.js +0 -16
- package/dist/ui-public/icons/regular/circle-question.js +0 -16
- package/dist/ui-public/icons/regular/clapperboard-play.js +0 -15
- package/dist/ui-public/icons/regular/clipboard.js +0 -15
- package/dist/ui-public/icons/regular/clock-rotate-left.js +0 -16
- package/dist/ui-public/icons/regular/clock.js +0 -16
- package/dist/ui-public/icons/regular/clone.js +0 -16
- package/dist/ui-public/icons/regular/cloud-arrow-down.js +0 -15
- package/dist/ui-public/icons/regular/code-branch.js +0 -16
- package/dist/ui-public/icons/regular/code-fork.js +0 -16
- package/dist/ui-public/icons/regular/command.js +0 -16
- package/dist/ui-public/icons/regular/comments.js +0 -16
- package/dist/ui-public/icons/regular/copy.js +0 -16
- package/dist/ui-public/icons/regular/cube.js +0 -15
- package/dist/ui-public/icons/regular/cubes.js +0 -15
- package/dist/ui-public/icons/regular/dash.js +0 -16
- package/dist/ui-public/icons/regular/database.js +0 -16
- package/dist/ui-public/icons/regular/diamond.js +0 -15
- package/dist/ui-public/icons/regular/down.js +0 -16
- package/dist/ui-public/icons/regular/download.js +0 -16
- package/dist/ui-public/icons/regular/earth-europe.js +0 -16
- package/dist/ui-public/icons/regular/ellipsis-vertical.js +0 -16
- package/dist/ui-public/icons/regular/ellipsis.js +0 -16
- package/dist/ui-public/icons/regular/envelope.js +0 -16
- package/dist/ui-public/icons/regular/expand.js +0 -16
- package/dist/ui-public/icons/regular/eye-dropper.js +0 -16
- package/dist/ui-public/icons/regular/eye.js +0 -16
- package/dist/ui-public/icons/regular/file-export.js +0 -16
- package/dist/ui-public/icons/regular/file-lines.js +0 -15
- package/dist/ui-public/icons/regular/file-shield.js +0 -15
- package/dist/ui-public/icons/regular/file.js +0 -15
- package/dist/ui-public/icons/regular/filter.js +0 -16
- package/dist/ui-public/icons/regular/fire-flame-curved.js +0 -15
- package/dist/ui-public/icons/regular/flask-gear.js +0 -16
- package/dist/ui-public/icons/regular/flask.js +0 -16
- package/dist/ui-public/icons/regular/folder-gear.js +0 -15
- package/dist/ui-public/icons/regular/folder-magnifying-glass.js +0 -15
- package/dist/ui-public/icons/regular/folder-open.js +0 -16
- package/dist/ui-public/icons/regular/folder-plus.js +0 -16
- package/dist/ui-public/icons/regular/folder.js +0 -16
- package/dist/ui-public/icons/regular/folders.js +0 -16
- package/dist/ui-public/icons/regular/gear.js +0 -16
- package/dist/ui-public/icons/regular/gift.js +0 -16
- package/dist/ui-public/icons/regular/globe.js +0 -16
- package/dist/ui-public/icons/regular/grid-2.js +0 -16
- package/dist/ui-public/icons/regular/grip-dots-vertical.js +0 -16
- package/dist/ui-public/icons/regular/hand.js +0 -16
- package/dist/ui-public/icons/regular/hourglass-clock.js +0 -16
- package/dist/ui-public/icons/regular/house.js +0 -16
- package/dist/ui-public/icons/regular/images.js +0 -16
- package/dist/ui-public/icons/regular/input-numeric.js +0 -15
- package/dist/ui-public/icons/regular/input-text.js +0 -15
- package/dist/ui-public/icons/regular/keyboard.js +0 -16
- package/dist/ui-public/icons/regular/layer-group.js +0 -16
- package/dist/ui-public/icons/regular/life-ring.js +0 -16
- package/dist/ui-public/icons/regular/link-simple.js +0 -15
- package/dist/ui-public/icons/regular/link.js +0 -16
- package/dist/ui-public/icons/regular/list-tree.js +0 -16
- package/dist/ui-public/icons/regular/list.js +0 -16
- package/dist/ui-public/icons/regular/magnifying-glass-chart.js +0 -15
- package/dist/ui-public/icons/regular/magnifying-glass.js +0 -16
- package/dist/ui-public/icons/regular/map-location-dot.js +0 -16
- package/dist/ui-public/icons/regular/memo.js +0 -16
- package/dist/ui-public/icons/regular/mobile-screen-button.js +0 -16
- package/dist/ui-public/icons/regular/octagon-exclamation.js +0 -16
- package/dist/ui-public/icons/regular/palette.js +0 -16
- package/dist/ui-public/icons/regular/paper-plane.js +0 -16
- package/dist/ui-public/icons/regular/paragraph.js +0 -15
- package/dist/ui-public/icons/regular/paste.js +0 -15
- package/dist/ui-public/icons/regular/pause.js +0 -16
- package/dist/ui-public/icons/regular/pen-paintbrush.js +0 -15
- package/dist/ui-public/icons/regular/pen-to-square.js +0 -16
- package/dist/ui-public/icons/regular/pen.js +0 -16
- package/dist/ui-public/icons/regular/people-arrows.js +0 -16
- package/dist/ui-public/icons/regular/photo-film.js +0 -15
- package/dist/ui-public/icons/regular/play.js +0 -16
- package/dist/ui-public/icons/regular/puzzle-piece.js +0 -15
- package/dist/ui-public/icons/regular/receipt.js +0 -16
- package/dist/ui-public/icons/regular/rectangle-barcode.js +0 -15
- package/dist/ui-public/icons/regular/rectangle-list.js +0 -15
- package/dist/ui-public/icons/regular/right-left.js +0 -15
- package/dist/ui-public/icons/regular/rotate-left.js +0 -16
- package/dist/ui-public/icons/regular/shield.js +0 -15
- package/dist/ui-public/icons/regular/sidebar-flip.js +0 -16
- package/dist/ui-public/icons/regular/sidebar.js +0 -16
- package/dist/ui-public/icons/regular/sliders.js +0 -16
- package/dist/ui-public/icons/regular/sparkles.js +0 -15
- package/dist/ui-public/icons/regular/square-caret-down.js +0 -15
- package/dist/ui-public/icons/regular/square-check.js +0 -15
- package/dist/ui-public/icons/regular/square-dashed.js +0 -15
- package/dist/ui-public/icons/regular/square-left.js +0 -16
- package/dist/ui-public/icons/regular/square-terminal.js +0 -16
- package/dist/ui-public/icons/regular/square-up-right.js +0 -16
- package/dist/ui-public/icons/regular/store.js +0 -16
- package/dist/ui-public/icons/regular/swap-arrows.js +0 -15
- package/dist/ui-public/icons/regular/table.js +0 -16
- package/dist/ui-public/icons/regular/tag.js +0 -16
- package/dist/ui-public/icons/regular/toggle-on.js +0 -15
- package/dist/ui-public/icons/regular/toolbox.js +0 -16
- package/dist/ui-public/icons/regular/trash-undo.js +0 -15
- package/dist/ui-public/icons/regular/trash.js +0 -16
- package/dist/ui-public/icons/regular/triangle-exclamation.js +0 -16
- package/dist/ui-public/icons/regular/turn-up.js +0 -16
- package/dist/ui-public/icons/regular/user-group.js +0 -15
- package/dist/ui-public/icons/regular/user-helmet-safety.js +0 -16
- package/dist/ui-public/icons/regular/user-lock.js +0 -16
- package/dist/ui-public/icons/regular/user-minus.js +0 -16
- package/dist/ui-public/icons/regular/user-tie.js +0 -15
- package/dist/ui-public/icons/regular/user.js +0 -16
- package/dist/ui-public/icons/regular/users.js +0 -15
- package/dist/ui-public/icons/regular/video.js +0 -15
- package/dist/ui-public/icons/regular/webhook.js +0 -15
- package/dist/ui-public/icons/regular/wrench.js +0 -15
- package/dist/ui-public/icons/regular/xmark.js +0 -16
- package/dist/ui-public/icons/solid/align-center.js +0 -16
- package/dist/ui-public/icons/solid/align-justify.js +0 -16
- package/dist/ui-public/icons/solid/align-left.js +0 -16
- package/dist/ui-public/icons/solid/align-right.js +0 -16
- package/dist/ui-public/icons/solid/arrow-rotate-left.js +0 -16
- package/dist/ui-public/icons/solid/arrow-rotate-right.js +0 -16
- package/dist/ui-public/icons/solid/bold.js +0 -16
- package/dist/ui-public/icons/solid/circle-exclamation.js +0 -16
- package/dist/ui-public/icons/solid/closed-captioning.js +0 -15
- package/dist/ui-public/icons/solid/code.js +0 -16
- package/dist/ui-public/icons/solid/compress.js +0 -16
- package/dist/ui-public/icons/solid/download.js +0 -15
- package/dist/ui-public/icons/solid/expand.js +0 -16
- package/dist/ui-public/icons/solid/file-arrow-down.js +0 -15
- package/dist/ui-public/icons/solid/file-code.js +0 -16
- package/dist/ui-public/icons/solid/grid-2.js +0 -16
- package/dist/ui-public/icons/solid/h1.js +0 -16
- package/dist/ui-public/icons/solid/h2.js +0 -16
- package/dist/ui-public/icons/solid/h3.js +0 -16
- package/dist/ui-public/icons/solid/h4.js +0 -16
- package/dist/ui-public/icons/solid/h5.js +0 -16
- package/dist/ui-public/icons/solid/h6.js +0 -16
- package/dist/ui-public/icons/solid/highlighter.js +0 -16
- package/dist/ui-public/icons/solid/horizontal-rule.js +0 -16
- package/dist/ui-public/icons/solid/image.js +0 -16
- package/dist/ui-public/icons/solid/indent.js +0 -16
- package/dist/ui-public/icons/solid/italic.js +0 -16
- package/dist/ui-public/icons/solid/link.js +0 -16
- package/dist/ui-public/icons/solid/list-ol.js +0 -16
- package/dist/ui-public/icons/solid/list-ul.js +0 -16
- package/dist/ui-public/icons/solid/location-dot.js +0 -16
- package/dist/ui-public/icons/solid/music.js +0 -15
- package/dist/ui-public/icons/solid/outdent.js +0 -16
- package/dist/ui-public/icons/solid/paragraph.js +0 -16
- package/dist/ui-public/icons/solid/plus.js +0 -16
- package/dist/ui-public/icons/solid/quote-right.js +0 -16
- package/dist/ui-public/icons/solid/rectangle-code.js +0 -16
- package/dist/ui-public/icons/solid/square-plus.js +0 -16
- package/dist/ui-public/icons/solid/strikethrough.js +0 -16
- package/dist/ui-public/icons/solid/subtitles.js +0 -15
- package/dist/ui-public/icons/solid/table.js +0 -16
- package/dist/ui-public/icons/solid/triangle-exclamation.js +0 -16
- package/dist/ui-public/icons/solid/underline.js +0 -16
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { forwardRef } from "react";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
//#region ../../node_modules/lucide-static/icons/undo-2.svg?react
|
|
4
|
+
var SvgUndo2 = (props, ref) => /* @__PURE__ */ jsxs("svg", {
|
|
5
|
+
className: "lucide lucide-undo-2",
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "1em",
|
|
8
|
+
height: "1em",
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
fill: "none",
|
|
11
|
+
stroke: "currentColor",
|
|
12
|
+
strokeWidth: 2,
|
|
13
|
+
strokeLinecap: "round",
|
|
14
|
+
strokeLinejoin: "round",
|
|
15
|
+
"aria-hidden": "true",
|
|
16
|
+
ref,
|
|
17
|
+
...props,
|
|
18
|
+
children: [/* @__PURE__ */ jsx("path", { d: "M9 14 4 9l5-5" }), /* @__PURE__ */ jsx("path", { d: "M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11" })]
|
|
19
|
+
});
|
|
20
|
+
var ForwardRef = forwardRef(SvgUndo2);
|
|
21
|
+
//#endregion
|
|
22
|
+
export { ForwardRef as default };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { forwardRef } from "react";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
//#region ../../node_modules/lucide-static/icons/unfold-vertical.svg?react
|
|
4
|
+
var SvgUnfoldVertical = (props, ref) => /* @__PURE__ */ jsxs("svg", {
|
|
5
|
+
className: "lucide lucide-unfold-vertical",
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "1em",
|
|
8
|
+
height: "1em",
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
fill: "none",
|
|
11
|
+
stroke: "currentColor",
|
|
12
|
+
strokeWidth: 2,
|
|
13
|
+
strokeLinecap: "round",
|
|
14
|
+
strokeLinejoin: "round",
|
|
15
|
+
"aria-hidden": "true",
|
|
16
|
+
ref,
|
|
17
|
+
...props,
|
|
18
|
+
children: [
|
|
19
|
+
/* @__PURE__ */ jsx("path", { d: "M12 22v-6" }),
|
|
20
|
+
/* @__PURE__ */ jsx("path", { d: "M12 8V2" }),
|
|
21
|
+
/* @__PURE__ */ jsx("path", { d: "M4 12H2" }),
|
|
22
|
+
/* @__PURE__ */ jsx("path", { d: "M10 12H8" }),
|
|
23
|
+
/* @__PURE__ */ jsx("path", { d: "M16 12h-2" }),
|
|
24
|
+
/* @__PURE__ */ jsx("path", { d: "M22 12h-2" }),
|
|
25
|
+
/* @__PURE__ */ jsx("path", { d: "m15 19-3 3-3-3" }),
|
|
26
|
+
/* @__PURE__ */ jsx("path", { d: "m15 5-3-3-3 3" })
|
|
27
|
+
]
|
|
28
|
+
});
|
|
29
|
+
var ForwardRef = forwardRef(SvgUnfoldVertical);
|
|
30
|
+
//#endregion
|
|
31
|
+
export { ForwardRef as default };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { forwardRef } from "react";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
//#region ../../node_modules/lucide-static/icons/user-lock.svg?react
|
|
4
|
+
var SvgUserLock = (props, ref) => /* @__PURE__ */ jsxs("svg", {
|
|
5
|
+
className: "lucide lucide-user-lock",
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "1em",
|
|
8
|
+
height: "1em",
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
fill: "none",
|
|
11
|
+
stroke: "currentColor",
|
|
12
|
+
strokeWidth: 2,
|
|
13
|
+
strokeLinecap: "round",
|
|
14
|
+
strokeLinejoin: "round",
|
|
15
|
+
"aria-hidden": "true",
|
|
16
|
+
ref,
|
|
17
|
+
...props,
|
|
18
|
+
children: [
|
|
19
|
+
/* @__PURE__ */ jsx("path", { d: "M19 16v-2a2 2 0 0 0-4 0v2" }),
|
|
20
|
+
/* @__PURE__ */ jsx("path", { d: "M9.5 15H7a4 4 0 0 0-4 4v2" }),
|
|
21
|
+
/* @__PURE__ */ jsx("circle", {
|
|
22
|
+
cx: 10,
|
|
23
|
+
cy: 7,
|
|
24
|
+
r: 4
|
|
25
|
+
}),
|
|
26
|
+
/* @__PURE__ */ jsx("rect", {
|
|
27
|
+
x: 13,
|
|
28
|
+
y: 16,
|
|
29
|
+
width: 8,
|
|
30
|
+
height: 5,
|
|
31
|
+
rx: .899
|
|
32
|
+
})
|
|
33
|
+
]
|
|
34
|
+
});
|
|
35
|
+
var ForwardRef = forwardRef(SvgUserLock);
|
|
36
|
+
//#endregion
|
|
37
|
+
export { ForwardRef as default };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { forwardRef } from "react";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
//#region ../../node_modules/lucide-static/icons/user-minus.svg?react
|
|
4
|
+
var SvgUserMinus = (props, ref) => /* @__PURE__ */ jsxs("svg", {
|
|
5
|
+
className: "lucide lucide-user-minus",
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "1em",
|
|
8
|
+
height: "1em",
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
fill: "none",
|
|
11
|
+
stroke: "currentColor",
|
|
12
|
+
strokeWidth: 2,
|
|
13
|
+
strokeLinecap: "round",
|
|
14
|
+
strokeLinejoin: "round",
|
|
15
|
+
"aria-hidden": "true",
|
|
16
|
+
ref,
|
|
17
|
+
...props,
|
|
18
|
+
children: [
|
|
19
|
+
/* @__PURE__ */ jsx("path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2" }),
|
|
20
|
+
/* @__PURE__ */ jsx("circle", {
|
|
21
|
+
cx: 9,
|
|
22
|
+
cy: 7,
|
|
23
|
+
r: 4
|
|
24
|
+
}),
|
|
25
|
+
/* @__PURE__ */ jsx("line", {
|
|
26
|
+
x1: 22,
|
|
27
|
+
x2: 16,
|
|
28
|
+
y1: 11,
|
|
29
|
+
y2: 11
|
|
30
|
+
})
|
|
31
|
+
]
|
|
32
|
+
});
|
|
33
|
+
var ForwardRef = forwardRef(SvgUserMinus);
|
|
34
|
+
//#endregion
|
|
35
|
+
export { ForwardRef as default };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { forwardRef } from "react";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
//#region ../../node_modules/lucide-static/icons/user-round-arrow-left.svg?react
|
|
4
|
+
var SvgUserRoundArrowLeft = (props, ref) => /* @__PURE__ */ jsxs("svg", {
|
|
5
|
+
className: "lucide lucide-user-round-arrow-left",
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "1em",
|
|
8
|
+
height: "1em",
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
fill: "none",
|
|
11
|
+
stroke: "currentColor",
|
|
12
|
+
strokeWidth: 2,
|
|
13
|
+
strokeLinecap: "round",
|
|
14
|
+
strokeLinejoin: "round",
|
|
15
|
+
"aria-hidden": "true",
|
|
16
|
+
ref,
|
|
17
|
+
...props,
|
|
18
|
+
children: [
|
|
19
|
+
/* @__PURE__ */ jsx("path", { d: "m19 16-3 3" }),
|
|
20
|
+
/* @__PURE__ */ jsx("path", { d: "M2 21a8 8 0 0 1 12.664-6.5" }),
|
|
21
|
+
/* @__PURE__ */ jsx("path", { d: "M22 19h-6l3 3" }),
|
|
22
|
+
/* @__PURE__ */ jsx("circle", {
|
|
23
|
+
cx: 10,
|
|
24
|
+
cy: 8,
|
|
25
|
+
r: 5
|
|
26
|
+
})
|
|
27
|
+
]
|
|
28
|
+
});
|
|
29
|
+
var ForwardRef = forwardRef(SvgUserRoundArrowLeft);
|
|
30
|
+
//#endregion
|
|
31
|
+
export { ForwardRef as default };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { forwardRef } from "react";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
//#region ../../node_modules/lucide-static/icons/user.svg?react
|
|
4
|
+
var SvgUser = (props, ref) => /* @__PURE__ */ jsxs("svg", {
|
|
5
|
+
className: "lucide lucide-user",
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "1em",
|
|
8
|
+
height: "1em",
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
fill: "none",
|
|
11
|
+
stroke: "currentColor",
|
|
12
|
+
strokeWidth: 2,
|
|
13
|
+
strokeLinecap: "round",
|
|
14
|
+
strokeLinejoin: "round",
|
|
15
|
+
"aria-hidden": "true",
|
|
16
|
+
ref,
|
|
17
|
+
...props,
|
|
18
|
+
children: [/* @__PURE__ */ jsx("path", { d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2" }), /* @__PURE__ */ jsx("circle", {
|
|
19
|
+
cx: 12,
|
|
20
|
+
cy: 7,
|
|
21
|
+
r: 4
|
|
22
|
+
})]
|
|
23
|
+
});
|
|
24
|
+
var ForwardRef = forwardRef(SvgUser);
|
|
25
|
+
//#endregion
|
|
26
|
+
export { ForwardRef as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { forwardRef } from "react";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
//#region ../../node_modules/lucide-static/icons/x.svg?react
|
|
4
|
+
var SvgX = (props, ref) => /* @__PURE__ */ jsxs("svg", {
|
|
5
|
+
className: "lucide lucide-x",
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "1em",
|
|
8
|
+
height: "1em",
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
fill: "none",
|
|
11
|
+
stroke: "currentColor",
|
|
12
|
+
strokeWidth: 2,
|
|
13
|
+
strokeLinecap: "round",
|
|
14
|
+
strokeLinejoin: "round",
|
|
15
|
+
"aria-hidden": "true",
|
|
16
|
+
ref,
|
|
17
|
+
...props,
|
|
18
|
+
children: [/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" }), /* @__PURE__ */ jsx("path", { d: "m6 6 12 12" })]
|
|
19
|
+
});
|
|
20
|
+
var ForwardRef = forwardRef(SvgX);
|
|
21
|
+
//#endregion
|
|
22
|
+
export { ForwardRef as default };
|
|
@@ -15,6 +15,8 @@ var en_default = {
|
|
|
15
15
|
"activityLog.noResults.description": "Nothing matches your filters. Try different filters, or remove some of them.",
|
|
16
16
|
"activityLog.noResults.title": "No results",
|
|
17
17
|
"admin.listDetail.panel.close": "Hide details",
|
|
18
|
+
"admin.listDetail.panel.empty.description": "Click a row to see its details here.",
|
|
19
|
+
"admin.listDetail.panel.empty.title": "Nothing selected",
|
|
18
20
|
"admin.listDetail.panel.failed.text": "It may no longer exist, or the request failed.",
|
|
19
21
|
"admin.listDetail.panel.failed.title": "The event could not be loaded",
|
|
20
22
|
"admin.listDetail.panel.loading": "Loading the event…",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** A key of a text of ui-public, as in `locales/en.json` */
|
|
2
|
-
export type UiTextKey = 'MultipleSelectionActionBar.changeSelection' | 'MultipleSelectionActionBar.deselectAll' | 'a11y.filterToggle' | 'a11y.pagination.goToPage' | 'a11y.pagination.label' | 'a11y.pagination.next' | 'a11y.pagination.perPage' | 'a11y.pagination.previous' | 'a11y.selectInput.remove' | 'a11y.table.selectAll' | 'actionGroups.general' | 'actionGroups.list' | 'activityLog.noResults.description' | 'activityLog.noResults.title' | 'admin.listDetail.panel.close' | 'admin.listDetail.panel.failed.text' | 'admin.listDetail.panel.failed.title' | 'admin.listDetail.panel.loading' | 'admin.listPresets.all' | 'blankSlate.documentation' | 'clipboard.copied' | 'clipboard.copy' | 'clipboard.copyId' | 'clipboard.open' | 'date.today' | 'dropdown.search' | 'dropdown.selectOption' | 'editorToolbar.addImage' | 'editorToolbar.addTable' | 'editorToolbar.alignCenter' | 'editorToolbar.alignJustify' | 'editorToolbar.alignLeft' | 'editorToolbar.alignRight' | 'editorToolbar.closeFullscreen' | 'editorToolbar.indent' | 'editorToolbar.label' | 'editorToolbar.openFullscreen' | 'editorToolbar.outdent' | 'editorToolbar.redo' | 'editorToolbar.source' | 'editorToolbar.undo' | 'environment.primary' | 'environment.sandbox' | 'field.clearValue' | 'form.localizedField' | 'form.optional' | 'form.password.hide' | 'form.password.show' | 'framedImage.enlarged' | 'fullTextQuery.close' | 'fullTextQuery.placeholder' | 'hotkeys.closeModal' | 'hotkeys.closePopover' | 'hotkeys.filterList' | 'idText.label' | 'imageMetadata.analyzingUpload' | 'imageMetadata.cancelUpload' | 'imageMetadata.noMetadata' | 'imageMetadata.uploadInProgress' | 'item.shortStatus.draft' | 'item.shortStatus.new' | 'item.shortStatus.published' | 'item.shortStatus.updated' | 'itemTable.columns.available' | 'itemTable.columns.displayed' | 'itemTable.columns.hide' | 'keyValueList.value' | 'listFilter.noResults.description' | 'listFilter.noResults.title' | 'messages.confirm.defaultCancel' | 'modal.close' | 'pagination.next' | 'pagination.previous' | 'pagination.show' | 'selectInput.create' | 'selectInput.loading' | 'selectInput.noOptions' | 'settingsMenu.needsAttention' | 'settingsMenu.opensNewTab' | 'shortcut.or' | 'shortcut.then' | 'shortcutsPanel.close' | 'shortcutsPanel.noResults' | 'shortcutsPanel.title' | 'sidebar.actions' | 'sidebar.hide' | 'sidebar.keepOpen' | 'sidebar.show' | 'sidebar.toggleLeft' | 'sidebar.toggleRight' | 'sidebarEditMode.reorder' | 'slate.slash.blockquote.title' | 'slate.toolbarButton.bulletedList' | 'slate.toolbarButton.code' | 'slate.toolbarButton.emphasis' | 'slate.toolbarButton.link' | 'slate.toolbarButton.numberedList' | 'slate.toolbarButton.strikethrough' | 'slate.toolbarButton.strong' | 'spinner.label' | 'splitButton.moreActions' | 'table.row.loading' | 'tableList.removeRow' | 'toolbar.goBack' | 'toolbar.help' | 'toolbar.learnMore' | 'upload.threatDetected' | 'usage.meterLabel' | 'validityTriangle.current' | 'validityTriangle.invalidVersion' | 'validityTriangle.published';
|
|
2
|
+
export type UiTextKey = 'MultipleSelectionActionBar.changeSelection' | 'MultipleSelectionActionBar.deselectAll' | 'a11y.filterToggle' | 'a11y.pagination.goToPage' | 'a11y.pagination.label' | 'a11y.pagination.next' | 'a11y.pagination.perPage' | 'a11y.pagination.previous' | 'a11y.selectInput.remove' | 'a11y.table.selectAll' | 'actionGroups.general' | 'actionGroups.list' | 'activityLog.noResults.description' | 'activityLog.noResults.title' | 'admin.listDetail.panel.close' | 'admin.listDetail.panel.empty.description' | 'admin.listDetail.panel.empty.title' | 'admin.listDetail.panel.failed.text' | 'admin.listDetail.panel.failed.title' | 'admin.listDetail.panel.loading' | 'admin.listPresets.all' | 'blankSlate.documentation' | 'clipboard.copied' | 'clipboard.copy' | 'clipboard.copyId' | 'clipboard.open' | 'date.today' | 'dropdown.search' | 'dropdown.selectOption' | 'editorToolbar.addImage' | 'editorToolbar.addTable' | 'editorToolbar.alignCenter' | 'editorToolbar.alignJustify' | 'editorToolbar.alignLeft' | 'editorToolbar.alignRight' | 'editorToolbar.closeFullscreen' | 'editorToolbar.indent' | 'editorToolbar.label' | 'editorToolbar.openFullscreen' | 'editorToolbar.outdent' | 'editorToolbar.redo' | 'editorToolbar.source' | 'editorToolbar.undo' | 'environment.primary' | 'environment.sandbox' | 'field.clearValue' | 'form.localizedField' | 'form.optional' | 'form.password.hide' | 'form.password.show' | 'framedImage.enlarged' | 'fullTextQuery.close' | 'fullTextQuery.placeholder' | 'hotkeys.closeModal' | 'hotkeys.closePopover' | 'hotkeys.filterList' | 'idText.label' | 'imageMetadata.analyzingUpload' | 'imageMetadata.cancelUpload' | 'imageMetadata.noMetadata' | 'imageMetadata.uploadInProgress' | 'item.shortStatus.draft' | 'item.shortStatus.new' | 'item.shortStatus.published' | 'item.shortStatus.updated' | 'itemTable.columns.available' | 'itemTable.columns.displayed' | 'itemTable.columns.hide' | 'keyValueList.value' | 'listFilter.noResults.description' | 'listFilter.noResults.title' | 'messages.confirm.defaultCancel' | 'modal.close' | 'pagination.next' | 'pagination.previous' | 'pagination.show' | 'selectInput.create' | 'selectInput.loading' | 'selectInput.noOptions' | 'settingsMenu.needsAttention' | 'settingsMenu.opensNewTab' | 'shortcut.or' | 'shortcut.then' | 'shortcutsPanel.close' | 'shortcutsPanel.noResults' | 'shortcutsPanel.title' | 'sidebar.actions' | 'sidebar.hide' | 'sidebar.keepOpen' | 'sidebar.show' | 'sidebar.toggleLeft' | 'sidebar.toggleRight' | 'sidebarEditMode.reorder' | 'slate.slash.blockquote.title' | 'slate.toolbarButton.bulletedList' | 'slate.toolbarButton.code' | 'slate.toolbarButton.emphasis' | 'slate.toolbarButton.link' | 'slate.toolbarButton.numberedList' | 'slate.toolbarButton.strikethrough' | 'slate.toolbarButton.strong' | 'spinner.label' | 'splitButton.moreActions' | 'table.row.loading' | 'tableList.removeRow' | 'toolbar.goBack' | 'toolbar.help' | 'toolbar.learnMore' | 'upload.threatDetected' | 'usage.meterLabel' | 'validityTriangle.current' | 'validityTriangle.invalidVersion' | 'validityTriangle.published';
|
|
@@ -54,10 +54,15 @@ export type ActionTooltipOptions = {
|
|
|
54
54
|
};
|
|
55
55
|
/** The tooltip of an icon-only button, with options */
|
|
56
56
|
type TooltipOptions =
|
|
57
|
-
/**
|
|
57
|
+
/**
|
|
58
|
+
* A text (the label by default). "long" is for a paragraph or a list.
|
|
59
|
+
* With "interactive", the text shows in a HoverCard: the pointer can move
|
|
60
|
+
* into it, and the user can select the text.
|
|
61
|
+
*/
|
|
58
62
|
{
|
|
59
63
|
content?: Message;
|
|
60
64
|
long?: boolean;
|
|
65
|
+
interactive?: boolean;
|
|
61
66
|
placement?: Placement;
|
|
62
67
|
action?: never;
|
|
63
68
|
} | ActionTooltipOptions;
|
|
@@ -91,7 +96,10 @@ type ButtonElementState = {
|
|
|
91
96
|
* "onClick" that returns a promise sets it automatically.
|
|
92
97
|
*/
|
|
93
98
|
busy?: boolean;
|
|
94
|
-
/**
|
|
99
|
+
/**
|
|
100
|
+
* The state of a toggle button (for example the filter toggle). Only the
|
|
101
|
+
* soft and the ghost tones show it: a toggle is never the main action.
|
|
102
|
+
*/
|
|
95
103
|
pressed?: boolean;
|
|
96
104
|
};
|
|
97
105
|
/** A link has no busy or pressed state */
|
|
@@ -2,6 +2,7 @@ import { isHtmlMessage, isIntlMessage } from "../Message.js";
|
|
|
2
2
|
import { useTranslation } from "../i18n.js";
|
|
3
3
|
import Spinner_default from "../feedback/Spinner.js";
|
|
4
4
|
import Link from "../navigation/Link.js";
|
|
5
|
+
import HoverCard_default from "../overlays/HoverCard/index.js";
|
|
5
6
|
import Tooltip from "../overlays/Tooltip/index.js";
|
|
6
7
|
import RawButton from "../semantic/RawButton.js";
|
|
7
8
|
import { ActionTooltip } from "./Actions/ActionTooltip.js";
|
|
@@ -25,7 +26,7 @@ function isTooltipOptions(tooltip) {
|
|
|
25
26
|
return typeof tooltip === "object" && tooltip !== null && !isIntlMessage(tooltip) && !isHtmlMessage(tooltip) && !React.isValidElement(tooltip);
|
|
26
27
|
}
|
|
27
28
|
var toneClassName = {
|
|
28
|
-
soft: "button",
|
|
29
|
+
soft: "button button--soft",
|
|
29
30
|
ghost: "button button--ghost",
|
|
30
31
|
primary: "button button--primary",
|
|
31
32
|
alert: "button button--alert",
|
|
@@ -153,6 +154,11 @@ var Button = React.forwardRef(function Button({ tone = "soft", size, expand, dis
|
|
|
153
154
|
label: tooltip ?? iconOnlyLabel,
|
|
154
155
|
children: element
|
|
155
156
|
});
|
|
157
|
+
if (tooltip.interactive) return /* @__PURE__ */ jsx(HoverCard_default, {
|
|
158
|
+
content: /* @__PURE__ */ jsx(HoverCard_default.Body, { children: tooltip.content ? tc(tooltip.content) : iconOnlyLabel }),
|
|
159
|
+
placement: tooltip.placement,
|
|
160
|
+
children: element
|
|
161
|
+
});
|
|
156
162
|
return /* @__PURE__ */ jsx(Tooltip, {
|
|
157
163
|
label: tooltip.content ?? iconOnlyLabel,
|
|
158
164
|
long: tooltip.long,
|
|
@@ -46,7 +46,7 @@ var Menu = React.forwardRef(({ children, placement = "bottom-start", noOverflowH
|
|
|
46
46
|
const detectedLocale = useTriggerLang();
|
|
47
47
|
const isMobile = useIsMenuSheet();
|
|
48
48
|
const Wrapper = isMobile ? MenuMobileContainer : MenuDesktopContainer;
|
|
49
|
-
const { refs, floatingStyles, placement: finalPlacement } = useFloating({
|
|
49
|
+
const { refs, floatingStyles, placement: finalPlacement, isPositioned } = useFloating({
|
|
50
50
|
placement,
|
|
51
51
|
whileElementsMounted: autoUpdate,
|
|
52
52
|
middleware: [
|
|
@@ -86,6 +86,7 @@ var Menu = React.forwardRef(({ children, placement = "bottom-start", noOverflowH
|
|
|
86
86
|
},
|
|
87
87
|
children: [/* @__PURE__ */ jsx(MenuContent, {
|
|
88
88
|
isRoot: true,
|
|
89
|
+
isPositioned: isMobile || isPositioned,
|
|
89
90
|
title: isMobile ? { id: "dropdown.selectOption" } : void 0,
|
|
90
91
|
noOverflowHidden,
|
|
91
92
|
contextualSearch,
|
|
@@ -16,6 +16,7 @@ type Props = {
|
|
|
16
16
|
optionPaddingY?: number;
|
|
17
17
|
isRoot?: boolean;
|
|
18
18
|
title?: Message;
|
|
19
|
+
isPositioned: boolean;
|
|
19
20
|
};
|
|
20
|
-
export default function MenuContent({ children, noOverflowHidden, contextualSearch, minWidth, optionPaddingY, isRoot, title, }: Props): React.JSX.Element;
|
|
21
|
+
export default function MenuContent({ children, noOverflowHidden, contextualSearch, minWidth, optionPaddingY, isRoot, title, isPositioned, }: Props): React.JSX.Element;
|
|
21
22
|
export {};
|
|
@@ -16,7 +16,7 @@ function highlightOption(menu, option) {
|
|
|
16
16
|
block: "nearest"
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
|
-
function MenuContent({ children, noOverflowHidden, contextualSearch = "auto", minWidth, optionPaddingY, isRoot = false, title }) {
|
|
19
|
+
function MenuContent({ children, noOverflowHidden, contextualSearch = "auto", minWidth, optionPaddingY, isRoot = false, title, isPositioned }) {
|
|
20
20
|
const { t, tm, tc } = useTranslation();
|
|
21
21
|
const { closeMenu, triggerId, menuId } = useContext(DropdownContext);
|
|
22
22
|
const [searchTerm, setSearchTerm] = useState("");
|
|
@@ -55,14 +55,24 @@ function MenuContent({ children, noOverflowHidden, contextualSearch = "auto", mi
|
|
|
55
55
|
openedByKeyRef.current = Boolean(triggerId && document.getElementById(triggerId)?.matches(":focus-visible"));
|
|
56
56
|
}, [triggerId]);
|
|
57
57
|
useEffect(() => {
|
|
58
|
+
if (!isPositioned) return;
|
|
58
59
|
const focusTarget = showSearch ? searchInputRef.current : menuRef.current;
|
|
59
60
|
const first = menuRef.current?.querySelector(".Dropdown__menu__option:not(.is-disabled)");
|
|
60
61
|
if (isRoot && openedByKeyRef.current && first && focusTarget) highlightOption(focusTarget, first);
|
|
61
|
-
}, [
|
|
62
|
+
}, [
|
|
63
|
+
isRoot,
|
|
64
|
+
showSearch,
|
|
65
|
+
isPositioned
|
|
66
|
+
]);
|
|
62
67
|
useEffect(() => {
|
|
68
|
+
if (!isPositioned) return;
|
|
63
69
|
if (showSearch) searchInputRef.current?.focus();
|
|
64
70
|
else if (isRoot) menuRef.current?.focus();
|
|
65
|
-
}, [
|
|
71
|
+
}, [
|
|
72
|
+
showSearch,
|
|
73
|
+
isRoot,
|
|
74
|
+
isPositioned
|
|
75
|
+
]);
|
|
66
76
|
const handleKeyDown = useCallback((event) => {
|
|
67
77
|
if (isHotkey("escape", event.nativeEvent) || isHotkey("tab", event.nativeEvent)) {
|
|
68
78
|
event.preventDefault();
|
|
@@ -20,7 +20,7 @@ function Submenu({ children, triggerContent, triggerIcon, disabled = false }) {
|
|
|
20
20
|
const [isOpenOnMobile, setIsOpenOnMobile] = useState(false);
|
|
21
21
|
const [isOpen, setIsOpen] = useState(false);
|
|
22
22
|
const { isClosing } = useContext(DropdownContext);
|
|
23
|
-
const { refs, floatingStyles, context, placement: finalPlacement } = useFloating({
|
|
23
|
+
const { refs, floatingStyles, context, placement: finalPlacement, isPositioned } = useFloating({
|
|
24
24
|
open: isOpen,
|
|
25
25
|
onOpenChange: setIsOpen,
|
|
26
26
|
placement: "right-start",
|
|
@@ -75,7 +75,10 @@ function Submenu({ children, triggerContent, triggerIcon, disabled = false }) {
|
|
|
75
75
|
},
|
|
76
76
|
...placementAttributes,
|
|
77
77
|
...getFloatingProps(),
|
|
78
|
-
children: /* @__PURE__ */ jsx(MenuContent, {
|
|
78
|
+
children: /* @__PURE__ */ jsx(MenuContent, {
|
|
79
|
+
isPositioned,
|
|
80
|
+
children
|
|
81
|
+
})
|
|
79
82
|
}) }) }),
|
|
80
83
|
isMobile && isOpenOnMobile && !disabled && /* @__PURE__ */ jsx(Menu, {
|
|
81
84
|
placement: "right-start",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useTranslation } from "../i18n.js";
|
|
2
|
-
import Tooltip from "../overlays/Tooltip/index.js";
|
|
3
2
|
import HoverCard_default from "../overlays/HoverCard/index.js";
|
|
3
|
+
import Tooltip from "../overlays/Tooltip/index.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region ../ui-public/src/actions/disabledReason.tsx
|
|
@@ -6,7 +6,7 @@ import React from "react";
|
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../ui-public/src/content/UploadThreatTriangle.tsx
|
|
8
8
|
function UploadThreatIcon() {
|
|
9
|
-
return /* @__PURE__ */ jsx(Status.
|
|
9
|
+
return /* @__PURE__ */ jsx(Status.TriangleExclamationIcon, { className: "ValidityTriangle--threat" });
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* The triangle of an upload that the antivirus found infected. Render it
|
|
@@ -7,7 +7,7 @@ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
|
7
7
|
//#region ../ui-public/src/content/ValidityTriangles.tsx
|
|
8
8
|
/** The solid triangle of a published version that is not valid */
|
|
9
9
|
function InvalidPublishedVersionIcon({ className }) {
|
|
10
|
-
return /* @__PURE__ */ jsx(Status.
|
|
10
|
+
return /* @__PURE__ */ jsx(Status.TriangleExclamationIcon, { className: classNames("ValidityTriangle--published", className) });
|
|
11
11
|
}
|
|
12
12
|
/** The outline triangle of a current version that is not valid */
|
|
13
13
|
function InvalidCurrentVersionIcon({ className }) {
|
|
@@ -6,14 +6,6 @@ import { useTextInputHandlers } from "./useTextInputHandlers.js";
|
|
|
6
6
|
import React, { useState } from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region ../ui-public/src/form/PasswordInput.tsx
|
|
9
|
-
var ShowPasswordIcon = (props) => /* @__PURE__ */ jsx(Authentication.ShowPasswordIcon, {
|
|
10
|
-
...props,
|
|
11
|
-
viewBox: "0 0 640 512"
|
|
12
|
-
});
|
|
13
|
-
var HidePasswordIcon = (props) => /* @__PURE__ */ jsx(Authentication.HidePasswordIcon, {
|
|
14
|
-
...props,
|
|
15
|
-
viewBox: "0 0 640 512"
|
|
16
|
-
});
|
|
17
9
|
/**
|
|
18
10
|
* A password input with a button that shows or hides the password. It passes
|
|
19
11
|
* the attributes of an `input` element to the `input`.
|
|
@@ -41,7 +33,7 @@ var PasswordInput = ({ value, onChange, onBlur, onFocus, placeholder, ...inputPr
|
|
|
41
33
|
tone: "ghost",
|
|
42
34
|
size: "micro",
|
|
43
35
|
iconOnly: true,
|
|
44
|
-
icon: showPassword ? HidePasswordIcon : ShowPasswordIcon,
|
|
36
|
+
icon: showPassword ? Authentication.HidePasswordIcon : Authentication.ShowPasswordIcon,
|
|
45
37
|
label: { id: showPassword ? "form.password.hide" : "form.password.show" },
|
|
46
38
|
className: "PasswordInput__toggle",
|
|
47
39
|
onClick: () => setShowPassword((visible) => !visible)
|
|
@@ -49,8 +49,10 @@ var SwitchInput = React.memo(function SwitchInput(props) {
|
|
|
49
49
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs("div", {
|
|
50
50
|
className: classNames("SwitchInput", inList && "SwitchInput--row"),
|
|
51
51
|
children: [
|
|
52
|
-
inList &&
|
|
53
|
-
|
|
52
|
+
inList && /* @__PURE__ */ jsxs("div", {
|
|
53
|
+
className: "SwitchInput__text",
|
|
54
|
+
children: [labelElement, reasonElement]
|
|
55
|
+
}),
|
|
54
56
|
/* @__PURE__ */ jsx("input", {
|
|
55
57
|
type: "checkbox",
|
|
56
58
|
id: checkboxId,
|
|
@@ -12,6 +12,11 @@ export type PaginationProps = {
|
|
|
12
12
|
* @default 7
|
|
13
13
|
*/
|
|
14
14
|
maxPagesToBeShown?: number;
|
|
15
|
+
/**
|
|
16
|
+
* The most page numbers that show in a narrow toolbar (see
|
|
17
|
+
* Toolbar.Pagination). The other page numbers show only in a wide toolbar.
|
|
18
|
+
*/
|
|
19
|
+
maxNarrowPagesToBeShown?: number;
|
|
15
20
|
/** The number of items in all the pages */
|
|
16
21
|
totalEntries: number;
|
|
17
22
|
/** Runs when the user picks a page. The first page is 0. */
|
|
@@ -23,5 +28,5 @@ export type PaginationProps = {
|
|
|
23
28
|
disabled?: boolean;
|
|
24
29
|
};
|
|
25
30
|
/** The buttons of the pages of a list: "Previous", the numbers and "Next". */
|
|
26
|
-
declare const Pagination: ({ ariaLabel, perPage, currentPage, totalEntries, onChange, disabled, maxPagesToBeShown, }: PaginationProps) => React.JSX.Element;
|
|
31
|
+
declare const Pagination: ({ ariaLabel, perPage, currentPage, totalEntries, onChange, disabled, maxPagesToBeShown, maxNarrowPagesToBeShown, }: PaginationProps) => React.JSX.Element;
|
|
27
32
|
export default Pagination;
|
|
@@ -4,6 +4,7 @@ import { buttonClassName } from "../actions/Button.js";
|
|
|
4
4
|
import Nav from "../semantic/Nav.js";
|
|
5
5
|
import times from "../utils/times.js";
|
|
6
6
|
import "react";
|
|
7
|
+
import classNames from "classnames";
|
|
7
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
9
|
//#region ../ui-public/src/layout/Pagination.tsx
|
|
9
10
|
/**
|
|
@@ -21,10 +22,11 @@ var pageButtonClassName = `Pagination__button ${buttonClassName({
|
|
|
21
22
|
size: "milli"
|
|
22
23
|
})}`;
|
|
23
24
|
/** The buttons of the pages of a list: "Previous", the numbers and "Next". */
|
|
24
|
-
var Pagination = ({ ariaLabel, perPage, currentPage, totalEntries, onChange, disabled = false, maxPagesToBeShown = 7 }) => {
|
|
25
|
+
var Pagination = ({ ariaLabel, perPage, currentPage, totalEntries, onChange, disabled = false, maxPagesToBeShown = 7, maxNarrowPagesToBeShown }) => {
|
|
25
26
|
const { t, tm } = useTranslation();
|
|
26
27
|
const pageCount = Math.ceil(totalEntries / perPage);
|
|
27
28
|
const pages = visiblePages(pageCount, currentPage, maxPagesToBeShown);
|
|
29
|
+
const narrowPages = maxNarrowPagesToBeShown === void 0 ? pages : visiblePages(pageCount, currentPage, maxNarrowPagesToBeShown);
|
|
28
30
|
return /* @__PURE__ */ jsxs(Nav, {
|
|
29
31
|
className: "Pagination",
|
|
30
32
|
ariaLabel: t("a11y.pagination.label", { name: tm(ariaLabel) }),
|
|
@@ -41,7 +43,7 @@ var Pagination = ({ ariaLabel, perPage, currentPage, totalEntries, onChange, dis
|
|
|
41
43
|
children: pages.map((page) => {
|
|
42
44
|
const isCurrentPage = page === currentPage;
|
|
43
45
|
return /* @__PURE__ */ jsx(RawButton, {
|
|
44
|
-
className: pageButtonClassName,
|
|
46
|
+
className: classNames(pageButtonClassName, { "Pagination__button--wide-only": !narrowPages.includes(page) }),
|
|
45
47
|
disabled,
|
|
46
48
|
onClick: () => onChange(page),
|
|
47
49
|
ariaLabel: t("a11y.pagination.goToPage", { page: page + 1 }),
|
|
@@ -20,7 +20,7 @@ declare const _default: React.MemoExoticComponent<typeof FilterToggle>;
|
|
|
20
20
|
export default _default;
|
|
21
21
|
type UseFilterToolbarOptions = {
|
|
22
22
|
isFiltering: boolean;
|
|
23
|
-
onClear: () => void;
|
|
23
|
+
onClear: () => (() => void) | void;
|
|
24
24
|
onClose?: () => void;
|
|
25
25
|
defaultOpen?: boolean;
|
|
26
26
|
};
|
|
@@ -4,7 +4,7 @@ import { useTranslation } from "../../i18n.js";
|
|
|
4
4
|
import { useCollectionRegion, usePaneRegion } from "../Pane/PaneRegion.js";
|
|
5
5
|
import Button from "./Button.js";
|
|
6
6
|
import { usePaneAriaLabel } from "../Pane/PaneAriaLabel.js";
|
|
7
|
-
import React, { useCallback, useEffect, useMemo, useState } from "react";
|
|
7
|
+
import React, { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region ../ui-public/src/layout/Toolbar/FilterToggle.tsx
|
|
10
10
|
var FILTER_LIST_ACTION_ID = "list.filter";
|
|
@@ -64,21 +64,29 @@ function useFilterToolbar({ isFiltering, onClear, onClose, defaultOpen = false }
|
|
|
64
64
|
const [openByUser, setOpenByUser] = useState(defaultOpen);
|
|
65
65
|
const [autoFocus, setAutoFocus] = useState(false);
|
|
66
66
|
const [isClosing, setClosing] = useState(false);
|
|
67
|
+
const restoreRef = useRef(null);
|
|
67
68
|
useEffect(() => {
|
|
68
|
-
if (!isFiltering)
|
|
69
|
+
if (!isFiltering) {
|
|
70
|
+
setClosing(false);
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
restoreRef.current = null;
|
|
69
74
|
}, [isFiltering]);
|
|
70
75
|
const open = openByUser || isFiltering && !isClosing;
|
|
71
76
|
const handleOpen = useCallback(() => {
|
|
72
77
|
setOpenByUser(true);
|
|
73
78
|
setAutoFocus(true);
|
|
74
|
-
|
|
79
|
+
const restore = restoreRef.current;
|
|
80
|
+
restoreRef.current = null;
|
|
81
|
+
if (restore && !isFiltering) restore();
|
|
82
|
+
}, [isFiltering]);
|
|
75
83
|
const handleClose = useCallback(() => {
|
|
76
84
|
setOpenByUser(false);
|
|
77
85
|
setAutoFocus(false);
|
|
78
86
|
onClose?.();
|
|
79
87
|
if (isFiltering) {
|
|
80
88
|
setClosing(true);
|
|
81
|
-
onClear();
|
|
89
|
+
restoreRef.current = onClear() || null;
|
|
82
90
|
}
|
|
83
91
|
}, [
|
|
84
92
|
isFiltering,
|
|
@@ -14,7 +14,10 @@ export type ToolbarPaginationPerPageSelect = {
|
|
|
14
14
|
export type ToolbarPaginationProps = Omit<PaginationProps, 'maxPagesToBeShown' | 'ariaLabel'> & {
|
|
15
15
|
/** What the pages are of ("Roles"). Without it, the ariaLabel of the Pane. */
|
|
16
16
|
ariaLabel?: TextMessage;
|
|
17
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* Always fewer page numbers, and no "Show" select. Without it, the
|
|
19
|
+
* pagination has this layout only when the toolbar is narrow.
|
|
20
|
+
*/
|
|
18
21
|
compact?: boolean;
|
|
19
22
|
/**
|
|
20
23
|
* A "Show" select before the pages, to change the number of items of a
|
|
@@ -3,7 +3,7 @@ import { MenuChevron } from "../../navigation/Chevron.js";
|
|
|
3
3
|
import { usePaneAriaLabel } from "../Pane/PaneAriaLabel.js";
|
|
4
4
|
import Pagination from "../Pagination.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import {
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../ui-public/src/layout/Toolbar/Pagination.tsx
|
|
8
8
|
var DEFAULT_PER_PAGE_OPTIONS = [
|
|
9
9
|
25,
|
|
@@ -23,31 +23,35 @@ function ToolbarPagination({ ariaLabel, totalEntries, compact, perPage, currentP
|
|
|
23
23
|
const showPages = totalEntries > perPage;
|
|
24
24
|
const showPerPageSelect = perPageSelect !== void 0 && !compact && totalEntries > Math.min(...perPageOptions);
|
|
25
25
|
if (!showPages && !showPerPageSelect) return null;
|
|
26
|
-
return /* @__PURE__ */ jsxs(
|
|
27
|
-
className: "
|
|
28
|
-
children: [
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
children: i
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
26
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
27
|
+
className: "Toolbar__pagination",
|
|
28
|
+
children: [perPageSelect && showPerPageSelect && /* @__PURE__ */ jsxs("div", {
|
|
29
|
+
className: "Pagination__per-page",
|
|
30
|
+
children: [
|
|
31
|
+
t("pagination.show", { perPage }),
|
|
32
|
+
/* @__PURE__ */ jsx(MenuChevron, {}),
|
|
33
|
+
/* @__PURE__ */ jsx("select", {
|
|
34
|
+
"aria-label": t("a11y.pagination.perPage"),
|
|
35
|
+
value: perPage,
|
|
36
|
+
disabled,
|
|
37
|
+
onChange: (e) => perPageSelect.onChange(parseInt(e.target.value, 10)),
|
|
38
|
+
children: perPageOptions.map((i) => /* @__PURE__ */ jsx("option", {
|
|
39
|
+
value: i,
|
|
40
|
+
children: i
|
|
41
|
+
}, i))
|
|
42
|
+
})
|
|
43
|
+
]
|
|
44
|
+
}), showPages && /* @__PURE__ */ jsx(Pagination, {
|
|
45
|
+
ariaLabel: ariaLabel ? tm(ariaLabel) : paneAriaLabel,
|
|
46
|
+
totalEntries,
|
|
47
|
+
perPage,
|
|
48
|
+
currentPage,
|
|
49
|
+
onChange,
|
|
50
|
+
disabled,
|
|
51
|
+
maxPagesToBeShown: compact ? 3 : 10,
|
|
52
|
+
maxNarrowPagesToBeShown: 3
|
|
53
|
+
})]
|
|
54
|
+
});
|
|
51
55
|
}
|
|
52
56
|
//#endregion
|
|
53
57
|
export { ToolbarPagination as default };
|