@byline/ui 0.9.3 → 0.10.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/dist/admin/components/admin-account/change-password.js +1 -1
- package/dist/admin/components/admin-account/container.js +1 -1
- package/dist/admin/components/admin-account/update.js +1 -1
- package/dist/admin/components/admin-permissions/inspector.js +1 -1
- package/dist/admin/components/admin-roles/create.js +1 -1
- package/dist/admin/components/admin-roles/permissions.js +1 -1
- package/dist/admin/components/admin-roles/update.js +1 -1
- package/dist/admin/components/admin-users/create.js +1 -1
- package/dist/admin/components/admin-users/roles.js +1 -1
- package/dist/admin/components/admin-users/set-password.js +1 -1
- package/dist/admin/components/admin-users/update.js +1 -1
- package/dist/admin/components/auth/sign-in-form.js +1 -1
- package/dist/admin/components/collections/diff-modal.js +1 -1
- package/dist/admin/components/collections/status-badge.js +1 -1
- package/dist/admin/tabs.js +1 -1
- package/dist/admin.d.ts +24 -0
- package/dist/admin.d.ts.map +1 -0
- package/dist/admin.js +18 -0
- package/dist/components/@types/shared.d.ts +61 -0
- package/dist/components/@types/shared.d.ts.map +1 -0
- package/dist/components/@types/shared.js +30 -0
- package/dist/components/accordion/accordion.d.ts +32 -0
- package/dist/components/accordion/accordion.d.ts.map +1 -0
- package/dist/components/accordion/accordion.js +51 -0
- package/dist/components/accordion/accordion.module.js +10 -0
- package/dist/components/accordion/accordion_module.css +53 -0
- package/dist/components/animation/fade-in-lift.d.ts +12 -0
- package/dist/components/animation/fade-in-lift.d.ts.map +1 -0
- package/dist/components/animation/fade-in-lift.js +27 -0
- package/dist/components/avatar/avatar.d.ts +5 -0
- package/dist/components/avatar/avatar.d.ts.map +1 -0
- package/dist/components/avatar/avatar.js +25 -0
- package/dist/components/avatar/avatar.module.js +12 -0
- package/dist/components/avatar/avatar_module.css +36 -0
- package/dist/components/badge/badge.d.ts +13 -0
- package/dist/components/badge/badge.d.ts.map +1 -0
- package/dist/components/badge/badge.js +18 -0
- package/dist/components/badge/badge.module.js +12 -0
- package/dist/components/badge/badge_module.css +51 -0
- package/dist/components/button/@types/button.d.ts +41 -0
- package/dist/components/button/@types/button.d.ts.map +1 -0
- package/dist/components/button/@types/button.js +8 -0
- package/dist/components/button/button-group.d.ts +39 -0
- package/dist/components/button/button-group.d.ts.map +1 -0
- package/dist/components/button/button-group.js +71 -0
- package/dist/components/button/button-group.module.js +6 -0
- package/dist/components/button/button-group_module.css +17 -0
- package/dist/components/button/button.d.ts +16 -0
- package/dist/components/button/button.d.ts.map +1 -0
- package/dist/components/button/button.js +29 -0
- package/dist/components/button/button.module.js +26 -0
- package/dist/components/button/button_module.css +382 -0
- package/dist/components/button/combo-button.d.ts +21 -0
- package/dist/components/button/combo-button.d.ts.map +1 -0
- package/dist/components/button/combo-button.js +54 -0
- package/dist/components/button/combo-button.module.js +12 -0
- package/dist/components/button/combo-button_module.css +52 -0
- package/dist/components/button/control-buttons.d.ts +17 -0
- package/dist/components/button/control-buttons.d.ts.map +1 -0
- package/dist/components/button/control-buttons.js +88 -0
- package/dist/components/button/control-buttons.module.js +20 -0
- package/dist/components/button/control-buttons_module.css +109 -0
- package/dist/components/button/copy-button.d.ts +12 -0
- package/dist/components/button/copy-button.d.ts.map +1 -0
- package/dist/components/button/copy-button.js +71 -0
- package/dist/components/button/copy-button.module.js +13 -0
- package/dist/components/button/copy-button_module.css +49 -0
- package/dist/components/button/icon-button.d.ts +8 -0
- package/dist/components/button/icon-button.d.ts.map +1 -0
- package/dist/components/button/icon-button.js +18 -0
- package/dist/components/button/index.d.ts +6 -0
- package/dist/components/button/index.d.ts.map +1 -0
- package/dist/components/button/index.js +5 -0
- package/dist/components/card/card.d.ts +37 -0
- package/dist/components/card/card.d.ts.map +1 -0
- package/dist/components/card/card.js +56 -0
- package/dist/components/card/card.module.js +17 -0
- package/dist/components/card/card_module.css +62 -0
- package/dist/components/chips/@types/chip.d.ts +26 -0
- package/dist/components/chips/@types/chip.d.ts.map +1 -0
- package/dist/components/chips/@types/chip.js +7 -0
- package/dist/components/chips/chip.d.ts +26 -0
- package/dist/components/chips/chip.d.ts.map +1 -0
- package/dist/components/chips/chip.js +102 -0
- package/dist/components/chips/chip.module.js +27 -0
- package/dist/components/chips/chip_module.css +315 -0
- package/dist/components/chips/index.js +2 -0
- package/dist/components/container/container.d.ts +9 -0
- package/dist/components/container/container.d.ts.map +1 -0
- package/dist/components/container/container.js +12 -0
- package/dist/components/container/container.module.js +5 -0
- package/dist/components/container/container_module.css +29 -0
- package/dist/components/dropdown/dropdown.d.ts +74 -0
- package/dist/components/dropdown/dropdown.d.ts.map +1 -0
- package/dist/components/dropdown/dropdown.js +106 -0
- package/dist/components/dropdown/dropdown.module.js +16 -0
- package/dist/components/dropdown/dropdown_module.css +111 -0
- package/dist/components/hamburger/hamburger.d.ts +13 -0
- package/dist/components/hamburger/hamburger.d.ts.map +1 -0
- package/dist/components/hamburger/hamburger.js +46 -0
- package/dist/components/hamburger/hamburger.module.js +10 -0
- package/dist/components/hamburger/hamburger_module.css +169 -0
- package/dist/components/inputs/@types/autocomplete.d.ts +35 -0
- package/dist/components/inputs/@types/autocomplete.d.ts.map +1 -0
- package/dist/components/inputs/@types/autocomplete.js +11 -0
- package/dist/components/inputs/@types/checkbox.d.ts +40 -0
- package/dist/components/inputs/@types/checkbox.d.ts.map +1 -0
- package/dist/components/inputs/@types/checkbox.js +10 -0
- package/dist/components/inputs/@types/input.d.ts +41 -0
- package/dist/components/inputs/@types/input.d.ts.map +1 -0
- package/dist/components/inputs/@types/input.js +11 -0
- package/dist/components/inputs/autocomplete.d.ts +42 -0
- package/dist/components/inputs/autocomplete.d.ts.map +1 -0
- package/dist/components/inputs/autocomplete.js +87 -0
- package/dist/components/inputs/autocomplete.module.js +36 -0
- package/dist/components/inputs/autocomplete_module.css +312 -0
- package/dist/components/inputs/calendar.d.ts +38 -0
- package/dist/components/inputs/calendar.d.ts.map +1 -0
- package/dist/components/inputs/calendar.js +131 -0
- package/dist/components/inputs/calendar.module.js +45 -0
- package/dist/components/inputs/calendar_module.css +223 -0
- package/dist/components/inputs/checkbox-group.d.ts +16 -0
- package/dist/components/inputs/checkbox-group.d.ts.map +1 -0
- package/dist/components/inputs/checkbox-group.js +45 -0
- package/dist/components/inputs/checkbox-group.module.js +6 -0
- package/dist/components/inputs/checkbox-group_module.css +10 -0
- package/dist/components/inputs/checkbox.d.ts +29 -0
- package/dist/components/inputs/checkbox.d.ts.map +1 -0
- package/dist/components/inputs/checkbox.js +54 -0
- package/dist/components/inputs/checkbox.module.js +25 -0
- package/dist/components/inputs/checkbox_module.css +216 -0
- package/dist/components/inputs/error-text.d.ts +10 -0
- package/dist/components/inputs/error-text.d.ts.map +1 -0
- package/dist/components/inputs/error-text.js +11 -0
- package/dist/components/inputs/error-text.module.js +8 -0
- package/dist/components/inputs/error-text_module.css +21 -0
- package/dist/components/inputs/errors.d.ts +14 -0
- package/dist/components/inputs/errors.d.ts.map +1 -0
- package/dist/components/inputs/errors.js +30 -0
- package/dist/components/inputs/help-text.d.ts +9 -0
- package/dist/components/inputs/help-text.d.ts.map +1 -0
- package/dist/components/inputs/help-text.js +10 -0
- package/dist/components/inputs/help-text.module.js +8 -0
- package/dist/components/inputs/help-text_module.css +21 -0
- package/dist/components/inputs/index.js +9 -0
- package/dist/components/inputs/input-adornment.d.ts +11 -0
- package/dist/components/inputs/input-adornment.d.ts.map +1 -0
- package/dist/components/inputs/input-adornment.js +15 -0
- package/dist/components/inputs/input-adornment.module.js +7 -0
- package/dist/components/inputs/input-adornment_module.css +19 -0
- package/dist/components/inputs/input-password.d.ts +3 -0
- package/dist/components/inputs/input-password.d.ts.map +1 -0
- package/dist/components/inputs/input-password.js +22 -0
- package/dist/components/inputs/input.d.ts +25 -0
- package/dist/components/inputs/input.d.ts.map +1 -0
- package/dist/components/inputs/input.js +62 -0
- package/dist/components/inputs/input.module.js +34 -0
- package/dist/components/inputs/input_module.css +259 -0
- package/dist/components/inputs/label.d.ts +11 -0
- package/dist/components/inputs/label.d.ts.map +1 -0
- package/dist/components/inputs/label.js +18 -0
- package/dist/components/inputs/label.module.js +6 -0
- package/dist/components/inputs/label_module.css +14 -0
- package/dist/components/inputs/radio-group.d.ts +24 -0
- package/dist/components/inputs/radio-group.d.ts.map +1 -0
- package/dist/components/inputs/radio-group.js +37 -0
- package/dist/components/inputs/radio-group.module.js +20 -0
- package/dist/components/inputs/radio-group_module.css +160 -0
- package/dist/components/inputs/select.d.ts +33 -0
- package/dist/components/inputs/select.d.ts.map +1 -0
- package/dist/components/inputs/select.js +87 -0
- package/dist/components/inputs/select.module.js +23 -0
- package/dist/components/inputs/select_module.css +141 -0
- package/dist/components/inputs/text-area.d.ts +20 -0
- package/dist/components/inputs/text-area.d.ts.map +1 -0
- package/dist/components/inputs/text-area.js +45 -0
- package/dist/components/inputs/text-area.module.js +7 -0
- package/dist/components/inputs/text-area_module.css +19 -0
- package/dist/components/inputs/utils.d.ts +3 -0
- package/dist/components/inputs/utils.d.ts.map +1 -0
- package/dist/components/inputs/utils.js +10 -0
- package/dist/components/notifications/@types/alert.d.ts +21 -0
- package/dist/components/notifications/@types/alert.d.ts.map +1 -0
- package/dist/components/notifications/@types/alert.js +1 -0
- package/dist/components/notifications/@types/toast.d.ts +46 -0
- package/dist/components/notifications/@types/toast.d.ts.map +1 -0
- package/dist/components/notifications/@types/toast.js +1 -0
- package/dist/components/notifications/alert.d.ts +14 -0
- package/dist/components/notifications/alert.d.ts.map +1 -0
- package/dist/components/notifications/alert.js +99 -0
- package/dist/components/notifications/alert.module.js +20 -0
- package/dist/components/notifications/alert_module.css +119 -0
- package/dist/components/notifications/index.js +2 -0
- package/dist/components/notifications/toast.d.ts +17 -0
- package/dist/components/notifications/toast.d.ts.map +1 -0
- package/dist/components/notifications/toast.js +98 -0
- package/dist/components/notifications/toast.module.js +20 -0
- package/dist/components/notifications/toast_module.css +212 -0
- package/dist/components/pager/@types/index.d.ts +15 -0
- package/dist/components/pager/@types/index.d.ts.map +1 -0
- package/dist/components/pager/@types/index.js +6 -0
- package/dist/components/pager/ellipses.d.ts +3 -0
- package/dist/components/pager/ellipses.d.ts.map +1 -0
- package/dist/components/pager/ellipses.js +16 -0
- package/dist/components/pager/event-pager.js +15 -0
- package/dist/components/pager/first-button.d.ts +9 -0
- package/dist/components/pager/first-button.d.ts.map +1 -0
- package/dist/components/pager/first-button.js +38 -0
- package/dist/components/pager/hooks/types/usePagination.d.ts +75 -0
- package/dist/components/pager/hooks/types/usePagination.d.ts.map +1 -0
- package/dist/components/pager/hooks/types/usePagination.js +1 -0
- package/dist/components/pager/hooks/usePagination.d.ts +3 -0
- package/dist/components/pager/hooks/usePagination.d.ts.map +1 -0
- package/dist/components/pager/hooks/usePagination.js +80 -0
- package/dist/components/pager/icons/first.js +36 -0
- package/dist/components/pager/icons/index.js +4 -0
- package/dist/components/pager/icons/last.js +36 -0
- package/dist/components/pager/icons/next.js +24 -0
- package/dist/components/pager/icons/previous.js +24 -0
- package/dist/components/pager/index.js +4 -0
- package/dist/components/pager/last-button.d.ts +12 -0
- package/dist/components/pager/last-button.d.ts.map +1 -0
- package/dist/components/pager/last-button.js +38 -0
- package/dist/components/pager/next-button.d.ts +12 -0
- package/dist/components/pager/next-button.d.ts.map +1 -0
- package/dist/components/pager/next-button.js +42 -0
- package/dist/components/pager/number-button.d.ts +14 -0
- package/dist/components/pager/number-button.d.ts.map +1 -0
- package/dist/components/pager/number-button.js +45 -0
- package/dist/components/pager/pagination.d.ts +99 -0
- package/dist/components/pager/pagination.d.ts.map +1 -0
- package/dist/components/pager/pagination.js +134 -0
- package/dist/components/pager/pagination.module.js +29 -0
- package/dist/components/pager/pagination_module.css +103 -0
- package/dist/components/pager/previous-button.d.ts +9 -0
- package/dist/components/pager/previous-button.d.ts.map +1 -0
- package/dist/components/pager/previous-button.js +40 -0
- package/dist/components/scroll-area/scroll-area.d.ts +7 -0
- package/dist/components/scroll-area/scroll-area.d.ts.map +1 -0
- package/dist/components/scroll-area/scroll-area.js +34 -0
- package/dist/components/scroll-area/scroll-area.module.js +9 -0
- package/dist/components/scroll-area/scroll-area_module.css +63 -0
- package/dist/components/scroll-to-top/scroll-to-top.d.ts +15 -0
- package/dist/components/scroll-to-top/scroll-to-top.d.ts.map +1 -0
- package/dist/components/scroll-to-top/scroll-to-top.js +67 -0
- package/dist/components/scroll-to-top/scroll-to-top.module.js +8 -0
- package/dist/components/scroll-to-top/scroll-to-top_module.css +100 -0
- package/dist/components/section/section.d.ts +9 -0
- package/dist/components/section/section.d.ts.map +1 -0
- package/dist/components/section/section.js +12 -0
- package/dist/components/section/section.module.js +5 -0
- package/dist/components/section/section_module.css +9 -0
- package/dist/components/shimmer/shimmer.d.ts +13 -0
- package/dist/components/shimmer/shimmer.d.ts.map +1 -0
- package/dist/components/shimmer/shimmer.js +41 -0
- package/dist/components/shimmer/shimmer.module.js +9 -0
- package/dist/components/shimmer/shimmer_module.css +47 -0
- package/dist/components/table/table.d.ts +37 -0
- package/dist/components/table/table.d.ts.map +1 -0
- package/dist/components/table/table.js +85 -0
- package/dist/components/table/table.module.js +19 -0
- package/dist/components/table/table_module.css +91 -0
- package/dist/components/tabs/tabs.d.ts +28 -0
- package/dist/components/tabs/tabs.d.ts.map +1 -0
- package/dist/components/tabs/tabs.js +34 -0
- package/dist/components/tabs/tabs.module.js +12 -0
- package/dist/components/tabs/tabs_module.css +56 -0
- package/dist/components/tooltip/tooltip.d.ts +14 -0
- package/dist/components/tooltip/tooltip.d.ts.map +1 -0
- package/dist/components/tooltip/tooltip.js +63 -0
- package/dist/components/tooltip/tooltip.module.js +13 -0
- package/dist/components/tooltip/tooltip_module.css +73 -0
- package/dist/dnd/draggable-sortable/demo/draggable-list-demo.js +1 -1
- package/dist/dnd/draggable-sortable/draggable-sortable.d.ts +3 -3
- package/dist/dnd/draggable-sortable/draggable-sortable.d.ts.map +1 -1
- package/dist/dnd/draggable-sortable/types.d.ts +1 -1
- package/dist/dnd/draggable-sortable/types.d.ts.map +1 -1
- package/dist/fields/array/array-field.js +1 -1
- package/dist/fields/blocks/blocks-field.js +1 -1
- package/dist/fields/checkbox/checkbox-field.js +1 -1
- package/dist/fields/datetime/datetime-field.js +1 -1
- package/dist/fields/draggable-context-menu.js +1 -1
- package/dist/fields/file/file-field.js +1 -1
- package/dist/fields/group/group-field.js +1 -1
- package/dist/fields/image/image-field.js +1 -1
- package/dist/fields/numerical/numerical-field.js +1 -1
- package/dist/fields/relation/relation-field.js +1 -1
- package/dist/fields/relation/relation-picker.js +1 -1
- package/dist/fields/select/select-field.js +1 -1
- package/dist/fields/sortable-item.js +1 -1
- package/dist/fields/text/text-field.js +1 -1
- package/dist/fields/text-area/text-area-field.js +1 -1
- package/dist/fields.d.ts +28 -0
- package/dist/fields.d.ts.map +1 -0
- package/dist/fields.js +23 -0
- package/dist/forms/document-actions.js +1 -1
- package/dist/forms/form-renderer.js +1 -1
- package/dist/forms/path-widget.js +1 -1
- package/dist/forms.d.ts +10 -0
- package/dist/forms.d.ts.map +1 -0
- package/dist/forms.js +5 -0
- package/dist/hooks/use-focus-trap/index.js +1 -0
- package/dist/hooks/use-focus-trap/scope-tab.js +19 -0
- package/dist/hooks/use-focus-trap/tabbable.js +36 -0
- package/dist/hooks/use-focus-trap/use-focus-trap.js +45 -0
- package/dist/hooks/use-media-query.d.ts +2 -0
- package/dist/hooks/use-media-query.d.ts.map +1 -0
- package/dist/hooks/use-media-query.js +20 -0
- package/dist/icons/activity-icon.d.ts +7 -0
- package/dist/icons/activity-icon.d.ts.map +1 -0
- package/dist/icons/activity-icon.js +45 -0
- package/dist/icons/ai-icon.d.ts +7 -0
- package/dist/icons/ai-icon.d.ts.map +1 -0
- package/dist/icons/ai-icon.js +39 -0
- package/dist/icons/calendar-icon.d.ts +7 -0
- package/dist/icons/calendar-icon.d.ts.map +1 -0
- package/dist/icons/calendar-icon.js +26 -0
- package/dist/icons/check-icon.d.ts +7 -0
- package/dist/icons/check-icon.d.ts.map +1 -0
- package/dist/icons/check-icon.js +25 -0
- package/dist/icons/chevron-down-icon.d.ts +7 -0
- package/dist/icons/chevron-down-icon.d.ts.map +1 -0
- package/dist/icons/chevron-down-icon.js +27 -0
- package/dist/icons/chevron-left-double-icon.d.ts +27 -0
- package/dist/icons/chevron-left-double-icon.d.ts.map +1 -0
- package/dist/icons/chevron-left-double-icon.js +28 -0
- package/dist/icons/chevron-left-icon.d.ts +27 -0
- package/dist/icons/chevron-left-icon.d.ts.map +1 -0
- package/dist/icons/chevron-left-icon.js +28 -0
- package/dist/icons/chevron-right-double-icon.d.ts +27 -0
- package/dist/icons/chevron-right-double-icon.d.ts.map +1 -0
- package/dist/icons/chevron-right-double-icon.js +28 -0
- package/dist/icons/chevron-right-icon.d.ts +27 -0
- package/dist/icons/chevron-right-icon.d.ts.map +1 -0
- package/dist/icons/chevron-right-icon.js +28 -0
- package/dist/icons/chevron-up-icon.d.ts +7 -0
- package/dist/icons/chevron-up-icon.d.ts.map +1 -0
- package/dist/icons/chevron-up-icon.js +27 -0
- package/dist/icons/chevrons-up-down.d.ts +7 -0
- package/dist/icons/chevrons-up-down.d.ts.map +1 -0
- package/dist/icons/chevrons-up-down.js +34 -0
- package/dist/icons/close-icon.d.ts +7 -0
- package/dist/icons/close-icon.d.ts.map +1 -0
- package/dist/icons/close-icon.js +37 -0
- package/dist/icons/copy-icon.d.ts +7 -0
- package/dist/icons/copy-icon.d.ts.map +1 -0
- package/dist/icons/copy-icon.js +26 -0
- package/dist/icons/danger-icon.d.ts +4 -0
- package/dist/icons/danger-icon.d.ts.map +1 -0
- package/dist/icons/danger-icon.js +21 -0
- package/dist/icons/dashboard-icon.d.ts +7 -0
- package/dist/icons/dashboard-icon.d.ts.map +1 -0
- package/dist/icons/dashboard-icon.js +43 -0
- package/dist/icons/delete-icon.d.ts +7 -0
- package/dist/icons/delete-icon.d.ts.map +1 -0
- package/dist/icons/delete-icon.js +42 -0
- package/dist/icons/document-icon.d.ts +7 -0
- package/dist/icons/document-icon.d.ts.map +1 -0
- package/dist/icons/document-icon.js +36 -0
- package/dist/icons/download-icon.d.ts +7 -0
- package/dist/icons/download-icon.d.ts.map +1 -0
- package/dist/icons/download-icon.js +27 -0
- package/dist/icons/edit-icon.d.ts +7 -0
- package/dist/icons/edit-icon.d.ts.map +1 -0
- package/dist/icons/edit-icon.js +39 -0
- package/dist/icons/ellipsis-icon.d.ts +7 -0
- package/dist/icons/ellipsis-icon.d.ts.map +1 -0
- package/dist/icons/ellipsis-icon.js +40 -0
- package/dist/icons/email-icon.d.ts +7 -0
- package/dist/icons/email-icon.d.ts.map +1 -0
- package/dist/icons/email-icon.js +31 -0
- package/dist/icons/external-link-icon.d.ts +7 -0
- package/dist/icons/external-link-icon.d.ts.map +1 -0
- package/dist/icons/external-link-icon.js +27 -0
- package/dist/icons/eye-closed-icon.d.ts +7 -0
- package/dist/icons/eye-closed-icon.d.ts.map +1 -0
- package/dist/icons/eye-closed-icon.js +41 -0
- package/dist/icons/eye-open-icon.d.ts +7 -0
- package/dist/icons/eye-open-icon.d.ts.map +1 -0
- package/dist/icons/eye-open-icon.js +33 -0
- package/dist/icons/github-icon.d.ts +7 -0
- package/dist/icons/github-icon.d.ts.map +1 -0
- package/dist/icons/github-icon.js +24 -0
- package/dist/icons/globe-icon.d.ts +7 -0
- package/dist/icons/globe-icon.d.ts.map +1 -0
- package/dist/icons/globe-icon.js +44 -0
- package/dist/icons/google-icon.d.ts +7 -0
- package/dist/icons/google-icon.d.ts.map +1 -0
- package/dist/icons/google-icon.js +42 -0
- package/dist/icons/gripper-vertical-icon.d.ts +7 -0
- package/dist/icons/gripper-vertical-icon.d.ts.map +1 -0
- package/dist/icons/gripper-vertical-icon.js +49 -0
- package/dist/icons/history-icon.d.ts +7 -0
- package/dist/icons/history-icon.d.ts.map +1 -0
- package/dist/icons/history-icon.js +35 -0
- package/dist/icons/home-icon.d.ts +7 -0
- package/dist/icons/home-icon.d.ts.map +1 -0
- package/dist/icons/home-icon.js +37 -0
- package/dist/icons/icon-element.d.ts +11 -0
- package/dist/icons/icon-element.d.ts.map +1 -0
- package/dist/icons/icon-element.js +17 -0
- package/dist/icons/icon-sprite.js +15 -0
- package/dist/icons/icons.module.js +46 -0
- package/dist/icons/icons_module.css +163 -0
- package/dist/icons/index.d.ts +54 -0
- package/dist/icons/index.d.ts.map +1 -0
- package/dist/icons/index.js +53 -0
- package/dist/icons/info-icon.d.ts +4 -0
- package/dist/icons/info-icon.d.ts.map +1 -0
- package/dist/icons/info-icon.js +21 -0
- package/dist/icons/infonomic-icon.d.ts +7 -0
- package/dist/icons/infonomic-icon.d.ts.map +1 -0
- package/dist/icons/infonomic-icon.js +211 -0
- package/dist/icons/light-icon.d.ts +7 -0
- package/dist/icons/light-icon.d.ts.map +1 -0
- package/dist/icons/light-icon.js +23 -0
- package/dist/icons/location-pin-icon.d.ts +7 -0
- package/dist/icons/location-pin-icon.d.ts.map +1 -0
- package/dist/icons/location-pin-icon.js +31 -0
- package/dist/icons/moon-icon.d.ts +7 -0
- package/dist/icons/moon-icon.d.ts.map +1 -0
- package/dist/icons/moon-icon.js +26 -0
- package/dist/icons/plus-icon.d.ts +7 -0
- package/dist/icons/plus-icon.d.ts.map +1 -0
- package/dist/icons/plus-icon.js +32 -0
- package/dist/icons/primary-icon.d.ts +4 -0
- package/dist/icons/primary-icon.d.ts.map +1 -0
- package/dist/icons/primary-icon.js +21 -0
- package/dist/icons/refresh-icon.d.ts +7 -0
- package/dist/icons/refresh-icon.d.ts.map +1 -0
- package/dist/icons/refresh-icon.js +31 -0
- package/dist/icons/return-icon.d.ts +7 -0
- package/dist/icons/return-icon.d.ts.map +1 -0
- package/dist/icons/return-icon.js +35 -0
- package/dist/icons/roles-icon.d.ts +7 -0
- package/dist/icons/roles-icon.d.ts.map +1 -0
- package/dist/icons/roles-icon.js +34 -0
- package/dist/icons/search-icon.d.ts +7 -0
- package/dist/icons/search-icon.d.ts.map +1 -0
- package/dist/icons/search-icon.js +23 -0
- package/dist/icons/search-menu-icon.d.ts +7 -0
- package/dist/icons/search-menu-icon.d.ts.map +1 -0
- package/dist/icons/search-menu-icon.js +42 -0
- package/dist/icons/settings-gear-icon.d.ts +7 -0
- package/dist/icons/settings-gear-icon.d.ts.map +1 -0
- package/dist/icons/settings-gear-icon.js +34 -0
- package/dist/icons/settings-sliders-icon.d.ts +7 -0
- package/dist/icons/settings-sliders-icon.d.ts.map +1 -0
- package/dist/icons/settings-sliders-icon.js +55 -0
- package/dist/icons/sign-out-icon.d.ts +7 -0
- package/dist/icons/sign-out-icon.d.ts.map +1 -0
- package/dist/icons/sign-out-icon.js +39 -0
- package/dist/icons/stop-icon.d.ts +7 -0
- package/dist/icons/stop-icon.d.ts.map +1 -0
- package/dist/icons/stop-icon.js +35 -0
- package/dist/icons/stopwatch-icon.d.ts +7 -0
- package/dist/icons/stopwatch-icon.d.ts.map +1 -0
- package/dist/icons/stopwatch-icon.js +26 -0
- package/dist/icons/success-icon.d.ts +4 -0
- package/dist/icons/success-icon.d.ts.map +1 -0
- package/dist/icons/success-icon.js +21 -0
- package/dist/icons/types/icon.d.ts +9 -0
- package/dist/icons/types/icon.d.ts.map +1 -0
- package/dist/icons/types/icon.js +1 -0
- package/dist/icons/user-icon.d.ts +7 -0
- package/dist/icons/user-icon.d.ts.map +1 -0
- package/dist/icons/user-icon.js +31 -0
- package/dist/icons/users-icon.d.ts +7 -0
- package/dist/icons/users-icon.d.ts.map +1 -0
- package/dist/icons/users-icon.js +37 -0
- package/dist/icons/wallet-icon.d.ts +7 -0
- package/dist/icons/wallet-icon.d.ts.map +1 -0
- package/dist/icons/wallet-icon.js +23 -0
- package/dist/icons/warning-icon.d.ts +4 -0
- package/dist/icons/warning-icon.d.ts.map +1 -0
- package/dist/icons/warning-icon.js +21 -0
- package/dist/icons/x-icon.d.ts +7 -0
- package/dist/icons/x-icon.d.ts.map +1 -0
- package/dist/icons/x-icon.js +25 -0
- package/dist/lib/ripple.d.ts +25 -0
- package/dist/lib/ripple.d.ts.map +1 -0
- package/dist/lib/ripple.js +53 -0
- package/dist/loaders/@types/index.d.ts +7 -0
- package/dist/loaders/@types/index.d.ts.map +1 -0
- package/dist/loaders/@types/index.js +1 -0
- package/dist/loaders/ellipses.d.ts +4 -0
- package/dist/loaders/ellipses.d.ts.map +1 -0
- package/dist/loaders/ellipses.js +22 -0
- package/dist/loaders/ellipses.module.js +14 -0
- package/dist/loaders/ellipses_module.css +73 -0
- package/dist/loaders/ring.d.ts +4 -0
- package/dist/loaders/ring.d.ts.map +1 -0
- package/dist/loaders/ring.js +22 -0
- package/dist/loaders/ring.module.js +8 -0
- package/dist/loaders/ring_module.css +49 -0
- package/dist/loaders/spinner.d.ts +4 -0
- package/dist/loaders/spinner.d.ts.map +1 -0
- package/dist/loaders/spinner.js +25 -0
- package/dist/loaders/spinner.module.js +10 -0
- package/dist/loaders/spinner_module.css +99 -0
- package/dist/react.d.ts +1 -49
- package/dist/react.d.ts.map +1 -1
- package/dist/react.js +1 -47
- package/dist/services.d.ts +10 -0
- package/dist/services.d.ts.map +1 -0
- package/dist/services.js +1 -0
- package/dist/styles/reset.css +209 -0
- package/dist/styles/styles.css +2922 -0
- package/dist/styles/typography.css +398 -0
- package/dist/uikit.d.ts +109 -0
- package/dist/uikit.d.ts.map +1 -0
- package/dist/uikit.js +104 -0
- package/dist/utils/capitalize.js +5 -0
- package/dist/utils/externalLinkProps.js +6 -0
- package/dist/utils/findMatch.js +6 -0
- package/dist/utils/getPortalRoot.js +4 -0
- package/dist/utils/isTouchDevice.js +3 -0
- package/dist/utils/objectsToArray.js +9 -0
- package/dist/utils/objectsToString.js +5 -0
- package/dist/utils/polymorphic.js +1 -0
- package/dist/utils/to-kebab-case.js +2 -0
- package/dist/widgets/datepicker/datepicker.d.ts +38 -0
- package/dist/widgets/datepicker/datepicker.d.ts.map +1 -0
- package/dist/widgets/datepicker/datepicker.js +262 -0
- package/dist/widgets/datepicker/datepicker.module.js +33 -0
- package/dist/widgets/datepicker/datepicker_module.css +188 -0
- package/dist/widgets/drawer/drawer-container.d.ts +10 -0
- package/dist/widgets/drawer/drawer-container.d.ts.map +1 -0
- package/dist/widgets/drawer/drawer-container.js +13 -0
- package/dist/widgets/drawer/drawer-content.d.ts +10 -0
- package/dist/widgets/drawer/drawer-content.d.ts.map +1 -0
- package/dist/widgets/drawer/drawer-content.js +13 -0
- package/dist/widgets/drawer/drawer-context.d.ts +14 -0
- package/dist/widgets/drawer/drawer-context.d.ts.map +1 -0
- package/dist/widgets/drawer/drawer-context.js +34 -0
- package/dist/widgets/drawer/drawer-header.d.ts +10 -0
- package/dist/widgets/drawer/drawer-header.d.ts.map +1 -0
- package/dist/widgets/drawer/drawer-header.js +17 -0
- package/dist/widgets/drawer/drawer-top-actions.d.ts +10 -0
- package/dist/widgets/drawer/drawer-top-actions.d.ts.map +1 -0
- package/dist/widgets/drawer/drawer-top-actions.js +17 -0
- package/dist/widgets/drawer/drawer.d.ts +27 -0
- package/dist/widgets/drawer/drawer.d.ts.map +1 -0
- package/dist/widgets/drawer/drawer.js +59 -0
- package/dist/widgets/drawer/drawer.module.js +27 -0
- package/dist/widgets/drawer/drawer_module.css +129 -0
- package/dist/widgets/drawer/motionDomAnimation.js +4 -0
- package/dist/widgets/drawer/motionDomMax.js +4 -0
- package/dist/widgets/modal/modal-actions.d.ts +10 -0
- package/dist/widgets/modal/modal-actions.d.ts.map +1 -0
- package/dist/widgets/modal/modal-actions.js +13 -0
- package/dist/widgets/modal/modal-container.d.ts +10 -0
- package/dist/widgets/modal/modal-container.d.ts.map +1 -0
- package/dist/widgets/modal/modal-container.js +13 -0
- package/dist/widgets/modal/modal-content.d.ts +10 -0
- package/dist/widgets/modal/modal-content.d.ts.map +1 -0
- package/dist/widgets/modal/modal-content.js +13 -0
- package/dist/widgets/modal/modal-header.d.ts +10 -0
- package/dist/widgets/modal/modal-header.d.ts.map +1 -0
- package/dist/widgets/modal/modal-header.js +17 -0
- package/dist/widgets/modal/modal.d.ts +35 -0
- package/dist/widgets/modal/modal.d.ts.map +1 -0
- package/dist/widgets/modal/modal.js +58 -0
- package/dist/widgets/modal/modal.module.js +15 -0
- package/dist/widgets/modal/modal_module.css +118 -0
- package/dist/widgets/modal/motionDomAnimation.js +4 -0
- package/dist/widgets/modal/motionDomMax.js +4 -0
- package/dist/widgets/search/index.js +1 -0
- package/dist/widgets/search/search.d.ts +21 -0
- package/dist/widgets/search/search.d.ts.map +1 -0
- package/dist/widgets/search/search.js +109 -0
- package/dist/widgets/timeline/timeline.d.ts +60 -0
- package/dist/widgets/timeline/timeline.d.ts.map +1 -0
- package/dist/widgets/timeline/timeline.js +74 -0
- package/dist/widgets/timeline/timeline.module.js +17 -0
- package/dist/widgets/timeline/timeline_module.css +83 -0
- package/package.json +37 -24
- package/src/.uikit-sync.json +9 -0
- package/src/admin/components/admin-account/change-password.tsx +1 -1
- package/src/admin/components/admin-account/container.tsx +1 -1
- package/src/admin/components/admin-account/update.tsx +1 -1
- package/src/admin/components/admin-permissions/inspector.tsx +1 -1
- package/src/admin/components/admin-roles/create.tsx +1 -1
- package/src/admin/components/admin-roles/permissions.tsx +1 -1
- package/src/admin/components/admin-roles/update.tsx +1 -1
- package/src/admin/components/admin-users/create.tsx +1 -1
- package/src/admin/components/admin-users/roles.tsx +1 -1
- package/src/admin/components/admin-users/set-password.tsx +1 -1
- package/src/admin/components/admin-users/update.tsx +1 -1
- package/src/admin/components/auth/sign-in-form.tsx +1 -1
- package/src/admin/components/collections/diff-modal.tsx +1 -1
- package/src/admin/components/collections/status-badge.tsx +1 -1
- package/src/admin/tabs.tsx +1 -1
- package/src/admin.ts +39 -0
- package/src/components/@types/shared.ts +79 -0
- package/src/components/accordion/accordion.module.css +56 -0
- package/src/components/accordion/accordion.tsx +125 -0
- package/src/components/animation/fade-in-lift.tsx +43 -0
- package/src/components/avatar/avatar.module.css +45 -0
- package/src/components/avatar/avatar.tsx +28 -0
- package/src/components/badge/badge.module.css +66 -0
- package/src/components/badge/badge.tsx +42 -0
- package/src/components/button/@types/button.ts +50 -0
- package/src/components/button/button-group.module.css +19 -0
- package/src/components/button/button-group.tsx +142 -0
- package/src/components/button/button.module.css +542 -0
- package/src/components/button/button.tsx +70 -0
- package/src/components/button/combo-button.module.css +52 -0
- package/src/components/button/combo-button.tsx +89 -0
- package/src/components/button/control-buttons.module.css +134 -0
- package/src/components/button/control-buttons.tsx +140 -0
- package/src/components/button/copy-button.module.css +61 -0
- package/src/components/button/copy-button.tsx +123 -0
- package/src/components/button/icon-button.tsx +43 -0
- package/src/components/button/index.ts +5 -0
- package/src/components/card/card.module.css +80 -0
- package/src/components/card/card.tsx +91 -0
- package/src/components/chips/@types/chip.ts +29 -0
- package/src/components/chips/chip.module.css +445 -0
- package/src/components/chips/chip.tsx +198 -0
- package/src/components/chips/index.ts +2 -0
- package/src/components/container/container.module.css +41 -0
- package/src/components/container/container.tsx +23 -0
- package/src/components/dropdown/dropdown.module.css +128 -0
- package/src/components/dropdown/dropdown.tsx +225 -0
- package/src/components/hamburger/hamburger.module.css +141 -0
- package/src/components/hamburger/hamburger.tsx +75 -0
- package/src/components/inputs/@types/autocomplete.ts +39 -0
- package/src/components/inputs/@types/checkbox.ts +50 -0
- package/src/components/inputs/@types/input.ts +51 -0
- package/src/components/inputs/autocomplete.module.css +370 -0
- package/src/components/inputs/autocomplete.tsx +179 -0
- package/src/components/inputs/calendar.module.css +274 -0
- package/src/components/inputs/calendar.tsx +185 -0
- package/src/components/inputs/checkbox-group.module.css +15 -0
- package/src/components/inputs/checkbox-group.tsx +86 -0
- package/src/components/inputs/checkbox.module.css +278 -0
- package/src/components/inputs/checkbox.tsx +109 -0
- package/src/components/inputs/error-text.module.css +29 -0
- package/src/components/inputs/error-text.tsx +20 -0
- package/src/components/inputs/errors.tsx +37 -0
- package/src/components/inputs/help-text.module.css +29 -0
- package/src/components/inputs/help-text.tsx +19 -0
- package/src/components/inputs/index.tsx +9 -0
- package/src/components/inputs/input-adornment.module.css +26 -0
- package/src/components/inputs/input-adornment.tsx +37 -0
- package/src/components/inputs/input-password.tsx +24 -0
- package/src/components/inputs/input.module.css +289 -0
- package/src/components/inputs/input.tsx +119 -0
- package/src/components/inputs/label.module.css +20 -0
- package/src/components/inputs/label.tsx +26 -0
- package/src/components/inputs/radio-group.module.css +175 -0
- package/src/components/inputs/radio-group.tsx +72 -0
- package/src/components/inputs/select.module.css +152 -0
- package/src/components/inputs/select.tsx +134 -0
- package/src/components/inputs/text-area.module.css +34 -0
- package/src/components/inputs/text-area.tsx +83 -0
- package/src/components/inputs/utils.ts +21 -0
- package/src/components/notifications/@types/alert.ts +25 -0
- package/src/components/notifications/@types/toast.ts +53 -0
- package/src/components/notifications/alert.module.css +136 -0
- package/src/components/notifications/alert.tsx +124 -0
- package/src/components/notifications/index.ts +2 -0
- package/src/components/notifications/toast.module.css +234 -0
- package/src/components/notifications/toast.tsx +121 -0
- package/src/components/pager/@types/index.ts +15 -0
- package/src/components/pager/ellipses.tsx +18 -0
- package/src/components/pager/event-pager.tsx +20 -0
- package/src/components/pager/first-button.tsx +56 -0
- package/src/components/pager/hooks/types/usePagination.ts +80 -0
- package/src/components/pager/hooks/usePagination.ts +140 -0
- package/src/components/pager/icons/first.tsx +33 -0
- package/src/components/pager/icons/index.tsx +4 -0
- package/src/components/pager/icons/last.tsx +33 -0
- package/src/components/pager/icons/next.tsx +20 -0
- package/src/components/pager/icons/previous.tsx +20 -0
- package/src/components/pager/index.ts +4 -0
- package/src/components/pager/last-button.tsx +61 -0
- package/src/components/pager/next-button.tsx +61 -0
- package/src/components/pager/number-button.tsx +87 -0
- package/src/components/pager/pagination.module.css +147 -0
- package/src/components/pager/pagination.tsx +265 -0
- package/src/components/pager/previous-button.tsx +56 -0
- package/src/components/scroll-area/scroll-area.module.css +74 -0
- package/src/components/scroll-area/scroll-area.tsx +32 -0
- package/src/components/scroll-to-top/scroll-to-top.module.css +86 -0
- package/src/components/scroll-to-top/scroll-to-top.tsx +87 -0
- package/src/components/section/section.module.css +14 -0
- package/src/components/section/section.tsx +23 -0
- package/src/components/shimmer/shimmer.module.css +61 -0
- package/src/components/shimmer/shimmer.tsx +71 -0
- package/src/components/table/table.module.css +120 -0
- package/src/components/table/table.tsx +171 -0
- package/src/components/tabs/tabs.module.css +64 -0
- package/src/components/tabs/tabs.tsx +76 -0
- package/src/components/tooltip/tooltip.module.css +80 -0
- package/src/components/tooltip/tooltip.tsx +83 -0
- package/src/dnd/draggable-sortable/demo/draggable-list-demo.tsx +1 -1
- package/src/dnd/draggable-sortable/draggable-sortable.tsx +3 -3
- package/src/dnd/draggable-sortable/types.ts +1 -1
- package/src/fields/array/array-field.tsx +1 -1
- package/src/fields/blocks/blocks-field.tsx +1 -1
- package/src/fields/checkbox/checkbox-field.tsx +1 -1
- package/src/fields/datetime/datetime-field.tsx +1 -1
- package/src/fields/draggable-context-menu.tsx +3 -3
- package/src/fields/file/file-field.tsx +1 -1
- package/src/fields/group/group-field.tsx +1 -1
- package/src/fields/image/image-field.tsx +1 -1
- package/src/fields/numerical/numerical-field.tsx +1 -1
- package/src/fields/relation/relation-field.tsx +1 -1
- package/src/fields/relation/relation-picker.tsx +1 -1
- package/src/fields/select/select-field.tsx +1 -1
- package/src/fields/sortable-item.tsx +1 -1
- package/src/fields/text/text-field.tsx +1 -1
- package/src/fields/text-area/text-area-field.tsx +1 -1
- package/src/fields.ts +28 -0
- package/src/forms/document-actions.tsx +3 -3
- package/src/forms/form-renderer.tsx +1 -1
- package/src/forms/path-widget.test.tsx +1 -1
- package/src/forms/path-widget.tsx +1 -1
- package/src/forms.ts +10 -0
- package/src/hooks/use-focus-trap/index.ts +1 -0
- package/src/hooks/use-focus-trap/scope-tab.ts +48 -0
- package/src/hooks/use-focus-trap/tabbable.ts +72 -0
- package/src/hooks/use-focus-trap/use-focus-trap.ts +83 -0
- package/src/hooks/use-media-query.ts +20 -0
- package/src/icons/activity-icon.tsx +41 -0
- package/src/icons/ai-icon.tsx +45 -0
- package/src/icons/calendar-icon.tsx +37 -0
- package/src/icons/check-icon.tsx +30 -0
- package/src/icons/chevron-down-icon.tsx +37 -0
- package/src/icons/chevron-left-double-icon.tsx +59 -0
- package/src/icons/chevron-left-icon.tsx +59 -0
- package/src/icons/chevron-right-double-icon.tsx +59 -0
- package/src/icons/chevron-right-icon.tsx +59 -0
- package/src/icons/chevron-up-icon.tsx +37 -0
- package/src/icons/chevrons-up-down.tsx +38 -0
- package/src/icons/close-icon.tsx +33 -0
- package/src/icons/copy-icon.tsx +32 -0
- package/src/icons/danger-icon.tsx +19 -0
- package/src/icons/dashboard-icon.tsx +39 -0
- package/src/icons/delete-icon.tsx +32 -0
- package/src/icons/document-icon.tsx +36 -0
- package/src/icons/download-icon.tsx +37 -0
- package/src/icons/edit-icon.tsx +33 -0
- package/src/icons/ellipsis-icon.tsx +36 -0
- package/src/icons/email-icon.tsx +31 -0
- package/src/icons/external-link-icon.tsx +37 -0
- package/src/icons/eye-closed-icon.tsx +39 -0
- package/src/icons/eye-open-icon.tsx +31 -0
- package/src/icons/github-icon.tsx +28 -0
- package/src/icons/globe-icon.tsx +48 -0
- package/src/icons/google-icon.tsx +43 -0
- package/src/icons/gripper-vertical-icon.tsx +41 -0
- package/src/icons/history-icon.tsx +33 -0
- package/src/icons/home-icon.tsx +32 -0
- package/src/icons/icon-element.tsx +31 -0
- package/src/icons/icon-sprite.tsx +18 -0
- package/src/icons/icons.module.css +165 -0
- package/src/icons/index.ts +53 -0
- package/src/icons/info-icon.tsx +19 -0
- package/src/icons/infonomic-icon.tsx +172 -0
- package/src/icons/light-icon.tsx +27 -0
- package/src/icons/location-pin-icon.tsx +34 -0
- package/src/icons/moon-icon.tsx +40 -0
- package/src/icons/plus-icon.tsx +32 -0
- package/src/icons/primary-icon.tsx +22 -0
- package/src/icons/refresh-icon.tsx +31 -0
- package/src/icons/return-icon.tsx +34 -0
- package/src/icons/roles-icon.tsx +32 -0
- package/src/icons/search-icon.tsx +27 -0
- package/src/icons/search-menu-icon.tsx +40 -0
- package/src/icons/settings-gear-icon.tsx +34 -0
- package/src/icons/settings-sliders-icon.tsx +41 -0
- package/src/icons/sign-out-icon.tsx +33 -0
- package/src/icons/source/icon-calendar.svg +1 -0
- package/src/icons/source/icon-check.svg +4 -0
- package/src/icons/source/icon-close.svg +3 -0
- package/src/icons/source/icon-coinbase.svg +9 -0
- package/src/icons/source/icon-copy.svg +4 -0
- package/src/icons/source/icon-document.svg +5 -0
- package/src/icons/source/icon-download.svg +4 -0
- package/src/icons/source/icon-edit.svg +6 -0
- package/src/icons/source/icon-eth-purple.svg +15 -0
- package/src/icons/source/icon-etherscan.svg +5 -0
- package/src/icons/source/icon-external-link.svg +4 -0
- package/src/icons/source/icon-globe.svg +7 -0
- package/src/icons/source/icon-gripper-vertical.svg +9 -0
- package/src/icons/source/icon-info.svg +4 -0
- package/src/icons/source/icon-infonomic.svg +43 -0
- package/src/icons/source/icon-ledger.svg +4 -0
- package/src/icons/source/icon-light.svg +3 -0
- package/src/icons/source/icon-location-pin.svg +8 -0
- package/src/icons/source/icon-logout.svg +6 -0
- package/src/icons/source/icon-metamask.svg +32 -0
- package/src/icons/source/icon-moon.svg +3 -0
- package/src/icons/source/icon-plus.svg +4 -0
- package/src/icons/source/icon-refresh.svg +4 -0
- package/src/icons/source/icon-return.svg +4 -0
- package/src/icons/source/icon-search-menu.svg +13 -0
- package/src/icons/source/icon-search.svg +3 -0
- package/src/icons/source/icon-settings-gear.svg +5 -0
- package/src/icons/source/icon-settings.svg +12 -0
- package/src/icons/source/icon-wallet.svg +3 -0
- package/src/icons/source/icon-walletconnect.svg +4 -0
- package/src/icons/source/icon-x.svg +4 -0
- package/src/icons/stop-icon.tsx +33 -0
- package/src/icons/stopwatch-icon.tsx +37 -0
- package/src/icons/success-icon.tsx +19 -0
- package/src/icons/types/icon.ts +8 -0
- package/src/icons/user-icon.tsx +31 -0
- package/src/icons/users-icon.tsx +33 -0
- package/src/icons/wallet-icon.tsx +27 -0
- package/src/icons/warning-icon.tsx +19 -0
- package/src/icons/x-icon.tsx +31 -0
- package/src/lib/ripple.ts +95 -0
- package/src/loaders/@types/index.ts +6 -0
- package/src/loaders/ellipses.module.css +79 -0
- package/src/loaders/ellipses.tsx +43 -0
- package/src/loaders/ring.module.css +55 -0
- package/src/loaders/ring.tsx +45 -0
- package/src/loaders/spinner.module.css +106 -0
- package/src/loaders/spinner.tsx +52 -0
- package/src/react.ts +11 -73
- package/src/services.ts +18 -0
- package/src/styles/base/animations.css +141 -0
- package/src/styles/base/base.css +11 -0
- package/src/styles/base/borders.css +30 -0
- package/src/styles/base/breakpoints.css +15 -0
- package/src/styles/base/colors.css +163 -0
- package/src/styles/base/opacity.css +12 -0
- package/src/styles/base/shadows.css +13 -0
- package/src/styles/base/size.css +24 -0
- package/src/styles/base/spacing.css +24 -0
- package/src/styles/base/transitions.css +7 -0
- package/src/styles/base/typography.css +46 -0
- package/src/styles/base/z-index.css +12 -0
- package/src/styles/components/components.css +4 -0
- package/src/styles/components/fade-in-lift.css +15 -0
- package/src/styles/components/hamburger.css +122 -0
- package/src/styles/components/loaders.css +198 -0
- package/src/styles/functional/README.md +67 -0
- package/src/styles/functional/borders.css +42 -0
- package/src/styles/functional/colors.css +1279 -0
- package/src/styles/functional/functional.css +6 -0
- package/src/styles/functional/grid-flex.css +52 -0
- package/src/styles/functional/shadcn-compat.css +90 -0
- package/src/styles/functional/surfaces.css +132 -0
- package/src/styles/functional/typography.css +54 -0
- package/src/styles/local-fonts.css +98 -0
- package/src/styles/reset.css +466 -0
- package/src/styles/styles.css +12 -0
- package/src/styles/theme/autofill.css +67 -0
- package/src/styles/theme/defaults.css +75 -0
- package/src/styles/theme/scrollers.css +54 -0
- package/src/styles/theme/theme.css +17 -0
- package/src/styles/typography/fonts.css +33 -0
- package/src/styles/typography/prose.css +414 -0
- package/src/styles/typography.css +24 -0
- package/src/styles/utils/scroll-layout-shift.css +9 -0
- package/src/styles/utils/utility-classes.css +1395 -0
- package/src/styles/utils/utils.css +2 -0
- package/src/uikit.ts +116 -0
- package/src/utils/capitalize.ts +6 -0
- package/src/utils/externalLinkProps.ts +6 -0
- package/src/utils/findMatch.ts +7 -0
- package/src/utils/getPortalRoot.ts +3 -0
- package/src/utils/isTouchDevice.ts +11 -0
- package/src/utils/objectsToArray.ts +13 -0
- package/src/utils/objectsToString.ts +5 -0
- package/src/utils/polymorphic.ts +16 -0
- package/src/utils/to-kebab-case.ts +5 -0
- package/src/widgets/datepicker/datepicker.module.css +207 -0
- package/src/widgets/datepicker/datepicker.tsx +355 -0
- package/src/widgets/drawer/drawer-container.tsx +31 -0
- package/src/widgets/drawer/drawer-content.tsx +31 -0
- package/src/widgets/drawer/drawer-context.tsx +47 -0
- package/src/widgets/drawer/drawer-header.tsx +28 -0
- package/src/widgets/drawer/drawer-top-actions.tsx +28 -0
- package/src/widgets/drawer/drawer.module.css +141 -0
- package/src/widgets/drawer/drawer.tsx +98 -0
- package/src/widgets/drawer/motionDomAnimation.ts +5 -0
- package/src/widgets/drawer/motionDomMax.ts +5 -0
- package/src/widgets/modal/modal-actions.tsx +31 -0
- package/src/widgets/modal/modal-container.tsx +31 -0
- package/src/widgets/modal/modal-content.tsx +31 -0
- package/src/widgets/modal/modal-header.tsx +28 -0
- package/src/widgets/modal/modal.module.css +127 -0
- package/src/widgets/modal/modal.tsx +88 -0
- package/src/widgets/modal/motionDomAnimation.ts +5 -0
- package/src/widgets/modal/motionDomMax.ts +5 -0
- package/src/widgets/search/index.ts +1 -0
- package/src/widgets/search/search.tsx +187 -0
- package/src/widgets/timeline/timeline.module.css +102 -0
- package/src/widgets/timeline/timeline.tsx +177 -0
|
@@ -0,0 +1,466 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Based on Tailwind reset / preflight
|
|
3
|
+
* If used in a tailwind project, turn preflight off.
|
|
4
|
+
* Copyright (c) Tailwind Labs, Inc.
|
|
5
|
+
*/
|
|
6
|
+
@layer byline-base {
|
|
7
|
+
/*
|
|
8
|
+
1. Prevent padding and border from affecting element width. (https: //github.com/mozdevs/cssremedy/issues/4)
|
|
9
|
+
2. Allow adding a border to an element by just adding a border-width. (https: //github.com/tailwindcss/tailwindcss/pull/116)
|
|
10
|
+
|
|
11
|
+
*/
|
|
12
|
+
*,
|
|
13
|
+
::before,
|
|
14
|
+
::after {
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
/* 1 */
|
|
17
|
+
border-width: 0;
|
|
18
|
+
/* 2 */
|
|
19
|
+
border-style: solid;
|
|
20
|
+
/* 2 */
|
|
21
|
+
border-color: #e5e7eb;
|
|
22
|
+
/* 2 */
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
::before,
|
|
26
|
+
::after {
|
|
27
|
+
--tw-content: "";
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/*
|
|
31
|
+
1. Use a consistent sensible line-height in all browsers.
|
|
32
|
+
2. Prevent adjustments of font size after orientation changes in iOS.
|
|
33
|
+
3. Use a more readable tab size.
|
|
34
|
+
4. Use the user's configured `sans` font-family by default.
|
|
35
|
+
5. Use the user's configured `sans` font-feature-settings by default.
|
|
36
|
+
6. Use the user's configured `sans` font-variation-settings by default.
|
|
37
|
+
7. Disable tap highlights on iOS
|
|
38
|
+
*/
|
|
39
|
+
|
|
40
|
+
html,
|
|
41
|
+
:host {
|
|
42
|
+
scroll-behavior: smooth;
|
|
43
|
+
|
|
44
|
+
line-height: 1.5;
|
|
45
|
+
/* 1 */
|
|
46
|
+
-webkit-text-size-adjust: 100%;
|
|
47
|
+
/* 2 */
|
|
48
|
+
-moz-tab-size: 4;
|
|
49
|
+
/* 3 */
|
|
50
|
+
-o-tab-size: 4;
|
|
51
|
+
tab-size: 4;
|
|
52
|
+
/* 3 */
|
|
53
|
+
font-family:
|
|
54
|
+
Inter, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
|
55
|
+
"Segoe UI Symbol", "Noto Color Emoji";
|
|
56
|
+
/* 4 */
|
|
57
|
+
font-feature-settings: normal;
|
|
58
|
+
/* 5 */
|
|
59
|
+
font-variation-settings: normal;
|
|
60
|
+
/* 6 */
|
|
61
|
+
-webkit-tap-highlight-color: transparent;
|
|
62
|
+
/* 7 */
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/*
|
|
66
|
+
1. Remove the margin in all browsers.
|
|
67
|
+
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
|
|
68
|
+
*/
|
|
69
|
+
|
|
70
|
+
body {
|
|
71
|
+
margin: 0;
|
|
72
|
+
/* 1 */
|
|
73
|
+
line-height: inherit;
|
|
74
|
+
/* 2 */
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/*
|
|
78
|
+
1. Add the correct height in Firefox.
|
|
79
|
+
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
80
|
+
3. Ensure horizontal rules are visible by default.
|
|
81
|
+
*/
|
|
82
|
+
|
|
83
|
+
hr {
|
|
84
|
+
height: 0;
|
|
85
|
+
/* 1 */
|
|
86
|
+
color: inherit;
|
|
87
|
+
/* 2 */
|
|
88
|
+
border-top-width: 1px;
|
|
89
|
+
/* 3 */
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/*
|
|
93
|
+
Add the correct text decoration in Chrome, Edge, and Safari.
|
|
94
|
+
*/
|
|
95
|
+
|
|
96
|
+
abbr:where([title]) {
|
|
97
|
+
-webkit-text-decoration: underline dotted;
|
|
98
|
+
text-decoration: underline dotted;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/*
|
|
102
|
+
Remove the default font size and weight for headings.
|
|
103
|
+
*/
|
|
104
|
+
|
|
105
|
+
h1,
|
|
106
|
+
h2,
|
|
107
|
+
h3,
|
|
108
|
+
h4,
|
|
109
|
+
h5,
|
|
110
|
+
h6 {
|
|
111
|
+
font-size: inherit;
|
|
112
|
+
font-weight: inherit;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/*
|
|
116
|
+
Reset links to optimize for opt-in styling instead of opt-out.
|
|
117
|
+
*/
|
|
118
|
+
|
|
119
|
+
a {
|
|
120
|
+
color: inherit;
|
|
121
|
+
text-decoration: inherit;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/*
|
|
125
|
+
Add the correct font weight in Edge and Safari.
|
|
126
|
+
*/
|
|
127
|
+
|
|
128
|
+
b,
|
|
129
|
+
strong {
|
|
130
|
+
font-weight: bolder;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/*
|
|
134
|
+
1. Use the user's configured `mono` font-family by default.
|
|
135
|
+
2. Use the user's configured `mono` font-feature-settings by default.
|
|
136
|
+
3. Use the user's configured `mono` font-variation-settings by default.
|
|
137
|
+
4. Correct the odd `em` font sizing in all browsers.
|
|
138
|
+
*/
|
|
139
|
+
|
|
140
|
+
code,
|
|
141
|
+
kbd,
|
|
142
|
+
samp,
|
|
143
|
+
pre {
|
|
144
|
+
font-family:
|
|
145
|
+
"Source Code Pro", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
146
|
+
"Courier New", monospace;
|
|
147
|
+
/* 1 */
|
|
148
|
+
font-feature-settings: normal;
|
|
149
|
+
/* 2 */
|
|
150
|
+
font-variation-settings: normal;
|
|
151
|
+
/* 3 */
|
|
152
|
+
font-size: 1em;
|
|
153
|
+
/* 4 */
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/*
|
|
157
|
+
Add the correct font size in all browsers.
|
|
158
|
+
*/
|
|
159
|
+
|
|
160
|
+
small {
|
|
161
|
+
font-size: 80%;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/*
|
|
165
|
+
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
|
|
166
|
+
*/
|
|
167
|
+
|
|
168
|
+
sub,
|
|
169
|
+
sup {
|
|
170
|
+
font-size: 75%;
|
|
171
|
+
line-height: 0;
|
|
172
|
+
position: relative;
|
|
173
|
+
vertical-align: baseline;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
sub {
|
|
177
|
+
bottom: -0.25em;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
sup {
|
|
181
|
+
top: -0.5em;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/*
|
|
185
|
+
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
|
186
|
+
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
187
|
+
3. Remove gaps between table borders by default.
|
|
188
|
+
*/
|
|
189
|
+
|
|
190
|
+
table {
|
|
191
|
+
text-indent: 0;
|
|
192
|
+
/* 1 */
|
|
193
|
+
border-color: inherit;
|
|
194
|
+
/* 2 */
|
|
195
|
+
border-collapse: collapse;
|
|
196
|
+
/* 3 */
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/*
|
|
200
|
+
1. Change the font styles in all browsers.
|
|
201
|
+
2. Remove the margin in Firefox and Safari.
|
|
202
|
+
3. Remove default padding in all browsers.
|
|
203
|
+
*/
|
|
204
|
+
|
|
205
|
+
button,
|
|
206
|
+
input,
|
|
207
|
+
optgroup,
|
|
208
|
+
select,
|
|
209
|
+
textarea {
|
|
210
|
+
font-family: inherit;
|
|
211
|
+
/* 1 */
|
|
212
|
+
font-feature-settings: inherit;
|
|
213
|
+
/* 1 */
|
|
214
|
+
font-variation-settings: inherit;
|
|
215
|
+
/* 1 */
|
|
216
|
+
font-size: 100%;
|
|
217
|
+
/* 1 */
|
|
218
|
+
font-weight: inherit;
|
|
219
|
+
/* 1 */
|
|
220
|
+
line-height: inherit;
|
|
221
|
+
/* 1 */
|
|
222
|
+
letter-spacing: inherit;
|
|
223
|
+
/* 1 */
|
|
224
|
+
color: inherit;
|
|
225
|
+
/* 1 */
|
|
226
|
+
margin: 0;
|
|
227
|
+
/* 2 */
|
|
228
|
+
padding: 0;
|
|
229
|
+
/* 3 */
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/*
|
|
233
|
+
* Remove the inheritance of text transform in Edge and Firefox.
|
|
234
|
+
*/
|
|
235
|
+
|
|
236
|
+
button,
|
|
237
|
+
select {
|
|
238
|
+
text-transform: none;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/*
|
|
242
|
+
1. Correct the inability to style clickable types in iOS and Safari.
|
|
243
|
+
2. Remove default button styles.
|
|
244
|
+
*/
|
|
245
|
+
|
|
246
|
+
button,
|
|
247
|
+
input:where([type="button"]),
|
|
248
|
+
input:where([type="reset"]),
|
|
249
|
+
input:where([type="submit"]) {
|
|
250
|
+
-webkit-appearance: button;
|
|
251
|
+
/* 1 */
|
|
252
|
+
background-color: transparent;
|
|
253
|
+
/* 2 */
|
|
254
|
+
background-image: none;
|
|
255
|
+
/* 2 */
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/*
|
|
259
|
+
Use the modern Firefox focus style for all focusable elements.
|
|
260
|
+
*/
|
|
261
|
+
|
|
262
|
+
:-moz-focusring {
|
|
263
|
+
outline: auto;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
/*
|
|
267
|
+
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
|
|
268
|
+
*/
|
|
269
|
+
|
|
270
|
+
:-moz-ui-invalid {
|
|
271
|
+
box-shadow: none;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/*
|
|
275
|
+
Add the correct vertical alignment in Chrome and Firefox.
|
|
276
|
+
*/
|
|
277
|
+
|
|
278
|
+
progress {
|
|
279
|
+
vertical-align: baseline;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/*
|
|
283
|
+
Correct the cursor style of increment and decrement buttons in Safari.
|
|
284
|
+
*/
|
|
285
|
+
|
|
286
|
+
::-webkit-inner-spin-button,
|
|
287
|
+
::-webkit-outer-spin-button {
|
|
288
|
+
height: auto;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/*
|
|
292
|
+
1. Correct the odd appearance in Chrome and Safari.
|
|
293
|
+
2. Correct the outline style in Safari.
|
|
294
|
+
*/
|
|
295
|
+
|
|
296
|
+
[type="search"] {
|
|
297
|
+
-webkit-appearance: textfield;
|
|
298
|
+
/* 1 */
|
|
299
|
+
outline-offset: -2px;
|
|
300
|
+
/* 2 */
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/*
|
|
304
|
+
Remove the inner padding in Chrome and Safari on macOS.
|
|
305
|
+
*/
|
|
306
|
+
|
|
307
|
+
::-webkit-search-decoration {
|
|
308
|
+
-webkit-appearance: none;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/*
|
|
312
|
+
1. Correct the inability to style clickable types in iOS and Safari.
|
|
313
|
+
2. Change font properties to `inherit` in Safari.
|
|
314
|
+
*/
|
|
315
|
+
|
|
316
|
+
::-webkit-file-upload-button {
|
|
317
|
+
-webkit-appearance: button;
|
|
318
|
+
/* 1 */
|
|
319
|
+
font: inherit;
|
|
320
|
+
/* 2 */
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
/*
|
|
324
|
+
Add the correct display in Chrome and Safari.
|
|
325
|
+
*/
|
|
326
|
+
|
|
327
|
+
summary {
|
|
328
|
+
display: list-item;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/*
|
|
332
|
+
Removes the default spacing and border for appropriate elements.
|
|
333
|
+
*/
|
|
334
|
+
|
|
335
|
+
blockquote,
|
|
336
|
+
dl,
|
|
337
|
+
dd,
|
|
338
|
+
h1,
|
|
339
|
+
h2,
|
|
340
|
+
h3,
|
|
341
|
+
h4,
|
|
342
|
+
h5,
|
|
343
|
+
h6,
|
|
344
|
+
hr,
|
|
345
|
+
figure,
|
|
346
|
+
p,
|
|
347
|
+
pre {
|
|
348
|
+
margin: 0;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
fieldset {
|
|
352
|
+
margin: 0;
|
|
353
|
+
padding: 0;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
legend {
|
|
357
|
+
padding: 0;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
ol,
|
|
361
|
+
ul,
|
|
362
|
+
menu {
|
|
363
|
+
list-style: none;
|
|
364
|
+
margin: 0;
|
|
365
|
+
padding: 0;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
/*
|
|
369
|
+
Reset default styling for dialogs.
|
|
370
|
+
*/
|
|
371
|
+
dialog {
|
|
372
|
+
padding: 0;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
/*
|
|
376
|
+
Prevent resizing textareas horizontally by default.
|
|
377
|
+
*/
|
|
378
|
+
|
|
379
|
+
textarea {
|
|
380
|
+
resize: vertical;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
/*
|
|
384
|
+
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
|
|
385
|
+
2. Set the default placeholder color to the user's configured gray 400 color.
|
|
386
|
+
*/
|
|
387
|
+
|
|
388
|
+
input::-moz-placeholder,
|
|
389
|
+
textarea::-moz-placeholder {
|
|
390
|
+
opacity: 1;
|
|
391
|
+
/* 1 */
|
|
392
|
+
color: #9ca3af;
|
|
393
|
+
/* 2 */
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
input::placeholder,
|
|
397
|
+
textarea::placeholder {
|
|
398
|
+
opacity: 1;
|
|
399
|
+
/* 1 */
|
|
400
|
+
color: #9ca3af;
|
|
401
|
+
/* 2 */
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
/*
|
|
405
|
+
Set the default cursor for buttons.
|
|
406
|
+
*/
|
|
407
|
+
|
|
408
|
+
button,
|
|
409
|
+
[role="button"] {
|
|
410
|
+
cursor: pointer;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
/*
|
|
414
|
+
Make sure disabled buttons don't get the pointer cursor.
|
|
415
|
+
*/
|
|
416
|
+
:disabled {
|
|
417
|
+
cursor: default;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
/*
|
|
421
|
+
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
422
|
+
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
423
|
+
This can trigger a poorly considered lint error in some tools but is included by design.
|
|
424
|
+
*/
|
|
425
|
+
|
|
426
|
+
img,
|
|
427
|
+
svg,
|
|
428
|
+
video,
|
|
429
|
+
canvas,
|
|
430
|
+
audio,
|
|
431
|
+
iframe,
|
|
432
|
+
embed,
|
|
433
|
+
object {
|
|
434
|
+
display: block;
|
|
435
|
+
/* 1 */
|
|
436
|
+
vertical-align: middle;
|
|
437
|
+
/* 2 */
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
/*
|
|
441
|
+
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
442
|
+
*/
|
|
443
|
+
|
|
444
|
+
img,
|
|
445
|
+
video {
|
|
446
|
+
max-width: 100%;
|
|
447
|
+
height: auto;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/* Make elements with the HTML hidden attribute stay hidden by default */
|
|
451
|
+
[hidden]:where(:not([hidden="until-found"])) {
|
|
452
|
+
display: none;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
/* Remove all animations and transitions for people that prefer not to see them */
|
|
456
|
+
@media (prefers-reduced-motion: reduce) {
|
|
457
|
+
*,
|
|
458
|
+
*::before,
|
|
459
|
+
*::after {
|
|
460
|
+
animation-duration: 0.01ms;
|
|
461
|
+
animation-iteration-count: 1;
|
|
462
|
+
transition-duration: 0.01ms;
|
|
463
|
+
scroll-behavior: auto;
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@layer byline-base,
|
|
2
|
+
byline-functional,
|
|
3
|
+
byline-utilities,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-typography,
|
|
6
|
+
byline-components;
|
|
7
|
+
|
|
8
|
+
@import "./base/base.css";
|
|
9
|
+
@import "./functional/functional.css";
|
|
10
|
+
@import "./utils/utils.css";
|
|
11
|
+
@import "./theme/theme.css";
|
|
12
|
+
@import "./components/components.css";
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
@layer byline-theme {
|
|
2
|
+
/* input:-webkit-autofill, input:autofill,
|
|
3
|
+
input:-webkit-autofill:hover, input:autofill:hover,
|
|
4
|
+
input:-webkit-autofill:focus, input:autofill:focus,
|
|
5
|
+
textarea:-webkit-autofill, textarea:autofill,
|
|
6
|
+
textarea:-webkit-autofill:hover,textarea:autofill:hover,
|
|
7
|
+
textarea:-webkit-autofill:focus,textarea:autofill:focus,
|
|
8
|
+
select:-webkit-autofill, select:autofill,
|
|
9
|
+
select:-webkit-autofill:hover,select:autofill:hover,
|
|
10
|
+
select:-webkit-autofill:focus, select:autofill:focus {
|
|
11
|
+
border: none;
|
|
12
|
+
-webkit-text-fill-color: #ffb74d !important;
|
|
13
|
+
-webkit-box-shadow: none !important;
|
|
14
|
+
transition: background-color 5000s ease-in-out 0s;
|
|
15
|
+
} */
|
|
16
|
+
|
|
17
|
+
input:autofill,
|
|
18
|
+
input:autofill:hover,
|
|
19
|
+
input:autofill:focus,
|
|
20
|
+
textarea:autofill,
|
|
21
|
+
textarea:autofill:hover,
|
|
22
|
+
textarea:autofill:focus,
|
|
23
|
+
select:autofill,
|
|
24
|
+
select:autofill:hover,
|
|
25
|
+
select:autofill:focus {
|
|
26
|
+
border: 1px solid #d89d3d;
|
|
27
|
+
-webkit-text-fill-color: black;
|
|
28
|
+
-webkit-box-shadow: 0 0 0px 1000px #fff2dc inset;
|
|
29
|
+
box-shadow: 0 0 0px 1000px #fff2dc inset;
|
|
30
|
+
transition: background-color 5000s ease-in-out 0s;
|
|
31
|
+
color: black;
|
|
32
|
+
background-color: rgb(250, 217, 167);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* 🌙 Dark via `.dark` class or [data-theme="dark"] attribute.
|
|
36
|
+
* We rely on the consuming application to detect a user's preferred
|
|
37
|
+
* color scheme - either by header or cookie, and set a root html
|
|
38
|
+
* class or data attribute accordingly.
|
|
39
|
+
*/
|
|
40
|
+
|
|
41
|
+
.dark input:autofill,
|
|
42
|
+
.dark input:autofill:hover,
|
|
43
|
+
.dark input:autofill:focus,
|
|
44
|
+
.dark textarea:autofill,
|
|
45
|
+
.dark textarea:autofill:hover,
|
|
46
|
+
.dark textarea:autofill:focus,
|
|
47
|
+
.dark select:autofill,
|
|
48
|
+
.dark select:autofill:hover,
|
|
49
|
+
.dark select:autofill:focus,
|
|
50
|
+
[data-theme="dark"] input:autofill,
|
|
51
|
+
[data-theme="dark"] input:autofill:hover,
|
|
52
|
+
[data-theme="dark"] input:autofill:focus,
|
|
53
|
+
[data-theme="dark"] textarea:autofill,
|
|
54
|
+
[data-theme="dark"] textarea:autofill:hover,
|
|
55
|
+
[data-theme="dark"] textarea:autofill:focus,
|
|
56
|
+
[data-theme="dark"] select:autofill,
|
|
57
|
+
[data-theme="dark"] select:autofill:hover,
|
|
58
|
+
[data-theme="dark"] select:autofill:focus {
|
|
59
|
+
border: 1px solid var(--theme-600);
|
|
60
|
+
-webkit-text-fill-color: white;
|
|
61
|
+
-webkit-box-shadow: 0 0 0px 1000px var(--theme-600) inset;
|
|
62
|
+
box-shadow: 0 0 0px 1000px var(--theme-600) inset;
|
|
63
|
+
transition: background-color 5000s ease-in-out 0s;
|
|
64
|
+
color: white;
|
|
65
|
+
background-color: rgba(100, 100, 100, 0.5);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HTML ELEMENT DEFAULTS
|
|
3
|
+
*
|
|
4
|
+
* Opinionated starter styles for HTML elements to provide sensible defaults
|
|
5
|
+
* for new installations. These live in the byline-theme layer and are
|
|
6
|
+
* easily overridden by consuming applications.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
@layer byline-theme {
|
|
10
|
+
html {
|
|
11
|
+
font-size: 1rem;
|
|
12
|
+
color: var(--text);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* Redeclared here to change the specificity and scope of --prose-body */
|
|
16
|
+
html .not-dark {
|
|
17
|
+
color: var(--text);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* Default (light mode) */
|
|
21
|
+
::selection {
|
|
22
|
+
background-color: var(--theme-600);
|
|
23
|
+
color: white;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* Dark mode */
|
|
27
|
+
.dark ::selection,
|
|
28
|
+
[data-theme="dark"] ::selection {
|
|
29
|
+
background-color: var(--theme-200);
|
|
30
|
+
color: var(--gray-900);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* Headings */
|
|
34
|
+
h1 {
|
|
35
|
+
font-size: 1.75rem;
|
|
36
|
+
font-weight: 600;
|
|
37
|
+
line-height: 1.125;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
h2 {
|
|
41
|
+
font-size: 1.5rem;
|
|
42
|
+
font-weight: 600;
|
|
43
|
+
line-height: 1.125;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
h3 {
|
|
47
|
+
font-size: 1.25rem;
|
|
48
|
+
font-weight: 600;
|
|
49
|
+
line-height: 1.1;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
h4 {
|
|
53
|
+
font-size: 1rem;
|
|
54
|
+
font-weight: 600;
|
|
55
|
+
line-height: 1.1;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* External link indicator */
|
|
59
|
+
.external-link::after {
|
|
60
|
+
content: "";
|
|
61
|
+
display: inline-block;
|
|
62
|
+
background-image: url("/external-link-light.svg");
|
|
63
|
+
background-repeat: no-repeat;
|
|
64
|
+
background-position: 20% 50%;
|
|
65
|
+
background-size: 65% auto;
|
|
66
|
+
width: 1.1rem;
|
|
67
|
+
height: 1.1rem;
|
|
68
|
+
margin-right: -5px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.dark .external-link::after,
|
|
72
|
+
[data-theme="dark"] .external-link::after {
|
|
73
|
+
background-image: url("/external-link-dark.svg");
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
@layer byline-theme {
|
|
2
|
+
:root {
|
|
3
|
+
--scroll-bar-thumb: var(--theme-400);
|
|
4
|
+
--scroll-bar-track: var(--theme-600);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
/* rgb(44, 47, 86) = theme secondary 900 */
|
|
8
|
+
:root.dark,
|
|
9
|
+
:root[data-theme="dark"] {
|
|
10
|
+
--scroll-bar-thumb: var(--canvas-700);
|
|
11
|
+
--scroll-bar-track: var(--canvas-900);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* For Google Chrome */
|
|
15
|
+
::-webkit-scrollbar {
|
|
16
|
+
width: 0.6em;
|
|
17
|
+
height: 0.6em;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
::-webkit-scrollbar-thumb {
|
|
21
|
+
background: var(--scroll-bar-thumb);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
::-webkit-scrollbar-track {
|
|
25
|
+
background: var(--scroll-bar-track);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
::-webkit-scrollbar-corner {
|
|
29
|
+
background: var(--scroll-bar-track);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* Firefox */
|
|
33
|
+
html {
|
|
34
|
+
scrollbar-width: thin;
|
|
35
|
+
scrollbar-color: var(--scroll-bar-thumb) var(--scroll-bar-track);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.component--scroller {
|
|
39
|
+
--scroll-bar-thumb: var(--scroll-bar-thumb);
|
|
40
|
+
--scroll-bar-track: var(--scroll-bar-track);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.dark .component--scroller,
|
|
44
|
+
[data-theme="dark"] .component--scroller {
|
|
45
|
+
--scroll-bar-thumb: var(--scroll-bar-thumb);
|
|
46
|
+
--scroll-bar-track: var(--scroll-bar-track);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.component--scroller {
|
|
50
|
+
overflow-y: auto;
|
|
51
|
+
scrollbar-width: thin;
|
|
52
|
+
scrollbar-color: var(--scroll-bar-thumb) var(--scroll-bar-track);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THEME
|
|
3
|
+
*
|
|
4
|
+
* This file now primarily serves as a convenient import aggregator for
|
|
5
|
+
* theme-related concerns: autofill behavior, scrollbar styling, and
|
|
6
|
+
* HTML element defaults.
|
|
7
|
+
*
|
|
8
|
+
* CSS variable definitions have been moved to functional token files:
|
|
9
|
+
* - functional/surfaces.css (backgrounds, shadows, loader)
|
|
10
|
+
* - functional/typography-tokens.css (text, headings, muted)
|
|
11
|
+
* - functional/borders.css (border colors)
|
|
12
|
+
* - functional/colors.css (intent-based color tokens)
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
@import "./autofill.css";
|
|
16
|
+
@import "./scrollers.css";
|
|
17
|
+
@import "./defaults.css";
|