@xerobi/ui 0.0.0-stage → 0.1.1
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 +20 -0
- package/LICENSE +21 -0
- package/README.md +164 -2
- package/dist/blocks/data-table/grid/data-grid.d.ts +6 -0
- package/dist/blocks/data-table/grid/data-grid.js +147 -0
- package/dist/blocks/data-table/grid/index.d.ts +2 -0
- package/dist/blocks/data-table/grid/index.js +1 -0
- package/dist/blocks/data-table/grid/types.d.ts +47 -0
- package/dist/blocks/data-table/grid/types.js +1 -0
- package/dist/blocks/data-table/index.d.ts +3 -0
- package/dist/blocks/data-table/index.js +3 -0
- package/dist/blocks/data-table/table/index.d.ts +7 -0
- package/dist/blocks/data-table/table/index.js +7 -0
- package/dist/blocks/data-table/table/table-empty-rows.d.ts +5 -0
- package/dist/blocks/data-table/table/table-empty-rows.js +8 -0
- package/dist/blocks/data-table/table/table-head-custom.d.ts +18 -0
- package/dist/blocks/data-table/table/table-head-custom.js +13 -0
- package/dist/blocks/data-table/table/table-no-data.d.ts +7 -0
- package/dist/blocks/data-table/table/table-no-data.js +8 -0
- package/dist/blocks/data-table/table/table-pagination-custom.d.ts +16 -0
- package/dist/blocks/data-table/table/table-pagination-custom.js +13 -0
- package/dist/blocks/data-table/table/table-selected-action.d.ts +11 -0
- package/dist/blocks/data-table/table/table-selected-action.js +9 -0
- package/dist/blocks/data-table/table/table-skeleton.d.ts +5 -0
- package/dist/blocks/data-table/table/table-skeleton.js +7 -0
- package/dist/blocks/data-table/table/utils.d.ts +1 -0
- package/dist/blocks/data-table/table/utils.js +3 -0
- package/dist/blocks/data-table/tanstack.d.ts +2 -0
- package/dist/blocks/data-table/tanstack.js +1 -0
- package/dist/blocks/filters-result/filters-block.d.ts +7 -0
- package/dist/blocks/filters-result/filters-block.js +8 -0
- package/dist/blocks/filters-result/filters-result.d.ts +16 -0
- package/dist/blocks/filters-result/filters-result.js +10 -0
- package/dist/blocks/filters-result/index.d.ts +2 -0
- package/dist/blocks/filters-result/index.js +2 -0
- package/dist/blocks/form/field-autocomplete.d.ts +18 -0
- package/dist/blocks/form/field-autocomplete.js +27 -0
- package/dist/blocks/form/field-checkbox.d.ts +25 -0
- package/dist/blocks/form/field-checkbox.js +23 -0
- package/dist/blocks/form/field-code.d.ts +8 -0
- package/dist/blocks/form/field-code.js +8 -0
- package/dist/blocks/form/field-controller.d.ts +23 -0
- package/dist/blocks/form/field-controller.js +32 -0
- package/dist/blocks/form/field-country-select.d.ts +5 -0
- package/dist/blocks/form/field-country-select.js +9 -0
- package/dist/blocks/form/field-date-picker.d.ts +14 -0
- package/dist/blocks/form/field-date-picker.js +40 -0
- package/dist/blocks/form/field-editor.d.ts +5 -0
- package/dist/blocks/form/field-editor.js +7 -0
- package/dist/blocks/form/field-number-input.d.ts +5 -0
- package/dist/blocks/form/field-number-input.js +7 -0
- package/dist/blocks/form/field-phone.d.ts +5 -0
- package/dist/blocks/form/field-phone.js +7 -0
- package/dist/blocks/form/field-radio-group.d.ts +12 -0
- package/dist/blocks/form/field-radio-group.js +15 -0
- package/dist/blocks/form/field-rating.d.ts +6 -0
- package/dist/blocks/form/field-rating.js +8 -0
- package/dist/blocks/form/field-select.d.ts +21 -0
- package/dist/blocks/form/field-select.js +24 -0
- package/dist/blocks/form/field-slider.d.ts +6 -0
- package/dist/blocks/form/field-slider.js +8 -0
- package/dist/blocks/form/field-switch.d.ts +25 -0
- package/dist/blocks/form/field-switch.js +23 -0
- package/dist/blocks/form/field-text.d.ts +8 -0
- package/dist/blocks/form/field-text.js +28 -0
- package/dist/blocks/form/field-upload.d.ts +7 -0
- package/dist/blocks/form/field-upload.js +17 -0
- package/dist/blocks/form/fields.d.ts +38 -0
- package/dist/blocks/form/fields.js +39 -0
- package/dist/blocks/form/form-context.d.ts +13 -0
- package/dist/blocks/form/form-context.js +18 -0
- package/dist/blocks/form/form-provider.d.ts +6 -0
- package/dist/blocks/form/form-provider.js +10 -0
- package/dist/blocks/form/help-text.d.ts +6 -0
- package/dist/blocks/form/help-text.js +8 -0
- package/dist/blocks/form/index.d.ts +23 -0
- package/dist/blocks/form/index.js +22 -0
- package/dist/blocks/form/schema-helper.d.ts +38 -0
- package/dist/blocks/form/schema-helper.js +80 -0
- package/dist/blocks/index.d.ts +9 -0
- package/dist/blocks/index.js +9 -0
- package/dist/blocks/mega-menu/classes.d.ts +31 -0
- package/dist/blocks/mega-menu/classes.js +12 -0
- package/dist/blocks/mega-menu/components.d.ts +37 -0
- package/dist/blocks/mega-menu/components.js +78 -0
- package/dist/blocks/mega-menu/horizontal.d.ts +2 -0
- package/dist/blocks/mega-menu/horizontal.js +9 -0
- package/dist/blocks/mega-menu/index.d.ts +5 -0
- package/dist/blocks/mega-menu/index.js +4 -0
- package/dist/blocks/mega-menu/mega-nav-list.d.ts +7 -0
- package/dist/blocks/mega-menu/mega-nav-list.js +25 -0
- package/dist/blocks/mega-menu/mobile.d.ts +16 -0
- package/dist/blocks/mega-menu/mobile.js +27 -0
- package/dist/blocks/mega-menu/types.d.ts +65 -0
- package/dist/blocks/mega-menu/types.js +1 -0
- package/dist/blocks/mega-menu/vertical.d.ts +2 -0
- package/dist/blocks/mega-menu/vertical.js +9 -0
- package/dist/blocks/nav-basic/classes.d.ts +26 -0
- package/dist/blocks/nav-basic/classes.js +7 -0
- package/dist/blocks/nav-basic/desktop.d.ts +2 -0
- package/dist/blocks/nav-basic/desktop.js +26 -0
- package/dist/blocks/nav-basic/index.d.ts +4 -0
- package/dist/blocks/nav-basic/index.js +3 -0
- package/dist/blocks/nav-basic/mobile.d.ts +2 -0
- package/dist/blocks/nav-basic/mobile.js +20 -0
- package/dist/blocks/nav-basic/types.d.ts +14 -0
- package/dist/blocks/nav-basic/types.js +1 -0
- package/dist/blocks/nav-core/elements.d.ts +32 -0
- package/dist/blocks/nav-core/elements.js +37 -0
- package/dist/blocks/nav-core/index.d.ts +6 -0
- package/dist/blocks/nav-core/index.js +6 -0
- package/dist/blocks/nav-core/link.d.ts +12 -0
- package/dist/blocks/nav-core/link.js +16 -0
- package/dist/blocks/nav-core/nav-dropdown.d.ts +19 -0
- package/dist/blocks/nav-core/nav-dropdown.js +9 -0
- package/dist/blocks/nav-core/nav-item.d.ts +13 -0
- package/dist/blocks/nav-core/nav-item.js +36 -0
- package/dist/blocks/nav-core/types.d.ts +38 -0
- package/dist/blocks/nav-core/types.js +1 -0
- package/dist/blocks/nav-core/utils.d.ts +4 -0
- package/dist/blocks/nav-core/utils.js +17 -0
- package/dist/blocks/nav-section/classes.d.ts +27 -0
- package/dist/blocks/nav-section/classes.js +8 -0
- package/dist/blocks/nav-section/horizontal.d.ts +2 -0
- package/dist/blocks/nav-section/horizontal.js +12 -0
- package/dist/blocks/nav-section/hover-list.d.ts +13 -0
- package/dist/blocks/nav-section/hover-list.js +27 -0
- package/dist/blocks/nav-section/index.d.ts +5 -0
- package/dist/blocks/nav-section/index.js +4 -0
- package/dist/blocks/nav-section/mini.d.ts +2 -0
- package/dist/blocks/nav-section/mini.js +12 -0
- package/dist/blocks/nav-section/types.d.ts +20 -0
- package/dist/blocks/nav-section/types.js +1 -0
- package/dist/blocks/nav-section/vertical.d.ts +2 -0
- package/dist/blocks/nav-section/vertical.js +28 -0
- package/dist/blocks/settings/index.d.ts +5 -0
- package/dist/blocks/settings/index.js +4 -0
- package/dist/blocks/settings/settings-button.d.ts +1 -0
- package/dist/blocks/settings/settings-button.js +9 -0
- package/dist/blocks/settings/settings-config.d.ts +5 -0
- package/dist/blocks/settings/settings-config.js +14 -0
- package/dist/blocks/settings/settings-context.d.ts +7 -0
- package/dist/blocks/settings/settings-context.js +51 -0
- package/dist/blocks/settings/settings-drawer.d.ts +2 -0
- package/dist/blocks/settings/settings-drawer.js +61 -0
- package/dist/blocks/settings/types.d.ts +34 -0
- package/dist/blocks/settings/types.js +1 -0
- package/dist/blocks/sidebar/index.d.ts +1 -0
- package/dist/blocks/sidebar/index.js +1 -0
- package/dist/blocks/sidebar/sidebar.d.ts +63 -0
- package/dist/blocks/sidebar/sidebar.js +256 -0
- package/dist/components/accordion/accordion.d.ts +6 -0
- package/dist/components/accordion/accordion.js +18 -0
- package/dist/components/accordion/index.d.ts +1 -0
- package/dist/components/accordion/index.js +1 -0
- package/dist/components/alert/alert.d.ts +10 -0
- package/dist/components/alert/alert.js +33 -0
- package/dist/components/alert/index.d.ts +1 -0
- package/dist/components/alert/index.js +1 -0
- package/dist/components/alert-dialog/alert-dialog.d.ts +18 -0
- package/dist/components/alert-dialog/alert-dialog.js +42 -0
- package/dist/components/alert-dialog/index.d.ts +1 -0
- package/dist/components/alert-dialog/index.js +1 -0
- package/dist/components/animate/animate-border.d.ts +31 -0
- package/dist/components/animate/animate-border.js +77 -0
- package/dist/components/animate/animate-count-up.d.ts +12 -0
- package/dist/components/animate/animate-count-up.js +33 -0
- package/dist/components/animate/animate-logo.d.ts +10 -0
- package/dist/components/animate/animate-logo.js +20 -0
- package/dist/components/animate/animate-text.d.ts +19 -0
- package/dist/components/animate/animate-text.js +44 -0
- package/dist/components/animate/features.d.ts +2 -0
- package/dist/components/animate/features.js +2 -0
- package/dist/components/animate/index.d.ts +9 -0
- package/dist/components/animate/index.js +9 -0
- package/dist/components/animate/motion-container.d.ts +8 -0
- package/dist/components/animate/motion-container.js +7 -0
- package/dist/components/animate/motion-lazy.d.ts +4 -0
- package/dist/components/animate/motion-lazy.js +7 -0
- package/dist/components/animate/motion-viewport.d.ts +7 -0
- package/dist/components/animate/motion-viewport.js +24 -0
- package/dist/components/animate/scroll-progress/index.d.ts +2 -0
- package/dist/components/animate/scroll-progress/index.js +2 -0
- package/dist/components/animate/scroll-progress/scroll-progress.d.ts +22 -0
- package/dist/components/animate/scroll-progress/scroll-progress.js +37 -0
- package/dist/components/animate/scroll-progress/use-scroll-progress.d.ts +10 -0
- package/dist/components/animate/scroll-progress/use-scroll-progress.js +9 -0
- package/dist/components/animate/variants/actions.d.ts +9 -0
- package/dist/components/animate/variants/actions.js +17 -0
- package/dist/components/animate/variants/background.d.ts +6 -0
- package/dist/components/animate/variants/background.js +110 -0
- package/dist/components/animate/variants/bounce.d.ts +8 -0
- package/dist/components/animate/variants/bounce.js +92 -0
- package/dist/components/animate/variants/container.d.ts +7 -0
- package/dist/components/animate/variants/container.js +16 -0
- package/dist/components/animate/variants/fade.d.ts +9 -0
- package/dist/components/animate/variants/fade.js +77 -0
- package/dist/components/animate/variants/flip.d.ts +9 -0
- package/dist/components/animate/variants/flip.js +28 -0
- package/dist/components/animate/variants/index.d.ts +12 -0
- package/dist/components/animate/variants/index.js +12 -0
- package/dist/components/animate/variants/path.d.ts +2 -0
- package/dist/components/animate/variants/path.js +12 -0
- package/dist/components/animate/variants/rotate.d.ts +9 -0
- package/dist/components/animate/variants/rotate.js +20 -0
- package/dist/components/animate/variants/scale.d.ts +8 -0
- package/dist/components/animate/variants/scale.js +37 -0
- package/dist/components/animate/variants/slide.d.ts +9 -0
- package/dist/components/animate/variants/slide.js +51 -0
- package/dist/components/animate/variants/transition.d.ts +3 -0
- package/dist/components/animate/variants/transition.js +10 -0
- package/dist/components/animate/variants/zoom.d.ts +9 -0
- package/dist/components/animate/variants/zoom.js +120 -0
- package/dist/components/aspect-ratio/aspect-ratio.d.ts +4 -0
- package/dist/components/aspect-ratio/aspect-ratio.js +9 -0
- package/dist/components/aspect-ratio/index.d.ts +1 -0
- package/dist/components/aspect-ratio/index.js +1 -0
- package/dist/components/avatar/avatar.d.ts +11 -0
- package/dist/components/avatar/avatar.js +23 -0
- package/dist/components/avatar/index.d.ts +1 -0
- package/dist/components/avatar/index.js +1 -0
- package/dist/components/badge/badge.d.ts +15 -0
- package/dist/components/badge/badge.js +79 -0
- package/dist/components/badge/index.d.ts +1 -0
- package/dist/components/badge/index.js +1 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +10 -0
- package/dist/components/breadcrumb/breadcrumb.js +37 -0
- package/dist/components/breadcrumb/index.d.ts +1 -0
- package/dist/components/breadcrumb/index.js +1 -0
- package/dist/components/button/button.d.ts +20 -0
- package/dist/components/button/button.js +120 -0
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/button/index.js +1 -0
- package/dist/components/button-group/button-group.d.ts +10 -0
- package/dist/components/button-group/button-group.js +37 -0
- package/dist/components/button-group/index.d.ts +1 -0
- package/dist/components/button-group/index.js +1 -0
- package/dist/components/calendar/calendar.d.ts +10 -0
- package/dist/components/calendar/calendar.js +76 -0
- package/dist/components/calendar/index.d.ts +1 -0
- package/dist/components/calendar/index.js +1 -0
- package/dist/components/card/card.d.ts +11 -0
- package/dist/components/card/card.js +25 -0
- package/dist/components/card/index.d.ts +1 -0
- package/dist/components/card/index.js +1 -0
- package/dist/components/carousel/breakpoints.d.ts +7 -0
- package/dist/components/carousel/breakpoints.js +7 -0
- package/dist/components/carousel/carousel.d.ts +2 -0
- package/dist/components/carousel/carousel.js +13 -0
- package/dist/components/carousel/classes.d.ts +31 -0
- package/dist/components/carousel/classes.js +32 -0
- package/dist/components/carousel/components/arrow-button.d.ts +2 -0
- package/dist/components/carousel/components/arrow-button.js +10 -0
- package/dist/components/carousel/components/carousel-arrow-buttons.d.ts +4 -0
- package/dist/components/carousel/components/carousel-arrow-buttons.js +15 -0
- package/dist/components/carousel/components/carousel-dot-buttons.d.ts +2 -0
- package/dist/components/carousel/components/carousel-dot-buttons.js +19 -0
- package/dist/components/carousel/components/carousel-progress-bar.d.ts +2 -0
- package/dist/components/carousel/components/carousel-progress-bar.js +9 -0
- package/dist/components/carousel/components/carousel-slide.d.ts +2 -0
- package/dist/components/carousel/components/carousel-slide.js +16 -0
- package/dist/components/carousel/components/carousel-thumb.d.ts +2 -0
- package/dist/components/carousel/components/carousel-thumb.js +7 -0
- package/dist/components/carousel/components/carousel-thumbs.d.ts +2 -0
- package/dist/components/carousel/components/carousel-thumbs.js +15 -0
- package/dist/components/carousel/components/index.d.ts +7 -0
- package/dist/components/carousel/components/index.js +7 -0
- package/dist/components/carousel/hooks/index.d.ts +7 -0
- package/dist/components/carousel/hooks/index.js +7 -0
- package/dist/components/carousel/hooks/use-carousel-arrows.d.ts +3 -0
- package/dist/components/carousel/hooks/use-carousel-arrows.js +33 -0
- package/dist/components/carousel/hooks/use-carousel-auto-play.d.ts +3 -0
- package/dist/components/carousel/hooks/use-carousel-auto-play.js +31 -0
- package/dist/components/carousel/hooks/use-carousel-auto-scroll.d.ts +3 -0
- package/dist/components/carousel/hooks/use-carousel-auto-scroll.js +31 -0
- package/dist/components/carousel/hooks/use-carousel-dots.d.ts +3 -0
- package/dist/components/carousel/hooks/use-carousel-dots.js +34 -0
- package/dist/components/carousel/hooks/use-carousel-parallax.d.ts +3 -0
- package/dist/components/carousel/hooks/use-carousel-parallax.js +62 -0
- package/dist/components/carousel/hooks/use-carousel-progress.d.ts +3 -0
- package/dist/components/carousel/hooks/use-carousel-progress.js +17 -0
- package/dist/components/carousel/hooks/use-carousel.d.ts +3 -0
- package/dist/components/carousel/hooks/use-carousel.js +56 -0
- package/dist/components/carousel/hooks/use-thumbs.d.ts +3 -0
- package/dist/components/carousel/hooks/use-thumbs.js +35 -0
- package/dist/components/carousel/hooks/use-viewport-width.d.ts +1 -0
- package/dist/components/carousel/hooks/use-viewport-width.js +9 -0
- package/dist/components/carousel/index.d.ts +6 -0
- package/dist/components/carousel/index.js +5 -0
- package/dist/components/carousel/types.d.ts +104 -0
- package/dist/components/carousel/types.js +1 -0
- package/dist/components/carousel/utils.d.ts +5 -0
- package/dist/components/carousel/utils.js +30 -0
- package/dist/components/chart/chart.d.ts +2 -0
- package/dist/components/chart/chart.js +14 -0
- package/dist/components/chart/classes.d.ts +15 -0
- package/dist/components/chart/classes.js +16 -0
- package/dist/components/chart/components/chart-legends.d.ts +16 -0
- package/dist/components/chart/components/chart-legends.js +7 -0
- package/dist/components/chart/components/chart-loading.d.ts +3 -0
- package/dist/components/chart/components/chart-loading.js +9 -0
- package/dist/components/chart/components/chart-select.d.ts +6 -0
- package/dist/components/chart/components/chart-select.js +14 -0
- package/dist/components/chart/components/index.d.ts +3 -0
- package/dist/components/chart/components/index.js +3 -0
- package/dist/components/chart/index.d.ts +5 -0
- package/dist/components/chart/index.js +4 -0
- package/dist/components/chart/types.d.ts +7 -0
- package/dist/components/chart/types.js +1 -0
- package/dist/components/chart/use-chart.d.ts +6 -0
- package/dist/components/chart/use-chart.js +129 -0
- package/dist/components/checkbox/checkbox.d.ts +7 -0
- package/dist/components/checkbox/checkbox.js +18 -0
- package/dist/components/checkbox/index.d.ts +1 -0
- package/dist/components/checkbox/index.js +1 -0
- package/dist/components/chip/chip.d.ts +23 -0
- package/dist/components/chip/chip.js +74 -0
- package/dist/components/chip/index.d.ts +1 -0
- package/dist/components/chip/index.js +1 -0
- package/dist/components/clipboard-text/clipboard-text.d.ts +15 -0
- package/dist/components/clipboard-text/clipboard-text.js +58 -0
- package/dist/components/clipboard-text/index.d.ts +1 -0
- package/dist/components/clipboard-text/index.js +1 -0
- package/dist/components/collapsible/collapsible.d.ts +5 -0
- package/dist/components/collapsible/collapsible.js +13 -0
- package/dist/components/collapsible/index.d.ts +1 -0
- package/dist/components/collapsible/index.js +1 -0
- package/dist/components/color-utils/classes.d.ts +13 -0
- package/dist/components/color-utils/classes.js +14 -0
- package/dist/components/color-utils/color-picker.d.ts +16 -0
- package/dist/components/color-utils/color-picker.js +40 -0
- package/dist/components/color-utils/color-preview.d.ts +12 -0
- package/dist/components/color-utils/color-preview.js +15 -0
- package/dist/components/color-utils/index.d.ts +3 -0
- package/dist/components/color-utils/index.js +3 -0
- package/dist/components/combobox/combobox.d.ts +24 -0
- package/dist/components/combobox/combobox.js +58 -0
- package/dist/components/combobox/index.d.ts +1 -0
- package/dist/components/combobox/index.js +1 -0
- package/dist/components/command/command.d.ts +19 -0
- package/dist/components/command/command.js +35 -0
- package/dist/components/command/index.d.ts +1 -0
- package/dist/components/command/index.js +1 -0
- package/dist/components/context-menu/context-menu.d.ts +29 -0
- package/dist/components/context-menu/context-menu.js +51 -0
- package/dist/components/context-menu/index.d.ts +1 -0
- package/dist/components/context-menu/index.js +1 -0
- package/dist/components/country-select/countries.d.ts +6 -0
- package/dist/components/country-select/countries.js +250 -0
- package/dist/components/country-select/country-select.d.ts +16 -0
- package/dist/components/country-select/country-select.js +37 -0
- package/dist/components/country-select/index.d.ts +3 -0
- package/dist/components/country-select/index.js +2 -0
- package/dist/components/custom-breadcrumbs/back-link.d.ts +7 -0
- package/dist/components/custom-breadcrumbs/back-link.js +12 -0
- package/dist/components/custom-breadcrumbs/breadcrumb-link.d.ts +11 -0
- package/dist/components/custom-breadcrumbs/breadcrumb-link.js +10 -0
- package/dist/components/custom-breadcrumbs/custom-breadcrumbs.d.ts +25 -0
- package/dist/components/custom-breadcrumbs/custom-breadcrumbs.js +13 -0
- package/dist/components/custom-breadcrumbs/index.d.ts +5 -0
- package/dist/components/custom-breadcrumbs/index.js +4 -0
- package/dist/components/custom-breadcrumbs/link.d.ts +4 -0
- package/dist/components/custom-breadcrumbs/link.js +6 -0
- package/dist/components/custom-breadcrumbs/more-links.d.ts +5 -0
- package/dist/components/custom-breadcrumbs/more-links.js +6 -0
- package/dist/components/custom-date-range-picker/custom-date-range-picker.d.ts +16 -0
- package/dist/components/custom-date-range-picker/custom-date-range-picker.js +31 -0
- package/dist/components/custom-date-range-picker/index.d.ts +2 -0
- package/dist/components/custom-date-range-picker/index.js +2 -0
- package/dist/components/custom-date-range-picker/use-date-range-picker.d.ts +18 -0
- package/dist/components/custom-date-range-picker/use-date-range-picker.js +33 -0
- package/dist/components/custom-dialog/confirm-dialog.d.ts +11 -0
- package/dist/components/custom-dialog/confirm-dialog.js +7 -0
- package/dist/components/custom-dialog/index.d.ts +1 -0
- package/dist/components/custom-dialog/index.js +1 -0
- package/dist/components/custom-popover/arrow.d.ts +10 -0
- package/dist/components/custom-popover/arrow.js +52 -0
- package/dist/components/custom-popover/custom-popover.d.ts +10 -0
- package/dist/components/custom-popover/custom-popover.js +25 -0
- package/dist/components/custom-popover/index.d.ts +2 -0
- package/dist/components/custom-popover/index.js +1 -0
- package/dist/components/custom-popover/placement.d.ts +8 -0
- package/dist/components/custom-popover/placement.js +11 -0
- package/dist/components/custom-popover/types.d.ts +20 -0
- package/dist/components/custom-popover/types.js +2 -0
- package/dist/components/custom-tabs/custom-tabs.d.ts +8 -0
- package/dist/components/custom-tabs/custom-tabs.js +11 -0
- package/dist/components/custom-tabs/index.d.ts +1 -0
- package/dist/components/custom-tabs/index.js +1 -0
- package/dist/components/dialog/dialog.d.ts +18 -0
- package/dist/components/dialog/dialog.js +40 -0
- package/dist/components/dialog/index.d.ts +1 -0
- package/dist/components/dialog/index.js +1 -0
- package/dist/components/direction/direction.d.ts +1 -0
- package/dist/components/direction/direction.js +2 -0
- package/dist/components/direction/index.d.ts +1 -0
- package/dist/components/direction/index.js +1 -0
- package/dist/components/drawer/drawer.d.ts +16 -0
- package/dist/components/drawer/drawer.js +75 -0
- package/dist/components/drawer/index.d.ts +1 -0
- package/dist/components/drawer/index.js +1 -0
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +29 -0
- package/dist/components/dropdown-menu/dropdown-menu.js +51 -0
- package/dist/components/dropdown-menu/index.d.ts +1 -0
- package/dist/components/dropdown-menu/index.js +1 -0
- package/dist/components/editor/classes.d.ts +43 -0
- package/dist/components/editor/classes.js +44 -0
- package/dist/components/editor/components/code-highlight-block.d.ts +2 -0
- package/dist/components/editor/components/code-highlight-block.js +7 -0
- package/dist/components/editor/components/heading-block.d.ts +3 -0
- package/dist/components/editor/components/heading-block.js +22 -0
- package/dist/components/editor/components/image-block.d.ts +2 -0
- package/dist/components/editor/components/image-block.js +13 -0
- package/dist/components/editor/components/link-block.d.ts +2 -0
- package/dist/components/editor/components/link-block.js +16 -0
- package/dist/components/editor/components/toolbar-item.d.ts +6 -0
- package/dist/components/editor/components/toolbar-item.js +10 -0
- package/dist/components/editor/components/url-popover.d.ts +7 -0
- package/dist/components/editor/components/url-popover.js +19 -0
- package/dist/components/editor/editor.d.ts +13 -0
- package/dist/components/editor/editor.js +90 -0
- package/dist/components/editor/icons.d.ts +27 -0
- package/dist/components/editor/icons.js +26 -0
- package/dist/components/editor/index.d.ts +3 -0
- package/dist/components/editor/index.js +2 -0
- package/dist/components/editor/toolbar.d.ts +2 -0
- package/dist/components/editor/toolbar.js +20 -0
- package/dist/components/editor/types.d.ts +26 -0
- package/dist/components/editor/types.js +1 -0
- package/dist/components/empty-content/default-image.d.ts +2 -0
- package/dist/components/empty-content/default-image.js +2 -0
- package/dist/components/empty-content/empty-content.d.ts +15 -0
- package/dist/components/empty-content/empty-content.js +7 -0
- package/dist/components/empty-content/index.d.ts +2 -0
- package/dist/components/empty-content/index.js +2 -0
- package/dist/components/file-thumbnail/action-buttons.d.ts +2 -0
- package/dist/components/file-thumbnail/action-buttons.js +10 -0
- package/dist/components/file-thumbnail/classes.d.ts +7 -0
- package/dist/components/file-thumbnail/classes.js +8 -0
- package/dist/components/file-thumbnail/file-thumbnail.d.ts +2 -0
- package/dist/components/file-thumbnail/file-thumbnail.js +22 -0
- package/dist/components/file-thumbnail/icons.d.ts +2 -0
- package/dist/components/file-thumbnail/icons.js +39 -0
- package/dist/components/file-thumbnail/index.d.ts +6 -0
- package/dist/components/file-thumbnail/index.js +5 -0
- package/dist/components/file-thumbnail/types.d.ts +18 -0
- package/dist/components/file-thumbnail/types.js +1 -0
- package/dist/components/file-thumbnail/utils.d.ts +21 -0
- package/dist/components/file-thumbnail/utils.js +50 -0
- package/dist/components/flag-icon/classes.d.ts +4 -0
- package/dist/components/flag-icon/classes.js +5 -0
- package/dist/components/flag-icon/flag-icon.d.ts +8 -0
- package/dist/components/flag-icon/flag-icon.js +12 -0
- package/dist/components/flag-icon/index.d.ts +2 -0
- package/dist/components/flag-icon/index.js +2 -0
- package/dist/components/form-label/form-label.d.ts +3 -0
- package/dist/components/form-label/form-label.js +7 -0
- package/dist/components/form-label/index.d.ts +1 -0
- package/dist/components/form-label/index.js +1 -0
- package/dist/components/hover-card/hover-card.d.ts +5 -0
- package/dist/components/hover-card/hover-card.js +14 -0
- package/dist/components/hover-card/index.d.ts +1 -0
- package/dist/components/hover-card/index.js +1 -0
- package/dist/components/image/classes.d.ts +9 -0
- package/dist/components/image/classes.js +8 -0
- package/dist/components/image/image.d.ts +28 -0
- package/dist/components/image/image.js +58 -0
- package/dist/components/image/index.d.ts +2 -0
- package/dist/components/image/index.js +2 -0
- package/dist/components/image/placeholder.d.ts +1 -0
- package/dist/components/image/placeholder.js +1 -0
- package/dist/components/index.d.ts +90 -0
- package/dist/components/index.js +90 -0
- package/dist/components/inline-copy-text/index.d.ts +1 -0
- package/dist/components/inline-copy-text/index.js +1 -0
- package/dist/components/inline-copy-text/inline-copy-text.d.ts +35 -0
- package/dist/components/inline-copy-text/inline-copy-text.js +66 -0
- package/dist/components/input/index.d.ts +1 -0
- package/dist/components/input/index.js +1 -0
- package/dist/components/input/input.d.ts +3 -0
- package/dist/components/input/input.js +8 -0
- package/dist/components/input-group/index.d.ts +1 -0
- package/dist/components/input-group/index.js +1 -0
- package/dist/components/input-group/input-group.d.ts +18 -0
- package/dist/components/input-group/input-group.js +57 -0
- package/dist/components/input-otp/index.d.ts +1 -0
- package/dist/components/input-otp/index.js +1 -0
- package/dist/components/input-otp/input-otp.d.ts +11 -0
- package/dist/components/input-otp/input-otp.js +21 -0
- package/dist/components/item/index.d.ts +1 -0
- package/dist/components/item/index.js +1 -0
- package/dist/components/item/item.d.ts +22 -0
- package/dist/components/item/item.js +79 -0
- package/dist/components/kbd/index.d.ts +1 -0
- package/dist/components/kbd/index.js +1 -0
- package/dist/components/kbd/kbd.d.ts +3 -0
- package/dist/components/kbd/kbd.js +10 -0
- package/dist/components/label/classes.d.ts +4 -0
- package/dist/components/label/classes.js +5 -0
- package/dist/components/label/index.d.ts +2 -0
- package/dist/components/label/index.js +2 -0
- package/dist/components/label/label.d.ts +13 -0
- package/dist/components/label/label.js +10 -0
- package/dist/components/lightbox/classes.d.ts +3 -0
- package/dist/components/lightbox/classes.js +4 -0
- package/dist/components/lightbox/index.d.ts +4 -0
- package/dist/components/lightbox/index.js +3 -0
- package/dist/components/lightbox/lightbox.d.ts +2 -0
- package/dist/components/lightbox/lightbox.js +40 -0
- package/dist/components/lightbox/types.d.ts +11 -0
- package/dist/components/lightbox/types.js +1 -0
- package/dist/components/lightbox/use-light-box.d.ts +9 -0
- package/dist/components/lightbox/use-light-box.js +21 -0
- package/dist/components/lightbox/utils.d.ts +3 -0
- package/dist/components/lightbox/utils.js +22 -0
- package/dist/components/loading-screen/index.d.ts +2 -0
- package/dist/components/loading-screen/index.js +2 -0
- package/dist/components/loading-screen/loading-screen.d.ts +6 -0
- package/dist/components/loading-screen/loading-screen.js +8 -0
- package/dist/components/loading-screen/splash-screen.d.ts +7 -0
- package/dist/components/loading-screen/splash-screen.js +9 -0
- package/dist/components/logo/classes.d.ts +3 -0
- package/dist/components/logo/classes.js +4 -0
- package/dist/components/logo/index.d.ts +2 -0
- package/dist/components/logo/index.js +2 -0
- package/dist/components/logo/logo.d.ts +14 -0
- package/dist/components/logo/logo.js +22 -0
- package/dist/components/map/index.d.ts +4 -0
- package/dist/components/map/index.js +4 -0
- package/dist/components/map/map-controls.d.ts +14 -0
- package/dist/components/map/map-controls.js +6 -0
- package/dist/components/map/map-marker.d.ts +2 -0
- package/dist/components/map/map-marker.js +10 -0
- package/dist/components/map/map-popup.d.ts +3 -0
- package/dist/components/map/map-popup.js +6 -0
- package/dist/components/map/map.d.ts +5 -0
- package/dist/components/map/map.js +13 -0
- package/dist/components/markdown/classes.d.ts +10 -0
- package/dist/components/markdown/classes.js +11 -0
- package/dist/components/markdown/html-tags.d.ts +4 -0
- package/dist/components/markdown/html-tags.js +171 -0
- package/dist/components/markdown/html-to-markdown.d.ts +2 -0
- package/dist/components/markdown/html-to-markdown.js +28 -0
- package/dist/components/markdown/index.d.ts +4 -0
- package/dist/components/markdown/index.js +3 -0
- package/dist/components/markdown/markdown.d.ts +2 -0
- package/dist/components/markdown/markdown.js +35 -0
- package/dist/components/markdown/types.d.ts +8 -0
- package/dist/components/markdown/types.js +1 -0
- package/dist/components/menubar/index.d.ts +1 -0
- package/dist/components/menubar/index.js +1 -0
- package/dist/components/menubar/menubar.d.ts +29 -0
- package/dist/components/menubar/menubar.js +56 -0
- package/dist/components/native-select/index.d.ts +1 -0
- package/dist/components/native-select/index.js +1 -0
- package/dist/components/native-select/native-select.d.ts +8 -0
- package/dist/components/native-select/native-select.js +14 -0
- package/dist/components/navigation-menu/index.d.ts +1 -0
- package/dist/components/navigation-menu/index.js +1 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts +11 -0
- package/dist/components/navigation-menu/navigation-menu.js +32 -0
- package/dist/components/navigation-progress/index.d.ts +1 -0
- package/dist/components/navigation-progress/index.js +1 -0
- package/dist/components/navigation-progress/navigation-progress.d.ts +10 -0
- package/dist/components/navigation-progress/navigation-progress.js +59 -0
- package/dist/components/number-input/index.d.ts +1 -0
- package/dist/components/number-input/index.js +1 -0
- package/dist/components/number-input/number-input.d.ts +29 -0
- package/dist/components/number-input/number-input.js +34 -0
- package/dist/components/organizational-chart/index.d.ts +2 -0
- package/dist/components/organizational-chart/index.js +1 -0
- package/dist/components/organizational-chart/organizational-chart.d.ts +2 -0
- package/dist/components/organizational-chart/organizational-chart.js +21 -0
- package/dist/components/organizational-chart/types.d.ts +15 -0
- package/dist/components/organizational-chart/types.js +1 -0
- package/dist/components/pagination/index.d.ts +1 -0
- package/dist/components/pagination/index.js +1 -0
- package/dist/components/pagination/pagination.d.ts +17 -0
- package/dist/components/pagination/pagination.js +27 -0
- package/dist/components/phone-input/index.d.ts +2 -0
- package/dist/components/phone-input/index.js +1 -0
- package/dist/components/phone-input/list-popover.d.ts +2 -0
- package/dist/components/phone-input/list-popover.js +33 -0
- package/dist/components/phone-input/phone-input.d.ts +2 -0
- package/dist/components/phone-input/phone-input.js +34 -0
- package/dist/components/phone-input/types.d.ts +28 -0
- package/dist/components/phone-input/types.js +1 -0
- package/dist/components/popover/index.d.ts +1 -0
- package/dist/components/popover/index.js +1 -0
- package/dist/components/popover/popover.d.ts +9 -0
- package/dist/components/popover/popover.js +23 -0
- package/dist/components/progress/index.d.ts +1 -0
- package/dist/components/progress/index.js +1 -0
- package/dist/components/progress/progress.d.ts +7 -0
- package/dist/components/progress/progress.js +20 -0
- package/dist/components/progress-bar/index.d.ts +1 -0
- package/dist/components/progress-bar/index.js +1 -0
- package/dist/components/progress-bar/progress-bar.d.ts +20 -0
- package/dist/components/progress-bar/progress-bar.js +51 -0
- package/dist/components/radio-group/index.d.ts +1 -0
- package/dist/components/radio-group/index.js +1 -0
- package/dist/components/radio-group/radio-group.d.ts +5 -0
- package/dist/components/radio-group/radio-group.js +12 -0
- package/dist/components/rating/index.d.ts +1 -0
- package/dist/components/rating/index.js +1 -0
- package/dist/components/rating/rating.d.ts +13 -0
- package/dist/components/rating/rating.js +25 -0
- package/dist/components/resizable/index.d.ts +1 -0
- package/dist/components/resizable/index.js +1 -0
- package/dist/components/resizable/resizable.d.ts +7 -0
- package/dist/components/resizable/resizable.js +14 -0
- package/dist/components/ripple/index.d.ts +1 -0
- package/dist/components/ripple/index.js +1 -0
- package/dist/components/ripple/ripple.d.ts +13 -0
- package/dist/components/ripple/ripple.js +113 -0
- package/dist/components/scroll-area/index.d.ts +1 -0
- package/dist/components/scroll-area/index.js +1 -0
- package/dist/components/scroll-area/scroll-area.d.ts +5 -0
- package/dist/components/scroll-area/scroll-area.js +11 -0
- package/dist/components/scrollbar/classes.d.ts +3 -0
- package/dist/components/scrollbar/classes.js +4 -0
- package/dist/components/scrollbar/index.d.ts +2 -0
- package/dist/components/scrollbar/index.js +2 -0
- package/dist/components/scrollbar/scrollbar.d.ts +12 -0
- package/dist/components/scrollbar/scrollbar.js +9 -0
- package/dist/components/search-not-found/index.d.ts +1 -0
- package/dist/components/search-not-found/index.js +1 -0
- package/dist/components/search-not-found/search-not-found.d.ts +16 -0
- package/dist/components/search-not-found/search-not-found.js +16 -0
- package/dist/components/select/index.d.ts +1 -0
- package/dist/components/select/index.js +1 -0
- package/dist/components/select/select.d.ts +15 -0
- package/dist/components/select/select.js +34 -0
- package/dist/components/sensitive-input/index.d.ts +1 -0
- package/dist/components/sensitive-input/index.js +1 -0
- package/dist/components/sensitive-input/sensitive-input.d.ts +14 -0
- package/dist/components/sensitive-input/sensitive-input.js +175 -0
- package/dist/components/separator/index.d.ts +1 -0
- package/dist/components/separator/index.js +1 -0
- package/dist/components/separator/separator.d.ts +3 -0
- package/dist/components/separator/separator.js +8 -0
- package/dist/components/sheet/index.d.ts +1 -0
- package/dist/components/sheet/index.js +1 -0
- package/dist/components/sheet/sheet.d.ts +14 -0
- package/dist/components/sheet/sheet.js +37 -0
- package/dist/components/skeleton/index.d.ts +1 -0
- package/dist/components/skeleton/index.js +1 -0
- package/dist/components/skeleton/skeleton.d.ts +2 -0
- package/dist/components/skeleton/skeleton.js +7 -0
- package/dist/components/slider/index.d.ts +1 -0
- package/dist/components/slider/index.js +1 -0
- package/dist/components/slider/slider.d.ts +3 -0
- package/dist/components/slider/slider.js +13 -0
- package/dist/components/spinner/index.d.ts +1 -0
- package/dist/components/spinner/index.js +1 -0
- package/dist/components/spinner/spinner.d.ts +2 -0
- package/dist/components/spinner/spinner.js +8 -0
- package/dist/components/svg-color/classes.d.ts +3 -0
- package/dist/components/svg-color/classes.js +4 -0
- package/dist/components/svg-color/index.d.ts +2 -0
- package/dist/components/svg-color/index.js +2 -0
- package/dist/components/svg-color/svg-color.d.ts +7 -0
- package/dist/components/svg-color/svg-color.js +12 -0
- package/dist/components/switch/index.d.ts +1 -0
- package/dist/components/switch/index.js +1 -0
- package/dist/components/switch/switch.d.ts +59 -0
- package/dist/components/switch/switch.js +61 -0
- package/dist/components/table/index.d.ts +1 -0
- package/dist/components/table/index.js +1 -0
- package/dist/components/table/table.d.ts +10 -0
- package/dist/components/table/table.js +28 -0
- package/dist/components/tabs/index.d.ts +1 -0
- package/dist/components/tabs/index.js +1 -0
- package/dist/components/tabs/tabs.d.ts +10 -0
- package/dist/components/tabs/tabs.js +31 -0
- package/dist/components/textarea/index.d.ts +1 -0
- package/dist/components/textarea/index.js +1 -0
- package/dist/components/textarea/textarea.d.ts +3 -0
- package/dist/components/textarea/textarea.js +7 -0
- package/dist/components/theme-provider/index.d.ts +1 -0
- package/dist/components/theme-provider/index.js +1 -0
- package/dist/components/theme-provider/theme-provider.d.ts +31 -0
- package/dist/components/theme-provider/theme-provider.js +92 -0
- package/dist/components/toast/index.d.ts +1 -0
- package/dist/components/toast/index.js +1 -0
- package/dist/components/toast/toast.d.ts +90 -0
- package/dist/components/toast/toast.js +137 -0
- package/dist/components/toggle/index.d.ts +1 -0
- package/dist/components/toggle/index.js +1 -0
- package/dist/components/toggle/toggle.d.ts +8 -0
- package/dist/components/toggle/toggle.js +27 -0
- package/dist/components/toggle-group/index.d.ts +1 -0
- package/dist/components/toggle-group/index.js +1 -0
- package/dist/components/toggle-group/toggle-group.d.ts +11 -0
- package/dist/components/toggle-group/toggle-group.js +24 -0
- package/dist/components/toolbar/index.d.ts +1 -0
- package/dist/components/toolbar/index.js +1 -0
- package/dist/components/toolbar/toolbar.d.ts +18 -0
- package/dist/components/toolbar/toolbar.js +53 -0
- package/dist/components/tooltip/index.d.ts +1 -0
- package/dist/components/tooltip/index.js +1 -0
- package/dist/components/tooltip/tooltip.d.ts +53 -0
- package/dist/components/tooltip/tooltip.js +49 -0
- package/dist/components/upload/classes.d.ts +8 -0
- package/dist/components/upload/classes.js +9 -0
- package/dist/components/upload/components/placeholder.d.ts +9 -0
- package/dist/components/upload/components/placeholder.js +21 -0
- package/dist/components/upload/components/preview-multi-file.d.ts +2 -0
- package/dist/components/upload/components/preview-multi-file.js +19 -0
- package/dist/components/upload/components/preview-single-file.d.ts +3 -0
- package/dist/components/upload/components/preview-single-file.js +19 -0
- package/dist/components/upload/components/rejection-files.d.ts +6 -0
- package/dist/components/upload/components/rejection-files.js +12 -0
- package/dist/components/upload/components/upload-illustration.d.ts +3 -0
- package/dist/components/upload/components/upload-illustration.js +5 -0
- package/dist/components/upload/index.d.ts +9 -0
- package/dist/components/upload/index.js +8 -0
- package/dist/components/upload/types.d.ts +35 -0
- package/dist/components/upload/types.js +1 -0
- package/dist/components/upload/upload-avatar.d.ts +2 -0
- package/dist/components/upload/upload-avatar.js +32 -0
- package/dist/components/upload/upload-box.d.ts +2 -0
- package/dist/components/upload/upload-box.js +14 -0
- package/dist/components/upload/upload.d.ts +2 -0
- package/dist/components/upload/upload.js +23 -0
- package/dist/components/walktour/index.d.ts +4 -0
- package/dist/components/walktour/index.js +3 -0
- package/dist/components/walktour/types.d.ts +27 -0
- package/dist/components/walktour/types.js +1 -0
- package/dist/components/walktour/use-walktour.d.ts +2 -0
- package/dist/components/walktour/use-walktour.js +11 -0
- package/dist/components/walktour/walktour-tooltip.d.ts +2 -0
- package/dist/components/walktour/walktour-tooltip.js +15 -0
- package/dist/components/walktour/walktour.d.ts +2 -0
- package/dist/components/walktour/walktour.js +30 -0
- package/dist/components/xerobi-logo/index.d.ts +1 -0
- package/dist/components/xerobi-logo/index.js +1 -0
- package/dist/components/xerobi-logo/xerobi-logo.d.ts +60 -0
- package/dist/components/xerobi-logo/xerobi-logo.js +88 -0
- package/dist/hooks/index.d.ts +7 -0
- package/dist/hooks/index.js +7 -0
- package/dist/hooks/use-boolean.d.ts +9 -0
- package/dist/hooks/use-boolean.js +9 -0
- package/dist/hooks/use-client-rect.d.ts +6 -0
- package/dist/hooks/use-client-rect.js +18 -0
- package/dist/hooks/use-is-client.d.ts +2 -0
- package/dist/hooks/use-is-client.js +7 -0
- package/dist/hooks/use-local-storage.d.ts +10 -0
- package/dist/hooks/use-local-storage.js +39 -0
- package/dist/hooks/use-mobile.d.ts +1 -0
- package/dist/hooks/use-mobile.js +16 -0
- package/dist/hooks/use-popover-hover.d.ts +25 -0
- package/dist/hooks/use-popover-hover.js +33 -0
- package/dist/hooks/use-popover.d.ts +10 -0
- package/dist/hooks/use-popover.js +9 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +11 -0
- package/dist/lib/brand.d.ts +14 -0
- package/dist/lib/brand.js +31 -0
- package/dist/lib/create-classes.d.ts +1 -0
- package/dist/lib/create-classes.js +4 -0
- package/dist/lib/date.d.ts +10 -0
- package/dist/lib/date.js +32 -0
- package/dist/lib/format.d.ts +2 -0
- package/dist/lib/format.js +10 -0
- package/dist/lib/link.d.ts +5 -0
- package/dist/lib/link.js +5 -0
- package/dist/lib/path.d.ts +6 -0
- package/dist/lib/path.js +24 -0
- package/dist/lib/theme-script.d.ts +11 -0
- package/dist/lib/theme-script.js +8 -0
- package/dist/lib/utils.d.ts +1 -0
- package/dist/lib/utils.js +1 -0
- package/dist/styles/chart.css +56 -0
- package/dist/styles/components.css +30 -0
- package/dist/styles/editor.css +199 -0
- package/dist/styles/globals.css +219 -0
- package/dist/styles/lightbox.css +42 -0
- package/dist/styles/map.css +62 -0
- package/dist/styles/markdown.css +177 -0
- package/dist/styles/nav.css +513 -0
- package/dist/styles/org-chart.css +82 -0
- package/dist/styles/scrollbar.css +9 -0
- package/dist/styles/settings.css +7 -0
- package/dist/styles/theme.css +52 -0
- package/dist/styles/variants.css +84 -0
- package/docs/compliance-report.md +104 -0
- package/docs/frameworks.md +63 -0
- package/docs/publishing.md +23 -0
- package/docs/theming.md +40 -0
- package/package.json +542 -4
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.xui-editor {
|
|
3
|
+
min-height: 240px;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
border-radius: 8px;
|
|
7
|
+
border: 1px solid var(--divider);
|
|
8
|
+
scrollbar-width: thin;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.xui-editor[data-error] {
|
|
12
|
+
border-color: var(--error-main);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.xui-editor[data-disabled] {
|
|
16
|
+
opacity: 0.48;
|
|
17
|
+
pointer-events: none;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.xui-editor[data-fullscreen] {
|
|
21
|
+
position: fixed;
|
|
22
|
+
top: 16px;
|
|
23
|
+
left: 16px;
|
|
24
|
+
z-index: 1300;
|
|
25
|
+
width: calc(100% - 32px);
|
|
26
|
+
height: calc(100% - 32px);
|
|
27
|
+
max-height: unset !important;
|
|
28
|
+
background-color: var(--bg-default);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.xui-editor .xerobi__editor__content__root {
|
|
32
|
+
display: flex;
|
|
33
|
+
flex: 1 1 auto;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
overflow-y: auto;
|
|
36
|
+
border-bottom-left-radius: inherit;
|
|
37
|
+
border-bottom-right-radius: inherit;
|
|
38
|
+
background-color: var(--action-hover);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.xui-editor[data-error] .xerobi__editor__content__root {
|
|
42
|
+
background-color: color-mix(in srgb, var(--error-main) 8%, transparent);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.xui-editor .tiptap > * + * {
|
|
46
|
+
margin-top: 0;
|
|
47
|
+
margin-bottom: 0.75em;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.xui-editor .tiptap.ProseMirror {
|
|
51
|
+
flex: 1 1 auto;
|
|
52
|
+
outline: none;
|
|
53
|
+
padding: 0 16px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.xui-editor .tiptap h1 { @apply text-h1; margin: 40px 0 8px; }
|
|
57
|
+
.xui-editor .tiptap h2 { @apply text-h2; margin: 40px 0 8px; }
|
|
58
|
+
.xui-editor .tiptap h3 { @apply text-h3; margin: 24px 0 8px; }
|
|
59
|
+
.xui-editor .tiptap h4 { @apply text-h4; margin: 24px 0 8px; }
|
|
60
|
+
.xui-editor .tiptap h5 { @apply text-h5; margin: 24px 0 8px; }
|
|
61
|
+
.xui-editor .tiptap h6 { @apply text-h6; margin: 24px 0 8px; }
|
|
62
|
+
.xui-editor .tiptap p { @apply text-body1; margin-bottom: 1.25rem; }
|
|
63
|
+
|
|
64
|
+
.xui-editor .xerobi__editor__content__placeholder:first-of-type::before {
|
|
65
|
+
@apply text-body2;
|
|
66
|
+
height: 0;
|
|
67
|
+
float: left;
|
|
68
|
+
pointer-events: none;
|
|
69
|
+
content: attr(data-placeholder);
|
|
70
|
+
color: var(--text-disabled);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.xui-editor .xerobi__editor__content__link {
|
|
74
|
+
color: var(--primary-main);
|
|
75
|
+
text-decoration: underline;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.xui-editor .xerobi__editor__content__hr {
|
|
79
|
+
flex-shrink: 0;
|
|
80
|
+
border: 0 solid var(--divider);
|
|
81
|
+
border-bottom-width: thin;
|
|
82
|
+
margin: 2em 0;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.xui-editor .xerobi__editor__content__image {
|
|
86
|
+
width: 100%;
|
|
87
|
+
height: auto;
|
|
88
|
+
max-width: 100%;
|
|
89
|
+
margin: auto auto 1.25em;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.xui-editor .xerobi__editor__content__bullet__list {
|
|
93
|
+
padding-left: 16px;
|
|
94
|
+
list-style-type: disc;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.xui-editor .xerobi__editor__content__ordered__list {
|
|
98
|
+
padding-left: 16px;
|
|
99
|
+
list-style-type: decimal;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.xui-editor .xerobi__editor__content__listItem {
|
|
103
|
+
line-height: 2;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.xui-editor .xerobi__editor__content__listItem > p {
|
|
107
|
+
margin: 0;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.xui-editor .xerobi__editor__content__blockquote {
|
|
111
|
+
line-height: 1.5;
|
|
112
|
+
font-size: 1.5em;
|
|
113
|
+
margin: 24px auto;
|
|
114
|
+
position: relative;
|
|
115
|
+
font-family: Georgia, serif;
|
|
116
|
+
padding: 24px 24px 24px 64px;
|
|
117
|
+
color: var(--text-secondary);
|
|
118
|
+
border-left: solid 8px var(--action-hover);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
@media (min-width: 900px) {
|
|
122
|
+
.xui-editor .xerobi__editor__content__blockquote { width: 100%; max-width: 640px; }
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.xui-editor .xerobi__editor__content__blockquote p {
|
|
126
|
+
margin: 0;
|
|
127
|
+
font-size: inherit;
|
|
128
|
+
font-family: inherit;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.xui-editor .xerobi__editor__content__blockquote::before {
|
|
132
|
+
left: 16px;
|
|
133
|
+
top: -8px;
|
|
134
|
+
display: block;
|
|
135
|
+
font-size: 3em;
|
|
136
|
+
content: "\201C";
|
|
137
|
+
position: absolute;
|
|
138
|
+
color: var(--text-disabled);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.xui-editor .xerobi__editor__content__code {
|
|
142
|
+
padding: 2px 4px;
|
|
143
|
+
color: var(--text-secondary);
|
|
144
|
+
font-size: 0.875rem;
|
|
145
|
+
border-radius: 4px;
|
|
146
|
+
background-color: var(--divider);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.xui-editor .xerobi__editor__content__code__block {
|
|
150
|
+
position: relative;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.xui-editor .xerobi__editor__content__code__block pre {
|
|
154
|
+
overflow-x: auto;
|
|
155
|
+
color: var(--common-white);
|
|
156
|
+
padding: 40px 24px 24px;
|
|
157
|
+
border-radius: 8px;
|
|
158
|
+
background-color: var(--grey-900);
|
|
159
|
+
font-family: ui-monospace, "JetBrains Mono", SFMono-Regular, Menlo, monospace;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.xui-editor .xerobi__editor__content__code__block pre code {
|
|
163
|
+
font-size: 0.875rem;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.xui-editor .xerobi__editor__content__lang__select {
|
|
167
|
+
top: 8px;
|
|
168
|
+
right: 8px;
|
|
169
|
+
z-index: 1;
|
|
170
|
+
padding: 4px;
|
|
171
|
+
outline: none;
|
|
172
|
+
color: var(--common-white);
|
|
173
|
+
border-radius: 4px;
|
|
174
|
+
position: absolute;
|
|
175
|
+
font-weight: 500;
|
|
176
|
+
background-color: var(--action-hover);
|
|
177
|
+
border-color: var(--action-hover);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.xui-editor .xerobi__editor__content__lang__select option {
|
|
181
|
+
color: var(--text-primary);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.xui-editor pre code .hljs-comment { color: var(--syntax-comment); }
|
|
185
|
+
.xui-editor pre code .hljs-tag { color: var(--syntax-tag); }
|
|
186
|
+
.xui-editor pre code :is(.hljs-operator, .hljs-punctuation, .hljs-subst) { color: var(--syntax-punctuation); }
|
|
187
|
+
.xui-editor pre code .hljs-operator { opacity: 0.7; }
|
|
188
|
+
.xui-editor pre code :is(.hljs-bullet, .hljs-deletion, .hljs-name, .hljs-selector-tag, .hljs-template-variable, .hljs-variable) { color: var(--syntax-variable); }
|
|
189
|
+
.xui-editor pre code :is(.hljs-attr, .hljs-link, .hljs-literal, .hljs-number, .hljs-symbol, .hljs-variable.constant_) { color: var(--syntax-constant); }
|
|
190
|
+
.xui-editor pre code :is(.hljs-class .hljs-title, .hljs-title, .hljs-title.class_) { color: var(--syntax-title); }
|
|
191
|
+
.xui-editor pre code .hljs-strong { font-weight: 700; color: var(--syntax-title); }
|
|
192
|
+
.xui-editor pre code :is(.hljs-addition, .hljs-code, .hljs-string, .hljs-title.class_.inherited__) { color: var(--syntax-string); }
|
|
193
|
+
.xui-editor pre code :is(.hljs-built_in, .hljs-doctag, .hljs-keyword.hljs-atrule, .hljs-quote, .hljs-regexp) { color: var(--syntax-builtin); }
|
|
194
|
+
.xui-editor pre code :is(.hljs-attribute, .hljs-function .hljs-title, .hljs-section, .hljs-title.function_) { color: var(--syntax-function); }
|
|
195
|
+
.xui-editor pre code :is(.diff .hljs-meta, .hljs-keyword, .hljs-template-tag, .hljs-type) { color: var(--syntax-keyword); }
|
|
196
|
+
.xui-editor pre code .hljs-emphasis { color: var(--syntax-keyword); font-style: italic; }
|
|
197
|
+
.xui-editor pre code :is(.hljs-meta, .hljs-meta .hljs-keyword, .hljs-meta .hljs-string) { color: var(--syntax-meta); }
|
|
198
|
+
.xui-editor pre code :is(.hljs-meta .hljs-keyword, .hljs-meta-keyword) { font-weight: 700; }
|
|
199
|
+
}
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
@import "tw-animate-css";
|
|
3
|
+
@import "./variants.css";
|
|
4
|
+
@import "@xerobi/tokens/tailwind.css";
|
|
5
|
+
@import "@fontsource-variable/public-sans";
|
|
6
|
+
@import "@fontsource/barlow/600.css";
|
|
7
|
+
@import "@fontsource/barlow/700.css";
|
|
8
|
+
@import "@fontsource/barlow/800.css";
|
|
9
|
+
@import "./theme.css";
|
|
10
|
+
@import "./components.css";
|
|
11
|
+
@import "./scrollbar.css";
|
|
12
|
+
|
|
13
|
+
/* Tell Tailwind to scan the library's own sources (src/ in the repo, dist/ once published). */
|
|
14
|
+
@source "../";
|
|
15
|
+
|
|
16
|
+
@custom-variant dark (&:is(.dark *, .dark, [data-color-scheme="dark"] *, [data-color-scheme="dark"]));
|
|
17
|
+
|
|
18
|
+
@theme inline {
|
|
19
|
+
--color-background: var(--background);
|
|
20
|
+
--color-foreground: var(--foreground);
|
|
21
|
+
--color-card: var(--card);
|
|
22
|
+
--color-card-foreground: var(--card-foreground);
|
|
23
|
+
--color-popover: var(--popover);
|
|
24
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
25
|
+
--color-primary: var(--primary);
|
|
26
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
27
|
+
--color-secondary: var(--secondary);
|
|
28
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
29
|
+
--color-muted: var(--muted);
|
|
30
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
31
|
+
--color-accent: var(--accent);
|
|
32
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
33
|
+
--color-destructive: var(--destructive);
|
|
34
|
+
--color-border: var(--border);
|
|
35
|
+
--color-input: var(--input);
|
|
36
|
+
--color-ring: var(--ring);
|
|
37
|
+
--color-chart-1: var(--chart-1);
|
|
38
|
+
--color-chart-2: var(--chart-2);
|
|
39
|
+
--color-chart-3: var(--chart-3);
|
|
40
|
+
--color-chart-4: var(--chart-4);
|
|
41
|
+
--color-chart-5: var(--chart-5);
|
|
42
|
+
--color-sidebar: var(--sidebar);
|
|
43
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
44
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
45
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
46
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
47
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
48
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
49
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
50
|
+
|
|
51
|
+
/* Tonal scales: bg-primary-lighter, text-success-dark, border-error-light ... */
|
|
52
|
+
--color-primary-lighter: var(--primary-lighter);
|
|
53
|
+
--color-primary-light: var(--primary-light);
|
|
54
|
+
--color-primary-dark: var(--primary-dark);
|
|
55
|
+
--color-primary-darker: var(--primary-darker);
|
|
56
|
+
--color-brand-secondary: var(--secondary-main);
|
|
57
|
+
--color-brand-secondary-lighter: var(--secondary-lighter);
|
|
58
|
+
--color-brand-secondary-light: var(--secondary-light);
|
|
59
|
+
--color-brand-secondary-dark: var(--secondary-dark);
|
|
60
|
+
--color-brand-secondary-darker: var(--secondary-darker);
|
|
61
|
+
--color-brand-secondary-foreground: var(--secondary-contrast);
|
|
62
|
+
--color-info: var(--info-main);
|
|
63
|
+
--color-info-lighter: var(--info-lighter);
|
|
64
|
+
--color-info-light: var(--info-light);
|
|
65
|
+
--color-info-dark: var(--info-dark);
|
|
66
|
+
--color-info-darker: var(--info-darker);
|
|
67
|
+
--color-info-foreground: var(--info-contrast);
|
|
68
|
+
--color-success: var(--success-main);
|
|
69
|
+
--color-success-lighter: var(--success-lighter);
|
|
70
|
+
--color-success-light: var(--success-light);
|
|
71
|
+
--color-success-dark: var(--success-dark);
|
|
72
|
+
--color-success-darker: var(--success-darker);
|
|
73
|
+
--color-success-foreground: var(--success-contrast);
|
|
74
|
+
--color-warning: var(--warning-main);
|
|
75
|
+
--color-warning-lighter: var(--warning-lighter);
|
|
76
|
+
--color-warning-light: var(--warning-light);
|
|
77
|
+
--color-warning-dark: var(--warning-dark);
|
|
78
|
+
--color-warning-darker: var(--warning-darker);
|
|
79
|
+
--color-warning-foreground: var(--warning-contrast);
|
|
80
|
+
--color-error: var(--error-main);
|
|
81
|
+
--color-error-lighter: var(--error-lighter);
|
|
82
|
+
--color-error-light: var(--error-light);
|
|
83
|
+
--color-error-dark: var(--error-dark);
|
|
84
|
+
--color-error-darker: var(--error-darker);
|
|
85
|
+
--color-error-foreground: var(--error-contrast);
|
|
86
|
+
--color-grey-50: var(--grey-50);
|
|
87
|
+
--color-grey-100: var(--grey-100);
|
|
88
|
+
--color-grey-200: var(--grey-200);
|
|
89
|
+
--color-grey-300: var(--grey-300);
|
|
90
|
+
--color-grey-400: var(--grey-400);
|
|
91
|
+
--color-grey-500: var(--grey-500);
|
|
92
|
+
--color-grey-600: var(--grey-600);
|
|
93
|
+
--color-grey-700: var(--grey-700);
|
|
94
|
+
--color-grey-800: var(--grey-800);
|
|
95
|
+
--color-grey-900: var(--grey-900);
|
|
96
|
+
--color-text-primary: var(--text-primary);
|
|
97
|
+
--color-text-secondary: var(--text-secondary);
|
|
98
|
+
--color-text-disabled: var(--text-disabled);
|
|
99
|
+
--color-neutral: var(--bg-neutral);
|
|
100
|
+
--color-divider: var(--divider);
|
|
101
|
+
--color-action-hover: var(--action-hover);
|
|
102
|
+
--color-action-selected: var(--action-selected);
|
|
103
|
+
--color-action-focus: var(--action-focus);
|
|
104
|
+
--color-action-disabled: var(--action-disabled);
|
|
105
|
+
--color-action-disabled-bg: var(--action-disabled-bg);
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
@layer base {
|
|
111
|
+
* {
|
|
112
|
+
@apply border-border outline-ring/50;
|
|
113
|
+
}
|
|
114
|
+
html {
|
|
115
|
+
-webkit-overflow-scrolling: touch;
|
|
116
|
+
}
|
|
117
|
+
body {
|
|
118
|
+
@apply bg-background font-sans text-sm text-foreground antialiased;
|
|
119
|
+
line-height: 22 / 14;
|
|
120
|
+
}
|
|
121
|
+
button:not(:disabled),
|
|
122
|
+
[role="button"]:not(:disabled) {
|
|
123
|
+
cursor: pointer;
|
|
124
|
+
}
|
|
125
|
+
img {
|
|
126
|
+
max-width: 100%;
|
|
127
|
+
vertical-align: middle;
|
|
128
|
+
}
|
|
129
|
+
input[type="number"] {
|
|
130
|
+
-moz-appearance: textfield;
|
|
131
|
+
appearance: none;
|
|
132
|
+
}
|
|
133
|
+
input[type="number"]::-webkit-outer-spin-button,
|
|
134
|
+
input[type="number"]::-webkit-inner-spin-button {
|
|
135
|
+
margin: 0;
|
|
136
|
+
-webkit-appearance: none;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
@media (prefers-reduced-motion: reduce) {
|
|
141
|
+
*,
|
|
142
|
+
::before,
|
|
143
|
+
::after {
|
|
144
|
+
animation-duration: 0.01ms !important;
|
|
145
|
+
animation-iteration-count: 1 !important;
|
|
146
|
+
transition-duration: 0.01ms !important;
|
|
147
|
+
scroll-behavior: auto !important;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/* Typography roles (text-h1 ... text-button) and z-index utilities (z-modal, z-tooltip ...) are generated by @xerobi/tokens. */
|
|
152
|
+
|
|
153
|
+
/* Scrollbars hidden (existing hideScrollX / hideScrollY mixins). */
|
|
154
|
+
@utility hide-scroll-x { -ms-overflow-style: none; scrollbar-width: none; overflow-x: auto; &::-webkit-scrollbar { display: none; } }
|
|
155
|
+
@utility hide-scroll-y { -ms-overflow-style: none; scrollbar-width: none; overflow-y: auto; &::-webkit-scrollbar { display: none; } }
|
|
156
|
+
/* Clamp text to N lines: line-clamp-* from Tailwind covers this. */
|
|
157
|
+
@utility bg-blur { backdrop-filter: blur(var(--blur, 6px)); -webkit-backdrop-filter: blur(var(--blur, 6px)); }
|
|
158
|
+
@utility text-gradient { -webkit-background-clip: text; background-clip: text; color: transparent; }
|
|
159
|
+
|
|
160
|
+
/* Ring that follows its parent's radius, with a rectangular hole (old borderGradient mixin). */
|
|
161
|
+
@utility border-gradient {
|
|
162
|
+
content: "";
|
|
163
|
+
position: absolute;
|
|
164
|
+
inset: 0;
|
|
165
|
+
margin: auto;
|
|
166
|
+
width: 100%;
|
|
167
|
+
height: 100%;
|
|
168
|
+
padding: var(--border-gradient-padding, 2px);
|
|
169
|
+
border-radius: inherit;
|
|
170
|
+
background: var(--border-gradient-color, transparent);
|
|
171
|
+
-webkit-mask: linear-gradient(currentColor 0 0) content-box, linear-gradient(currentColor 0 0);
|
|
172
|
+
mask: linear-gradient(currentColor 0 0) content-box, linear-gradient(currentColor 0 0);
|
|
173
|
+
-webkit-mask-composite: xor;
|
|
174
|
+
mask-composite: exclude;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
/* =============================================================================
|
|
180
|
+
* SCROLLBAR
|
|
181
|
+
* ============================================================================= */
|
|
182
|
+
|
|
183
|
+
::-webkit-scrollbar {
|
|
184
|
+
width: 4px;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
::-webkit-scrollbar-thumb {
|
|
188
|
+
background-color: transparent;
|
|
189
|
+
border-radius: 9999px;
|
|
190
|
+
transition: background-color 0.3s;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
*:hover::-webkit-scrollbar-thumb {
|
|
194
|
+
background-color: var(--border);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
* {
|
|
198
|
+
scrollbar-width: thin;
|
|
199
|
+
scrollbar-color: transparent transparent;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
*:hover {
|
|
203
|
+
scrollbar-color: var(--border) transparent;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/* =============================================================================
|
|
207
|
+
* SCROLLBAR END
|
|
208
|
+
* ============================================================================= */
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
@import "./lightbox.css";
|
|
213
|
+
@import "./org-chart.css";
|
|
214
|
+
@import "./nav.css";
|
|
215
|
+
@import "./markdown.css";
|
|
216
|
+
@import "./map.css";
|
|
217
|
+
@import "./editor.css";
|
|
218
|
+
@import "./chart.css";
|
|
219
|
+
@import "./settings.css";
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
@import "yet-another-react-lightbox/styles.css";
|
|
2
|
+
@import "yet-another-react-lightbox/plugins/captions.css";
|
|
3
|
+
@import "yet-another-react-lightbox/plugins/thumbnails.css";
|
|
4
|
+
|
|
5
|
+
.yarl__root {
|
|
6
|
+
--yarl__thumbnails_thumbnail_padding: 0;
|
|
7
|
+
--yarl__thumbnails_thumbnail_border: transparent;
|
|
8
|
+
--yarl__color_backdrop: color-mix(in srgb, var(--grey-900) 90%, transparent);
|
|
9
|
+
--yarl__slide_captions_container_background: color-mix(in oklab, var(--common-black) 32%, transparent);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.yarl__slide_title {
|
|
13
|
+
font-size: 20px;
|
|
14
|
+
font-weight: 600;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.yarl__slide_description {
|
|
18
|
+
font-size: 14px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.yarl__button {
|
|
22
|
+
filter: unset;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.yarl__thumbnails_thumbnail {
|
|
26
|
+
opacity: 0.48;
|
|
27
|
+
border-radius: 10px;
|
|
28
|
+
border-color: transparent;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.yarl__thumbnails_thumbnail_active {
|
|
32
|
+
opacity: 1;
|
|
33
|
+
border-color: var(--primary-main);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.yarl__thumbnails_vignette {
|
|
37
|
+
--yarl__thumbnails_vignette_size: 0;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.yarl__video_container {
|
|
41
|
+
background: var(--common-black);
|
|
42
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
@import "mapbox-gl/dist/mapbox-gl.css";
|
|
2
|
+
|
|
3
|
+
.mapboxgl-map .mapboxgl-ctrl.mapboxgl-ctrl-group {
|
|
4
|
+
border-radius: 8px;
|
|
5
|
+
box-shadow: var(--elev-z8);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.mapboxgl-map .mapboxgl-ctrl.mapboxgl-ctrl-scale {
|
|
9
|
+
border: none;
|
|
10
|
+
color: white;
|
|
11
|
+
font-weight: 700;
|
|
12
|
+
line-height: 14px;
|
|
13
|
+
border-radius: 4px;
|
|
14
|
+
background-image: linear-gradient(to right, var(--map-scale-from), var(--map-scale-via), var(--map-scale-to));
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.mapboxgl-map .mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon {
|
|
18
|
+
transform: scale(0.75);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.mapboxgl-map .mapboxgl-ctrl-group button + button {
|
|
22
|
+
border-top: solid 1px var(--divider);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.mapboxgl-map .mapboxgl-popup-content {
|
|
26
|
+
padding: 8px;
|
|
27
|
+
max-width: 180px;
|
|
28
|
+
border-radius: 12px;
|
|
29
|
+
background-color: var(--bg-paper);
|
|
30
|
+
color: var(--text-primary);
|
|
31
|
+
box-shadow: var(--elev-z20);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.mapboxgl-map .mapboxgl-popup-tip {
|
|
35
|
+
transform: translateY(-1px);
|
|
36
|
+
border-top-color: var(--bg-paper);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.mapboxgl-map .mapboxgl-popup-close-button {
|
|
40
|
+
top: 4px;
|
|
41
|
+
right: 4px;
|
|
42
|
+
width: 24px;
|
|
43
|
+
height: 24px;
|
|
44
|
+
opacity: 0.48;
|
|
45
|
+
font-size: 20px;
|
|
46
|
+
border-radius: 50%;
|
|
47
|
+
color: var(--grey-500);
|
|
48
|
+
transition: opacity 200ms linear 0s;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.mapboxgl-map .mapboxgl-popup-close-button:hover {
|
|
52
|
+
opacity: 1;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.mapboxgl-map .mapboxgl-popup-close-button:focus {
|
|
56
|
+
outline: none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.mapboxgl-map .mapboxgl-ctrl .mapboxgl-ctrl-logo,
|
|
60
|
+
.mapboxgl-map .mapboxgl-ctrl-bottom-right {
|
|
61
|
+
display: none;
|
|
62
|
+
}
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.xui-markdown > * + * {
|
|
3
|
+
margin-top: 0;
|
|
4
|
+
margin-bottom: 0.75em;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.xui-markdown h1 { @apply text-h1; margin: 40px 0 8px; }
|
|
8
|
+
.xui-markdown h2 { @apply text-h2; margin: 40px 0 8px; }
|
|
9
|
+
.xui-markdown h3 { @apply text-h3; margin: 24px 0 8px; }
|
|
10
|
+
.xui-markdown h4 { @apply text-h4; margin: 24px 0 8px; }
|
|
11
|
+
.xui-markdown h5 { @apply text-h5; margin: 24px 0 8px; }
|
|
12
|
+
.xui-markdown h6 { @apply text-h6; margin: 24px 0 8px; }
|
|
13
|
+
.xui-markdown p { @apply text-body1; margin-bottom: 1.25rem; }
|
|
14
|
+
|
|
15
|
+
.xui-markdown hr {
|
|
16
|
+
flex-shrink: 0;
|
|
17
|
+
border: 0 solid var(--divider);
|
|
18
|
+
border-bottom-width: thin;
|
|
19
|
+
margin: 2em 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.xui-markdown .xerobi__markdown__content__image {
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: auto;
|
|
25
|
+
max-width: 100%;
|
|
26
|
+
margin: auto auto 1.25em;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.xui-markdown a {
|
|
30
|
+
color: var(--primary-main);
|
|
31
|
+
text-decoration: underline;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.xui-markdown ul { list-style-type: disc; }
|
|
35
|
+
.xui-markdown ol { list-style-type: decimal; }
|
|
36
|
+
|
|
37
|
+
.xui-markdown :is(ul, ol) {
|
|
38
|
+
padding-inline-start: 16px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.xui-markdown :is(ul, ol) > li {
|
|
42
|
+
line-height: 2;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.xui-markdown :is(ul, ol) > li > p {
|
|
46
|
+
margin: 0;
|
|
47
|
+
display: inline-block;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.xui-markdown blockquote {
|
|
51
|
+
line-height: 1.5;
|
|
52
|
+
font-size: 1.5em;
|
|
53
|
+
margin: 24px auto;
|
|
54
|
+
position: relative;
|
|
55
|
+
font-family: Georgia, serif;
|
|
56
|
+
padding: 24px 24px 24px 64px;
|
|
57
|
+
color: var(--text-secondary);
|
|
58
|
+
border-inline-start: solid 8px var(--action-hover);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@media (min-width: 900px) {
|
|
62
|
+
.xui-markdown blockquote { width: 100%; max-width: 640px; }
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.xui-markdown blockquote p {
|
|
66
|
+
margin: 0;
|
|
67
|
+
font-size: inherit;
|
|
68
|
+
font-family: inherit;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.xui-markdown blockquote::before {
|
|
72
|
+
left: 16px;
|
|
73
|
+
top: -8px;
|
|
74
|
+
display: block;
|
|
75
|
+
font-size: 3em;
|
|
76
|
+
content: "\201C";
|
|
77
|
+
position: absolute;
|
|
78
|
+
color: var(--text-disabled);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.xui-markdown .xerobi__markdown__content__codeInline {
|
|
82
|
+
padding: 2px 4px;
|
|
83
|
+
color: var(--text-secondary);
|
|
84
|
+
font-size: 0.875rem;
|
|
85
|
+
border-radius: 4px;
|
|
86
|
+
background-color: var(--divider);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.xui-markdown .xerobi__markdown__content__codeBlock {
|
|
90
|
+
position: relative;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.xui-markdown .xerobi__markdown__content__codeBlock pre {
|
|
94
|
+
overflow-x: auto;
|
|
95
|
+
padding: 24px;
|
|
96
|
+
color: var(--common-white);
|
|
97
|
+
border-radius: 8px;
|
|
98
|
+
font-family: ui-monospace, "JetBrains Mono", SFMono-Regular, Menlo, monospace;
|
|
99
|
+
background-color: var(--grey-900);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.xui-markdown .xerobi__markdown__content__codeBlock pre code {
|
|
103
|
+
font-size: 0.875rem;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
:is(.dark, [data-color-scheme="dark"]) .xui-markdown .xerobi__markdown__content__codeBlock pre {
|
|
107
|
+
background-color: var(--grey-800);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.xui-markdown table {
|
|
111
|
+
width: 100%;
|
|
112
|
+
border-collapse: collapse;
|
|
113
|
+
border: 1px solid var(--divider);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.xui-markdown :is(th, td) {
|
|
117
|
+
padding: 8px;
|
|
118
|
+
border: 1px solid var(--divider);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.xui-markdown tbody tr:nth-of-type(odd) {
|
|
122
|
+
background-color: var(--bg-neutral);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.xui-markdown input[type="checkbox"] {
|
|
126
|
+
position: relative;
|
|
127
|
+
cursor: pointer;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.xui-markdown input[type="checkbox"]::before {
|
|
131
|
+
content: "";
|
|
132
|
+
top: -2px;
|
|
133
|
+
left: -2px;
|
|
134
|
+
width: 17px;
|
|
135
|
+
height: 17px;
|
|
136
|
+
border-radius: 3px;
|
|
137
|
+
position: absolute;
|
|
138
|
+
background-color: var(--grey-300);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
:is(.dark, [data-color-scheme="dark"]) .xui-markdown input[type="checkbox"]::before {
|
|
142
|
+
background-color: var(--grey-700);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.xui-markdown input[type="checkbox"]:checked::before {
|
|
146
|
+
background-color: var(--primary-main);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.xui-markdown input[type="checkbox"]:checked::after {
|
|
150
|
+
top: 1px;
|
|
151
|
+
left: 5px;
|
|
152
|
+
width: 4px;
|
|
153
|
+
height: 9px;
|
|
154
|
+
content: "";
|
|
155
|
+
position: absolute;
|
|
156
|
+
border: solid var(--common-white);
|
|
157
|
+
transform: rotate(45deg);
|
|
158
|
+
border-width: 0 2px 2px 0;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/* highlight.js token colours */
|
|
162
|
+
.xui-markdown pre code .hljs-comment { color: var(--syntax-comment); }
|
|
163
|
+
.xui-markdown pre code .hljs-tag { color: var(--syntax-tag); }
|
|
164
|
+
.xui-markdown pre code :is(.hljs-operator, .hljs-punctuation, .hljs-subst) { color: var(--syntax-punctuation); }
|
|
165
|
+
.xui-markdown pre code .hljs-operator { opacity: 0.7; }
|
|
166
|
+
.xui-markdown pre code :is(.hljs-bullet, .hljs-deletion, .hljs-name, .hljs-selector-tag, .hljs-template-variable, .hljs-variable) { color: var(--syntax-variable); }
|
|
167
|
+
.xui-markdown pre code :is(.hljs-attr, .hljs-link, .hljs-literal, .hljs-number, .hljs-symbol, .hljs-variable.constant_) { color: var(--syntax-constant); }
|
|
168
|
+
.xui-markdown pre code :is(.hljs-class .hljs-title, .hljs-title, .hljs-title.class_) { color: var(--syntax-title); }
|
|
169
|
+
.xui-markdown pre code .hljs-strong { font-weight: 700; color: var(--syntax-title); }
|
|
170
|
+
.xui-markdown pre code :is(.hljs-addition, .hljs-code, .hljs-string, .hljs-title.class_.inherited__) { color: var(--syntax-string); }
|
|
171
|
+
.xui-markdown pre code :is(.hljs-built_in, .hljs-doctag, .hljs-keyword.hljs-atrule, .hljs-quote, .hljs-regexp) { color: var(--syntax-builtin); }
|
|
172
|
+
.xui-markdown pre code :is(.hljs-attribute, .hljs-function .hljs-title, .hljs-section, .hljs-title.function_) { color: var(--syntax-function); }
|
|
173
|
+
.xui-markdown pre code :is(.diff .hljs-meta, .hljs-keyword, .hljs-template-tag, .hljs-type) { color: var(--syntax-keyword); }
|
|
174
|
+
.xui-markdown pre code .hljs-emphasis { color: var(--syntax-keyword); font-style: italic; }
|
|
175
|
+
.xui-markdown pre code :is(.hljs-meta, .hljs-meta .hljs-keyword, .hljs-meta .hljs-string) { color: var(--syntax-meta); }
|
|
176
|
+
.xui-markdown pre code :is(.hljs-meta .hljs-keyword, .hljs-meta-keyword) { font-weight: 700; }
|
|
177
|
+
}
|