@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,21 @@
|
|
|
1
|
+
@layer byline-base, byline-functional, byline-utilities, byline-theme, byline-typography;
|
|
2
|
+
|
|
3
|
+
@layer byline-components {
|
|
4
|
+
:is(.text-DoybHX, .infonomic-error-text) {
|
|
5
|
+
color: var(--text-danger);
|
|
6
|
+
font-size: .875rem;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
:is(.sm-qLUSGk, .infonomic-error-text-sm) {
|
|
10
|
+
font-size: .85rem;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
:is(.md-Ov9z3C, .infonomic-error-text-md) {
|
|
14
|
+
font-size: .875rem;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:is(.lg-JCKzCI, .infonomic-error-text-lg) {
|
|
18
|
+
font-size: .9rem;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE: Not currently used
|
|
3
|
+
* Adapted from https://remix-forms.seasoned.cc/conf/07
|
|
4
|
+
*/
|
|
5
|
+
export declare function Error(props: React.JSX.IntrinsicElements['div']): React.JSX.Element;
|
|
6
|
+
export declare function ServerError({ name, errors, }: {
|
|
7
|
+
name: string;
|
|
8
|
+
errors: any;
|
|
9
|
+
}): React.JSX.Element | null;
|
|
10
|
+
export declare function FieldError({ name, errors }: {
|
|
11
|
+
name: string;
|
|
12
|
+
errors: any;
|
|
13
|
+
}): React.JSX.Element;
|
|
14
|
+
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/errors.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAOH,wBAAgB,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAElF;AAED,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,MAAM,GACP,EAAE;IACD,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,GAAG,CAAA;CACZ,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CAQ3B;AAED,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,GAAG,CAAA;CAAE,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAM7F"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
function Error(props) {
|
|
3
|
+
return /*#__PURE__*/ jsx("div", {
|
|
4
|
+
...props,
|
|
5
|
+
className: "mt-1 text-red-700",
|
|
6
|
+
role: "alert"
|
|
7
|
+
});
|
|
8
|
+
}
|
|
9
|
+
function ServerError({ name, errors }) {
|
|
10
|
+
if (null != errors) {
|
|
11
|
+
const error = errors[name];
|
|
12
|
+
return error?._errors != null ? /*#__PURE__*/ jsx(Error, {
|
|
13
|
+
id: `error-for-${name}`,
|
|
14
|
+
children: error._errors.join(' ')
|
|
15
|
+
}) : null;
|
|
16
|
+
}
|
|
17
|
+
return null;
|
|
18
|
+
}
|
|
19
|
+
function FieldError({ name, errors }) {
|
|
20
|
+
const message = errors[name]?.message;
|
|
21
|
+
if (null != message) return /*#__PURE__*/ jsx(Error, {
|
|
22
|
+
id: `error-for-${name}`,
|
|
23
|
+
children: message
|
|
24
|
+
});
|
|
25
|
+
return /*#__PURE__*/ jsx(ServerError, {
|
|
26
|
+
name: name,
|
|
27
|
+
errors: errors
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
export { Error, FieldError, ServerError };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
interface HelpTextProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
size?: 'sm' | 'md' | 'lg';
|
|
5
|
+
text: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function HelpText({ className, size, text }: HelpTextProps): React.JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=help-text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"help-text.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/help-text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B,UAAU,aAAa;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,IAAI,EAAE,MAAM,CAAA;CACb;AAED,wBAAgB,QAAQ,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,aAAa,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAMpF"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import classnames from "classnames";
|
|
3
|
+
import help_text_module from "./help-text.module.js";
|
|
4
|
+
function HelpText({ className, size, text }) {
|
|
5
|
+
return /*#__PURE__*/ jsx("p", {
|
|
6
|
+
className: classnames('infonomic-help-text', help_text_module.text, size && help_text_module[size], className),
|
|
7
|
+
children: text
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
export { HelpText };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@layer byline-base, byline-functional, byline-utilities, byline-theme, byline-typography;
|
|
2
|
+
|
|
3
|
+
@layer byline-components {
|
|
4
|
+
:is(.text-tefb0a, .infonomic-help-text) {
|
|
5
|
+
color: var(--muted);
|
|
6
|
+
font-size: .875rem;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
:is(.sm-nWkN9c, .infonomic-help-text-sm) {
|
|
10
|
+
font-size: .85rem;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
:is(.md-hbw9In, .infonomic-help-text-md) {
|
|
14
|
+
font-size: .875rem;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:is(.lg-awNcfh, .infonomic-help-text-lg) {
|
|
18
|
+
font-size: .9rem;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./autocomplete.js";
|
|
2
|
+
export * from "./checkbox.js";
|
|
3
|
+
export * from "./help-text.js";
|
|
4
|
+
export * from "./input.js";
|
|
5
|
+
export * from "./input-adornment.js";
|
|
6
|
+
export * from "./label.js";
|
|
7
|
+
export * from "./select.js";
|
|
8
|
+
export * from "./text-area.js";
|
|
9
|
+
export * from "./utils.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
type InputAdornmentIntrinsicProps = React.JSX.IntrinsicElements['div'];
|
|
3
|
+
export interface InputAdornmentProps extends InputAdornmentIntrinsicProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
position?: 'start' | 'end';
|
|
6
|
+
margins?: boolean;
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export declare function InputAdornment({ position, margins, className, children, ...rest }: InputAdornmentProps): React.JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=input-adornment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-adornment.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/input-adornment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B,KAAK,4BAA4B,GAAG,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAA;AACtE,MAAM,WAAW,mBAAoB,SAAQ,4BAA4B;IACvE,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,GAAG,KAAK,CAAA;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAED,wBAAgB,cAAc,CAAC,EAC7B,QAAkB,EAClB,OAAc,EACd,SAAS,EACT,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,mBAAmB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAgBzC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import classnames from "classnames";
|
|
3
|
+
import input_adornment_module from "./input-adornment.module.js";
|
|
4
|
+
function InputAdornment({ position = 'start', margins = true, className, children, ...rest }) {
|
|
5
|
+
return /*#__PURE__*/ jsx("div", {
|
|
6
|
+
className: classnames('infonomic-input-adornment', `infonomic-input-adornment-${position}`, input_adornment_module.adornment, {
|
|
7
|
+
[input_adornment_module.start]: 'start' === position
|
|
8
|
+
}, {
|
|
9
|
+
[input_adornment_module.end]: 'end' === position
|
|
10
|
+
}, className),
|
|
11
|
+
...rest,
|
|
12
|
+
children: children
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
export { InputAdornment };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@layer byline-base, byline-functional, byline-utilities, byline-theme, byline-typography;
|
|
2
|
+
|
|
3
|
+
@layer byline-components {
|
|
4
|
+
:is(.adornment-JKPOkF, .infonomic-input-adornment) {
|
|
5
|
+
white-space: nowrap;
|
|
6
|
+
align-items: center;
|
|
7
|
+
line-height: 0;
|
|
8
|
+
display: flex;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:is(.start-dXXMnl, .infonomic-input-adornment-start) {
|
|
12
|
+
justify-content: flex-start;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
:is(.end-dUE8qM, .infonomic-input-adornment-end) {
|
|
16
|
+
justify-content: flex-end;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-password.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/input-password.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAE7C,wBAAgB,aAAa,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,+BAgBrD"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useState } from "react";
|
|
3
|
+
import { EyeClosedIcon } from "../../icons/eye-closed-icon.js";
|
|
4
|
+
import { EyeOpenIcon } from "../../icons/eye-open-icon.js";
|
|
5
|
+
import { Input } from "./input.js";
|
|
6
|
+
function InputPassword({ ...props }) {
|
|
7
|
+
const [visible, setVisible] = useState(false);
|
|
8
|
+
return /*#__PURE__*/ jsx(Input, {
|
|
9
|
+
type: visible ? 'text' : 'password',
|
|
10
|
+
endAdornment: visible ? /*#__PURE__*/ jsx(EyeOpenIcon, {
|
|
11
|
+
width: "18px",
|
|
12
|
+
height: "18px",
|
|
13
|
+
onClick: ()=>setVisible(!visible)
|
|
14
|
+
}) : /*#__PURE__*/ jsx(EyeClosedIcon, {
|
|
15
|
+
width: "18px",
|
|
16
|
+
height: "18px",
|
|
17
|
+
onClick: ()=>setVisible(!visible)
|
|
18
|
+
}),
|
|
19
|
+
...props
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
export { InputPassword };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { Intent, Size, Variant } from './@types/input.js';
|
|
3
|
+
import type { InputAdornmentProps } from './input-adornment.jsx';
|
|
4
|
+
export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
label?: string;
|
|
8
|
+
variant?: Variant;
|
|
9
|
+
inputSize?: Size;
|
|
10
|
+
intent?: Intent;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
type?: string;
|
|
13
|
+
placeHolder?: string;
|
|
14
|
+
autoComplete?: string;
|
|
15
|
+
startAdornment?: React.ReactElement<InputAdornmentProps>;
|
|
16
|
+
endAdornment?: React.ReactElement<InputAdornmentProps>;
|
|
17
|
+
error?: boolean;
|
|
18
|
+
helpText?: string;
|
|
19
|
+
errorText?: string;
|
|
20
|
+
className?: string;
|
|
21
|
+
inputWrapperClassName?: string;
|
|
22
|
+
ref?: React.RefCallback<HTMLInputElement | null> | React.RefObject<HTMLInputElement | null>;
|
|
23
|
+
}
|
|
24
|
+
export declare const Input: <_C extends React.ElementType = "input">({ ref, id, name, type, variant, inputSize, intent, required, label, startAdornment, endAdornment, placeHolder, autoComplete, error, helpText, errorText, inputWrapperClassName, className, ...rest }: InputProps) => React.JSX.Element;
|
|
25
|
+
//# sourceMappingURL=input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/input.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,OAAO,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;IAC7E,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,IAAI,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,cAAc,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,mBAAmB,CAAC,CAAA;IACxD,YAAY,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,mBAAmB,CAAC,CAAA;IACtD,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,GAAG,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,GAAG,IAAI,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAA;CAC5F;AAED,eAAO,MAAM,KAAK,GAAI,EAAE,SAAS,KAAK,CAAC,WAAW,GAAG,OAAO,EAAE,sMAoB3D,UAAU,sBAgEZ,CAAA"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import classnames from "classnames";
|
|
4
|
+
import { ErrorText } from "./error-text.js";
|
|
5
|
+
import { HelpText } from "./help-text.js";
|
|
6
|
+
import input_module from "./input.module.js";
|
|
7
|
+
import { Label } from "./label.js";
|
|
8
|
+
const Input = ({ ref, id, name, type = 'text', variant = 'outlined', inputSize = 'md', intent = 'primary', required, label, startAdornment, endAdornment, placeHolder = '', autoComplete = 'off', error = false, helpText = '', errorText = '', inputWrapperClassName, className, ...rest })=>/*#__PURE__*/ jsxs("div", {
|
|
9
|
+
className: classnames('infonomic-input-wrapper', input_module["input-wrapper"], inputWrapperClassName),
|
|
10
|
+
children: [
|
|
11
|
+
null != label && /*#__PURE__*/ jsx(Label, {
|
|
12
|
+
id: id,
|
|
13
|
+
htmlFor: id,
|
|
14
|
+
required: required,
|
|
15
|
+
label: label
|
|
16
|
+
}),
|
|
17
|
+
/*#__PURE__*/ jsxs("div", {
|
|
18
|
+
className: classnames('infonomic-input-container', input_module["input-container"]),
|
|
19
|
+
children: [
|
|
20
|
+
null != startAdornment && /*#__PURE__*/ jsx("div", {
|
|
21
|
+
className: classnames('infonomic-input-start-adornment', input_module["start-adornment"], input_module[variant]),
|
|
22
|
+
children: startAdornment
|
|
23
|
+
}),
|
|
24
|
+
/*#__PURE__*/ jsx("input", {
|
|
25
|
+
ref: ref,
|
|
26
|
+
id: id,
|
|
27
|
+
name: name,
|
|
28
|
+
type: type,
|
|
29
|
+
required: required,
|
|
30
|
+
autoComplete: autoComplete,
|
|
31
|
+
placeholder: placeHolder,
|
|
32
|
+
"aria-labelledby": `label-for-${id}`,
|
|
33
|
+
"aria-invalid": error,
|
|
34
|
+
"aria-required": required,
|
|
35
|
+
"aria-errormessage": errorText,
|
|
36
|
+
"aria-describedby": error ? `error-for-${id}` : void 0,
|
|
37
|
+
className: classnames('infonomic-input', `infonomic-input-${variant}`, `infonomic-input-${inputSize}`, `infonomic-input-${intent}`, input_module.input, input_module[variant], input_module[inputSize], input_module[intent], {
|
|
38
|
+
[input_module["start-adornment-padding"]]: null != startAdornment
|
|
39
|
+
}, {
|
|
40
|
+
[input_module["end-adornment-padding"]]: null != endAdornment
|
|
41
|
+
}, {
|
|
42
|
+
[input_module.error]: error
|
|
43
|
+
}, className),
|
|
44
|
+
...rest
|
|
45
|
+
}),
|
|
46
|
+
null != endAdornment && /*#__PURE__*/ jsx("div", {
|
|
47
|
+
className: classnames('infonomic-input-end-adornment', input_module["end-adornment"], input_module[variant]),
|
|
48
|
+
children: endAdornment
|
|
49
|
+
})
|
|
50
|
+
]
|
|
51
|
+
}),
|
|
52
|
+
error ? /*#__PURE__*/ jsx(ErrorText, {
|
|
53
|
+
id: `error-for-${id}`,
|
|
54
|
+
size: inputSize,
|
|
55
|
+
text: errorText ?? helpText
|
|
56
|
+
}) : helpText?.length > 0 && /*#__PURE__*/ jsx(HelpText, {
|
|
57
|
+
size: inputSize,
|
|
58
|
+
text: helpText
|
|
59
|
+
})
|
|
60
|
+
]
|
|
61
|
+
});
|
|
62
|
+
export { Input };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import "./input_module.css";
|
|
2
|
+
const input_module = {
|
|
3
|
+
"input-wrapper": "input-wrapper-OJAKML",
|
|
4
|
+
inputWrapper: "input-wrapper-OJAKML",
|
|
5
|
+
"input-container": "input-container-bU4yD2",
|
|
6
|
+
inputContainer: "input-container-bU4yD2",
|
|
7
|
+
input: "input-IWjcip",
|
|
8
|
+
label: "label-zIFfZp",
|
|
9
|
+
sm: "sm-ZFjgnI",
|
|
10
|
+
md: "md-unbc45",
|
|
11
|
+
lg: "lg-gpW386",
|
|
12
|
+
"start-adornment": "start-adornment-PjWsd5",
|
|
13
|
+
startAdornment: "start-adornment-PjWsd5",
|
|
14
|
+
"end-adornment": "end-adornment-xFqztV",
|
|
15
|
+
endAdornment: "end-adornment-xFqztV",
|
|
16
|
+
"help-text": "help-text-aFXa9e",
|
|
17
|
+
helpText: "help-text-aFXa9e",
|
|
18
|
+
outlined: "outlined-jwv7LI",
|
|
19
|
+
underlined: "underlined-CSLRKX",
|
|
20
|
+
filled: "filled-zNQ9B3",
|
|
21
|
+
error: "error-FQ2_hh",
|
|
22
|
+
"start-adornment-padding": "start-adornment-padding-ya34Ht",
|
|
23
|
+
startAdornmentPadding: "start-adornment-padding-ya34Ht",
|
|
24
|
+
"end-adornment-padding": "end-adornment-padding-dYaxaB",
|
|
25
|
+
endAdornmentPadding: "end-adornment-padding-dYaxaB",
|
|
26
|
+
primary: "primary-SHCX1n",
|
|
27
|
+
secondary: "secondary-ykH7ET",
|
|
28
|
+
noeffect: "noeffect-aujnaG",
|
|
29
|
+
success: "success-VsDfv9",
|
|
30
|
+
info: "info-ogHmno",
|
|
31
|
+
warning: "warning-FQYlHl",
|
|
32
|
+
danger: "danger-patit2"
|
|
33
|
+
};
|
|
34
|
+
export default input_module;
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
@layer byline-base, byline-functional, byline-utilities, byline-theme, byline-typography;
|
|
2
|
+
|
|
3
|
+
@layer byline-components {
|
|
4
|
+
:is(.input-wrapper-OJAKML, .infonomic-input-wrapper) {
|
|
5
|
+
gap: var(--gap-1);
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
display: flex;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
:is(.input-container-bU4yD2, .infonomic-input-container) {
|
|
11
|
+
align-items: center;
|
|
12
|
+
gap: var(--gap-2);
|
|
13
|
+
width: 100%;
|
|
14
|
+
padding: 0;
|
|
15
|
+
display: flex;
|
|
16
|
+
position: relative;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:is(.input-IWjcip, .infonomic-input) {
|
|
20
|
+
outline-offset: 2px;
|
|
21
|
+
gap: var(--gap-2);
|
|
22
|
+
width: 100%;
|
|
23
|
+
transition: all var(--transition-normal);
|
|
24
|
+
border-radius: var(--border-radius-sm);
|
|
25
|
+
border: none;
|
|
26
|
+
outline: 1px solid #0000;
|
|
27
|
+
align-items: center;
|
|
28
|
+
font-weight: normal;
|
|
29
|
+
display: inline-flex;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:is(.input-IWjcip:focus, .input-IWjcip:active, .infonomic-input:focus, .infonomic-input:active) {
|
|
33
|
+
outline-color: var(--ring-color);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
:is(.input-IWjcip:disabled, .input-IWjcip[disabled], .infonomic-input:disabled, .infonomic-input[disabled]) {
|
|
37
|
+
pointer-events: none;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:is(.label-zIFfZp, .infonomic-input-label) {
|
|
41
|
+
color: var(--label-color);
|
|
42
|
+
font-size: .875rem;
|
|
43
|
+
font-weight: 500;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
:is(.sm-ZFjgnI, .infonomic-input-sm) {
|
|
47
|
+
min-height: 32px;
|
|
48
|
+
padding: .25rem .5rem;
|
|
49
|
+
font-size: .875rem;
|
|
50
|
+
line-height: 0;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
:is(.md-unbc45, .infonomic-input-md) {
|
|
54
|
+
min-height: 36px;
|
|
55
|
+
padding: .3rem .5rem;
|
|
56
|
+
font-size: 1rem;
|
|
57
|
+
line-height: 0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
:is(.lg-gpW386, .infonomic-input-lg) {
|
|
61
|
+
min-height: 40px;
|
|
62
|
+
padding: .4rem .5rem;
|
|
63
|
+
font-size: 1.175rem;
|
|
64
|
+
line-height: 0;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
:is(.start-adornment-PjWsd5, .end-adornment-xFqztV, .infonomic-input-start-adornment, .infonomic-input-end-adornment) {
|
|
68
|
+
align-items: center;
|
|
69
|
+
display: flex;
|
|
70
|
+
position: absolute;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
:is(.start-adornment-PjWsd5, .infonomic-input-start-adornment) {
|
|
74
|
+
left: 5px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
:is(.end-adornment-xFqztV, .infonomic-input-end-adornment) {
|
|
78
|
+
right: 5px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
:is(.help-text-aFXa9e, .infonomic-input-help-text) {
|
|
82
|
+
color: var(--help-text-color);
|
|
83
|
+
font-size: .75rem;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
:is(.outlined-jwv7LI, .infonomic-input-outlined) {
|
|
87
|
+
border: 1px solid var(--input-variant-outlined-border);
|
|
88
|
+
background-color: #0000;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
:is(.outlined-jwv7LI:hover, .infonomic-input-outlined:hover) {
|
|
92
|
+
border: 1px solid var(--input-variant-outlined-hover-border);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
:is(.outlined-jwv7LI:focus, .outlined-jwv7LI:active, .infonomic-input-outlined:focus, .infonomic-input-outlined:active) {
|
|
96
|
+
--ring-color: var(--input-variant-outline-ring-color);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
:is(.underlined-CSLRKX, .infonomic-input-underlined) {
|
|
100
|
+
border-bottom: 1px solid var(--input-variant-underlined-border);
|
|
101
|
+
gap: var(--gap-1);
|
|
102
|
+
background-color: var(--input-variant-underlined);
|
|
103
|
+
border-radius: 0;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.underlined-CSLRKX.sm-ZFjgnI {
|
|
107
|
+
min-height: 26px;
|
|
108
|
+
padding: .25rem .1rem;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.infonomic-input-underlined.input-sm {
|
|
112
|
+
min-height: 26px;
|
|
113
|
+
padding: .25rem .1rem;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.underlined-CSLRKX.md-unbc45 {
|
|
117
|
+
min-height: 30px;
|
|
118
|
+
padding: .25rem .1rem;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.infonomic-input-underlined.input-md {
|
|
122
|
+
min-height: 30px;
|
|
123
|
+
padding: .25rem .1rem;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.underlined-CSLRKX.lg-gpW386 {
|
|
127
|
+
min-height: 34px;
|
|
128
|
+
padding: 0 .1rem;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.infonomic-input-underlined.input-lg {
|
|
132
|
+
min-height: 34px;
|
|
133
|
+
padding: 0 .1rem;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
:is(.underlined-CSLRKX:hover, .infonomic-input-underlined:hover) {
|
|
137
|
+
border-bottom: 1px solid var(--input-variant-underlined-hover-border);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
:is(.underlined-CSLRKX:focus, .underlined-CSLRKX:active, .infonomic-input-underlined:focus, .infonomic-input-underlined:active) {
|
|
141
|
+
outline: none;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
:is(.filled-zNQ9B3, .infonomic-input-filled) {
|
|
145
|
+
background-color: var(--input-variant-filled);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
:is(.error-FQ2_hh, .infonomic-input-error), :is(.error-FQ2_hh:hover, .infonomic-input-error:hover) {
|
|
149
|
+
border: 1px solid var(--field-border-invalid);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
:is(.error-FQ2_hh:focus, .error-FQ2_hh:active, .infonomic-input-error:focus, .infonomic-input-error:active) {
|
|
153
|
+
--ring-color: var(--field-ring-invalid);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.underlined-CSLRKX.start-adornment-padding-ya34Ht, .start-adornment-padding-ya34Ht {
|
|
157
|
+
padding-left: 2rem;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.infonomic-input-underlined.input-start-adornment-padding {
|
|
161
|
+
padding-left: 2rem;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.infonomic-input-start-adornment-padding {
|
|
165
|
+
padding-left: 2rem;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.underlined-CSLRKX.end-adornment-padding-dYaxaB, .end-adornment-padding-dYaxaB {
|
|
169
|
+
padding-right: 2rem;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.infonomic-input-underlined.input-end-adornment-padding {
|
|
173
|
+
padding-right: 2rem;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.infonomic-input-end-adornment-padding {
|
|
177
|
+
padding-right: 2rem;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.underlined-CSLRKX.start-adornment-PjWsd5 {
|
|
181
|
+
left: 0;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.infonomic-input-underlined.input-start-adornment {
|
|
185
|
+
left: 0;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.underlined-CSLRKX.end-adornment-xFqztV {
|
|
189
|
+
right: 0;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.infonomic-input-underlined.input-end-adornment {
|
|
193
|
+
right: 0;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
:is(.primary-SHCX1n, .infonomic-input-primary) {
|
|
197
|
+
--input-variant-outlined-border: var(--stroke-primary);
|
|
198
|
+
--input-variant-outlined-hover-border: var(--stroke-primary-hover);
|
|
199
|
+
--input-variant-outline-ring-color: var(--ring-primary);
|
|
200
|
+
--input-variant-underlined-border: var(--stroke-primary);
|
|
201
|
+
--input-variant-underlined-hover-border: var(--stroke-primary-hover);
|
|
202
|
+
--input-variant-filled: var(--fill-primary-weak);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
:is(.secondary-ykH7ET, .infonomic-input-secondary) {
|
|
206
|
+
--input-variant-outlined-border: var(--stroke-secondary);
|
|
207
|
+
--input-variant-outlined-hover-border: var(--stroke-secondary-hover);
|
|
208
|
+
--input-variant-outline-ring-color: var(--ring-secondary);
|
|
209
|
+
--input-variant-underlined-border: var(--stroke-secondary);
|
|
210
|
+
--input-variant-underlined-hover-border: var(--stroke-secondary-hover);
|
|
211
|
+
--input-variant-filled: var(--fill-secondary-weak);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
:is(.noeffect-aujnaG, .infonomic-input-noeffect) {
|
|
215
|
+
--input-variant-outlined-border: var(--stroke-noeffect);
|
|
216
|
+
--input-variant-outlined-hover-border: var(--stroke-noeffect-hover);
|
|
217
|
+
--input-variant-outline-ring-color: var(--ring-noeffect);
|
|
218
|
+
--input-variant-underlined-border: var(--stroke-noeffect);
|
|
219
|
+
--input-variant-underlined-hover-border: var(--stroke-noeffect-hover);
|
|
220
|
+
--input-variant-filled: var(--fill-noeffect-weak);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
:is(.success-VsDfv9, .infonomic-input-success) {
|
|
224
|
+
--input-variant-outlined-border: var(--stroke-success);
|
|
225
|
+
--input-variant-outlined-hover-border: var(--stroke-success-hover);
|
|
226
|
+
--input-variant-outline-ring-color: var(--ring-success);
|
|
227
|
+
--input-variant-underlined-border: var(--stroke-success);
|
|
228
|
+
--input-variant-underlined-hover-border: var(--stroke-success-hover);
|
|
229
|
+
--input-variant-filled: var(--fill-success-weak);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
:is(.info-ogHmno, .infonomic-input-info) {
|
|
233
|
+
--input-variant-outlined-border: var(--stroke-info);
|
|
234
|
+
--input-variant-outlined-hover-border: var(--stroke-info-hover);
|
|
235
|
+
--input-variant-outline-ring-color: var(--ring-info);
|
|
236
|
+
--input-variant-underlined-border: var(--stroke-info);
|
|
237
|
+
--input-variant-underlined-hover-border: var(--stroke-info-hover);
|
|
238
|
+
--input-variant-filled: var(--fill-info-weak);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
:is(.warning-FQYlHl, .infonomic-input-warning) {
|
|
242
|
+
--input-variant-outlined-border: var(--stroke-warning);
|
|
243
|
+
--input-variant-outlined-hover-border: var(--stroke-warning-hover);
|
|
244
|
+
--input-variant-outline-ring-color: var(--ring-warning);
|
|
245
|
+
--input-variant-underlined-border: var(--stroke-warning);
|
|
246
|
+
--input-variant-underlined-hover-border: var(--stroke-warning-hover);
|
|
247
|
+
--input-variant-filled: var(--fill-warning-weak);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
:is(.danger-patit2, .infonomic-input-danger) {
|
|
251
|
+
--input-variant-outlined-border: var(--stroke-danger);
|
|
252
|
+
--input-variant-outlined-hover-border: var(--stroke-danger-hover);
|
|
253
|
+
--input-variant-outline-ring-color: var(--ring-danger);
|
|
254
|
+
--input-variant-underlined-border: var(--stroke-danger);
|
|
255
|
+
--input-variant-underlined-hover-border: var(--stroke-danger-hover);
|
|
256
|
+
--input-variant-filled: var(--fill-danger-weak);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
interface LabelProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
id: string;
|
|
5
|
+
htmlFor: string;
|
|
6
|
+
label: string;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare function Label({ className, id, htmlFor, label, required }: LabelProps): React.JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=label.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B,UAAU,UAAU;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,wBAAgB,KAAK,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,UAAU,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAWhG"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import classnames from "classnames";
|
|
3
|
+
import label_module from "./label.module.js";
|
|
4
|
+
function Label({ className, id, htmlFor, label, required }) {
|
|
5
|
+
return /*#__PURE__*/ jsxs("label", {
|
|
6
|
+
id: `label-for-${id}`,
|
|
7
|
+
htmlFor: htmlFor,
|
|
8
|
+
className: classnames('label', label_module.label, className),
|
|
9
|
+
children: [
|
|
10
|
+
label,
|
|
11
|
+
required && /*#__PURE__*/ jsx("span", {
|
|
12
|
+
className: label_module.required,
|
|
13
|
+
children: "\xa0*"
|
|
14
|
+
})
|
|
15
|
+
]
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
export { Label };
|