@metabase/ui 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/LICENSE.txt +7 -0
- package/README.md +82 -2
- package/dist/css.d.ts +1 -0
- package/dist/fonts/Lato/OFL.txt +94 -0
- package/dist/fonts/Lato/lato-v16-latin-700.woff2 +0 -0
- package/dist/fonts/Lato/lato-v16-latin-900.woff2 +0 -0
- package/dist/fonts/Lato/lato-v16-latin-regular.woff2 +0 -0
- package/dist/fonts.css +34 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +174 -0
- package/dist/mantine-core-LICENSE.txt +21 -0
- package/dist/mantine-dates-LICENSE.txt +21 -0
- package/dist/src/metabase/css/core/animation.module.js +22 -0
- package/dist/src/metabase/css/core/layout.module.js +41 -0
- package/dist/src/metabase/css/core/z-index.module.js +13 -0
- package/dist/src/metabase/dayjs/index.js +38 -0
- package/dist/src/metabase/dayjs/parse-zone-plugin.js +43 -0
- package/dist/src/metabase/env.js +17 -0
- package/dist/src/metabase/ui/Theme.module.js +5 -0
- package/dist/src/metabase/ui/colors/accents.js +89 -0
- package/dist/src/metabase/ui/colors/colors.js +14 -0
- package/dist/src/metabase/ui/colors/constants/accent-colors.js +25 -0
- package/dist/src/metabase/ui/colors/constants/accents.js +66 -0
- package/dist/src/metabase/ui/colors/constants/base-colors.js +246 -0
- package/dist/src/metabase/ui/colors/constants/color-names.js +7 -0
- package/dist/src/metabase/ui/colors/constants/protected-colors.js +24 -0
- package/dist/src/metabase/ui/colors/constants/themes/dark.js +219 -0
- package/dist/src/metabase/ui/colors/constants/themes/light.js +218 -0
- package/dist/src/metabase/ui/colors/constants/whitelabel-colors.js +32 -0
- package/dist/src/metabase/ui/colors/derive-theme.js +35 -0
- package/dist/src/metabase/ui/colors/formatting-colors.js +1 -0
- package/dist/src/metabase/ui/colors/index.js +8 -0
- package/dist/src/metabase/ui/colors/palette.js +8 -0
- package/dist/src/metabase/ui/colors/theme-from-color-scheme.js +8 -0
- package/dist/src/metabase/ui/component-theme.js +64 -0
- package/dist/src/metabase/ui/components/buttons/ActionIcon/ActionIcon.config.js +93 -0
- package/dist/src/metabase/ui/components/buttons/ActionIcon/ActionIcon.module.js +11 -0
- package/dist/src/metabase/ui/components/buttons/ActionIcon/index.js +31 -0
- package/dist/src/metabase/ui/components/buttons/Button/Button.config.js +116 -0
- package/dist/src/metabase/ui/components/buttons/Button/Button.module.js +13 -0
- package/dist/src/metabase/ui/components/buttons/Button/index.js +34 -0
- package/dist/src/metabase/ui/components/buttons/CopyButton.js +2 -0
- package/dist/src/metabase/ui/components/buttons/PopoverBackButton/PopoverBackButton.js +20 -0
- package/dist/src/metabase/ui/components/buttons/PopoverBackButton/index.js +2 -0
- package/dist/src/metabase/ui/components/buttons/UnstyledButton/index.js +2 -0
- package/dist/src/metabase/ui/components/buttons/index.js +9 -0
- package/dist/src/metabase/ui/components/data-display/Accordion/Accordion.config.js +38 -0
- package/dist/src/metabase/ui/components/data-display/Accordion/Accordion.module.js +21 -0
- package/dist/src/metabase/ui/components/data-display/Accordion/index.js +3 -0
- package/dist/src/metabase/ui/components/data-display/Avatar/Avatar.config.js +19 -0
- package/dist/src/metabase/ui/components/data-display/Avatar/index.js +3 -0
- package/dist/src/metabase/ui/components/data-display/Badge/Badge.config.js +93 -0
- package/dist/src/metabase/ui/components/data-display/Badge/Badge.js +17 -0
- package/dist/src/metabase/ui/components/data-display/Badge/Badge.module.js +9 -0
- package/dist/src/metabase/ui/components/data-display/Badge/index.js +3 -0
- package/dist/src/metabase/ui/components/data-display/Card/Card.config.js +12 -0
- package/dist/src/metabase/ui/components/data-display/Card/Card.module.js +5 -0
- package/dist/src/metabase/ui/components/data-display/Card/index.js +3 -0
- package/dist/src/metabase/ui/components/data-display/Ellipsified/Ellipsified.js +43 -0
- package/dist/src/metabase/ui/components/data-display/Ellipsified/index.js +2 -0
- package/dist/src/metabase/ui/components/data-display/Image/Image.js +11 -0
- package/dist/src/metabase/ui/components/data-display/Image/index.js +2 -0
- package/dist/src/metabase/ui/components/data-display/Indicator/index.js +2 -0
- package/dist/src/metabase/ui/components/data-display/Kbd/Kbd.config.js +6 -0
- package/dist/src/metabase/ui/components/data-display/Kbd/Kbd.module.js +5 -0
- package/dist/src/metabase/ui/components/data-display/Kbd/index.js +3 -0
- package/dist/src/metabase/ui/components/data-display/KeyboardShortcut/KeyboardShortcut.js +25 -0
- package/dist/src/metabase/ui/components/data-display/KeyboardShortcut/KeyboardShortcut.module.js +5 -0
- package/dist/src/metabase/ui/components/data-display/KeyboardShortcut/index.js +2 -0
- package/dist/src/metabase/ui/components/data-display/KeyboardShortcut/utils.js +37 -0
- package/dist/src/metabase/ui/components/data-display/SortableHeaderPill/SortableHeaderPill.js +27 -0
- package/dist/src/metabase/ui/components/data-display/SortableHeaderPill/SortableHeaderPill.module.js +11 -0
- package/dist/src/metabase/ui/components/data-display/SortableHeaderPill/index.js +2 -0
- package/dist/src/metabase/ui/components/data-display/Stepper/index.js +2 -0
- package/dist/src/metabase/ui/components/data-display/Timeline/Timeline.config.js +10 -0
- package/dist/src/metabase/ui/components/data-display/Timeline/Timeline.module.js +11 -0
- package/dist/src/metabase/ui/components/data-display/Timeline/index.js +3 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/EntityNameCell/EntityNameCell.js +35 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/EntityNameCell/index.js +2 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/ExpandButton/ExpandButton.js +46 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/ExpandButton/ExpandButton.module.js +15 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/ExpandButton/index.js +2 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/SelectionCheckbox/SelectionCheckbox.js +23 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/SelectionCheckbox/index.js +2 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/TreeTable.js +175 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/TreeTable.module.js +11 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/TreeTableHeader/HeaderCell/HeaderCell.js +27 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/TreeTableHeader/HeaderCell/index.js +2 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/TreeTableHeader/TreeTableHeader.js +95 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/TreeTableHeader/TreeTableHeader.module.js +13 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/TreeTableHeader/index.js +2 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/TreeTableRow/TreeTableRow.js +187 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/TreeTableRow/TreeTableRow.module.js +30 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/TreeTableRow/index.js +2 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/TreeTableSkeleton/TreeTableSkeleton.js +64 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/TreeTableSkeleton/TreeTableSkeleton.module.js +11 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/TreeTableSkeleton/index.js +2 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/hooks/index.js +4 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/hooks/useColumnSizing.js +274 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/hooks/useTreeTableInstance.js +148 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/hooks/useTreeTableKeyboard.js +108 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/index.js +8 -0
- package/dist/src/metabase/ui/components/data-display/TreeTable/utils.js +14 -0
- package/dist/src/metabase/ui/components/data-display/index.js +29 -0
- package/dist/src/metabase/ui/components/feedback/Alert/Alert.config.js +70 -0
- package/dist/src/metabase/ui/components/feedback/Alert/Alert.module.js +19 -0
- package/dist/src/metabase/ui/components/feedback/Alert/index.js +12 -0
- package/dist/src/metabase/ui/components/feedback/Loader/Loader.config.js +30 -0
- package/dist/src/metabase/ui/components/feedback/Loader/Loader.js +33 -0
- package/dist/src/metabase/ui/components/feedback/Loader/Loader.module.js +5 -0
- package/dist/src/metabase/ui/components/feedback/Loader/index.js +3 -0
- package/dist/src/metabase/ui/components/feedback/Notification/Notification.config.js +6 -0
- package/dist/src/metabase/ui/components/feedback/Notification/Notification.module.js +5 -0
- package/dist/src/metabase/ui/components/feedback/Notification/index.js +3 -0
- package/dist/src/metabase/ui/components/feedback/Progress/Progress.config.js +10 -0
- package/dist/src/metabase/ui/components/feedback/Progress/ProgressStyles.module.js +5 -0
- package/dist/src/metabase/ui/components/feedback/Progress/index.js +3 -0
- package/dist/src/metabase/ui/components/feedback/RingProgress/RingProgress.config.js +5 -0
- package/dist/src/metabase/ui/components/feedback/RingProgress/index.js +3 -0
- package/dist/src/metabase/ui/components/feedback/Skeleton/Repeat.js +11 -0
- package/dist/src/metabase/ui/components/feedback/Skeleton/Skeleton.config.js +6 -0
- package/dist/src/metabase/ui/components/feedback/Skeleton/Skeleton.js +12 -0
- package/dist/src/metabase/ui/components/feedback/Skeleton/Skeleton.module.js +9 -0
- package/dist/src/metabase/ui/components/feedback/Skeleton/index.js +4 -0
- package/dist/src/metabase/ui/components/feedback/index.js +16 -0
- package/dist/src/metabase/ui/components/icons/Icon/Icon.js +49 -0
- package/dist/src/metabase/ui/components/icons/Icon/Icon.module.js +5 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/10k.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/1m.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/add.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/add_collection.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/add_column.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/add_comment.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/add_data.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/add_folder.js +18 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/add_list.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/add_row.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/add_to_dash.js +16 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/ai.js +18 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/alert.js +23 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/alert_confirm.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/alert_filled.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/app.js +16 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/archive.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/area.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/arrow_down.js +23 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/arrow_left.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/arrow_left_to_line.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/arrow_right.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/arrow_split.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/arrow_up.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/attachment.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/audit.js +18 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/badge.js +17 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/ban.js +24 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/bar.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/bell.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/bell_12.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/birthday.js +23 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/bolt.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/bolt_filled.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/book_open.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/bookmark.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/bookmark_filled.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/boxplot.js +115 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/breakout.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/broken_link.js +16 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/bubble.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/bug.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/burger.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/cake.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/calendar.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/camera.js +24 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/chart_layout_default.js +18 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/chart_layout_stack.js +18 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/check.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/check_filled.js +18 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/chevrondown.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/chevronleft.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/chevronright.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/chevronup.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/click.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/clipboard.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/clock.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/clone.js +17 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/close.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/cloud.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/cloud_12.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/cloud_filled.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/code_block.js +20 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/collection2.js +29 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/combine.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/comment.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/company.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/compare.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/connections.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/contract.js +17 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/copy.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/corner_down_right.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/corner_up_right.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/currency.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/curve.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/curved.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/dash.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/dashboard.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/data_studio.js +22 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/database.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/database_routing.js +22 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/dependencies.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/dependent.js +18 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/document.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/download.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/dyno.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/edit_document.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/edit_document_outlined.js +24 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/ellipsis.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/embed.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/embed_interactive.js +44 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/embed_modular.js +20 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/embed_static.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/empty.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/enter_or_return.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/event.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/exit.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/expand.js +17 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/expand_arrow.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/extract.js +28 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/eye.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/eye_crossed_out.js +23 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/eye_outline.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/factory.js +25 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/field.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/fields.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/filter.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/filter_plus.js +56 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/find_replace.js +28 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/folder.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/folder_database.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/folder_filled.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/format_code.js +30 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/formula.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/function.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/funnel.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/funnel_outline.js +18 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/gauge.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/gear.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/gear_settings_filled.js +16 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/gem.js +18 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/ghost.js +20 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/git_branch.js +16 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/globe.js +20 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/glossary.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/google.js +36 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/google_drive.js +52 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/google_sheet.js +40 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/grabber.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/grid.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/grid_2x2.js +20 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/grid_bordered.js +59 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/group.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/heart_handshake.js +17 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/history.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/home.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/horizontal_bar.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/hourglass.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/index.js +17 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/index2.js +628 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/info.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/info_outline.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/insight.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/int.js +16 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/io.js +17 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/join_full_outer.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/join_inner.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/join_left_outer.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/join_right_outer.js +17 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/key.js +16 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/label.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/layout_grid.js +45 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/ldap.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/learn.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/lightbulb.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/line.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/line_style-dashed.js +21 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/line_style-dotted.js +21 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/line_style-solid.js +21 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/lineandbar.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/lines.js +24 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/link.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/list.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/location.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/lock.js +17 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/lock_filled.js +18 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/mail.js +17 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/mail_at.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/mail_filled.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/map.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/mcp.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/medallion.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/message_circle.js +20 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/metabot.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/metabot_sad.js +56 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/metric.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/mode.js +43 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/model.js +17 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/model_with_badge.js +24 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/moon.js +17 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/move.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/move_card.js +24 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/network.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/new_folder.js +17 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/note.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/note_12.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/notebook.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/number.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/octagon_alert.js +24 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/official_collection.js +17 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/open_folder.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/ordered_list.js +35 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/package.js +25 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/palette.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/pause.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/pencil.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/pencil_lines.js +41 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/permissions_limited.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/person.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/pie.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/pie_slice.js +24 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/pin.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/pinmap.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/pivot_table.js +17 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/play.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/play_outlined.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/popover.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/popular.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/progress.js +17 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/publish.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/published.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/pulse.js +22 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/question.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/quote.js +20 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/receipt.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/recents.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/redo.js +20 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/reference.js +17 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/refresh.js +17 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/refresh_downstream.js +32 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/rename.js +16 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/repository.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/return.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/revert.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/rocket.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/ruler.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/sankey.js +24 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/schema.js +18 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/search.js +17 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/search_check.js +16 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/section.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/segment.js +40 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/send.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/settings.js +64 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/share.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/shield.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/shield_outline.js +20 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/shield_stroke.js +24 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/sidebar_closed.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/sidebar_open.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/slack.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/slack_colorized.js +61 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/sliders.js +47 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/smartscalar.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/smile.js +35 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/snail.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/snippet.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/sort.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/sort_arrows.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/sparkles.js +18 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/split.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/sql.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/star.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/star_filled.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/stepped.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/sticky-note.js +20 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/stop.js +20 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/store.js +17 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/straight.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/string.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/subscription.js +16 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/sum.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/sun.js +23 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/sync.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/synced_collection.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/t-shirt.js +20 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/tab.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/table.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/table2.js +17 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/table_index.js +43 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/telescope.js +20 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/test_tube.js +20 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/text_bold.js +26 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/text_italic.js +20 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/text_strike.js +24 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/thumbs_down.js +22 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/thumbs_up.js +21 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/time_history.js +21 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/transform.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/trash.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/trash_filled.js +34 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/treemap.js +18 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/trend_down.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/trend_flat.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/trend_up.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/triangle_left.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/triangle_right.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/unarchive.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/undo.js +20 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/unknown.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/unpin.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/unpublish.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/unreferenced.js +16 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/unsubscribe.js +24 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/upload.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/variable.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/verified.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/verified_filled.js +18 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/verified_round.js +18 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/view_archive.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/warning.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/warning_round.js +22 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/warning_round_filled.js +14 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/warning_triangle_filled.js +18 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/waterfall.js +15 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/webhook.js +18 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/zap.js +20 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/zoom_in.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/icons/zoom_out.js +19 -0
- package/dist/src/metabase/ui/components/icons/Icon/index.js +3 -0
- package/dist/src/metabase/ui/components/icons/index.js +4 -0
- package/dist/src/metabase/ui/components/index.js +181 -0
- package/dist/src/metabase/ui/components/inputs/Autocomplete/Autocomplete.config.js +10 -0
- package/dist/src/metabase/ui/components/inputs/Autocomplete/Autocomplete.js +67 -0
- package/dist/src/metabase/ui/components/inputs/Autocomplete/index.js +3 -0
- package/dist/src/metabase/ui/components/inputs/Autocomplete/use-autocomplete.js +92 -0
- package/dist/src/metabase/ui/components/inputs/Calendar/Calendar.config.js +38 -0
- package/dist/src/metabase/ui/components/inputs/Calendar/Calendar.module.js +35 -0
- package/dist/src/metabase/ui/components/inputs/Calendar/index.js +2 -0
- package/dist/src/metabase/ui/components/inputs/Checkbox/Checkbox.config.js +42 -0
- package/dist/src/metabase/ui/components/inputs/Checkbox/Checkbox.module.js +27 -0
- package/dist/src/metabase/ui/components/inputs/Checkbox/CheckboxCard.js +30 -0
- package/dist/src/metabase/ui/components/inputs/Checkbox/CheckboxIcon.js +14 -0
- package/dist/src/metabase/ui/components/inputs/Checkbox/index.js +19 -0
- package/dist/src/metabase/ui/components/inputs/Chip/Chip.config.js +34 -0
- package/dist/src/metabase/ui/components/inputs/Chip/Chip.module.js +13 -0
- package/dist/src/metabase/ui/components/inputs/Chip/index.js +3 -0
- package/dist/src/metabase/ui/components/inputs/Combobox/Combobox.config.js +34 -0
- package/dist/src/metabase/ui/components/inputs/Combobox/Combobox.module.js +19 -0
- package/dist/src/metabase/ui/components/inputs/Combobox/index.js +3 -0
- package/dist/src/metabase/ui/components/inputs/DateInput/DateInput.config.js +37 -0
- package/dist/src/metabase/ui/components/inputs/DateInput/index.js +3 -0
- package/dist/src/metabase/ui/components/inputs/DatePicker/DatePicker.config.js +29 -0
- package/dist/src/metabase/ui/components/inputs/DatePicker/index.js +3 -0
- package/dist/src/metabase/ui/components/inputs/DateTimePicker/DateTimePicker.config.js +36 -0
- package/dist/src/metabase/ui/components/inputs/DateTimePicker/DateTimePicker.module.js +11 -0
- package/dist/src/metabase/ui/components/inputs/DateTimePicker/index.js +3 -0
- package/dist/src/metabase/ui/components/inputs/FileInput/FileInput.config.js +16 -0
- package/dist/src/metabase/ui/components/inputs/FileInput/FileInput.module.js +11 -0
- package/dist/src/metabase/ui/components/inputs/FileInput/FileInputValue.js +14 -0
- package/dist/src/metabase/ui/components/inputs/FileInput/index.js +3 -0
- package/dist/src/metabase/ui/components/inputs/Input/Input.config.js +56 -0
- package/dist/src/metabase/ui/components/inputs/Input/Input.module.js +23 -0
- package/dist/src/metabase/ui/components/inputs/Input/index.js +3 -0
- package/dist/src/metabase/ui/components/inputs/MonthPicker/MonthPicker.config.js +24 -0
- package/dist/src/metabase/ui/components/inputs/MonthPicker/MonthPicker.module.js +11 -0
- package/dist/src/metabase/ui/components/inputs/MonthPicker/index.js +3 -0
- package/dist/src/metabase/ui/components/inputs/MultiAutocomplete/MultiAutocomplete.js +123 -0
- package/dist/src/metabase/ui/components/inputs/MultiAutocomplete/MultiAutocomplete.module.js +9 -0
- package/dist/src/metabase/ui/components/inputs/MultiAutocomplete/MultiAutocompleteOption/MultiAutocompleteOption.js +23 -0
- package/dist/src/metabase/ui/components/inputs/MultiAutocomplete/MultiAutocompleteOption/index.js +2 -0
- package/dist/src/metabase/ui/components/inputs/MultiAutocomplete/MultiAutocompleteValue/MultiAutocompleteValue.js +23 -0
- package/dist/src/metabase/ui/components/inputs/MultiAutocomplete/MultiAutocompleteValue/index.js +2 -0
- package/dist/src/metabase/ui/components/inputs/MultiAutocomplete/index.js +6 -0
- package/dist/src/metabase/ui/components/inputs/MultiAutocomplete/use-multi-autocomplete/index.js +2 -0
- package/dist/src/metabase/ui/components/inputs/MultiAutocomplete/use-multi-autocomplete/use-multi-autocomplete.js +267 -0
- package/dist/src/metabase/ui/components/inputs/MultiSelect/MultiSelect.config.js +41 -0
- package/dist/src/metabase/ui/components/inputs/MultiSelect/MultiSelect.module.js +11 -0
- package/dist/src/metabase/ui/components/inputs/MultiSelect/index.js +13 -0
- package/dist/src/metabase/ui/components/inputs/NativeSelect/NativeSelect.config.js +6 -0
- package/dist/src/metabase/ui/components/inputs/NativeSelect/NativeSelect.module.js +5 -0
- package/dist/src/metabase/ui/components/inputs/NativeSelect/index.js +2 -0
- package/dist/src/metabase/ui/components/inputs/NumberInput/NumberInput.config.js +26 -0
- package/dist/src/metabase/ui/components/inputs/NumberInput/NumberInput.module.js +13 -0
- package/dist/src/metabase/ui/components/inputs/NumberInput/index.js +15 -0
- package/dist/src/metabase/ui/components/inputs/PasswordInput/PasswordInput.config.js +55 -0
- package/dist/src/metabase/ui/components/inputs/PasswordInput/PasswordInput.module.js +17 -0
- package/dist/src/metabase/ui/components/inputs/PasswordInput/index.js +13 -0
- package/dist/src/metabase/ui/components/inputs/Pill/Pill.config.js +13 -0
- package/dist/src/metabase/ui/components/inputs/Pill/Pill.module.js +11 -0
- package/dist/src/metabase/ui/components/inputs/Pill/index.js +3 -0
- package/dist/src/metabase/ui/components/inputs/PillsInput/PillsInput.config.js +9 -0
- package/dist/src/metabase/ui/components/inputs/PillsInput/PillsInput.module.js +5 -0
- package/dist/src/metabase/ui/components/inputs/PillsInput/index.js +3 -0
- package/dist/src/metabase/ui/components/inputs/QuarterPicker/QuarterPicker.js +68 -0
- package/dist/src/metabase/ui/components/inputs/QuarterPicker/QuarterPicker.module.js +5 -0
- package/dist/src/metabase/ui/components/inputs/QuarterPicker/index.js +2 -0
- package/dist/src/metabase/ui/components/inputs/Radio/Radio.config.js +43 -0
- package/dist/src/metabase/ui/components/inputs/Radio/Radio.module.js +27 -0
- package/dist/src/metabase/ui/components/inputs/Radio/RadioCard.js +34 -0
- package/dist/src/metabase/ui/components/inputs/Radio/index.js +19 -0
- package/dist/src/metabase/ui/components/inputs/SegmentedControl/SegmentedControl.config.js +19 -0
- package/dist/src/metabase/ui/components/inputs/SegmentedControl/SegmentedControl.module.js +23 -0
- package/dist/src/metabase/ui/components/inputs/SegmentedControl/index.js +107 -0
- package/dist/src/metabase/ui/components/inputs/SegmentedControl/use-item-tooltip.js +43 -0
- package/dist/src/metabase/ui/components/inputs/Select/Select.config.js +52 -0
- package/dist/src/metabase/ui/components/inputs/Select/Select.js +40 -0
- package/dist/src/metabase/ui/components/inputs/Select/Select.module.js +19 -0
- package/dist/src/metabase/ui/components/inputs/Select/SelectItem/DefaultSelectItem.js +23 -0
- package/dist/src/metabase/ui/components/inputs/Select/SelectItem/SelectItem.js +22 -0
- package/dist/src/metabase/ui/components/inputs/Select/SelectItem/SelectItem.module.js +5 -0
- package/dist/src/metabase/ui/components/inputs/Select/SelectItem/SelectItemWithDescription.js +30 -0
- package/dist/src/metabase/ui/components/inputs/Select/SelectItem/SelectItemWithDescription.module.js +5 -0
- package/dist/src/metabase/ui/components/inputs/Select/SelectItem/index.js +5 -0
- package/dist/src/metabase/ui/components/inputs/Select/SelectItem/utils.js +24 -0
- package/dist/src/metabase/ui/components/inputs/Select/index.js +8 -0
- package/dist/src/metabase/ui/components/inputs/Slider/Slider.config.js +12 -0
- package/dist/src/metabase/ui/components/inputs/Slider/Slider.module.js +5 -0
- package/dist/src/metabase/ui/components/inputs/Slider/index.js +3 -0
- package/dist/src/metabase/ui/components/inputs/Switch/Switch.config.js +30 -0
- package/dist/src/metabase/ui/components/inputs/Switch/Switch.module.js +21 -0
- package/dist/src/metabase/ui/components/inputs/Switch/index.js +14 -0
- package/dist/src/metabase/ui/components/inputs/TagsInput/TagsInput.config.js +33 -0
- package/dist/src/metabase/ui/components/inputs/TagsInput/TagsInput.module.js +13 -0
- package/dist/src/metabase/ui/components/inputs/TagsInput/index.js +13 -0
- package/dist/src/metabase/ui/components/inputs/TextInput/TextInput.config.js +14 -0
- package/dist/src/metabase/ui/components/inputs/TextInput/index.js +13 -0
- package/dist/src/metabase/ui/components/inputs/TextInputBlurChange/TextInputBlurChange.js +68 -0
- package/dist/src/metabase/ui/components/inputs/TextInputBlurChange/index.js +2 -0
- package/dist/src/metabase/ui/components/inputs/Textarea/Textarea.config.js +31 -0
- package/dist/src/metabase/ui/components/inputs/Textarea/index.js +13 -0
- package/dist/src/metabase/ui/components/inputs/TextareaBlurChange/TextareaBlurChange.js +68 -0
- package/dist/src/metabase/ui/components/inputs/TextareaBlurChange/index.js +2 -0
- package/dist/src/metabase/ui/components/inputs/TimeInput/TimeInput.config.js +21 -0
- package/dist/src/metabase/ui/components/inputs/TimeInput/TimeInput.js +44 -0
- package/dist/src/metabase/ui/components/inputs/TimeInput/TimeInput.module.js +11 -0
- package/dist/src/metabase/ui/components/inputs/TimeInput/index.js +3 -0
- package/dist/src/metabase/ui/components/inputs/index.js +70 -0
- package/dist/src/metabase/ui/components/layout/Center/index.js +2 -0
- package/dist/src/metabase/ui/components/layout/Collapse/index.js +2 -0
- package/dist/src/metabase/ui/components/layout/Flex/index.js +2 -0
- package/dist/src/metabase/ui/components/layout/Grid/Grid.config.js +5 -0
- package/dist/src/metabase/ui/components/layout/Grid/index.js +3 -0
- package/dist/src/metabase/ui/components/layout/Group/Group.config.js +5 -0
- package/dist/src/metabase/ui/components/layout/Group/index.js +3 -0
- package/dist/src/metabase/ui/components/layout/ScrollArea/ScrollArea.config.js +6 -0
- package/dist/src/metabase/ui/components/layout/ScrollArea/ScrollArea.module.js +5 -0
- package/dist/src/metabase/ui/components/layout/ScrollArea/index.js +3 -0
- package/dist/src/metabase/ui/components/layout/SimpleGrid/SimpleGrid.config.js +5 -0
- package/dist/src/metabase/ui/components/layout/SimpleGrid/index.js +3 -0
- package/dist/src/metabase/ui/components/layout/Stack/Stack.config.js +5 -0
- package/dist/src/metabase/ui/components/layout/Stack/index.js +3 -0
- package/dist/src/metabase/ui/components/layout/index.js +14 -0
- package/dist/src/metabase/ui/components/navigation/Breadcrumbs/Breadcrumbs.config.js +9 -0
- package/dist/src/metabase/ui/components/navigation/Breadcrumbs/Breadcrumbs.module.js +5 -0
- package/dist/src/metabase/ui/components/navigation/Breadcrumbs/index.js +3 -0
- package/dist/src/metabase/ui/components/navigation/NavLink/NavLink.config.js +17 -0
- package/dist/src/metabase/ui/components/navigation/NavLink/NavLink.module.js +13 -0
- package/dist/src/metabase/ui/components/navigation/NavLink/index.js +3 -0
- package/dist/src/metabase/ui/components/navigation/NavLinkBadge/NavLinkBadge.js +21 -0
- package/dist/src/metabase/ui/components/navigation/NavLinkBadge/index.js +2 -0
- package/dist/src/metabase/ui/components/navigation/NavLinkButton/NavLinkButton.js +40 -0
- package/dist/src/metabase/ui/components/navigation/NavLinkButton/NavLinkButton.module.js +5 -0
- package/dist/src/metabase/ui/components/navigation/NavLinkButton/index.js +2 -0
- package/dist/src/metabase/ui/components/navigation/Tabs/Tab.module.js +17 -0
- package/dist/src/metabase/ui/components/navigation/Tabs/Tabs.config.js +15 -0
- package/dist/src/metabase/ui/components/navigation/Tabs/Tabs.js +22 -0
- package/dist/src/metabase/ui/components/navigation/Tabs/TabsTab.js +52 -0
- package/dist/src/metabase/ui/components/navigation/Tabs/index.js +3 -0
- package/dist/src/metabase/ui/components/navigation/index.js +12 -0
- package/dist/src/metabase/ui/components/overlays/Dialog/Dialog.config.js +8 -0
- package/dist/src/metabase/ui/components/overlays/Dialog/index.js +2 -0
- package/dist/src/metabase/ui/components/overlays/Drawer/Drawer.config.js +8 -0
- package/dist/src/metabase/ui/components/overlays/Drawer/index.js +3 -0
- package/dist/src/metabase/ui/components/overlays/HoverCard/HoverCard.config.js +18 -0
- package/dist/src/metabase/ui/components/overlays/HoverCard/HoverCard.module.js +5 -0
- package/dist/src/metabase/ui/components/overlays/HoverCard/index.js +3 -0
- package/dist/src/metabase/ui/components/overlays/Menu/Menu.config.js +23 -0
- package/dist/src/metabase/ui/components/overlays/Menu/Menu.js +16 -0
- package/dist/src/metabase/ui/components/overlays/Menu/Menu.module.js +15 -0
- package/dist/src/metabase/ui/components/overlays/Menu/MenuItem/MenuItem.js +21 -0
- package/dist/src/metabase/ui/components/overlays/Menu/MenuItem/index.js +2 -0
- package/dist/src/metabase/ui/components/overlays/Menu/index.js +3 -0
- package/dist/src/metabase/ui/components/overlays/Modal/InModalContext.js +12 -0
- package/dist/src/metabase/ui/components/overlays/Modal/Modal.config.js +33 -0
- package/dist/src/metabase/ui/components/overlays/Modal/Modal.module.js +25 -0
- package/dist/src/metabase/ui/components/overlays/Modal/constants.js +13 -0
- package/dist/src/metabase/ui/components/overlays/Modal/index.js +140 -0
- package/dist/src/metabase/ui/components/overlays/Overlay/Overlay.config.js +9 -0
- package/dist/src/metabase/ui/components/overlays/Overlay/Overlay.module.js +5 -0
- package/dist/src/metabase/ui/components/overlays/Overlay/index.js +20 -0
- package/dist/src/metabase/ui/components/overlays/Popover/Popover.config.js +22 -0
- package/dist/src/metabase/ui/components/overlays/Popover/Popover.module.js +5 -0
- package/dist/src/metabase/ui/components/overlays/Popover/PopoverDropdown.js +49 -0
- package/dist/src/metabase/ui/components/overlays/Popover/index.js +4 -0
- package/dist/src/metabase/ui/components/overlays/Popover/register-popover-dropdown.js +5 -0
- package/dist/src/metabase/ui/components/overlays/Popover/use-stable-popover-position.js +58 -0
- package/dist/src/metabase/ui/components/overlays/PortalContainer/PortalContainer.js +12 -0
- package/dist/src/metabase/ui/components/overlays/PortalContainer/constants.js +4 -0
- package/dist/src/metabase/ui/components/overlays/PortalContainer/index.js +3 -0
- package/dist/src/metabase/ui/components/overlays/Tooltip/Tooltip.config.js +35 -0
- package/dist/src/metabase/ui/components/overlays/Tooltip/Tooltip.js +51 -0
- package/dist/src/metabase/ui/components/overlays/Tooltip/Tooltip.module.js +9 -0
- package/dist/src/metabase/ui/components/overlays/Tooltip/index.js +3 -0
- package/dist/src/metabase/ui/components/overlays/Tooltip/use-tooltip-event-isolation.js +43 -0
- package/dist/src/metabase/ui/components/overlays/Tooltip/use-tooltip-visibility.js +100 -0
- package/dist/src/metabase/ui/components/overlays/index.js +25 -0
- package/dist/src/metabase/ui/components/overlays/overlay-stack/index.js +3 -0
- package/dist/src/metabase/ui/components/overlays/overlay-stack/overlay-stack-provider.js +14 -0
- package/dist/src/metabase/ui/components/overlays/overlay-stack/overlay-stack.js +50 -0
- package/dist/src/metabase/ui/components/overlays/overlay-stack/store.js +25 -0
- package/dist/src/metabase/ui/components/theme/ColorSchemeProvider/ColorSchemeContext.js +18 -0
- package/dist/src/metabase/ui/components/theme/ColorSchemeProvider/index.js +2 -0
- package/dist/src/metabase/ui/components/theme/DatesProvider/DatesProvider.js +15 -0
- package/dist/src/metabase/ui/components/theme/DatesProvider/index.js +2 -0
- package/dist/src/metabase/ui/components/theme/MeasurementProviders.js +33 -0
- package/dist/src/metabase/ui/components/theme/ThemeProvider/ThemeProvider.js +54 -0
- package/dist/src/metabase/ui/components/theme/ThemeProvider/context.js +5 -0
- package/dist/src/metabase/ui/components/theme/ThemeProvider/index.js +2 -0
- package/dist/src/metabase/ui/components/theme/index.js +5 -0
- package/dist/src/metabase/ui/components/typography/Anchor/Anchor.config.js +12 -0
- package/dist/src/metabase/ui/components/typography/Anchor/Anchor.module.js +5 -0
- package/dist/src/metabase/ui/components/typography/Anchor/index.js +3 -0
- package/dist/src/metabase/ui/components/typography/Code/Code.config.js +6 -0
- package/dist/src/metabase/ui/components/typography/Code/Code.module.js +5 -0
- package/dist/src/metabase/ui/components/typography/Code/index.js +3 -0
- package/dist/src/metabase/ui/components/typography/List/List.config.js +9 -0
- package/dist/src/metabase/ui/components/typography/List/List.module.js +9 -0
- package/dist/src/metabase/ui/components/typography/List/index.js +3 -0
- package/dist/src/metabase/ui/components/typography/Text/Text.config.js +13 -0
- package/dist/src/metabase/ui/components/typography/Text/Text.module.js +5 -0
- package/dist/src/metabase/ui/components/typography/Text/index.js +3 -0
- package/dist/src/metabase/ui/components/typography/Title/Title.config.js +5 -0
- package/dist/src/metabase/ui/components/typography/Title/index.js +3 -0
- package/dist/src/metabase/ui/components/typography/index.js +11 -0
- package/dist/src/metabase/ui/components/utils/Box/index.js +2 -0
- package/dist/src/metabase/ui/components/utils/DelayGroup/DelayGroup.js +36 -0
- package/dist/src/metabase/ui/components/utils/DelayGroup/index.js +2 -0
- package/dist/src/metabase/ui/components/utils/Divider/Divider.config.js +8 -0
- package/dist/src/metabase/ui/components/utils/Divider/Divider.module.js +9 -0
- package/dist/src/metabase/ui/components/utils/Divider/index.js +3 -0
- package/dist/src/metabase/ui/components/utils/FocusTrap/index.js +2 -0
- package/dist/src/metabase/ui/components/utils/Paper/Paper.config.js +12 -0
- package/dist/src/metabase/ui/components/utils/Paper/Paper.module.js +5 -0
- package/dist/src/metabase/ui/components/utils/Paper/index.js +3 -0
- package/dist/src/metabase/ui/components/utils/Portal/Portal.config.js +5 -0
- package/dist/src/metabase/ui/components/utils/Portal/index.js +17 -0
- package/dist/src/metabase/ui/components/utils/PreventEagerPortal/index.js +13 -0
- package/dist/src/metabase/ui/components/utils/Space/index.js +2 -0
- package/dist/src/metabase/ui/components/utils/Transition/index.js +2 -0
- package/dist/src/metabase/ui/components/utils/index.js +14 -0
- package/dist/src/metabase/ui/hooks/use-disable-command-palette.js +18 -0
- package/dist/src/metabase/ui/hooks/use-is-truncated.js +34 -0
- package/dist/src/metabase/ui/hooks/use-unmount-layout.js +9 -0
- package/dist/src/metabase/ui/index.js +174 -0
- package/dist/src/metabase/ui/theme.js +242 -0
- package/dist/src/metabase/ui/utils/colors.js +54 -0
- package/dist/src/metabase/utils/csp.js +7 -0
- package/dist/src/metabase/utils/deep-merge.js +37 -0
- package/dist/src/metabase/utils/focus-visible.js +6 -0
- package/dist/src/metabase/utils/key-labels.js +9 -0
- package/dist/src/metabase/utils/measure-container.js +26 -0
- package/dist/src/metabase/utils/resize-observer.js +35 -0
- package/dist/styles.css +11760 -0
- package/dist/types/src/metabase/dayjs/index.d.ts +4 -0
- package/dist/types/src/metabase/dayjs/parse-zone-plugin.d.ts +10 -0
- package/dist/types/src/metabase/env.d.ts +6 -0
- package/dist/types/src/metabase/ui/colors/accents.d.ts +31 -0
- package/dist/types/src/metabase/ui/colors/colors.d.ts +11 -0
- package/dist/types/src/metabase/ui/colors/constants/accent-colors.d.ts +4 -0
- package/dist/types/src/metabase/ui/colors/constants/accents.d.ts +49 -0
- package/dist/types/src/metabase/ui/colors/constants/base-colors.d.ts +238 -0
- package/dist/types/src/metabase/ui/colors/constants/color-names.d.ts +3 -0
- package/dist/types/src/metabase/ui/colors/constants/protected-colors.d.ts +5 -0
- package/dist/types/src/metabase/ui/colors/constants/themes/dark.d.ts +239 -0
- package/dist/types/src/metabase/ui/colors/constants/themes/light.d.ts +239 -0
- package/dist/types/src/metabase/ui/colors/constants/whitelabel-colors.d.ts +20 -0
- package/dist/types/src/metabase/ui/colors/derive-theme.d.ts +18 -0
- package/dist/types/src/metabase/ui/colors/formatting-colors.d.ts +3 -0
- package/dist/types/src/metabase/ui/colors/index.d.ts +8 -0
- package/dist/types/src/metabase/ui/colors/palette.d.ts +50 -0
- package/dist/types/src/metabase/ui/colors/theme-from-color-scheme.d.ts +236 -0
- package/dist/types/src/metabase/ui/colors/types/accent-color-options.d.ts +16 -0
- package/dist/types/src/metabase/ui/colors/types/color-keys.d.ts +25 -0
- package/dist/types/src/metabase/ui/colors/types/index.d.ts +45 -0
- package/dist/types/src/metabase/ui/colors/types/theme.d.ts +40 -0
- package/dist/types/src/metabase/ui/component-theme.d.ts +161 -0
- package/dist/types/src/metabase/ui/components/buttons/ActionIcon/ActionIcon.config.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/buttons/ActionIcon/index.d.ts +38 -0
- package/dist/types/src/metabase/ui/components/buttons/ActionIcon/types.d.ts +23 -0
- package/dist/types/src/metabase/ui/components/buttons/Button/Button.config.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/buttons/Button/index.d.ts +29 -0
- package/dist/types/src/metabase/ui/components/buttons/Button/types.d.ts +19 -0
- package/dist/types/src/metabase/ui/components/buttons/CopyButton.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/buttons/PopoverBackButton/PopoverBackButton.d.ts +6 -0
- package/dist/types/src/metabase/ui/components/buttons/PopoverBackButton/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/buttons/UnstyledButton/index.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/buttons/index.d.ts +5 -0
- package/dist/types/src/metabase/ui/components/data-display/Accordion/Accordion.config.d.ts +9 -0
- package/dist/types/src/metabase/ui/components/data-display/Accordion/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/data-display/Avatar/Avatar.config.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/data-display/Avatar/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/data-display/Badge/Badge.config.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/data-display/Badge/Badge.d.ts +10 -0
- package/dist/types/src/metabase/ui/components/data-display/Badge/index.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/data-display/Card/Card.config.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/data-display/Card/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/data-display/Ellipsified/Ellipsified.d.ts +13 -0
- package/dist/types/src/metabase/ui/components/data-display/Ellipsified/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/data-display/Image/Image.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/data-display/Image/index.d.ts +7 -0
- package/dist/types/src/metabase/ui/components/data-display/Indicator/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/data-display/Kbd/Kbd.config.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/data-display/Kbd/index.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/data-display/KeyboardShortcut/KeyboardShortcut.d.ts +5 -0
- package/dist/types/src/metabase/ui/components/data-display/KeyboardShortcut/index.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/data-display/KeyboardShortcut/utils.d.ts +10 -0
- package/dist/types/src/metabase/ui/components/data-display/SortableHeaderPill/SortableHeaderPill.d.ts +8 -0
- package/dist/types/src/metabase/ui/components/data-display/SortableHeaderPill/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/data-display/Stepper/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/data-display/Timeline/Timeline.config.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/data-display/Timeline/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/data-display/TreeTable/EntityNameCell/EntityNameCell.d.ts +16 -0
- package/dist/types/src/metabase/ui/components/data-display/TreeTable/EntityNameCell/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/data-display/TreeTable/ExpandButton/ExpandButton.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/data-display/TreeTable/ExpandButton/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/data-display/TreeTable/SelectionCheckbox/SelectionCheckbox.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/data-display/TreeTable/SelectionCheckbox/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/data-display/TreeTable/TreeTable.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/data-display/TreeTable/TreeTableHeader/HeaderCell/HeaderCell.d.ts +8 -0
- package/dist/types/src/metabase/ui/components/data-display/TreeTable/TreeTableHeader/HeaderCell/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/data-display/TreeTable/TreeTableHeader/TreeTableHeader.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/data-display/TreeTable/TreeTableHeader/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/data-display/TreeTable/TreeTableRow/TreeTableRow.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/data-display/TreeTable/TreeTableRow/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/data-display/TreeTable/TreeTableSkeleton/TreeTableSkeleton.d.ts +7 -0
- package/dist/types/src/metabase/ui/components/data-display/TreeTable/TreeTableSkeleton/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/data-display/TreeTable/constants.d.ts +10 -0
- package/dist/types/src/metabase/ui/components/data-display/TreeTable/hooks/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/data-display/TreeTable/hooks/useColumnSizing.d.ts +12 -0
- package/dist/types/src/metabase/ui/components/data-display/TreeTable/hooks/useTreeTableInstance.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/data-display/TreeTable/hooks/useTreeTableKeyboard.d.ts +20 -0
- package/dist/types/src/metabase/ui/components/data-display/TreeTable/index.d.ts +5 -0
- package/dist/types/src/metabase/ui/components/data-display/TreeTable/types.d.ts +288 -0
- package/dist/types/src/metabase/ui/components/data-display/TreeTable/utils.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/data-display/index.d.ts +13 -0
- package/dist/types/src/metabase/ui/components/feedback/Alert/Alert.config.d.ts +10 -0
- package/dist/types/src/metabase/ui/components/feedback/Alert/index.d.ts +8 -0
- package/dist/types/src/metabase/ui/components/feedback/Loader/Loader.config.d.ts +19 -0
- package/dist/types/src/metabase/ui/components/feedback/Loader/Loader.d.ts +13 -0
- package/dist/types/src/metabase/ui/components/feedback/Loader/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/feedback/Notification/Notification.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/feedback/Notification/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/feedback/Progress/Progress.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/feedback/Progress/index.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/feedback/RingProgress/RingProgress.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/feedback/RingProgress/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/feedback/Skeleton/Repeat.d.ts +4 -0
- package/dist/types/src/metabase/ui/components/feedback/Skeleton/Skeleton.config.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/feedback/Skeleton/Skeleton.d.ts +6 -0
- package/dist/types/src/metabase/ui/components/feedback/Skeleton/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/feedback/index.d.ts +6 -0
- package/dist/types/src/metabase/ui/components/icons/Icon/Icon.d.ts +32 -0
- package/dist/types/src/metabase/ui/components/icons/Icon/icons/index.d.ts +4 -0
- package/dist/types/src/metabase/ui/components/icons/Icon/index.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/icons/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/index.d.ts +11 -0
- package/dist/types/src/metabase/ui/components/inputs/Autocomplete/Autocomplete.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/inputs/Autocomplete/Autocomplete.d.ts +7 -0
- package/dist/types/src/metabase/ui/components/inputs/Autocomplete/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/inputs/Autocomplete/use-autocomplete.d.ts +30 -0
- package/dist/types/src/metabase/ui/components/inputs/Calendar/Calendar.config.d.ts +11 -0
- package/dist/types/src/metabase/ui/components/inputs/Calendar/index.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/inputs/Checkbox/Checkbox.config.d.ts +5 -0
- package/dist/types/src/metabase/ui/components/inputs/Checkbox/CheckboxCard.d.ts +12 -0
- package/dist/types/src/metabase/ui/components/inputs/Checkbox/CheckboxIcon.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/inputs/Checkbox/index.d.ts +24 -0
- package/dist/types/src/metabase/ui/components/inputs/Chip/Chip.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/inputs/Chip/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/inputs/Combobox/Combobox.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/inputs/Combobox/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/inputs/DateInput/DateInput.config.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/inputs/DateInput/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/inputs/DatePicker/DatePicker.config.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/inputs/DatePicker/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/inputs/DateTimePicker/DateTimePicker.config.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/inputs/DateTimePicker/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/inputs/FileInput/FileInput.config.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/inputs/FileInput/FileInputValue.d.ts +5 -0
- package/dist/types/src/metabase/ui/components/inputs/FileInput/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/inputs/Input/Input.config.d.ts +6 -0
- package/dist/types/src/metabase/ui/components/inputs/Input/index.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/inputs/MonthPicker/MonthPicker.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/inputs/MonthPicker/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/inputs/MultiAutocomplete/MultiAutocomplete.d.ts +31 -0
- package/dist/types/src/metabase/ui/components/inputs/MultiAutocomplete/MultiAutocompleteOption/MultiAutocompleteOption.d.ts +5 -0
- package/dist/types/src/metabase/ui/components/inputs/MultiAutocomplete/MultiAutocompleteOption/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/inputs/MultiAutocomplete/MultiAutocompleteValue/MultiAutocompleteValue.d.ts +5 -0
- package/dist/types/src/metabase/ui/components/inputs/MultiAutocomplete/MultiAutocompleteValue/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/inputs/MultiAutocomplete/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/inputs/MultiAutocomplete/use-multi-autocomplete/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/inputs/MultiAutocomplete/use-multi-autocomplete/use-multi-autocomplete.d.ts +34 -0
- package/dist/types/src/metabase/ui/components/inputs/MultiSelect/MultiSelect.config.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/inputs/MultiSelect/index.d.ts +8 -0
- package/dist/types/src/metabase/ui/components/inputs/NativeSelect/NativeSelect.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/inputs/NativeSelect/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/inputs/NumberInput/NumberInput.config.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/inputs/NumberInput/index.d.ts +8 -0
- package/dist/types/src/metabase/ui/components/inputs/PasswordInput/PasswordInput.config.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/inputs/PasswordInput/index.d.ts +10 -0
- package/dist/types/src/metabase/ui/components/inputs/Pill/Pill.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/inputs/Pill/index.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/inputs/PillsInput/PillsInput.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/inputs/PillsInput/index.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/inputs/QuarterPicker/QuarterPicker.d.ts +11 -0
- package/dist/types/src/metabase/ui/components/inputs/QuarterPicker/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/inputs/Radio/Radio.config.d.ts +5 -0
- package/dist/types/src/metabase/ui/components/inputs/Radio/RadioCard.d.ts +16 -0
- package/dist/types/src/metabase/ui/components/inputs/Radio/index.d.ts +26 -0
- package/dist/types/src/metabase/ui/components/inputs/SegmentedControl/SegmentedControl.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/inputs/SegmentedControl/index.d.ts +31 -0
- package/dist/types/src/metabase/ui/components/inputs/SegmentedControl/use-item-tooltip.d.ts +16 -0
- package/dist/types/src/metabase/ui/components/inputs/Select/Select.config.d.ts +5 -0
- package/dist/types/src/metabase/ui/components/inputs/Select/Select.d.ts +23 -0
- package/dist/types/src/metabase/ui/components/inputs/Select/SelectItem/DefaultSelectItem.d.ts +9 -0
- package/dist/types/src/metabase/ui/components/inputs/Select/SelectItem/SelectItem.d.ts +8 -0
- package/dist/types/src/metabase/ui/components/inputs/Select/SelectItem/SelectItemWithDescription.d.ts +8 -0
- package/dist/types/src/metabase/ui/components/inputs/Select/SelectItem/index.d.ts +4 -0
- package/dist/types/src/metabase/ui/components/inputs/Select/SelectItem/utils.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/inputs/Select/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/inputs/Slider/Slider.config.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/inputs/Slider/index.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/inputs/Switch/Switch.config.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/inputs/Switch/index.d.ts +12 -0
- package/dist/types/src/metabase/ui/components/inputs/TagsInput/TagsInput.config.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/inputs/TagsInput/index.d.ts +8 -0
- package/dist/types/src/metabase/ui/components/inputs/TextInput/TextInput.config.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/inputs/TextInput/index.d.ts +10 -0
- package/dist/types/src/metabase/ui/components/inputs/TextInputBlurChange/TextInputBlurChange.d.ts +19 -0
- package/dist/types/src/metabase/ui/components/inputs/TextInputBlurChange/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/inputs/Textarea/Textarea.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/inputs/Textarea/index.d.ts +10 -0
- package/dist/types/src/metabase/ui/components/inputs/TextareaBlurChange/TextareaBlurChange.d.ts +19 -0
- package/dist/types/src/metabase/ui/components/inputs/TextareaBlurChange/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/inputs/TimeInput/TimeInput.config.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/inputs/TimeInput/TimeInput.d.ts +8 -0
- package/dist/types/src/metabase/ui/components/inputs/TimeInput/index.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/inputs/index.d.ts +30 -0
- package/dist/types/src/metabase/ui/components/layout/Center/index.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/layout/Collapse/index.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/layout/Flex/index.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/layout/Grid/Grid.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/layout/Grid/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/layout/Group/Group.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/layout/Group/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/layout/ScrollArea/ScrollArea.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/layout/ScrollArea/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/layout/SimpleGrid/SimpleGrid.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/layout/SimpleGrid/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/layout/Stack/Stack.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/layout/Stack/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/layout/index.d.ts +8 -0
- package/dist/types/src/metabase/ui/components/navigation/Breadcrumbs/Breadcrumbs.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/navigation/Breadcrumbs/index.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/navigation/NavLink/NavLink.config.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/navigation/NavLink/index.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/navigation/NavLinkBadge/NavLinkBadge.d.ts +6 -0
- package/dist/types/src/metabase/ui/components/navigation/NavLinkBadge/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/navigation/NavLinkButton/NavLinkButton.d.ts +13 -0
- package/dist/types/src/metabase/ui/components/navigation/NavLinkButton/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/navigation/Tabs/Tabs.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/navigation/Tabs/Tabs.d.ts +41 -0
- package/dist/types/src/metabase/ui/components/navigation/Tabs/TabsTab.d.ts +19 -0
- package/dist/types/src/metabase/ui/components/navigation/Tabs/index.d.ts +5 -0
- package/dist/types/src/metabase/ui/components/navigation/index.d.ts +5 -0
- package/dist/types/src/metabase/ui/components/overlays/Dialog/Dialog.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/overlays/Dialog/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/overlays/Drawer/Drawer.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/overlays/Drawer/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/overlays/HoverCard/HoverCard.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/overlays/HoverCard/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/overlays/Menu/Menu.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/overlays/Menu/Menu.d.ts +25 -0
- package/dist/types/src/metabase/ui/components/overlays/Menu/MenuItem/MenuItem.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/overlays/Menu/MenuItem/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/overlays/Menu/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/overlays/Modal/InModalContext.d.ts +7 -0
- package/dist/types/src/metabase/ui/components/overlays/Modal/Modal.config.d.ts +6 -0
- package/dist/types/src/metabase/ui/components/overlays/Modal/constants.d.ts +6 -0
- package/dist/types/src/metabase/ui/components/overlays/Modal/index.d.ts +117 -0
- package/dist/types/src/metabase/ui/components/overlays/Overlay/Overlay.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/overlays/Overlay/index.d.ts +11 -0
- package/dist/types/src/metabase/ui/components/overlays/Popover/Popover.config.d.ts +10 -0
- package/dist/types/src/metabase/ui/components/overlays/Popover/PopoverDropdown.d.ts +7 -0
- package/dist/types/src/metabase/ui/components/overlays/Popover/index.d.ts +4 -0
- package/dist/types/src/metabase/ui/components/overlays/Popover/register-popover-dropdown.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/overlays/Popover/use-stable-popover-position.d.ts +9 -0
- package/dist/types/src/metabase/ui/components/overlays/PortalContainer/PortalContainer.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/overlays/PortalContainer/constants.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/overlays/PortalContainer/index.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/overlays/Tooltip/Tooltip.config.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/overlays/Tooltip/Tooltip.d.ts +14 -0
- package/dist/types/src/metabase/ui/components/overlays/Tooltip/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/overlays/Tooltip/use-tooltip-event-isolation.d.ts +16 -0
- package/dist/types/src/metabase/ui/components/overlays/Tooltip/use-tooltip-visibility.d.ts +27 -0
- package/dist/types/src/metabase/ui/components/overlays/index.d.ts +9 -0
- package/dist/types/src/metabase/ui/components/overlays/overlay-stack/index.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/overlays/overlay-stack/overlay-stack-provider.d.ts +6 -0
- package/dist/types/src/metabase/ui/components/overlays/overlay-stack/overlay-stack.d.ts +13 -0
- package/dist/types/src/metabase/ui/components/overlays/overlay-stack/store.d.ts +7 -0
- package/dist/types/src/metabase/ui/components/theme/ColorSchemeProvider/ColorSchemeContext.d.ts +11 -0
- package/dist/types/src/metabase/ui/components/theme/ColorSchemeProvider/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/theme/DatesProvider/DatesProvider.d.ts +6 -0
- package/dist/types/src/metabase/ui/components/theme/DatesProvider/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/theme/MeasurementProviders.d.ts +6 -0
- package/dist/types/src/metabase/ui/components/theme/ThemeProvider/ThemeProvider.d.ts +36 -0
- package/dist/types/src/metabase/ui/components/theme/ThemeProvider/context.d.ts +6 -0
- package/dist/types/src/metabase/ui/components/theme/ThemeProvider/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/theme/index.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/typography/Anchor/Anchor.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/typography/Anchor/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/typography/Code/Code.config.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/typography/Code/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/typography/List/List.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/typography/List/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/typography/Text/Text.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/typography/Text/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/typography/Title/Title.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/typography/Title/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/typography/index.d.ts +5 -0
- package/dist/types/src/metabase/ui/components/utils/Box/index.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/utils/DelayGroup/DelayGroup.d.ts +12 -0
- package/dist/types/src/metabase/ui/components/utils/DelayGroup/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/utils/Divider/Divider.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/utils/Divider/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/utils/FocusTrap/index.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/utils/Paper/Paper.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/utils/Paper/index.d.ts +3 -0
- package/dist/types/src/metabase/ui/components/utils/Portal/Portal.config.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/utils/Portal/index.d.ts +4 -0
- package/dist/types/src/metabase/ui/components/utils/PreventEagerPortal/index.d.ts +6 -0
- package/dist/types/src/metabase/ui/components/utils/Space/index.d.ts +1 -0
- package/dist/types/src/metabase/ui/components/utils/Transition/index.d.ts +2 -0
- package/dist/types/src/metabase/ui/components/utils/index.d.ts +9 -0
- package/dist/types/src/metabase/ui/hooks/use-disable-command-palette.d.ts +5 -0
- package/dist/types/src/metabase/ui/hooks/use-is-truncated.d.ts +13 -0
- package/dist/types/src/metabase/ui/hooks/use-unmount-layout.d.ts +1 -0
- package/dist/types/src/metabase/ui/index.d.ts +6 -0
- package/dist/types/src/metabase/ui/mantine.d.ts +41 -0
- package/dist/types/src/metabase/ui/theme.d.ts +47 -0
- package/dist/types/src/metabase/ui/utils/colors.d.ts +30 -0
- package/dist/types/src/metabase/utils/color-scheme.d.ts +5 -0
- package/dist/types/src/metabase/utils/csp.d.ts +1 -0
- package/dist/types/src/metabase/utils/deep-merge.d.ts +13 -0
- package/dist/types/src/metabase/utils/focus-visible.d.ts +1 -0
- package/dist/types/src/metabase/utils/key-labels.d.ts +3 -0
- package/dist/types/src/metabase/utils/measure-container.d.ts +8 -0
- package/dist/types/src/metabase/utils/resize-observer.d.ts +7 -0
- package/dist/types/src/metabase-types/api/color-settings.d.ts +14 -0
- package/dist/types/src/metabase-types/api/icon.d.ts +4 -0
- package/dist/types/src/metabase-types/utils/types.d.ts +8 -0
- package/dist/types/ui-package/src/MetabaseUIProvider.d.ts +19 -0
- package/dist/types/ui-package/src/index.d.ts +6 -0
- package/dist/ui-package/src/MetabaseUIProvider.js +93 -0
- package/package.json +72 -4
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
import { getBaseColorsForThemeDefinitionOnly } from "../base-colors.js";
|
|
2
|
+
import { DARK_THEME_ACCENT_COLORS } from "../accent-colors.js";
|
|
3
|
+
//#region frontend/src/metabase/ui/colors/constants/themes/dark.ts
|
|
4
|
+
var baseColors = getBaseColorsForThemeDefinitionOnly();
|
|
5
|
+
var ORION_110_ALPHA_20 = "hsla(205, 63%, 5%, 0.2)";
|
|
6
|
+
/**
|
|
7
|
+
* The default dark theme for Metabase.
|
|
8
|
+
*/
|
|
9
|
+
var getDarkTheme = (brand = baseColors.brand) => ({
|
|
10
|
+
version: 2,
|
|
11
|
+
chartColors: DARK_THEME_ACCENT_COLORS,
|
|
12
|
+
colors: {
|
|
13
|
+
"background_page-filter": baseColors.filter[90],
|
|
14
|
+
"background_page-highlighted": "color-mix(in srgb, var(--mb-color-core-brand) 7%, transparent)",
|
|
15
|
+
"background_page-primary": baseColors.orion[95],
|
|
16
|
+
"background_page-primary-inverse": baseColors.white,
|
|
17
|
+
"background_page-secondary": baseColors.orion[100],
|
|
18
|
+
"background_page-secondary-inverse": baseColors.orion[5],
|
|
19
|
+
"background_page-tertiary": baseColors.orion[110],
|
|
20
|
+
"background_page-tertiary-inverse": baseColors.orion[10],
|
|
21
|
+
"background_surface-brand-strong": brand[20],
|
|
22
|
+
"background_surface-brand-strong-hover": brand[10],
|
|
23
|
+
"background_surface-brand-strong-pressed": brand[20],
|
|
24
|
+
"background_surface-brand-subtle": "color-mix(in srgb, var(--mb-color-core-brand) 10%, transparent)",
|
|
25
|
+
"background_surface-brand-subtle-hover": "color-mix(in srgb, var(--mb-color-core-brand), black 50%)",
|
|
26
|
+
"background_surface-brand-subtle-pressed": "color-mix(in srgb, var(--mb-color-core-brand), black 75%)",
|
|
27
|
+
"background_surface-disabled": baseColors.orionAlphaInverse[10],
|
|
28
|
+
"background_surface-disabled-inverse": baseColors.orionAlpha[10],
|
|
29
|
+
"background_surface-error": baseColors.lobster[90],
|
|
30
|
+
"background_surface-error-subtle": baseColors.lobster[90],
|
|
31
|
+
"background_surface-hover": "color-mix(in srgb, var(--mb-color-core-brand) 7%, transparent)",
|
|
32
|
+
"background_surface-primary": baseColors.orion[95],
|
|
33
|
+
"background_surface-primary-hover": baseColors.orionAlphaInverse[20],
|
|
34
|
+
"background_surface-primary-inverse": baseColors.white,
|
|
35
|
+
"background_surface-primary-inverse-hover": baseColors.orionAlpha[10],
|
|
36
|
+
"background_surface-primary-inverse-pressed": baseColors.orionAlpha[20],
|
|
37
|
+
"background_surface-primary-pressed": baseColors.orionAlphaInverse[10],
|
|
38
|
+
"background_surface-secondary": baseColors.orionAlphaInverse[10],
|
|
39
|
+
"background_surface-secondary-hover": baseColors.orionAlphaInverse[20],
|
|
40
|
+
"background_surface-secondary-inverse": baseColors.orionAlpha[10],
|
|
41
|
+
"background_surface-secondary-inverse-hover": baseColors.orionAlpha[20],
|
|
42
|
+
"background_surface-secondary-inverse-pressed": baseColors.orionAlpha[30],
|
|
43
|
+
"background_surface-secondary-pressed": baseColors.orionAlphaInverse[10],
|
|
44
|
+
"background_surface-selected": "color-mix(in srgb, var(--mb-color-core-brand) 21%, transparent)",
|
|
45
|
+
"background_surface-success": baseColors.palm[90],
|
|
46
|
+
"background_surface-warning": baseColors.dubloon[90],
|
|
47
|
+
"background_surface-warning-strong": baseColors.dubloon[70],
|
|
48
|
+
"border-brand": brand[80],
|
|
49
|
+
"border-filter": baseColors.filter[80],
|
|
50
|
+
"border-highlight": brand[30],
|
|
51
|
+
"border-neutral": baseColors.orionAlphaInverse[20],
|
|
52
|
+
"border-neutral-inverse-strong": baseColors.orionAlpha[30],
|
|
53
|
+
"border-neutral-strong": baseColors.orionAlphaInverse[30],
|
|
54
|
+
"border-neutral-strongest": baseColors.orionAlphaInverse[50],
|
|
55
|
+
"border-neutral-subtle": baseColors.orionAlphaInverse[10],
|
|
56
|
+
"border-on_dark": baseColors.orionAlphaInverse[20],
|
|
57
|
+
"button-default-neutral-default": baseColors.orion[95],
|
|
58
|
+
"button-default-neutral-hover": baseColors.orionAlphaInverse[20],
|
|
59
|
+
"button-default-neutral-pressed": baseColors.orionAlphaInverse[10],
|
|
60
|
+
"button-filled-brand-default": brand[20],
|
|
61
|
+
"button-filled-brand-hover": brand[10],
|
|
62
|
+
"button-filled-brand-pressed": brand[20],
|
|
63
|
+
"button-filled-filter-default": baseColors.filter[20],
|
|
64
|
+
"button-filled-filter-hover": baseColors.filter[10],
|
|
65
|
+
"button-filled-filter-pressed": baseColors.filter[20],
|
|
66
|
+
"button-filled-negative-default": baseColors.lobster[20],
|
|
67
|
+
"button-filled-negative-hover": baseColors.lobster[10],
|
|
68
|
+
"button-filled-negative-pressed": baseColors.lobster[20],
|
|
69
|
+
"button-filled-positive-default": baseColors.palm[20],
|
|
70
|
+
"button-filled-positive-hover": baseColors.palm[10],
|
|
71
|
+
"button-filled-positive-pressed": baseColors.palm[20],
|
|
72
|
+
"button-filled-warning-default": baseColors.dubloon[20],
|
|
73
|
+
"button-filled-warning-hover": baseColors.dubloon[10],
|
|
74
|
+
"button-filled-warning-pressed": baseColors.dubloon[20],
|
|
75
|
+
"button-light-brand-default": baseColors.orionAlphaInverse[10],
|
|
76
|
+
"button-light-brand-hover": baseColors.orionAlphaInverse[20],
|
|
77
|
+
"button-light-brand-pressed": baseColors.orionAlphaInverse[10],
|
|
78
|
+
"button-light-filter-default": baseColors.orionAlphaInverse[10],
|
|
79
|
+
"button-light-filter-hover": baseColors.orionAlphaInverse[20],
|
|
80
|
+
"button-light-filter-pressed": baseColors.orionAlphaInverse[10],
|
|
81
|
+
"button-light-negative-default": baseColors.orionAlphaInverse[10],
|
|
82
|
+
"button-light-negative-hover": baseColors.orionAlphaInverse[20],
|
|
83
|
+
"button-light-negative-pressed": baseColors.orionAlphaInverse[10],
|
|
84
|
+
"button-light-neutral-default": baseColors.orionAlphaInverse[10],
|
|
85
|
+
"button-light-neutral-hover": baseColors.orionAlphaInverse[20],
|
|
86
|
+
"button-light-neutral-pressed": baseColors.orionAlphaInverse[10],
|
|
87
|
+
"button-light-positive-default": baseColors.orionAlphaInverse[10],
|
|
88
|
+
"button-light-positive-hover": baseColors.orionAlphaInverse[20],
|
|
89
|
+
"button-light-positive-pressed": baseColors.orionAlphaInverse[10],
|
|
90
|
+
"button-on_dark-disabled": baseColors.orionAlphaInverse[10],
|
|
91
|
+
"button-on_dark_primary-negative-default": baseColors.lobster[20],
|
|
92
|
+
"button-on_dark_primary-negative-hover": baseColors.lobster[10],
|
|
93
|
+
"button-on_dark_primary-negative-pressed": baseColors.lobster[20],
|
|
94
|
+
"button-on_dark_primary-neutral-default": baseColors.white,
|
|
95
|
+
"button-on_dark_primary-neutral-hover": baseColors.orion[20],
|
|
96
|
+
"button-on_dark_primary-neutral-pressed": baseColors.orion[30],
|
|
97
|
+
"button-on_dark_secondary-negative-default": baseColors.blackAlpha[10],
|
|
98
|
+
"button-on_dark_secondary-negative-hover": baseColors.orionAlphaInverse[10],
|
|
99
|
+
"button-on_dark_secondary-negative-pressed": baseColors.blackAlpha[10],
|
|
100
|
+
"button-on_dark_secondary-neutral-default": baseColors.orionAlphaInverse[10],
|
|
101
|
+
"button-on_dark_secondary-neutral-hover": baseColors.orionAlphaInverse[20],
|
|
102
|
+
"button-on_dark_secondary-neutral-pressed": baseColors.orionAlphaInverse[10],
|
|
103
|
+
"button-subtle-brand-default": baseColors.transparent,
|
|
104
|
+
"button-subtle-brand-hover": baseColors.orionAlphaInverse[20],
|
|
105
|
+
"button-subtle-brand-pressed": baseColors.orionAlphaInverse[10],
|
|
106
|
+
"button-subtle-negative-default": baseColors.transparent,
|
|
107
|
+
"button-subtle-negative-hover": baseColors.orionAlphaInverse[20],
|
|
108
|
+
"button-subtle-negative-pressed": baseColors.orionAlphaInverse[10],
|
|
109
|
+
"button-subtle-neutral-default": baseColors.transparent,
|
|
110
|
+
"button-subtle-neutral-hover": baseColors.orionAlphaInverse[20],
|
|
111
|
+
"button-subtle-neutral-pressed": baseColors.orionAlphaInverse[10],
|
|
112
|
+
"button-subtle-positive-default": baseColors.transparent,
|
|
113
|
+
"button-subtle-positive-hover": baseColors.orionAlphaInverse[20],
|
|
114
|
+
"button-subtle-positive-pressed": baseColors.orionAlphaInverse[10],
|
|
115
|
+
"button-subtle-warning-default": baseColors.transparent,
|
|
116
|
+
"button-subtle-warning-hover": baseColors.orionAlphaInverse[20],
|
|
117
|
+
"button-subtle-warning-pressed": baseColors.orionAlphaInverse[10],
|
|
118
|
+
"button_label-default-neutral-default": baseColors.orionAlphaInverse[80],
|
|
119
|
+
"button_label-filled-brand-default": brand[80],
|
|
120
|
+
"button_label-filled-filter-default": baseColors.filter[80],
|
|
121
|
+
"button_label-filled-negative-default": baseColors.lobster[80],
|
|
122
|
+
"button_label-filled-positive-default": baseColors.palm[80],
|
|
123
|
+
"button_label-filled-warning-default": baseColors.lobster[80],
|
|
124
|
+
"button_label-light-brand-default": brand[30],
|
|
125
|
+
"button_label-light-brand-hover": brand[20],
|
|
126
|
+
"button_label-light-filter-default": baseColors.filter[30],
|
|
127
|
+
"button_label-light-filter-hover": baseColors.filter[20],
|
|
128
|
+
"button_label-light-negative-default": baseColors.lobster[30],
|
|
129
|
+
"button_label-light-negative-hover": baseColors.lobster[20],
|
|
130
|
+
"button_label-light-neutral-default": baseColors.orionAlphaInverse[80],
|
|
131
|
+
"button_label-light-positive-default": baseColors.palm[30],
|
|
132
|
+
"button_label-light-positive-hover": baseColors.palm[20],
|
|
133
|
+
"button_label-on_dark-disabled": baseColors.orionAlphaInverse[40],
|
|
134
|
+
"button_label-on_dark_primary-negative-default": baseColors.lobster[70],
|
|
135
|
+
"button_label-on_dark_primary-neutral-default": baseColors.orionAlpha[80],
|
|
136
|
+
"button_label-on_dark_secondary-negative-default": baseColors.lobster[30],
|
|
137
|
+
"button_label-on_dark_secondary-neutral-default": baseColors.white,
|
|
138
|
+
"button_label-subtle-brand-default": brand[30],
|
|
139
|
+
"button_label-subtle-brand-hover": brand[20],
|
|
140
|
+
"button_label-subtle-negative-default": baseColors.lobster[30],
|
|
141
|
+
"button_label-subtle-negative-hover": baseColors.lobster[20],
|
|
142
|
+
"button_label-subtle-neutral-default": baseColors.orionAlphaInverse[80],
|
|
143
|
+
"button_label-subtle-positive-default": baseColors.palm[30],
|
|
144
|
+
"button_label-subtle-positive-hover": baseColors.palm[20],
|
|
145
|
+
"button_label-subtle-warning-default": baseColors.dubloon[20],
|
|
146
|
+
"button_label-subtle-warning-hover": baseColors.dubloon[10],
|
|
147
|
+
"chart-axis": baseColors.orionAlphaInverse[20],
|
|
148
|
+
"core-blue-saturated": baseColors.ocean[40],
|
|
149
|
+
"core-brand": baseColors.blue[40],
|
|
150
|
+
"core-brand-hover": brand[30],
|
|
151
|
+
"core-filter": baseColors.octopus[40],
|
|
152
|
+
"core-filter-strong": baseColors.filter[20],
|
|
153
|
+
"core-gold": baseColors.gold,
|
|
154
|
+
"core-green-saturated": baseColors.palm[40],
|
|
155
|
+
"core-info": baseColors.orion[50],
|
|
156
|
+
"core-metabase_brand": baseColors.blue[40],
|
|
157
|
+
"core-metabase_brand-hover": baseColors.blue[50],
|
|
158
|
+
"core-purple-saturated": baseColors.octopus[40],
|
|
159
|
+
"core-red-saturated": baseColors.lobster[40],
|
|
160
|
+
"core-summarize": baseColors.palm[40],
|
|
161
|
+
"core-white": baseColors.orion[110],
|
|
162
|
+
"core-white_constant": baseColors.white,
|
|
163
|
+
"core-yellow-saturated": baseColors.dubloon[30],
|
|
164
|
+
"feedback-negative": baseColors.lobster[50],
|
|
165
|
+
"feedback-negative-strong": baseColors.lobster[30],
|
|
166
|
+
"feedback-neutral-strong": baseColors.orionAlphaInverse[30],
|
|
167
|
+
"feedback-positive": baseColors.palm[50],
|
|
168
|
+
"feedback-positive-selected": baseColors.palm[40],
|
|
169
|
+
"feedback-positive-strong": baseColors.palm[20],
|
|
170
|
+
"feedback-warning": baseColors.dubloon[30],
|
|
171
|
+
"feedback-warning-strong": baseColors.dubloon[20],
|
|
172
|
+
"icon-brand": brand[40],
|
|
173
|
+
"icon-brand-inverse": brand[50],
|
|
174
|
+
"icon-disabled": baseColors.orionAlphaInverse[40],
|
|
175
|
+
"icon-disabled-inverse": baseColors.orionAlpha[40],
|
|
176
|
+
"icon-primary": baseColors.orionAlphaInverse[80],
|
|
177
|
+
"icon-primary-inverse": baseColors.orionAlpha[80],
|
|
178
|
+
"icon-secondary": baseColors.orionAlphaInverse[60],
|
|
179
|
+
"icon-secondary-inverse": baseColors.orionAlpha[60],
|
|
180
|
+
"illustration-secondary-brand": brand[80],
|
|
181
|
+
"illustration-tertiary-brand": brand[90],
|
|
182
|
+
"input-background": baseColors.orion[95],
|
|
183
|
+
"input-focus": baseColors.blue[70],
|
|
184
|
+
"modal-border": baseColors.orionAlphaInverse[30],
|
|
185
|
+
"modal-overlay": baseColors.blackAlpha[35],
|
|
186
|
+
"navbar-admin": baseColors.octopus[80],
|
|
187
|
+
"navbar-admin-inverse": baseColors.octopus[60],
|
|
188
|
+
"navbar-admin-secondary": baseColors.octopus[60],
|
|
189
|
+
"segmented_control-hover": baseColors.orionAlphaInverse[30],
|
|
190
|
+
"segmented_control-pressed": baseColors.orionAlphaInverse[20],
|
|
191
|
+
"segmented_control-selected": baseColors.orionAlphaInverse[20],
|
|
192
|
+
"shadow-default": ORION_110_ALPHA_20,
|
|
193
|
+
"switch-checked": brand[30],
|
|
194
|
+
"switch-disabled": baseColors.orionAlphaInverse[20],
|
|
195
|
+
"switch-unchecked": baseColors.orionAlphaInverse[40],
|
|
196
|
+
"switch_thumb-disabled": baseColors.orionAlphaInverse[40],
|
|
197
|
+
"text-brand": brand[40],
|
|
198
|
+
"text-brand-hover": brand[30],
|
|
199
|
+
"text-brand-strong": brand[30],
|
|
200
|
+
"text-brand-strong-hover": brand[20],
|
|
201
|
+
"text-disabled": baseColors.orionAlphaInverse[40],
|
|
202
|
+
"text-disabled-inverse": baseColors.orionAlpha[40],
|
|
203
|
+
"text-filter": baseColors.filter[30],
|
|
204
|
+
"text-primary": baseColors.orionAlphaInverse[80],
|
|
205
|
+
"text-primary-inverse": baseColors.orionAlpha[80],
|
|
206
|
+
"text-secondary": baseColors.orionAlphaInverse[60],
|
|
207
|
+
"text-secondary-inverse": baseColors.orionAlpha[60],
|
|
208
|
+
"text-secondary-opaque": baseColors.orion[20],
|
|
209
|
+
"text-selected": baseColors.white,
|
|
210
|
+
"text-syntax-parameter": baseColors.mango[40],
|
|
211
|
+
"text-syntax-parameter-active": baseColors.mango[90],
|
|
212
|
+
"tooltip-background": baseColors.orion[70],
|
|
213
|
+
"tooltip-background-focused": baseColors.orion[80],
|
|
214
|
+
"tooltip-text": baseColors.orionAlphaInverse[80],
|
|
215
|
+
"tooltip-text-secondary": baseColors.orionAlphaInverse[60]
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
//#endregion
|
|
219
|
+
export { getDarkTheme };
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import { getBaseColorsForThemeDefinitionOnly } from "../base-colors.js";
|
|
2
|
+
import { LIGHT_THEME_ACCENT_COLORS } from "../accent-colors.js";
|
|
3
|
+
//#region frontend/src/metabase/ui/colors/constants/themes/light.ts
|
|
4
|
+
var baseColors = getBaseColorsForThemeDefinitionOnly();
|
|
5
|
+
/**
|
|
6
|
+
* The default light theme for Metabase.
|
|
7
|
+
*/
|
|
8
|
+
var getLightTheme = (brand = baseColors.brand) => ({
|
|
9
|
+
version: 2,
|
|
10
|
+
chartColors: LIGHT_THEME_ACCENT_COLORS,
|
|
11
|
+
colors: {
|
|
12
|
+
"background_page-filter": baseColors.filter[5],
|
|
13
|
+
"background_page-highlighted": "color-mix(in srgb, var(--mb-color-core-brand) 7%, transparent)",
|
|
14
|
+
"background_page-primary": baseColors.white,
|
|
15
|
+
"background_page-primary-inverse": baseColors.orion[95],
|
|
16
|
+
"background_page-secondary": baseColors.orion[5],
|
|
17
|
+
"background_page-secondary-inverse": baseColors.orion[100],
|
|
18
|
+
"background_page-tertiary": baseColors.orion[10],
|
|
19
|
+
"background_page-tertiary-inverse": baseColors.orion[110],
|
|
20
|
+
"background_surface-brand-strong": brand[60],
|
|
21
|
+
"background_surface-brand-strong-hover": brand[70],
|
|
22
|
+
"background_surface-brand-strong-pressed": brand[80],
|
|
23
|
+
"background_surface-brand-subtle": "color-mix(in srgb, var(--mb-color-core-brand) 10%, transparent)",
|
|
24
|
+
"background_surface-brand-subtle-hover": "color-mix(in srgb, var(--mb-color-core-brand) 30%, transparent)",
|
|
25
|
+
"background_surface-brand-subtle-pressed": "color-mix(in srgb, var(--mb-color-core-brand) 60%, transparent)",
|
|
26
|
+
"background_surface-disabled": baseColors.orionAlpha[10],
|
|
27
|
+
"background_surface-disabled-inverse": baseColors.orionAlphaInverse[10],
|
|
28
|
+
"background_surface-error": baseColors.lobster[10],
|
|
29
|
+
"background_surface-error-subtle": baseColors.lobster[5],
|
|
30
|
+
"background_surface-hover": "color-mix(in srgb, var(--mb-color-core-brand) 7%, transparent)",
|
|
31
|
+
"background_surface-primary": baseColors.white,
|
|
32
|
+
"background_surface-primary-hover": baseColors.orionAlpha[10],
|
|
33
|
+
"background_surface-primary-inverse": baseColors.orion[95],
|
|
34
|
+
"background_surface-primary-inverse-hover": baseColors.orionAlphaInverse[20],
|
|
35
|
+
"background_surface-primary-inverse-pressed": baseColors.orionAlphaInverse[10],
|
|
36
|
+
"background_surface-primary-pressed": baseColors.orionAlpha[20],
|
|
37
|
+
"background_surface-secondary": baseColors.orionAlpha[10],
|
|
38
|
+
"background_surface-secondary-hover": baseColors.orionAlpha[20],
|
|
39
|
+
"background_surface-secondary-inverse": baseColors.orionAlphaInverse[10],
|
|
40
|
+
"background_surface-secondary-inverse-hover": baseColors.orionAlphaInverse[20],
|
|
41
|
+
"background_surface-secondary-inverse-pressed": baseColors.orionAlphaInverse[10],
|
|
42
|
+
"background_surface-secondary-pressed": baseColors.orionAlpha[30],
|
|
43
|
+
"background_surface-selected": "color-mix(in srgb, var(--mb-color-core-brand) 21%, transparent)",
|
|
44
|
+
"background_surface-success": baseColors.palm[5],
|
|
45
|
+
"background_surface-warning": baseColors.dubloon[5],
|
|
46
|
+
"background_surface-warning-strong": baseColors.dubloon[20],
|
|
47
|
+
"border-brand": brand[10],
|
|
48
|
+
"border-filter": baseColors.filter[20],
|
|
49
|
+
"border-highlight": brand[60],
|
|
50
|
+
"border-neutral": baseColors.orion[20],
|
|
51
|
+
"border-neutral-inverse-strong": baseColors.orionAlphaInverse[30],
|
|
52
|
+
"border-neutral-strong": baseColors.orionAlpha[30],
|
|
53
|
+
"border-neutral-strongest": baseColors.orionAlpha[50],
|
|
54
|
+
"border-neutral-subtle": baseColors.orionAlpha[10],
|
|
55
|
+
"border-on_dark": baseColors.orionAlphaInverse[20],
|
|
56
|
+
"button-default-neutral-default": baseColors.white,
|
|
57
|
+
"button-default-neutral-hover": baseColors.orionAlpha[10],
|
|
58
|
+
"button-default-neutral-pressed": baseColors.orionAlpha[20],
|
|
59
|
+
"button-filled-brand-default": brand[60],
|
|
60
|
+
"button-filled-brand-hover": brand[70],
|
|
61
|
+
"button-filled-brand-pressed": brand[80],
|
|
62
|
+
"button-filled-filter-default": baseColors.filter[60],
|
|
63
|
+
"button-filled-filter-hover": baseColors.filter[70],
|
|
64
|
+
"button-filled-filter-pressed": baseColors.filter[80],
|
|
65
|
+
"button-filled-negative-default": baseColors.lobster[60],
|
|
66
|
+
"button-filled-negative-hover": baseColors.lobster[70],
|
|
67
|
+
"button-filled-negative-pressed": baseColors.lobster[80],
|
|
68
|
+
"button-filled-positive-default": baseColors.palm[60],
|
|
69
|
+
"button-filled-positive-hover": baseColors.palm[70],
|
|
70
|
+
"button-filled-positive-pressed": baseColors.palm[80],
|
|
71
|
+
"button-filled-warning-default": baseColors.dubloon[20],
|
|
72
|
+
"button-filled-warning-hover": baseColors.dubloon[30],
|
|
73
|
+
"button-filled-warning-pressed": baseColors.dubloon[40],
|
|
74
|
+
"button-light-brand-default": "color-mix(in srgb, var(--mb-color-core-brand) 7%, transparent)",
|
|
75
|
+
"button-light-brand-hover": "color-mix(in srgb, var(--mb-color-core-brand) 21%, transparent)",
|
|
76
|
+
"button-light-brand-pressed": "color-mix(in srgb, var(--mb-color-core-brand) 45%, transparent)",
|
|
77
|
+
"button-light-filter-default": "color-mix(in srgb, var(--mb-color-core-filter) 15%, transparent)",
|
|
78
|
+
"button-light-filter-hover": "color-mix(in srgb, var(--mb-color-core-filter) 30%, transparent)",
|
|
79
|
+
"button-light-filter-pressed": "color-mix(in srgb, var(--mb-color-core-filter) 60%, transparent)",
|
|
80
|
+
"button-light-negative-default": baseColors.lobsterAlpha[10],
|
|
81
|
+
"button-light-negative-hover": baseColors.lobsterAlpha[20],
|
|
82
|
+
"button-light-negative-pressed": baseColors.lobsterAlpha[30],
|
|
83
|
+
"button-light-neutral-default": baseColors.orionAlpha[10],
|
|
84
|
+
"button-light-neutral-hover": baseColors.orionAlpha[20],
|
|
85
|
+
"button-light-neutral-pressed": baseColors.orionAlpha[30],
|
|
86
|
+
"button-light-positive-default": baseColors.palmAlpha[10],
|
|
87
|
+
"button-light-positive-hover": baseColors.palmAlpha[20],
|
|
88
|
+
"button-light-positive-pressed": baseColors.palmAlpha[30],
|
|
89
|
+
"button-on_dark-disabled": baseColors.orionAlphaInverse[10],
|
|
90
|
+
"button-on_dark_primary-negative-default": baseColors.lobster[20],
|
|
91
|
+
"button-on_dark_primary-negative-hover": baseColors.lobster[10],
|
|
92
|
+
"button-on_dark_primary-negative-pressed": baseColors.lobster[20],
|
|
93
|
+
"button-on_dark_primary-neutral-default": baseColors.white,
|
|
94
|
+
"button-on_dark_primary-neutral-hover": baseColors.orion[20],
|
|
95
|
+
"button-on_dark_primary-neutral-pressed": baseColors.orion[30],
|
|
96
|
+
"button-on_dark_secondary-negative-default": baseColors.blackAlpha[10],
|
|
97
|
+
"button-on_dark_secondary-negative-hover": baseColors.orionAlphaInverse[10],
|
|
98
|
+
"button-on_dark_secondary-negative-pressed": baseColors.blackAlpha[10],
|
|
99
|
+
"button-on_dark_secondary-neutral-default": baseColors.orionAlphaInverse[10],
|
|
100
|
+
"button-on_dark_secondary-neutral-hover": baseColors.orionAlphaInverse[20],
|
|
101
|
+
"button-on_dark_secondary-neutral-pressed": baseColors.orionAlphaInverse[10],
|
|
102
|
+
"button-subtle-brand-default": baseColors.transparent,
|
|
103
|
+
"button-subtle-brand-hover": "color-mix(in srgb, var(--mb-color-core-brand) 21%, transparent)",
|
|
104
|
+
"button-subtle-brand-pressed": "color-mix(in srgb, var(--mb-color-core-brand) 45%, transparent)",
|
|
105
|
+
"button-subtle-negative-default": baseColors.transparent,
|
|
106
|
+
"button-subtle-negative-hover": baseColors.lobsterAlpha[20],
|
|
107
|
+
"button-subtle-negative-pressed": baseColors.lobsterAlpha[30],
|
|
108
|
+
"button-subtle-neutral-default": baseColors.transparent,
|
|
109
|
+
"button-subtle-neutral-hover": baseColors.orionAlpha[10],
|
|
110
|
+
"button-subtle-neutral-pressed": baseColors.orionAlpha[20],
|
|
111
|
+
"button-subtle-positive-default": baseColors.transparent,
|
|
112
|
+
"button-subtle-positive-hover": baseColors.palmAlpha[20],
|
|
113
|
+
"button-subtle-positive-pressed": baseColors.palmAlpha[30],
|
|
114
|
+
"button-subtle-warning-default": baseColors.transparent,
|
|
115
|
+
"button-subtle-warning-hover": baseColors.dubloonAlpha[30],
|
|
116
|
+
"button-subtle-warning-pressed": baseColors.dubloonAlpha[40],
|
|
117
|
+
"button_label-default-neutral-default": baseColors.orionAlpha[80],
|
|
118
|
+
"button_label-filled-brand-default": baseColors.white,
|
|
119
|
+
"button_label-filled-filter-default": baseColors.white,
|
|
120
|
+
"button_label-filled-negative-default": baseColors.white,
|
|
121
|
+
"button_label-filled-positive-default": baseColors.white,
|
|
122
|
+
"button_label-filled-warning-default": baseColors.lobster[80],
|
|
123
|
+
"button_label-light-brand-default": brand[60],
|
|
124
|
+
"button_label-light-brand-hover": brand[70],
|
|
125
|
+
"button_label-light-filter-default": baseColors.filter[70],
|
|
126
|
+
"button_label-light-filter-hover": baseColors.filter[80],
|
|
127
|
+
"button_label-light-negative-default": baseColors.lobster[70],
|
|
128
|
+
"button_label-light-negative-hover": baseColors.lobster[80],
|
|
129
|
+
"button_label-light-neutral-default": baseColors.orionAlpha[80],
|
|
130
|
+
"button_label-light-positive-default": baseColors.palm[70],
|
|
131
|
+
"button_label-light-positive-hover": baseColors.palm[80],
|
|
132
|
+
"button_label-on_dark-disabled": baseColors.orionAlphaInverse[40],
|
|
133
|
+
"button_label-on_dark_primary-negative-default": baseColors.lobster[70],
|
|
134
|
+
"button_label-on_dark_primary-neutral-default": baseColors.orionAlpha[80],
|
|
135
|
+
"button_label-on_dark_secondary-negative-default": baseColors.lobster[30],
|
|
136
|
+
"button_label-on_dark_secondary-neutral-default": baseColors.white,
|
|
137
|
+
"button_label-subtle-brand-default": brand[60],
|
|
138
|
+
"button_label-subtle-brand-hover": brand[70],
|
|
139
|
+
"button_label-subtle-negative-default": baseColors.lobster[70],
|
|
140
|
+
"button_label-subtle-negative-hover": baseColors.lobster[80],
|
|
141
|
+
"button_label-subtle-neutral-default": baseColors.orionAlpha[80],
|
|
142
|
+
"button_label-subtle-positive-default": baseColors.palm[70],
|
|
143
|
+
"button_label-subtle-positive-hover": baseColors.palm[80],
|
|
144
|
+
"button_label-subtle-warning-default": baseColors.mango[70],
|
|
145
|
+
"button_label-subtle-warning-hover": baseColors.mango[80],
|
|
146
|
+
"chart-axis": baseColors.orionAlpha[20],
|
|
147
|
+
"core-blue-saturated": baseColors.ocean[60],
|
|
148
|
+
"core-brand": baseColors.blue[40],
|
|
149
|
+
"core-brand-hover": brand[50],
|
|
150
|
+
"core-filter": baseColors.octopus[50],
|
|
151
|
+
"core-filter-strong": baseColors.filter[50],
|
|
152
|
+
"core-gold": baseColors.gold,
|
|
153
|
+
"core-green-saturated": baseColors.palm[60],
|
|
154
|
+
"core-info": baseColors.orion[40],
|
|
155
|
+
"core-metabase_brand": baseColors.blue[40],
|
|
156
|
+
"core-metabase_brand-hover": baseColors.blue[30],
|
|
157
|
+
"core-purple-saturated": baseColors.octopus[60],
|
|
158
|
+
"core-red-saturated": baseColors.lobster[60],
|
|
159
|
+
"core-summarize": baseColors.palm[50],
|
|
160
|
+
"core-white": baseColors.white,
|
|
161
|
+
"core-white_constant": baseColors.white,
|
|
162
|
+
"core-yellow-saturated": baseColors.dubloon[30],
|
|
163
|
+
"feedback-negative": baseColors.lobster[50],
|
|
164
|
+
"feedback-negative-strong": baseColors.lobster[60],
|
|
165
|
+
"feedback-neutral-strong": baseColors.orionAlpha[60],
|
|
166
|
+
"feedback-positive": baseColors.palm[50],
|
|
167
|
+
"feedback-positive-selected": baseColors.palm[60],
|
|
168
|
+
"feedback-positive-strong": baseColors.palm[60],
|
|
169
|
+
"feedback-warning": baseColors.dubloon[30],
|
|
170
|
+
"feedback-warning-strong": baseColors.mango[60],
|
|
171
|
+
"icon-brand": brand[50],
|
|
172
|
+
"icon-brand-inverse": brand[20],
|
|
173
|
+
"icon-disabled": baseColors.orionAlpha[40],
|
|
174
|
+
"icon-disabled-inverse": baseColors.orionAlphaInverse[40],
|
|
175
|
+
"icon-primary": baseColors.orionAlpha[80],
|
|
176
|
+
"icon-primary-inverse": baseColors.orionAlphaInverse[80],
|
|
177
|
+
"icon-secondary": baseColors.orionAlpha[60],
|
|
178
|
+
"icon-secondary-inverse": baseColors.orionAlphaInverse[60],
|
|
179
|
+
"illustration-secondary-brand": brand[10],
|
|
180
|
+
"illustration-tertiary-brand": brand[5],
|
|
181
|
+
"input-background": baseColors.white,
|
|
182
|
+
"input-focus": baseColors.blue[20],
|
|
183
|
+
"modal-border": baseColors.transparent,
|
|
184
|
+
"modal-overlay": baseColors.blackAlpha[10],
|
|
185
|
+
"navbar-admin": baseColors.octopus[60],
|
|
186
|
+
"navbar-admin-inverse": baseColors.octopus[80],
|
|
187
|
+
"navbar-admin-secondary": baseColors.octopus[40],
|
|
188
|
+
"segmented_control-hover": baseColors.orionAlpha[10],
|
|
189
|
+
"segmented_control-pressed": baseColors.orionAlpha[20],
|
|
190
|
+
"segmented_control-selected": baseColors.white,
|
|
191
|
+
"shadow-default": baseColors.orionAlpha[20],
|
|
192
|
+
"switch-checked": brand[60],
|
|
193
|
+
"switch-disabled": baseColors.orionAlpha[20],
|
|
194
|
+
"switch-unchecked": baseColors.orionAlpha[30],
|
|
195
|
+
"switch_thumb-disabled": baseColors.white,
|
|
196
|
+
"text-brand": brand[50],
|
|
197
|
+
"text-brand-hover": brand[60],
|
|
198
|
+
"text-brand-strong": brand[60],
|
|
199
|
+
"text-brand-strong-hover": brand[70],
|
|
200
|
+
"text-disabled": baseColors.orionAlpha[40],
|
|
201
|
+
"text-disabled-inverse": baseColors.orionAlphaInverse[40],
|
|
202
|
+
"text-filter": baseColors.filter[50],
|
|
203
|
+
"text-primary": baseColors.orionAlpha[80],
|
|
204
|
+
"text-primary-inverse": baseColors.orionAlphaInverse[80],
|
|
205
|
+
"text-secondary": baseColors.orionAlpha[60],
|
|
206
|
+
"text-secondary-inverse": baseColors.orionAlphaInverse[60],
|
|
207
|
+
"text-secondary-opaque": baseColors.orion[60],
|
|
208
|
+
"text-selected": baseColors.orionAlpha[80],
|
|
209
|
+
"text-syntax-parameter": baseColors.mango[60],
|
|
210
|
+
"text-syntax-parameter-active": baseColors.mango[10],
|
|
211
|
+
"tooltip-background": baseColors.orion[80],
|
|
212
|
+
"tooltip-background-focused": baseColors.orion[90],
|
|
213
|
+
"tooltip-text": baseColors.white,
|
|
214
|
+
"tooltip-text-secondary": baseColors.orionAlphaInverse[60]
|
|
215
|
+
}
|
|
216
|
+
});
|
|
217
|
+
//#endregion
|
|
218
|
+
export { getLightTheme };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
//#region frontend/src/metabase/ui/colors/constants/whitelabel-colors.ts
|
|
2
|
+
/**
|
|
3
|
+
* The admin appearance form and the `application-colors` setting keep addressing
|
|
4
|
+
* these three colors by their older names (see GDGT-2517), so whitelabel values arrive
|
|
5
|
+
* keyed by `brand`/`filter`/`summarize` and have to be translated to the token
|
|
6
|
+
* names the app actually reads.
|
|
7
|
+
*
|
|
8
|
+
* The SDK v1 theme keeps the same public names but is translated separately, by
|
|
9
|
+
* `SDK_TO_MAIN_APP_COLORS_MAPPING`.
|
|
10
|
+
*/
|
|
11
|
+
var WHITELABEL_KEY_TO_COLOR_KEY = {
|
|
12
|
+
brand: "core-brand",
|
|
13
|
+
filter: "core-filter",
|
|
14
|
+
summarize: "core-summarize"
|
|
15
|
+
};
|
|
16
|
+
var WHITELABEL_SETTING_KEYS = [
|
|
17
|
+
"brand",
|
|
18
|
+
"filter",
|
|
19
|
+
"summarize"
|
|
20
|
+
];
|
|
21
|
+
function mapWhitelabelColorsToTokens(colors) {
|
|
22
|
+
if (!colors) return {};
|
|
23
|
+
const { brand, filter, summarize, ...accents } = colors;
|
|
24
|
+
const tokens = { ...accents };
|
|
25
|
+
for (const settingKey of WHITELABEL_SETTING_KEYS) {
|
|
26
|
+
const value = colors[settingKey];
|
|
27
|
+
if (value !== void 0) tokens[WHITELABEL_KEY_TO_COLOR_KEY[settingKey]] = value;
|
|
28
|
+
}
|
|
29
|
+
return tokens;
|
|
30
|
+
}
|
|
31
|
+
//#endregion
|
|
32
|
+
export { WHITELABEL_KEY_TO_COLOR_KEY, mapWhitelabelColorsToTokens };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { getBaseColorsForThemeDefinitionOnly } from "./constants/base-colors.js";
|
|
2
|
+
import { deriveAllAccentColors, mapChartColorsToAccents } from "./accents.js";
|
|
3
|
+
import { PROTECTED_COLORS } from "./constants/protected-colors.js";
|
|
4
|
+
import { mapWhitelabelColorsToTokens } from "./constants/whitelabel-colors.js";
|
|
5
|
+
import { getThemeFromColorScheme } from "./theme-from-color-scheme.js";
|
|
6
|
+
import _ from "underscore";
|
|
7
|
+
//#region frontend/src/metabase/ui/colors/derive-theme.ts
|
|
8
|
+
/**
|
|
9
|
+
* Derives the _full_ metabase themes given a theme configuration.
|
|
10
|
+
* Applies to both the main app and modular embedding.
|
|
11
|
+
*
|
|
12
|
+
* Priority: base theme colors < appearance settings whitelabel colors < modular embedding theme overrides
|
|
13
|
+
*
|
|
14
|
+
* TODO(EMB-984): generate lightness stops based on a single color
|
|
15
|
+
* TODO(EMB-1016): derive full color palette based on the given color object
|
|
16
|
+
*/
|
|
17
|
+
function deriveFullMetabaseTheme({ colorScheme, whitelabelColors, embeddingThemeOverride, forceDynamicBrandRamp = false }) {
|
|
18
|
+
const filteredEmbeddingColors = _.omit(embeddingThemeOverride?.colors, ...PROTECTED_COLORS);
|
|
19
|
+
const embeddingColors = embeddingThemeOverride?.colors;
|
|
20
|
+
const shouldKeepBrandRampDynamic = forceDynamicBrandRamp || Boolean(embeddingColors?.["core-brand"] ?? whitelabelColors?.brand);
|
|
21
|
+
const baseColors = getBaseColorsForThemeDefinitionOnly();
|
|
22
|
+
const baseTheme = getThemeFromColorScheme(colorScheme, shouldKeepBrandRampDynamic ? baseColors.brand : baseColors.ocean);
|
|
23
|
+
return {
|
|
24
|
+
version: 2,
|
|
25
|
+
colors: {
|
|
26
|
+
...baseTheme.colors,
|
|
27
|
+
...mapChartColorsToAccents(baseTheme.chartColors),
|
|
28
|
+
...deriveAllAccentColors(mapWhitelabelColorsToTokens(whitelabelColors)),
|
|
29
|
+
...filteredEmbeddingColors,
|
|
30
|
+
...mapChartColorsToAccents(embeddingThemeOverride?.chartColors ?? [])
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
//#endregion
|
|
35
|
+
export { deriveFullMetabaseTheme };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./palette.js";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import "./constants/themes/dark.js";
|
|
2
|
+
import "./constants/themes/light.js";
|
|
3
|
+
import { deriveFullMetabaseTheme } from "./derive-theme.js";
|
|
4
|
+
import { getColors } from "./colors.js";
|
|
5
|
+
import "./palette.js";
|
|
6
|
+
import "./formatting-colors.js";
|
|
7
|
+
import "./constants/color-names.js";
|
|
8
|
+
export { deriveFullMetabaseTheme, getColors };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { getBaseColorsForThemeDefinitionOnly } from "./constants/base-colors.js";
|
|
2
|
+
import { getColors } from "./colors.js";
|
|
3
|
+
import "color";
|
|
4
|
+
getColors();
|
|
5
|
+
var baseColors = getBaseColorsForThemeDefinitionOnly();
|
|
6
|
+
baseColors.orionAlphaInverse[80];
|
|
7
|
+
baseColors.orionAlpha[80];
|
|
8
|
+
//#endregion
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { getBaseColorsForThemeDefinitionOnly } from "./constants/base-colors.js";
|
|
2
|
+
import { getDarkTheme } from "./constants/themes/dark.js";
|
|
3
|
+
import { getLightTheme } from "./constants/themes/light.js";
|
|
4
|
+
//#region frontend/src/metabase/ui/colors/theme-from-color-scheme.ts
|
|
5
|
+
var baseColors = getBaseColorsForThemeDefinitionOnly();
|
|
6
|
+
var getThemeFromColorScheme = (colorScheme, brand = baseColors.brand) => colorScheme === "dark" ? getDarkTheme(brand) : getLightTheme(brand);
|
|
7
|
+
//#endregion
|
|
8
|
+
export { getThemeFromColorScheme };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
var DEFAULT_SDK_FONT_SIZE = 14;
|
|
2
|
+
var units = (px) => ({
|
|
3
|
+
px: `${px}px`,
|
|
4
|
+
em: `${px / DEFAULT_SDK_FONT_SIZE}em`
|
|
5
|
+
});
|
|
6
|
+
var FONT_SIZES = {
|
|
7
|
+
tableCell: units(12.5),
|
|
8
|
+
pivotTableCell: units(12),
|
|
9
|
+
label: units(13),
|
|
10
|
+
goalLabel: units(13)
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Default theme options for Metabase components.
|
|
14
|
+
*
|
|
15
|
+
* While these theme options are primarily used by the React Embedding SDK
|
|
16
|
+
* to provide extra customization for SDK users,
|
|
17
|
+
* the options below are used to provide default values to components
|
|
18
|
+
* such as charts, data tables and popovers.
|
|
19
|
+
*/
|
|
20
|
+
var DEFAULT_METABASE_COMPONENT_THEME = {
|
|
21
|
+
collectionBrowser: {
|
|
22
|
+
breadcrumbs: { expandButton: {
|
|
23
|
+
textColor: "var(--mb-color-text-secondary)",
|
|
24
|
+
backgroundColor: "var(--mb-color-background_page-secondary)",
|
|
25
|
+
hoverTextColor: "var(--mb-color-text-primary-inverse)",
|
|
26
|
+
hoverBackgroundColor: "var(--mb-color-core-brand)"
|
|
27
|
+
} },
|
|
28
|
+
emptyContent: {
|
|
29
|
+
icon: {
|
|
30
|
+
width: "117",
|
|
31
|
+
height: "94"
|
|
32
|
+
},
|
|
33
|
+
title: { fontSize: "1.5rem" },
|
|
34
|
+
subtitle: { fontSize: "1rem" }
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
dashboard: {
|
|
38
|
+
backgroundColor: "var(--mb-color-background_page-primary)",
|
|
39
|
+
card: { backgroundColor: "var(--mb-color-background_page-primary)" }
|
|
40
|
+
},
|
|
41
|
+
question: { backgroundColor: "transparent" },
|
|
42
|
+
table: {
|
|
43
|
+
cell: {
|
|
44
|
+
fontSize: FONT_SIZES.tableCell.px,
|
|
45
|
+
textColor: "var(--mb-color-text-primary)"
|
|
46
|
+
},
|
|
47
|
+
idColumn: { textColor: "var(--mb-color-core-brand)" }
|
|
48
|
+
},
|
|
49
|
+
pivotTable: {
|
|
50
|
+
cell: { fontSize: FONT_SIZES.pivotTableCell.px },
|
|
51
|
+
rowToggle: {
|
|
52
|
+
textColor: "text-primary-inverse",
|
|
53
|
+
backgroundColor: "text-disabled"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
cartesian: {
|
|
57
|
+
label: { fontSize: FONT_SIZES.label.px },
|
|
58
|
+
goalLine: { label: { fontSize: FONT_SIZES.goalLabel.px } },
|
|
59
|
+
splitLine: { lineStyle: { color: "var(--mb-color-chart-axis)" } }
|
|
60
|
+
},
|
|
61
|
+
popover: { zIndex: 200 }
|
|
62
|
+
};
|
|
63
|
+
//#endregion
|
|
64
|
+
export { DEFAULT_METABASE_COMPONENT_THEME };
|